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:
  • Field Details

  • Constructor Details

    • PinRemovedEvent

      public PinRemovedEvent()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Event
    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object