com.aliyun.sdk.service.cloudapi20160701.models.CreateApiRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Alibaba Cloud CloudAPI (20160701) Async SDK for Java
// 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 CreateApiRequest} extends {@link RequestModel}
*
* CreateApiRequest
*/
public class CreateApiRequest extends Request {
@Query
@NameInMap("AllowSignatureMethod")
private String allowSignatureMethod;
@Query
@NameInMap("ApiName")
@Validation(required = true)
private String apiName;
@Query
@NameInMap("AppCodeAuthType")
private String appCodeAuthType;
@Query
@NameInMap("AuthType")
private String authType;
@Query
@NameInMap("Description")
private String description;
@Query
@NameInMap("DisableInternet")
private Boolean disableInternet;
@Query
@NameInMap("ErrorCodeSamples")
private String errorCodeSamples;
@Query
@NameInMap("FailResultSample")
private String failResultSample;
@Query
@NameInMap("ForceNonceCheck")
private Boolean forceNonceCheck;
@Query
@NameInMap("GroupId")
@Validation(required = true)
private String groupId;
@Query
@NameInMap("OpenIdConnectConfig")
private String openIdConnectConfig;
@Query
@NameInMap("RequestConfig")
@Validation(required = true)
private String requestConfig;
@Query
@NameInMap("RequestParamters")
private String requestParamters;
@Query
@NameInMap("ResultBodyModel")
private String resultBodyModel;
@Query
@NameInMap("ResultDescriptions")
private String resultDescriptions;
@Query
@NameInMap("ResultSample")
private String resultSample;
@Query
@NameInMap("ResultType")
private String resultType;
@Query
@NameInMap("SecurityToken")
private String securityToken;
@Query
@NameInMap("ServiceConfig")
@Validation(required = true)
private String serviceConfig;
@Query
@NameInMap("ServiceParameters")
private String serviceParameters;
@Query
@NameInMap("ServiceParametersMap")
private String serviceParametersMap;
@Query
@NameInMap("Visibility")
@Validation(required = true)
private String visibility;
@Query
@NameInMap("WebSocketApiType")
private String webSocketApiType;
private CreateApiRequest(Builder builder) {
super(builder);
this.allowSignatureMethod = builder.allowSignatureMethod;
this.apiName = builder.apiName;
this.appCodeAuthType = builder.appCodeAuthType;
this.authType = builder.authType;
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.openIdConnectConfig = builder.openIdConnectConfig;
this.requestConfig = builder.requestConfig;
this.requestParamters = builder.requestParamters;
this.resultBodyModel = builder.resultBodyModel;
this.resultDescriptions = builder.resultDescriptions;
this.resultSample = builder.resultSample;
this.resultType = builder.resultType;
this.securityToken = builder.securityToken;
this.serviceConfig = builder.serviceConfig;
this.serviceParameters = builder.serviceParameters;
this.serviceParametersMap = builder.serviceParametersMap;
this.visibility = builder.visibility;
this.webSocketApiType = builder.webSocketApiType;
}
public static Builder builder() {
return new Builder();
}
public static CreateApiRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return allowSignatureMethod
*/
public String getAllowSignatureMethod() {
return this.allowSignatureMethod;
}
/**
* @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 description
*/
public String getDescription() {
return this.description;
}
/**
* @return disableInternet
*/
public Boolean getDisableInternet() {
return this.disableInternet;
}
/**
* @return errorCodeSamples
*/
public String 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 openIdConnectConfig
*/
public String getOpenIdConnectConfig() {
return this.openIdConnectConfig;
}
/**
* @return requestConfig
*/
public String getRequestConfig() {
return this.requestConfig;
}
/**
* @return requestParamters
*/
public String getRequestParamters() {
return this.requestParamters;
}
/**
* @return resultBodyModel
*/
public String getResultBodyModel() {
return this.resultBodyModel;
}
/**
* @return resultDescriptions
*/
public String getResultDescriptions() {
return this.resultDescriptions;
}
/**
* @return resultSample
*/
public String getResultSample() {
return this.resultSample;
}
/**
* @return resultType
*/
public String getResultType() {
return this.resultType;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return serviceConfig
*/
public String getServiceConfig() {
return this.serviceConfig;
}
/**
* @return serviceParameters
*/
public String getServiceParameters() {
return this.serviceParameters;
}
/**
* @return serviceParametersMap
*/
public String getServiceParametersMap() {
return this.serviceParametersMap;
}
/**
* @return visibility
*/
public String getVisibility() {
return this.visibility;
}
/**
* @return webSocketApiType
*/
public String getWebSocketApiType() {
return this.webSocketApiType;
}
public static final class Builder extends Request.Builder {
private String allowSignatureMethod;
private String apiName;
private String appCodeAuthType;
private String authType;
private String description;
private Boolean disableInternet;
private String errorCodeSamples;
private String failResultSample;
private Boolean forceNonceCheck;
private String groupId;
private String openIdConnectConfig;
private String requestConfig;
private String requestParamters;
private String resultBodyModel;
private String resultDescriptions;
private String resultSample;
private String resultType;
private String securityToken;
private String serviceConfig;
private String serviceParameters;
private String serviceParametersMap;
private String visibility;
private String webSocketApiType;
private Builder() {
super();
}
private Builder(CreateApiRequest request) {
super(request);
this.allowSignatureMethod = request.allowSignatureMethod;
this.apiName = request.apiName;
this.appCodeAuthType = request.appCodeAuthType;
this.authType = request.authType;
this.description = request.description;
this.disableInternet = request.disableInternet;
this.errorCodeSamples = request.errorCodeSamples;
this.failResultSample = request.failResultSample;
this.forceNonceCheck = request.forceNonceCheck;
this.groupId = request.groupId;
this.openIdConnectConfig = request.openIdConnectConfig;
this.requestConfig = request.requestConfig;
this.requestParamters = request.requestParamters;
this.resultBodyModel = request.resultBodyModel;
this.resultDescriptions = request.resultDescriptions;
this.resultSample = request.resultSample;
this.resultType = request.resultType;
this.securityToken = request.securityToken;
this.serviceConfig = request.serviceConfig;
this.serviceParameters = request.serviceParameters;
this.serviceParametersMap = request.serviceParametersMap;
this.visibility = request.visibility;
this.webSocketApiType = request.webSocketApiType;
}
/**
* AllowSignatureMethod.
*/
public Builder allowSignatureMethod(String allowSignatureMethod) {
this.putQueryParameter("AllowSignatureMethod", allowSignatureMethod);
this.allowSignatureMethod = allowSignatureMethod;
return this;
}
/**
* ApiName.
*/
public Builder apiName(String apiName) {
this.putQueryParameter("ApiName", apiName);
this.apiName = apiName;
return this;
}
/**
* AppCodeAuthType.
*/
public Builder appCodeAuthType(String appCodeAuthType) {
this.putQueryParameter("AppCodeAuthType", appCodeAuthType);
this.appCodeAuthType = appCodeAuthType;
return this;
}
/**
* AuthType.
*/
public Builder authType(String authType) {
this.putQueryParameter("AuthType", authType);
this.authType = authType;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* DisableInternet.
*/
public Builder disableInternet(Boolean disableInternet) {
this.putQueryParameter("DisableInternet", disableInternet);
this.disableInternet = disableInternet;
return this;
}
/**
* ErrorCodeSamples.
*/
public Builder errorCodeSamples(String errorCodeSamples) {
this.putQueryParameter("ErrorCodeSamples", errorCodeSamples);
this.errorCodeSamples = errorCodeSamples;
return this;
}
/**
* FailResultSample.
*/
public Builder failResultSample(String failResultSample) {
this.putQueryParameter("FailResultSample", failResultSample);
this.failResultSample = failResultSample;
return this;
}
/**
* ForceNonceCheck.
*/
public Builder forceNonceCheck(Boolean forceNonceCheck) {
this.putQueryParameter("ForceNonceCheck", forceNonceCheck);
this.forceNonceCheck = forceNonceCheck;
return this;
}
/**
* GroupId.
*/
public Builder groupId(String groupId) {
this.putQueryParameter("GroupId", groupId);
this.groupId = groupId;
return this;
}
/**
* OpenIdConnectConfig.
*/
public Builder openIdConnectConfig(String openIdConnectConfig) {
this.putQueryParameter("OpenIdConnectConfig", openIdConnectConfig);
this.openIdConnectConfig = openIdConnectConfig;
return this;
}
/**
* RequestConfig.
*/
public Builder requestConfig(String requestConfig) {
this.putQueryParameter("RequestConfig", requestConfig);
this.requestConfig = requestConfig;
return this;
}
/**
* RequestParamters.
*/
public Builder requestParamters(String requestParamters) {
this.putQueryParameter("RequestParamters", requestParamters);
this.requestParamters = requestParamters;
return this;
}
/**
* ResultBodyModel.
*/
public Builder resultBodyModel(String resultBodyModel) {
this.putQueryParameter("ResultBodyModel", resultBodyModel);
this.resultBodyModel = resultBodyModel;
return this;
}
/**
* ResultDescriptions.
*/
public Builder resultDescriptions(String resultDescriptions) {
this.putQueryParameter("ResultDescriptions", resultDescriptions);
this.resultDescriptions = resultDescriptions;
return this;
}
/**
* ResultSample.
*/
public Builder resultSample(String resultSample) {
this.putQueryParameter("ResultSample", resultSample);
this.resultSample = resultSample;
return this;
}
/**
* ResultType.
*/
public Builder resultType(String resultType) {
this.putQueryParameter("ResultType", resultType);
this.resultType = resultType;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* ServiceConfig.
*/
public Builder serviceConfig(String serviceConfig) {
this.putQueryParameter("ServiceConfig", serviceConfig);
this.serviceConfig = serviceConfig;
return this;
}
/**
* ServiceParameters.
*/
public Builder serviceParameters(String serviceParameters) {
this.putQueryParameter("ServiceParameters", serviceParameters);
this.serviceParameters = serviceParameters;
return this;
}
/**
* ServiceParametersMap.
*/
public Builder serviceParametersMap(String serviceParametersMap) {
this.putQueryParameter("ServiceParametersMap", serviceParametersMap);
this.serviceParametersMap = serviceParametersMap;
return this;
}
/**
* Visibility.
*/
public Builder visibility(String visibility) {
this.putQueryParameter("Visibility", visibility);
this.visibility = visibility;
return this;
}
/**
* WebSocketApiType.
*/
public Builder webSocketApiType(String webSocketApiType) {
this.putQueryParameter("WebSocketApiType", webSocketApiType);
this.webSocketApiType = webSocketApiType;
return this;
}
@Override
public CreateApiRequest build() {
return new CreateApiRequest(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy