Class ConversationsExternalInvitePermissionsSetRequest

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

public class ConversationsExternalInvitePermissionsSetRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.externalInvitePermissions.set
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getAction

      public String getAction()
      Type of action to be taken: upgrade or downgrade Value should be one of "upgrade" and "downgrade"
    • getChannel

      public String getChannel()
      The channel ID to change external invite permissions for
    • getTargetTeam

      public String getTargetTeam()
      The encoded team ID of the target team. Must be in the specified channel.
    • setToken

      public void setToken(String token)
      Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.
      Specified by:
      setToken in interface SlackApiRequest
    • setAction

      public void setAction(String action)
      Type of action to be taken: upgrade or downgrade Value should be one of "upgrade" and "downgrade"
    • setChannel

      public void setChannel(String channel)
      The channel ID to change external invite permissions for
    • setTargetTeam

      public void setTargetTeam(String targetTeam)
      The encoded team ID of the target team. Must be in the specified channel.
    • 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