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

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

// 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 DescribeAuthorizedAppsRequest} extends {@link RequestModel}
 *
 * 

DescribeAuthorizedAppsRequest

*/ public class DescribeAuthorizedAppsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiId") @com.aliyun.core.annotation.Validation(required = true) private String apiId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private Long appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppOwnerId") private Long appOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @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("StageName") private String stageName; private DescribeAuthorizedAppsRequest(Builder builder) { super(builder); this.apiId = builder.apiId; this.appId = builder.appId; this.appName = builder.appName; this.appOwnerId = builder.appOwnerId; this.groupId = builder.groupId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.securityToken = builder.securityToken; this.stageName = builder.stageName; } public static Builder builder() { return new Builder(); } public static DescribeAuthorizedAppsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return appId */ public Long getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return appOwnerId */ public Long getAppOwnerId() { return this.appOwnerId; } /** * @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 stageName */ public String getStageName() { return this.stageName; } public static final class Builder extends Request.Builder { private String apiId; private Long appId; private String appName; private Long appOwnerId; private String groupId; private Integer pageNumber; private Integer pageSize; private String securityToken; private String stageName; private Builder() { super(); } private Builder(DescribeAuthorizedAppsRequest request) { super(request); this.apiId = request.apiId; this.appId = request.appId; this.appName = request.appName; this.appOwnerId = request.appOwnerId; this.groupId = request.groupId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.securityToken = request.securityToken; this.stageName = request.stageName; } /** *

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

*

This parameter is required.

* * example: *

baacc592e63a4cb6a41920d9d3f91f38

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

The ID of the app.

* * example: *

20112314518278

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

The name of the app.

* * example: *

CreateApptest

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

The Alibaba Cloud account of the app owner.

* * example: *

1546564

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

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

* * example: *

523e8dc7bbe04613b5b1d726c2a7889d

*/ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; 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 environment. Valid values:

*
    *
  • RELEASE: the production environment
  • *
  • PRE: the staging environment
  • *
  • TEST: the test environment
  • *
* * example: *

RELEASE

*/ public Builder stageName(String stageName) { this.putQueryParameter("StageName", stageName); this.stageName = stageName; return this; } @Override public DescribeAuthorizedAppsRequest build() { return new DescribeAuthorizedAppsRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy