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 class
ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder
-
Method Summary
Modifier and Type Method Description static ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannelId()
ID of the channel that you'd like to accept.String
getChannelName()
Name of the channel.Boolean
getFreeTrialAccept()
Whether you'd like to use your workspace's free trial to begin using Slack Connect.String
getInviteId()
See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.Boolean
getIsPrivate()
Whether the channel should be private.String
getTeamId()
The ID of the workspace to accept the channel in.String
getToken()
int
hashCode()
void
setChannelId(String channelId)
ID of the channel that you'd like to accept.void
setChannelName(String channelName)
Name of the channel.void
setFreeTrialAccept(Boolean freeTrialAccept)
Whether you'd like to use your workspace's free trial to begin using Slack Connect.void
setInviteId(String inviteId)
See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.void
setIsPrivate(Boolean isPrivate)
Whether the channel should be private.void
setTeamId(String teamId)
The ID of the workspace to accept the channel in.void
setToken(String token)
String
toString()
-
Method Details
-
builder
public static ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder builder() -
getToken
- Specified by:
getToken
in interfaceSlackApiRequest
-
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
ID of the channel that you'd like to accept. Must provide either invite_id or channel_id. -
getFreeTrialAccept
Whether you'd like to use your workspace's free trial to begin using Slack Connect. -
getInviteId
See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation. -
getIsPrivate
Whether the channel should be private. -
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
-
setChannelName
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
ID of the channel that you'd like to accept. Must provide either invite_id or channel_id. -
setFreeTrialAccept
Whether you'd like to use your workspace's free trial to begin using Slack Connect. -
setInviteId
See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation. -
setIsPrivate
Whether the channel should be private. -
setTeamId
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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-