public class AdminUsersInviteRequest extends Object implements SlackApiRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
AdminUsersInviteRequest.AdminUsersInviteRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static AdminUsersInviteRequest.AdminUsersInviteRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<String> |
getChannelIds()
A comma-separated list of channel_ids for this user to join.
|
String |
getCustomMessage()
An optional message to send to the user in the invite email.
|
String |
getEmail()
The email address of the person to invite.
|
String |
getGuestExpirationTs()
Timestamp when guest account should be disabled.
|
String |
getRealName()
Full name of the user.
|
String |
getTeamId()
Workspace Id
|
String |
getToken()
Authentication token bearing required scopes.
|
int |
hashCode() |
boolean |
isResend()
Allow this invite to be resent in the future if a user has not signed up yet.
|
boolean |
isRestricted()
Is this user a multi-channel guest user? (default: false)
|
boolean |
isUltraRestricted()
Is this user a single channel guest user? (default: false)
|
void |
setChannelIds(List<String> channelIds)
A comma-separated list of channel_ids for this user to join.
|
void |
setCustomMessage(String customMessage)
An optional message to send to the user in the invite email.
|
void |
setEmail(String email)
The email address of the person to invite.
|
void |
setGuestExpirationTs(String guestExpirationTs)
Timestamp when guest account should be disabled.
|
void |
setRealName(String realName)
Full name of the user.
|
void |
setResend(boolean resend)
Allow this invite to be resent in the future if a user has not signed up yet.
|
void |
setRestricted(boolean isRestricted)
Is this user a multi-channel guest user? (default: false)
|
void |
setTeamId(String teamId)
Workspace Id
|
void |
setToken(String token)
Authentication token bearing required scopes.
|
void |
setUltraRestricted(boolean isUltraRestricted)
Is this user a single channel guest user? (default: false)
|
String |
toString() |
public static AdminUsersInviteRequest.AdminUsersInviteRequestBuilder builder()
public String getToken()
getToken in interface SlackApiRequestpublic List<String> getChannelIds()
public String getEmail()
public String getTeamId()
public String getCustomMessage()
public String getGuestExpirationTs()
public boolean isRestricted()
public boolean isUltraRestricted()
public String getRealName()
public boolean isResend()
public void setToken(String token)
public void setChannelIds(List<String> channelIds)
public void setEmail(String email)
public void setTeamId(String teamId)
public void setCustomMessage(String customMessage)
public void setGuestExpirationTs(String guestExpirationTs)
public void setRestricted(boolean isRestricted)
public void setUltraRestricted(boolean isUltraRestricted)
public void setRealName(String realName)
public void setResend(boolean resend)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.