diff --git a/aliyun-java-sdk-amqp-open/ChangeLog.txt b/aliyun-java-sdk-amqp-open/ChangeLog.txt
index e59a009679..a9481e552d 100644
--- a/aliyun-java-sdk-amqp-open/ChangeLog.txt
+++ b/aliyun-java-sdk-amqp-open/ChangeLog.txt
@@ -1,3 +1,6 @@
+2023-11-08 Version: 1.1.2
+- Support CreateInstance API.
+
2020-07-01 Version: 1.1.1
- Add API for GetMetadataAmount.
diff --git a/aliyun-java-sdk-amqp-open/pom.xml b/aliyun-java-sdk-amqp-open/pom.xml
index d9e153f60d..74c57c1a04 100644
--- a/aliyun-java-sdk-amqp-open/pom.xml
+++ b/aliyun-java-sdk-amqp-open/pom.xml
@@ -4,7 +4,7 @@
com.aliyun
aliyun-java-sdk-amqp-open
jar
- 1.1.1
+ 1.1.2
aliyun-java-sdk-amqp-open
http://www.aliyun.com
Aliyun Open API SDK for Java
@@ -15,11 +15,11 @@ http://www.aliyun.com
sonatype-nexus-snapshots
- https://oss.sonatype.org/content/repositories/snapshots
+ https://s01.oss.sonatype.org/content/repositories/snapshots
sonatype-nexus-staging
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
+ https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
@@ -37,9 +37,8 @@ http://www.aliyun.com
-
-
-
+ The Apache License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
@@ -110,7 +109,7 @@ http://www.aliyun.com
true
sonatype-nexus-staging
- https://oss.sonatype.org/
+ https://s01.oss.sonatype.org/
true
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateAccountRequest.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateAccountRequest.java
new file mode 100644
index 0000000000..6099340f2d
--- /dev/null
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateAccountRequest.java
@@ -0,0 +1,119 @@
+/*
+ * 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.amqp_open.model.v20191212;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.amqp_open.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateAccountRequest extends RpcAcsRequest {
+
+
+ private String signature;
+
+ private String secretSign;
+
+ private String accountAccessKey;
+
+ private String instanceId;
+
+ private Long createTimestamp;
+
+ private String userName;
+ public CreateAccountRequest() {
+ super("amqp-open", "2019-12-12", "CreateAccount", "onsproxy");
+ 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 getSignature() {
+ return this.signature;
+ }
+
+ public void setSignature(String signature) {
+ this.signature = signature;
+ if(signature != null){
+ putQueryParameter("signature", signature);
+ }
+ }
+
+ public String getSecretSign() {
+ return this.secretSign;
+ }
+
+ public void setSecretSign(String secretSign) {
+ this.secretSign = secretSign;
+ if(secretSign != null){
+ putQueryParameter("secretSign", secretSign);
+ }
+ }
+
+ public String getAccountAccessKey() {
+ return this.accountAccessKey;
+ }
+
+ public void setAccountAccessKey(String accountAccessKey) {
+ this.accountAccessKey = accountAccessKey;
+ if(accountAccessKey != null){
+ putQueryParameter("accountAccessKey", accountAccessKey);
+ }
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ if(instanceId != null){
+ putQueryParameter("instanceId", instanceId);
+ }
+ }
+
+ public Long getCreateTimestamp() {
+ return this.createTimestamp;
+ }
+
+ public void setCreateTimestamp(Long createTimestamp) {
+ this.createTimestamp = createTimestamp;
+ if(createTimestamp != null){
+ putQueryParameter("createTimestamp", createTimestamp.toString());
+ }
+ }
+
+ public String getUserName() {
+ return this.userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ if(userName != null){
+ putQueryParameter("userName", userName);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateAccountResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateAccountResponse.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateAccountResponse.java
new file mode 100644
index 0000000000..e48026f2b2
--- /dev/null
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateAccountResponse.java
@@ -0,0 +1,149 @@
+/*
+ * 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.amqp_open.model.v20191212;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.amqp_open.transform.v20191212.CreateAccountResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateAccountResponse extends AcsResponse {
+
+ private String requestId;
+
+ private Integer code;
+
+ private String message;
+
+ private Boolean success;
+
+ private Data data;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public Integer getCode() {
+ return this.code;
+ }
+
+ public void setCode(Integer code) {
+ this.code = code;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public Boolean getSuccess() {
+ return this.success;
+ }
+
+ public void setSuccess(Boolean success) {
+ this.success = success;
+ }
+
+ public Data getData() {
+ return this.data;
+ }
+
+ public void setData(Data data) {
+ this.data = data;
+ }
+
+ public static class Data {
+
+ private String accessKey;
+
+ private String password;
+
+ private Long createTimeStamp;
+
+ private String instanceId;
+
+ private Long masterUId;
+
+ private String userName;
+
+ public String getAccessKey() {
+ return this.accessKey;
+ }
+
+ public void setAccessKey(String accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ public String getPassword() {
+ return this.password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+
+ public Long getCreateTimeStamp() {
+ return this.createTimeStamp;
+ }
+
+ public void setCreateTimeStamp(Long createTimeStamp) {
+ this.createTimeStamp = createTimeStamp;
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+
+ public Long getMasterUId() {
+ return this.masterUId;
+ }
+
+ public void setMasterUId(Long masterUId) {
+ this.masterUId = masterUId;
+ }
+
+ public String getUserName() {
+ return this.userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+ }
+
+ @Override
+ public CreateAccountResponse getInstance(UnmarshallerContext context) {
+ return CreateAccountResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateInstanceRequest.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateInstanceRequest.java
new file mode 100644
index 0000000000..cb9cda1582
--- /dev/null
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateInstanceRequest.java
@@ -0,0 +1,236 @@
+/*
+ * 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.amqp_open.model.v20191212;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.amqp_open.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateInstanceRequest extends RpcAcsRequest {
+
+
+ private Long maxPrivateTps;
+
+ private String clientToken;
+
+ private String periodCycle;
+
+ private Integer storageSize;
+
+ private Integer queueCapacity;
+
+ private Integer tracingStorageTime;
+
+ private Integer maxConnections;
+
+ private Boolean supportTracing;
+
+ private String instanceType;
+
+ private Integer autoRenewPeriod;
+
+ private Integer period;
+
+ private Boolean autoRenew;
+
+ private Boolean supportEip;
+
+ private Long maxEipTps;
+
+ private String paymentType;
+ public CreateInstanceRequest() {
+ super("amqp-open", "2019-12-12", "CreateInstance", "onsproxy");
+ 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 Long getMaxPrivateTps() {
+ return this.maxPrivateTps;
+ }
+
+ public void setMaxPrivateTps(Long maxPrivateTps) {
+ this.maxPrivateTps = maxPrivateTps;
+ if(maxPrivateTps != null){
+ putQueryParameter("MaxPrivateTps", maxPrivateTps.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getPeriodCycle() {
+ return this.periodCycle;
+ }
+
+ public void setPeriodCycle(String periodCycle) {
+ this.periodCycle = periodCycle;
+ if(periodCycle != null){
+ putQueryParameter("PeriodCycle", periodCycle);
+ }
+ }
+
+ public Integer getStorageSize() {
+ return this.storageSize;
+ }
+
+ public void setStorageSize(Integer storageSize) {
+ this.storageSize = storageSize;
+ if(storageSize != null){
+ putQueryParameter("StorageSize", storageSize.toString());
+ }
+ }
+
+ public Integer getQueueCapacity() {
+ return this.queueCapacity;
+ }
+
+ public void setQueueCapacity(Integer queueCapacity) {
+ this.queueCapacity = queueCapacity;
+ if(queueCapacity != null){
+ putQueryParameter("QueueCapacity", queueCapacity.toString());
+ }
+ }
+
+ public Integer getTracingStorageTime() {
+ return this.tracingStorageTime;
+ }
+
+ public void setTracingStorageTime(Integer tracingStorageTime) {
+ this.tracingStorageTime = tracingStorageTime;
+ if(tracingStorageTime != null){
+ putQueryParameter("TracingStorageTime", tracingStorageTime.toString());
+ }
+ }
+
+ public Integer getMaxConnections() {
+ return this.maxConnections;
+ }
+
+ public void setMaxConnections(Integer maxConnections) {
+ this.maxConnections = maxConnections;
+ if(maxConnections != null){
+ putQueryParameter("MaxConnections", maxConnections.toString());
+ }
+ }
+
+ public Boolean getSupportTracing() {
+ return this.supportTracing;
+ }
+
+ public void setSupportTracing(Boolean supportTracing) {
+ this.supportTracing = supportTracing;
+ if(supportTracing != null){
+ putQueryParameter("SupportTracing", supportTracing.toString());
+ }
+ }
+
+ public String getInstanceType() {
+ return this.instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ if(instanceType != null){
+ putQueryParameter("InstanceType", instanceType);
+ }
+ }
+
+ public Integer getAutoRenewPeriod() {
+ return this.autoRenewPeriod;
+ }
+
+ public void setAutoRenewPeriod(Integer autoRenewPeriod) {
+ this.autoRenewPeriod = autoRenewPeriod;
+ if(autoRenewPeriod != null){
+ putQueryParameter("AutoRenewPeriod", autoRenewPeriod.toString());
+ }
+ }
+
+ public Integer getPeriod() {
+ return this.period;
+ }
+
+ public void setPeriod(Integer period) {
+ this.period = period;
+ if(period != null){
+ putQueryParameter("Period", period.toString());
+ }
+ }
+
+ public Boolean getAutoRenew() {
+ return this.autoRenew;
+ }
+
+ public void setAutoRenew(Boolean autoRenew) {
+ this.autoRenew = autoRenew;
+ if(autoRenew != null){
+ putQueryParameter("AutoRenew", autoRenew.toString());
+ }
+ }
+
+ public Boolean getSupportEip() {
+ return this.supportEip;
+ }
+
+ public void setSupportEip(Boolean supportEip) {
+ this.supportEip = supportEip;
+ if(supportEip != null){
+ putQueryParameter("SupportEip", supportEip.toString());
+ }
+ }
+
+ public Long getMaxEipTps() {
+ return this.maxEipTps;
+ }
+
+ public void setMaxEipTps(Long maxEipTps) {
+ this.maxEipTps = maxEipTps;
+ if(maxEipTps != null){
+ putQueryParameter("MaxEipTps", maxEipTps.toString());
+ }
+ }
+
+ public String getPaymentType() {
+ return this.paymentType;
+ }
+
+ public void setPaymentType(String paymentType) {
+ this.paymentType = paymentType;
+ if(paymentType != null){
+ putQueryParameter("PaymentType", paymentType);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateInstanceResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateInstanceResponse.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateInstanceResponse.java
new file mode 100644
index 0000000000..2c5e10c87f
--- /dev/null
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/CreateInstanceResponse.java
@@ -0,0 +1,36 @@
+/*
+ * 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.amqp_open.model.v20191212;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.amqp_open.transform.v20191212.CreateInstanceResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateInstanceResponse extends AcsResponse {
+
+ @Override
+ public CreateInstanceResponse getInstance(UnmarshallerContext context) {
+ return CreateInstanceResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/DeleteAccountRequest.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/DeleteAccountRequest.java
new file mode 100644
index 0000000000..474e363609
--- /dev/null
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/DeleteAccountRequest.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.amqp_open.model.v20191212;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.amqp_open.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DeleteAccountRequest extends RpcAcsRequest {
+
+
+ private Long createTimestamp;
+
+ private String userName;
+ public DeleteAccountRequest() {
+ super("amqp-open", "2019-12-12", "DeleteAccount", "onsproxy");
+ 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 Long getCreateTimestamp() {
+ return this.createTimestamp;
+ }
+
+ public void setCreateTimestamp(Long createTimestamp) {
+ this.createTimestamp = createTimestamp;
+ if(createTimestamp != null){
+ putQueryParameter("CreateTimestamp", createTimestamp.toString());
+ }
+ }
+
+ public String getUserName() {
+ return this.userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ if(userName != null){
+ putQueryParameter("UserName", userName);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return DeleteAccountResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/DeleteAccountResponse.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/DeleteAccountResponse.java
new file mode 100644
index 0000000000..ed5bd2d238
--- /dev/null
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/DeleteAccountResponse.java
@@ -0,0 +1,86 @@
+/*
+ * 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.amqp_open.model.v20191212;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.amqp_open.transform.v20191212.DeleteAccountResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DeleteAccountResponse extends AcsResponse {
+
+ private String requestId;
+
+ private Integer code;
+
+ private String message;
+
+ private Boolean data;
+
+ private Boolean success;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public Integer getCode() {
+ return this.code;
+ }
+
+ public void setCode(Integer code) {
+ this.code = code;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public Boolean getData() {
+ return this.data;
+ }
+
+ public void setData(Boolean data) {
+ this.data = data;
+ }
+
+ public Boolean getSuccess() {
+ return this.success;
+ }
+
+ public void setSuccess(Boolean success) {
+ this.success = success;
+ }
+
+ @Override
+ public DeleteAccountResponse getInstance(UnmarshallerContext context) {
+ return DeleteAccountResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/GetMetadataAmountResponse.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/GetMetadataAmountResponse.java
index b791173016..147b144b8e 100644
--- a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/GetMetadataAmountResponse.java
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/GetMetadataAmountResponse.java
@@ -46,9 +46,11 @@ public void setData(Data data) {
public static class Data {
+ private Integer maxVirtualHosts;
+
private Integer currentVirtualHosts;
- private Integer maxVirtualHosts;
+ private Integer maxQueues;
private Integer currentExchanges;
@@ -56,7 +58,13 @@ public static class Data {
private Integer currentQueues;
- private Integer maxQueues;
+ public Integer getMaxVirtualHosts() {
+ return this.maxVirtualHosts;
+ }
+
+ public void setMaxVirtualHosts(Integer maxVirtualHosts) {
+ this.maxVirtualHosts = maxVirtualHosts;
+ }
public Integer getCurrentVirtualHosts() {
return this.currentVirtualHosts;
@@ -66,12 +74,12 @@ public void setCurrentVirtualHosts(Integer currentVirtualHosts) {
this.currentVirtualHosts = currentVirtualHosts;
}
- public Integer getMaxVirtualHosts() {
- return this.maxVirtualHosts;
+ public Integer getMaxQueues() {
+ return this.maxQueues;
}
- public void setMaxVirtualHosts(Integer maxVirtualHosts) {
- this.maxVirtualHosts = maxVirtualHosts;
+ public void setMaxQueues(Integer maxQueues) {
+ this.maxQueues = maxQueues;
}
public Integer getCurrentExchanges() {
@@ -97,14 +105,6 @@ public Integer getCurrentQueues() {
public void setCurrentQueues(Integer currentQueues) {
this.currentQueues = currentQueues;
}
-
- public Integer getMaxQueues() {
- return this.maxQueues;
- }
-
- public void setMaxQueues(Integer maxQueues) {
- this.maxQueues = maxQueues;
- }
}
@Override
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListAccountsRequest.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListAccountsRequest.java
new file mode 100644
index 0000000000..2a54e1ed6d
--- /dev/null
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListAccountsRequest.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.amqp_open.model.v20191212;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.amqp_open.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListAccountsRequest extends RpcAcsRequest {
+
+
+ private String instanceId;
+ public ListAccountsRequest() {
+ super("amqp-open", "2019-12-12", "ListAccounts", "onsproxy");
+ 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);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListAccountsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListAccountsResponse.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListAccountsResponse.java
new file mode 100644
index 0000000000..466d0f2f2e
--- /dev/null
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListAccountsResponse.java
@@ -0,0 +1,36 @@
+/*
+ * 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.amqp_open.model.v20191212;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.amqp_open.transform.v20191212.ListAccountsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListAccountsResponse extends AcsResponse {
+
+ @Override
+ public ListAccountsResponse getInstance(UnmarshallerContext context) {
+ return ListAccountsResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListBindingsResponse.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListBindingsResponse.java
index 9b9b70f4b1..d876c2906c 100644
--- a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListBindingsResponse.java
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListBindingsResponse.java
@@ -47,19 +47,11 @@ public void setData(Data data) {
public static class Data {
- private String nextToken;
-
private Integer maxResults;
- private List bindings;
-
- public String getNextToken() {
- return this.nextToken;
- }
+ private String nextToken;
- public void setNextToken(String nextToken) {
- this.nextToken = nextToken;
- }
+ private List bindings;
public Integer getMaxResults() {
return this.maxResults;
@@ -69,6 +61,14 @@ public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
public List getBindings() {
return this.bindings;
}
@@ -81,13 +81,13 @@ public static class BindingDO {
private String sourceExchange;
- private String destinationName;
-
- private String bindingType;
+ private String argument;
private String bindingKey;
- private String argument;
+ private String bindingType;
+
+ private String destinationName;
public String getSourceExchange() {
return this.sourceExchange;
@@ -97,20 +97,12 @@ public void setSourceExchange(String sourceExchange) {
this.sourceExchange = sourceExchange;
}
- public String getDestinationName() {
- return this.destinationName;
- }
-
- public void setDestinationName(String destinationName) {
- this.destinationName = destinationName;
- }
-
- public String getBindingType() {
- return this.bindingType;
+ public String getArgument() {
+ return this.argument;
}
- public void setBindingType(String bindingType) {
- this.bindingType = bindingType;
+ public void setArgument(String argument) {
+ this.argument = argument;
}
public String getBindingKey() {
@@ -121,12 +113,20 @@ public void setBindingKey(String bindingKey) {
this.bindingKey = bindingKey;
}
- public String getArgument() {
- return this.argument;
+ public String getBindingType() {
+ return this.bindingType;
}
- public void setArgument(String argument) {
- this.argument = argument;
+ public void setBindingType(String bindingType) {
+ this.bindingType = bindingType;
+ }
+
+ public String getDestinationName() {
+ return this.destinationName;
+ }
+
+ public void setDestinationName(String destinationName) {
+ this.destinationName = destinationName;
}
}
}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListDownStreamBindingsResponse.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListDownStreamBindingsResponse.java
index 96865e006d..23c91453ab 100644
--- a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListDownStreamBindingsResponse.java
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListDownStreamBindingsResponse.java
@@ -25,24 +25,16 @@
*/
public class ListDownStreamBindingsResponse extends AcsResponse {
- private String requestId;
-
private Integer code;
private String message;
+ private String requestId;
+
private Boolean success;
private Data data;
- public String getRequestId() {
- return this.requestId;
- }
-
- public void setRequestId(String requestId) {
- this.requestId = requestId;
- }
-
public Integer getCode() {
return this.code;
}
@@ -59,6 +51,14 @@ public void setMessage(String message) {
this.message = message;
}
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
public Boolean getSuccess() {
return this.success;
}
@@ -77,19 +77,11 @@ public void setData(Data data) {
public static class Data {
- private String nextToken;
-
private Integer maxResults;
- private List bindings;
-
- public String getNextToken() {
- return this.nextToken;
- }
+ private String nextToken;
- public void setNextToken(String nextToken) {
- this.nextToken = nextToken;
- }
+ private List bindings;
public Integer getMaxResults() {
return this.maxResults;
@@ -99,6 +91,14 @@ public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
public List getBindings() {
return this.bindings;
}
@@ -111,13 +111,13 @@ public static class BindingVO {
private String sourceExchange;
- private String destinationName;
-
- private String bindingType;
+ private String argument;
private String bindingKey;
- private String argument;
+ private String bindingType;
+
+ private String destinationName;
public String getSourceExchange() {
return this.sourceExchange;
@@ -127,20 +127,12 @@ public void setSourceExchange(String sourceExchange) {
this.sourceExchange = sourceExchange;
}
- public String getDestinationName() {
- return this.destinationName;
- }
-
- public void setDestinationName(String destinationName) {
- this.destinationName = destinationName;
- }
-
- public String getBindingType() {
- return this.bindingType;
+ public String getArgument() {
+ return this.argument;
}
- public void setBindingType(String bindingType) {
- this.bindingType = bindingType;
+ public void setArgument(String argument) {
+ this.argument = argument;
}
public String getBindingKey() {
@@ -151,12 +143,20 @@ public void setBindingKey(String bindingKey) {
this.bindingKey = bindingKey;
}
- public String getArgument() {
- return this.argument;
+ public String getBindingType() {
+ return this.bindingType;
}
- public void setArgument(String argument) {
- this.argument = argument;
+ public void setBindingType(String bindingType) {
+ this.bindingType = bindingType;
+ }
+
+ public String getDestinationName() {
+ return this.destinationName;
+ }
+
+ public void setDestinationName(String destinationName) {
+ this.destinationName = destinationName;
}
}
}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListExchangeUpStreamBindingsResponse.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListExchangeUpStreamBindingsResponse.java
index 2b8b387c49..50ee58f8ea 100644
--- a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListExchangeUpStreamBindingsResponse.java
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListExchangeUpStreamBindingsResponse.java
@@ -25,24 +25,16 @@
*/
public class ListExchangeUpStreamBindingsResponse extends AcsResponse {
- private String requestId;
-
private Integer code;
private String message;
+ private String requestId;
+
private Boolean success;
private Data data;
- public String getRequestId() {
- return this.requestId;
- }
-
- public void setRequestId(String requestId) {
- this.requestId = requestId;
- }
-
public Integer getCode() {
return this.code;
}
@@ -59,6 +51,14 @@ public void setMessage(String message) {
this.message = message;
}
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
public Boolean getSuccess() {
return this.success;
}
@@ -77,19 +77,11 @@ public void setData(Data data) {
public static class Data {
- private String nextToken;
-
private Integer maxResults;
- private List bindings;
-
- public String getNextToken() {
- return this.nextToken;
- }
+ private String nextToken;
- public void setNextToken(String nextToken) {
- this.nextToken = nextToken;
- }
+ private List bindings;
public Integer getMaxResults() {
return this.maxResults;
@@ -99,6 +91,14 @@ public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
public List getBindings() {
return this.bindings;
}
@@ -111,13 +111,13 @@ public static class BindingVO {
private String sourceExchange;
- private String destinationName;
-
- private String bindingType;
+ private String argument;
private String bindingKey;
- private String argument;
+ private String bindingType;
+
+ private String destinationName;
public String getSourceExchange() {
return this.sourceExchange;
@@ -127,20 +127,12 @@ public void setSourceExchange(String sourceExchange) {
this.sourceExchange = sourceExchange;
}
- public String getDestinationName() {
- return this.destinationName;
- }
-
- public void setDestinationName(String destinationName) {
- this.destinationName = destinationName;
- }
-
- public String getBindingType() {
- return this.bindingType;
+ public String getArgument() {
+ return this.argument;
}
- public void setBindingType(String bindingType) {
- this.bindingType = bindingType;
+ public void setArgument(String argument) {
+ this.argument = argument;
}
public String getBindingKey() {
@@ -151,12 +143,20 @@ public void setBindingKey(String bindingKey) {
this.bindingKey = bindingKey;
}
- public String getArgument() {
- return this.argument;
+ public String getBindingType() {
+ return this.bindingType;
}
- public void setArgument(String argument) {
- this.argument = argument;
+ public void setBindingType(String bindingType) {
+ this.bindingType = bindingType;
+ }
+
+ public String getDestinationName() {
+ return this.destinationName;
+ }
+
+ public void setDestinationName(String destinationName) {
+ this.destinationName = destinationName;
}
}
}
diff --git a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListExchangesResponse.java b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListExchangesResponse.java
index 820c6a9ec9..eb5fcd99da 100644
--- a/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListExchangesResponse.java
+++ b/aliyun-java-sdk-amqp-open/src/main/java/com/aliyuncs/amqp_open/model/v20191212/ListExchangesResponse.java
@@ -48,19 +48,11 @@ public void setData(Data data) {
public static class Data {
- private String nextToken;
-
private Integer maxResults;
- private List exchanges;
-
- public String getNextToken() {
- return this.nextToken;
- }
+ private String nextToken;
- public void setNextToken(String nextToken) {
- this.nextToken = nextToken;
- }
+ private List exchanges;
public Integer getMaxResults() {
return this.maxResults;
@@ -70,6 +62,14 @@ public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
public List getExchanges() {
return this.exchanges;
}
@@ -80,64 +80,64 @@ public void setExchanges(List exchanges) {
public static class ExchangeVO {
- private String name;
+ private Boolean autoDeleteState;
- private String vHostName;
+ private Long createTime;
- private String exchangeType;
+ private Map