Class AdminUsersAssignRequest
java.lang.Object
com.slack.api.methods.request.admin.users.AdminUsersAssignRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/admin.users.assign
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanComma separated values of channel IDs to add user in the new workspace.Workspace Id.getToken()Authentication token bearing required scopes.The ID of the user to add to the workspace.inthashCode()booleanTrue if user should be added to the workspace as a guest.booleanTrue if user should be added to the workspace as a single-channel guest.voidsetChannelIds(List<String> channelIds) Comma separated values of channel IDs to add user in the new workspace.voidsetRestricted(boolean isRestricted) True if user should be added to the workspace as a guest.voidWorkspace Id.voidAuthentication token bearing required scopes.voidsetUltraRestricted(boolean isUltraRestricted) True if user should be added to the workspace as a single-channel guest.voidThe ID of the user to add to the workspace.toString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getTeamId
Workspace Id. -
getUserId
The ID of the user to add to the workspace. -
getChannelIds
Comma separated values of channel IDs to add user in the new workspace. -
isRestricted
public boolean isRestricted()True if user should be added to the workspace as a guest. -
isUltraRestricted
public boolean isUltraRestricted()True if user should be added to the workspace as a single-channel guest. -
setToken
Authentication token bearing required scopes.- Specified by:
setTokenin interfaceSlackApiRequest
-
setTeamId
Workspace Id. -
setUserId
The ID of the user to add to the workspace. -
setChannelIds
Comma separated values of channel IDs to add user in the new workspace. -
setRestricted
public void setRestricted(boolean isRestricted) True if user should be added to the workspace as a guest. -
setUltraRestricted
public void setUltraRestricted(boolean isUltraRestricted) True if user should be added to the workspace as a single-channel guest. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-