Class ConversationsAcceptSharedInviteRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsAcceptSharedInviteRequest
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsAcceptSharedInviteRequest extends java.lang.Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder -
Method Summary
Modifier and Type Method Description static ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannelId()ID of the channel that you'd like to accept.java.lang.StringgetChannelName()Name of the channel.java.lang.BooleangetFreeTrialAccept()Whether you'd like to use your workspace's free trial to begin using Slack Connect.java.lang.StringgetInviteId()See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.java.lang.BooleangetIsPrivate()Whether the channel should be private.java.lang.StringgetTeamId()The ID of the workspace to accept the channel in.java.lang.StringgetToken()inthashCode()voidsetChannelId(java.lang.String channelId)ID of the channel that you'd like to accept.voidsetChannelName(java.lang.String channelName)Name of the channel.voidsetFreeTrialAccept(java.lang.Boolean freeTrialAccept)Whether you'd like to use your workspace's free trial to begin using Slack Connect.voidsetInviteId(java.lang.String inviteId)See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation.voidsetIsPrivate(java.lang.Boolean isPrivate)Whether the channel should be private.voidsetTeamId(java.lang.String teamId)The ID of the workspace to accept the channel in.voidsetToken(java.lang.String token)java.lang.StringtoString()
-
Method Details
-
builder
public static ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder builder() -
getToken
public java.lang.String getToken()- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannelName
public java.lang.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 java.lang.String getChannelId()ID of the channel that you'd like to accept. Must provide either invite_id or channel_id. -
getFreeTrialAccept
public java.lang.Boolean getFreeTrialAccept()Whether you'd like to use your workspace's free trial to begin using Slack Connect. -
getInviteId
public java.lang.String getInviteId()See the shared_channel_invite_received event payload for more details on how to retrieve the ID of the invitation. -
getIsPrivate
public java.lang.Boolean getIsPrivate()Whether the channel should be private. -
getTeamId
public java.lang.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(java.lang.String token) -
setChannelName
public void setChannelName(java.lang.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(java.lang.String channelId)ID of the channel that you'd like to accept. Must provide either invite_id or channel_id. -
setFreeTrialAccept
public void setFreeTrialAccept(java.lang.Boolean freeTrialAccept)Whether you'd like to use your workspace's free trial to begin using Slack Connect. -
setInviteId
public void setInviteId(java.lang.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(java.lang.Boolean isPrivate)Whether the channel should be private. -
setTeamId
public void setTeamId(java.lang.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. -
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
-