com.aliyun.sas20181203.models.DescribeGroupedMaliciousFilesResponseBody 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 DescribeGroupedMaliciousFilesResponseBody extends TeaModel {
/**
* The details of the malicious image sample.
*/
@NameInMap("GroupedMaliciousFileResponse")
public java.util.List groupedMaliciousFileResponse;
/**
* The pagination information.
*/
@NameInMap("PageInfo")
public DescribeGroupedMaliciousFilesResponseBodyPageInfo pageInfo;
/**
* The ID of the request, which is used to locate and troubleshoot issues.
*
* example:
* 8045E03E-6D91-4C53-9F22-5A1B84BB29D9
*/
@NameInMap("RequestId")
public String requestId;
public static DescribeGroupedMaliciousFilesResponseBody build(java.util.Map map) throws Exception {
DescribeGroupedMaliciousFilesResponseBody self = new DescribeGroupedMaliciousFilesResponseBody();
return TeaModel.build(map, self);
}
public DescribeGroupedMaliciousFilesResponseBody setGroupedMaliciousFileResponse(java.util.List groupedMaliciousFileResponse) {
this.groupedMaliciousFileResponse = groupedMaliciousFileResponse;
return this;
}
public java.util.List getGroupedMaliciousFileResponse() {
return this.groupedMaliciousFileResponse;
}
public DescribeGroupedMaliciousFilesResponseBody setPageInfo(DescribeGroupedMaliciousFilesResponseBodyPageInfo pageInfo) {
this.pageInfo = pageInfo;
return this;
}
public DescribeGroupedMaliciousFilesResponseBodyPageInfo getPageInfo() {
return this.pageInfo;
}
public DescribeGroupedMaliciousFilesResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse extends TeaModel {
/**
* The timestamp generated when the first scan was performed. Unit: milliseconds.
*
* example:
* 1594907349000
*/
@NameInMap("FirstScanTimestamp")
public Long firstScanTimestamp;
/**
* The number of affected images.
*
* example:
* 3
*/
@NameInMap("ImageCount")
public Long imageCount;
/**
* The timestamp generated when the last scan was performed. Unit: milliseconds.
*
* example:
* 1596533942000
*/
@NameInMap("LatestScanTimestamp")
public Long latestScanTimestamp;
/**
* The severity of the malicious image sample. Valid values:
*
* - serious
* - suspicious
* - remind
*
*
* example:
* serious
*/
@NameInMap("Level")
public String level;
/**
* The keyword of the malicious image sample.
*
* example:
* WEBSHELL_IMG
*/
@NameInMap("MaliciousKey")
public String maliciousKey;
/**
* The MD5 hash value of the malicious image sample.
*
* example:
* d836968041f7683b5459****
*/
@NameInMap("MaliciousMd5")
public String maliciousMd5;
/**
* The name of the malicious image sample.
*
* example:
* testFile
*/
@NameInMap("MaliciousName")
public String maliciousName;
/**
* The handling status of the malicious image sample. Valid values:
*
* - 0: unhandled
* - 1: handled
* - 2: verifying
* - 3: whitelisted
*
*
* example:
* 0
*/
@NameInMap("Status")
public Integer status;
public static DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse build(java.util.Map map) throws Exception {
DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse self = new DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse();
return TeaModel.build(map, self);
}
public DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse setFirstScanTimestamp(Long firstScanTimestamp) {
this.firstScanTimestamp = firstScanTimestamp;
return this;
}
public Long getFirstScanTimestamp() {
return this.firstScanTimestamp;
}
public DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse setImageCount(Long imageCount) {
this.imageCount = imageCount;
return this;
}
public Long getImageCount() {
return this.imageCount;
}
public DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse setLatestScanTimestamp(Long latestScanTimestamp) {
this.latestScanTimestamp = latestScanTimestamp;
return this;
}
public Long getLatestScanTimestamp() {
return this.latestScanTimestamp;
}
public DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse setLevel(String level) {
this.level = level;
return this;
}
public String getLevel() {
return this.level;
}
public DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse setMaliciousKey(String maliciousKey) {
this.maliciousKey = maliciousKey;
return this;
}
public String getMaliciousKey() {
return this.maliciousKey;
}
public DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse setMaliciousMd5(String maliciousMd5) {
this.maliciousMd5 = maliciousMd5;
return this;
}
public String getMaliciousMd5() {
return this.maliciousMd5;
}
public DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse setMaliciousName(String maliciousName) {
this.maliciousName = maliciousName;
return this;
}
public String getMaliciousName() {
return this.maliciousName;
}
public DescribeGroupedMaliciousFilesResponseBodyGroupedMaliciousFileResponse setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
}
public static class DescribeGroupedMaliciousFilesResponseBodyPageInfo extends TeaModel {
/**
* The number of entries returned on the current page.
*
* example:
* 2
*/
@NameInMap("Count")
public Integer count;
/**
* The page number of the returned page.
*
* example:
* 1
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* The number of entries returned per page. Default value: 20.
*
* example:
* 20
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The total number of entries returned.
*
* example:
* 2
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static DescribeGroupedMaliciousFilesResponseBodyPageInfo build(java.util.Map map) throws Exception {
DescribeGroupedMaliciousFilesResponseBodyPageInfo self = new DescribeGroupedMaliciousFilesResponseBodyPageInfo();
return TeaModel.build(map, self);
}
public DescribeGroupedMaliciousFilesResponseBodyPageInfo setCount(Integer count) {
this.count = count;
return this;
}
public Integer getCount() {
return this.count;
}
public DescribeGroupedMaliciousFilesResponseBodyPageInfo setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public DescribeGroupedMaliciousFilesResponseBodyPageInfo setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public DescribeGroupedMaliciousFilesResponseBodyPageInfo setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
}
}