Package com.slack.api.model.event
Class PinRemovedEvent
java.lang.Object
com.slack.api.model.event.PinRemovedEvent
- All Implemented Interfaces:
Event,Serializable
public class PinRemovedEvent extends Object implements Event
When an item is un-pinned from a channel, the pin_removed event is sent to all members of that channel.
The has_pins property indicates that there are other pinned items in that channel.
https://api.slack.com/events/pin_removed
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPinRemovedEvent.Itemstatic classPinRemovedEvent.Messagestatic classPinRemovedEvent.PinnedInfo -
Field Summary
-
Constructor Summary
Constructors Constructor Description PinRemovedEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannelId()StringgetEventTs()PinRemovedEvent.ItemgetItem()StringgetItemUser()IntegergetPinCount()PinRemovedEvent.PinnedInfogetPinnedInfo()StringgetType()StringgetUser()inthashCode()booleanisHasPins()voidsetChannelId(String channelId)voidsetEventTs(String eventTs)voidsetHasPins(boolean hasPins)voidsetItem(PinRemovedEvent.Item item)voidsetItemUser(String itemUser)voidsetPinCount(Integer pinCount)voidsetPinnedInfo(PinRemovedEvent.PinnedInfo pinnedInfo)voidsetUser(String user)StringtoString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
PinRemovedEvent
public PinRemovedEvent()
-
-
Method Details
-
getType
-
getUser
-
getChannelId
-
getItem
-
getItemUser
-
getPinCount
-
getPinnedInfo
-
isHasPins
public boolean isHasPins() -
getEventTs
-
setUser
-
setChannelId
-
setItem
-
setItemUser
-
setPinCount
-
setPinnedInfo
-
setHasPins
public void setHasPins(boolean hasPins) -
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-