com.aliyun.sas20181203.models.ListVirusScanMachineEventResponseBody 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 ListVirusScanMachineEventResponseBody extends TeaModel {
/**
* The details of the alert event.
*/
@NameInMap("Data")
public java.util.List data;
/**
* The pagination information.
*/
@NameInMap("PageInfo")
public ListVirusScanMachineEventResponseBodyPageInfo pageInfo;
/**
* The request ID.
*
* example:
* 2DAEF40F-8E1A-550D-8793-99C61C401DD0
*/
@NameInMap("RequestId")
public String requestId;
public static ListVirusScanMachineEventResponseBody build(java.util.Map map) throws Exception {
ListVirusScanMachineEventResponseBody self = new ListVirusScanMachineEventResponseBody();
return TeaModel.build(map, self);
}
public ListVirusScanMachineEventResponseBody setData(java.util.List data) {
this.data = data;
return this;
}
public java.util.List getData() {
return this.data;
}
public ListVirusScanMachineEventResponseBody setPageInfo(ListVirusScanMachineEventResponseBodyPageInfo pageInfo) {
this.pageInfo = pageInfo;
return this;
}
public ListVirusScanMachineEventResponseBodyPageInfo getPageInfo() {
return this.pageInfo;
}
public ListVirusScanMachineEventResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class ListVirusScanMachineEventResponseBodyDataDetails extends TeaModel {
/**
* The display type of the value for ValueDisplay. Valid value:
*
* - download_url, which indicates a download URL.
*
*
* example:
* download_url
*/
@NameInMap("InfoType")
public String infoType;
/**
* The display name of the alert event.
*
* example:
* Trojan Path
*/
@NameInMap("NameDisplay")
public String nameDisplay;
/**
* The format in which the details of the exception are displayed.
* Valid values:
*
* - text
* - html
*
*
* example:
* html
*/
@NameInMap("Type")
public String type;
/**
* The attribute information about the exception. The information includes the logon time or location of an alert triggered by an unusual logon, and the trojan file path or trojan type of an alert.
*
* example:
* getopt
*/
@NameInMap("ValueDisplay")
public String valueDisplay;
public static ListVirusScanMachineEventResponseBodyDataDetails build(java.util.Map map) throws Exception {
ListVirusScanMachineEventResponseBodyDataDetails self = new ListVirusScanMachineEventResponseBodyDataDetails();
return TeaModel.build(map, self);
}
public ListVirusScanMachineEventResponseBodyDataDetails setInfoType(String infoType) {
this.infoType = infoType;
return this;
}
public String getInfoType() {
return this.infoType;
}
public ListVirusScanMachineEventResponseBodyDataDetails setNameDisplay(String nameDisplay) {
this.nameDisplay = nameDisplay;
return this;
}
public String getNameDisplay() {
return this.nameDisplay;
}
public ListVirusScanMachineEventResponseBodyDataDetails setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public ListVirusScanMachineEventResponseBodyDataDetails setValueDisplay(String valueDisplay) {
this.valueDisplay = valueDisplay;
return this;
}
public String getValueDisplay() {
return this.valueDisplay;
}
}
public static class ListVirusScanMachineEventResponseBodyData extends TeaModel {
/**
* The details of the exception.
*/
@NameInMap("Details")
public java.util.List details;
/**
* The ID of the alert event.
*
* example:
* 911273
*/
@NameInMap("EventId")
public Long eventId;
/**
* The name of the alert event. The value indicates a subtype.
*
* example:
* Unusual Logon
*/
@NameInMap("EventName")
public String eventName;
/**
* The name of the instance.
*
* example:
* i-wz92q7m5hsbgfhdss***
*/
@NameInMap("InstanceName")
public String instanceName;
/**
* The public IP address.
*
* example:
* 172.16.XX.XX
*/
@NameInMap("InternetIp")
public String internetIp;
/**
* The private IP address.
*
* example:
* 10.42.XX.XX
*/
@NameInMap("IntranetIp")
public String intranetIp;
/**
* The timestamp when the alert event was last generated. Unit: milliseconds.
*
* example:
* 1682046733628
*/
@NameInMap("LastTimeStamp")
public Long lastTimeStamp;
/**
* The risk level of the alert event. Valid values:
*
* - serious
* - suspicious
* - remind
*
*
* example:
* serious
*/
@NameInMap("Level")
public String level;
public static ListVirusScanMachineEventResponseBodyData build(java.util.Map map) throws Exception {
ListVirusScanMachineEventResponseBodyData self = new ListVirusScanMachineEventResponseBodyData();
return TeaModel.build(map, self);
}
public ListVirusScanMachineEventResponseBodyData setDetails(java.util.List details) {
this.details = details;
return this;
}
public java.util.List getDetails() {
return this.details;
}
public ListVirusScanMachineEventResponseBodyData setEventId(Long eventId) {
this.eventId = eventId;
return this;
}
public Long getEventId() {
return this.eventId;
}
public ListVirusScanMachineEventResponseBodyData setEventName(String eventName) {
this.eventName = eventName;
return this;
}
public String getEventName() {
return this.eventName;
}
public ListVirusScanMachineEventResponseBodyData setInstanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
public String getInstanceName() {
return this.instanceName;
}
public ListVirusScanMachineEventResponseBodyData setInternetIp(String internetIp) {
this.internetIp = internetIp;
return this;
}
public String getInternetIp() {
return this.internetIp;
}
public ListVirusScanMachineEventResponseBodyData setIntranetIp(String intranetIp) {
this.intranetIp = intranetIp;
return this;
}
public String getIntranetIp() {
return this.intranetIp;
}
public ListVirusScanMachineEventResponseBodyData setLastTimeStamp(Long lastTimeStamp) {
this.lastTimeStamp = lastTimeStamp;
return this;
}
public Long getLastTimeStamp() {
return this.lastTimeStamp;
}
public ListVirusScanMachineEventResponseBodyData setLevel(String level) {
this.level = level;
return this;
}
public String getLevel() {
return this.level;
}
}
public static class ListVirusScanMachineEventResponseBodyPageInfo extends TeaModel {
/**
* The page number.
*
* example:
* 1
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* The number of entries per page.
*
* example:
* 20
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The total number of entries returned.
*
* example:
* 149
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static ListVirusScanMachineEventResponseBodyPageInfo build(java.util.Map map) throws Exception {
ListVirusScanMachineEventResponseBodyPageInfo self = new ListVirusScanMachineEventResponseBodyPageInfo();
return TeaModel.build(map, self);
}
public ListVirusScanMachineEventResponseBodyPageInfo setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public ListVirusScanMachineEventResponseBodyPageInfo setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public ListVirusScanMachineEventResponseBodyPageInfo setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
}
}