Class OAuthAccessResponse
java.lang.Object
com.slack.api.methods.response.oauth.OAuthAccessResponse
- All Implemented Interfaces:
SlackApiResponse
,SlackApiTextResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deprecated.static class
static class
static class
Deprecated.static class
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Deprecated.getBot()
getError()
Returns all the HTTP response headers in the API response.Deprecated.getScope()
Deprecated.int
hashCode()
boolean
isOk()
void
setAccessToken
(String accessToken) void
setAuthorizingUser
(OAuthAccessResponse.AuthorizingUser authorizingUser) Deprecated.void
void
setEnterpriseId
(String enterpriseId) void
void
setHttpResponseHeaders
(Map<String, List<String>> httpResponseHeaders) Sets the response headers.void
setIncomingWebhook
(OAuthAccessResponse.IncomingWebhook incomingWebhook) void
setInstallerUser
(OAuthAccessResponse.InstallerUser installerUser) Deprecated.void
void
setOk
(boolean ok) void
setProvided
(String provided) void
void
setScopes
(OAuthAccessResponse.Scopes scopes) Deprecated.void
void
setTeamName
(String teamName) void
setTokenType
(String tokenType) void
void
setWarning
(String warning) toString()
-
Constructor Details
-
OAuthAccessResponse
public OAuthAccessResponse()
-
-
Method Details
-
isOk
public boolean isOk()- Specified by:
isOk
in interfaceSlackApiTextResponse
-
getWarning
- Specified by:
getWarning
in interfaceSlackApiTextResponse
-
getError
- Specified by:
getError
in interfaceSlackApiTextResponse
-
getNeeded
- Specified by:
getNeeded
in interfaceSlackApiTextResponse
-
getProvided
- Specified by:
getProvided
in interfaceSlackApiTextResponse
-
getHttpResponseHeaders
Description copied from interface:SlackApiResponse
Returns all the HTTP response headers in the API response. The keys are lower-cased.- Specified by:
getHttpResponseHeaders
in interfaceSlackApiResponse
-
getTokenType
-
getAccessToken
-
getScope
-
getEnterpriseId
-
getTeamName
-
getTeamId
-
getUserId
-
getIncomingWebhook
-
getBot
-
getAuthorizingUser
Deprecated. -
getInstallerUser
Deprecated. -
getScopes
Deprecated. -
setOk
public void setOk(boolean ok) - Specified by:
setOk
in interfaceSlackApiTextResponse
-
setWarning
- Specified by:
setWarning
in interfaceSlackApiTextResponse
-
setError
- Specified by:
setError
in interfaceSlackApiTextResponse
-
setNeeded
- Specified by:
setNeeded
in interfaceSlackApiTextResponse
-
setProvided
- Specified by:
setProvided
in interfaceSlackApiTextResponse
-
setHttpResponseHeaders
Description copied from interface:SlackApiResponse
Sets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeaders
in interfaceSlackApiResponse
-
setTokenType
-
setAccessToken
-
setScope
-
setEnterpriseId
-
setTeamName
-
setTeamId
-
setUserId
-
setIncomingWebhook
-
setBot
-
setAuthorizingUser
Deprecated. -
setInstallerUser
Deprecated. -
setScopes
Deprecated. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-