Class SendOnlineMsgRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iotvideo.v20191126.models.SendOnlineMsgRequest
-
public class SendOnlineMsgRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SendOnlineMsgRequest()SendOnlineMsgRequest(SendOnlineMsgRequest 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 StringgetMsgContent()Get 消息内容,最大长度不超过8k字节StringgetMsgTopic()Get 消息主题StringgetTid()Get 设备TIDLonggetWaitResp()Get 等待回应类型 0:不等待设备回应直接响应请求; 1:要求设备确认消息已接收,或等待超时后返回; 2:要求设备进行响应处理,收到设备的响应数据后,将设备响应数据回应给请求方;BooleangetWakeup()Get 如果设备处于休眠状态,是否唤醒设备voidsetMsgContent(String MsgContent)Set 消息内容,最大长度不超过8k字节voidsetMsgTopic(String MsgTopic)Set 消息主题voidsetTid(String Tid)Set 设备TIDvoidsetWaitResp(Long WaitResp)Set 等待回应类型 0:不等待设备回应直接响应请求; 1:要求设备确认消息已接收,或等待超时后返回; 2:要求设备进行响应处理,收到设备的响应数据后,将设备响应数据回应给请求方;voidsetWakeup(Boolean Wakeup)Set 如果设备处于休眠状态,是否唤醒设备voidtoMap(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
-
SendOnlineMsgRequest
public SendOnlineMsgRequest()
-
SendOnlineMsgRequest
public SendOnlineMsgRequest(SendOnlineMsgRequest 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
-
getTid
public String getTid()
Get 设备TID- Returns:
- Tid 设备TID
-
setTid
public void setTid(String Tid)
Set 设备TID- Parameters:
Tid- 设备TID
-
getWakeup
public Boolean getWakeup()
Get 如果设备处于休眠状态,是否唤醒设备- Returns:
- Wakeup 如果设备处于休眠状态,是否唤醒设备
-
setWakeup
public void setWakeup(Boolean Wakeup)
Set 如果设备处于休眠状态,是否唤醒设备- Parameters:
Wakeup- 如果设备处于休眠状态,是否唤醒设备
-
getWaitResp
public Long getWaitResp()
Get 等待回应类型 0:不等待设备回应直接响应请求; 1:要求设备确认消息已接收,或等待超时后返回; 2:要求设备进行响应处理,收到设备的响应数据后,将设备响应数据回应给请求方;- Returns:
- WaitResp 等待回应类型 0:不等待设备回应直接响应请求; 1:要求设备确认消息已接收,或等待超时后返回; 2:要求设备进行响应处理,收到设备的响应数据后,将设备响应数据回应给请求方;
-
setWaitResp
public void setWaitResp(Long WaitResp)
Set 等待回应类型 0:不等待设备回应直接响应请求; 1:要求设备确认消息已接收,或等待超时后返回; 2:要求设备进行响应处理,收到设备的响应数据后,将设备响应数据回应给请求方;- Parameters:
WaitResp- 等待回应类型 0:不等待设备回应直接响应请求; 1:要求设备确认消息已接收,或等待超时后返回; 2:要求设备进行响应处理,收到设备的响应数据后,将设备响应数据回应给请求方;
-
getMsgTopic
public String getMsgTopic()
Get 消息主题- Returns:
- MsgTopic 消息主题
-
setMsgTopic
public void setMsgTopic(String MsgTopic)
Set 消息主题- Parameters:
MsgTopic- 消息主题
-
getMsgContent
public String getMsgContent()
Get 消息内容,最大长度不超过8k字节- Returns:
- MsgContent 消息内容,最大长度不超过8k字节
-
setMsgContent
public void setMsgContent(String MsgContent)
Set 消息内容,最大长度不超过8k字节- Parameters:
MsgContent- 消息内容,最大长度不超过8k字节
-
-