Class AuthRevokeRequest

java.lang.Object
com.slack.api.methods.request.auth.AuthRevokeRequest
All Implemented Interfaces:
SlackApiRequest

public class AuthRevokeRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/auth.revoke
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token. Requires scope: `none`
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • isTest

      public boolean isTest()
      Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked.
    • setToken

      public void setToken(String token)
      Authentication token. Requires scope: `none`
      Specified by:
      setToken in interface SlackApiRequest
    • setTest

      public void setTest(boolean test)
      Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked.
    • 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