Class ConversationsAcceptSharedInviteRequest
- java.lang.Object
-
- com.slack.api.methods.request.conversations.ConversationsAcceptSharedInviteRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsAcceptSharedInviteRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannelId()ID of the channel that you'd like to accept.StringgetChannelName()Name of the channel.BooleangetFreeTrialAccept()Whether you'd like to use your workspace's free trial to begin using Slack Connect.StringgetInviteId()See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.BooleangetIsPrivate()Whether the channel should be private.StringgetTeamId()The ID of the workspace to accept the channel in.StringgetToken()inthashCode()voidsetChannelId(String channelId)ID of the channel that you'd like to accept.voidsetChannelName(String channelName)Name of the channel.voidsetFreeTrialAccept(Boolean freeTrialAccept)Whether you'd like to use your workspace's free trial to begin using Slack Connect.voidsetInviteId(String inviteId)See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.voidsetIsPrivate(Boolean isPrivate)Whether the channel should be private.voidsetTeamId(String teamId)The ID of the workspace to accept the channel in.voidsetToken(String token)StringtoString()
-
-
-
Method Detail
-
builder
public static ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder builder()
-
getToken
public String getToken()
- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannelName
public String getChannelName()
Name of the channel. If the channel does not exist already in your workspace, this name is the one that the channel will take.
-
getChannelId
public String getChannelId()
ID of the channel that you'd like to accept. Must provide either invite_id or channel_id.
-
getFreeTrialAccept
public Boolean getFreeTrialAccept()
Whether you'd like to use your workspace's free trial to begin using Slack Connect.
-
getInviteId
public String getInviteId()
See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.
-
getIsPrivate
public Boolean getIsPrivate()
Whether the channel should be private.
-
getTeamId
public String getTeamId()
The ID of the workspace to accept the channel in. If an org-level token is used to call this method, the team_id argument is required.
-
setToken
public void setToken(String token)
-
setChannelName
public void setChannelName(String channelName)
Name of the channel. If the channel does not exist already in your workspace, this name is the one that the channel will take.
-
setChannelId
public void setChannelId(String channelId)
ID of the channel that you'd like to accept. Must provide either invite_id or channel_id.
-
setFreeTrialAccept
public void setFreeTrialAccept(Boolean freeTrialAccept)
Whether you'd like to use your workspace's free trial to begin using Slack Connect.
-
setInviteId
public void setInviteId(String inviteId)
See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.
-
setIsPrivate
public void setIsPrivate(Boolean isPrivate)
Whether the channel should be private.
-
setTeamId
public void setTeamId(String teamId)
The ID of the workspace to accept the channel in. If an org-level token is used to call this method, the team_id argument is required.
-
canEqual
protected boolean canEqual(Object other)
-
-