com.aliyun.sas20181203.models.ListCheckItemWarningMachineResponseBody Maven / Gradle / Ivy
Show all versions of sas20181203 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class ListCheckItemWarningMachineResponseBody extends TeaModel {
/**
* An array consisting of the servers on which the alerts are generated.
*/
@NameInMap("List")
public java.util.List list;
/**
* The pagination information.
*/
@NameInMap("PageInfo")
public ListCheckItemWarningMachineResponseBodyPageInfo pageInfo;
/**
* The ID of the request, which is used to locate and troubleshoot issues.
*/
@NameInMap("RequestId")
public String requestId;
public static ListCheckItemWarningMachineResponseBody build(java.util.Map map) throws Exception {
ListCheckItemWarningMachineResponseBody self = new ListCheckItemWarningMachineResponseBody();
return TeaModel.build(map, self);
}
public ListCheckItemWarningMachineResponseBody setList(java.util.List list) {
this.list = list;
return this;
}
public java.util.List getList() {
return this.list;
}
public ListCheckItemWarningMachineResponseBody setPageInfo(ListCheckItemWarningMachineResponseBodyPageInfo pageInfo) {
this.pageInfo = pageInfo;
return this;
}
public ListCheckItemWarningMachineResponseBodyPageInfo getPageInfo() {
return this.pageInfo;
}
public ListCheckItemWarningMachineResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class ListCheckItemWarningMachineResponseBodyListFixList extends TeaModel {
/**
* The ID of the baseline.
*/
@NameInMap("RiskId")
public Long riskId;
/**
* The name of the baseline.
*/
@NameInMap("RiskName")
public String riskName;
public static ListCheckItemWarningMachineResponseBodyListFixList build(java.util.Map map) throws Exception {
ListCheckItemWarningMachineResponseBodyListFixList self = new ListCheckItemWarningMachineResponseBodyListFixList();
return TeaModel.build(map, self);
}
public ListCheckItemWarningMachineResponseBodyListFixList setRiskId(Long riskId) {
this.riskId = riskId;
return this;
}
public Long getRiskId() {
return this.riskId;
}
public ListCheckItemWarningMachineResponseBodyListFixList setRiskName(String riskName) {
this.riskName = riskName;
return this;
}
public String getRiskName() {
return this.riskName;
}
}
public static class ListCheckItemWarningMachineResponseBodyListWarningRiskList extends TeaModel {
/**
* The ID of the baseline.
*/
@NameInMap("RiskId")
public Long riskId;
/**
* The name of the baseline.
*/
@NameInMap("RiskName")
public String riskName;
public static ListCheckItemWarningMachineResponseBodyListWarningRiskList build(java.util.Map map) throws Exception {
ListCheckItemWarningMachineResponseBodyListWarningRiskList self = new ListCheckItemWarningMachineResponseBodyListWarningRiskList();
return TeaModel.build(map, self);
}
public ListCheckItemWarningMachineResponseBodyListWarningRiskList setRiskId(Long riskId) {
this.riskId = riskId;
return this;
}
public Long getRiskId() {
return this.riskId;
}
public ListCheckItemWarningMachineResponseBodyListWarningRiskList setRiskName(String riskName) {
this.riskName = riskName;
return this;
}
public String getRiskName() {
return this.riskName;
}
}
public static class ListCheckItemWarningMachineResponseBodyList extends TeaModel {
/**
* The edition of Security Center that is authorized to protect the asset. Valid values:
*
* * **1**: Basic edition (Unauthorized)
* * **6**: Anti-virus edition
* * **5**: Advanced edition
* * **3**: Enterprise edition
* * **7**: Ultimate edition
* * **10**: Value-added Plan edition
*/
@NameInMap("AuthVersion")
public Integer authVersion;
/**
* Indicates whether Security Center is authorized to scan the asset. Valid values:
*
* * **true**: Security Center is authorized to scan the asset.
* * **false**: Security Center is not authorized to scan the asset.
*/
@NameInMap("Bind")
public Boolean bind;
@NameInMap("ContainerId")
public String containerId;
@NameInMap("ContainerName")
public String containerName;
/**
* An array consisting of the details about the baselines for which the risk item can be fixed.
*/
@NameInMap("FixList")
public java.util.List fixList;
/**
* The ID of the server.
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* The name of the server.
*/
@NameInMap("InstanceName")
public String instanceName;
/**
* The public IP address of the affected asset.
*/
@NameInMap("InternetIp")
public String internetIp;
/**
* The private IP address of the affected asset.
*/
@NameInMap("IntranetIp")
public String intranetIp;
/**
* Indicates whether a port on the server is accessible over the Internet. Valid values:
*
* * **true**: A port on the server is accessible over the Internet.
* * **false**: No ports on the server are accessible over the Internet.
*/
@NameInMap("PortOpen")
public Boolean portOpen;
/**
* The prompt for the risk item.
*/
@NameInMap("Prompt")
public String prompt;
/**
* The region ID of the asset.
*/
@NameInMap("RegionId")
public String regionId;
/**
* The status of the check item.
*
* > Valid values:
*
* * 1: failed
*
* * 2: verifying
*
* * 3: passed
*
* * 6: ignored
*
* * 7: fixing
*/
@NameInMap("Status")
public Integer status;
/**
* The UUID of the server.
*/
@NameInMap("Uuid")
public String uuid;
/**
* An array consisting of the details about the baselines based on which the risk item is detected.
*/
@NameInMap("WarningRiskList")
public java.util.List warningRiskList;
public static ListCheckItemWarningMachineResponseBodyList build(java.util.Map map) throws Exception {
ListCheckItemWarningMachineResponseBodyList self = new ListCheckItemWarningMachineResponseBodyList();
return TeaModel.build(map, self);
}
public ListCheckItemWarningMachineResponseBodyList setAuthVersion(Integer authVersion) {
this.authVersion = authVersion;
return this;
}
public Integer getAuthVersion() {
return this.authVersion;
}
public ListCheckItemWarningMachineResponseBodyList setBind(Boolean bind) {
this.bind = bind;
return this;
}
public Boolean getBind() {
return this.bind;
}
public ListCheckItemWarningMachineResponseBodyList setContainerId(String containerId) {
this.containerId = containerId;
return this;
}
public String getContainerId() {
return this.containerId;
}
public ListCheckItemWarningMachineResponseBodyList setContainerName(String containerName) {
this.containerName = containerName;
return this;
}
public String getContainerName() {
return this.containerName;
}
public ListCheckItemWarningMachineResponseBodyList setFixList(java.util.List fixList) {
this.fixList = fixList;
return this;
}
public java.util.List getFixList() {
return this.fixList;
}
public ListCheckItemWarningMachineResponseBodyList setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public ListCheckItemWarningMachineResponseBodyList setInstanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
public String getInstanceName() {
return this.instanceName;
}
public ListCheckItemWarningMachineResponseBodyList setInternetIp(String internetIp) {
this.internetIp = internetIp;
return this;
}
public String getInternetIp() {
return this.internetIp;
}
public ListCheckItemWarningMachineResponseBodyList setIntranetIp(String intranetIp) {
this.intranetIp = intranetIp;
return this;
}
public String getIntranetIp() {
return this.intranetIp;
}
public ListCheckItemWarningMachineResponseBodyList setPortOpen(Boolean portOpen) {
this.portOpen = portOpen;
return this;
}
public Boolean getPortOpen() {
return this.portOpen;
}
public ListCheckItemWarningMachineResponseBodyList setPrompt(String prompt) {
this.prompt = prompt;
return this;
}
public String getPrompt() {
return this.prompt;
}
public ListCheckItemWarningMachineResponseBodyList setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public ListCheckItemWarningMachineResponseBodyList setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public ListCheckItemWarningMachineResponseBodyList setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
public ListCheckItemWarningMachineResponseBodyList setWarningRiskList(java.util.List warningRiskList) {
this.warningRiskList = warningRiskList;
return this;
}
public java.util.List getWarningRiskList() {
return this.warningRiskList;
}
}
public static class ListCheckItemWarningMachineResponseBodyPageInfo extends TeaModel {
/**
* The number of affected assets 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 affected assets.
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static ListCheckItemWarningMachineResponseBodyPageInfo build(java.util.Map map) throws Exception {
ListCheckItemWarningMachineResponseBodyPageInfo self = new ListCheckItemWarningMachineResponseBodyPageInfo();
return TeaModel.build(map, self);
}
public ListCheckItemWarningMachineResponseBodyPageInfo setCount(Integer count) {
this.count = count;
return this;
}
public Integer getCount() {
return this.count;
}
public ListCheckItemWarningMachineResponseBodyPageInfo setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public ListCheckItemWarningMachineResponseBodyPageInfo setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public ListCheckItemWarningMachineResponseBodyPageInfo setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
}
}