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

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

// 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 DescribeApisByTrafficControlResponseBody} extends {@link TeaModel}
 *
 * 

DescribeApisByTrafficControlResponseBody

*/ public class DescribeApisByTrafficControlResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ApiInfos") private ApiInfos apiInfos; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeApisByTrafficControlResponseBody(Builder builder) { this.apiInfos = builder.apiInfos; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeApisByTrafficControlResponseBody create() { return builder().build(); } /** * @return apiInfos */ public ApiInfos getApiInfos() { return this.apiInfos; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private ApiInfos apiInfos; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; /** *

The returned API information. It is an array consisting of ApiInfo data.

*/ public Builder apiInfos(ApiInfos apiInfos) { this.apiInfos = apiInfos; return this; } /** *

The page number of the returned page.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** *

The number of entries returned per page.

* * example: *

10

*/ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** *

The ID of the request.

* * example: *

CEF72CEB-54B6-4AE8-B225-F876FF7BZ004

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

The total number of returned entries.

* * example: *

20

*/ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeApisByTrafficControlResponseBody build() { return new DescribeApisByTrafficControlResponseBody(this); } } /** * * {@link DescribeApisByTrafficControlResponseBody} extends {@link TeaModel} * *

DescribeApisByTrafficControlResponseBody

*/ public static class ApiInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("ApiId") private String apiId; @com.aliyun.core.annotation.NameInMap("ApiName") private String apiName; @com.aliyun.core.annotation.NameInMap("BoundTime") private String boundTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("StageName") private String stageName; @com.aliyun.core.annotation.NameInMap("Visibility") private String visibility; private ApiInfo(Builder builder) { this.apiId = builder.apiId; this.apiName = builder.apiName; this.boundTime = builder.boundTime; this.description = builder.description; this.groupId = builder.groupId; this.groupName = builder.groupName; this.regionId = builder.regionId; this.stageName = builder.stageName; this.visibility = builder.visibility; } public static Builder builder() { return new Builder(); } public static ApiInfo create() { return builder().build(); } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return boundTime */ public String getBoundTime() { return this.boundTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return stageName */ public String getStageName() { return this.stageName; } /** * @return visibility */ public String getVisibility() { return this.visibility; } public static final class Builder { private String apiId; private String apiName; private String boundTime; private String description; private String groupId; private String groupName; private String regionId; private String stageName; private String visibility; /** *

The ID of the API.

* * example: *

3b81fd160f5645e097cc8855d75a1cf6

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

The name of the API

* * example: *

testapi

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

The binding time of the API.

* * example: *

2016-07-23T08:28:48Z

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

The description of the API.

* * example: *

Description

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

The ID of the API group.

* * example: *

0009db9c828549768a200320714b8930

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

The name of the group to which an API belongs.

* * example: *

mygroup

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

The region where the API is located.

* * example: *

cn-qingdao

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

The name of the runtime environment. Valid values:

*
    *
  • RELEASE
  • *
  • TEST
  • *
* * example: *

TEST

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

Indicates whether the API is public. Valid values:

*
    *
  • PUBLIC
  • *
  • PRIVATE
  • *
* * example: *

PUBLIC

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

DescribeApisByTrafficControlResponseBody

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy