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 class
PinRemovedEvent.Item
static class
PinRemovedEvent.Message
static class
PinRemovedEvent.PinnedInfo
-
Constructor Summary
Constructors Constructor Description PinRemovedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannelId()
String
getEventTs()
PinRemovedEvent.Item
getItem()
String
getItemUser()
Integer
getPinCount()
PinRemovedEvent.PinnedInfo
getPinnedInfo()
String
getType()
String
getUser()
int
hashCode()
boolean
isHasPins()
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
setUser(String user)
String
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 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)
-
-