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

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

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

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

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

DescribeDeployedApisResponseBody

*/ public class DescribeDeployedApisResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DeployedApis") private DeployedApis deployedApis; @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 DescribeDeployedApisResponseBody(Builder builder) { this.deployedApis = builder.deployedApis; 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 DescribeDeployedApisResponseBody create() { return builder().build(); } /** * @return deployedApis */ public DeployedApis getDeployedApis() { return this.deployedApis; } /** * @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 DeployedApis deployedApis; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; /** * The returned API information. It is an array consisting of DeployedApiItem data. */ public Builder deployedApis(DeployedApis deployedApis) { this.deployedApis = deployedApis; return this; } /** * The page number of the returned page. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * The number of entries returned per page. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The total number of returned entries. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeDeployedApisResponseBody build() { return new DescribeDeployedApisResponseBody(this); } } public static class DeployedApiItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("ApiId") private String apiId; @com.aliyun.core.annotation.NameInMap("ApiMethod") private String apiMethod; @com.aliyun.core.annotation.NameInMap("ApiName") private String apiName; @com.aliyun.core.annotation.NameInMap("ApiPath") private String apiPath; @com.aliyun.core.annotation.NameInMap("DeployedTime") private String deployedTime; @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 DeployedApiItem(Builder builder) { this.apiId = builder.apiId; this.apiMethod = builder.apiMethod; this.apiName = builder.apiName; this.apiPath = builder.apiPath; this.deployedTime = builder.deployedTime; 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 DeployedApiItem create() { return builder().build(); } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return apiMethod */ public String getApiMethod() { return this.apiMethod; } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return apiPath */ public String getApiPath() { return this.apiPath; } /** * @return deployedTime */ public String getDeployedTime() { return this.deployedTime; } /** * @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 apiMethod; private String apiName; private String apiPath; private String deployedTime; private String description; private String groupId; private String groupName; private String regionId; private String stageName; private String visibility; /** * The API ID. */ public Builder apiId(String apiId) { this.apiId = apiId; return this; } /** * The HTTP method of the API request. */ public Builder apiMethod(String apiMethod) { this.apiMethod = apiMethod; return this; } /** * The API name. */ public Builder apiName(String apiName) { this.apiName = apiName; return this; } /** * The request path of the API. */ public Builder apiPath(String apiPath) { this.apiPath = apiPath; return this; } /** * The time when the API was published. The time is displayed in UTC. */ public Builder deployedTime(String deployedTime) { this.deployedTime = deployedTime; return this; } /** * The API description. */ public Builder description(String description) { this.description = description; return this; } /** * The API group ID. */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } /** * The name of the API group to which the API belongs. */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * The region ID of the API. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The environment name. Valid values: *

* * * **RELEASE** * * **TEST** */ public Builder stageName(String stageName) { this.stageName = stageName; return this; } /** * Indicates whether the API is public. Valid values: *

* * * **PUBLIC** * * **PRIVATE** */ public Builder visibility(String visibility) { this.visibility = visibility; return this; } public DeployedApiItem build() { return new DeployedApiItem(this); } } } public static class DeployedApis extends TeaModel { @com.aliyun.core.annotation.NameInMap("DeployedApiItem") private java.util.List < DeployedApiItem> deployedApiItem; private DeployedApis(Builder builder) { this.deployedApiItem = builder.deployedApiItem; } public static Builder builder() { return new Builder(); } public static DeployedApis create() { return builder().build(); } /** * @return deployedApiItem */ public java.util.List < DeployedApiItem> getDeployedApiItem() { return this.deployedApiItem; } public static final class Builder { private java.util.List < DeployedApiItem> deployedApiItem; /** * DeployedApiItem. */ public Builder deployedApiItem(java.util.List < DeployedApiItem> deployedApiItem) { this.deployedApiItem = deployedApiItem; return this; } public DeployedApis build() { return new DeployedApis(this); } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy