com.aliyun.sdk.service.cloudapi20160714.models.DescribePluginApisResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-cloudapi20160714 Show documentation
// 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 DescribePluginApisResponseBody} extends {@link TeaModel}
*
* DescribePluginApisResponseBody
*/
public class DescribePluginApisResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ApiSummarys")
private ApiSummarys apiSummarys;
@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 DescribePluginApisResponseBody(Builder builder) {
this.apiSummarys = builder.apiSummarys;
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 DescribePluginApisResponseBody create() {
return builder().build();
}
/**
* @return apiSummarys
*/
public ApiSummarys getApiSummarys() {
return this.apiSummarys;
}
/**
* @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 ApiSummarys apiSummarys;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* The information about APIs.
*/
public Builder apiSummarys(ApiSummarys apiSummarys) {
this.apiSummarys = apiSummarys;
return this;
}
/**
* The page number of the page to return.
*/
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 request ID.
*/
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 DescribePluginApisResponseBody build() {
return new DescribePluginApisResponseBody(this);
}
}
public static class ApiPluginSummary 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("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("Method")
private String method;
@com.aliyun.core.annotation.NameInMap("Path")
private String path;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("StageAlias")
private String stageAlias;
@com.aliyun.core.annotation.NameInMap("StageName")
private String stageName;
private ApiPluginSummary(Builder builder) {
this.apiId = builder.apiId;
this.apiName = builder.apiName;
this.description = builder.description;
this.groupId = builder.groupId;
this.groupName = builder.groupName;
this.method = builder.method;
this.path = builder.path;
this.regionId = builder.regionId;
this.stageAlias = builder.stageAlias;
this.stageName = builder.stageName;
}
public static Builder builder() {
return new Builder();
}
public static ApiPluginSummary create() {
return builder().build();
}
/**
* @return apiId
*/
public String getApiId() {
return this.apiId;
}
/**
* @return apiName
*/
public String getApiName() {
return this.apiName;
}
/**
* @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 method
*/
public String getMethod() {
return this.method;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return stageAlias
*/
public String getStageAlias() {
return this.stageAlias;
}
/**
* @return stageName
*/
public String getStageName() {
return this.stageName;
}
public static final class Builder {
private String apiId;
private String apiName;
private String description;
private String groupId;
private String groupName;
private String method;
private String path;
private String regionId;
private String stageAlias;
private String stageName;
/**
* The API ID.
*/
public Builder apiId(String apiId) {
this.apiId = apiId;
return this;
}
/**
* The API name.
*/
public Builder apiName(String apiName) {
this.apiName = apiName;
return this;
}
/**
* The API description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* The ID of the API group.
*/
public Builder groupId(String groupId) {
this.groupId = groupId;
return this;
}
/**
* The API group to which the API belongs.
*/
public Builder groupName(String groupName) {
this.groupName = groupName;
return this;
}
/**
* The HTTP method of the API.
*/
public Builder method(String method) {
this.method = method;
return this;
}
/**
* The request path of the API.
*/
public Builder path(String path) {
this.path = path;
return this;
}
/**
* The ID of the region in which the API resides.
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* The environment alias.
*/
public Builder stageAlias(String stageAlias) {
this.stageAlias = stageAlias;
return this;
}
/**
* The environment to which the API is published. Valid values:
*
*
* * **RELEASE**: the production environment
* * **PRE**: the pre-release environment
* * **TEST**: the test environment
*/
public Builder stageName(String stageName) {
this.stageName = stageName;
return this;
}
public ApiPluginSummary build() {
return new ApiPluginSummary(this);
}
}
}
public static class ApiSummarys extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ApiPluginSummary")
private java.util.List < ApiPluginSummary> apiPluginSummary;
private ApiSummarys(Builder builder) {
this.apiPluginSummary = builder.apiPluginSummary;
}
public static Builder builder() {
return new Builder();
}
public static ApiSummarys create() {
return builder().build();
}
/**
* @return apiPluginSummary
*/
public java.util.List < ApiPluginSummary> getApiPluginSummary() {
return this.apiPluginSummary;
}
public static final class Builder {
private java.util.List < ApiPluginSummary> apiPluginSummary;
/**
* ApiPluginSummary.
*/
public Builder apiPluginSummary(java.util.List < ApiPluginSummary> apiPluginSummary) {
this.apiPluginSummary = apiPluginSummary;
return this;
}
public ApiSummarys build() {
return new ApiSummarys(this);
}
}
}
}