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 stageNameAndAuth; + + public String getApiId() { + return this.apiId; + } + + public void setApiId(String apiId) { + this.apiId = apiId; + } + + public String getAuthorizationSource() { + return this.authorizationSource; + } + + public void setAuthorizationSource(String authorizationSource) { + this.authorizationSource = authorizationSource; + } + + 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 getOperator() { + return this.operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + public String getCreatedTime() { + return this.createdTime; + } + + public void setCreatedTime(String createdTime) { + this.createdTime = createdTime; + } + + 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; + } + + 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 Map getStageNameAndAuth() { + return this.stageNameAndAuth; + } + + public void setStageNameAndAuth(Map stageNameAndAuth) { + this.stageNameAndAuth = stageNameAndAuth; + } + } + + @Override + public DescribeApisWithStageNameIntegratedByAppResponse getInstance(UnmarshallerContext context) { + return DescribeApisWithStageNameIntegratedByAppResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppAttributesRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppAttributesRequest.java index 055affa268..99aed053ab 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppAttributesRequest.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppAttributesRequest.java @@ -40,6 +40,8 @@ public class DescribeAppAttributesRequest extends RpcAcsRequest tags; public String getAppName() { @@ -129,6 +131,14 @@ public void setAppId(Long appId) { this.appId = appId; } + public String getExtend() { + return this.extend; + } + + public void setExtend(String extend) { + this.extend = extend; + } + public List getTags() { return this.tags; } diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppResponse.java index 614df7db49..2e243b5397 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppResponse.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppResponse.java @@ -36,6 +36,8 @@ public class DescribeAppResponse extends AcsResponse { private String createdTime; + private String extend; + public String getAppName() { return this.appName; } @@ -84,6 +86,14 @@ public void setCreatedTime(String createdTime) { this.createdTime = createdTime; } + public String getExtend() { + return this.extend; + } + + public void setExtend(String extend) { + this.extend = extend; + } + @Override public DescribeAppResponse getInstance(UnmarshallerContext context) { return DescribeAppResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppsByApiProductRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppsByApiProductRequest.java new file mode 100644 index 0000000000..38020e01a3 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppsByApiProductRequest.java @@ -0,0 +1,106 @@ +/* + * 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 DescribeAppsByApiProductRequest extends RpcAcsRequest { + + + private Integer pageNumber; + + private String appName; + + private String securityToken; + + private Integer pageSize; + + private String apiProductId; + public DescribeAppsByApiProductRequest() { + super("CloudAPI", "2016-07-14", "DescribeAppsByApiProduct", "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 getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + 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 DescribeAppsByApiProductResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppsByApiProductResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppsByApiProductResponse.java new file mode 100644 index 0000000000..dbed8dc601 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeAppsByApiProductResponse.java @@ -0,0 +1,145 @@ +/* + * 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.DescribeAppsByApiProductResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeAppsByApiProductResponse extends AcsResponse { + + private String requestId; + + private Integer pageSize; + + private Integer pageNumber; + + private Integer totalCount; + + private List authorizedApps; + + 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 getAuthorizedApps() { + return this.authorizedApps; + } + + public void setAuthorizedApps(List authorizedApps) { + this.authorizedApps = authorizedApps; + } + + public static class AuthorizedApp { + + private String appName; + + private String description; + + private String authValidTime; + + private Long appId; + + private String extend; + + private String authorizedTime; + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getAuthValidTime() { + return this.authValidTime; + } + + public void setAuthValidTime(String authValidTime) { + this.authValidTime = authValidTime; + } + + public Long getAppId() { + return this.appId; + } + + public void setAppId(Long appId) { + this.appId = appId; + } + + public String getExtend() { + return this.extend; + } + + public void setExtend(String extend) { + this.extend = extend; + } + + public String getAuthorizedTime() { + return this.authorizedTime; + } + + public void setAuthorizedTime(String authorizedTime) { + this.authorizedTime = authorizedTime; + } + } + + @Override + public DescribeAppsByApiProductResponse getInstance(UnmarshallerContext context) { + return DescribeAppsByApiProductResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeBackendInfoResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeBackendInfoResponse.java index bd9eb3af94..b42999199f 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeBackendInfoResponse.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeBackendInfoResponse.java @@ -193,8 +193,12 @@ public static class BackendConfig { private String serviceAddress; + private String httpTargetHostName; + private String type; + private Integer serviceTimeout; + private VpcConfig vpcConfig; private FunctionComputeConfig functionComputeConfig; @@ -205,6 +209,8 @@ public static class BackendConfig { private MockConfig mockConfig; + private DiscoveryConfig discoveryConfig; + public String getServiceAddress() { return this.serviceAddress; } @@ -213,6 +219,14 @@ public void setServiceAddress(String serviceAddress) { this.serviceAddress = serviceAddress; } + public String getHttpTargetHostName() { + return this.httpTargetHostName; + } + + public void setHttpTargetHostName(String httpTargetHostName) { + this.httpTargetHostName = httpTargetHostName; + } + public String getType() { return this.type; } @@ -221,6 +235,14 @@ public void setType(String type) { this.type = type; } + public Integer getServiceTimeout() { + return this.serviceTimeout; + } + + public void setServiceTimeout(Integer serviceTimeout) { + this.serviceTimeout = serviceTimeout; + } + public VpcConfig getVpcConfig() { return this.vpcConfig; } @@ -261,6 +283,14 @@ public void setMockConfig(MockConfig mockConfig) { this.mockConfig = mockConfig; } + public DiscoveryConfig getDiscoveryConfig() { + return this.discoveryConfig; + } + + public void setDiscoveryConfig(DiscoveryConfig discoveryConfig) { + this.discoveryConfig = discoveryConfig; + } + public static class VpcConfig { private String vpcId; @@ -538,6 +568,132 @@ public void setHeaderValue(String headerValue) { } } } + + public static class DiscoveryConfig { + + private String rcType; + + private NacosConfig nacosConfig; + + public String getRcType() { + return this.rcType; + } + + public void setRcType(String rcType) { + this.rcType = rcType; + } + + public NacosConfig getNacosConfig() { + return this.nacosConfig; + } + + public void setNacosConfig(NacosConfig nacosConfig) { + this.nacosConfig = nacosConfig; + } + + public static class NacosConfig { + + private String serverAddress; + + private String namespace; + + private String groupName; + + private String serviceName; + + private String clusters; + + private String authType; + + private String userName; + + private String password; + + private String accessKey; + + private String secretKey; + + public String getServerAddress() { + return this.serverAddress; + } + + public void setServerAddress(String serverAddress) { + this.serverAddress = serverAddress; + } + + public String getNamespace() { + return this.namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + public String getGroupName() { + return this.groupName; + } + + public void setGroupName(String groupName) { + this.groupName = groupName; + } + + public String getServiceName() { + return this.serviceName; + } + + public void setServiceName(String serviceName) { + this.serviceName = serviceName; + } + + public String getClusters() { + return this.clusters; + } + + public void setClusters(String clusters) { + this.clusters = clusters; + } + + public String getAuthType() { + return this.authType; + } + + public void setAuthType(String authType) { + this.authType = authType; + } + + public String getUserName() { + return this.userName; + } + + public void setUserName(String userName) { + this.userName = userName; + } + + public String getPassword() { + return this.password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getAccessKey() { + return this.accessKey; + } + + public void setAccessKey(String accessKey) { + this.accessKey = accessKey; + } + + public String getSecretKey() { + return this.secretKey; + } + + public void setSecretKey(String secretKey) { + this.secretKey = secretKey; + } + } + } } } } diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupLatencyRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupLatencyRequest.java new file mode 100644 index 0000000000..72b066cb81 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupLatencyRequest.java @@ -0,0 +1,106 @@ +/* + * 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 DescribeGroupLatencyRequest extends RpcAcsRequest { + + + private String stageName; + + private String groupId; + + private String endTime; + + private String startTime; + + private String securityToken; + public DescribeGroupLatencyRequest() { + super("CloudAPI", "2016-07-14", "DescribeGroupLatency", "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 getStageName() { + return this.stageName; + } + + public void setStageName(String stageName) { + this.stageName = stageName; + if(stageName != null){ + putQueryParameter("StageName", stageName); + } + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime); + } + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime); + } + } + + public String getSecurityToken() { + return this.securityToken; + } + + public void setSecurityToken(String securityToken) { + this.securityToken = securityToken; + if(securityToken != null){ + putQueryParameter("SecurityToken", securityToken); + } + } + + @Override + public Class getResponseClass() { + return DescribeGroupLatencyResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupLatencyResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupLatencyResponse.java new file mode 100644 index 0000000000..06b6d9588c --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupLatencyResponse.java @@ -0,0 +1,85 @@ +/* + * 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.DescribeGroupLatencyResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeGroupLatencyResponse extends AcsResponse { + + private String requestId; + + private List latencyPacket; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getLatencyPacket() { + return this.latencyPacket; + } + + public void setLatencyPacket(List latencyPacket) { + this.latencyPacket = latencyPacket; + } + + public static class MonitorItem { + + private String itemValue; + + private String itemTime; + + private String item; + + public String getItemValue() { + return this.itemValue; + } + + public void setItemValue(String itemValue) { + this.itemValue = itemValue; + } + + public String getItemTime() { + return this.itemTime; + } + + public void setItemTime(String itemTime) { + this.itemTime = itemTime; + } + + public String getItem() { + return this.item; + } + + public void setItem(String item) { + this.item = item; + } + } + + @Override + public DescribeGroupLatencyResponse getInstance(UnmarshallerContext context) { + return DescribeGroupLatencyResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupQpsRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupQpsRequest.java new file mode 100644 index 0000000000..b8576d53f6 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupQpsRequest.java @@ -0,0 +1,106 @@ +/* + * 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 DescribeGroupQpsRequest extends RpcAcsRequest { + + + private String stageName; + + private String groupId; + + private String endTime; + + private String startTime; + + private String securityToken; + public DescribeGroupQpsRequest() { + super("CloudAPI", "2016-07-14", "DescribeGroupQps", "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 getStageName() { + return this.stageName; + } + + public void setStageName(String stageName) { + this.stageName = stageName; + if(stageName != null){ + putQueryParameter("StageName", stageName); + } + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime); + } + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime); + } + } + + public String getSecurityToken() { + return this.securityToken; + } + + public void setSecurityToken(String securityToken) { + this.securityToken = securityToken; + if(securityToken != null){ + putQueryParameter("SecurityToken", securityToken); + } + } + + @Override + public Class getResponseClass() { + return DescribeGroupQpsResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupQpsResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupQpsResponse.java new file mode 100644 index 0000000000..6af0223273 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupQpsResponse.java @@ -0,0 +1,75 @@ +/* + * 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.DescribeGroupQpsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeGroupQpsResponse extends AcsResponse { + + private String requestId; + + private List groupQps; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getGroupQps() { + return this.groupQps; + } + + public void setGroupQps(List groupQps) { + this.groupQps = groupQps; + } + + public static class MonitorItem { + + private String itemValue; + + private String itemTime; + + public String getItemValue() { + return this.itemValue; + } + + public void setItemValue(String itemValue) { + this.itemValue = itemValue; + } + + public String getItemTime() { + return this.itemTime; + } + + public void setItemTime(String itemTime) { + this.itemTime = itemTime; + } + } + + @Override + public DescribeGroupQpsResponse getInstance(UnmarshallerContext context) { + return DescribeGroupQpsResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupTrafficRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupTrafficRequest.java new file mode 100644 index 0000000000..608edeb051 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupTrafficRequest.java @@ -0,0 +1,106 @@ +/* + * 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 DescribeGroupTrafficRequest extends RpcAcsRequest { + + + private String stageName; + + private String groupId; + + private String endTime; + + private String startTime; + + private String securityToken; + public DescribeGroupTrafficRequest() { + super("CloudAPI", "2016-07-14", "DescribeGroupTraffic", "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 getStageName() { + return this.stageName; + } + + public void setStageName(String stageName) { + this.stageName = stageName; + if(stageName != null){ + putQueryParameter("StageName", stageName); + } + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime); + } + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime); + } + } + + public String getSecurityToken() { + return this.securityToken; + } + + public void setSecurityToken(String securityToken) { + this.securityToken = securityToken; + if(securityToken != null){ + putQueryParameter("SecurityToken", securityToken); + } + } + + @Override + public Class getResponseClass() { + return DescribeGroupTrafficResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupTrafficResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupTrafficResponse.java new file mode 100644 index 0000000000..fe480633f7 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeGroupTrafficResponse.java @@ -0,0 +1,85 @@ +/* + * 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.DescribeGroupTrafficResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeGroupTrafficResponse extends AcsResponse { + + private String requestId; + + private List trafficPerSecond; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getTrafficPerSecond() { + return this.trafficPerSecond; + } + + public void setTrafficPerSecond(List trafficPerSecond) { + this.trafficPerSecond = trafficPerSecond; + } + + public static class MonitorItem { + + private String itemValue; + + private String itemTime; + + private String item; + + public String getItemValue() { + return this.itemValue; + } + + public void setItemValue(String itemValue) { + this.itemValue = itemValue; + } + + public String getItemTime() { + return this.itemTime; + } + + public void setItemTime(String itemTime) { + this.itemTime = itemTime; + } + + public String getItem() { + return this.item; + } + + public void setItem(String item) { + this.item = item; + } + } + + @Override + public DescribeGroupTrafficResponse getInstance(UnmarshallerContext context) { + return DescribeGroupTrafficResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeInstancesResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeInstancesResponse.java index a35bfe9704..1fec8e97d1 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeInstancesResponse.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeInstancesResponse.java @@ -149,6 +149,14 @@ public static class InstanceAttribute { private String connectVpcId; + private String instanceClusterId; + + private String maintainStartTime; + + private String maintainEndTime; + + private String connectCidrBlocks; + private List instanceSpecAttributes; private List networkInterfaceAttributes; @@ -441,6 +449,38 @@ public void setConnectVpcId(String connectVpcId) { this.connectVpcId = connectVpcId; } + public String getInstanceClusterId() { + return this.instanceClusterId; + } + + public void setInstanceClusterId(String instanceClusterId) { + this.instanceClusterId = instanceClusterId; + } + + public String getMaintainStartTime() { + return this.maintainStartTime; + } + + public void setMaintainStartTime(String maintainStartTime) { + this.maintainStartTime = maintainStartTime; + } + + public String getMaintainEndTime() { + return this.maintainEndTime; + } + + public void setMaintainEndTime(String maintainEndTime) { + this.maintainEndTime = maintainEndTime; + } + + public String getConnectCidrBlocks() { + return this.connectCidrBlocks; + } + + public void setConnectCidrBlocks(String connectCidrBlocks) { + this.connectCidrBlocks = connectCidrBlocks; + } + public List getInstanceSpecAttributes() { return this.instanceSpecAttributes; } diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeSummaryDataRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeSummaryDataRequest.java new file mode 100644 index 0000000000..9c5bb47432 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeSummaryDataRequest.java @@ -0,0 +1,54 @@ +/* + * 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 DescribeSummaryDataRequest extends RpcAcsRequest { + + + private String securityToken; + public DescribeSummaryDataRequest() { + super("CloudAPI", "2016-07-14", "DescribeSummaryData", "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); + } + } + + @Override + public Class getResponseClass() { + return DescribeSummaryDataResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeSummaryDataResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeSummaryDataResponse.java new file mode 100644 index 0000000000..b1bd9759ea --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DescribeSummaryDataResponse.java @@ -0,0 +1,101 @@ +/* + * 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.DescribeSummaryDataResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeSummaryDataResponse extends AcsResponse { + + private String requestId; + + private Integer usageGroupNum; + + private Integer usageInstanceNum; + + private Integer usageApiNum; + + private String region; + + private Integer comeingSoonInstanceNum; + + private Integer expireInstanceNum; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getUsageGroupNum() { + return this.usageGroupNum; + } + + public void setUsageGroupNum(Integer usageGroupNum) { + this.usageGroupNum = usageGroupNum; + } + + public Integer getUsageInstanceNum() { + return this.usageInstanceNum; + } + + public void setUsageInstanceNum(Integer usageInstanceNum) { + this.usageInstanceNum = usageInstanceNum; + } + + public Integer getUsageApiNum() { + return this.usageApiNum; + } + + public void setUsageApiNum(Integer usageApiNum) { + this.usageApiNum = usageApiNum; + } + + public String getRegion() { + return this.region; + } + + public void setRegion(String region) { + this.region = region; + } + + public Integer getComeingSoonInstanceNum() { + return this.comeingSoonInstanceNum; + } + + public void setComeingSoonInstanceNum(Integer comeingSoonInstanceNum) { + this.comeingSoonInstanceNum = comeingSoonInstanceNum; + } + + public Integer getExpireInstanceNum() { + return this.expireInstanceNum; + } + + public void setExpireInstanceNum(Integer expireInstanceNum) { + this.expireInstanceNum = expireInstanceNum; + } + + @Override + public DescribeSummaryDataResponse getInstance(UnmarshallerContext context) { + return DescribeSummaryDataResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DetachApiProductRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DetachApiProductRequest.java new file mode 100644 index 0000000000..a21400d139 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DetachApiProductRequest.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 DetachApiProductRequest extends RpcAcsRequest { + + + private List apiss; + + private String securityToken; + + private String apiProductId; + public DetachApiProductRequest() { + super("CloudAPI", "2016-07-14", "DetachApiProduct", "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 DetachApiProductResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DetachApiProductResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DetachApiProductResponse.java new file mode 100644 index 0000000000..e933effe28 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/DetachApiProductResponse.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.DetachApiProductResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DetachApiProductResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DetachApiProductResponse getInstance(UnmarshallerContext context) { + return DetachApiProductResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyApiGroupRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyApiGroupRequest.java index fe96524c37..c86eb4a73d 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyApiGroupRequest.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyApiGroupRequest.java @@ -50,7 +50,9 @@ public class ModifyApiGroupRequest extends RpcAcsRequest private String compatibleFlags; - private String customTraceConfig; + private String customTraceConfig; + + private String supportSSE; public ModifyApiGroupRequest() { super("CloudAPI", "2016-07-14", "ModifyApiGroup", "apigateway"); setMethod(MethodType.POST); @@ -206,6 +208,17 @@ public void setCustomTraceConfig(String customTraceConfig) { } } + public String getSupportSSE() { + return this.supportSSE; + } + + public void setSupportSSE(String supportSSE) { + this.supportSSE = supportSSE; + if(supportSSE != null){ + putQueryParameter("SupportSSE", supportSSE); + } + } + public static class Tag { private String value; diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyAppRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyAppRequest.java index 00d2ca1f10..f7c9b5d859 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyAppRequest.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyAppRequest.java @@ -28,6 +28,8 @@ public class ModifyAppRequest extends RpcAcsRequest { private String description; + private String extend; + private String appName; private String securityToken; @@ -55,6 +57,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/ModifyIntranetDomainPolicyRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyIntranetDomainPolicyRequest.java new file mode 100644 index 0000000000..64c801ddb7 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyIntranetDomainPolicyRequest.java @@ -0,0 +1,80 @@ +/* + * 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 ModifyIntranetDomainPolicyRequest extends RpcAcsRequest { + + + private String groupId; + + private Boolean vpcIntranetEnable; + + private String securityToken; + public ModifyIntranetDomainPolicyRequest() { + super("CloudAPI", "2016-07-14", "ModifyIntranetDomainPolicy", "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 getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public Boolean getVpcIntranetEnable() { + return this.vpcIntranetEnable; + } + + public void setVpcIntranetEnable(Boolean vpcIntranetEnable) { + this.vpcIntranetEnable = vpcIntranetEnable; + if(vpcIntranetEnable != null){ + putQueryParameter("VpcIntranetEnable", vpcIntranetEnable.toString()); + } + } + + public String getSecurityToken() { + return this.securityToken; + } + + public void setSecurityToken(String securityToken) { + this.securityToken = securityToken; + if(securityToken != null){ + putQueryParameter("SecurityToken", securityToken); + } + } + + @Override + public Class getResponseClass() { + return ModifyIntranetDomainPolicyResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyIntranetDomainPolicyResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyIntranetDomainPolicyResponse.java new file mode 100644 index 0000000000..1afde9eaa0 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ModifyIntranetDomainPolicyResponse.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.ModifyIntranetDomainPolicyResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyIntranetDomainPolicyResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ModifyIntranetDomainPolicyResponse getInstance(UnmarshallerContext context) { + return ModifyIntranetDomainPolicyResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/RemoveApiProductsAuthoritiesRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/RemoveApiProductsAuthoritiesRequest.java new file mode 100644 index 0000000000..73d7526149 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/RemoveApiProductsAuthoritiesRequest.java @@ -0,0 +1,88 @@ +/* + * 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 RemoveApiProductsAuthoritiesRequest extends RpcAcsRequest { + + + private List apiProductIds; + + private String securityToken; + + private Long appId; + public RemoveApiProductsAuthoritiesRequest() { + super("CloudAPI", "2016-07-14", "RemoveApiProductsAuthorities", "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 getApiProductIds() { + return this.apiProductIds; + } + + public void setApiProductIds(List apiProductIds) { + this.apiProductIds = apiProductIds; + if (apiProductIds != null) { + String apiProductIdsArrVal = ""; + for(int depth1 = 0; depth1 < apiProductIds.size(); depth1++) { + apiProductIdsArrVal += apiProductIds.get(depth1) + ","; + } + if (apiProductIdsArrVal.length() > 0) { + apiProductIdsArrVal = apiProductIdsArrVal.substring(0, apiProductIdsArrVal.length() - 1); + } + putQueryParameter("ApiProductIds" , apiProductIdsArrVal); + } + } + + 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()); + } + } + + @Override + public Class getResponseClass() { + return RemoveApiProductsAuthoritiesResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/RemoveApiProductsAuthoritiesResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/RemoveApiProductsAuthoritiesResponse.java new file mode 100644 index 0000000000..20e1279669 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/RemoveApiProductsAuthoritiesResponse.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.RemoveApiProductsAuthoritiesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class RemoveApiProductsAuthoritiesResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public RemoveApiProductsAuthoritiesResponse getInstance(UnmarshallerContext context) { + return RemoveApiProductsAuthoritiesResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ResetAppSecretRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ResetAppSecretRequest.java index b958e7c308..0bca7e7d4a 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ResetAppSecretRequest.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ResetAppSecretRequest.java @@ -29,6 +29,8 @@ public class ResetAppSecretRequest extends RpcAcsRequest private String securityToken; + private String newAppKey; + private String appKey; public ResetAppSecretRequest() { super("CloudAPI", "2016-07-14", "ResetAppSecret", "apigateway"); @@ -61,6 +63,17 @@ public void setSecurityToken(String securityToken) { } } + public String getNewAppKey() { + return this.newAppKey; + } + + public void setNewAppKey(String newAppKey) { + this.newAppKey = newAppKey; + if(newAppKey != null){ + putQueryParameter("NewAppKey", newAppKey); + } + } + public String getAppKey() { return this.appKey; } diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/SetApiProductsAuthoritiesRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/SetApiProductsAuthoritiesRequest.java new file mode 100644 index 0000000000..7ff8b70f4b --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/SetApiProductsAuthoritiesRequest.java @@ -0,0 +1,114 @@ +/* + * 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 SetApiProductsAuthoritiesRequest extends RpcAcsRequest { + + + private String description; + + private List apiProductIds; + + private String authValidTime; + + private String securityToken; + + private Long appId; + public SetApiProductsAuthoritiesRequest() { + super("CloudAPI", "2016-07-14", "SetApiProductsAuthorities", "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 getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public List getApiProductIds() { + return this.apiProductIds; + } + + public void setApiProductIds(List apiProductIds) { + this.apiProductIds = apiProductIds; + if (apiProductIds != null) { + String apiProductIdsArrVal = ""; + for(int depth1 = 0; depth1 < apiProductIds.size(); depth1++) { + apiProductIdsArrVal += apiProductIds.get(depth1) + ","; + } + if (apiProductIdsArrVal.length() > 0) { + apiProductIdsArrVal = apiProductIdsArrVal.substring(0, apiProductIdsArrVal.length() - 1); + } + putQueryParameter("ApiProductIds" , apiProductIdsArrVal); + } + } + + public String getAuthValidTime() { + return this.authValidTime; + } + + public void setAuthValidTime(String authValidTime) { + this.authValidTime = authValidTime; + if(authValidTime != null){ + putQueryParameter("AuthValidTime", authValidTime); + } + } + + 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()); + } + } + + @Override + public Class getResponseClass() { + return SetApiProductsAuthoritiesResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/SetApiProductsAuthoritiesResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/SetApiProductsAuthoritiesResponse.java new file mode 100644 index 0000000000..a8a42d85ee --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/SetApiProductsAuthoritiesResponse.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.SetApiProductsAuthoritiesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class SetApiProductsAuthoritiesResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public SetApiProductsAuthoritiesResponse getInstance(UnmarshallerContext context) { + return SetApiProductsAuthoritiesResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ValidateVpcConnectivityRequest.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ValidateVpcConnectivityRequest.java new file mode 100644 index 0000000000..647d5779de --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ValidateVpcConnectivityRequest.java @@ -0,0 +1,80 @@ +/* + * 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 ValidateVpcConnectivityRequest extends RpcAcsRequest { + + + private String instanceId; + + private String securityToken; + + private String vpcAccessId; + public ValidateVpcConnectivityRequest() { + super("CloudAPI", "2016-07-14", "ValidateVpcConnectivity", "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 getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getSecurityToken() { + return this.securityToken; + } + + public void setSecurityToken(String securityToken) { + this.securityToken = securityToken; + if(securityToken != null){ + putQueryParameter("SecurityToken", securityToken); + } + } + + public String getVpcAccessId() { + return this.vpcAccessId; + } + + public void setVpcAccessId(String vpcAccessId) { + this.vpcAccessId = vpcAccessId; + if(vpcAccessId != null){ + putQueryParameter("VpcAccessId", vpcAccessId); + } + } + + @Override + public Class getResponseClass() { + return ValidateVpcConnectivityResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ValidateVpcConnectivityResponse.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ValidateVpcConnectivityResponse.java new file mode 100644 index 0000000000..c9e5af952a --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/model/v20160714/ValidateVpcConnectivityResponse.java @@ -0,0 +1,66 @@ +/* + * 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.ValidateVpcConnectivityResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ValidateVpcConnectivityResponse extends AcsResponse { + + private String requestId; + + private Boolean connected; + + private String ipType; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getConnected() { + return this.connected; + } + + public void setConnected(Boolean connected) { + this.connected = connected; + } + + public String getIpType() { + return this.ipType; + } + + public void setIpType(String ipType) { + this.ipType = ipType; + } + + @Override + public ValidateVpcConnectivityResponse getInstance(UnmarshallerContext context) { + return ValidateVpcConnectivityResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/AttachApiProductResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/AttachApiProductResponseUnmarshaller.java new file mode 100644 index 0000000000..a681695c6b --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/AttachApiProductResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.transform.v20160714; + +import com.aliyuncs.cloudapi.model.v20160714.AttachApiProductResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AttachApiProductResponseUnmarshaller { + + public static AttachApiProductResponse unmarshall(AttachApiProductResponse attachApiProductResponse, UnmarshallerContext _ctx) { + + attachApiProductResponse.setRequestId(_ctx.stringValue("AttachApiProductResponse.RequestId")); + + return attachApiProductResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DeleteApiProductResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DeleteApiProductResponseUnmarshaller.java new file mode 100644 index 0000000000..1357564d11 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DeleteApiProductResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.transform.v20160714; + +import com.aliyuncs.cloudapi.model.v20160714.DeleteApiProductResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteApiProductResponseUnmarshaller { + + public static DeleteApiProductResponse unmarshall(DeleteApiProductResponse deleteApiProductResponse, UnmarshallerContext _ctx) { + + deleteApiProductResponse.setRequestId(_ctx.stringValue("DeleteApiProductResponse.RequestId")); + + return deleteApiProductResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiGroupResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiGroupResponseUnmarshaller.java index fafb69d57a..ecc80fc4f3 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiGroupResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiGroupResponseUnmarshaller.java @@ -58,6 +58,9 @@ public static DescribeApiGroupResponse unmarshall(DescribeApiGroupResponse descr describeApiGroupResponse.setVpcSlbIntranetDomain(_ctx.stringValue("DescribeApiGroupResponse.VpcSlbIntranetDomain")); describeApiGroupResponse.setCloudMarketCommodity(_ctx.booleanValue("DescribeApiGroupResponse.CloudMarketCommodity")); describeApiGroupResponse.setDedicatedInstanceType(_ctx.stringValue("DescribeApiGroupResponse.DedicatedInstanceType")); + describeApiGroupResponse.setMigrationStatus(_ctx.stringValue("DescribeApiGroupResponse.MigrationStatus")); + describeApiGroupResponse.setMigrationError(_ctx.stringValue("DescribeApiGroupResponse.MigrationError")); + describeApiGroupResponse.setDisableInnerDomain(_ctx.booleanValue("DescribeApiGroupResponse.DisableInnerDomain")); List customDomains = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("DescribeApiGroupResponse.CustomDomains.Length"); i++) { @@ -75,6 +78,8 @@ public static DescribeApiGroupResponse unmarshall(DescribeApiGroupResponse descr domainItem.setCertificateId(_ctx.stringValue("DescribeApiGroupResponse.CustomDomains["+ i +"].CertificateId")); domainItem.setIsHttpRedirectToHttps(_ctx.booleanValue("DescribeApiGroupResponse.CustomDomains["+ i +"].IsHttpRedirectToHttps")); domainItem.setWssEnable(_ctx.stringValue("DescribeApiGroupResponse.CustomDomains["+ i +"].WssEnable")); + domainItem.setCertificateValidStart(_ctx.longValue("DescribeApiGroupResponse.CustomDomains["+ i +"].CertificateValidStart")); + domainItem.setCertificateValidEnd(_ctx.longValue("DescribeApiGroupResponse.CustomDomains["+ i +"].CertificateValidEnd")); customDomains.add(domainItem); } diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiProductApisResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiProductApisResponseUnmarshaller.java new file mode 100644 index 0000000000..65a009b056 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiProductApisResponseUnmarshaller.java @@ -0,0 +1,53 @@ +/* + * 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.transform.v20160714; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.cloudapi.model.v20160714.DescribeApiProductApisResponse; +import com.aliyuncs.cloudapi.model.v20160714.DescribeApiProductApisResponse.ApiInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeApiProductApisResponseUnmarshaller { + + public static DescribeApiProductApisResponse unmarshall(DescribeApiProductApisResponse describeApiProductApisResponse, UnmarshallerContext _ctx) { + + describeApiProductApisResponse.setRequestId(_ctx.stringValue("DescribeApiProductApisResponse.RequestId")); + describeApiProductApisResponse.setPageNumber(_ctx.integerValue("DescribeApiProductApisResponse.PageNumber")); + describeApiProductApisResponse.setPageSize(_ctx.integerValue("DescribeApiProductApisResponse.PageSize")); + describeApiProductApisResponse.setTotalCount(_ctx.integerValue("DescribeApiProductApisResponse.TotalCount")); + + List apiInfoList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeApiProductApisResponse.ApiInfoList.Length"); i++) { + ApiInfo apiInfo = new ApiInfo(); + apiInfo.setApiId(_ctx.stringValue("DescribeApiProductApisResponse.ApiInfoList["+ i +"].ApiId")); + apiInfo.setDescription(_ctx.stringValue("DescribeApiProductApisResponse.ApiInfoList["+ i +"].Description")); + apiInfo.setGroupName(_ctx.stringValue("DescribeApiProductApisResponse.ApiInfoList["+ i +"].GroupName")); + apiInfo.setGroupId(_ctx.stringValue("DescribeApiProductApisResponse.ApiInfoList["+ i +"].GroupId")); + apiInfo.setPath(_ctx.stringValue("DescribeApiProductApisResponse.ApiInfoList["+ i +"].Path")); + apiInfo.setBizMethod(_ctx.stringValue("DescribeApiProductApisResponse.ApiInfoList["+ i +"].Method")); + apiInfo.setStageName(_ctx.stringValue("DescribeApiProductApisResponse.ApiInfoList["+ i +"].StageName")); + apiInfo.setApiName(_ctx.stringValue("DescribeApiProductApisResponse.ApiInfoList["+ i +"].ApiName")); + apiInfo.setRegionId(_ctx.stringValue("DescribeApiProductApisResponse.ApiInfoList["+ i +"].RegionId")); + + apiInfoList.add(apiInfo); + } + describeApiProductApisResponse.setApiInfoList(apiInfoList); + + return describeApiProductApisResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiProductsByAppResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiProductsByAppResponseUnmarshaller.java new file mode 100644 index 0000000000..5323b35844 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiProductsByAppResponseUnmarshaller.java @@ -0,0 +1,45 @@ +/* + * 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.transform.v20160714; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.cloudapi.model.v20160714.DescribeApiProductsByAppResponse; +import com.aliyuncs.cloudapi.model.v20160714.DescribeApiProductsByAppResponse.ApiProductInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeApiProductsByAppResponseUnmarshaller { + + public static DescribeApiProductsByAppResponse unmarshall(DescribeApiProductsByAppResponse describeApiProductsByAppResponse, UnmarshallerContext _ctx) { + + describeApiProductsByAppResponse.setRequestId(_ctx.stringValue("DescribeApiProductsByAppResponse.RequestId")); + describeApiProductsByAppResponse.setPageSize(_ctx.integerValue("DescribeApiProductsByAppResponse.PageSize")); + describeApiProductsByAppResponse.setPageNumber(_ctx.integerValue("DescribeApiProductsByAppResponse.PageNumber")); + describeApiProductsByAppResponse.setTotalCount(_ctx.integerValue("DescribeApiProductsByAppResponse.TotalCount")); + + List apiProductInfoList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeApiProductsByAppResponse.ApiProductInfoList.Length"); i++) { + ApiProductInfo apiProductInfo = new ApiProductInfo(); + apiProductInfo.setApiProductId(_ctx.stringValue("DescribeApiProductsByAppResponse.ApiProductInfoList["+ i +"].ApiProductId")); + + apiProductInfoList.add(apiProductInfo); + } + describeApiProductsByAppResponse.setApiProductInfoList(apiProductInfoList); + + return describeApiProductsByAppResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApisWithStageNameIntegratedByAppResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApisWithStageNameIntegratedByAppResponseUnmarshaller.java new file mode 100644 index 0000000000..ba09b7484f --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeApisWithStageNameIntegratedByAppResponseUnmarshaller.java @@ -0,0 +1,57 @@ +/* + * 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.transform.v20160714; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.cloudapi.model.v20160714.DescribeApisWithStageNameIntegratedByAppResponse; +import com.aliyuncs.cloudapi.model.v20160714.DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfo; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeApisWithStageNameIntegratedByAppResponseUnmarshaller { + + public static DescribeApisWithStageNameIntegratedByAppResponse unmarshall(DescribeApisWithStageNameIntegratedByAppResponse describeApisWithStageNameIntegratedByAppResponse, UnmarshallerContext _ctx) { + + describeApisWithStageNameIntegratedByAppResponse.setRequestId(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.RequestId")); + describeApisWithStageNameIntegratedByAppResponse.setPageNumber(_ctx.integerValue("DescribeApisWithStageNameIntegratedByAppResponse.PageNumber")); + describeApisWithStageNameIntegratedByAppResponse.setPageSize(_ctx.integerValue("DescribeApisWithStageNameIntegratedByAppResponse.PageSize")); + describeApisWithStageNameIntegratedByAppResponse.setTotalCount(_ctx.integerValue("DescribeApisWithStageNameIntegratedByAppResponse.TotalCount")); + + List appApiRelationInfos = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos.Length"); i++) { + AppApiRelationInfo appApiRelationInfo = new AppApiRelationInfo(); + appApiRelationInfo.setApiId(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].ApiId")); + appApiRelationInfo.setAuthorizationSource(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].AuthorizationSource")); + appApiRelationInfo.setDescription(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].Description")); + appApiRelationInfo.setGroupName(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].GroupName")); + appApiRelationInfo.setGroupId(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].GroupId")); + appApiRelationInfo.setOperator(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].Operator")); + appApiRelationInfo.setCreatedTime(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].CreatedTime")); + appApiRelationInfo.setApiName(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].ApiName")); + appApiRelationInfo.setRegionId(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].RegionId")); + appApiRelationInfo.setPath(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].Path")); + appApiRelationInfo.setBizMethod(_ctx.stringValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].Method")); + appApiRelationInfo.setStageNameAndAuth(_ctx.mapValue("DescribeApisWithStageNameIntegratedByAppResponse.AppApiRelationInfos["+ i +"].StageNameAndAuth")); + + appApiRelationInfos.add(appApiRelationInfo); + } + describeApisWithStageNameIntegratedByAppResponse.setAppApiRelationInfos(appApiRelationInfos); + + return describeApisWithStageNameIntegratedByAppResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppAttributesResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppAttributesResponseUnmarshaller.java index 0a80dcb319..827f000073 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppAttributesResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppAttributesResponseUnmarshaller.java @@ -40,6 +40,7 @@ public static DescribeAppAttributesResponse unmarshall(DescribeAppAttributesResp appAttribute.setDescription(_ctx.stringValue("DescribeAppAttributesResponse.Apps["+ i +"].Description")); appAttribute.setCreatedTime(_ctx.stringValue("DescribeAppAttributesResponse.Apps["+ i +"].CreatedTime")); appAttribute.setAppId(_ctx.longValue("DescribeAppAttributesResponse.Apps["+ i +"].AppId")); + appAttribute.setExtend(_ctx.stringValue("DescribeAppAttributesResponse.Apps["+ i +"].Extend")); List tags = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("DescribeAppAttributesResponse.Apps["+ i +"].Tags.Length"); j++) { diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppResponseUnmarshaller.java index ae417cd039..53712ec787 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppResponseUnmarshaller.java @@ -27,7 +27,8 @@ public static DescribeAppResponse unmarshall(DescribeAppResponse describeAppResp describeAppResponse.setModifiedTime(_ctx.stringValue("DescribeAppResponse.ModifiedTime")); describeAppResponse.setDescription(_ctx.stringValue("DescribeAppResponse.Description")); describeAppResponse.setAppId(_ctx.longValue("DescribeAppResponse.AppId")); - describeAppResponse.setCreatedTime(_ctx.stringValue("DescribeAppResponse.CreatedTime")); + describeAppResponse.setCreatedTime(_ctx.stringValue("DescribeAppResponse.CreatedTime")); + describeAppResponse.setExtend(_ctx.stringValue("DescribeAppResponse.Extend")); return describeAppResponse; } diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppsByApiProductResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppsByApiProductResponseUnmarshaller.java new file mode 100644 index 0000000000..a5c86d78ba --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppsByApiProductResponseUnmarshaller.java @@ -0,0 +1,50 @@ +/* + * 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.transform.v20160714; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.cloudapi.model.v20160714.DescribeAppsByApiProductResponse; +import com.aliyuncs.cloudapi.model.v20160714.DescribeAppsByApiProductResponse.AuthorizedApp; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeAppsByApiProductResponseUnmarshaller { + + public static DescribeAppsByApiProductResponse unmarshall(DescribeAppsByApiProductResponse describeAppsByApiProductResponse, UnmarshallerContext _ctx) { + + describeAppsByApiProductResponse.setRequestId(_ctx.stringValue("DescribeAppsByApiProductResponse.RequestId")); + describeAppsByApiProductResponse.setPageSize(_ctx.integerValue("DescribeAppsByApiProductResponse.PageSize")); + describeAppsByApiProductResponse.setPageNumber(_ctx.integerValue("DescribeAppsByApiProductResponse.PageNumber")); + describeAppsByApiProductResponse.setTotalCount(_ctx.integerValue("DescribeAppsByApiProductResponse.TotalCount")); + + List authorizedApps = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeAppsByApiProductResponse.AuthorizedApps.Length"); i++) { + AuthorizedApp authorizedApp = new AuthorizedApp(); + authorizedApp.setAppName(_ctx.stringValue("DescribeAppsByApiProductResponse.AuthorizedApps["+ i +"].AppName")); + authorizedApp.setDescription(_ctx.stringValue("DescribeAppsByApiProductResponse.AuthorizedApps["+ i +"].Description")); + authorizedApp.setAuthValidTime(_ctx.stringValue("DescribeAppsByApiProductResponse.AuthorizedApps["+ i +"].AuthValidTime")); + authorizedApp.setAppId(_ctx.longValue("DescribeAppsByApiProductResponse.AuthorizedApps["+ i +"].AppId")); + authorizedApp.setExtend(_ctx.stringValue("DescribeAppsByApiProductResponse.AuthorizedApps["+ i +"].Extend")); + authorizedApp.setAuthorizedTime(_ctx.stringValue("DescribeAppsByApiProductResponse.AuthorizedApps["+ i +"].AuthorizedTime")); + + authorizedApps.add(authorizedApp); + } + describeAppsByApiProductResponse.setAuthorizedApps(authorizedApps); + + return describeAppsByApiProductResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeBackendInfoResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeBackendInfoResponseUnmarshaller.java index 7de95a187b..1a9ab66bc4 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeBackendInfoResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeBackendInfoResponseUnmarshaller.java @@ -21,6 +21,8 @@ import com.aliyuncs.cloudapi.model.v20160714.DescribeBackendInfoResponse.BackendInfo; import com.aliyuncs.cloudapi.model.v20160714.DescribeBackendInfoResponse.BackendInfo.BackendModel; import com.aliyuncs.cloudapi.model.v20160714.DescribeBackendInfoResponse.BackendInfo.BackendModel.BackendConfig; +import com.aliyuncs.cloudapi.model.v20160714.DescribeBackendInfoResponse.BackendInfo.BackendModel.BackendConfig.DiscoveryConfig; +import com.aliyuncs.cloudapi.model.v20160714.DescribeBackendInfoResponse.BackendInfo.BackendModel.BackendConfig.DiscoveryConfig.NacosConfig; import com.aliyuncs.cloudapi.model.v20160714.DescribeBackendInfoResponse.BackendInfo.BackendModel.BackendConfig.EventBridgeConfig; import com.aliyuncs.cloudapi.model.v20160714.DescribeBackendInfoResponse.BackendInfo.BackendModel.BackendConfig.FunctionComputeConfig; import com.aliyuncs.cloudapi.model.v20160714.DescribeBackendInfoResponse.BackendInfo.BackendModel.BackendConfig.MockConfig; @@ -56,7 +58,9 @@ public static DescribeBackendInfoResponse unmarshall(DescribeBackendInfoResponse BackendConfig backendConfig = new BackendConfig(); backendConfig.setServiceAddress(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.ServiceAddress")); + backendConfig.setHttpTargetHostName(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.HttpTargetHostName")); backendConfig.setType(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.Type")); + backendConfig.setServiceTimeout(_ctx.integerValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.ServiceTimeout")); VpcConfig vpcConfig = new VpcConfig(); vpcConfig.setVpcId(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.VpcConfig.VpcId")); @@ -105,6 +109,23 @@ public static DescribeBackendInfoResponse unmarshall(DescribeBackendInfoResponse } mockConfig.setMockHeaders(mockHeaders); backendConfig.setMockConfig(mockConfig); + + DiscoveryConfig discoveryConfig = new DiscoveryConfig(); + discoveryConfig.setRcType(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.RcType")); + + NacosConfig nacosConfig = new NacosConfig(); + nacosConfig.setServerAddress(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.NacosConfig.ServerAddress")); + nacosConfig.setNamespace(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.NacosConfig.Namespace")); + nacosConfig.setGroupName(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.NacosConfig.GroupName")); + nacosConfig.setServiceName(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.NacosConfig.ServiceName")); + nacosConfig.setClusters(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.NacosConfig.Clusters")); + nacosConfig.setAuthType(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.NacosConfig.AuthType")); + nacosConfig.setUserName(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.NacosConfig.UserName")); + nacosConfig.setPassword(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.NacosConfig.Password")); + nacosConfig.setAccessKey(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.NacosConfig.AccessKey")); + nacosConfig.setSecretKey(_ctx.stringValue("DescribeBackendInfoResponse.BackendInfo.BackendModels["+ i +"].BackendConfig.DiscoveryConfig.NacosConfig.SecretKey")); + discoveryConfig.setNacosConfig(nacosConfig); + backendConfig.setDiscoveryConfig(discoveryConfig); backendModel.setBackendConfig(backendConfig); backendModels.add(backendModel); diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeGroupLatencyResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeGroupLatencyResponseUnmarshaller.java new file mode 100644 index 0000000000..b55b040395 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeGroupLatencyResponseUnmarshaller.java @@ -0,0 +1,44 @@ +/* + * 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.transform.v20160714; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.cloudapi.model.v20160714.DescribeGroupLatencyResponse; +import com.aliyuncs.cloudapi.model.v20160714.DescribeGroupLatencyResponse.MonitorItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeGroupLatencyResponseUnmarshaller { + + public static DescribeGroupLatencyResponse unmarshall(DescribeGroupLatencyResponse describeGroupLatencyResponse, UnmarshallerContext _ctx) { + + describeGroupLatencyResponse.setRequestId(_ctx.stringValue("DescribeGroupLatencyResponse.RequestId")); + + List latencyPacket = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeGroupLatencyResponse.LatencyPacket.Length"); i++) { + MonitorItem monitorItem = new MonitorItem(); + monitorItem.setItemValue(_ctx.stringValue("DescribeGroupLatencyResponse.LatencyPacket["+ i +"].ItemValue")); + monitorItem.setItemTime(_ctx.stringValue("DescribeGroupLatencyResponse.LatencyPacket["+ i +"].ItemTime")); + monitorItem.setItem(_ctx.stringValue("DescribeGroupLatencyResponse.LatencyPacket["+ i +"].Item")); + + latencyPacket.add(monitorItem); + } + describeGroupLatencyResponse.setLatencyPacket(latencyPacket); + + return describeGroupLatencyResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeGroupQpsResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeGroupQpsResponseUnmarshaller.java new file mode 100644 index 0000000000..d7238bd4c0 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeGroupQpsResponseUnmarshaller.java @@ -0,0 +1,43 @@ +/* + * 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.transform.v20160714; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.cloudapi.model.v20160714.DescribeGroupQpsResponse; +import com.aliyuncs.cloudapi.model.v20160714.DescribeGroupQpsResponse.MonitorItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeGroupQpsResponseUnmarshaller { + + public static DescribeGroupQpsResponse unmarshall(DescribeGroupQpsResponse describeGroupQpsResponse, UnmarshallerContext _ctx) { + + describeGroupQpsResponse.setRequestId(_ctx.stringValue("DescribeGroupQpsResponse.RequestId")); + + List groupQps = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeGroupQpsResponse.GroupQps.Length"); i++) { + MonitorItem monitorItem = new MonitorItem(); + monitorItem.setItemValue(_ctx.stringValue("DescribeGroupQpsResponse.GroupQps["+ i +"].ItemValue")); + monitorItem.setItemTime(_ctx.stringValue("DescribeGroupQpsResponse.GroupQps["+ i +"].ItemTime")); + + groupQps.add(monitorItem); + } + describeGroupQpsResponse.setGroupQps(groupQps); + + return describeGroupQpsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeGroupTrafficResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeGroupTrafficResponseUnmarshaller.java new file mode 100644 index 0000000000..dd559dc56d --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeGroupTrafficResponseUnmarshaller.java @@ -0,0 +1,44 @@ +/* + * 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.transform.v20160714; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.cloudapi.model.v20160714.DescribeGroupTrafficResponse; +import com.aliyuncs.cloudapi.model.v20160714.DescribeGroupTrafficResponse.MonitorItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeGroupTrafficResponseUnmarshaller { + + public static DescribeGroupTrafficResponse unmarshall(DescribeGroupTrafficResponse describeGroupTrafficResponse, UnmarshallerContext _ctx) { + + describeGroupTrafficResponse.setRequestId(_ctx.stringValue("DescribeGroupTrafficResponse.RequestId")); + + List trafficPerSecond = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeGroupTrafficResponse.TrafficPerSecond.Length"); i++) { + MonitorItem monitorItem = new MonitorItem(); + monitorItem.setItemValue(_ctx.stringValue("DescribeGroupTrafficResponse.TrafficPerSecond["+ i +"].ItemValue")); + monitorItem.setItemTime(_ctx.stringValue("DescribeGroupTrafficResponse.TrafficPerSecond["+ i +"].ItemTime")); + monitorItem.setItem(_ctx.stringValue("DescribeGroupTrafficResponse.TrafficPerSecond["+ i +"].Item")); + + trafficPerSecond.add(monitorItem); + } + describeGroupTrafficResponse.setTrafficPerSecond(trafficPerSecond); + + return describeGroupTrafficResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeInstancesResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeInstancesResponseUnmarshaller.java index 451743b62a..b3869355cf 100644 --- a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeInstancesResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeInstancesResponseUnmarshaller.java @@ -72,6 +72,10 @@ public static DescribeInstancesResponse unmarshall(DescribeInstancesResponse des instanceAttribute.setDedicatedInstanceType(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].DedicatedInstanceType")); instanceAttribute.setInstanceCidrBlock(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].InstanceCidrBlock")); instanceAttribute.setConnectVpcId(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].ConnectVpcId")); + instanceAttribute.setInstanceClusterId(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].InstanceClusterId")); + instanceAttribute.setMaintainStartTime(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].MaintainStartTime")); + instanceAttribute.setMaintainEndTime(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].MaintainEndTime")); + instanceAttribute.setConnectCidrBlocks(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].ConnectCidrBlocks")); List instanceSpecAttributes = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("DescribeInstancesResponse.Instances["+ i +"].InstanceSpecAttributes.Length"); j++) { diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeSummaryDataResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeSummaryDataResponseUnmarshaller.java new file mode 100644 index 0000000000..79741bf8ed --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DescribeSummaryDataResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * 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.transform.v20160714; + +import com.aliyuncs.cloudapi.model.v20160714.DescribeSummaryDataResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeSummaryDataResponseUnmarshaller { + + public static DescribeSummaryDataResponse unmarshall(DescribeSummaryDataResponse describeSummaryDataResponse, UnmarshallerContext _ctx) { + + describeSummaryDataResponse.setRequestId(_ctx.stringValue("DescribeSummaryDataResponse.RequestId")); + describeSummaryDataResponse.setUsageGroupNum(_ctx.integerValue("DescribeSummaryDataResponse.UsageGroupNum")); + describeSummaryDataResponse.setUsageInstanceNum(_ctx.integerValue("DescribeSummaryDataResponse.UsageInstanceNum")); + describeSummaryDataResponse.setUsageApiNum(_ctx.integerValue("DescribeSummaryDataResponse.UsageApiNum")); + describeSummaryDataResponse.setRegion(_ctx.stringValue("DescribeSummaryDataResponse.Region")); + describeSummaryDataResponse.setComeingSoonInstanceNum(_ctx.integerValue("DescribeSummaryDataResponse.ComeingSoonInstanceNum")); + describeSummaryDataResponse.setExpireInstanceNum(_ctx.integerValue("DescribeSummaryDataResponse.ExpireInstanceNum")); + + return describeSummaryDataResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DetachApiProductResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DetachApiProductResponseUnmarshaller.java new file mode 100644 index 0000000000..4edc78be69 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/DetachApiProductResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.transform.v20160714; + +import com.aliyuncs.cloudapi.model.v20160714.DetachApiProductResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DetachApiProductResponseUnmarshaller { + + public static DetachApiProductResponse unmarshall(DetachApiProductResponse detachApiProductResponse, UnmarshallerContext _ctx) { + + detachApiProductResponse.setRequestId(_ctx.stringValue("DetachApiProductResponse.RequestId")); + + return detachApiProductResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/ModifyIntranetDomainPolicyResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/ModifyIntranetDomainPolicyResponseUnmarshaller.java new file mode 100644 index 0000000000..80ef931d50 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/ModifyIntranetDomainPolicyResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.transform.v20160714; + +import com.aliyuncs.cloudapi.model.v20160714.ModifyIntranetDomainPolicyResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyIntranetDomainPolicyResponseUnmarshaller { + + public static ModifyIntranetDomainPolicyResponse unmarshall(ModifyIntranetDomainPolicyResponse modifyIntranetDomainPolicyResponse, UnmarshallerContext _ctx) { + + modifyIntranetDomainPolicyResponse.setRequestId(_ctx.stringValue("ModifyIntranetDomainPolicyResponse.RequestId")); + + return modifyIntranetDomainPolicyResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/RemoveApiProductsAuthoritiesResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/RemoveApiProductsAuthoritiesResponseUnmarshaller.java new file mode 100644 index 0000000000..360d07c34c --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/RemoveApiProductsAuthoritiesResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.transform.v20160714; + +import com.aliyuncs.cloudapi.model.v20160714.RemoveApiProductsAuthoritiesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class RemoveApiProductsAuthoritiesResponseUnmarshaller { + + public static RemoveApiProductsAuthoritiesResponse unmarshall(RemoveApiProductsAuthoritiesResponse removeApiProductsAuthoritiesResponse, UnmarshallerContext _ctx) { + + removeApiProductsAuthoritiesResponse.setRequestId(_ctx.stringValue("RemoveApiProductsAuthoritiesResponse.RequestId")); + + return removeApiProductsAuthoritiesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/SetApiProductsAuthoritiesResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/SetApiProductsAuthoritiesResponseUnmarshaller.java new file mode 100644 index 0000000000..f6b64efe18 --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/SetApiProductsAuthoritiesResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.transform.v20160714; + +import com.aliyuncs.cloudapi.model.v20160714.SetApiProductsAuthoritiesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class SetApiProductsAuthoritiesResponseUnmarshaller { + + public static SetApiProductsAuthoritiesResponse unmarshall(SetApiProductsAuthoritiesResponse setApiProductsAuthoritiesResponse, UnmarshallerContext _ctx) { + + setApiProductsAuthoritiesResponse.setRequestId(_ctx.stringValue("SetApiProductsAuthoritiesResponse.RequestId")); + + return setApiProductsAuthoritiesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/ValidateVpcConnectivityResponseUnmarshaller.java b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/ValidateVpcConnectivityResponseUnmarshaller.java new file mode 100644 index 0000000000..a06d46a81e --- /dev/null +++ b/aliyun-java-sdk-cloudapi/src/main/java/com/aliyuncs/cloudapi/transform/v20160714/ValidateVpcConnectivityResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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.transform.v20160714; + +import com.aliyuncs.cloudapi.model.v20160714.ValidateVpcConnectivityResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ValidateVpcConnectivityResponseUnmarshaller { + + public static ValidateVpcConnectivityResponse unmarshall(ValidateVpcConnectivityResponse validateVpcConnectivityResponse, UnmarshallerContext _ctx) { + + validateVpcConnectivityResponse.setRequestId(_ctx.stringValue("ValidateVpcConnectivityResponse.RequestId")); + validateVpcConnectivityResponse.setConnected(_ctx.booleanValue("ValidateVpcConnectivityResponse.Connected")); + validateVpcConnectivityResponse.setIpType(_ctx.stringValue("ValidateVpcConnectivityResponse.IpType")); + + return validateVpcConnectivityResponse; + } +} \ No newline at end of file