Class DescribePrometheusAlertHistoryResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tke.v20180525.models.DescribePrometheusAlertHistoryResponse
-
public class DescribePrometheusAlertHistoryResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribePrometheusAlertHistoryResponse()DescribePrometheusAlertHistoryResponse(DescribePrometheusAlertHistoryResponse 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 PrometheusAlertHistoryItem[]getItems()Get 告警历史StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。LonggetTotal()Get 总数voidsetItems(PrometheusAlertHistoryItem[] Items)Set 告警历史voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetTotal(Long Total)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
-
DescribePrometheusAlertHistoryResponse
public DescribePrometheusAlertHistoryResponse()
-
DescribePrometheusAlertHistoryResponse
public DescribePrometheusAlertHistoryResponse(DescribePrometheusAlertHistoryResponse 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
-
getItems
public PrometheusAlertHistoryItem[] getItems()
Get 告警历史- Returns:
- Items 告警历史
-
setItems
public void setItems(PrometheusAlertHistoryItem[] Items)
Set 告警历史- Parameters:
Items- 告警历史
-
getTotal
public Long getTotal()
Get 总数- Returns:
- Total 总数
-
setTotal
public void setTotal(Long Total)
Set 总数- Parameters:
Total- 总数
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-