Class PublishMsgRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iot.v20180123.models.PublishMsgRequest
-
public class PublishMsgRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description PublishMsgRequest()PublishMsgRequest(PublishMsgRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()Get 消息内容LonggetQos()Get Qos(目前QoS支持0与1)StringgetTopic()Get TopicvoidsetMessage(String Message)Set 消息内容voidsetQos(Long Qos)Set Qos(目前QoS支持0与1)voidsetTopic(String Topic)Set TopicvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
PublishMsgRequest
public PublishMsgRequest()
-
PublishMsgRequest
public PublishMsgRequest(PublishMsgRequest 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.
-
-
Method Detail
-
getTopic
public String getTopic()
Get Topic- Returns:
- Topic Topic
-
setTopic
public void setTopic(String Topic)
Set Topic- Parameters:
Topic- Topic
-
getMessage
public String getMessage()
Get 消息内容- Returns:
- Message 消息内容
-
setMessage
public void setMessage(String Message)
Set 消息内容- Parameters:
Message- 消息内容
-
getQos
public Long getQos()
Get Qos(目前QoS支持0与1)- Returns:
- Qos Qos(目前QoS支持0与1)
-
setQos
public void setQos(Long Qos)
Set Qos(目前QoS支持0与1)- Parameters:
Qos- Qos(目前QoS支持0与1)
-
-