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 class
StarAddedEvent.Edited
static class
StarAddedEvent.Item
static class
StarAddedEvent.Message
-
Field Summary
-
Constructor Summary
Constructors Constructor Description StarAddedEvent()
-
Method Summary
Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getEventTs()
StarAddedEvent.Item
getItem()
String
getType()
String
getUser()
int
hashCode()
void
setEventTs(String eventTs)
void
setItem(StarAddedEvent.Item item)
void
setUser(String user)
String
toString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
StarAddedEvent
public StarAddedEvent()
-
-
Method Details