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

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

DescribePluginApisRequest

*/ public class DescribePluginApisRequest 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("Description") private String description; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Method") private String method; @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") @com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Path") private String path; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PluginId") @com.aliyun.core.annotation.Validation(required = true) private String pluginId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribePluginApisRequest(Builder builder) { super(builder); this.apiId = builder.apiId; this.apiName = builder.apiName; this.description = builder.description; this.groupId = builder.groupId; this.method = builder.method; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.path = builder.path; this.pluginId = builder.pluginId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribePluginApisRequest 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 description */ public String getDescription() { return this.description; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return method */ public String getMethod() { return this.method; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return path */ public String getPath() { return this.path; } /** * @return pluginId */ public String getPluginId() { return this.pluginId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder { private String apiId; private String apiName; private String description; private String groupId; private String method; private Integer pageNumber; private Integer pageSize; private String path; private String pluginId; private String securityToken; private Builder() { super(); } private Builder(DescribePluginApisRequest request) { super(request); this.apiId = request.apiId; this.apiName = request.apiName; this.description = request.description; this.groupId = request.groupId; this.method = request.method; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.path = request.path; this.pluginId = request.pluginId; this.securityToken = request.securityToken; } /** * 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 description of the API. */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * The ID of the API group. */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * The request HTTP method of the API. */ public Builder method(String method) { this.putQueryParameter("Method", method); this.method = method; 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 returned per page. *

* Default value:10. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * The request path of the API. */ public Builder path(String path) { this.putQueryParameter("Path", path); this.path = path; return this; } /** * The ID of the gateway plug-in. */ public Builder pluginId(String pluginId) { this.putQueryParameter("PluginId", pluginId); this.pluginId = pluginId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribePluginApisRequest build() { return new DescribePluginApisRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy