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

com.aliyun.sdk.service.cloud_siem20220616.models.DescribeCustomizeRuleTestHistogramResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloud_siem20220616.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeCustomizeRuleTestHistogramResponseBody} extends {@link TeaModel}
 *
 * 

DescribeCustomizeRuleTestHistogramResponseBody

*/ public class DescribeCustomizeRuleTestHistogramResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List < Data> data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private DescribeCustomizeRuleTestHistogramResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static DescribeCustomizeRuleTestHistogramResponseBody create() { return builder().build(); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public java.util.List < Data> getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private java.util.List < Data> data; private String message; private String requestId; private Boolean success; /** * The HTTP status code. */ public Builder code(Integer code) { this.code = code; return this; } /** * The return value for the request. */ public Builder data(java.util.List < Data> data) { this.data = data; return this; } /** * The returned message. */ public Builder message(String message) { this.message = message; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Indicates whether the request was successful. Valid values: *

* * * true * * false */ public Builder success(Boolean success) { this.success = success; return this; } public DescribeCustomizeRuleTestHistogramResponseBody build() { return new DescribeCustomizeRuleTestHistogramResponseBody(this); } } public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Long count; @com.aliyun.core.annotation.NameInMap("From") private Long from; @com.aliyun.core.annotation.NameInMap("To") private Long to; private Data(Builder builder) { this.count = builder.count; this.from = builder.from; this.to = builder.to; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return count */ public Long getCount() { return this.count; } /** * @return from */ public Long getFrom() { return this.from; } /** * @return to */ public Long getTo() { return this.to; } public static final class Builder { private Long count; private Long from; private Long to; /** * The number of alerts that are generated in the query time range. */ public Builder count(Long count) { this.count = count; return this; } /** * The start of the time range for querying alerts. The value is a UNIX timestamp. Unit: seconds. */ public Builder from(Long from) { this.from = from; return this; } /** * The end of the time range for querying alerts. The value is a UNIX timestamp. Unit: seconds. */ public Builder to(Long to) { this.to = to; return this; } public Data build() { return new Data(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy