
com.aliyun.sdk.service.waf_openapi20211001.models.DescribeSensitiveRequestsResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.waf_openapi20211001.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeSensitiveRequestsResponseBody} extends {@link TeaModel}
*
* DescribeSensitiveRequestsResponseBody
*/
public class DescribeSensitiveRequestsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List < Data> data;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Long totalCount;
private DescribeSensitiveRequestsResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSensitiveRequestsResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Long getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List < Data> data;
private String requestId;
private Long totalCount;
/**
* The tracing results of the data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* The request ID.
*
* example:
* 26E46541-7AAB-5565-801D-F14DBDC5****
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The total number of entries returned.
*
* example:
* 10
*/
public Builder totalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeSensitiveRequestsResponseBody build() {
return new DescribeSensitiveRequestsResponseBody(this);
}
}
/**
*
* {@link DescribeSensitiveRequestsResponseBody} extends {@link TeaModel}
*
* DescribeSensitiveRequestsResponseBody
*/
public static class InfoCount extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
private InfoCount(Builder builder) {
this.code = builder.code;
this.count = builder.count;
}
public static Builder builder() {
return new Builder();
}
public static InfoCount create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
public static final class Builder {
private String code;
private Long count;
/**
* The type of the sensitive data.
*
* example:
* 1001
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* The number of sensitive data entries.
*
* example:
* 23
*/
public Builder count(Long count) {
this.count = count;
return this;
}
public InfoCount build() {
return new InfoCount(this);
}
}
}
/**
*
* {@link DescribeSensitiveRequestsResponseBody} extends {@link TeaModel}
*
* DescribeSensitiveRequestsResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AbnormalCount")
private Long abnormalCount;
@com.aliyun.core.annotation.NameInMap("ApiFormat")
private String apiFormat;
@com.aliyun.core.annotation.NameInMap("ApiId")
private String apiId;
@com.aliyun.core.annotation.NameInMap("ClientIP")
private String clientIP;
@com.aliyun.core.annotation.NameInMap("DetectionResult")
private String detectionResult;
@com.aliyun.core.annotation.NameInMap("EventCount")
private Long eventCount;
@com.aliyun.core.annotation.NameInMap("InfoCount")
private java.util.List < InfoCount> infoCount;
@com.aliyun.core.annotation.NameInMap("MatchedHost")
private String matchedHost;
@com.aliyun.core.annotation.NameInMap("SensitiveList")
private java.util.List < String > sensitiveList;
private Data(Builder builder) {
this.abnormalCount = builder.abnormalCount;
this.apiFormat = builder.apiFormat;
this.apiId = builder.apiId;
this.clientIP = builder.clientIP;
this.detectionResult = builder.detectionResult;
this.eventCount = builder.eventCount;
this.infoCount = builder.infoCount;
this.matchedHost = builder.matchedHost;
this.sensitiveList = builder.sensitiveList;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return abnormalCount
*/
public Long getAbnormalCount() {
return this.abnormalCount;
}
/**
* @return apiFormat
*/
public String getApiFormat() {
return this.apiFormat;
}
/**
* @return apiId
*/
public String getApiId() {
return this.apiId;
}
/**
* @return clientIP
*/
public String getClientIP() {
return this.clientIP;
}
/**
* @return detectionResult
*/
public String getDetectionResult() {
return this.detectionResult;
}
/**
* @return eventCount
*/
public Long getEventCount() {
return this.eventCount;
}
/**
* @return infoCount
*/
public java.util.List < InfoCount> getInfoCount() {
return this.infoCount;
}
/**
* @return matchedHost
*/
public String getMatchedHost() {
return this.matchedHost;
}
/**
* @return sensitiveList
*/
public java.util.List < String > getSensitiveList() {
return this.sensitiveList;
}
public static final class Builder {
private Long abnormalCount;
private String apiFormat;
private String apiId;
private String clientIP;
private String detectionResult;
private Long eventCount;
private java.util.List < InfoCount> infoCount;
private String matchedHost;
private java.util.List < String > sensitiveList;
/**
* The number of risks in the previous 30 days.
*
* example:
* 23
*/
public Builder abnormalCount(Long abnormalCount) {
this.abnormalCount = abnormalCount;
return this;
}
/**
* The API.
*
* example:
* /api/users/login
*/
public Builder apiFormat(String apiFormat) {
this.apiFormat = apiFormat;
return this;
}
/**
* The ID of the API.
*
* example:
* 09559c0d71ca2ffc996b81***836d8
*/
public Builder apiId(String apiId) {
this.apiId = apiId;
return this;
}
/**
* The IP address.
*
* example:
* 103.118.55.**
*/
public Builder clientIP(String clientIP) {
this.clientIP = clientIP;
return this;
}
/**
* The evaluation result. Valid values:
*
* - leak: Data leaks may occur.
* - none: No data leak can occur.
*
*
* example:
* leak
*/
public Builder detectionResult(String detectionResult) {
this.detectionResult = detectionResult;
return this;
}
/**
* The number of events in the previous 30 days.
*
* example:
* 679
*/
public Builder eventCount(Long eventCount) {
this.eventCount = eventCount;
return this;
}
/**
* The statistics of the sensitive data.
*/
public Builder infoCount(java.util.List < InfoCount> infoCount) {
this.infoCount = infoCount;
return this;
}
/**
* The domain name of the API.
*
* example:
* a.****.com
*/
public Builder matchedHost(String matchedHost) {
this.matchedHost = matchedHost;
return this;
}
/**
* The sensitive data.
*/
public Builder sensitiveList(java.util.List < String > sensitiveList) {
this.sensitiveList = sensitiveList;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy