Package com.slack.api.model.event
Class PinRemovedEvent
java.lang.Object
com.slack.api.model.event.PinRemovedEvent
- All Implemented Interfaces:
Event,Serializable
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetItem()getType()getUser()inthashCode()booleanvoidsetChannelId(String channelId) voidsetEventTs(String eventTs) voidsetHasPins(boolean hasPins) voidsetItem(PinRemovedEvent.Item item) voidsetItemUser(String itemUser) voidsetPinCount(Integer pinCount) voidsetPinnedInfo(PinRemovedEvent.PinnedInfo pinnedInfo) voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.slack.api.model.event.Event
getSubtype
-
Field Details
-
TYPE_NAME
- See Also:
-
-
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
-