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

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

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeApiGroupsRequest} extends {@link RequestModel}
 *
 * 

DescribeApiGroupsRequest

*/ public class DescribeApiGroupsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EnableTagAuth") private Boolean enableTagAuth; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @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("Sort") private String sort; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List tag; private DescribeApiGroupsRequest(Builder builder) { super(builder); this.enableTagAuth = builder.enableTagAuth; this.groupId = builder.groupId; this.groupName = builder.groupName; this.instanceId = builder.instanceId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.securityToken = builder.securityToken; this.sort = builder.sort; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DescribeApiGroupsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return enableTagAuth */ public Boolean getEnableTagAuth() { return this.enableTagAuth; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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 sort */ public String getSort() { return this.sort; } /** * @return tag */ public java.util.List getTag() { return this.tag; } public static final class Builder extends Request.Builder { private Boolean enableTagAuth; private String groupId; private String groupName; private String instanceId; private Integer pageNumber; private Integer pageSize; private String securityToken; private String sort; private java.util.List tag; private Builder() { super(); } private Builder(DescribeApiGroupsRequest request) { super(request); this.enableTagAuth = request.enableTagAuth; this.groupId = request.groupId; this.groupName = request.groupName; this.instanceId = request.instanceId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.securityToken = request.securityToken; this.sort = request.sort; this.tag = request.tag; } /** *

Specifies whether to enable tag verification.

* * example: *

true

*/ public Builder enableTagAuth(Boolean enableTagAuth) { this.putQueryParameter("EnableTagAuth", enableTagAuth); this.enableTagAuth = enableTagAuth; return this; } /** *

The ID of the API group. This ID is generated by the system and globally unique.

* * example: *

be6d2abcc0dd4f749fc2d2edd6567164

*/ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** *

The keyword that can be specified in the name of the API group.

* * example: *

Traffic

*/ public Builder groupName(String groupName) { this.putQueryParameter("GroupName", groupName); this.groupName = groupName; return this; } /** *

The ID of the instance.

* * example: *

apigateway-cn-v6419k43245xx

*/ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** *

The number of the page to return. Pages start from page 1. Default value: 1.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** *

The number of entries to return on each page. Maximum value: 50. Default value: 10.

* * example: *

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; } /** *

The order. Valid values: asc and desc. Default value: desc.

*
    *
  • asc: The API groups are displayed in ascending order of modification time.
  • *
  • desc: The API groups are displayed in descending order of modification time.
  • *
* * example: *

desc

*/ public Builder sort(String sort) { this.putQueryParameter("Sort", sort); this.sort = sort; return this; } /** *

The list of tags.

*/ public Builder tag(java.util.List tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DescribeApiGroupsRequest build() { return new DescribeApiGroupsRequest(this); } } /** * * {@link DescribeApiGroupsRequest} extends {@link TeaModel} * *

DescribeApiGroupsRequest

*/ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.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; /** *

The key of the tag.

* * example: *

key

*/ public Builder key(String key) { this.key = key; return this; } /** *

The value of the tag.

* * example: *

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