diff --git a/aliyun-java-sdk-cloudapi/ChangeLog.txt b/aliyun-java-sdk-cloudapi/ChangeLog.txt
index 68287a7245..d2a894e775 100644
--- a/aliyun-java-sdk-cloudapi/ChangeLog.txt
+++ b/aliyun-java-sdk-cloudapi/ChangeLog.txt
@@ -1,3 +1,6 @@
+2023-10-26 Version: 4.9.21
+- Generated 2016-07-14 for `CloudAPI`.
+
2023-03-23 Version: 4.9.20
- DescribeApis add tag parameter.
- CreateApp hidden parameter.
diff --git a/aliyun-java-sdk-cloudapi/pom.xml b/aliyun-java-sdk-cloudapi/pom.xml
index 7c32893d48..67651df8b7 100644
--- a/aliyun-java-sdk-cloudapi/pom.xml
+++ b/aliyun-java-sdk-cloudapi/pom.xml
@@ -4,7 +4,7 @@
com.aliyun
aliyun-java-sdk-cloudapi
jar
- 4.9.20
+ 4.9.21
aliyun-java-sdk-cloudapi
http://www.aliyun.com
Aliyun Open API SDK for Java
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/Endpoint.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/Endpoint.java
index d55ddac246..c1111a4b75 100644
--- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/Endpoint.java
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/Endpoint.java
@@ -19,29 +19,67 @@
public class Endpoint {
public static HashMap endpointMap = new HashMap() {
{
- put("cn-shenzhen", "apigateway.cn-shenzhen.aliyuncs.com");
+ put("cn-shanghai-internal-test-1", "apigateway.aliyuncs.com");
+ put("cn-shenzhen-su18-b01", "apigateway.aliyuncs.com");
put("cn-beijing", "apigateway.cn-beijing.aliyuncs.com");
- put("ap-south-1", "apigateway.ap-south-1.aliyuncs.com");
- put("eu-west-1", "apigateway.eu-west-1.aliyuncs.com");
- put("ap-northeast-1", "apigateway.ap-northeast-1.aliyuncs.com");
- put("cn-shenzhen-finance-1", "apigateway.aliyuncs.com");
- put("me-east-1", "apigateway.me-east-1.aliyuncs.com");
- put("cn-chengdu", "apigateway.cn-chengdu.aliyuncs.com");
+ put("cn-shanghai-inner", "apigateway.cn-shanghai-inner.aliyuncs.com");
+ put("me-central-1", "apigateway.me-central-1.aliyuncs.com");
+ put("cn-hangzhou-internal-prod-1", "apigateway.aliyuncs.com");
put("cn-north-2-gov-1", "apigateway.cn-north-2-gov-1.aliyuncs.com");
- put("cn-qingdao", "apigateway.cn-qingdao.aliyuncs.com");
- put("cn-shanghai", "apigateway.cn-shanghai.aliyuncs.com");
- put("cn-shanghai-finance-1", "apigateway.aliyuncs.com");
- put("cn-hongkong", "apigateway.cn-hongkong.aliyuncs.com");
- put("cn-hangzhou-finance", "apigateway.aliyuncs.com");
+ put("cn-yushanfang", "apigateway.aliyuncs.com");
+ put("cn-qingdao-nebula", "apigateway.aliyuncs.com");
+ put("cn-heyuan", "apigateway.cn-heyuan.aliyuncs.com");
+ put("cn-beijing-finance-pop", "apigateway.aliyuncs.com");
+ put("cn-wuhan", "apigateway.aliyuncs.com");
+ put("cn-zhangjiakou", "apigateway.cn-zhangjiakou.aliyuncs.com");
+ put("us-west-1", "apigateway.us-west-1.aliyuncs.com");
+ put("cn-zhangbei", "apigateway.aliyuncs.com");
+ put("rus-west-1-pop", "apigateway.aliyuncs.com");
+ put("cn-shanghai-et15-b01", "apigateway.aliyuncs.com");
+ put("cn-hangzhou-bj-b01", "apigateway.aliyuncs.com");
+ put("cn-zhangbei-na61-b01", "apigateway.aliyuncs.com");
+ put("ap-northeast-1", "apigateway.ap-northeast-1.aliyuncs.com");
+ put("cn-huhehaote-nebula-1", "apigateway.aliyuncs.com");
+ put("cn-shanghai-et2-b01", "apigateway.aliyuncs.com");
put("ap-southeast-1", "apigateway.ap-southeast-1.aliyuncs.com");
put("ap-southeast-2", "apigateway.ap-southeast-2.aliyuncs.com");
put("ap-southeast-3", "apigateway.ap-southeast-3.aliyuncs.com");
- put("eu-central-1", "apigateway.eu-central-1.aliyuncs.com");
- put("cn-huhehaote", "apigateway.cn-huhehaote.aliyuncs.com");
put("ap-southeast-5", "apigateway.ap-southeast-5.aliyuncs.com");
put("us-east-1", "apigateway.us-east-1.aliyuncs.com");
- put("cn-zhangjiakou", "apigateway.cn-zhangjiakou.aliyuncs.com");
- put("us-west-1", "apigateway.us-west-1.aliyuncs.com");
+ put("ap-southeast-6", "apigateway.ap-southeast-6.aliyuncs.com");
+ put("cn-shenzhen-inner", "apigateway.aliyuncs.com");
+ put("ap-southeast-7", "apigateway.ap-southeast-7.aliyuncs.com");
+ put("cn-zhangjiakou-na62-a01", "apigateway.aliyuncs.com");
+ put("cn-beijing-gov-1", "apigateway.aliyuncs.com");
+ put("cn-wulanchabu", "apigateway.cn-wulanchabu.aliyuncs.com");
+ put("ap-south-1", "apigateway.ap-south-1.aliyuncs.com");
+ put("cn-shenzhen-st4-d01", "apigateway.aliyuncs.com");
+ put("cn-haidian-cm12-c01", "apigateway.aliyuncs.com");
+ put("cn-qingdao", "apigateway.cn-qingdao.aliyuncs.com");
+ put("cn-hongkong-finance-pop", "apigateway.aliyuncs.com");
+ put("cn-shanghai", "apigateway.cn-shanghai.aliyuncs.com");
+ put("cn-shanghai-finance-1", "apigateway.cn-shanghai-finance-1.aliyuncs.com");
+ put("cn-hongkong", "apigateway.cn-hongkong.aliyuncs.com");
+ put("eu-central-1", "apigateway.eu-central-1.aliyuncs.com");
+ put("cn-shenzhen", "apigateway.cn-shenzhen.aliyuncs.com");
+ put("cn-zhengzhou-nebula-1", "apigateway.aliyuncs.com");
+ put("eu-west-1", "apigateway.eu-west-1.aliyuncs.com");
+ put("cn-hangzhou-internal-test-1", "apigateway.aliyuncs.com");
+ put("eu-west-1-oxs", "apigateway.aliyuncs.com");
+ put("cn-beijing-finance-1", "apigateway.cn-beijing-finance-1.aliyuncs.com");
+ put("cn-hangzhou-internal-test-3", "apigateway.aliyuncs.com");
+ put("cn-shenzhen-finance-1", "apigateway.cn-shenzhen-finance-1.aliyuncs.com");
+ put("cn-hangzhou-internal-test-2", "apigateway.aliyuncs.com");
+ put("me-east-1", "apigateway.me-east-1.aliyuncs.com");
+ put("cn-chengdu", "apigateway.cn-chengdu.aliyuncs.com");
+ put("cn-hangzhou-test-306", "apigateway.aliyuncs.com");
+ put("cn-guangzhou", "apigateway.cn-guangzhou.aliyuncs.com");
+ put("cn-hangzhou-finance", "apigateway.cn-hangzhou-finance.aliyuncs.com");
+ put("cn-beijing-nu16-b01", "apigateway.aliyuncs.com");
+ put("cn-edge-1", "apigateway.aliyuncs.com");
+ put("cn-huhehaote", "apigateway.cn-huhehaote.aliyuncs.com");
+ put("cn-fujian", "apigateway.aliyuncs.com");
+ put("ap-northeast-2-pop", "apigateway.aliyuncs.com");
put("cn-hangzhou", "apigateway.cn-hangzhou.aliyuncs.com");
}
};
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/AttachApiProductRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/AttachApiProductRequest.java
new file mode 100644
index 0000000000..613cc65b17
--- /dev/null
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/AttachApiProductRequest.java
@@ -0,0 +1,107 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cloudapi.model.v20160714;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.cloudapi.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachApiProductRequest extends RpcAcsRequest {
+
+
+ private List apiss;
+
+ private String securityToken;
+
+ private String apiProductId;
+ public AttachApiProductRequest() {
+ super("CloudAPI", "2016-07-14", "AttachApiProduct", "apigateway");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public List getApiss() {
+ return this.apiss;
+ }
+
+ public void setApiss(List apiss) {
+ this.apiss = apiss;
+ if (apiss != null) {
+ for (int depth1 = 0; depth1 < apiss.size(); depth1++) {
+ putQueryParameter("Apis." + (depth1 + 1) + ".StageName" , apiss.get(depth1).getStageName());
+ putQueryParameter("Apis." + (depth1 + 1) + ".ApiId" , apiss.get(depth1).getApiId());
+ }
+ }
+ }
+
+ public String getSecurityToken() {
+ return this.securityToken;
+ }
+
+ public void setSecurityToken(String securityToken) {
+ this.securityToken = securityToken;
+ if(securityToken != null){
+ putQueryParameter("SecurityToken", securityToken);
+ }
+ }
+
+ public String getApiProductId() {
+ return this.apiProductId;
+ }
+
+ public void setApiProductId(String apiProductId) {
+ this.apiProductId = apiProductId;
+ if(apiProductId != null){
+ putQueryParameter("ApiProductId", apiProductId);
+ }
+ }
+
+ public static class Apis {
+
+ private String stageName;
+
+ private String apiId;
+
+ public String getStageName() {
+ return this.stageName;
+ }
+
+ public void setStageName(String stageName) {
+ this.stageName = stageName;
+ }
+
+ public String getApiId() {
+ return this.apiId;
+ }
+
+ public void setApiId(String apiId) {
+ this.apiId = apiId;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AttachApiProductResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/AttachApiProductResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/AttachApiProductResponse.java
new file mode 100644
index 0000000000..168d819bd8
--- /dev/null
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/AttachApiProductResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cloudapi.model.v20160714;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.cloudapi.transform.v20160714.AttachApiProductResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachApiProductResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AttachApiProductResponse getInstance(UnmarshallerContext context) {
+ return AttachApiProductResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/CreateApiRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/CreateApiRequest.java
index 56d3f10613..5493f21656 100644
--- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/CreateApiRequest.java
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/CreateApiRequest.java
@@ -105,7 +105,7 @@ public String getErrorCodeSamples() {
public void setErrorCodeSamples(String errorCodeSamples) {
this.errorCodeSamples = errorCodeSamples;
if(errorCodeSamples != null){
- putQueryParameter("ErrorCodeSamples", errorCodeSamples);
+ putBodyParameter("ErrorCodeSamples", errorCodeSamples);
}
}
@@ -160,7 +160,7 @@ public String getConstantParameters() {
public void setConstantParameters(String constantParameters) {
this.constantParameters = constantParameters;
if(constantParameters != null){
- putQueryParameter("ConstantParameters", constantParameters);
+ putBodyParameter("ConstantParameters", constantParameters);
}
}
@@ -193,7 +193,7 @@ public String getServiceParameters() {
public void setServiceParameters(String serviceParameters) {
this.serviceParameters = serviceParameters;
if(serviceParameters != null){
- putQueryParameter("ServiceParameters", serviceParameters);
+ putBodyParameter("ServiceParameters", serviceParameters);
}
}
@@ -204,7 +204,7 @@ public String getFailResultSample() {
public void setFailResultSample(String failResultSample) {
this.failResultSample = failResultSample;
if(failResultSample != null){
- putQueryParameter("FailResultSample", failResultSample);
+ putBodyParameter("FailResultSample", failResultSample);
}
}
@@ -215,7 +215,7 @@ public String getSystemParameters() {
public void setSystemParameters(String systemParameters) {
this.systemParameters = systemParameters;
if(systemParameters != null){
- putQueryParameter("SystemParameters", systemParameters);
+ putBodyParameter("SystemParameters", systemParameters);
}
}
@@ -226,7 +226,7 @@ public String getServiceParametersMap() {
public void setServiceParametersMap(String serviceParametersMap) {
this.serviceParametersMap = serviceParametersMap;
if(serviceParametersMap != null){
- putQueryParameter("ServiceParametersMap", serviceParametersMap);
+ putBodyParameter("ServiceParametersMap", serviceParametersMap);
}
}
@@ -259,7 +259,7 @@ public String getRequestParameters() {
public void setRequestParameters(String requestParameters) {
this.requestParameters = requestParameters;
if(requestParameters != null){
- putQueryParameter("RequestParameters", requestParameters);
+ putBodyParameter("RequestParameters", requestParameters);
}
}
@@ -270,7 +270,7 @@ public String getResultDescriptions() {
public void setResultDescriptions(String resultDescriptions) {
this.resultDescriptions = resultDescriptions;
if(resultDescriptions != null){
- putQueryParameter("ResultDescriptions", resultDescriptions);
+ putBodyParameter("ResultDescriptions", resultDescriptions);
}
}
@@ -336,7 +336,7 @@ public String getResultSample() {
public void setResultSample(String resultSample) {
this.resultSample = resultSample;
if(resultSample != null){
- putQueryParameter("ResultSample", resultSample);
+ putBodyParameter("ResultSample", resultSample);
}
}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/CreateAppRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/CreateAppRequest.java
index 72bd1b11d9..67aea3006e 100644
--- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/CreateAppRequest.java
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/CreateAppRequest.java
@@ -28,6 +28,8 @@ public class CreateAppRequest extends RpcAcsRequest {
private String description;
+ private String extend;
+
private String appName;
private String securityToken;
@@ -59,6 +61,17 @@ public void setDescription(String description) {
}
}
+ public String getExtend() {
+ return this.extend;
+ }
+
+ public void setExtend(String extend) {
+ this.extend = extend;
+ if(extend != null){
+ putQueryParameter("Extend", extend);
+ }
+ }
+
public String getAppName() {
return this.appName;
}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DeleteApiProductRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DeleteApiProductRequest.java
new file mode 100644
index 0000000000..8c7ebec6ac
--- /dev/null
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DeleteApiProductRequest.java
@@ -0,0 +1,67 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cloudapi.model.v20160714;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.cloudapi.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DeleteApiProductRequest extends RpcAcsRequest {
+
+
+ private String securityToken;
+
+ private String apiProductId;
+ public DeleteApiProductRequest() {
+ super("CloudAPI", "2016-07-14", "DeleteApiProduct", "apigateway");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getSecurityToken() {
+ return this.securityToken;
+ }
+
+ public void setSecurityToken(String securityToken) {
+ this.securityToken = securityToken;
+ if(securityToken != null){
+ putQueryParameter("SecurityToken", securityToken);
+ }
+ }
+
+ public String getApiProductId() {
+ return this.apiProductId;
+ }
+
+ public void setApiProductId(String apiProductId) {
+ this.apiProductId = apiProductId;
+ if(apiProductId != null){
+ putQueryParameter("ApiProductId", apiProductId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return DeleteApiProductResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DeleteApiProductResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DeleteApiProductResponse.java
new file mode 100644
index 0000000000..0edfc30e7f
--- /dev/null
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DeleteApiProductResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cloudapi.model.v20160714;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.cloudapi.transform.v20160714.DeleteApiProductResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DeleteApiProductResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public DeleteApiProductResponse getInstance(UnmarshallerContext context) {
+ return DeleteApiProductResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiGroupResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiGroupResponse.java
index f51d9d20f3..a7b0e3d052 100644
--- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiGroupResponse.java
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiGroupResponse.java
@@ -87,6 +87,12 @@ public class DescribeApiGroupResponse extends AcsResponse {
private String dedicatedInstanceType;
+ private String migrationStatus;
+
+ private String migrationError;
+
+ private Boolean disableInnerDomain;
+
private List customDomains;
private List stageItems;
@@ -339,6 +345,30 @@ public void setDedicatedInstanceType(String dedicatedInstanceType) {
this.dedicatedInstanceType = dedicatedInstanceType;
}
+ public String getMigrationStatus() {
+ return this.migrationStatus;
+ }
+
+ public void setMigrationStatus(String migrationStatus) {
+ this.migrationStatus = migrationStatus;
+ }
+
+ public String getMigrationError() {
+ return this.migrationError;
+ }
+
+ public void setMigrationError(String migrationError) {
+ this.migrationError = migrationError;
+ }
+
+ public Boolean getDisableInnerDomain() {
+ return this.disableInnerDomain;
+ }
+
+ public void setDisableInnerDomain(Boolean disableInnerDomain) {
+ this.disableInnerDomain = disableInnerDomain;
+ }
+
public List getCustomDomains() {
return this.customDomains;
}
@@ -383,6 +413,10 @@ public static class DomainItem {
private String wssEnable;
+ private Long certificateValidStart;
+
+ private Long certificateValidEnd;
+
public String getBindStageName() {
return this.bindStageName;
}
@@ -486,6 +520,22 @@ public String getWssEnable() {
public void setWssEnable(String wssEnable) {
this.wssEnable = wssEnable;
}
+
+ public Long getCertificateValidStart() {
+ return this.certificateValidStart;
+ }
+
+ public void setCertificateValidStart(Long certificateValidStart) {
+ this.certificateValidStart = certificateValidStart;
+ }
+
+ public Long getCertificateValidEnd() {
+ return this.certificateValidEnd;
+ }
+
+ public void setCertificateValidEnd(Long certificateValidEnd) {
+ this.certificateValidEnd = certificateValidEnd;
+ }
}
public static class StageInfo {
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductApisRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductApisRequest.java
new file mode 100644
index 0000000000..e679409ebd
--- /dev/null
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductApisRequest.java
@@ -0,0 +1,93 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cloudapi.model.v20160714;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.cloudapi.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DescribeApiProductApisRequest extends RpcAcsRequest {
+
+
+ private Integer pageNumber;
+
+ private String securityToken;
+
+ private Integer pageSize;
+
+ private String apiProductId;
+ public DescribeApiProductApisRequest() {
+ super("CloudAPI", "2016-07-14", "DescribeApiProductApis", "apigateway");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Integer getPageNumber() {
+ return this.pageNumber;
+ }
+
+ public void setPageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ if(pageNumber != null){
+ putQueryParameter("PageNumber", pageNumber.toString());
+ }
+ }
+
+ public String getSecurityToken() {
+ return this.securityToken;
+ }
+
+ public void setSecurityToken(String securityToken) {
+ this.securityToken = securityToken;
+ if(securityToken != null){
+ putQueryParameter("SecurityToken", securityToken);
+ }
+ }
+
+ public Integer getPageSize() {
+ return this.pageSize;
+ }
+
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ if(pageSize != null){
+ putQueryParameter("PageSize", pageSize.toString());
+ }
+ }
+
+ public String getApiProductId() {
+ return this.apiProductId;
+ }
+
+ public void setApiProductId(String apiProductId) {
+ this.apiProductId = apiProductId;
+ if(apiProductId != null){
+ putQueryParameter("ApiProductId", apiProductId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return DescribeApiProductApisResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductApisResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductApisResponse.java
new file mode 100644
index 0000000000..08b44d701d
--- /dev/null
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductApisResponse.java
@@ -0,0 +1,175 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cloudapi.model.v20160714;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.cloudapi.transform.v20160714.DescribeApiProductApisResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DescribeApiProductApisResponse extends AcsResponse {
+
+ private String requestId;
+
+ private Integer pageNumber;
+
+ private Integer pageSize;
+
+ private Integer totalCount;
+
+ private List apiInfoList;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public Integer getPageNumber() {
+ return this.pageNumber;
+ }
+
+ public void setPageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ }
+
+ public Integer getPageSize() {
+ return this.pageSize;
+ }
+
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
+ public Integer getTotalCount() {
+ return this.totalCount;
+ }
+
+ public void setTotalCount(Integer totalCount) {
+ this.totalCount = totalCount;
+ }
+
+ public List getApiInfoList() {
+ return this.apiInfoList;
+ }
+
+ public void setApiInfoList(List apiInfoList) {
+ this.apiInfoList = apiInfoList;
+ }
+
+ public static class ApiInfo {
+
+ private String apiId;
+
+ private String description;
+
+ private String groupName;
+
+ private String groupId;
+
+ private String path;
+
+ private String method;
+
+ private String stageName;
+
+ private String apiName;
+
+ private String regionId;
+
+ public String getApiId() {
+ return this.apiId;
+ }
+
+ public void setApiId(String apiId) {
+ this.apiId = apiId;
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getGroupName() {
+ return this.groupName;
+ }
+
+ public void setGroupName(String groupName) {
+ this.groupName = groupName;
+ }
+
+ public String getGroupId() {
+ return this.groupId;
+ }
+
+ public void setGroupId(String groupId) {
+ this.groupId = groupId;
+ }
+
+ public String getPath() {
+ return this.path;
+ }
+
+ public void setPath(String path) {
+ this.path = path;
+ }
+
+ public String getBizMethod() {
+ return this.method;
+ }
+
+ public void setBizMethod(String method) {
+ this.method = method;
+ }
+
+ public String getStageName() {
+ return this.stageName;
+ }
+
+ public void setStageName(String stageName) {
+ this.stageName = stageName;
+ }
+
+ public String getApiName() {
+ return this.apiName;
+ }
+
+ public void setApiName(String apiName) {
+ this.apiName = apiName;
+ }
+
+ public String getRegionId() {
+ return this.regionId;
+ }
+
+ public void setRegionId(String regionId) {
+ this.regionId = regionId;
+ }
+ }
+
+ @Override
+ public DescribeApiProductApisResponse getInstance(UnmarshallerContext context) {
+ return DescribeApiProductApisResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductsByAppRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductsByAppRequest.java
new file mode 100644
index 0000000000..22f6e39268
--- /dev/null
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductsByAppRequest.java
@@ -0,0 +1,93 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cloudapi.model.v20160714;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.cloudapi.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DescribeApiProductsByAppRequest extends RpcAcsRequest {
+
+
+ private Integer pageNumber;
+
+ private String securityToken;
+
+ private Long appId;
+
+ private Integer pageSize;
+ public DescribeApiProductsByAppRequest() {
+ super("CloudAPI", "2016-07-14", "DescribeApiProductsByApp", "apigateway");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Integer getPageNumber() {
+ return this.pageNumber;
+ }
+
+ public void setPageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ if(pageNumber != null){
+ putQueryParameter("PageNumber", pageNumber.toString());
+ }
+ }
+
+ public String getSecurityToken() {
+ return this.securityToken;
+ }
+
+ public void setSecurityToken(String securityToken) {
+ this.securityToken = securityToken;
+ if(securityToken != null){
+ putQueryParameter("SecurityToken", securityToken);
+ }
+ }
+
+ public Long getAppId() {
+ return this.appId;
+ }
+
+ public void setAppId(Long appId) {
+ this.appId = appId;
+ if(appId != null){
+ putQueryParameter("AppId", appId.toString());
+ }
+ }
+
+ public Integer getPageSize() {
+ return this.pageSize;
+ }
+
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ if(pageSize != null){
+ putQueryParameter("PageSize", pageSize.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return DescribeApiProductsByAppResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductsByAppResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductsByAppResponse.java
new file mode 100644
index 0000000000..bfe9959e5d
--- /dev/null
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApiProductsByAppResponse.java
@@ -0,0 +1,95 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cloudapi.model.v20160714;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.cloudapi.transform.v20160714.DescribeApiProductsByAppResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DescribeApiProductsByAppResponse extends AcsResponse {
+
+ private String requestId;
+
+ private Integer pageSize;
+
+ private Integer pageNumber;
+
+ private Integer totalCount;
+
+ private List apiProductInfoList;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public Integer getPageSize() {
+ return this.pageSize;
+ }
+
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
+ public Integer getPageNumber() {
+ return this.pageNumber;
+ }
+
+ public void setPageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ }
+
+ public Integer getTotalCount() {
+ return this.totalCount;
+ }
+
+ public void setTotalCount(Integer totalCount) {
+ this.totalCount = totalCount;
+ }
+
+ public List getApiProductInfoList() {
+ return this.apiProductInfoList;
+ }
+
+ public void setApiProductInfoList(List apiProductInfoList) {
+ this.apiProductInfoList = apiProductInfoList;
+ }
+
+ public static class ApiProductInfo {
+
+ private String apiProductId;
+
+ public String getApiProductId() {
+ return this.apiProductId;
+ }
+
+ public void setApiProductId(String apiProductId) {
+ this.apiProductId = apiProductId;
+ }
+ }
+
+ @Override
+ public DescribeApiProductsByAppResponse getInstance(UnmarshallerContext context) {
+ return DescribeApiProductsByAppResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApisWithStageNameIntegratedByAppRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApisWithStageNameIntegratedByAppRequest.java
new file mode 100644
index 0000000000..f987f5addd
--- /dev/null
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApisWithStageNameIntegratedByAppRequest.java
@@ -0,0 +1,158 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cloudapi.model.v20160714;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.cloudapi.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DescribeApisWithStageNameIntegratedByAppRequest extends RpcAcsRequest {
+
+
+ private String method;
+
+ private String description;
+
+ private Integer pageNumber;
+
+ private String path;
+
+ private String apiName;
+
+ private String securityToken;
+
+ private Long appId;
+
+ private String apiUid;
+
+ private Integer pageSize;
+ public DescribeApisWithStageNameIntegratedByAppRequest() {
+ super("CloudAPI", "2016-07-14", "DescribeApisWithStageNameIntegratedByApp", "apigateway");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getBizMethod() {
+ return this.method;
+ }
+
+ public void setBizMethod(String method) {
+ this.method = method;
+ if(method != null){
+ putQueryParameter("Method", method);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public Integer getPageNumber() {
+ return this.pageNumber;
+ }
+
+ public void setPageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ if(pageNumber != null){
+ putQueryParameter("PageNumber", pageNumber.toString());
+ }
+ }
+
+ public String getPath() {
+ return this.path;
+ }
+
+ public void setPath(String path) {
+ this.path = path;
+ if(path != null){
+ putQueryParameter("Path", path);
+ }
+ }
+
+ public String getApiName() {
+ return this.apiName;
+ }
+
+ public void setApiName(String apiName) {
+ this.apiName = apiName;
+ if(apiName != null){
+ putQueryParameter("ApiName", apiName);
+ }
+ }
+
+ public String getSecurityToken() {
+ return this.securityToken;
+ }
+
+ public void setSecurityToken(String securityToken) {
+ this.securityToken = securityToken;
+ if(securityToken != null){
+ putQueryParameter("SecurityToken", securityToken);
+ }
+ }
+
+ public Long getAppId() {
+ return this.appId;
+ }
+
+ public void setAppId(Long appId) {
+ this.appId = appId;
+ if(appId != null){
+ putQueryParameter("AppId", appId.toString());
+ }
+ }
+
+ public String getApiUid() {
+ return this.apiUid;
+ }
+
+ public void setApiUid(String apiUid) {
+ this.apiUid = apiUid;
+ if(apiUid != null){
+ putQueryParameter("ApiUid", apiUid);
+ }
+ }
+
+ public Integer getPageSize() {
+ return this.pageSize;
+ }
+
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ if(pageSize != null){
+ putQueryParameter("PageSize", pageSize.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return DescribeApisWithStageNameIntegratedByAppResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApisWithStageNameIntegratedByAppResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApisWithStageNameIntegratedByAppResponse.java
new file mode 100644
index 0000000000..50209e473e
--- /dev/null
+++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeApisWithStageNameIntegratedByAppResponse.java
@@ -0,0 +1,206 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.cloudapi.model.v20160714;
+
+import java.util.List;
+import java.util.Map;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.cloudapi.transform.v20160714.DescribeApisWithStageNameIntegratedByAppResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DescribeApisWithStageNameIntegratedByAppResponse extends AcsResponse {
+
+ private Integer pageNumber;
+
+ private String requestId;
+
+ private Integer pageSize;
+
+ private Integer totalCount;
+
+ private List appApiRelationInfos;
+
+ public Integer getPageNumber() {
+ return this.pageNumber;
+ }
+
+ public void setPageNumber(Integer pageNumber) {
+ this.pageNumber = pageNumber;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public Integer getPageSize() {
+ return this.pageSize;
+ }
+
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
+ public Integer getTotalCount() {
+ return this.totalCount;
+ }
+
+ public void setTotalCount(Integer totalCount) {
+ this.totalCount = totalCount;
+ }
+
+ public List getAppApiRelationInfos() {
+ return this.appApiRelationInfos;
+ }
+
+ public void setAppApiRelationInfos(List appApiRelationInfos) {
+ this.appApiRelationInfos = appApiRelationInfos;
+ }
+
+ public static class AppApiRelationInfo {
+
+ private String apiId;
+
+ private String authorizationSource;
+
+ private String description;
+
+ private String groupName;
+
+ private String groupId;
+
+ private String operator;
+
+ private String createdTime;
+
+ private String apiName;
+
+ private String regionId;
+
+ private String path;
+
+ private String method;
+
+ private Map