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 Device attribute
|
String |
getDefinedPsk()
Get Whether to use custom PSK, no by default
|
String |
getDeviceName()
Get Device name.
|
String |
getImei()
Get IMEI, required for a NB-IoT product
|
Long |
getIsp()
Get ISP, required for a NB-IoT product.
|
String |
getLoraAppKey()
Get AppKey of a LoRa device
|
String |
getLoraDevEui()
Get DevEUI of a LoRa device, required when you create a LoRa device
|
Long |
getLoraMoteType()
Get MoteType of a LoRa device
|
String |
getProductId()
Get Product ID, globally unique ID assigned by Tencent Cloud during product creation
|
String |
getSkey()
Get Skey, required when you create a LoRa device
|
String |
getTlsCrt()
Get Private CA certificate
|
void |
setAttribute(Attribute Attribute)
Set Device attribute
|
void |
setDefinedPsk(String DefinedPsk)
Set Whether to use custom PSK, no by default
|
void |
setDeviceName(String DeviceName)
Set Device name.
|
void |
setImei(String Imei)
Set IMEI, required for a NB-IoT product
|
void |
setIsp(Long Isp)
Set ISP, required for a NB-IoT product.
|
void |
setLoraAppKey(String LoraAppKey)
Set AppKey of a LoRa device
|
void |
setLoraDevEui(String LoraDevEui)
Set DevEUI of a LoRa device, required when you create a LoRa device
|
void |
setLoraMoteType(Long LoraMoteType)
Set MoteType of a LoRa device
|
void |
setProductId(String ProductId)
Set Product ID, globally unique ID assigned by Tencent Cloud during product creation
|
void |
setSkey(String Skey)
Set Skey, required when you create a LoRa device
|
void |
setTlsCrt(String TlsCrt)
Set Private CA certificate
|
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
- Product ID, globally unique ID assigned by Tencent Cloud during product creationpublic String getDeviceName()
public void setDeviceName(String DeviceName)
DeviceName
- Device name. It is a string of 1 to 48 characters. Letters, digits, and :_- are allowed.public Attribute getAttribute()
public void setAttribute(Attribute Attribute)
Attribute
- Device attributepublic String getDefinedPsk()
public void setDefinedPsk(String DefinedPsk)
DefinedPsk
- Whether to use custom PSK, no by defaultpublic Long getIsp()
public void setIsp(Long Isp)
Isp
- ISP, required for a NB-IoT product. `1`: China Telecom; `2`: China Mobile; `3`: China Unicompublic String getImei()
public void setImei(String Imei)
Imei
- IMEI, required for a NB-IoT productpublic String getLoraDevEui()
public void setLoraDevEui(String LoraDevEui)
LoraDevEui
- DevEUI of a LoRa device, required when you create a LoRa devicepublic Long getLoraMoteType()
public void setLoraMoteType(Long LoraMoteType)
LoraMoteType
- MoteType of a LoRa devicepublic String getSkey()
public void setSkey(String Skey)
Skey
- Skey, required when you create a LoRa devicepublic String getLoraAppKey()
public void setLoraAppKey(String LoraAppKey)
LoraAppKey
- AppKey of a LoRa devicepublic String getTlsCrt()
public void setTlsCrt(String TlsCrt)
TlsCrt
- Private CA certificateCopyright © 2023. All rights reserved.