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
-
Constructor Summary
Constructors Constructor Description PinRemovedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()-
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 Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUser
public String getUser()
-
getChannelId
public String getChannelId()
-
getItem
public PinRemovedEvent.Item getItem()
-
getItemUser
public String getItemUser()
-
getPinCount
public Integer getPinCount()
-
getPinnedInfo
public PinRemovedEvent.PinnedInfo getPinnedInfo()
-
isHasPins
public boolean isHasPins()
-
getEventTs
public String getEventTs()
-
setUser
public void setUser(String user)
-
setChannelId
public void setChannelId(String channelId)
-
setItem
public void setItem(PinRemovedEvent.Item item)
-
setItemUser
public void setItemUser(String itemUser)
-
setPinCount
public void setPinCount(Integer pinCount)
-
setPinnedInfo
public void setPinnedInfo(PinRemovedEvent.PinnedInfo pinnedInfo)
-
setHasPins
public void setHasPins(boolean hasPins)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-