public class AddProductRequest extends AbstractModel
Constructor and Description |
---|
AddProductRequest() |
AddProductRequest(AddProductRequest 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 |
---|---|
Long |
getAuthType()
Get 设备认证方式(1:动态令牌,2:签名直连鉴权)
|
String |
getCommProtocol()
Get 通信方式(other/wifi/cellular/nb-iot)
|
String |
getDataProtocol()
Get 产品版本(native表示基础版,template表示高级版,默认值为template)
|
DataTemplate[] |
getDataTemplate()
Get 数据模版
|
String |
getDescription()
Get 产品描述
|
String |
getDeviceType()
Get 产品的设备类型(device: 直连设备;sub_device:子设备;gateway:网关设备)
|
String |
getName()
Get 产品名称,同一区域产品名称需唯一,支持中文、英文字母、中划线和下划线,长度不超过31个字符,中文占两个字符
|
void |
setAuthType(Long AuthType)
Set 设备认证方式(1:动态令牌,2:签名直连鉴权)
|
void |
setCommProtocol(String CommProtocol)
Set 通信方式(other/wifi/cellular/nb-iot)
|
void |
setDataProtocol(String DataProtocol)
Set 产品版本(native表示基础版,template表示高级版,默认值为template)
|
void |
setDataTemplate(DataTemplate[] DataTemplate)
Set 数据模版
|
void |
setDescription(String Description)
Set 产品描述
|
void |
setDeviceType(String DeviceType)
Set 产品的设备类型(device: 直连设备;sub_device:子设备;gateway:网关设备)
|
void |
setName(String Name)
Set 产品名称,同一区域产品名称需唯一,支持中文、英文字母、中划线和下划线,长度不超过31个字符,中文占两个字符
|
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 AddProductRequest()
public AddProductRequest(AddProductRequest source)
public String getName()
public void setName(String Name)
Name
- 产品名称,同一区域产品名称需唯一,支持中文、英文字母、中划线和下划线,长度不超过31个字符,中文占两个字符public String getDescription()
public void setDescription(String Description)
Description
- 产品描述public DataTemplate[] getDataTemplate()
public void setDataTemplate(DataTemplate[] DataTemplate)
DataTemplate
- 数据模版public String getDataProtocol()
public void setDataProtocol(String DataProtocol)
DataProtocol
- 产品版本(native表示基础版,template表示高级版,默认值为template)public Long getAuthType()
public void setAuthType(Long AuthType)
AuthType
- 设备认证方式(1:动态令牌,2:签名直连鉴权)public String getCommProtocol()
public void setCommProtocol(String CommProtocol)
CommProtocol
- 通信方式(other/wifi/cellular/nb-iot)public String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType
- 产品的设备类型(device: 直连设备;sub_device:子设备;gateway:网关设备)Copyright © 2023. All rights reserved.