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 class  ConversationsAcceptSharedInviteRequest.ConversationsAcceptSharedInviteRequestBuilder  
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Specified by:
      getToken in interface SlackApiRequest
    • 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:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object