Class AdminUsersAssignRequest.AdminUsersAssignRequestBuilder
java.lang.Object
com.slack.api.methods.request.admin.users.AdminUsersAssignRequest.AdminUsersAssignRequestBuilder
- Enclosing class:
- AdminUsersAssignRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()channelIds(List<String> channelIds) Comma separated values of channel IDs to add user in the new workspace.isRestricted(boolean isRestricted) True if user should be added to the workspace as a guest.isUltraRestricted(boolean isUltraRestricted) True if user should be added to the workspace as a single-channel guest.Workspace Id.Authentication token bearing required scopes.toString()The ID of the user to add to the workspace.
-
Method Details
-
token
Authentication token bearing required scopes.- Returns:
this.
-
teamId
Workspace Id.- Returns:
this.
-
userId
The ID of the user to add to the workspace.- Returns:
this.
-
channelIds
Comma separated values of channel IDs to add user in the new workspace.- Returns:
this.
-
isRestricted
True if user should be added to the workspace as a guest.- Returns:
this.
-
isUltraRestricted
public AdminUsersAssignRequest.AdminUsersAssignRequestBuilder isUltraRestricted(boolean isUltraRestricted) True if user should be added to the workspace as a single-channel guest.- Returns:
this.
-
build
-
toString
-