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
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SubteamCreatedEvent()
-
Method Summary
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()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SubteamCreatedEvent
public SubteamCreatedEvent()
-
-
Method Details
-
getType
-
getSubteam
-
getEventTs
-
setSubteam
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-