Class ChatUpdateResponse
- java.lang.Object
-
- com.slack.api.methods.response.chat.ChatUpdateResponse
-
- All Implemented Interfaces:
SlackApiResponse,SlackApiTextResponse
public class ChatUpdateResponse extends Object implements SlackApiTextResponse
-
-
Constructor Summary
Constructors Constructor Description ChatUpdateResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()StringgetDeprecatedArgument()StringgetError()Map<String,List<String>>getHttpResponseHeaders()Returns all the HTTP response headers in the API response.MessagegetMessage()StringgetNeeded()StringgetProvided()StringgetText()StringgetTs()StringgetWarning()inthashCode()booleanisOk()voidsetChannel(String channel)voidsetDeprecatedArgument(String deprecatedArgument)voidsetError(String error)voidsetHttpResponseHeaders(Map<String,List<String>> httpResponseHeaders)Sets the response headers.voidsetMessage(Message message)voidsetNeeded(String needed)voidsetOk(boolean ok)voidsetProvided(String provided)voidsetText(String text)voidsetTs(String ts)voidsetWarning(String warning)StringtoString()
-
-
-
Method Detail
-
isOk
public boolean isOk()
- Specified by:
isOkin interfaceSlackApiTextResponse
-
getWarning
public String getWarning()
- Specified by:
getWarningin interfaceSlackApiTextResponse
-
getError
public String getError()
- Specified by:
getErrorin interfaceSlackApiTextResponse
-
getNeeded
public String getNeeded()
- Specified by:
getNeededin interfaceSlackApiTextResponse
-
getProvided
public String getProvided()
- Specified by:
getProvidedin interfaceSlackApiTextResponse
-
getHttpResponseHeaders
public Map<String,List<String>> getHttpResponseHeaders()
Description copied from interface:SlackApiResponseReturns all the HTTP response headers in the API response. The keys are lower-cased.- Specified by:
getHttpResponseHeadersin interfaceSlackApiResponse
-
getDeprecatedArgument
public String getDeprecatedArgument()
-
getChannel
public String getChannel()
-
getTs
public String getTs()
-
getText
public String getText()
-
getMessage
public Message getMessage()
-
setOk
public void setOk(boolean ok)
- Specified by:
setOkin interfaceSlackApiTextResponse
-
setWarning
public void setWarning(String warning)
- Specified by:
setWarningin interfaceSlackApiTextResponse
-
setError
public void setError(String error)
- Specified by:
setErrorin interfaceSlackApiTextResponse
-
setNeeded
public void setNeeded(String needed)
- Specified by:
setNeededin interfaceSlackApiTextResponse
-
setProvided
public void setProvided(String provided)
- Specified by:
setProvidedin interfaceSlackApiTextResponse
-
setHttpResponseHeaders
public void setHttpResponseHeaders(Map<String,List<String>> httpResponseHeaders)
Description copied from interface:SlackApiResponseSets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeadersin interfaceSlackApiResponse
-
setDeprecatedArgument
public void setDeprecatedArgument(String deprecatedArgument)
-
setChannel
public void setChannel(String channel)
-
setTs
public void setTs(String ts)
-
setText
public void setText(String text)
-
setMessage
public void setMessage(Message message)
-
canEqual
protected boolean canEqual(Object other)
-
-