public class OAuthV2AccessResponse extends Object implements SlackApiResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
OAuthV2AccessResponse.AuthedUser |
static class |
OAuthV2AccessResponse.Enterprise |
static class |
OAuthV2AccessResponse.IncomingWebhook |
static class |
OAuthV2AccessResponse.Team |
| Constructor and Description |
|---|
OAuthV2AccessResponse() |
public boolean isOk()
isOk in interface SlackApiResponsepublic String getWarning()
getWarning in interface SlackApiResponsepublic String getError()
getError in interface SlackApiResponsepublic String getNeeded()
getNeeded in interface SlackApiResponsepublic String getProvided()
getProvided in interface SlackApiResponsepublic String getAppId()
public OAuthV2AccessResponse.AuthedUser getAuthedUser()
public String getScope()
public String getTokenType()
public String getAccessToken()
public String getBotUserId()
public OAuthV2AccessResponse.Team getTeam()
public OAuthV2AccessResponse.Enterprise getEnterprise()
public OAuthV2AccessResponse.IncomingWebhook getIncomingWebhook()
public void setOk(boolean ok)
setOk in interface SlackApiResponsepublic void setWarning(String warning)
setWarning in interface SlackApiResponsepublic void setError(String error)
setError in interface SlackApiResponsepublic void setNeeded(String needed)
setNeeded in interface SlackApiResponsepublic void setProvided(String provided)
setProvided in interface SlackApiResponsepublic void setAppId(String appId)
public void setAuthedUser(OAuthV2AccessResponse.AuthedUser authedUser)
public void setScope(String scope)
public void setTokenType(String tokenType)
public void setAccessToken(String accessToken)
public void setBotUserId(String botUserId)
public void setTeam(OAuthV2AccessResponse.Team team)
public void setEnterprise(OAuthV2AccessResponse.Enterprise enterprise)
public void setIncomingWebhook(OAuthV2AccessResponse.IncomingWebhook incomingWebhook)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.