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 classSubteamCreatedEvent.Prefsstatic classSubteamCreatedEvent.Subteam
-
Constructor Summary
Constructors Constructor Description SubteamCreatedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetEventTs()SubteamCreatedEvent.SubteamgetSubteam()StringgetType()inthashCode()voidsetEventTs(String eventTs)voidsetSubteam(SubteamCreatedEvent.Subteam subteam)StringtoString()-
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)
-
-