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

com.aliyun.sdk.service.cloudapi20160701.models.DescribeApiResponseBody Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160701.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeApiResponseBody} extends {@link TeaModel}
 *
 * 

DescribeApiResponseBody

*/ public class DescribeApiResponseBody extends TeaModel { @NameInMap("AllowSignatureMethod") private String allowSignatureMethod; @NameInMap("ApiId") private String apiId; @NameInMap("ApiName") private String apiName; @NameInMap("AppCodeAuthType") private String appCodeAuthType; @NameInMap("AuthType") private String authType; @NameInMap("ConstantParameters") private ConstantParameters constantParameters; @NameInMap("CreatedTime") private String createdTime; @NameInMap("CustomSystemParameters") private CustomSystemParameters customSystemParameters; @NameInMap("DeployedInfos") private DeployedInfos deployedInfos; @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("Mock") private String mock; @NameInMap("MockResult") private String mockResult; @NameInMap("ModifiedTime") private String modifiedTime; @NameInMap("OpenIdConnectConfig") private OpenIdConnectConfig openIdConnectConfig; @NameInMap("OriginResultDescription") private String originResultDescription; @NameInMap("ParametersMapObject") private ParametersMapObject parametersMapObject; @NameInMap("RegionId") private String regionId; @NameInMap("RequestConfig") private RequestConfig requestConfig; @NameInMap("RequestId") private String requestId; @NameInMap("RequestParametersObject") private RequestParametersObject requestParametersObject; @NameInMap("ResultBodyModel") private String resultBodyModel; @NameInMap("ResultSample") private String resultSample; @NameInMap("ResultType") private String resultType; @NameInMap("ServiceConfig") private ServiceConfig serviceConfig; @NameInMap("ServiceParametersObject") private ServiceParametersObject serviceParametersObject; @NameInMap("SystemParameters") private SystemParameters systemParameters; @NameInMap("Visibility") private String visibility; @NameInMap("WebSocketApiType") private String webSocketApiType; private DescribeApiResponseBody(Builder builder) { this.allowSignatureMethod = builder.allowSignatureMethod; this.apiId = builder.apiId; this.apiName = builder.apiName; this.appCodeAuthType = builder.appCodeAuthType; this.authType = builder.authType; this.constantParameters = builder.constantParameters; this.createdTime = builder.createdTime; this.customSystemParameters = builder.customSystemParameters; this.deployedInfos = builder.deployedInfos; 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.mock = builder.mock; this.mockResult = builder.mockResult; this.modifiedTime = builder.modifiedTime; this.openIdConnectConfig = builder.openIdConnectConfig; this.originResultDescription = builder.originResultDescription; this.parametersMapObject = builder.parametersMapObject; this.regionId = builder.regionId; this.requestConfig = builder.requestConfig; this.requestId = builder.requestId; this.requestParametersObject = builder.requestParametersObject; this.resultBodyModel = builder.resultBodyModel; this.resultSample = builder.resultSample; this.resultType = builder.resultType; this.serviceConfig = builder.serviceConfig; this.serviceParametersObject = builder.serviceParametersObject; this.systemParameters = builder.systemParameters; this.visibility = builder.visibility; this.webSocketApiType = builder.webSocketApiType; } public static Builder builder() { return new Builder(); } public static DescribeApiResponseBody create() { return builder().build(); } /** * @return allowSignatureMethod */ public String getAllowSignatureMethod() { return this.allowSignatureMethod; } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return appCodeAuthType */ public String getAppCodeAuthType() { return this.appCodeAuthType; } /** * @return authType */ public String getAuthType() { return this.authType; } /** * @return constantParameters */ public ConstantParameters getConstantParameters() { return this.constantParameters; } /** * @return createdTime */ public String getCreatedTime() { return this.createdTime; } /** * @return customSystemParameters */ public CustomSystemParameters getCustomSystemParameters() { return this.customSystemParameters; } /** * @return deployedInfos */ public DeployedInfos getDeployedInfos() { return this.deployedInfos; } /** * @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 mock */ public String getMock() { return this.mock; } /** * @return mockResult */ public String getMockResult() { return this.mockResult; } /** * @return modifiedTime */ public String getModifiedTime() { return this.modifiedTime; } /** * @return openIdConnectConfig */ public OpenIdConnectConfig getOpenIdConnectConfig() { return this.openIdConnectConfig; } /** * @return originResultDescription */ public String getOriginResultDescription() { return this.originResultDescription; } /** * @return parametersMapObject */ public ParametersMapObject getParametersMapObject() { return this.parametersMapObject; } /** * @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 requestParametersObject */ public RequestParametersObject getRequestParametersObject() { return this.requestParametersObject; } /** * @return resultBodyModel */ public String getResultBodyModel() { return this.resultBodyModel; } /** * @return resultSample */ public String getResultSample() { return this.resultSample; } /** * @return resultType */ public String getResultType() { return this.resultType; } /** * @return serviceConfig */ public ServiceConfig getServiceConfig() { return this.serviceConfig; } /** * @return serviceParametersObject */ public ServiceParametersObject getServiceParametersObject() { return this.serviceParametersObject; } /** * @return systemParameters */ public SystemParameters getSystemParameters() { return this.systemParameters; } /** * @return visibility */ public String getVisibility() { return this.visibility; } /** * @return webSocketApiType */ public String getWebSocketApiType() { return this.webSocketApiType; } public static final class Builder { private String allowSignatureMethod; private String apiId; private String apiName; private String appCodeAuthType; private String authType; private ConstantParameters constantParameters; private String createdTime; private CustomSystemParameters customSystemParameters; private DeployedInfos deployedInfos; private String description; private Boolean disableInternet; private ErrorCodeSamples errorCodeSamples; private String failResultSample; private Boolean forceNonceCheck; private String groupId; private String groupName; private String mock; private String mockResult; private String modifiedTime; private OpenIdConnectConfig openIdConnectConfig; private String originResultDescription; private ParametersMapObject parametersMapObject; private String regionId; private RequestConfig requestConfig; private String requestId; private RequestParametersObject requestParametersObject; private String resultBodyModel; private String resultSample; private String resultType; private ServiceConfig serviceConfig; private ServiceParametersObject serviceParametersObject; private SystemParameters systemParameters; private String visibility; private String webSocketApiType; /** * AllowSignatureMethod. */ public Builder allowSignatureMethod(String allowSignatureMethod) { this.allowSignatureMethod = allowSignatureMethod; return this; } /** * ApiId. */ public Builder apiId(String apiId) { this.apiId = apiId; return this; } /** * ApiName. */ public Builder apiName(String apiName) { this.apiName = apiName; return this; } /** * AppCodeAuthType. */ public Builder appCodeAuthType(String appCodeAuthType) { this.appCodeAuthType = appCodeAuthType; return this; } /** * AuthType. */ public Builder authType(String authType) { this.authType = authType; return this; } /** * ConstantParameters. */ public Builder constantParameters(ConstantParameters constantParameters) { this.constantParameters = constantParameters; return this; } /** * CreatedTime. */ public Builder createdTime(String createdTime) { this.createdTime = createdTime; return this; } /** * CustomSystemParameters. */ public Builder customSystemParameters(CustomSystemParameters customSystemParameters) { this.customSystemParameters = customSystemParameters; return this; } /** * DeployedInfos. */ public Builder deployedInfos(DeployedInfos deployedInfos) { this.deployedInfos = deployedInfos; 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; } /** * Mock. */ public Builder mock(String mock) { this.mock = mock; return this; } /** * MockResult. */ public Builder mockResult(String mockResult) { this.mockResult = mockResult; return this; } /** * ModifiedTime. */ public Builder modifiedTime(String modifiedTime) { this.modifiedTime = modifiedTime; return this; } /** * OpenIdConnectConfig. */ public Builder openIdConnectConfig(OpenIdConnectConfig openIdConnectConfig) { this.openIdConnectConfig = openIdConnectConfig; return this; } /** * OriginResultDescription. */ public Builder originResultDescription(String originResultDescription) { this.originResultDescription = originResultDescription; return this; } /** * ParametersMapObject. */ public Builder parametersMapObject(ParametersMapObject parametersMapObject) { this.parametersMapObject = parametersMapObject; 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; } /** * RequestParametersObject. */ public Builder requestParametersObject(RequestParametersObject requestParametersObject) { this.requestParametersObject = requestParametersObject; return this; } /** * ResultBodyModel. */ public Builder resultBodyModel(String resultBodyModel) { this.resultBodyModel = resultBodyModel; return this; } /** * ResultSample. */ public Builder resultSample(String resultSample) { this.resultSample = resultSample; return this; } /** * ResultType. */ public Builder resultType(String resultType) { this.resultType = resultType; return this; } /** * ServiceConfig. */ public Builder serviceConfig(ServiceConfig serviceConfig) { this.serviceConfig = serviceConfig; return this; } /** * ServiceParametersObject. */ public Builder serviceParametersObject(ServiceParametersObject serviceParametersObject) { this.serviceParametersObject = serviceParametersObject; return this; } /** * SystemParameters. */ public Builder systemParameters(SystemParameters systemParameters) { this.systemParameters = systemParameters; return this; } /** * Visibility. */ public Builder visibility(String visibility) { this.visibility = visibility; return this; } /** * WebSocketApiType. */ public Builder webSocketApiType(String webSocketApiType) { this.webSocketApiType = webSocketApiType; return this; } public DescribeApiResponseBody build() { return new DescribeApiResponseBody(this); } } public static class ConstantParameter extends TeaModel { @NameInMap("ConstantValue") private String constantValue; @NameInMap("Description") private String description; @NameInMap("Location") private String location; @NameInMap("ServiceParameterName") private String serviceParameterName; private ConstantParameter(Builder builder) { this.constantValue = builder.constantValue; this.description = builder.description; this.location = builder.location; this.serviceParameterName = builder.serviceParameterName; } public static Builder builder() { return new Builder(); } public static ConstantParameter create() { return builder().build(); } /** * @return constantValue */ public String getConstantValue() { return this.constantValue; } /** * @return description */ public String getDescription() { return this.description; } /** * @return location */ public String getLocation() { return this.location; } /** * @return serviceParameterName */ public String getServiceParameterName() { return this.serviceParameterName; } public static final class Builder { private String constantValue; private String description; private String location; private String serviceParameterName; /** * ConstantValue. */ public Builder constantValue(String constantValue) { this.constantValue = constantValue; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * Location. */ public Builder location(String location) { this.location = location; return this; } /** * ServiceParameterName. */ public Builder serviceParameterName(String serviceParameterName) { this.serviceParameterName = serviceParameterName; return this; } public ConstantParameter build() { return new ConstantParameter(this); } } } public static class ConstantParameters extends TeaModel { @NameInMap("ConstantParameter") private java.util.List < ConstantParameter> constantParameter; private ConstantParameters(Builder builder) { this.constantParameter = builder.constantParameter; } public static Builder builder() { return new Builder(); } public static ConstantParameters create() { return builder().build(); } /** * @return constantParameter */ public java.util.List < ConstantParameter> getConstantParameter() { return this.constantParameter; } public static final class Builder { private java.util.List < ConstantParameter> constantParameter; /** * ConstantParameter. */ public Builder constantParameter(java.util.List < ConstantParameter> constantParameter) { this.constantParameter = constantParameter; return this; } public ConstantParameters build() { return new ConstantParameters(this); } } } public static class CustomSystemParameter extends TeaModel { @NameInMap("DemoValue") private String demoValue; @NameInMap("Description") private String description; @NameInMap("Location") private String location; @NameInMap("ParameterName") private String parameterName; @NameInMap("ServiceParameterName") private String serviceParameterName; private CustomSystemParameter(Builder builder) { this.demoValue = builder.demoValue; this.description = builder.description; this.location = builder.location; this.parameterName = builder.parameterName; this.serviceParameterName = builder.serviceParameterName; } public static Builder builder() { return new Builder(); } public static CustomSystemParameter create() { return builder().build(); } /** * @return demoValue */ public String getDemoValue() { return this.demoValue; } /** * @return description */ public String getDescription() { return this.description; } /** * @return location */ public String getLocation() { return this.location; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return serviceParameterName */ public String getServiceParameterName() { return this.serviceParameterName; } public static final class Builder { private String demoValue; private String description; private String location; private String parameterName; private String serviceParameterName; /** * DemoValue. */ public Builder demoValue(String demoValue) { this.demoValue = demoValue; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * Location. */ public Builder location(String location) { this.location = location; return this; } /** * ParameterName. */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * ServiceParameterName. */ public Builder serviceParameterName(String serviceParameterName) { this.serviceParameterName = serviceParameterName; return this; } public CustomSystemParameter build() { return new CustomSystemParameter(this); } } } public static class CustomSystemParameters extends TeaModel { @NameInMap("CustomSystemParameter") private java.util.List < CustomSystemParameter> customSystemParameter; private CustomSystemParameters(Builder builder) { this.customSystemParameter = builder.customSystemParameter; } public static Builder builder() { return new Builder(); } public static CustomSystemParameters create() { return builder().build(); } /** * @return customSystemParameter */ public java.util.List < CustomSystemParameter> getCustomSystemParameter() { return this.customSystemParameter; } public static final class Builder { private java.util.List < CustomSystemParameter> customSystemParameter; /** * CustomSystemParameter. */ public Builder customSystemParameter(java.util.List < CustomSystemParameter> customSystemParameter) { this.customSystemParameter = customSystemParameter; return this; } public CustomSystemParameters build() { return new CustomSystemParameters(this); } } } public static class DeployedInfo extends TeaModel { @NameInMap("DeployedStatus") private String deployedStatus; @NameInMap("EffectiveVersion") private String effectiveVersion; @NameInMap("StageName") private String stageName; private DeployedInfo(Builder builder) { this.deployedStatus = builder.deployedStatus; this.effectiveVersion = builder.effectiveVersion; this.stageName = builder.stageName; } public static Builder builder() { return new Builder(); } public static DeployedInfo create() { return builder().build(); } /** * @return deployedStatus */ public String getDeployedStatus() { return this.deployedStatus; } /** * @return effectiveVersion */ public String getEffectiveVersion() { return this.effectiveVersion; } /** * @return stageName */ public String getStageName() { return this.stageName; } public static final class Builder { private String deployedStatus; private String effectiveVersion; private String stageName; /** * DeployedStatus. */ public Builder deployedStatus(String deployedStatus) { this.deployedStatus = deployedStatus; return this; } /** * EffectiveVersion. */ public Builder effectiveVersion(String effectiveVersion) { this.effectiveVersion = effectiveVersion; return this; } /** * StageName. */ public Builder stageName(String stageName) { this.stageName = stageName; return this; } public DeployedInfo build() { return new DeployedInfo(this); } } } public static class DeployedInfos extends TeaModel { @NameInMap("DeployedInfo") private java.util.List < DeployedInfo> deployedInfo; private DeployedInfos(Builder builder) { this.deployedInfo = builder.deployedInfo; } public static Builder builder() { return new Builder(); } public static DeployedInfos create() { return builder().build(); } /** * @return deployedInfo */ public java.util.List < DeployedInfo> getDeployedInfo() { return this.deployedInfo; } public static final class Builder { private java.util.List < DeployedInfo> deployedInfo; /** * DeployedInfo. */ public Builder deployedInfo(java.util.List < DeployedInfo> deployedInfo) { this.deployedInfo = deployedInfo; return this; } public DeployedInfos build() { return new DeployedInfos(this); } } } public static class ErrorCodeSample extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Description") private String description; @NameInMap("Message") private String message; @NameInMap("Model") private String model; private ErrorCodeSample(Builder builder) { this.code = builder.code; this.description = builder.description; this.message = builder.message; this.model = builder.model; } 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; } /** * @return model */ public String getModel() { return this.model; } public static final class Builder { private String code; private String description; private String message; private String model; /** * 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; } /** * Model. */ public Builder model(String model) { this.model = model; 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 OpenIdConnectConfig extends TeaModel { @NameInMap("IdTokenParamName") private String idTokenParamName; @NameInMap("OpenIdApiType") private String openIdApiType; @NameInMap("PublicKey") private String publicKey; @NameInMap("PublicKeyId") private String publicKeyId; private OpenIdConnectConfig(Builder builder) { this.idTokenParamName = builder.idTokenParamName; this.openIdApiType = builder.openIdApiType; this.publicKey = builder.publicKey; this.publicKeyId = builder.publicKeyId; } public static Builder builder() { return new Builder(); } public static OpenIdConnectConfig create() { return builder().build(); } /** * @return idTokenParamName */ public String getIdTokenParamName() { return this.idTokenParamName; } /** * @return openIdApiType */ public String getOpenIdApiType() { return this.openIdApiType; } /** * @return publicKey */ public String getPublicKey() { return this.publicKey; } /** * @return publicKeyId */ public String getPublicKeyId() { return this.publicKeyId; } public static final class Builder { private String idTokenParamName; private String openIdApiType; private String publicKey; private String publicKeyId; /** * IdTokenParamName. */ public Builder idTokenParamName(String idTokenParamName) { this.idTokenParamName = idTokenParamName; return this; } /** * OpenIdApiType. */ public Builder openIdApiType(String openIdApiType) { this.openIdApiType = openIdApiType; return this; } /** * PublicKey. */ public Builder publicKey(String publicKey) { this.publicKey = publicKey; return this; } /** * PublicKeyId. */ public Builder publicKeyId(String publicKeyId) { this.publicKeyId = publicKeyId; return this; } public OpenIdConnectConfig build() { return new OpenIdConnectConfig(this); } } } public static class ServiceParameterMap extends TeaModel { @NameInMap("RequestParameterName") private String requestParameterName; @NameInMap("ServiceParameterName") private String serviceParameterName; private ServiceParameterMap(Builder builder) { this.requestParameterName = builder.requestParameterName; this.serviceParameterName = builder.serviceParameterName; } public static Builder builder() { return new Builder(); } public static ServiceParameterMap create() { return builder().build(); } /** * @return requestParameterName */ public String getRequestParameterName() { return this.requestParameterName; } /** * @return serviceParameterName */ public String getServiceParameterName() { return this.serviceParameterName; } public static final class Builder { private String requestParameterName; private String serviceParameterName; /** * RequestParameterName. */ public Builder requestParameterName(String requestParameterName) { this.requestParameterName = requestParameterName; return this; } /** * ServiceParameterName. */ public Builder serviceParameterName(String serviceParameterName) { this.serviceParameterName = serviceParameterName; return this; } public ServiceParameterMap build() { return new ServiceParameterMap(this); } } } public static class ParametersMapObject extends TeaModel { @NameInMap("ServiceParameterMap") private java.util.List < ServiceParameterMap> serviceParameterMap; private ParametersMapObject(Builder builder) { this.serviceParameterMap = builder.serviceParameterMap; } public static Builder builder() { return new Builder(); } public static ParametersMapObject create() { return builder().build(); } /** * @return serviceParameterMap */ public java.util.List < ServiceParameterMap> getServiceParameterMap() { return this.serviceParameterMap; } public static final class Builder { private java.util.List < ServiceParameterMap> serviceParameterMap; /** * ServiceParameterMap. */ public Builder serviceParameterMap(java.util.List < ServiceParameterMap> serviceParameterMap) { this.serviceParameterMap = serviceParameterMap; return this; } public ParametersMapObject build() { return new ParametersMapObject(this); } } } public static class RequestConfig extends TeaModel { @NameInMap("BodyFormat") private String bodyFormat; @NameInMap("BodyModel") private String bodyModel; @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.bodyModel = builder.bodyModel; 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 bodyModel */ public String getBodyModel() { return this.bodyModel; } /** * @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 bodyModel; 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; } /** * BodyModel. */ public Builder bodyModel(String bodyModel) { this.bodyModel = bodyModel; 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 RequestParam 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 String 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 RequestParam(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 RequestParam 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 String 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 String 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(String 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; } /** * JsonScheme. */ 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 RequestParam build() { return new RequestParam(this); } } } public static class RequestParametersObject extends TeaModel { @NameInMap("RequestParam") private java.util.List < RequestParam> requestParam; private RequestParametersObject(Builder builder) { this.requestParam = builder.requestParam; } public static Builder builder() { return new Builder(); } public static RequestParametersObject create() { return builder().build(); } /** * @return requestParam */ public java.util.List < RequestParam> getRequestParam() { return this.requestParam; } public static final class Builder { private java.util.List < RequestParam> requestParam; /** * RequestParam. */ public Builder requestParam(java.util.List < RequestParam> requestParam) { this.requestParam = requestParam; return this; } public RequestParametersObject build() { return new RequestParametersObject(this); } } } public static class FunctionComputeConfig extends TeaModel { @NameInMap("FcRegionId") private String fcRegionId; @NameInMap("FunctionName") private String functionName; @NameInMap("Qualifier") private String qualifier; @NameInMap("RoleArn") private String roleArn; @NameInMap("ServiceName") private String serviceName; private FunctionComputeConfig(Builder builder) { this.fcRegionId = builder.fcRegionId; this.functionName = builder.functionName; this.qualifier = builder.qualifier; this.roleArn = builder.roleArn; this.serviceName = builder.serviceName; } public static Builder builder() { return new Builder(); } public static FunctionComputeConfig create() { return builder().build(); } /** * @return fcRegionId */ public String getFcRegionId() { return this.fcRegionId; } /** * @return functionName */ public String getFunctionName() { return this.functionName; } /** * @return qualifier */ public String getQualifier() { return this.qualifier; } /** * @return roleArn */ public String getRoleArn() { return this.roleArn; } /** * @return serviceName */ public String getServiceName() { return this.serviceName; } public static final class Builder { private String fcRegionId; private String functionName; private String qualifier; private String roleArn; private String serviceName; /** * FcRegionId. */ public Builder fcRegionId(String fcRegionId) { this.fcRegionId = fcRegionId; return this; } /** * FunctionName. */ public Builder functionName(String functionName) { this.functionName = functionName; return this; } /** * Qualifier. */ public Builder qualifier(String qualifier) { this.qualifier = qualifier; return this; } /** * RoleArn. */ public Builder roleArn(String roleArn) { this.roleArn = roleArn; return this; } /** * ServiceName. */ public Builder serviceName(String serviceName) { this.serviceName = serviceName; return this; } public FunctionComputeConfig build() { return new FunctionComputeConfig(this); } } } public static class MockHeader extends TeaModel { @NameInMap("HeaderName") private String headerName; @NameInMap("HeaderValue") private String headerValue; private MockHeader(Builder builder) { this.headerName = builder.headerName; this.headerValue = builder.headerValue; } public static Builder builder() { return new Builder(); } public static MockHeader create() { return builder().build(); } /** * @return headerName */ public String getHeaderName() { return this.headerName; } /** * @return headerValue */ public String getHeaderValue() { return this.headerValue; } public static final class Builder { private String headerName; private String headerValue; /** * HeaderName. */ public Builder headerName(String headerName) { this.headerName = headerName; return this; } /** * HeaderValue. */ public Builder headerValue(String headerValue) { this.headerValue = headerValue; return this; } public MockHeader build() { return new MockHeader(this); } } } public static class MockHeaders extends TeaModel { @NameInMap("MockHeader") private java.util.List < MockHeader> mockHeader; private MockHeaders(Builder builder) { this.mockHeader = builder.mockHeader; } public static Builder builder() { return new Builder(); } public static MockHeaders create() { return builder().build(); } /** * @return mockHeader */ public java.util.List < MockHeader> getMockHeader() { return this.mockHeader; } public static final class Builder { private java.util.List < MockHeader> mockHeader; /** * MockHeader. */ public Builder mockHeader(java.util.List < MockHeader> mockHeader) { this.mockHeader = mockHeader; return this; } public MockHeaders build() { return new MockHeaders(this); } } } public static class VpcConfig extends TeaModel { @NameInMap("Id") private String id; @NameInMap("InstanceId") private String instanceId; @NameInMap("Name") private String name; @NameInMap("Port") private Integer port; @NameInMap("VpcId") private String vpcId; @NameInMap("VpcScheme") private String vpcScheme; private VpcConfig(Builder builder) { this.id = builder.id; this.instanceId = builder.instanceId; this.name = builder.name; this.port = builder.port; this.vpcId = builder.vpcId; this.vpcScheme = builder.vpcScheme; } public static Builder builder() { return new Builder(); } public static VpcConfig create() { return builder().build(); } /** * @return id */ public String getId() { return this.id; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return name */ public String getName() { return this.name; } /** * @return port */ public Integer getPort() { return this.port; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return vpcScheme */ public String getVpcScheme() { return this.vpcScheme; } public static final class Builder { private String id; private String instanceId; private String name; private Integer port; private String vpcId; private String vpcScheme; /** * Id. */ public Builder id(String id) { this.id = id; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Port. */ public Builder port(Integer port) { this.port = port; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * VpcScheme. */ public Builder vpcScheme(String vpcScheme) { this.vpcScheme = vpcScheme; return this; } public VpcConfig build() { return new VpcConfig(this); } } } public static class ServiceConfig extends TeaModel { @NameInMap("AoneAppName") private String aoneAppName; @NameInMap("ContentTypeCatagory") private String contentTypeCatagory; @NameInMap("ContentTypeValue") private String contentTypeValue; @NameInMap("FunctionComputeConfig") private FunctionComputeConfig functionComputeConfig; @NameInMap("InnerServiceInfo") private String innerServiceInfo; @NameInMap("InnerServiceType") private String innerServiceType; @NameInMap("Mock") private String mock; @NameInMap("MockHeaders") private MockHeaders mockHeaders; @NameInMap("MockResult") private String mockResult; @NameInMap("MockStatusCode") private Integer mockStatusCode; @NameInMap("ServiceAddress") private String serviceAddress; @NameInMap("ServiceHttpMethod") private String serviceHttpMethod; @NameInMap("ServicePath") private String servicePath; @NameInMap("ServiceProtocol") private String serviceProtocol; @NameInMap("ServiceTimeout") private String serviceTimeout; @NameInMap("ServiceVpcEnable") private String serviceVpcEnable; @NameInMap("VpcConfig") private VpcConfig vpcConfig; private ServiceConfig(Builder builder) { this.aoneAppName = builder.aoneAppName; this.contentTypeCatagory = builder.contentTypeCatagory; this.contentTypeValue = builder.contentTypeValue; this.functionComputeConfig = builder.functionComputeConfig; this.innerServiceInfo = builder.innerServiceInfo; this.innerServiceType = builder.innerServiceType; this.mock = builder.mock; this.mockHeaders = builder.mockHeaders; this.mockResult = builder.mockResult; this.mockStatusCode = builder.mockStatusCode; this.serviceAddress = builder.serviceAddress; this.serviceHttpMethod = builder.serviceHttpMethod; this.servicePath = builder.servicePath; this.serviceProtocol = builder.serviceProtocol; this.serviceTimeout = builder.serviceTimeout; this.serviceVpcEnable = builder.serviceVpcEnable; this.vpcConfig = builder.vpcConfig; } public static Builder builder() { return new Builder(); } public static ServiceConfig create() { return builder().build(); } /** * @return aoneAppName */ public String getAoneAppName() { return this.aoneAppName; } /** * @return contentTypeCatagory */ public String getContentTypeCatagory() { return this.contentTypeCatagory; } /** * @return contentTypeValue */ public String getContentTypeValue() { return this.contentTypeValue; } /** * @return functionComputeConfig */ public FunctionComputeConfig getFunctionComputeConfig() { return this.functionComputeConfig; } /** * @return innerServiceInfo */ public String getInnerServiceInfo() { return this.innerServiceInfo; } /** * @return innerServiceType */ public String getInnerServiceType() { return this.innerServiceType; } /** * @return mock */ public String getMock() { return this.mock; } /** * @return mockHeaders */ public MockHeaders getMockHeaders() { return this.mockHeaders; } /** * @return mockResult */ public String getMockResult() { return this.mockResult; } /** * @return mockStatusCode */ public Integer getMockStatusCode() { return this.mockStatusCode; } /** * @return serviceAddress */ public String getServiceAddress() { return this.serviceAddress; } /** * @return serviceHttpMethod */ public String getServiceHttpMethod() { return this.serviceHttpMethod; } /** * @return servicePath */ public String getServicePath() { return this.servicePath; } /** * @return serviceProtocol */ public String getServiceProtocol() { return this.serviceProtocol; } /** * @return serviceTimeout */ public String getServiceTimeout() { return this.serviceTimeout; } /** * @return serviceVpcEnable */ public String getServiceVpcEnable() { return this.serviceVpcEnable; } /** * @return vpcConfig */ public VpcConfig getVpcConfig() { return this.vpcConfig; } public static final class Builder { private String aoneAppName; private String contentTypeCatagory; private String contentTypeValue; private FunctionComputeConfig functionComputeConfig; private String innerServiceInfo; private String innerServiceType; private String mock; private MockHeaders mockHeaders; private String mockResult; private Integer mockStatusCode; private String serviceAddress; private String serviceHttpMethod; private String servicePath; private String serviceProtocol; private String serviceTimeout; private String serviceVpcEnable; private VpcConfig vpcConfig; /** * AoneAppName. */ public Builder aoneAppName(String aoneAppName) { this.aoneAppName = aoneAppName; return this; } /** * ContentTypeCatagory. */ public Builder contentTypeCatagory(String contentTypeCatagory) { this.contentTypeCatagory = contentTypeCatagory; return this; } /** * ContentTypeValue. */ public Builder contentTypeValue(String contentTypeValue) { this.contentTypeValue = contentTypeValue; return this; } /** * FunctionComputeConfig. */ public Builder functionComputeConfig(FunctionComputeConfig functionComputeConfig) { this.functionComputeConfig = functionComputeConfig; return this; } /** * InnerServiceInfo. */ public Builder innerServiceInfo(String innerServiceInfo) { this.innerServiceInfo = innerServiceInfo; return this; } /** * InnerServiceType. */ public Builder innerServiceType(String innerServiceType) { this.innerServiceType = innerServiceType; return this; } /** * Mock. */ public Builder mock(String mock) { this.mock = mock; return this; } /** * MockHeaders. */ public Builder mockHeaders(MockHeaders mockHeaders) { this.mockHeaders = mockHeaders; return this; } /** * MockResult. */ public Builder mockResult(String mockResult) { this.mockResult = mockResult; return this; } /** * MockStatusCode. */ public Builder mockStatusCode(Integer mockStatusCode) { this.mockStatusCode = mockStatusCode; return this; } /** * ServiceAddress. */ public Builder serviceAddress(String serviceAddress) { this.serviceAddress = serviceAddress; return this; } /** * ServiceHttpMethod. */ public Builder serviceHttpMethod(String serviceHttpMethod) { this.serviceHttpMethod = serviceHttpMethod; return this; } /** * ServicePath. */ public Builder servicePath(String servicePath) { this.servicePath = servicePath; return this; } /** * ServiceProtocol. */ public Builder serviceProtocol(String serviceProtocol) { this.serviceProtocol = serviceProtocol; return this; } /** * ServiceTimeout. */ public Builder serviceTimeout(String serviceTimeout) { this.serviceTimeout = serviceTimeout; return this; } /** * ServiceVpcEnable. */ public Builder serviceVpcEnable(String serviceVpcEnable) { this.serviceVpcEnable = serviceVpcEnable; return this; } /** * VpcConfig. */ public Builder vpcConfig(VpcConfig vpcConfig) { this.vpcConfig = vpcConfig; return this; } public ServiceConfig build() { return new ServiceConfig(this); } } } public static class ServiceParam extends TeaModel { @NameInMap("Location") private String location; @NameInMap("ServiceParameterName") private String serviceParameterName; @NameInMap("Type") private String type; private ServiceParam(Builder builder) { this.location = builder.location; this.serviceParameterName = builder.serviceParameterName; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static ServiceParam create() { return builder().build(); } /** * @return location */ public String getLocation() { return this.location; } /** * @return serviceParameterName */ public String getServiceParameterName() { return this.serviceParameterName; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String location; private String serviceParameterName; private String type; /** * Location. */ public Builder location(String location) { this.location = location; return this; } /** * ServiceParameterName. */ public Builder serviceParameterName(String serviceParameterName) { this.serviceParameterName = serviceParameterName; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } public ServiceParam build() { return new ServiceParam(this); } } } public static class ServiceParametersObject extends TeaModel { @NameInMap("ServiceParam") private java.util.List < ServiceParam> serviceParam; private ServiceParametersObject(Builder builder) { this.serviceParam = builder.serviceParam; } public static Builder builder() { return new Builder(); } public static ServiceParametersObject create() { return builder().build(); } /** * @return serviceParam */ public java.util.List < ServiceParam> getServiceParam() { return this.serviceParam; } public static final class Builder { private java.util.List < ServiceParam> serviceParam; /** * ServiceParam. */ public Builder serviceParam(java.util.List < ServiceParam> serviceParam) { this.serviceParam = serviceParam; return this; } public ServiceParametersObject build() { return new ServiceParametersObject(this); } } } public static class SystemParameter extends TeaModel { @NameInMap("DemoValue") private String demoValue; @NameInMap("Description") private String description; @NameInMap("Location") private String location; @NameInMap("ParameterName") private String parameterName; @NameInMap("ServiceParameterName") private String serviceParameterName; private SystemParameter(Builder builder) { this.demoValue = builder.demoValue; this.description = builder.description; this.location = builder.location; this.parameterName = builder.parameterName; this.serviceParameterName = builder.serviceParameterName; } public static Builder builder() { return new Builder(); } public static SystemParameter create() { return builder().build(); } /** * @return demoValue */ public String getDemoValue() { return this.demoValue; } /** * @return description */ public String getDescription() { return this.description; } /** * @return location */ public String getLocation() { return this.location; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return serviceParameterName */ public String getServiceParameterName() { return this.serviceParameterName; } public static final class Builder { private String demoValue; private String description; private String location; private String parameterName; private String serviceParameterName; /** * DemoValue. */ public Builder demoValue(String demoValue) { this.demoValue = demoValue; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * Location. */ public Builder location(String location) { this.location = location; return this; } /** * ParameterName. */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * ServiceParameterName. */ public Builder serviceParameterName(String serviceParameterName) { this.serviceParameterName = serviceParameterName; return this; } public SystemParameter build() { return new SystemParameter(this); } } } public static class SystemParameters extends TeaModel { @NameInMap("SystemParameter") private java.util.List < SystemParameter> systemParameter; private SystemParameters(Builder builder) { this.systemParameter = builder.systemParameter; } public static Builder builder() { return new Builder(); } public static SystemParameters create() { return builder().build(); } /** * @return systemParameter */ public java.util.List < SystemParameter> getSystemParameter() { return this.systemParameter; } public static final class Builder { private java.util.List < SystemParameter> systemParameter; /** * SystemParameter. */ public Builder systemParameter(java.util.List < SystemParameter> systemParameter) { this.systemParameter = systemParameter; return this; } public SystemParameters build() { return new SystemParameters(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy