Class DescribeAlertRecordHistoryRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.DescribeAlertRecordHistoryRequest
-
public class DescribeAlertRecordHistoryRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeAlertRecordHistoryRequest()DescribeAlertRecordHistoryRequest(DescribeAlertRecordHistoryRequest 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 Filter[]getFilters()Get - alertId:按照告警策略ID进行过滤。类型:String 必选:否 - topicId:按照监控对象ID进行过滤。类型:String 必选:否 - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效 - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急 每次请求的Filters的上限为10,Filter.Values的上限为100。LonggetFrom()Get 查询时间范围启始时间,毫秒级unix时间戳LonggetLimit()Get 分页单页限制数目,最大值100。LonggetOffset()Get 分页的偏移量,默认值为0。LonggetTo()Get 查询时间范围结束时间,毫秒级unix时间戳voidsetFilters(Filter[] Filters)Set - alertId:按照告警策略ID进行过滤。类型:String 必选:否 - topicId:按照监控对象ID进行过滤。类型:String 必选:否 - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效 - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急 每次请求的Filters的上限为10,Filter.Values的上限为100。voidsetFrom(Long From)Set 查询时间范围启始时间,毫秒级unix时间戳voidsetLimit(Long Limit)Set 分页单页限制数目,最大值100。voidsetOffset(Long Offset)Set 分页的偏移量,默认值为0。voidsetTo(Long To)Set 查询时间范围结束时间,毫秒级unix时间戳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
-
DescribeAlertRecordHistoryRequest
public DescribeAlertRecordHistoryRequest()
-
DescribeAlertRecordHistoryRequest
public DescribeAlertRecordHistoryRequest(DescribeAlertRecordHistoryRequest 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
-
getFrom
public Long getFrom()
Get 查询时间范围启始时间,毫秒级unix时间戳- Returns:
- From 查询时间范围启始时间,毫秒级unix时间戳
-
setFrom
public void setFrom(Long From)
Set 查询时间范围启始时间,毫秒级unix时间戳- Parameters:
From- 查询时间范围启始时间,毫秒级unix时间戳
-
getTo
public Long getTo()
Get 查询时间范围结束时间,毫秒级unix时间戳- Returns:
- To 查询时间范围结束时间,毫秒级unix时间戳
-
setTo
public void setTo(Long To)
Set 查询时间范围结束时间,毫秒级unix时间戳- Parameters:
To- 查询时间范围结束时间,毫秒级unix时间戳
-
getOffset
public Long getOffset()
Get 分页的偏移量,默认值为0。- Returns:
- Offset 分页的偏移量,默认值为0。
-
setOffset
public void setOffset(Long Offset)
Set 分页的偏移量,默认值为0。- Parameters:
Offset- 分页的偏移量,默认值为0。
-
getLimit
public Long getLimit()
Get 分页单页限制数目,最大值100。- Returns:
- Limit 分页单页限制数目,最大值100。
-
setLimit
public void setLimit(Long Limit)
Set 分页单页限制数目,最大值100。- Parameters:
Limit- 分页单页限制数目,最大值100。
-
getFilters
public Filter[] getFilters()
Get - alertId:按照告警策略ID进行过滤。类型:String 必选:否 - topicId:按照监控对象ID进行过滤。类型:String 必选:否 - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效 - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急 每次请求的Filters的上限为10,Filter.Values的上限为100。- Returns:
- Filters - alertId:按照告警策略ID进行过滤。类型:String 必选:否 - topicId:按照监控对象ID进行过滤。类型:String 必选:否 - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效 - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急 每次请求的Filters的上限为10,Filter.Values的上限为100。
-
setFilters
public void setFilters(Filter[] Filters)
Set - alertId:按照告警策略ID进行过滤。类型:String 必选:否 - topicId:按照监控对象ID进行过滤。类型:String 必选:否 - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效 - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急 每次请求的Filters的上限为10,Filter.Values的上限为100。- Parameters:
Filters- - alertId:按照告警策略ID进行过滤。类型:String 必选:否 - topicId:按照监控对象ID进行过滤。类型:String 必选:否 - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效 - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急 每次请求的Filters的上限为10,Filter.Values的上限为100。
-
-