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

com.aliyun.sdk.service.cloudapi20160714.models.DescribePurchasedApisResponseBody 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 DescribePurchasedApisResponseBody} extends {@link TeaModel}
 *
 * 

DescribePurchasedApisResponseBody

*/ public class DescribePurchasedApisResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("PurchasedApis") private PurchasedApis purchasedApis; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribePurchasedApisResponseBody(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.purchasedApis = builder.purchasedApis; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribePurchasedApisResponseBody create() { return builder().build(); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return purchasedApis */ public PurchasedApis getPurchasedApis() { return this.purchasedApis; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private PurchasedApis purchasedApis; private String requestId; private Integer totalCount; /** * The page number of the returned page. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * The number of entries returned on each page. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * The monitoring information about API call delays. The returned information is an array consisting of purchased APIs. */ public Builder purchasedApis(PurchasedApis purchasedApis) { this.purchasedApis = purchasedApis; 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 DescribePurchasedApisResponseBody build() { return new DescribePurchasedApisResponseBody(this); } } public static class PurchasedApi 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("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("ModifiedTime") private String modifiedTime; @com.aliyun.core.annotation.NameInMap("PurchasedTime") private String purchasedTime; @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 PurchasedApi(Builder builder) { this.apiId = builder.apiId; this.apiName = builder.apiName; this.deployedTime = builder.deployedTime; this.description = builder.description; this.groupId = builder.groupId; this.groupName = builder.groupName; this.modifiedTime = builder.modifiedTime; this.purchasedTime = builder.purchasedTime; this.regionId = builder.regionId; this.stageName = builder.stageName; this.visibility = builder.visibility; } public static Builder builder() { return new Builder(); } public static PurchasedApi create() { return builder().build(); } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @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 modifiedTime */ public String getModifiedTime() { return this.modifiedTime; } /** * @return purchasedTime */ public String getPurchasedTime() { return this.purchasedTime; } /** * @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 deployedTime; private String description; private String groupId; private String groupName; private String modifiedTime; private String purchasedTime; private String regionId; private String stageName; private String visibility; /** * The ID of the API. */ public Builder apiId(String apiId) { this.apiId = apiId; return this; } /** * The name of the API. */ public Builder apiName(String apiName) { this.apiName = apiName; return this; } /** * The deployment time. Format: yyyy-mm-ddhh:mm:ss. */ public Builder deployedTime(String deployedTime) { this.deployedTime = deployedTime; return this; } /** * The description of the API. */ public Builder description(String description) { this.description = description; return this; } /** * The ID of the API group to which the API belongs. This ID is generated by the system and globally unique. */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } /** * The name of the API group. */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * The last modification time (UTC) of the API. */ public Builder modifiedTime(String modifiedTime) { this.modifiedTime = modifiedTime; return this; } /** * The time when the API was purchased. */ public Builder purchasedTime(String purchasedTime) { this.purchasedTime = purchasedTime; return this; } /** * The ID of the region in which the API is located. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The name of the runtime environment. Valid values: *

* * * **RELEASE** * * **PRE** * * **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 PurchasedApi build() { return new PurchasedApi(this); } } } public static class PurchasedApis extends TeaModel { @com.aliyun.core.annotation.NameInMap("PurchasedApi") private java.util.List < PurchasedApi> purchasedApi; private PurchasedApis(Builder builder) { this.purchasedApi = builder.purchasedApi; } public static Builder builder() { return new Builder(); } public static PurchasedApis create() { return builder().build(); } /** * @return purchasedApi */ public java.util.List < PurchasedApi> getPurchasedApi() { return this.purchasedApi; } public static final class Builder { private java.util.List < PurchasedApi> purchasedApi; /** * PurchasedApi. */ public Builder purchasedApi(java.util.List < PurchasedApi> purchasedApi) { this.purchasedApi = purchasedApi; return this; } public PurchasedApis build() { return new PurchasedApis(this); } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy