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

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

DescribeAppAttributesRequest

*/ public class DescribeAppAttributesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppCode") private String appCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private Long appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppKey") private String appKey; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EnableTagAuth") private Boolean enableTagAuth; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Extend") private String extend; @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("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 DescribeAppAttributesRequest(Builder builder) { super(builder); this.appCode = builder.appCode; this.appId = builder.appId; this.appKey = builder.appKey; this.appName = builder.appName; this.enableTagAuth = builder.enableTagAuth; this.extend = builder.extend; 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 DescribeAppAttributesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appCode */ public String getAppCode() { return this.appCode; } /** * @return appId */ public Long getAppId() { return this.appId; } /** * @return appKey */ public String getAppKey() { return this.appKey; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return enableTagAuth */ public Boolean getEnableTagAuth() { return this.enableTagAuth; } /** * @return extend */ public String getExtend() { return this.extend; } /** * @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 String appCode; private Long appId; private String appKey; private String appName; private Boolean enableTagAuth; private String extend; private Integer pageNumber; private Integer pageSize; private String securityToken; private String sort; private java.util.List tag; private Builder() { super(); } private Builder(DescribeAppAttributesRequest request) { super(request); this.appCode = request.appCode; this.appId = request.appId; this.appKey = request.appKey; this.appName = request.appName; this.enableTagAuth = request.enableTagAuth; this.extend = request.extend; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.securityToken = request.securityToken; this.sort = request.sort; this.tag = request.tag; } /** *

The AppCode of the app.

* * example: *

23552160

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

The ID of the app.

* * example: *

20112314518278

*/ public Builder appId(Long appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** *

The app key that is used to make an API call.

* * example: *

203708622

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

The name of the app.

* * example: *

testApp

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

Specifies whether to enable tag verification.

* * example: *

true

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

扩展信息

* * example: *

110243810311

*/ public Builder extend(String extend) { this.putQueryParameter("Extend", extend); this.extend = extend; 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: 100. 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 apps are displayed in ascending order of modification time.
  • *
  • desc: The apps 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 tag of objects that match the rule. You can specify multiple tags.

* * example: *

Key, Value

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

DescribeAppAttributesRequest

*/ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") @com.aliyun.core.annotation.Validation(required = true) 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.

*

N can be an integer from 1 to 20.``

*

This parameter is required.

* * example: *

env

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

The key of the tag.

*

N can be an integer from 1 to 20.``

* * example: *

" "

*/ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy