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 classAuthRevokeRequest.AuthRevokeRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthRevokeRequest.AuthRevokeRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetToken()Authentication token.inthashCode()booleanisTest()Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked.voidsetTest(boolean test)Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked.voidsetToken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
builder
public static AuthRevokeRequest.AuthRevokeRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `none`- Specified by:
getTokenin 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)
-
-