public class ReceiveMessageResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
ReceiveMessageResponse() |
ReceiveMessageResponse(ReceiveMessageResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAckTopic()
Get Provided to the `Ack` API and used to acknowledge messages in the topic
|
String |
getErrorMsg()
Get Returned error message.
|
String |
getMessageID()
Get Unique primary key used to identify the message
|
String |
getMessageIDList()
Get MessageIDs returned by `BatchReceivePolicy` at a time, which are separated by “###”.
|
String |
getMessagePayload()
Get Content of the received message
|
String |
getMessagesPayload()
Get Message contents returned by `BatchReceivePolicy` at a time, which are separated by “###”.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
String |
getSubName()
Get Returned subscriber name, which will be used when an acknowledgment consumer is created.
|
void |
setAckTopic(String AckTopic)
Set Provided to the `Ack` API and used to acknowledge messages in the topic
|
void |
setErrorMsg(String ErrorMsg)
Set Returned error message.
|
void |
setMessageID(String MessageID)
Set Unique primary key used to identify the message
|
void |
setMessageIDList(String MessageIDList)
Set MessageIDs returned by `BatchReceivePolicy` at a time, which are separated by “###”.
|
void |
setMessagePayload(String MessagePayload)
Set Content of the received message
|
void |
setMessagesPayload(String MessagesPayload)
Set Message contents returned by `BatchReceivePolicy` at a time, which are separated by “###”.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setSubName(String SubName)
Set Returned subscriber name, which will be used when an acknowledgment consumer is created.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ReceiveMessageResponse()
public ReceiveMessageResponse(ReceiveMessageResponse source)
public String getMessageID()
public void setMessageID(String MessageID)
MessageID
- Unique primary key used to identify the messagepublic String getMessagePayload()
public void setMessagePayload(String MessagePayload)
MessagePayload
- Content of the received messagepublic String getAckTopic()
public void setAckTopic(String AckTopic)
AckTopic
- Provided to the `Ack` API and used to acknowledge messages in the topicpublic String getErrorMsg()
public void setErrorMsg(String ErrorMsg)
ErrorMsg
- Returned error message. If it is an empty string, no error occurred.
Note: this field may return null, indicating that no valid values can be obtained.public String getSubName()
public void setSubName(String SubName)
SubName
- Returned subscriber name, which will be used when an acknowledgment consumer is created.
Note: this field may return null, indicating that no valid values can be obtained.public String getMessageIDList()
public void setMessageIDList(String MessageIDList)
MessageIDList
- MessageIDs returned by `BatchReceivePolicy` at a time, which are separated by “###”.
Note: This field may return null, indicating that no valid values can be obtained.public String getMessagesPayload()
public void setMessagesPayload(String MessagesPayload)
MessagesPayload
- Message contents returned by `BatchReceivePolicy` at a time, which are separated by “###”.
Note: This field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2024. All rights reserved.