
com.aliyun.sdk.service.waf_openapi20211001.models.DescribeSensitiveApiStatisticResponseBody 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 DescribeSensitiveApiStatisticResponseBody} extends {@link TeaModel}
*
* DescribeSensitiveApiStatisticResponseBody
*/
public class DescribeSensitiveApiStatisticResponseBody 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 DescribeSensitiveApiStatisticResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSensitiveApiStatisticResponseBody 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 statistics.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* The request ID.
*
* example:
* D7861F61-5B61-46CE-A47C-6B19160D5EB0
*/
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 DescribeSensitiveApiStatisticResponseBody build() {
return new DescribeSensitiveApiStatisticResponseBody(this);
}
}
/**
*
* {@link DescribeSensitiveApiStatisticResponseBody} extends {@link TeaModel}
*
* DescribeSensitiveApiStatisticResponseBody
*/
public static class List extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ApiFormat")
private String apiFormat;
@com.aliyun.core.annotation.NameInMap("ApiId")
private String apiId;
@com.aliyun.core.annotation.NameInMap("InfoCount")
private Long infoCount;
@com.aliyun.core.annotation.NameInMap("SensitiveCode")
private java.util.List < String > sensitiveCode;
@com.aliyun.core.annotation.NameInMap("SensitiveCount")
private Long sensitiveCount;
private List(Builder builder) {
this.apiFormat = builder.apiFormat;
this.apiId = builder.apiId;
this.infoCount = builder.infoCount;
this.sensitiveCode = builder.sensitiveCode;
this.sensitiveCount = builder.sensitiveCount;
}
public static Builder builder() {
return new Builder();
}
public static List create() {
return builder().build();
}
/**
* @return apiFormat
*/
public String getApiFormat() {
return this.apiFormat;
}
/**
* @return apiId
*/
public String getApiId() {
return this.apiId;
}
/**
* @return infoCount
*/
public Long getInfoCount() {
return this.infoCount;
}
/**
* @return sensitiveCode
*/
public java.util.List < String > getSensitiveCode() {
return this.sensitiveCode;
}
/**
* @return sensitiveCount
*/
public Long getSensitiveCount() {
return this.sensitiveCount;
}
public static final class Builder {
private String apiFormat;
private String apiId;
private Long infoCount;
private java.util.List < String > sensitiveCode;
private Long sensitiveCount;
/**
* The API.
*
* example:
* /api/login
*/
public Builder apiFormat(String apiFormat) {
this.apiFormat = apiFormat;
return this;
}
/**
* The ID of the API.
*
* example:
* d288137009c119a873d4c395****
*/
public Builder apiId(String apiId) {
this.apiId = apiId;
return this;
}
/**
* The number of personal information records involved in cross-border data transfer by API.
*
* example:
* 78
*/
public Builder infoCount(Long infoCount) {
this.infoCount = infoCount;
return this;
}
/**
* The types of sensitive data.
*/
public Builder sensitiveCode(java.util.List < String > sensitiveCode) {
this.sensitiveCode = sensitiveCode;
return this;
}
/**
* The number of sensitive personal information records involved in cross-border data transfer by API.
*
* example:
* 55
*/
public Builder sensitiveCount(Long sensitiveCount) {
this.sensitiveCount = sensitiveCount;
return this;
}
public List build() {
return new List(this);
}
}
}
/**
*
* {@link DescribeSensitiveApiStatisticResponseBody} extends {@link TeaModel}
*
* DescribeSensitiveApiStatisticResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("InfoOutboundCount")
private Long infoOutboundCount;
@com.aliyun.core.annotation.NameInMap("List")
private java.util.List < List> list;
@com.aliyun.core.annotation.NameInMap("MatchedHost")
private String matchedHost;
@com.aliyun.core.annotation.NameInMap("SensitiveOutboundCount")
private Long sensitiveOutboundCount;
private Data(Builder builder) {
this.infoOutboundCount = builder.infoOutboundCount;
this.list = builder.list;
this.matchedHost = builder.matchedHost;
this.sensitiveOutboundCount = builder.sensitiveOutboundCount;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return infoOutboundCount
*/
public Long getInfoOutboundCount() {
return this.infoOutboundCount;
}
/**
* @return list
*/
public java.util.List < List> getList() {
return this.list;
}
/**
* @return matchedHost
*/
public String getMatchedHost() {
return this.matchedHost;
}
/**
* @return sensitiveOutboundCount
*/
public Long getSensitiveOutboundCount() {
return this.sensitiveOutboundCount;
}
public static final class Builder {
private Long infoOutboundCount;
private java.util.List < List> list;
private String matchedHost;
private Long sensitiveOutboundCount;
/**
* The number of personal information records involved in cross-border data transfer by domain name.
*
* example:
* 213
*/
public Builder infoOutboundCount(Long infoOutboundCount) {
this.infoOutboundCount = infoOutboundCount;
return this;
}
/**
* The domain name-related APIs.
*/
public Builder list(java.util.List < List> list) {
this.list = list;
return this;
}
/**
* The domain name or IP address.
*
* example:
* www.***.top
*/
public Builder matchedHost(String matchedHost) {
this.matchedHost = matchedHost;
return this;
}
/**
* The number of sensitive personal information records involved in cross-border data transfer by domain name.
*
* example:
* 127
*/
public Builder sensitiveOutboundCount(Long sensitiveOutboundCount) {
this.sensitiveOutboundCount = sensitiveOutboundCount;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}