public class DeviceInfo extends AbstractModel
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 设备证书获取状态, 1 已获取过设备密钥,0 未获取过设备密钥
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getClientIP()
Get MQTT客户端IP地址
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getConnIP()
Get IP地址
|
Long |
getCreateTime()
Get 设备创建时间
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getDeviceCert()
Get 设备证书,证书加密的设备返回
|
String |
getDeviceName()
Get 设备名
|
String |
getDevicePsk()
Get 设备密钥,密钥加密的设备返回
|
Long |
getDeviceType()
Get 设备类型
|
Long |
getEnableState()
Get 设备可用状态,0禁用,1启用
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getFirmwareUpdateTime()
Get ota最后更新时间
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getFirstOnlineTime()
Get 首次上线时间
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getImei()
Get 国际移动设备识别码 IMEI
|
Long |
getIsp()
Get 运营商类型
|
DeviceLabel[] |
getLabels()
Get 设备标签
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getLastOfflineTime()
Get 最近下线时间
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getLastUpdateTime()
Get 设备最后更新时间
|
Long |
getLoginTime()
Get 设备登录时间
|
Long |
getLogLevel()
Get 设备日志级别
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getLoraDevEui()
Get LoRa设备的dev eui
|
Long |
getLoraMoteType()
Get LoRa设备的Mote type
|
String |
getNbiotDeviceID()
Get NB IOT运营商处的DeviceID
|
Long |
getOnline()
Get 设备是否在线,0不在线,1在线
|
DeviceTag[] |
getTags()
Get 设备属性
|
String |
getVersion()
Get 设备版本
|
void |
setCertState(Long CertState)
Set 设备证书获取状态, 1 已获取过设备密钥,0 未获取过设备密钥
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setClientIP(String ClientIP)
Set MQTT客户端IP地址
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setConnIP(Long ConnIP)
Set IP地址
|
void |
setCreateTime(Long CreateTime)
Set 设备创建时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDeviceCert(String DeviceCert)
Set 设备证书,证书加密的设备返回
|
void |
setDeviceName(String DeviceName)
Set 设备名
|
void |
setDevicePsk(String DevicePsk)
Set 设备密钥,密钥加密的设备返回
|
void |
setDeviceType(Long DeviceType)
Set 设备类型
|
void |
setEnableState(Long EnableState)
Set 设备可用状态,0禁用,1启用
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFirmwareUpdateTime(Long FirmwareUpdateTime)
Set ota最后更新时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFirstOnlineTime(Long FirstOnlineTime)
Set 首次上线时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setImei(String Imei)
Set 国际移动设备识别码 IMEI
|
void |
setIsp(Long Isp)
Set 运营商类型
|
void |
setLabels(DeviceLabel[] Labels)
Set 设备标签
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLastOfflineTime(Long LastOfflineTime)
Set 最近下线时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLastUpdateTime(Long LastUpdateTime)
Set 设备最后更新时间
|
void |
setLoginTime(Long LoginTime)
Set 设备登录时间
|
void |
setLogLevel(Long LogLevel)
Set 设备日志级别
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLoraDevEui(String LoraDevEui)
Set LoRa设备的dev eui
|
void |
setLoraMoteType(Long LoraMoteType)
Set LoRa设备的Mote type
|
void |
setNbiotDeviceID(String NbiotDeviceID)
Set NB IOT运营商处的DeviceID
|
void |
setOnline(Long Online)
Set 设备是否在线,0不在线,1在线
|
void |
setTags(DeviceTag[] Tags)
Set 设备属性
|
void |
setVersion(String Version)
Set 设备版本
|
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 DeviceInfo()
public DeviceInfo(DeviceInfo source)
public String getDeviceName()
public void setDeviceName(String DeviceName)
DeviceName
- 设备名public Long getOnline()
public void setOnline(Long Online)
Online
- 设备是否在线,0不在线,1在线public Long getLoginTime()
public void setLoginTime(Long LoginTime)
LoginTime
- 设备登录时间public String getVersion()
public void setVersion(String Version)
Version
- 设备版本public String getDeviceCert()
public void setDeviceCert(String DeviceCert)
DeviceCert
- 设备证书,证书加密的设备返回public String getDevicePsk()
public void setDevicePsk(String DevicePsk)
DevicePsk
- 设备密钥,密钥加密的设备返回public DeviceTag[] getTags()
public void setTags(DeviceTag[] Tags)
Tags
- 设备属性public Long getDeviceType()
public void setDeviceType(Long DeviceType)
DeviceType
- 设备类型public String getImei()
public void setImei(String Imei)
Imei
- 国际移动设备识别码 IMEIpublic Long getIsp()
public void setIsp(Long Isp)
Isp
- 运营商类型public String getNbiotDeviceID()
public void setNbiotDeviceID(String NbiotDeviceID)
NbiotDeviceID
- NB IOT运营商处的DeviceIDpublic Long getConnIP()
public void setConnIP(Long ConnIP)
ConnIP
- IP地址public Long getLastUpdateTime()
public void setLastUpdateTime(Long LastUpdateTime)
LastUpdateTime
- 设备最后更新时间public String getLoraDevEui()
public void setLoraDevEui(String LoraDevEui)
LoraDevEui
- LoRa设备的dev euipublic Long getLoraMoteType()
public void setLoraMoteType(Long LoraMoteType)
LoraMoteType
- LoRa设备的Mote typepublic Long getFirstOnlineTime()
public void setFirstOnlineTime(Long FirstOnlineTime)
FirstOnlineTime
- 首次上线时间
注意:此字段可能返回 null,表示取不到有效值。public Long getLastOfflineTime()
public void setLastOfflineTime(Long LastOfflineTime)
LastOfflineTime
- 最近下线时间
注意:此字段可能返回 null,表示取不到有效值。public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- 设备创建时间
注意:此字段可能返回 null,表示取不到有效值。public Long getLogLevel()
public void setLogLevel(Long LogLevel)
LogLevel
- 设备日志级别
注意:此字段可能返回 null,表示取不到有效值。public Long getCertState()
public void setCertState(Long CertState)
CertState
- 设备证书获取状态, 1 已获取过设备密钥,0 未获取过设备密钥
注意:此字段可能返回 null,表示取不到有效值。public Long getEnableState()
public void setEnableState(Long EnableState)
EnableState
- 设备可用状态,0禁用,1启用
注意:此字段可能返回 null,表示取不到有效值。public DeviceLabel[] getLabels()
public void setLabels(DeviceLabel[] Labels)
Labels
- 设备标签
注意:此字段可能返回 null,表示取不到有效值。public String getClientIP()
public void setClientIP(String ClientIP)
ClientIP
- MQTT客户端IP地址
注意:此字段可能返回 null,表示取不到有效值。public Long getFirmwareUpdateTime()
public void setFirmwareUpdateTime(Long FirmwareUpdateTime)
FirmwareUpdateTime
- ota最后更新时间
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.