public class OAuthAccessRequest extends Object implements SlackApiRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
OAuthAccessRequest.OAuthAccessRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static OAuthAccessRequest.OAuthAccessRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getClientId()
Issued when you created your application.
|
String |
getClientSecret()
Issued when you created your application.
|
String |
getCode()
The `code` param returned via the OAuth callback.
|
String |
getRedirectUri()
This must match the originally submitted URI (if one was sent).
|
String |
getToken() |
int |
hashCode() |
boolean |
isSingleChannel()
Request the user to add your app only to a single channel.
|
void |
setClientId(String clientId)
Issued when you created your application.
|
void |
setClientSecret(String clientSecret)
Issued when you created your application.
|
void |
setCode(String code)
The `code` param returned via the OAuth callback.
|
void |
setRedirectUri(String redirectUri)
This must match the originally submitted URI (if one was sent).
|
void |
setSingleChannel(boolean singleChannel)
Request the user to add your app only to a single channel.
|
String |
toString() |
public String getToken()
getToken in interface SlackApiRequestpublic static OAuthAccessRequest.OAuthAccessRequestBuilder builder()
public String getClientId()
public String getClientSecret()
public String getCode()
public String getRedirectUri()
public boolean isSingleChannel()
public void setClientId(String clientId)
public void setClientSecret(String clientSecret)
public void setCode(String code)
public void setRedirectUri(String redirectUri)
public void setSingleChannel(boolean singleChannel)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.