public class DescribeDeviceEventHistoryRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeDeviceEventHistoryRequest() | 
| DescribeDeviceEventHistoryRequest(DescribeDeviceEventHistoryRequest 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 | getContext()Get 搜索上下文, 用作查询游标 | 
| String | getDeviceName()Get 设备名称 | 
| Long | getEndTime()Get 结束时间(Unix 时间戳,秒级), 为0 表示当前时间 | 
| String | getEventId()Get 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。 | 
| String | getProductId()Get 产品ID | 
| Long | getSize()Get 单次获取的历史数据项目的最大数量, 缺省10 | 
| Long | getStartTime()Get 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h | 
| String | getType()Get 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件 | 
| void | setContext(String Context)Set 搜索上下文, 用作查询游标 | 
| void | setDeviceName(String DeviceName)Set 设备名称 | 
| void | setEndTime(Long EndTime)Set 结束时间(Unix 时间戳,秒级), 为0 表示当前时间 | 
| void | setEventId(String EventId)Set 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。 | 
| void | setProductId(String ProductId)Set 产品ID | 
| void | setSize(Long Size)Set 单次获取的历史数据项目的最大数量, 缺省10 | 
| void | setStartTime(Long StartTime)Set 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h | 
| void | setType(String Type)Set 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件 | 
| 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, toJsonStringpublic DescribeDeviceEventHistoryRequest()
public DescribeDeviceEventHistoryRequest(DescribeDeviceEventHistoryRequest source)
public String getProductId()
public void setProductId(String ProductId)
ProductId - 产品IDpublic String getDeviceName()
public void setDeviceName(String DeviceName)
DeviceName - 设备名称public String getType()
public void setType(String Type)
Type - 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24hpublic Long getEndTime()
public void setEndTime(Long EndTime)
EndTime - 结束时间(Unix 时间戳,秒级), 为0 表示当前时间public String getContext()
public void setContext(String Context)
Context - 搜索上下文, 用作查询游标public Long getSize()
public void setSize(Long Size)
Size - 单次获取的历史数据项目的最大数量, 缺省10public String getEventId()
public void setEventId(String EventId)
EventId - 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。Copyright © 2025. All rights reserved.