Class OAuthAccessResponse
java.lang.Object
com.slack.api.methods.response.oauth.OAuthAccessResponse
- All Implemented Interfaces:
SlackApiResponse,SlackApiTextResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.static classstatic classstatic classDeprecated.static classDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanDeprecated.getBot()getError()Returns all the HTTP response headers in the API response.Deprecated.getScope()Deprecated.inthashCode()booleanisOk()voidsetAccessToken(String accessToken) voidsetAuthorizingUser(OAuthAccessResponse.AuthorizingUser authorizingUser) Deprecated.voidvoidsetEnterpriseId(String enterpriseId) voidvoidsetHttpResponseHeaders(Map<String, List<String>> httpResponseHeaders) Sets the response headers.voidsetIncomingWebhook(OAuthAccessResponse.IncomingWebhook incomingWebhook) voidsetInstallerUser(OAuthAccessResponse.InstallerUser installerUser) Deprecated.voidvoidsetOk(boolean ok) voidsetProvided(String provided) voidvoidsetScopes(OAuthAccessResponse.Scopes scopes) Deprecated.voidvoidsetTeamName(String teamName) voidsetTokenType(String tokenType) voidvoidsetWarning(String warning) toString()
-
Constructor Details
-
OAuthAccessResponse
public OAuthAccessResponse()
-
-
Method Details
-
isOk
public boolean isOk()- Specified by:
isOkin interfaceSlackApiTextResponse
-
getWarning
- Specified by:
getWarningin interfaceSlackApiTextResponse
-
getError
- Specified by:
getErrorin interfaceSlackApiTextResponse
-
getNeeded
- Specified by:
getNeededin interfaceSlackApiTextResponse
-
getProvided
- Specified by:
getProvidedin interfaceSlackApiTextResponse
-
getHttpResponseHeaders
Description copied from interface:SlackApiResponseReturns all the HTTP response headers in the API response. The keys are lower-cased.- Specified by:
getHttpResponseHeadersin interfaceSlackApiResponse
-
getTokenType
-
getAccessToken
-
getScope
-
getEnterpriseId
-
getTeamName
-
getTeamId
-
getUserId
-
getIncomingWebhook
-
getBot
-
getAuthorizingUser
Deprecated. -
getInstallerUser
Deprecated. -
getScopes
Deprecated. -
setOk
public void setOk(boolean ok) - Specified by:
setOkin interfaceSlackApiTextResponse
-
setWarning
- Specified by:
setWarningin interfaceSlackApiTextResponse
-
setError
- Specified by:
setErrorin interfaceSlackApiTextResponse
-
setNeeded
- Specified by:
setNeededin interfaceSlackApiTextResponse
-
setProvided
- Specified by:
setProvidedin interfaceSlackApiTextResponse
-
setHttpResponseHeaders
Description copied from interface:SlackApiResponseSets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeadersin interfaceSlackApiResponse
-
setTokenType
-
setAccessToken
-
setScope
-
setEnterpriseId
-
setTeamName
-
setTeamId
-
setUserId
-
setIncomingWebhook
-
setBot
-
setAuthorizingUser
Deprecated. -
setInstallerUser
Deprecated. -
setScopes
Deprecated. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-