Class AuthRevokeRequest
- java.lang.Object
-
- com.slack.api.methods.request.auth.AuthRevokeRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AuthRevokeRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthRevokeRequest.AuthRevokeRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthRevokeRequest.AuthRevokeRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
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(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static AuthRevokeRequest.AuthRevokeRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `none`- Specified by:
getToken
in interfaceSlackApiRequest
-
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`
-
setTest
public void setTest(boolean test)
Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked.
-
canEqual
protected boolean canEqual(Object other)
-
-