Class AuthRevokeRequest

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

public class AuthRevokeRequest
extends java.lang.Object
implements SlackApiRequest
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  AuthRevokeRequest.AuthRevokeRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static AuthRevokeRequest.AuthRevokeRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    boolean isTest()
    Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked.
    void setTest​(boolean test)
    Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked.
    void setToken​(java.lang.String token)
    Authentication 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()
      Authentication token. Requires scope: `none`
      Specified by:
      getToken in interface SlackApiRequest
    • 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​(java.lang.String token)
      Authentication token. Requires scope: `none`
    • 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​(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