Class AdminUsergroupsAddTeamsRequest
java.lang.Object
com.slack.api.methods.request.admin.usergroups.AdminUsergroupsAddTeamsRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/admin.usergroups.addTeams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanA boolean to control whether to automatically create new team users for the usergroup members or not.A comma separated list of encoded team IDs.getToken()Authentication token bearing required scopes.An encoded usergroup IDinthashCode()voidsetAutoProvision(Boolean autoProvision) A boolean to control whether to automatically create new team users for the usergroup members or not.voidsetTeamIds(List<String> teamIds) A comma separated list of encoded team IDs.voidAuthentication token bearing required scopes.voidsetUsergroupId(String usergroupId) An encoded usergroup IDtoString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getTeamIds
A comma separated list of encoded team IDs. Teams MUST belong to the organization -
getUsergroupId
An encoded usergroup ID -
getAutoProvision
A boolean to control whether to automatically create new team users for the usergroup members or not. Default: false -
setToken
Authentication token bearing required scopes.- Specified by:
setTokenin interfaceSlackApiRequest
-
setTeamIds
A comma separated list of encoded team IDs. Teams MUST belong to the organization -
setUsergroupId
An encoded usergroup ID -
setAutoProvision
A boolean to control whether to automatically create new team users for the usergroup members or not. Default: false -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-