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 class
static class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getItem()
getType()
getUser()
int
hashCode()
boolean
void
setChannelId
(String channelId) void
setEventTs
(String eventTs) void
setHasPins
(boolean hasPins) void
setItem
(PinRemovedEvent.Item item) void
setItemUser
(String itemUser) void
setPinCount
(Integer pinCount) void
setPinnedInfo
(PinRemovedEvent.PinnedInfo pinnedInfo) void
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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
-