public class BatchPublishMessage extends AbstractModel
header, skipSign| 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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic 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 © 2025. All rights reserved.