com.aliyun.sdk.service.apig20240327.models.ListGatewaysRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-apig20240327 Show documentation
Show all versions of alibabacloud-apig20240327 Show documentation
Alibaba Cloud APIG (20240327) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.apig20240327.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListGatewaysRequest} extends {@link RequestModel}
*
* ListGatewaysRequest
*/
public class ListGatewaysRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("gatewayId")
private String gatewayId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("keyword")
private String keyword;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@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("resourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("tags")
private java.util.List < Tags> tags;
private ListGatewaysRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.keyword = builder.keyword;
this.name = builder.name;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.resourceGroupId = builder.resourceGroupId;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static ListGatewaysRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return keyword
*/
public String getKeyword() {
return this.keyword;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return tags
*/
public java.util.List < Tags> getTags() {
return this.tags;
}
public static final class Builder extends Request.Builder {
private String gatewayId;
private String keyword;
private String name;
private Integer pageNumber;
private Integer pageSize;
private String resourceGroupId;
private java.util.List < Tags> tags;
private Builder() {
super();
}
private Builder(ListGatewaysRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.keyword = request.keyword;
this.name = request.name;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.resourceGroupId = request.resourceGroupId;
this.tags = request.tags;
}
/**
* Query exactly by gateway ID.
*
* example:
* gw-cpv4sqdl****
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("gatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* Keyword, search with full match, case-insensitive.
*
* example:
* dev
*/
public Builder keyword(String keyword) {
this.putQueryParameter("keyword", keyword);
this.keyword = keyword;
return this;
}
/**
* Query exactly by gateway name.
*
* example:
* itemcenter-gateway
*/
public Builder name(String name) {
this.putQueryParameter("name", name);
this.name = name;
return this;
}
/**
* Page number.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("pageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* Page size.
*
* example:
* 10
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("pageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* resourceGroupId.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("resourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* tags.
*/
public Builder tags(java.util.List < Tags> tags) {
String tagsShrink = shrink(tags, "tags", "json");
this.putQueryParameter("tags", tagsShrink);
this.tags = tags;
return this;
}
@Override
public ListGatewaysRequest build() {
return new ListGatewaysRequest(this);
}
}
/**
*
* {@link ListGatewaysRequest} extends {@link TeaModel}
*
* ListGatewaysRequest
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("key")
private String key;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private Tags(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags 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 Tags build() {
return new Tags(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy