public class DescribeDeviceResponse extends AbstractModel
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 |
---|---|
String |
getDeviceName()
Get 设备名
|
String |
getDevicePsk()
Get 设备密钥
|
Long |
getEnableState()
Get 设备启用状态
|
Long |
getExpireTime()
Get 设备过期时间
|
Long |
getLoginTime()
Get 设备最后上线时间
|
Long |
getLogLevel()
Get 设备的sdk日志等级,0:关闭,1:错误,2:告警,3:信息,4:调试
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getOnline()
Get 设备是否在线,0不在线,1在线,2获取失败,3未激活
|
String |
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
void |
setDeviceName(String DeviceName)
Set 设备名
|
void |
setDevicePsk(String DevicePsk)
Set 设备密钥
|
void |
setEnableState(Long EnableState)
Set 设备启用状态
|
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 |
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
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 DescribeDeviceResponse()
public DescribeDeviceResponse(DescribeDeviceResponse 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
- 设备启用状态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,表示取不到有效值。public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Copyright © 2021. All rights reserved.