public class ControlDeviceDataRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ControlDeviceDataRequest() | 
| ControlDeviceDataRequest(ControlDeviceDataRequest 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 | getData()Get 属性数据, JSON格式字符串, 注意字段需要在物模型属性里定义 | 
| Long | getDataTimestamp()Get 上报数据UNIX时间戳(毫秒), 仅对Method:reported有效 | 
| String | getDeviceName()Get 设备名称 | 
| String | getMethod()Get 请求类型 , 不填该参数或者 desired 表示下发属性给设备,  reported 表示模拟设备上报属性 | 
| String | getProductId()Get 产品ID | 
| void | setData(String Data)Set 属性数据, JSON格式字符串, 注意字段需要在物模型属性里定义 | 
| void | setDataTimestamp(Long DataTimestamp)Set 上报数据UNIX时间戳(毫秒), 仅对Method:reported有效 | 
| void | setDeviceName(String DeviceName)Set 设备名称 | 
| void | setMethod(String Method)Set 请求类型 , 不填该参数或者 desired 表示下发属性给设备,  reported 表示模拟设备上报属性 | 
| void | setProductId(String ProductId)Set 产品ID | 
| 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 ControlDeviceDataRequest()
public ControlDeviceDataRequest(ControlDeviceDataRequest source)
public String getProductId()
public void setProductId(String ProductId)
ProductId - 产品IDpublic String getDeviceName()
public void setDeviceName(String DeviceName)
DeviceName - 设备名称public String getData()
public void setData(String Data)
Data - 属性数据, JSON格式字符串, 注意字段需要在物模型属性里定义public String getMethod()
public void setMethod(String Method)
Method - 请求类型 , 不填该参数或者 desired 表示下发属性给设备,  reported 表示模拟设备上报属性public Long getDataTimestamp()
public void setDataTimestamp(Long DataTimestamp)
DataTimestamp - 上报数据UNIX时间戳(毫秒), 仅对Method:reported有效Copyright © 2025. All rights reserved.