Class RTMConnectResponse
java.lang.Object
com.slack.api.methods.response.rtm.RTMConnectResponse
- All Implemented Interfaces:
SlackApiResponse,SlackApiTextResponse
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetError()Returns all the HTTP response headers in the API response.getSelf()getTeam()getUrl()inthashCode()booleanisOk()voidsetContext(String context) voidvoidsetHttpResponseHeaders(Map<String, List<String>> httpResponseHeaders) Sets the response headers.voidvoidsetOk(boolean ok) voidsetProvided(String provided) voidvoidvoidvoidsetWarning(String warning) toString()
-
Constructor Details
-
RTMConnectResponse
public RTMConnectResponse()
-
-
Method Details
-
isOk
public boolean isOk()- Specified by:
isOkin interfaceSlackApiTextResponse
-
getWarning
- Specified by:
getWarningin interfaceSlackApiTextResponse
-
getError
- Specified by:
getErrorin interfaceSlackApiTextResponse
-
getContext
-
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
-
getUrl
-
getSelf
-
getTeam
-
setOk
public void setOk(boolean ok) - Specified by:
setOkin interfaceSlackApiTextResponse
-
setWarning
- Specified by:
setWarningin interfaceSlackApiTextResponse
-
setError
- Specified by:
setErrorin interfaceSlackApiTextResponse
-
setContext
-
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
-
setUrl
-
setSelf
-
setTeam
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-