public class CreateDeviceRequest extends AbstractModel
Constructor and Description |
---|
CreateDeviceRequest() |
CreateDeviceRequest(CreateDeviceRequest 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 |
---|---|
Attribute |
getAttribute()
Get 设备属性
|
String |
getDefinedPsk()
Get 是否使用自定义PSK,默认不使用
|
String |
getDeviceName()
Get 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。
|
String |
getImei()
Get IMEI,当产品是NB-IoT产品时,此字段必填
|
Long |
getIsp()
Get 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通
|
String |
getLoraAppKey()
Get LoRa设备的AppKey
|
String |
getLoraDevEui()
Get LoRa设备的DevEui,当创建LoRa时,此字段必填
|
Long |
getLoraMoteType()
Get LoRa设备的MoteType
|
String |
getProductId()
Get 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 ID
|
String |
getSkey()
Get 创建LoRa设备需要skey
|
void |
setAttribute(Attribute Attribute)
Set 设备属性
|
void |
setDefinedPsk(String DefinedPsk)
Set 是否使用自定义PSK,默认不使用
|
void |
setDeviceName(String DeviceName)
Set 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。
|
void |
setImei(String Imei)
Set IMEI,当产品是NB-IoT产品时,此字段必填
|
void |
setIsp(Long Isp)
Set 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通
|
void |
setLoraAppKey(String LoraAppKey)
Set LoRa设备的AppKey
|
void |
setLoraDevEui(String LoraDevEui)
Set LoRa设备的DevEui,当创建LoRa时,此字段必填
|
void |
setLoraMoteType(Long LoraMoteType)
Set LoRa设备的MoteType
|
void |
setProductId(String ProductId)
Set 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 ID
|
void |
setSkey(String Skey)
Set 创建LoRa设备需要skey
|
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 CreateDeviceRequest()
public CreateDeviceRequest(CreateDeviceRequest source)
public String getProductId()
public void setProductId(String ProductId)
ProductId
- 产品 ID 。创建产品时腾讯云为用户分配全局唯一的 IDpublic String getDeviceName()
public void setDeviceName(String DeviceName)
DeviceName
- 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。public Attribute getAttribute()
public void setAttribute(Attribute Attribute)
Attribute
- 设备属性public String getDefinedPsk()
public void setDefinedPsk(String DefinedPsk)
DefinedPsk
- 是否使用自定义PSK,默认不使用public Long getIsp()
public void setIsp(Long Isp)
Isp
- 运营商类型,当产品是NB-IoT产品时,此字段必填。1表示中国电信,2表示中国移动,3表示中国联通public String getImei()
public void setImei(String Imei)
Imei
- IMEI,当产品是NB-IoT产品时,此字段必填public String getLoraDevEui()
public void setLoraDevEui(String LoraDevEui)
LoraDevEui
- LoRa设备的DevEui,当创建LoRa时,此字段必填public Long getLoraMoteType()
public void setLoraMoteType(Long LoraMoteType)
LoraMoteType
- LoRa设备的MoteTypepublic String getSkey()
public void setSkey(String Skey)
Skey
- 创建LoRa设备需要skeypublic String getLoraAppKey()
public void setLoraAppKey(String LoraAppKey)
LoraAppKey
- LoRa设备的AppKeyCopyright © 2022. All rights reserved.