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

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

There is a newer version: 3.0.23
Show newest version
// 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 DescribeAuthorizedApisResponseBody} extends {@link TeaModel}
 *
 * 

DescribeAuthorizedApisResponseBody

*/ public class DescribeAuthorizedApisResponseBody extends TeaModel { @NameInMap("AuthorizedApis") private AuthorizedApis authorizedApis; @NameInMap("PageNumber") private Integer pageNumber; @NameInMap("PageSize") private Integer pageSize; @NameInMap("RequestId") private String requestId; @NameInMap("TotalCount") private Integer totalCount; private DescribeAuthorizedApisResponseBody(Builder builder) { this.authorizedApis = builder.authorizedApis; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeAuthorizedApisResponseBody create() { return builder().build(); } /** * @return authorizedApis */ public AuthorizedApis getAuthorizedApis() { return this.authorizedApis; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private AuthorizedApis authorizedApis; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; /** * The authorization source. Valid values: *

* * * **CONSOLE** * * **API** */ public Builder authorizedApis(AuthorizedApis authorizedApis) { this.authorizedApis = authorizedApis; return this; } /** * The number of entries returned per page. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * The authorized API set. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * The total number of returned entries. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The unique identifier of the API, which is generated by the system. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeAuthorizedApisResponseBody build() { return new DescribeAuthorizedApisResponseBody(this); } } public static class AuthorizedApi extends TeaModel { @NameInMap("ApiId") private String apiId; @NameInMap("ApiName") private String apiName; @NameInMap("AuthVaildTime") private String authVaildTime; @NameInMap("AuthorizationSource") private String authorizationSource; @NameInMap("AuthorizedTime") private String authorizedTime; @NameInMap("Description") private String description; @NameInMap("GroupId") private String groupId; @NameInMap("GroupName") private String groupName; @NameInMap("Operator") private String operator; @NameInMap("RegionId") private String regionId; @NameInMap("StageName") private String stageName; private AuthorizedApi(Builder builder) { this.apiId = builder.apiId; this.apiName = builder.apiName; this.authVaildTime = builder.authVaildTime; this.authorizationSource = builder.authorizationSource; this.authorizedTime = builder.authorizedTime; this.description = builder.description; this.groupId = builder.groupId; this.groupName = builder.groupName; this.operator = builder.operator; this.regionId = builder.regionId; this.stageName = builder.stageName; } public static Builder builder() { return new Builder(); } public static AuthorizedApi create() { return builder().build(); } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return authVaildTime */ public String getAuthVaildTime() { return this.authVaildTime; } /** * @return authorizationSource */ public String getAuthorizationSource() { return this.authorizationSource; } /** * @return authorizedTime */ public String getAuthorizedTime() { return this.authorizedTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return operator */ public String getOperator() { return this.operator; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return stageName */ public String getStageName() { return this.stageName; } public static final class Builder { private String apiId; private String apiName; private String authVaildTime; private String authorizationSource; private String authorizedTime; private String description; private String groupId; private String groupName; private String operator; private String regionId; private String stageName; /** * The expiration time of the authorization in UTC. */ public Builder apiId(String apiId) { this.apiId = apiId; return this; } /** * * This operation is intended for API callers. *

* * The specified application can call all APIs included in the responses. */ public Builder apiName(String apiName) { this.apiName = apiName; return this; } /** * Queries weather based on the region name */ public Builder authVaildTime(String authVaildTime) { this.authVaildTime = authVaildTime; return this; } /** * The description of the authorization. */ public Builder authorizationSource(String authorizationSource) { this.authorizationSource = authorizationSource; return this; } /** * The name of the runtime environment. Valid values: *

* * * **RELEASE** * * **TEST** */ public Builder authorizedTime(String authorizedTime) { this.authorizedTime = authorizedTime; return this; } /** * The name of the API group. */ public Builder description(String description) { this.description = description; return this; } /** * The authorizer. Valid values: *

* * * **PROVIDER:** the API owner * * **CONSUMER:** the API caller */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } /** * The authorization time in UTC. */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * The name of the API operation. */ public Builder operator(String operator) { this.operator = operator; return this; } /** * Queries the authorized APIs of a specified application. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The region to which the API belongs. */ public Builder stageName(String stageName) { this.stageName = stageName; return this; } public AuthorizedApi build() { return new AuthorizedApi(this); } } } public static class AuthorizedApis extends TeaModel { @NameInMap("AuthorizedApi") private java.util.List < AuthorizedApi> authorizedApi; private AuthorizedApis(Builder builder) { this.authorizedApi = builder.authorizedApi; } public static Builder builder() { return new Builder(); } public static AuthorizedApis create() { return builder().build(); } /** * @return authorizedApi */ public java.util.List < AuthorizedApi> getAuthorizedApi() { return this.authorizedApi; } public static final class Builder { private java.util.List < AuthorizedApi> authorizedApi; /** * AuthorizedApi. */ public Builder authorizedApi(java.util.List < AuthorizedApi> authorizedApi) { this.authorizedApi = authorizedApi; return this; } public AuthorizedApis build() { return new AuthorizedApis(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy