Class AuthRevokeRequest
java.lang.Object
com.slack.api.methods.request.auth.AuthRevokeRequest
- All Implemented Interfaces:
SlackApiRequest
https://api.slack.com/methods/auth.revoke
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
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
Authentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `none`- Specified by:
getToken
in interfaceSlackApiRequest
- 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
Authentication token. Requires scope: `none`- Specified by:
setToken
in interfaceSlackApiRequest
-
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-