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
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 Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getToken
in 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
-