public class DeviceInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
DeviceInfo() |
DeviceInfo(DeviceInfo 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 |
getCertState()
Get Whether the device certificate has been obtained.
|
String |
getClientIP()
Get IP address of the MQTT client
Note: this field may return `null`, indicating that no valid value is obtained.
|
Long |
getConnIP()
Get IP address
|
Long |
getCreateTime()
Get Device creation time
Note: this field may return `null`, indicating that no valid value is obtained.
|
String |
getDeviceCert()
Get Device certificate, which is returned for devices that use certificates for authentication
|
String |
getDeviceName()
Get Device name
|
String |
getDevicePsk()
Get Device key, which is returned for devices that use keys for authentication
|
Long |
getDeviceType()
Get Device type
|
Long |
getEnableState()
Get Whether the device is enabled.
|
Long |
getFirmwareUpdateTime()
Get Time of last OTA update
Note: this field may return `null`, indicating that no valid value is obtained.
|
Long |
getFirstOnlineTime()
Get The first time when the device went online
Note: this field may return `null`, indicating that no valid value is obtained.
|
String |
getImei()
Get International Mobile Equipment Identity (IMEI)
|
Long |
getIsp()
Get ISP
|
DeviceLabel[] |
getLabels()
Get Device tags
Note: this field may return `null`, indicating that no valid value is obtained.
|
Long |
getLastOfflineTime()
Get The last time when the device went offline
Note: this field may return `null`, indicating that no valid value is obtained.
|
Long |
getLastUpdateTime()
Get Last updated time of the device
|
Long |
getLoginTime()
Get Device login time
|
Long |
getLogLevel()
Get Device log level
Note: this field may return `null`, indicating that no valid value is obtained.
|
String |
getLoraDevEui()
Get DevEUI of a LoRa device
|
Long |
getLoraMoteType()
Get MoteType of a LoRa device
|
String |
getNbiotDeviceID()
Get Device ID at the NB-IoT ISP
|
Long |
getOnline()
Get Whether the device is online.
|
DeviceTag[] |
getTags()
Get Device attribute
|
String |
getVersion()
Get Device version
|
void |
setCertState(Long CertState)
Set Whether the device certificate has been obtained.
|
void |
setClientIP(String ClientIP)
Set IP address of the MQTT client
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setConnIP(Long ConnIP)
Set IP address
|
void |
setCreateTime(Long CreateTime)
Set Device creation time
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setDeviceCert(String DeviceCert)
Set Device certificate, which is returned for devices that use certificates for authentication
|
void |
setDeviceName(String DeviceName)
Set Device name
|
void |
setDevicePsk(String DevicePsk)
Set Device key, which is returned for devices that use keys for authentication
|
void |
setDeviceType(Long DeviceType)
Set Device type
|
void |
setEnableState(Long EnableState)
Set Whether the device is enabled.
|
void |
setFirmwareUpdateTime(Long FirmwareUpdateTime)
Set Time of last OTA update
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setFirstOnlineTime(Long FirstOnlineTime)
Set The first time when the device went online
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setImei(String Imei)
Set International Mobile Equipment Identity (IMEI)
|
void |
setIsp(Long Isp)
Set ISP
|
void |
setLabels(DeviceLabel[] Labels)
Set Device tags
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setLastOfflineTime(Long LastOfflineTime)
Set The last time when the device went offline
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setLastUpdateTime(Long LastUpdateTime)
Set Last updated time of the device
|
void |
setLoginTime(Long LoginTime)
Set Device login time
|
void |
setLogLevel(Long LogLevel)
Set Device log level
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setLoraDevEui(String LoraDevEui)
Set DevEUI of a LoRa device
|
void |
setLoraMoteType(Long LoraMoteType)
Set MoteType of a LoRa device
|
void |
setNbiotDeviceID(String NbiotDeviceID)
Set Device ID at the NB-IoT ISP
|
void |
setOnline(Long Online)
Set Whether the device is online.
|
void |
setTags(DeviceTag[] Tags)
Set Device attribute
|
void |
setVersion(String Version)
Set Device version
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DeviceInfo()
public DeviceInfo(DeviceInfo source)
public String getDeviceName()
public void setDeviceName(String DeviceName)
DeviceName
- Device namepublic Long getOnline()
public void setOnline(Long Online)
Online
- Whether the device is online. `0`: offline; `1`: onlinepublic Long getLoginTime()
public void setLoginTime(Long LoginTime)
LoginTime
- Device login timepublic String getVersion()
public void setVersion(String Version)
Version
- Device versionpublic String getDeviceCert()
public void setDeviceCert(String DeviceCert)
DeviceCert
- Device certificate, which is returned for devices that use certificates for authenticationpublic String getDevicePsk()
public void setDevicePsk(String DevicePsk)
DevicePsk
- Device key, which is returned for devices that use keys for authenticationpublic DeviceTag[] getTags()
public void setTags(DeviceTag[] Tags)
Tags
- Device attributepublic Long getDeviceType()
public void setDeviceType(Long DeviceType)
DeviceType
- Device typepublic String getImei()
public void setImei(String Imei)
Imei
- International Mobile Equipment Identity (IMEI)public Long getIsp()
public void setIsp(Long Isp)
Isp
- ISPpublic String getNbiotDeviceID()
public void setNbiotDeviceID(String NbiotDeviceID)
NbiotDeviceID
- Device ID at the NB-IoT ISPpublic Long getConnIP()
public void setConnIP(Long ConnIP)
ConnIP
- IP addresspublic Long getLastUpdateTime()
public void setLastUpdateTime(Long LastUpdateTime)
LastUpdateTime
- Last updated time of the devicepublic String getLoraDevEui()
public void setLoraDevEui(String LoraDevEui)
LoraDevEui
- DevEUI of a LoRa devicepublic Long getLoraMoteType()
public void setLoraMoteType(Long LoraMoteType)
LoraMoteType
- MoteType of a LoRa devicepublic Long getFirstOnlineTime()
public void setFirstOnlineTime(Long FirstOnlineTime)
FirstOnlineTime
- The first time when the device went online
Note: this field may return `null`, indicating that no valid value is obtained.public Long getLastOfflineTime()
public void setLastOfflineTime(Long LastOfflineTime)
LastOfflineTime
- The last time when the device went offline
Note: this field may return `null`, indicating that no valid value is obtained.public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- Device creation time
Note: this field may return `null`, indicating that no valid value is obtained.public Long getLogLevel()
public void setLogLevel(Long LogLevel)
LogLevel
- Device log level
Note: this field may return `null`, indicating that no valid value is obtained.public Long getCertState()
public void setCertState(Long CertState)
CertState
- Whether the device certificate has been obtained. `0`: no; `1`: yes
Note: this field may return `null`, indicating that no valid value is obtained.public Long getEnableState()
public void setEnableState(Long EnableState)
EnableState
- Whether the device is enabled. `0`: disabled; `1`: enabled
Note: this field may return `null`, indicating that no valid value is obtained.public DeviceLabel[] getLabels()
public void setLabels(DeviceLabel[] Labels)
Labels
- Device tags
Note: this field may return `null`, indicating that no valid value is obtained.public String getClientIP()
public void setClientIP(String ClientIP)
ClientIP
- IP address of the MQTT client
Note: this field may return `null`, indicating that no valid value is obtained.public Long getFirmwareUpdateTime()
public void setFirmwareUpdateTime(Long FirmwareUpdateTime)
FirmwareUpdateTime
- Time of last OTA update
Note: this field may return `null`, indicating that no valid value is obtained.Copyright © 2024. All rights reserved.