Class OAuthV2ExchangeRequest
- java.lang.Object
-
- com.slack.api.methods.request.oauth.OAuthV2ExchangeRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class OAuthV2ExchangeRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/oauth.v2.exchange
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOAuthV2ExchangeRequest.OAuthV2ExchangeRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OAuthV2ExchangeRequest.OAuthV2ExchangeRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetClientId()Issued when you created your application.StringgetClientSecret()Issued when you created your application.StringgetToken()The legacy xoxb or xoxp token being migrated to use token rotation.inthashCode()voidsetClientId(String clientId)Issued when you created your application.voidsetClientSecret(String clientSecret)Issued when you created your application.voidsetToken(String token)The legacy xoxb or xoxp token being migrated to use token rotation.StringtoString()
-
-
-
Method Detail
-
builder
public static OAuthV2ExchangeRequest.OAuthV2ExchangeRequestBuilder builder()
-
getToken
public String getToken()
The legacy xoxb or xoxp token being migrated to use token rotation.- Specified by:
getTokenin interfaceSlackApiRequest
-
getClientId
public String getClientId()
Issued when you created your application.
-
getClientSecret
public String getClientSecret()
Issued when you created your application.
-
setToken
public void setToken(String token)
The legacy xoxb or xoxp token being migrated to use token rotation.
-
setClientId
public void setClientId(String clientId)
Issued when you created your application.
-
setClientSecret
public void setClientSecret(String clientSecret)
Issued when you created your application.
-
canEqual
protected boolean canEqual(Object other)
-
-