Package com.slack.api.model.event
Class StarAddedEvent
- java.lang.Object
-
- com.slack.api.model.event.StarAddedEvent
-
- All Implemented Interfaces:
Event,Serializable
public class StarAddedEvent extends Object implements Event
When an item is starred, the star_added event is sent to all connected clients for the authenticated user who starred the item.See the stars.list method for details of the structure of the item property.
https://api.slack.com/events/star_added
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStarAddedEvent.Editedstatic classStarAddedEvent.Itemstatic classStarAddedEvent.Message
-
Constructor Summary
Constructors Constructor Description StarAddedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetEventTs()StarAddedEvent.ItemgetItem()StringgetType()StringgetUser()inthashCode()voidsetEventTs(String eventTs)voidsetItem(StarAddedEvent.Item item)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()
-
getItem
public StarAddedEvent.Item getItem()
-
getEventTs
public String getEventTs()
-
setUser
public void setUser(String user)
-
setItem
public void setItem(StarAddedEvent.Item item)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-