Package com.slack.api.model.event
Class SubteamCreatedEvent
- java.lang.Object
-
- com.slack.api.model.event.SubteamCreatedEvent
-
- All Implemented Interfaces:
Event
,Serializable
public class SubteamCreatedEvent extends Object implements Event
The subteam_created event is sent to all connections for a workspace when a new User Group is created. Clients can use this to update their local list of User Groups and group members.https://api.slack.com/events/subteam_created
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubteamCreatedEvent.Prefs
static class
SubteamCreatedEvent.Subteam
-
Constructor Summary
Constructors Constructor Description SubteamCreatedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getEventTs()
SubteamCreatedEvent.Subteam
getSubteam()
String
getType()
int
hashCode()
void
setEventTs(String eventTs)
void
setSubteam(SubteamCreatedEvent.Subteam subteam)
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
-
getSubteam
public SubteamCreatedEvent.Subteam getSubteam()
-
getEventTs
public String getEventTs()
-
setSubteam
public void setSubteam(SubteamCreatedEvent.Subteam subteam)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-