public class BatchPublishMessage extends AbstractModel
Constructor and Description |
---|
BatchPublishMessage() |
BatchPublishMessage(BatchPublishMessage 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 |
getPayload()
Get 消息内容
|
String |
getTopic()
Get 消息发往的主题。为 Topic 权限中去除 ProductID 和 DeviceName 的部分,如 “event”
|
void |
setPayload(String Payload)
Set 消息内容
|
void |
setTopic(String Topic)
Set 消息发往的主题。为 Topic 权限中去除 ProductID 和 DeviceName 的部分,如 “event”
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public BatchPublishMessage()
public BatchPublishMessage(BatchPublishMessage source)
public String getTopic()
public void setTopic(String Topic)
Topic
- 消息发往的主题。为 Topic 权限中去除 ProductID 和 DeviceName 的部分,如 “event”public String getPayload()
public void setPayload(String Payload)
Payload
- 消息内容Copyright © 2022. All rights reserved.