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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static AdminUsergroupsAddTeamsRequest.AdminUsergroupsAddTeamsRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getTeamIds
public List<String> getTeamIds()
A comma separated list of encoded team IDs. Teams MUST belong to the organization
-
getUsergroupId
public String getUsergroupId()
A encoded usergroup ID
-
getAutoProvision
public Boolean getAutoProvision()
A boolean to control whether to automatically create new team users for the usergroup members or not. Default: false
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.
-
setTeamIds
public void setTeamIds(List<String> teamIds)
A comma separated list of encoded team IDs. Teams MUST belong to the organization
-
setUsergroupId
public void setUsergroupId(String usergroupId)
A encoded usergroup ID
-
setAutoProvision
public void setAutoProvision(Boolean autoProvision)
A boolean to control whether to automatically create new team users for the usergroup members or not. Default: false
-
canEqual
protected boolean canEqual(Object other)
-
-