Class AdminUsersAssignRequest
java.lang.Object
com.slack.api.methods.request.admin.users.AdminUsersAssignRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminUsersAssignRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.users.assign
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminUsersAssignRequest.AdminUsersAssignRequestBuilder
-
Method Summary
Modifier and Type Method Description static AdminUsersAssignRequest.AdminUsersAssignRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<String>
getChannelIds()
Comma separated values of channel IDs to add user in the new workspace.String
getTeamId()
Workspace Id.String
getToken()
Authentication token bearing required scopes.String
getUserId()
The ID of the user to add to the workspace.int
hashCode()
boolean
isRestricted()
True if user should be added to the workspace as a guest.boolean
isUltraRestricted()
True if user should be added to the workspace as a single-channel guest.void
setChannelIds(List<String> channelIds)
Comma separated values of channel IDs to add user in the new workspace.void
setRestricted(boolean isRestricted)
True if user should be added to the workspace as a guest.void
setTeamId(String teamId)
Workspace Id.void
setToken(String token)
Authentication token bearing required scopes.void
setUltraRestricted(boolean isUltraRestricted)
True if user should be added to the workspace as a single-channel guest.void
setUserId(String userId)
The ID of the user to add to the workspace.String
toString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
-
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. -
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
-