com.aliyun.sdk.service.cloudapi20160714.models.DescribeApisByAppResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-cloudapi20160714 Show documentation
// 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 DescribeApisByAppResponseBody} extends {@link TeaModel}
*
* DescribeApisByAppResponseBody
*/
public class DescribeApisByAppResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppApiRelationInfos")
private AppApiRelationInfos appApiRelationInfos;
@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 DescribeApisByAppResponseBody(Builder builder) {
this.appApiRelationInfos = builder.appApiRelationInfos;
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 DescribeApisByAppResponseBody create() {
return builder().build();
}
/**
* @return appApiRelationInfos
*/
public AppApiRelationInfos getAppApiRelationInfos() {
return this.appApiRelationInfos;
}
/**
* @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 AppApiRelationInfos appApiRelationInfos;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* The API authorizations.
*/
public Builder appApiRelationInfos(AppApiRelationInfos appApiRelationInfos) {
this.appApiRelationInfos = appApiRelationInfos;
return this;
}
/**
* The number of pages to return the results on.
*
* 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:
* CEF72CEB-54B6-4AE8-B225-F876FF7BZ015
*/
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 DescribeApisByAppResponseBody build() {
return new DescribeApisByAppResponseBody(this);
}
}
/**
*
* {@link DescribeApisByAppResponseBody} extends {@link TeaModel}
*
* DescribeApisByAppResponseBody
*/
public static class AppApiRelationInfo 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("CreatedTime")
private String createdTime;
@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("Method")
private String method;
@com.aliyun.core.annotation.NameInMap("Operator")
private String operator;
@com.aliyun.core.annotation.NameInMap("Path")
private String path;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("StageAlias")
private String stageAlias;
@com.aliyun.core.annotation.NameInMap("StageName")
private String stageName;
private AppApiRelationInfo(Builder builder) {
this.apiId = builder.apiId;
this.apiName = builder.apiName;
this.authVaildTime = builder.authVaildTime;
this.authorizationSource = builder.authorizationSource;
this.createdTime = builder.createdTime;
this.description = builder.description;
this.groupId = builder.groupId;
this.groupName = builder.groupName;
this.method = builder.method;
this.operator = builder.operator;
this.path = builder.path;
this.regionId = builder.regionId;
this.stageAlias = builder.stageAlias;
this.stageName = builder.stageName;
}
public static Builder builder() {
return new Builder();
}
public static AppApiRelationInfo 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 createdTime
*/
public String getCreatedTime() {
return this.createdTime;
}
/**
* @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 method
*/
public String getMethod() {
return this.method;
}
/**
* @return operator
*/
public String getOperator() {
return this.operator;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return stageAlias
*/
public String getStageAlias() {
return this.stageAlias;
}
/**
* @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 createdTime;
private String description;
private String groupId;
private String groupName;
private String method;
private String operator;
private String path;
private String regionId;
private String stageAlias;
private String stageName;
/**
* The API ID.
*
* example:
* c625795a1e664782a918eaa629e96ab5
*/
public Builder apiId(String apiId) {
this.apiId = apiId;
return this;
}
/**
* The API name.
*
* example:
* sd2_h5_player_history_competition
*/
public Builder apiName(String apiName) {
this.apiName = apiName;
return this;
}
/**
* The validity period of the authorization.
*
* example:
* Sun, 02 Jan 2022 16:00:00 GMT
*/
public Builder authVaildTime(String authVaildTime) {
this.authVaildTime = authVaildTime;
return this;
}
/**
* The authorization source.
*
* example:
* SELF
*/
public Builder authorizationSource(String authorizationSource) {
this.authorizationSource = authorizationSource;
return this;
}
/**
* The time when the authorization was created.
*
* example:
* Sun, 02 Jan 2022 16:00:00 GMT
*/
public Builder createdTime(String createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* The authorization description.
*
* example:
* b1008kz
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* The ID of the API group.
*
* example:
* 38bed48d664149e4b9b5ea576319673f
*/
public Builder groupId(String groupId) {
this.groupId = groupId;
return this;
}
/**
* The name of the API group.
*
* example:
* wb2022012101605749
*/
public Builder groupName(String groupName) {
this.groupName = groupName;
return this;
}
/**
* The HTTP method of the API.
*
* example:
* GET
*/
public Builder method(String method) {
this.method = method;
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 request path of the API.
*
* example:
* /api/offline/cacheData
*/
public Builder path(String path) {
this.path = path;
return this;
}
/**
* The region ID.
*
* example:
* cn-shanghai
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* The environment alias.
*
* example:
* Online
*/
public Builder stageAlias(String stageAlias) {
this.stageAlias = stageAlias;
return this;
}
/**
* The environment name.
*
* example:
* RELEASE
*/
public Builder stageName(String stageName) {
this.stageName = stageName;
return this;
}
public AppApiRelationInfo build() {
return new AppApiRelationInfo(this);
}
}
}
/**
*
* {@link DescribeApisByAppResponseBody} extends {@link TeaModel}
*
* DescribeApisByAppResponseBody
*/
public static class AppApiRelationInfos extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppApiRelationInfo")
private java.util.List appApiRelationInfo;
private AppApiRelationInfos(Builder builder) {
this.appApiRelationInfo = builder.appApiRelationInfo;
}
public static Builder builder() {
return new Builder();
}
public static AppApiRelationInfos create() {
return builder().build();
}
/**
* @return appApiRelationInfo
*/
public java.util.List getAppApiRelationInfo() {
return this.appApiRelationInfo;
}
public static final class Builder {
private java.util.List appApiRelationInfo;
/**
* AppApiRelationInfo.
*/
public Builder appApiRelationInfo(java.util.List appApiRelationInfo) {
this.appApiRelationInfo = appApiRelationInfo;
return this;
}
public AppApiRelationInfos build() {
return new AppApiRelationInfos(this);
}
}
}
}