Class AdminUsersAssignRequest
java.lang.Object
com.slack.api.methods.request.admin.users.AdminUsersAssignRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminUsersAssignRequest extends java.lang.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(java.lang.Object other)booleanequals(java.lang.Object o)java.util.List<java.lang.String>getChannelIds()Comma separated values of channel IDs to add user in the new workspace.java.lang.StringgetTeamId()Workspace Id.java.lang.StringgetToken()Authentication token bearing required scopes.java.lang.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.voidsetChannelIds(java.util.List<java.lang.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.voidsetTeamId(java.lang.String teamId)Workspace Id.voidsetToken(java.lang.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(java.lang.String userId)The ID of the user to add to the workspace.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getTeamId
public java.lang.String getTeamId()Workspace Id. -
getUserId
public java.lang.String getUserId()The ID of the user to add to the workspace. -
getChannelIds
public java.util.List<java.lang.String> 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
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setTeamId
public void setTeamId(java.lang.String teamId)Workspace Id. -
setUserId
public void setUserId(java.lang.String userId)The ID of the user to add to the workspace. -
setChannelIds
public void setChannelIds(java.util.List<java.lang.String> channelIds)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
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-