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

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

DescribeAuthorizedApisResponseBody

*/ public class DescribeAuthorizedApisResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthorizedApis") private AuthorizedApis authorizedApis; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.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 authorized API set.

*/ public Builder authorizedApis(AuthorizedApis authorizedApis) { this.authorizedApis = authorizedApis; return this; } /** *

The page number of the returned page.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** *

The number of entries returned per page.

* * example: *

10

*/ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** *

The ID of the request.

* * example: *

D6E46F10-F26C-4AA0-BB69-FE2743D9AE62

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

The total number of returned entries.

* * example: *

2

*/ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeAuthorizedApisResponseBody build() { return new DescribeAuthorizedApisResponseBody(this); } } /** * * {@link DescribeAuthorizedApisResponseBody} extends {@link TeaModel} * *

DescribeAuthorizedApisResponseBody

*/ public static class AuthorizedApi extends TeaModel { @com.aliyun.core.annotation.NameInMap("ApiId") private String apiId; @com.aliyun.core.annotation.NameInMap("ApiName") private String apiName; @com.aliyun.core.annotation.NameInMap("AuthVaildTime") private String authVaildTime; @com.aliyun.core.annotation.NameInMap("AuthorizationSource") private String authorizationSource; @com.aliyun.core.annotation.NameInMap("AuthorizedTime") private String authorizedTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; @com.aliyun.core.annotation.NameInMap("Operator") private String operator; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.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 unique identifier of the API, which is automatically generated by the system.

* * example: *

baacc592e63a4cb6a41920d9d3f91f38

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

The name of the API

* * example: *

AreaWeather

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

The expiration time of the authorization in UTC.

* * example: *

2018-10-05T16:00:00Z

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

The authorization source. Valid values:

*
    *
  • CONSOLE
  • *
  • API
  • *
* * example: *

CONSOLE

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

The authorization time in UTC.

* * example: *

2016-07-21T06:17:20

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

Authorization description

* * example: *

Queries weather based on the region name

*/ public Builder description(String description) { this.description = description; 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.groupId = groupId; return this; } /** *

The name of the API group.

* * example: *

Weather

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

The authorizer. Valid values:

*
    *
  • PROVIDER: API owner
  • *
  • CONSUMER: API caller
  • *
* * example: *

PROVIDER

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

The region to which the API belongs.

* * example: *

cn-hangzhou

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

The name of the runtime environment. Valid values:

*
    *
  • RELEASE
  • *
  • TEST: the test environment
  • *
* * example: *

RELEASE

*/ public Builder stageName(String stageName) { this.stageName = stageName; return this; } public AuthorizedApi build() { return new AuthorizedApi(this); } } } /** * * {@link DescribeAuthorizedApisResponseBody} extends {@link TeaModel} * *

DescribeAuthorizedApisResponseBody

*/ public static class AuthorizedApis extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthorizedApi") private java.util.List 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 getAuthorizedApi() { return this.authorizedApi; } public static final class Builder { private java.util.List authorizedApi; /** * AuthorizedApi. */ public Builder authorizedApi(java.util.List authorizedApi) { this.authorizedApi = authorizedApi; return this; } public AuthorizedApis build() { return new AuthorizedApis(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy