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
-
Constructor Summary
Constructors Constructor Description StarAddedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
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)
-
-