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 classAdminUsersAssignRequest.AdminUsersAssignRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminUsersAssignRequest.AdminUsersAssignRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetTeamId()Workspace Id.StringgetToken()Authentication token bearing required scopes.StringgetUserId()The ID of the user to add to the workspace.inthashCode()booleanisRestricted()True if user should be added to the workspace as a guest.booleanisUltraRestricted()True if user should be added to the workspace as a single-channel guest.voidsetRestricted(boolean isRestricted)True if user should be added to the workspace as a guest.voidsetTeamId(String teamId)Workspace Id.voidsetToken(String token)Authentication token bearing required scopes.voidsetUltraRestricted(boolean isUltraRestricted)True if user should be added to the workspace as a single-channel guest.voidsetUserId(String userId)The ID of the user to add to the workspace.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getTeamId
Workspace Id. -
getUserId
The ID of the user to add to the 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. -
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
-