
com.aliyun.sdk.service.waf_openapi20211001.models.DescribeApisecStatisticsResponseBody 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 DescribeApisecStatisticsResponseBody} extends {@link TeaModel}
*
* DescribeApisecStatisticsResponseBody
*/
public class DescribeApisecStatisticsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeApisecStatisticsResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeApisecStatisticsResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Data data;
private String requestId;
/**
* The check results.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* The request ID.
*
* example:
* 221F0F14-54C6-59A1-9967-72***81B61A
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeApisecStatisticsResponseBody build() {
return new DescribeApisecStatisticsResponseBody(this);
}
}
/**
*
* {@link DescribeApisecStatisticsResponseBody} extends {@link TeaModel}
*
* DescribeApisecStatisticsResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Api")
private Long api;
@com.aliyun.core.annotation.NameInMap("Confirmed")
private Long confirmed;
@com.aliyun.core.annotation.NameInMap("Domain")
private Long domain;
@com.aliyun.core.annotation.NameInMap("Fixed")
private Long fixed;
@com.aliyun.core.annotation.NameInMap("High")
private Long high;
@com.aliyun.core.annotation.NameInMap("Ignore")
private Long ignore;
@com.aliyun.core.annotation.NameInMap("Low")
private Long low;
@com.aliyun.core.annotation.NameInMap("Medium")
private Long medium;
@com.aliyun.core.annotation.NameInMap("ToBeConfirmed")
private Long toBeConfirmed;
@com.aliyun.core.annotation.NameInMap("ToBeFixed")
private Long toBeFixed;
@com.aliyun.core.annotation.NameInMap("TodayHigh")
private String todayHigh;
@com.aliyun.core.annotation.NameInMap("TodayLow")
private Long todayLow;
@com.aliyun.core.annotation.NameInMap("TodayMedium")
private String todayMedium;
@com.aliyun.core.annotation.NameInMap("TodayTotal")
private String todayTotal;
@com.aliyun.core.annotation.NameInMap("Total")
private Long total;
private Data(Builder builder) {
this.api = builder.api;
this.confirmed = builder.confirmed;
this.domain = builder.domain;
this.fixed = builder.fixed;
this.high = builder.high;
this.ignore = builder.ignore;
this.low = builder.low;
this.medium = builder.medium;
this.toBeConfirmed = builder.toBeConfirmed;
this.toBeFixed = builder.toBeFixed;
this.todayHigh = builder.todayHigh;
this.todayLow = builder.todayLow;
this.todayMedium = builder.todayMedium;
this.todayTotal = builder.todayTotal;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return api
*/
public Long getApi() {
return this.api;
}
/**
* @return confirmed
*/
public Long getConfirmed() {
return this.confirmed;
}
/**
* @return domain
*/
public Long getDomain() {
return this.domain;
}
/**
* @return fixed
*/
public Long getFixed() {
return this.fixed;
}
/**
* @return high
*/
public Long getHigh() {
return this.high;
}
/**
* @return ignore
*/
public Long getIgnore() {
return this.ignore;
}
/**
* @return low
*/
public Long getLow() {
return this.low;
}
/**
* @return medium
*/
public Long getMedium() {
return this.medium;
}
/**
* @return toBeConfirmed
*/
public Long getToBeConfirmed() {
return this.toBeConfirmed;
}
/**
* @return toBeFixed
*/
public Long getToBeFixed() {
return this.toBeFixed;
}
/**
* @return todayHigh
*/
public String getTodayHigh() {
return this.todayHigh;
}
/**
* @return todayLow
*/
public Long getTodayLow() {
return this.todayLow;
}
/**
* @return todayMedium
*/
public String getTodayMedium() {
return this.todayMedium;
}
/**
* @return todayTotal
*/
public String getTodayTotal() {
return this.todayTotal;
}
/**
* @return total
*/
public Long getTotal() {
return this.total;
}
public static final class Builder {
private Long api;
private Long confirmed;
private Long domain;
private Long fixed;
private Long high;
private Long ignore;
private Long low;
private Long medium;
private Long toBeConfirmed;
private Long toBeFixed;
private String todayHigh;
private Long todayLow;
private String todayMedium;
private String todayTotal;
private Long total;
/**
* The number of APIs.
*
* example:
* /api/v1/login
*/
public Builder api(Long api) {
this.api = api;
return this;
}
/**
* The number of confirmed events.
*
* example:
* 10
*/
public Builder confirmed(Long confirmed) {
this.confirmed = confirmed;
return this;
}
/**
* The number of domain names.
*
* example:
* a.aliyun.com
*/
public Builder domain(Long domain) {
this.domain = domain;
return this;
}
/**
* The number of fixed risks.
*
* example:
* 0
*/
public Builder fixed(Long fixed) {
this.fixed = fixed;
return this;
}
/**
* The number of high-risk events.
*
* example:
* 10
*/
public Builder high(Long high) {
this.high = high;
return this;
}
/**
* The number of ignored risks.
*
* example:
* 0
*/
public Builder ignore(Long ignore) {
this.ignore = ignore;
return this;
}
/**
* The number of low-risk events.
*
* example:
* 10
*/
public Builder low(Long low) {
this.low = low;
return this;
}
/**
* The number of moderate-risk events.
*
* example:
* 10
*/
public Builder medium(Long medium) {
this.medium = medium;
return this;
}
/**
* The number of events to be confirmed.
*
* example:
* 10
*/
public Builder toBeConfirmed(Long toBeConfirmed) {
this.toBeConfirmed = toBeConfirmed;
return this;
}
/**
* The number of risks to be fixed.
*
* example:
* 10
*/
public Builder toBeFixed(Long toBeFixed) {
this.toBeFixed = toBeFixed;
return this;
}
/**
* The number of new high-risk events today.
*
* example:
* 10
*/
public Builder todayHigh(String todayHigh) {
this.todayHigh = todayHigh;
return this;
}
/**
* The number of new low-risk events today.
*
* example:
* 10
*/
public Builder todayLow(Long todayLow) {
this.todayLow = todayLow;
return this;
}
/**
* The number of new moderate-risk events today.
*
* example:
* 10
*/
public Builder todayMedium(String todayMedium) {
this.todayMedium = todayMedium;
return this;
}
/**
* The total number of new events today.
*
* example:
* 30
*/
public Builder todayTotal(String todayTotal) {
this.todayTotal = todayTotal;
return this;
}
/**
* The total number of events.
*
* example:
* 30
*/
public Builder total(Long total) {
this.total = total;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy