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 -
Field Summary
-
Constructor Summary
Constructors Constructor Description StarAddedEvent() -
Method Summary
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()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
StarAddedEvent
public StarAddedEvent()
-
-
Method Details