public class DescribeDeviceResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeDeviceResponse() |
DescribeDeviceResponse(DescribeDeviceResponse 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.
|
Long |
getCreateUserId()
Get Account ID of the creator
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getDeviceCert()
Get Device certificate
|
String |
getDeviceName()
Get Device name
|
String |
getDevicePsk()
Get Device key
|
Long |
getDeviceType()
Get Device type
|
Long |
getEnableState()
Get Whether the device is enabled
Note: this field may return `null`, indicating that no valid value is obtained.
|
Long |
getFirmwareUpdateTime()
Get Firmware update time of the device
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 SDK log level of the device
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()
Deprecated.
|
Long |
getOnline()
Get Whether the device is online.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
DeviceTag[] |
getTags()
Get Device attribute
|
String |
getVersion()
Get Device firmware 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 |
setCreateUserId(Long CreateUserId)
Set Account ID of the creator
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setDeviceCert(String DeviceCert)
Set Device certificate
|
void |
setDeviceName(String DeviceName)
Set Device name
|
void |
setDevicePsk(String DevicePsk)
Set Device key
|
void |
setDeviceType(Long DeviceType)
Set Device type
|
void |
setEnableState(Long EnableState)
Set Whether the device is enabled
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setFirmwareUpdateTime(Long FirmwareUpdateTime)
Set Firmware update time of the device
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 SDK log level of the device
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)
Deprecated.
|
void |
setOnline(Long Online)
Set Whether the device is online.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setTags(DeviceTag[] Tags)
Set Device attribute
|
void |
setVersion(String Version)
Set Device firmware version
|
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, toJsonString
public DescribeDeviceResponse()
public DescribeDeviceResponse(DescribeDeviceResponse 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 firmware versionpublic Long getLastUpdateTime()
public void setLastUpdateTime(Long LastUpdateTime)
LastUpdateTime
- Last updated time of the devicepublic String getDeviceCert()
public void setDeviceCert(String DeviceCert)
DeviceCert
- Device certificatepublic String getDevicePsk()
public void setDevicePsk(String DevicePsk)
DevicePsk
- Device keypublic 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 Long getConnIP()
public void setConnIP(Long ConnIP)
ConnIP
- IP address@Deprecated public String getNbiotDeviceID()
@Deprecated public void setNbiotDeviceID(String NbiotDeviceID)
NbiotDeviceID
- Device ID at the NB-IoT ISPpublic 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 getLogLevel()
public void setLogLevel(Long LogLevel)
LogLevel
- SDK log level of the device
Note: this field may return `null`, indicating that no valid value is obtained.public 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 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
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
- Firmware update time of the device
Note: this field may return `null`, indicating that no valid value is obtained.public Long getCreateUserId()
public void setCreateUserId(Long CreateUserId)
CreateUserId
- Account ID of the creator
Note: this field may return `null`, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.