All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.waf_openapi20211001.models.DescribeUserEventTrendResponseBody 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 DescribeUserEventTrendResponseBody} extends {@link TeaModel}
 *
 * 

DescribeUserEventTrendResponseBody

*/ public class DescribeUserEventTrendResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Trend") private java.util.List < Trend> trend; private DescribeUserEventTrendResponseBody(Builder builder) { this.requestId = builder.requestId; this.trend = builder.trend; } public static Builder builder() { return new Builder(); } public static DescribeUserEventTrendResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return trend */ public java.util.List < Trend> getTrend() { return this.trend; } public static final class Builder { private String requestId; private java.util.List < Trend> trend; /** *

The request ID.

* * example: *

F51E6DD6-B2D2-57C9-90F1-FAFD0A19DE00

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The trends of attacks.

*/ public Builder trend(java.util.List < Trend> trend) { this.trend = trend; return this; } public DescribeUserEventTrendResponseBody build() { return new DescribeUserEventTrendResponseBody(this); } } /** * * {@link DescribeUserEventTrendResponseBody} extends {@link TeaModel} * *

DescribeUserEventTrendResponseBody

*/ public static class Trend extends TeaModel { @com.aliyun.core.annotation.NameInMap("EventHigh") private Long eventHigh; @com.aliyun.core.annotation.NameInMap("EventLow") private Long eventLow; @com.aliyun.core.annotation.NameInMap("EventMedium") private Long eventMedium; @com.aliyun.core.annotation.NameInMap("TimeStamp") private Long timeStamp; @com.aliyun.core.annotation.NameInMap("Timestamp") private Long timestamp; private Trend(Builder builder) { this.eventHigh = builder.eventHigh; this.eventLow = builder.eventLow; this.eventMedium = builder.eventMedium; this.timeStamp = builder.timeStamp; this.timestamp = builder.timestamp; } public static Builder builder() { return new Builder(); } public static Trend create() { return builder().build(); } /** * @return eventHigh */ public Long getEventHigh() { return this.eventHigh; } /** * @return eventLow */ public Long getEventLow() { return this.eventLow; } /** * @return eventMedium */ public Long getEventMedium() { return this.eventMedium; } /** * @return timeStamp */ public Long getTimeStamp() { return this.timeStamp; } /** * @return timestamp */ public Long getTimestamp() { return this.timestamp; } public static final class Builder { private Long eventHigh; private Long eventLow; private Long eventMedium; private Long timeStamp; private Long timestamp; /** *

The number of high-risk events.

* * example: *

9

*/ public Builder eventHigh(Long eventHigh) { this.eventHigh = eventHigh; return this; } /** *

The number of low-risk events.

* * example: *

23

*/ public Builder eventLow(Long eventLow) { this.eventLow = eventLow; return this; } /** *

The number of medium-risk events.

* * example: *

17

*/ public Builder eventMedium(Long eventMedium) { this.eventMedium = eventMedium; return this; } /** *

The time at which the API was called. The value is a UNIX timestamp displayed in UTC. Unit: seconds.

*
*

Notice: The parameter has been deprecated, it is recommended to use the Timestamp parameter.

*
* * example: *

1723435200

*/ public Builder timeStamp(Long timeStamp) { this.timeStamp = timeStamp; return this; } /** *

The time at which the API was called. The value is a UNIX timestamp displayed in UTC. Unit: seconds.

* * example: *

1723435200

*/ public Builder timestamp(Long timestamp) { this.timestamp = timestamp; return this; } public Trend build() { return new Trend(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy