Class ConversationsRequestSharedInviteDenyRequest

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

public class ConversationsRequestSharedInviteDenyRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.deny
  • 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 deny.
    • getMessage

      public String getMessage()
      Optional message explaining why the request to invite was denied.
    • 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 deny.
    • setMessage

      public void setMessage(String message)
      Optional message explaining why the request to invite was denied.
    • 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