
com.aliyun.sdk.service.cloudapi20160714.models.DescribeApisRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeApisRequest} extends {@link RequestModel}
*
* DescribeApisRequest
*/
public class DescribeApisRequest extends Request {
@Query
@NameInMap("ApiId")
private String apiId;
@Query
@NameInMap("ApiName")
private String apiName;
@Query
@NameInMap("CatalogId")
private String catalogId;
@Query
@NameInMap("EnableTagAuth")
private Boolean enableTagAuth;
@Query
@NameInMap("GroupId")
private String groupId;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
@Query
@NameInMap("Tag")
private java.util.List < Tag> tag;
@Query
@NameInMap("Visibility")
private String visibility;
private DescribeApisRequest(Builder builder) {
super(builder);
this.apiId = builder.apiId;
this.apiName = builder.apiName;
this.catalogId = builder.catalogId;
this.enableTagAuth = builder.enableTagAuth;
this.groupId = builder.groupId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
this.tag = builder.tag;
this.visibility = builder.visibility;
}
public static Builder builder() {
return new Builder();
}
public static DescribeApisRequest 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 catalogId
*/
public String getCatalogId() {
return this.catalogId;
}
/**
* @return enableTagAuth
*/
public Boolean getEnableTagAuth() {
return this.enableTagAuth;
}
/**
* @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 tag
*/
public java.util.List < Tag> getTag() {
return this.tag;
}
/**
* @return visibility
*/
public String getVisibility() {
return this.visibility;
}
public static final class Builder extends Request.Builder {
private String apiId;
private String apiName;
private String catalogId;
private Boolean enableTagAuth;
private String groupId;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private java.util.List < Tag> tag;
private String visibility;
private Builder() {
super();
}
private Builder(DescribeApisRequest request) {
super(request);
this.apiId = request.apiId;
this.apiName = request.apiName;
this.catalogId = request.catalogId;
this.enableTagAuth = request.enableTagAuth;
this.groupId = request.groupId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
this.tag = request.tag;
this.visibility = request.visibility;
}
/**
* ApiId.
*/
public Builder apiId(String apiId) {
this.putQueryParameter("ApiId", apiId);
this.apiId = apiId;
return this;
}
/**
* ApiName.
*/
public Builder apiName(String apiName) {
this.putQueryParameter("ApiName", apiName);
this.apiName = apiName;
return this;
}
/**
* CatalogId.
*/
public Builder catalogId(String catalogId) {
this.putQueryParameter("CatalogId", catalogId);
this.catalogId = catalogId;
return this;
}
/**
* EnableTagAuth.
*/
public Builder enableTagAuth(Boolean enableTagAuth) {
this.putQueryParameter("EnableTagAuth", enableTagAuth);
this.enableTagAuth = enableTagAuth;
return this;
}
/**
* GroupId.
*/
public Builder groupId(String groupId) {
this.putQueryParameter("GroupId", groupId);
this.groupId = groupId;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
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;
}
/**
* Tag.
*/
public Builder tag(java.util.List < Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* Visibility.
*/
public Builder visibility(String visibility) {
this.putQueryParameter("Visibility", visibility);
this.visibility = visibility;
return this;
}
@Override
public DescribeApisRequest build() {
return new DescribeApisRequest(this);
}
}
public static class Tag extends TeaModel {
@NameInMap("Key")
private String key;
@NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* Key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy