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

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

DescribeApiDocResponseBody

*/ public class DescribeApiDocResponseBody extends TeaModel { @NameInMap("ApiId") private String apiId; @NameInMap("ApiName") private String apiName; @NameInMap("AuthType") private String authType; @NameInMap("DeployedTime") private String deployedTime; @NameInMap("Description") private String description; @NameInMap("DisableInternet") private Boolean disableInternet; @NameInMap("ErrorCodeSamples") private ErrorCodeSamples errorCodeSamples; @NameInMap("FailResultSample") private String failResultSample; @NameInMap("ForceNonceCheck") private Boolean forceNonceCheck; @NameInMap("GroupId") private String groupId; @NameInMap("GroupName") private String groupName; @NameInMap("RegionId") private String regionId; @NameInMap("RequestConfig") private RequestConfig requestConfig; @NameInMap("RequestId") private String requestId; @NameInMap("RequestParameters") private RequestParameters requestParameters; @NameInMap("ResultDescriptions") private ResultDescriptions resultDescriptions; @NameInMap("ResultSample") private String resultSample; @NameInMap("ResultType") private String resultType; @NameInMap("StageName") private String stageName; @NameInMap("Visibility") private String visibility; private DescribeApiDocResponseBody(Builder builder) { this.apiId = builder.apiId; this.apiName = builder.apiName; this.authType = builder.authType; this.deployedTime = builder.deployedTime; this.description = builder.description; this.disableInternet = builder.disableInternet; this.errorCodeSamples = builder.errorCodeSamples; this.failResultSample = builder.failResultSample; this.forceNonceCheck = builder.forceNonceCheck; this.groupId = builder.groupId; this.groupName = builder.groupName; this.regionId = builder.regionId; this.requestConfig = builder.requestConfig; this.requestId = builder.requestId; this.requestParameters = builder.requestParameters; this.resultDescriptions = builder.resultDescriptions; this.resultSample = builder.resultSample; this.resultType = builder.resultType; this.stageName = builder.stageName; this.visibility = builder.visibility; } public static Builder builder() { return new Builder(); } public static DescribeApiDocResponseBody create() { return builder().build(); } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return authType */ public String getAuthType() { return this.authType; } /** * @return deployedTime */ public String getDeployedTime() { return this.deployedTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return disableInternet */ public Boolean getDisableInternet() { return this.disableInternet; } /** * @return errorCodeSamples */ public ErrorCodeSamples getErrorCodeSamples() { return this.errorCodeSamples; } /** * @return failResultSample */ public String getFailResultSample() { return this.failResultSample; } /** * @return forceNonceCheck */ public Boolean getForceNonceCheck() { return this.forceNonceCheck; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestConfig */ public RequestConfig getRequestConfig() { return this.requestConfig; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return requestParameters */ public RequestParameters getRequestParameters() { return this.requestParameters; } /** * @return resultDescriptions */ public ResultDescriptions getResultDescriptions() { return this.resultDescriptions; } /** * @return resultSample */ public String getResultSample() { return this.resultSample; } /** * @return resultType */ public String getResultType() { return this.resultType; } /** * @return stageName */ public String getStageName() { return this.stageName; } /** * @return visibility */ public String getVisibility() { return this.visibility; } public static final class Builder { private String apiId; private String apiName; private String authType; private String deployedTime; private String description; private Boolean disableInternet; private ErrorCodeSamples errorCodeSamples; private String failResultSample; private Boolean forceNonceCheck; private String groupId; private String groupName; private String regionId; private RequestConfig requestConfig; private String requestId; private RequestParameters requestParameters; private ResultDescriptions resultDescriptions; private String resultSample; private String resultType; private String stageName; private String visibility; /** * ApiId. */ public Builder apiId(String apiId) { this.apiId = apiId; return this; } /** * ApiName. */ public Builder apiName(String apiName) { this.apiName = apiName; return this; } /** * AuthType. */ public Builder authType(String authType) { this.authType = authType; return this; } /** * DeployedTime. */ public Builder deployedTime(String deployedTime) { this.deployedTime = deployedTime; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * DisableInternet. */ public Builder disableInternet(Boolean disableInternet) { this.disableInternet = disableInternet; return this; } /** * ErrorCodeSamples. */ public Builder errorCodeSamples(ErrorCodeSamples errorCodeSamples) { this.errorCodeSamples = errorCodeSamples; return this; } /** * FailResultSample. */ public Builder failResultSample(String failResultSample) { this.failResultSample = failResultSample; return this; } /** * ForceNonceCheck. */ public Builder forceNonceCheck(Boolean forceNonceCheck) { this.forceNonceCheck = forceNonceCheck; return this; } /** * GroupId. */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } /** * GroupName. */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * RequestConfig. */ public Builder requestConfig(RequestConfig requestConfig) { this.requestConfig = requestConfig; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * RequestParameters. */ public Builder requestParameters(RequestParameters requestParameters) { this.requestParameters = requestParameters; return this; } /** * ResultDescriptions. */ public Builder resultDescriptions(ResultDescriptions resultDescriptions) { this.resultDescriptions = resultDescriptions; return this; } /** * ResultSample. */ public Builder resultSample(String resultSample) { this.resultSample = resultSample; return this; } /** * ResultType. */ public Builder resultType(String resultType) { this.resultType = resultType; return this; } /** * StageName. */ public Builder stageName(String stageName) { this.stageName = stageName; return this; } /** * Visibility. */ public Builder visibility(String visibility) { this.visibility = visibility; return this; } public DescribeApiDocResponseBody build() { return new DescribeApiDocResponseBody(this); } } public static class ErrorCodeSample extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Description") private String description; @NameInMap("Message") private String message; private ErrorCodeSample(Builder builder) { this.code = builder.code; this.description = builder.description; this.message = builder.message; } public static Builder builder() { return new Builder(); } public static ErrorCodeSample create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return description */ public String getDescription() { return this.description; } /** * @return message */ public String getMessage() { return this.message; } public static final class Builder { private String code; private String description; private String message; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } public ErrorCodeSample build() { return new ErrorCodeSample(this); } } } public static class ErrorCodeSamples extends TeaModel { @NameInMap("ErrorCodeSample") private java.util.List < ErrorCodeSample> errorCodeSample; private ErrorCodeSamples(Builder builder) { this.errorCodeSample = builder.errorCodeSample; } public static Builder builder() { return new Builder(); } public static ErrorCodeSamples create() { return builder().build(); } /** * @return errorCodeSample */ public java.util.List < ErrorCodeSample> getErrorCodeSample() { return this.errorCodeSample; } public static final class Builder { private java.util.List < ErrorCodeSample> errorCodeSample; /** * ErrorCodeSample. */ public Builder errorCodeSample(java.util.List < ErrorCodeSample> errorCodeSample) { this.errorCodeSample = errorCodeSample; return this; } public ErrorCodeSamples build() { return new ErrorCodeSamples(this); } } } public static class RequestConfig extends TeaModel { @NameInMap("BodyFormat") private String bodyFormat; @NameInMap("PostBodyDescription") private String postBodyDescription; @NameInMap("RequestHttpMethod") private String requestHttpMethod; @NameInMap("RequestMode") private String requestMode; @NameInMap("RequestPath") private String requestPath; @NameInMap("RequestProtocol") private String requestProtocol; private RequestConfig(Builder builder) { this.bodyFormat = builder.bodyFormat; this.postBodyDescription = builder.postBodyDescription; this.requestHttpMethod = builder.requestHttpMethod; this.requestMode = builder.requestMode; this.requestPath = builder.requestPath; this.requestProtocol = builder.requestProtocol; } public static Builder builder() { return new Builder(); } public static RequestConfig create() { return builder().build(); } /** * @return bodyFormat */ public String getBodyFormat() { return this.bodyFormat; } /** * @return postBodyDescription */ public String getPostBodyDescription() { return this.postBodyDescription; } /** * @return requestHttpMethod */ public String getRequestHttpMethod() { return this.requestHttpMethod; } /** * @return requestMode */ public String getRequestMode() { return this.requestMode; } /** * @return requestPath */ public String getRequestPath() { return this.requestPath; } /** * @return requestProtocol */ public String getRequestProtocol() { return this.requestProtocol; } public static final class Builder { private String bodyFormat; private String postBodyDescription; private String requestHttpMethod; private String requestMode; private String requestPath; private String requestProtocol; /** * BodyFormat. */ public Builder bodyFormat(String bodyFormat) { this.bodyFormat = bodyFormat; return this; } /** * PostBodyDescription. */ public Builder postBodyDescription(String postBodyDescription) { this.postBodyDescription = postBodyDescription; return this; } /** * RequestHttpMethod. */ public Builder requestHttpMethod(String requestHttpMethod) { this.requestHttpMethod = requestHttpMethod; return this; } /** * RequestMode. */ public Builder requestMode(String requestMode) { this.requestMode = requestMode; return this; } /** * RequestPath. */ public Builder requestPath(String requestPath) { this.requestPath = requestPath; return this; } /** * RequestProtocol. */ public Builder requestProtocol(String requestProtocol) { this.requestProtocol = requestProtocol; return this; } public RequestConfig build() { return new RequestConfig(this); } } } public static class RequestParameter extends TeaModel { @NameInMap("ApiParameterName") private String apiParameterName; @NameInMap("ArrayItemsType") private String arrayItemsType; @NameInMap("DefaultValue") private String defaultValue; @NameInMap("DemoValue") private String demoValue; @NameInMap("Description") private String description; @NameInMap("DocOrder") private Integer docOrder; @NameInMap("DocShow") private String docShow; @NameInMap("EnumValue") private String enumValue; @NameInMap("JsonScheme") private String jsonScheme; @NameInMap("Location") private String location; @NameInMap("MaxLength") private Long maxLength; @NameInMap("MaxValue") private Long maxValue; @NameInMap("MinLength") private Long minLength; @NameInMap("MinValue") private Long minValue; @NameInMap("ParameterType") private String parameterType; @NameInMap("RegularExpression") private String regularExpression; @NameInMap("Required") private String required; private RequestParameter(Builder builder) { this.apiParameterName = builder.apiParameterName; this.arrayItemsType = builder.arrayItemsType; this.defaultValue = builder.defaultValue; this.demoValue = builder.demoValue; this.description = builder.description; this.docOrder = builder.docOrder; this.docShow = builder.docShow; this.enumValue = builder.enumValue; this.jsonScheme = builder.jsonScheme; this.location = builder.location; this.maxLength = builder.maxLength; this.maxValue = builder.maxValue; this.minLength = builder.minLength; this.minValue = builder.minValue; this.parameterType = builder.parameterType; this.regularExpression = builder.regularExpression; this.required = builder.required; } public static Builder builder() { return new Builder(); } public static RequestParameter create() { return builder().build(); } /** * @return apiParameterName */ public String getApiParameterName() { return this.apiParameterName; } /** * @return arrayItemsType */ public String getArrayItemsType() { return this.arrayItemsType; } /** * @return defaultValue */ public String getDefaultValue() { return this.defaultValue; } /** * @return demoValue */ public String getDemoValue() { return this.demoValue; } /** * @return description */ public String getDescription() { return this.description; } /** * @return docOrder */ public Integer getDocOrder() { return this.docOrder; } /** * @return docShow */ public String getDocShow() { return this.docShow; } /** * @return enumValue */ public String getEnumValue() { return this.enumValue; } /** * @return jsonScheme */ public String getJsonScheme() { return this.jsonScheme; } /** * @return location */ public String getLocation() { return this.location; } /** * @return maxLength */ public Long getMaxLength() { return this.maxLength; } /** * @return maxValue */ public Long getMaxValue() { return this.maxValue; } /** * @return minLength */ public Long getMinLength() { return this.minLength; } /** * @return minValue */ public Long getMinValue() { return this.minValue; } /** * @return parameterType */ public String getParameterType() { return this.parameterType; } /** * @return regularExpression */ public String getRegularExpression() { return this.regularExpression; } /** * @return required */ public String getRequired() { return this.required; } public static final class Builder { private String apiParameterName; private String arrayItemsType; private String defaultValue; private String demoValue; private String description; private Integer docOrder; private String docShow; private String enumValue; private String jsonScheme; private String location; private Long maxLength; private Long maxValue; private Long minLength; private Long minValue; private String parameterType; private String regularExpression; private String required; /** * ApiParameterName. */ public Builder apiParameterName(String apiParameterName) { this.apiParameterName = apiParameterName; return this; } /** * ArrayItemsType. */ public Builder arrayItemsType(String arrayItemsType) { this.arrayItemsType = arrayItemsType; return this; } /** * DefaultValue. */ public Builder defaultValue(String defaultValue) { this.defaultValue = defaultValue; return this; } /** * DemoValue. */ public Builder demoValue(String demoValue) { this.demoValue = demoValue; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * DocOrder. */ public Builder docOrder(Integer docOrder) { this.docOrder = docOrder; return this; } /** * DocShow. */ public Builder docShow(String docShow) { this.docShow = docShow; return this; } /** * EnumValue. */ public Builder enumValue(String enumValue) { this.enumValue = enumValue; return this; } /** * JSON scheme */ public Builder jsonScheme(String jsonScheme) { this.jsonScheme = jsonScheme; return this; } /** * Location. */ public Builder location(String location) { this.location = location; return this; } /** * MaxLength. */ public Builder maxLength(Long maxLength) { this.maxLength = maxLength; return this; } /** * MaxValue. */ public Builder maxValue(Long maxValue) { this.maxValue = maxValue; return this; } /** * MinLength. */ public Builder minLength(Long minLength) { this.minLength = minLength; return this; } /** * MinValue. */ public Builder minValue(Long minValue) { this.minValue = minValue; return this; } /** * ParameterType. */ public Builder parameterType(String parameterType) { this.parameterType = parameterType; return this; } /** * RegularExpression. */ public Builder regularExpression(String regularExpression) { this.regularExpression = regularExpression; return this; } /** * Required. */ public Builder required(String required) { this.required = required; return this; } public RequestParameter build() { return new RequestParameter(this); } } } public static class RequestParameters extends TeaModel { @NameInMap("RequestParameter") private java.util.List < RequestParameter> requestParameter; private RequestParameters(Builder builder) { this.requestParameter = builder.requestParameter; } public static Builder builder() { return new Builder(); } public static RequestParameters create() { return builder().build(); } /** * @return requestParameter */ public java.util.List < RequestParameter> getRequestParameter() { return this.requestParameter; } public static final class Builder { private java.util.List < RequestParameter> requestParameter; /** * RequestParameter. */ public Builder requestParameter(java.util.List < RequestParameter> requestParameter) { this.requestParameter = requestParameter; return this; } public RequestParameters build() { return new RequestParameters(this); } } } public static class ResultDescription extends TeaModel { @NameInMap("Description") private String description; @NameInMap("HasChild") private Boolean hasChild; @NameInMap("Id") private String id; @NameInMap("Key") private String key; @NameInMap("Mandatory") private Boolean mandatory; @NameInMap("Name") private String name; @NameInMap("Pid") private String pid; @NameInMap("Type") private String type; private ResultDescription(Builder builder) { this.description = builder.description; this.hasChild = builder.hasChild; this.id = builder.id; this.key = builder.key; this.mandatory = builder.mandatory; this.name = builder.name; this.pid = builder.pid; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static ResultDescription create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return hasChild */ public Boolean getHasChild() { return this.hasChild; } /** * @return id */ public String getId() { return this.id; } /** * @return key */ public String getKey() { return this.key; } /** * @return mandatory */ public Boolean getMandatory() { return this.mandatory; } /** * @return name */ public String getName() { return this.name; } /** * @return pid */ public String getPid() { return this.pid; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String description; private Boolean hasChild; private String id; private String key; private Boolean mandatory; private String name; private String pid; private String type; /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * HasChild. */ public Builder hasChild(Boolean hasChild) { this.hasChild = hasChild; return this; } /** * Id. */ public Builder id(String id) { this.id = id; return this; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Mandatory. */ public Builder mandatory(Boolean mandatory) { this.mandatory = mandatory; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Pid. */ public Builder pid(String pid) { this.pid = pid; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } public ResultDescription build() { return new ResultDescription(this); } } } public static class ResultDescriptions extends TeaModel { @NameInMap("ResultDescription") private java.util.List < ResultDescription> resultDescription; private ResultDescriptions(Builder builder) { this.resultDescription = builder.resultDescription; } public static Builder builder() { return new Builder(); } public static ResultDescriptions create() { return builder().build(); } /** * @return resultDescription */ public java.util.List < ResultDescription> getResultDescription() { return this.resultDescription; } public static final class Builder { private java.util.List < ResultDescription> resultDescription; /** * ResultDescription. */ public Builder resultDescription(java.util.List < ResultDescription> resultDescription) { this.resultDescription = resultDescription; return this; } public ResultDescriptions build() { return new ResultDescriptions(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy