Class ConversationsRequestSharedInviteApproveRequest

java.lang.Object
com.slack.api.methods.request.conversations.request_shared_invite.ConversationsRequestSharedInviteApproveRequest
All Implemented Interfaces:
SlackApiRequest

public class ConversationsRequestSharedInviteApproveRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.approve
  • Method Details

    • builder

    • getToken

      public String getToken()
      Description copied from interface: SlackApiRequest
      Returns a token in this request object. If the API endpoint does not require a token (e.g., api.test), this method can return null.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getInviteId

      public String getInviteId()
      ID of the requested shared channel invite to approve.
    • getChannelId

      public String getChannelId()
      Optional channel_id to which external user will be invited to. Will override the value on the requested invite.
    • getIsExternalLimited

      public Boolean getIsExternalLimited()
      Optional boolean on whether the invited team will have post-only permissions in the channel. Will override the value on the requested invite.
    • getMessage

      Object describing the text to send along with the invite. If this object is specified, both text and is_override are required properties. If is_override is set to true, text will override the original invitation message. Otherwise, text will be appended to the original invitation message. The total length of the message cannot exceed 560 characters. If is_override is set to false, the length of text and the user specified message on the invite request in total must be less than 560 characters.
    • setToken

      public void setToken(String token)
      Description copied from interface: SlackApiRequest
      Updates the token in this request object.

      The default implementation throws UnsupportedOperationException. All the built-in implementing classes overrides this method in a proper way.

      Specified by:
      setToken in interface SlackApiRequest
    • setInviteId

      public void setInviteId(String inviteId)
      ID of the requested shared channel invite to approve.
    • setChannelId

      public void setChannelId(String channelId)
      Optional channel_id to which external user will be invited to. Will override the value on the requested invite.
    • setIsExternalLimited

      public void setIsExternalLimited(Boolean isExternalLimited)
      Optional boolean on whether the invited team will have post-only permissions in the channel. Will override the value on the requested invite.
    • setMessage

      Object describing the text to send along with the invite. If this object is specified, both text and is_override are required properties. If is_override is set to true, text will override the original invitation message. Otherwise, text will be appended to the original invitation message. The total length of the message cannot exceed 560 characters. If is_override is set to false, the length of text and the user specified message on the invite request in total must be less than 560 characters.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object