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

com.aliyun.sdk.service.cloudapi20160714.models.DescribeApiTrafficDataResponseBody Maven / Gradle / Ivy

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

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

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

DescribeApiTrafficDataResponseBody

*/ public class DescribeApiTrafficDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CallDownloads") private CallDownloads callDownloads; @com.aliyun.core.annotation.NameInMap("CallUploads") private CallUploads callUploads; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeApiTrafficDataResponseBody(Builder builder) { this.callDownloads = builder.callDownloads; this.callUploads = builder.callUploads; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeApiTrafficDataResponseBody create() { return builder().build(); } /** * @return callDownloads */ public CallDownloads getCallDownloads() { return this.callDownloads; } /** * @return callUploads */ public CallUploads getCallUploads() { return this.callUploads; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private CallDownloads callDownloads; private CallUploads callUploads; private String requestId; /** *

The returned downlink traffic data of API calls. It is an array consisting of MonitorItem data.

*/ public Builder callDownloads(CallDownloads callDownloads) { this.callDownloads = callDownloads; return this; } /** *

The returned uplink traffic data of API calls. It is an array consisting of MonitorItem data.

*/ public Builder callUploads(CallUploads callUploads) { this.callUploads = callUploads; return this; } /** *

The ID of the request.

* * example: *

CEF72CEB-54B6-4AE8-B225-F876FF7BZ001

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeApiTrafficDataResponseBody build() { return new DescribeApiTrafficDataResponseBody(this); } } /** * * {@link DescribeApiTrafficDataResponseBody} extends {@link TeaModel} * *

DescribeApiTrafficDataResponseBody

*/ public static class MonitorItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("ItemTime") private String itemTime; @com.aliyun.core.annotation.NameInMap("ItemValue") private String itemValue; private MonitorItem(Builder builder) { this.itemTime = builder.itemTime; this.itemValue = builder.itemValue; } public static Builder builder() { return new Builder(); } public static MonitorItem create() { return builder().build(); } /** * @return itemTime */ public String getItemTime() { return this.itemTime; } /** * @return itemValue */ public String getItemValue() { return this.itemValue; } public static final class Builder { private String itemTime; private String itemValue; /** *

The time of the monitoring metric. The time format follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ

* * example: *

2016-07-28T08:20:00Z

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

The value corresponding to the monitoring metric.

* * example: *

0

*/ public Builder itemValue(String itemValue) { this.itemValue = itemValue; return this; } public MonitorItem build() { return new MonitorItem(this); } } } /** * * {@link DescribeApiTrafficDataResponseBody} extends {@link TeaModel} * *

DescribeApiTrafficDataResponseBody

*/ public static class CallDownloads extends TeaModel { @com.aliyun.core.annotation.NameInMap("MonitorItem") private java.util.List monitorItem; private CallDownloads(Builder builder) { this.monitorItem = builder.monitorItem; } public static Builder builder() { return new Builder(); } public static CallDownloads create() { return builder().build(); } /** * @return monitorItem */ public java.util.List getMonitorItem() { return this.monitorItem; } public static final class Builder { private java.util.List monitorItem; /** * MonitorItem. */ public Builder monitorItem(java.util.List monitorItem) { this.monitorItem = monitorItem; return this; } public CallDownloads build() { return new CallDownloads(this); } } } /** * * {@link DescribeApiTrafficDataResponseBody} extends {@link TeaModel} * *

DescribeApiTrafficDataResponseBody

*/ public static class CallUploadsMonitorItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("ItemTime") private String itemTime; @com.aliyun.core.annotation.NameInMap("ItemValue") private String itemValue; private CallUploadsMonitorItem(Builder builder) { this.itemTime = builder.itemTime; this.itemValue = builder.itemValue; } public static Builder builder() { return new Builder(); } public static CallUploadsMonitorItem create() { return builder().build(); } /** * @return itemTime */ public String getItemTime() { return this.itemTime; } /** * @return itemValue */ public String getItemValue() { return this.itemValue; } public static final class Builder { private String itemTime; private String itemValue; /** *

The time of the monitoring metric. The time format follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ

* * example: *

2016-07-28T08:20:00Z

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

The value corresponding to the monitoring metric.

* * example: *

670

*/ public Builder itemValue(String itemValue) { this.itemValue = itemValue; return this; } public CallUploadsMonitorItem build() { return new CallUploadsMonitorItem(this); } } } /** * * {@link DescribeApiTrafficDataResponseBody} extends {@link TeaModel} * *

DescribeApiTrafficDataResponseBody

*/ public static class CallUploads extends TeaModel { @com.aliyun.core.annotation.NameInMap("MonitorItem") private java.util.List monitorItem; private CallUploads(Builder builder) { this.monitorItem = builder.monitorItem; } public static Builder builder() { return new Builder(); } public static CallUploads create() { return builder().build(); } /** * @return monitorItem */ public java.util.List getMonitorItem() { return this.monitorItem; } public static final class Builder { private java.util.List monitorItem; /** * MonitorItem. */ public Builder monitorItem(java.util.List monitorItem) { this.monitorItem = monitorItem; return this; } public CallUploads build() { return new CallUploads(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy