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 class
AdminUsergroupsAddTeamsRequest.AdminUsergroupsAddTeamsRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminUsergroupsAddTeamsRequest.AdminUsergroupsAddTeamsRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Boolean
getAutoProvision()
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.String
getToken()
Authentication token bearing required scopes.String
getUsergroupId()
A encoded usergroup IDint
hashCode()
void
setAutoProvision(Boolean autoProvision)
A boolean to control whether to automatically create new team users for the usergroup members or not.void
setTeamIds(List<String> teamIds)
A comma separated list of encoded team IDs.void
setToken(String token)
Authentication token bearing required scopes.void
setUsergroupId(String usergroupId)
A encoded usergroup IDString
toString()
-
-
-
Method Detail
-
builder
public static AdminUsergroupsAddTeamsRequest.AdminUsergroupsAddTeamsRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in 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)
-
-