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

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

There is a newer version: 3.0.24
Show newest version
// 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 DescribePurchasedApisRequest} extends {@link RequestModel}
 *
 * 

DescribePurchasedApisRequest

*/ public class DescribePurchasedApisRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiId") private String apiId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiName") private String apiName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StageName") private String stageName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Visibility") private String visibility; private DescribePurchasedApisRequest(Builder builder) { super(builder); this.apiId = builder.apiId; this.apiName = builder.apiName; this.groupId = builder.groupId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.securityToken = builder.securityToken; this.stageName = builder.stageName; this.visibility = builder.visibility; } public static Builder builder() { return new Builder(); } public static DescribePurchasedApisRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return stageName */ public String getStageName() { return this.stageName; } /** * @return visibility */ public String getVisibility() { return this.visibility; } public static final class Builder extends Request.Builder { private String apiId; private String apiName; private String groupId; private Integer pageNumber; private Integer pageSize; private String securityToken; private String stageName; private String visibility; private Builder() { super(); } private Builder(DescribePurchasedApisRequest request) { super(request); this.apiId = request.apiId; this.apiName = request.apiName; this.groupId = request.groupId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.securityToken = request.securityToken; this.stageName = request.stageName; this.visibility = request.visibility; } /** * The ID of the API. */ public Builder apiId(String apiId) { this.putQueryParameter("ApiId", apiId); this.apiId = apiId; return this; } /** * The name of the API. */ public Builder apiName(String apiName) { this.putQueryParameter("ApiName", apiName); this.apiName = apiName; return this; } /** * The ID of the API group. */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * The page number of the page to return. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * The number of entries to return on each page. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * The name of the runtime environment. Valid values: *

* * * **RELEASE** * * **PRE** * * **TEST** */ public Builder stageName(String stageName) { this.putQueryParameter("StageName", stageName); this.stageName = stageName; return this; } /** * Specifies whether the API is public. Valid values: *

* * * **PUBLIC**: indicates that the API is public. If you set this parameter to PUBLIC, this API is displayed on the API List page in the console for all users after the API is published to the production environment. * * **PRIVATE**: indicates that the API is private. If you set this parameter to PRIVATE, this API is not displayed in Alibaba Cloud Marketplace after the API group to which this API belongs is made available. */ public Builder visibility(String visibility) { this.putQueryParameter("Visibility", visibility); this.visibility = visibility; return this; } @Override public DescribePurchasedApisRequest build() { return new DescribePurchasedApisRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy