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 |
---|---|
String |
getDeviceName()
Get 设备名
|
String |
getDevicePsk()
Get 设备密钥
|
Long |
getEnableState()
Get 设备启用状态 0为停用 1为可用
|
Long |
getExpireTime()
Get 设备过期时间
|
Long |
getLoginTime()
Get 设备最后上线时间
|
Long |
getLogLevel()
Get 设备的sdk日志等级,0:关闭,1:错误,2:告警,3:信息,4:调试
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getOnline()
Get 设备是否在线,0不在线,1在线,2获取失败,3未激活
|
void |
setDeviceName(String DeviceName)
Set 设备名
|
void |
setDevicePsk(String DevicePsk)
Set 设备密钥
|
void |
setEnableState(Long EnableState)
Set 设备启用状态 0为停用 1为可用
|
void |
setExpireTime(Long ExpireTime)
Set 设备过期时间
|
void |
setLoginTime(Long LoginTime)
Set 设备最后上线时间
|
void |
setLogLevel(Long LogLevel)
Set 设备的sdk日志等级,0:关闭,1:错误,2:告警,3:信息,4:调试
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setOnline(Long Online)
Set 设备是否在线,0不在线,1在线,2获取失败,3未激活
|
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 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在线,2获取失败,3未激活public Long getLoginTime()
public void setLoginTime(Long LoginTime)
LoginTime
- 设备最后上线时间public String getDevicePsk()
public void setDevicePsk(String DevicePsk)
DevicePsk
- 设备密钥public Long getEnableState()
public void setEnableState(Long EnableState)
EnableState
- 设备启用状态 0为停用 1为可用public Long getExpireTime()
public void setExpireTime(Long ExpireTime)
ExpireTime
- 设备过期时间public Long getLogLevel()
public void setLogLevel(Long LogLevel)
LogLevel
- 设备的sdk日志等级,0:关闭,1:错误,2:告警,3:信息,4:调试
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.