public class AdminUsersAssignRequest extends Object implements SlackApiRequest
Modifier and Type | Class and Description |
---|---|
static class |
AdminUsersAssignRequest.AdminUsersAssignRequestBuilder |
Modifier and Type | Method and Description |
---|---|
static AdminUsersAssignRequest.AdminUsersAssignRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
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 |
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() |
public static AdminUsersAssignRequest.AdminUsersAssignRequestBuilder builder()
public String getToken()
getToken
in interface SlackApiRequest
public String getTeamId()
public String getUserId()
public boolean isRestricted()
public boolean isUltraRestricted()
public void setToken(String token)
public void setTeamId(String teamId)
public void setUserId(String userId)
public void setRestricted(boolean isRestricted)
public void setUltraRestricted(boolean isUltraRestricted)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.