Class AdminUsergroupsAddTeamsRequest
java.lang.Object
com.slack.api.methods.request.admin.usergroups.AdminUsergroupsAddTeamsRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminUsergroupsAddTeamsRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.usergroups.addTeams
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminUsergroupsAddTeamsRequest.AdminUsergroupsAddTeamsRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminUsergroupsAddTeamsRequest.AdminUsergroupsAddTeamsRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)BooleangetAutoProvision()A boolean to control whether to automatically create new team users for the usergroup members or not.List<String>getTeamIds()A comma separated list of encoded team IDs.StringgetToken()Authentication token bearing required scopes.StringgetUsergroupId()A 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.voidsetToken(String token)Authentication token bearing required scopes.voidsetUsergroupId(String usergroupId)A encoded usergroup IDStringtoString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getTeamIds
A comma separated list of encoded team IDs. Teams MUST belong to the organization -
getUsergroupId
A 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. -
setTeamIds
A comma separated list of encoded team IDs. Teams MUST belong to the organization -
setUsergroupId
A 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
-