com.aliyun.sas20181203.models.ListCheckItemWarningSummaryResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class ListCheckItemWarningSummaryResponseBody extends TeaModel {
/**
* An array that consists of the risk statistics of check items.
*/
@NameInMap("List")
public java.util.List list;
/**
* The pagination information.
*/
@NameInMap("PageInfo")
public ListCheckItemWarningSummaryResponseBodyPageInfo pageInfo;
/**
* The ID of the request, which is used to locate and troubleshoot issues.
*/
@NameInMap("RequestId")
public String requestId;
public static ListCheckItemWarningSummaryResponseBody build(java.util.Map map) throws Exception {
ListCheckItemWarningSummaryResponseBody self = new ListCheckItemWarningSummaryResponseBody();
return TeaModel.build(map, self);
}
public ListCheckItemWarningSummaryResponseBody setList(java.util.List list) {
this.list = list;
return this;
}
public java.util.List getList() {
return this.list;
}
public ListCheckItemWarningSummaryResponseBody setPageInfo(ListCheckItemWarningSummaryResponseBodyPageInfo pageInfo) {
this.pageInfo = pageInfo;
return this;
}
public ListCheckItemWarningSummaryResponseBodyPageInfo getPageInfo() {
return this.pageInfo;
}
public ListCheckItemWarningSummaryResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class ListCheckItemWarningSummaryResponseBodyList extends TeaModel {
/**
* The suggestion on the check item.
*/
@NameInMap("Advice")
public String advice;
/**
* The alias of the baseline type.
*/
@NameInMap("Alias")
public String alias;
/**
* The ID of the check item.
*/
@NameInMap("CheckId")
public Long checkId;
/**
* The description of the check item.
*/
@NameInMap("CheckItem")
public String checkItem;
/**
* The risk level of the check item.Valid values:
* * **high**
* * **medium**
* * **low**
*/
@NameInMap("CheckLevel")
public String checkLevel;
/**
* The type of the check item.
*/
@NameInMap("CheckType")
public String checkType;
@NameInMap("ContainerCheckItem")
public Boolean containerCheckItem;
/**
* The description of the check item.
*/
@NameInMap("Description")
public String description;
/**
* The type of the baseline.
*/
@NameInMap("RiskType")
public String riskType;
/**
* The risk status of the check item.Valid values:
* * **1**: failed
*
* * **3**: passed
*/
@NameInMap("Status")
public Integer status;
/**
* The number of servers that are affected by the check item.
*/
@NameInMap("WarningMachineCount")
public Integer warningMachineCount;
public static ListCheckItemWarningSummaryResponseBodyList build(java.util.Map map) throws Exception {
ListCheckItemWarningSummaryResponseBodyList self = new ListCheckItemWarningSummaryResponseBodyList();
return TeaModel.build(map, self);
}
public ListCheckItemWarningSummaryResponseBodyList setAdvice(String advice) {
this.advice = advice;
return this;
}
public String getAdvice() {
return this.advice;
}
public ListCheckItemWarningSummaryResponseBodyList setAlias(String alias) {
this.alias = alias;
return this;
}
public String getAlias() {
return this.alias;
}
public ListCheckItemWarningSummaryResponseBodyList setCheckId(Long checkId) {
this.checkId = checkId;
return this;
}
public Long getCheckId() {
return this.checkId;
}
public ListCheckItemWarningSummaryResponseBodyList setCheckItem(String checkItem) {
this.checkItem = checkItem;
return this;
}
public String getCheckItem() {
return this.checkItem;
}
public ListCheckItemWarningSummaryResponseBodyList setCheckLevel(String checkLevel) {
this.checkLevel = checkLevel;
return this;
}
public String getCheckLevel() {
return this.checkLevel;
}
public ListCheckItemWarningSummaryResponseBodyList setCheckType(String checkType) {
this.checkType = checkType;
return this;
}
public String getCheckType() {
return this.checkType;
}
public ListCheckItemWarningSummaryResponseBodyList setContainerCheckItem(Boolean containerCheckItem) {
this.containerCheckItem = containerCheckItem;
return this;
}
public Boolean getContainerCheckItem() {
return this.containerCheckItem;
}
public ListCheckItemWarningSummaryResponseBodyList setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public ListCheckItemWarningSummaryResponseBodyList setRiskType(String riskType) {
this.riskType = riskType;
return this;
}
public String getRiskType() {
return this.riskType;
}
public ListCheckItemWarningSummaryResponseBodyList setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public ListCheckItemWarningSummaryResponseBodyList setWarningMachineCount(Integer warningMachineCount) {
this.warningMachineCount = warningMachineCount;
return this;
}
public Integer getWarningMachineCount() {
return this.warningMachineCount;
}
}
public static class ListCheckItemWarningSummaryResponseBodyPageInfo extends TeaModel {
/**
* The number of entries returned on the current page.
*/
@NameInMap("Count")
public Integer count;
/**
* The page number of the returned page.
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* The number of entries returned per page.
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The total number of entries returned.
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static ListCheckItemWarningSummaryResponseBodyPageInfo build(java.util.Map map) throws Exception {
ListCheckItemWarningSummaryResponseBodyPageInfo self = new ListCheckItemWarningSummaryResponseBodyPageInfo();
return TeaModel.build(map, self);
}
public ListCheckItemWarningSummaryResponseBodyPageInfo setCount(Integer count) {
this.count = count;
return this;
}
public Integer getCount() {
return this.count;
}
public ListCheckItemWarningSummaryResponseBodyPageInfo setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public ListCheckItemWarningSummaryResponseBodyPageInfo setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public ListCheckItemWarningSummaryResponseBodyPageInfo setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
}
}