Class DeviceLogEntry
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iot.v20180123.models.DeviceLogEntry
-
public class DeviceLogEntry extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DeviceLogEntry()DeviceLogEntry(DeviceLogEntry 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Get 状态码StringgetDeviceName()Get 设备名称StringgetId()Get 日志idStringgetMethod()Get 设备动作StringgetMsg()Get 日志内容LonggetTimestamp()Get 时间戳voidsetCode(String Code)Set 状态码voidsetDeviceName(String DeviceName)Set 设备名称voidsetId(String Id)Set 日志idvoidsetMethod(String Method)Set 设备动作voidsetMsg(String Msg)Set 日志内容voidsetTimestamp(Long Timestamp)Set 时间戳voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DeviceLogEntry
public DeviceLogEntry()
-
DeviceLogEntry
public DeviceLogEntry(DeviceLogEntry 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.
-
-
Method Detail
-
getId
public String getId()
Get 日志id- Returns:
- Id 日志id
-
setId
public void setId(String Id)
Set 日志id- Parameters:
Id- 日志id
-
getMsg
public String getMsg()
Get 日志内容- Returns:
- Msg 日志内容
-
setMsg
public void setMsg(String Msg)
Set 日志内容- Parameters:
Msg- 日志内容
-
getCode
public String getCode()
Get 状态码- Returns:
- Code 状态码
-
setCode
public void setCode(String Code)
Set 状态码- Parameters:
Code- 状态码
-
getTimestamp
public Long getTimestamp()
Get 时间戳- Returns:
- Timestamp 时间戳
-
setTimestamp
public void setTimestamp(Long Timestamp)
Set 时间戳- Parameters:
Timestamp- 时间戳
-
getDeviceName
public String getDeviceName()
Get 设备名称- Returns:
- DeviceName 设备名称
-
setDeviceName
public void setDeviceName(String DeviceName)
Set 设备名称- Parameters:
DeviceName- 设备名称
-
getMethod
public String getMethod()
Get 设备动作- Returns:
- Method 设备动作
-
setMethod
public void setMethod(String Method)
Set 设备动作- Parameters:
Method- 设备动作
-
-