Class ChatPostMessageResponse
- java.lang.Object
-
- com.slack.api.methods.response.chat.ChatPostMessageResponse
-
- All Implemented Interfaces:
SlackApiResponse
,SlackApiTextResponse
public class ChatPostMessageResponse extends Object implements SlackApiTextResponse
-
-
Constructor Summary
Constructors Constructor Description ChatPostMessageResponse()
-
Method Summary
-
-
-
Method Detail
-
isOk
public boolean isOk()
- Specified by:
isOk
in interfaceSlackApiTextResponse
-
getWarning
public String getWarning()
- Specified by:
getWarning
in interfaceSlackApiTextResponse
-
getError
public String getError()
- Specified by:
getError
in interfaceSlackApiTextResponse
-
getNeeded
public String getNeeded()
- Specified by:
getNeeded
in interfaceSlackApiTextResponse
-
getProvided
public String getProvided()
- Specified by:
getProvided
in interfaceSlackApiTextResponse
-
getHttpResponseHeaders
public Map<String,List<String>> 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
-
getDeprecatedArgument
public String getDeprecatedArgument()
-
getResponseMetadata
public ErrorResponseMetadata getResponseMetadata()
-
getChannel
public String getChannel()
-
getTs
public String getTs()
-
getMessage
public Message getMessage()
-
setOk
public void setOk(boolean ok)
- Specified by:
setOk
in interfaceSlackApiTextResponse
-
setWarning
public void setWarning(String warning)
- Specified by:
setWarning
in interfaceSlackApiTextResponse
-
setError
public void setError(String error)
- Specified by:
setError
in interfaceSlackApiTextResponse
-
setNeeded
public void setNeeded(String needed)
- Specified by:
setNeeded
in interfaceSlackApiTextResponse
-
setProvided
public void setProvided(String provided)
- Specified by:
setProvided
in interfaceSlackApiTextResponse
-
setHttpResponseHeaders
public void setHttpResponseHeaders(Map<String,List<String>> httpResponseHeaders)
Description copied from interface:SlackApiResponse
Sets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeaders
in interfaceSlackApiResponse
-
setDeprecatedArgument
public void setDeprecatedArgument(String deprecatedArgument)
-
setResponseMetadata
public void setResponseMetadata(ErrorResponseMetadata responseMetadata)
-
setChannel
public void setChannel(String channel)
-
setTs
public void setTs(String ts)
-
setMessage
public void setMessage(Message message)
-
canEqual
protected boolean canEqual(Object other)
-
-