Class DescribeDeviceEventHistoryRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iotvideo.v20201215.models.DescribeDeviceEventHistoryRequest
-
public class DescribeDeviceEventHistoryRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContext()Get 搜索上下文, 用作查询游标StringgetDeviceName()Get 设备名称LonggetEndTime()Get 结束时间(Unix 时间戳,秒级), 为0 表示当前时间StringgetEventId()Get 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。StringgetProductId()Get 产品IDLonggetSize()Get 单次获取的历史数据项目的最大数量, 缺省10LonggetStartTime()Get 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24hStringgetType()Get 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件voidsetContext(String Context)Set 搜索上下文, 用作查询游标voidsetDeviceName(String DeviceName)Set 设备名称voidsetEndTime(Long EndTime)Set 结束时间(Unix 时间戳,秒级), 为0 表示当前时间voidsetEventId(String EventId)Set 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。voidsetProductId(String ProductId)Set 产品IDvoidsetSize(Long Size)Set 单次获取的历史数据项目的最大数量, 缺省10voidsetStartTime(Long StartTime)Set 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24hvoidsetType(String Type)Set 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件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
-
DescribeDeviceEventHistoryRequest
public DescribeDeviceEventHistoryRequest()
-
DescribeDeviceEventHistoryRequest
public 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.
-
-
Method Detail
-
getProductId
public String getProductId()
Get 产品ID- Returns:
- ProductId 产品ID
-
setProductId
public void setProductId(String ProductId)
Set 产品ID- Parameters:
ProductId- 产品ID
-
getDeviceName
public String getDeviceName()
Get 设备名称- Returns:
- DeviceName 设备名称
-
setDeviceName
public void setDeviceName(String DeviceName)
Set 设备名称- Parameters:
DeviceName- 设备名称
-
getType
public String getType()
Get 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件- Returns:
- Type 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件
-
setType
public void setType(String Type)
Set 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件- Parameters:
Type- 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件
-
getStartTime
public Long getStartTime()
Get 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h- Returns:
- StartTime 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
-
setStartTime
public void setStartTime(Long StartTime)
Set 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h- Parameters:
StartTime- 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
-
getEndTime
public Long getEndTime()
Get 结束时间(Unix 时间戳,秒级), 为0 表示当前时间- Returns:
- EndTime 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
-
setEndTime
public void setEndTime(Long EndTime)
Set 结束时间(Unix 时间戳,秒级), 为0 表示当前时间- Parameters:
EndTime- 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
-
getContext
public String getContext()
Get 搜索上下文, 用作查询游标- Returns:
- Context 搜索上下文, 用作查询游标
-
setContext
public void setContext(String Context)
Set 搜索上下文, 用作查询游标- Parameters:
Context- 搜索上下文, 用作查询游标
-
getSize
public Long getSize()
Get 单次获取的历史数据项目的最大数量, 缺省10- Returns:
- Size 单次获取的历史数据项目的最大数量, 缺省10
-
setSize
public void setSize(Long Size)
Set 单次获取的历史数据项目的最大数量, 缺省10- Parameters:
Size- 单次获取的历史数据项目的最大数量, 缺省10
-
getEventId
public String getEventId()
Get 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。- Returns:
- EventId 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
-
setEventId
public void setEventId(String EventId)
Set 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。- Parameters:
EventId- 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
-
-