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

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

DescribeAppsByApiProductRequest

*/ public class DescribeAppsByApiProductRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiProductId") @com.aliyun.core.annotation.Validation(required = true) private String apiProductId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @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; private DescribeAppsByApiProductRequest(Builder builder) { super(builder); this.apiProductId = builder.apiProductId; this.appName = builder.appName; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeAppsByApiProductRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiProductId */ public String getApiProductId() { return this.apiProductId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder { private String apiProductId; private String appName; private Integer pageNumber; private Integer pageSize; private String securityToken; private Builder() { super(); } private Builder(DescribeAppsByApiProductRequest request) { super(request); this.apiProductId = request.apiProductId; this.appName = request.appName; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.securityToken = request.securityToken; } /** * The ID of the API product. */ public Builder apiProductId(String apiProductId) { this.putQueryParameter("ApiProductId", apiProductId); this.apiProductId = apiProductId; return this; } /** * The application name. */ public Builder appName(String appName) { this.putQueryParameter("AppName", appName); this.appName = appName; return this; } /** * The number of the page to return. Pages start from page 1. Default value: 1. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * The number of entries per page. Maximum value: 100. Default value: 10. */ 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; } @Override public DescribeAppsByApiProductRequest build() { return new DescribeAppsByApiProductRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy