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
Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
String
getDeprecatedArgument()
String
getError()
List<String>
getErrors()
Message
getMessage()
String
getNeeded()
String
getProvided()
ErrorResponseMetadata
getResponseMetadata()
String
getTs()
String
getWarning()
int
hashCode()
boolean
isOk()
void
setChannel(String channel)
void
setDeprecatedArgument(String deprecatedArgument)
void
setError(String error)
void
setErrors(List<String> errors)
void
setMessage(Message message)
void
setNeeded(String needed)
void
setOk(boolean ok)
void
setProvided(String provided)
void
setResponseMetadata(ErrorResponseMetadata responseMetadata)
void
setTs(String ts)
void
setWarning(String warning)
String
toString()
-
Constructor Details
-
ChatPostMessageResponse
public ChatPostMessageResponse()
-
-
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
-
getDeprecatedArgument
-
getErrors
-
getResponseMetadata
-
getChannel
-
getTs
-
getMessage
-
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
-
setDeprecatedArgument
-
setErrors
-
setResponseMetadata
-
setChannel
-
setTs
-
setMessage
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-