diff --git a/aliyun-java-sdk-oceanbasepro/ChangeLog.txt b/aliyun-java-sdk-oceanbasepro/ChangeLog.txt index 0383a96039..b04175ede2 100644 --- a/aliyun-java-sdk-oceanbasepro/ChangeLog.txt +++ b/aliyun-java-sdk-oceanbasepro/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-09-02 Version: 1.1.23 +- Generated 2019-09-01 for `OceanBasePro`. + 2024-08-05 Version: 1.1.22 - Generated 2019-09-01 for `OceanBasePro`. diff --git a/aliyun-java-sdk-oceanbasepro/pom.xml b/aliyun-java-sdk-oceanbasepro/pom.xml index a2c5a53c07..7c9522a3c8 100644 --- a/aliyun-java-sdk-oceanbasepro/pom.xml +++ b/aliyun-java-sdk-oceanbasepro/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-oceanbasepro jar - 1.1.22 + 1.1.23 aliyun-java-sdk-oceanbasepro http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeBackupEncryptedStringRequest.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeBackupEncryptedStringRequest.java new file mode 100644 index 0000000000..4e795932a0 --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeBackupEncryptedStringRequest.java @@ -0,0 +1,69 @@ +/* + * 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.oceanbasepro.model.v20190901; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.oceanbasepro.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeBackupEncryptedStringRequest extends RpcAcsRequest { + + + private String instanceId; + + private String tenantId; + public DescribeBackupEncryptedStringRequest() { + super("OceanBasePro", "2019-09-01", "DescribeBackupEncryptedString", "oceanbase"); + setProtocol(ProtocolType.HTTPS); + 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){ + putBodyParameter("InstanceId", instanceId); + } + } + + public String getTenantId() { + return this.tenantId; + } + + public void setTenantId(String tenantId) { + this.tenantId = tenantId; + if(tenantId != null){ + putBodyParameter("TenantId", tenantId); + } + } + + @Override + public Class getResponseClass() { + return DescribeBackupEncryptedStringResponse.class; + } + +} diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeBackupEncryptedStringResponse.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeBackupEncryptedStringResponse.java new file mode 100644 index 0000000000..ac7a2482c0 --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeBackupEncryptedStringResponse.java @@ -0,0 +1,69 @@ +/* + * 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.oceanbasepro.model.v20190901; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.oceanbasepro.transform.v20190901.DescribeBackupEncryptedStringResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeBackupEncryptedStringResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String backupInfoJson; + + public String getBackupInfoJson() { + return this.backupInfoJson; + } + + public void setBackupInfoJson(String backupInfoJson) { + this.backupInfoJson = backupInfoJson; + } + } + + @Override + public DescribeBackupEncryptedStringResponse getInstance(UnmarshallerContext context) { + return DescribeBackupEncryptedStringResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceResponse.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceResponse.java index 5a1a055a48..10e48a0edc 100644 --- a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceResponse.java +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceResponse.java @@ -127,6 +127,8 @@ public static class Instance { private Boolean allowModifyInternetAddressConnectionLimit; + private Boolean allowCreateProxySqlFirewallRule; + private List availableZones; private List zones; @@ -459,6 +461,14 @@ public void setAllowModifyInternetAddressConnectionLimit(Boolean allowModifyInte this.allowModifyInternetAddressConnectionLimit = allowModifyInternetAddressConnectionLimit; } + public Boolean getAllowCreateProxySqlFirewallRule() { + return this.allowCreateProxySqlFirewallRule; + } + + public void setAllowCreateProxySqlFirewallRule(Boolean allowCreateProxySqlFirewallRule) { + this.allowCreateProxySqlFirewallRule = allowCreateProxySqlFirewallRule; + } + public List getAvailableZones() { return this.availableZones; } diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceSummaryRequest.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceSummaryRequest.java new file mode 100644 index 0000000000..fed45ac985 --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceSummaryRequest.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.oceanbasepro.model.v20190901; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.oceanbasepro.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeInstanceSummaryRequest extends RpcAcsRequest { + + + private Integer pageNumber; + + private Integer pageSize; + public DescribeInstanceSummaryRequest() { + super("OceanBasePro", "2019-09-01", "DescribeInstanceSummary", "oceanbase"); + 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){ + putBodyParameter("PageNumber", pageNumber.toString()); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putBodyParameter("PageSize", pageSize.toString()); + } + } + + @Override + public Class getResponseClass() { + return DescribeInstanceSummaryResponse.class; + } + +} diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceSummaryResponse.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceSummaryResponse.java new file mode 100644 index 0000000000..5779adb163 --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceSummaryResponse.java @@ -0,0 +1,243 @@ +/* + * 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.oceanbasepro.model.v20190901; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.oceanbasepro.transform.v20190901.DescribeInstanceSummaryResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeInstanceSummaryResponse extends AcsResponse { + + private String requestId; + + private InstanceSummary instanceSummary; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public InstanceSummary getInstanceSummary() { + return this.instanceSummary; + } + + public void setInstanceSummary(InstanceSummary instanceSummary) { + this.instanceSummary = instanceSummary; + } + + public static class InstanceSummary { + + private Long totalInstancesCount; + + private Long overLoadInstancesCount; + + private Long immediatelyExpiredInstancesCount; + + private Long runningInstancesCount; + + private Long insufficientDiskInstancesCount; + + private Long expiredInstancesCount; + + private Long alarmSummaryCount; + + private Long anomalySQLCount; + + private Long clusterInstancesCount; + + private Long tenantInstancesCount; + + private Long totalOmsInstancesCount; + + private List regionalInstanceSummaryList; + + public Long getTotalInstancesCount() { + return this.totalInstancesCount; + } + + public void setTotalInstancesCount(Long totalInstancesCount) { + this.totalInstancesCount = totalInstancesCount; + } + + public Long getOverLoadInstancesCount() { + return this.overLoadInstancesCount; + } + + public void setOverLoadInstancesCount(Long overLoadInstancesCount) { + this.overLoadInstancesCount = overLoadInstancesCount; + } + + public Long getImmediatelyExpiredInstancesCount() { + return this.immediatelyExpiredInstancesCount; + } + + public void setImmediatelyExpiredInstancesCount(Long immediatelyExpiredInstancesCount) { + this.immediatelyExpiredInstancesCount = immediatelyExpiredInstancesCount; + } + + public Long getRunningInstancesCount() { + return this.runningInstancesCount; + } + + public void setRunningInstancesCount(Long runningInstancesCount) { + this.runningInstancesCount = runningInstancesCount; + } + + public Long getInsufficientDiskInstancesCount() { + return this.insufficientDiskInstancesCount; + } + + public void setInsufficientDiskInstancesCount(Long insufficientDiskInstancesCount) { + this.insufficientDiskInstancesCount = insufficientDiskInstancesCount; + } + + public Long getExpiredInstancesCount() { + return this.expiredInstancesCount; + } + + public void setExpiredInstancesCount(Long expiredInstancesCount) { + this.expiredInstancesCount = expiredInstancesCount; + } + + public Long getAlarmSummaryCount() { + return this.alarmSummaryCount; + } + + public void setAlarmSummaryCount(Long alarmSummaryCount) { + this.alarmSummaryCount = alarmSummaryCount; + } + + public Long getAnomalySQLCount() { + return this.anomalySQLCount; + } + + public void setAnomalySQLCount(Long anomalySQLCount) { + this.anomalySQLCount = anomalySQLCount; + } + + public Long getClusterInstancesCount() { + return this.clusterInstancesCount; + } + + public void setClusterInstancesCount(Long clusterInstancesCount) { + this.clusterInstancesCount = clusterInstancesCount; + } + + public Long getTenantInstancesCount() { + return this.tenantInstancesCount; + } + + public void setTenantInstancesCount(Long tenantInstancesCount) { + this.tenantInstancesCount = tenantInstancesCount; + } + + public Long getTotalOmsInstancesCount() { + return this.totalOmsInstancesCount; + } + + public void setTotalOmsInstancesCount(Long totalOmsInstancesCount) { + this.totalOmsInstancesCount = totalOmsInstancesCount; + } + + public List getRegionalInstanceSummaryList() { + return this.regionalInstanceSummaryList; + } + + public void setRegionalInstanceSummaryList(List regionalInstanceSummaryList) { + this.regionalInstanceSummaryList = regionalInstanceSummaryList; + } + + public static class RegionalInstanceSummaryLis { + + private String region; + + private String totalInstancesCount; + + private String immediatelyExpiredInstancesCount; + + private String runningInstancesCount; + + private String expiredInstancesCount; + + private String recentCreatedInstancesCount; + + public String getRegion() { + return this.region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getTotalInstancesCount() { + return this.totalInstancesCount; + } + + public void setTotalInstancesCount(String totalInstancesCount) { + this.totalInstancesCount = totalInstancesCount; + } + + public String getImmediatelyExpiredInstancesCount() { + return this.immediatelyExpiredInstancesCount; + } + + public void setImmediatelyExpiredInstancesCount(String immediatelyExpiredInstancesCount) { + this.immediatelyExpiredInstancesCount = immediatelyExpiredInstancesCount; + } + + public String getRunningInstancesCount() { + return this.runningInstancesCount; + } + + public void setRunningInstancesCount(String runningInstancesCount) { + this.runningInstancesCount = runningInstancesCount; + } + + public String getExpiredInstancesCount() { + return this.expiredInstancesCount; + } + + public void setExpiredInstancesCount(String expiredInstancesCount) { + this.expiredInstancesCount = expiredInstancesCount; + } + + public String getRecentCreatedInstancesCount() { + return this.recentCreatedInstancesCount; + } + + public void setRecentCreatedInstancesCount(String recentCreatedInstancesCount) { + this.recentCreatedInstancesCount = recentCreatedInstancesCount; + } + } + } + + @Override + public DescribeInstanceSummaryResponse getInstance(UnmarshallerContext context) { + return DescribeInstanceSummaryResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstancesResponse.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstancesResponse.java index bb570c0045..ad0a0f5bfb 100644 --- a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstancesResponse.java +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstancesResponse.java @@ -113,6 +113,8 @@ public static class Data { private String specType; + private String obRpmVersion; + private List availableZones; private Resource resource; @@ -343,6 +345,14 @@ public void setSpecType(String specType) { this.specType = specType; } + public String getObRpmVersion() { + return this.obRpmVersion; + } + + public void setObRpmVersion(String obRpmVersion) { + this.obRpmVersion = obRpmVersion; + } + public List getAvailableZones() { return this.availableZones; } diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeOasSQLDetailsRequest.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeOasSQLDetailsRequest.java index aead7b0855..a22bb688eb 100644 --- a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeOasSQLDetailsRequest.java +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeOasSQLDetailsRequest.java @@ -27,6 +27,8 @@ public class DescribeOasSQLDetailsRequest extends RpcAcsRequest plans; private PlanExplain planExplain; @@ -161,6 +167,30 @@ public void setBounded(Boolean bounded) { this.bounded = bounded; } + public Boolean getTableScan() { + return this.tableScan; + } + + public void setTableScan(Boolean tableScan) { + this.tableScan = tableScan; + } + + public String getOutlineId() { + return this.outlineId; + } + + public void setOutlineId(String outlineId) { + this.outlineId = outlineId; + } + + public String getOutlineStatus() { + return this.outlineStatus; + } + + public void setOutlineStatus(String outlineStatus) { + this.outlineStatus = outlineStatus; + } + public List getPlans() { return this.plans; } diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeRestorableTenantsRequest.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeRestorableTenantsRequest.java new file mode 100644 index 0000000000..1372b305ab --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeRestorableTenantsRequest.java @@ -0,0 +1,132 @@ +/* + * 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.oceanbasepro.model.v20190901; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.oceanbasepro.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeRestorableTenantsRequest extends RpcAcsRequest { + + + private String restoreMode; + + private String restoreObjectType; + + private Boolean isOnline; + + private Boolean isRemote; + + private String method; + + private String instanceId; + + private String setId; + public DescribeRestorableTenantsRequest() { + super("OceanBasePro", "2019-09-01", "DescribeRestorableTenants", "oceanbase"); + 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 getRestoreMode() { + return this.restoreMode; + } + + public void setRestoreMode(String restoreMode) { + this.restoreMode = restoreMode; + if(restoreMode != null){ + putBodyParameter("RestoreMode", restoreMode); + } + } + + public String getRestoreObjectType() { + return this.restoreObjectType; + } + + public void setRestoreObjectType(String restoreObjectType) { + this.restoreObjectType = restoreObjectType; + if(restoreObjectType != null){ + putBodyParameter("RestoreObjectType", restoreObjectType); + } + } + + public Boolean getIsOnline() { + return this.isOnline; + } + + public void setIsOnline(Boolean isOnline) { + this.isOnline = isOnline; + if(isOnline != null){ + putBodyParameter("IsOnline", isOnline.toString()); + } + } + + public Boolean getIsRemote() { + return this.isRemote; + } + + public void setIsRemote(Boolean isRemote) { + this.isRemote = isRemote; + if(isRemote != null){ + putBodyParameter("IsRemote", isRemote.toString()); + } + } + + public String getBizMethod() { + return this.method; + } + + public void setBizMethod(String method) { + this.method = method; + if(method != null){ + putBodyParameter("Method", method); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putBodyParameter("InstanceId", instanceId); + } + } + + public String getSetId() { + return this.setId; + } + + public void setSetId(String setId) { + this.setId = setId; + if(setId != null){ + putBodyParameter("SetId", setId); + } + } + + @Override + public Class getResponseClass() { + return DescribeRestorableTenantsResponse.class; + } + +} diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeRestorableTenantsResponse.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeRestorableTenantsResponse.java new file mode 100644 index 0000000000..ff69695102 --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeRestorableTenantsResponse.java @@ -0,0 +1,346 @@ +/* + * 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.oceanbasepro.model.v20190901; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.oceanbasepro.transform.v20190901.DescribeRestorableTenantsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeRestorableTenantsResponse extends AcsResponse { + + private Integer totalCount; + + private String requestId; + + private List tenants; + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getTenants() { + return this.tenants; + } + + public void setTenants(List tenants) { + this.tenants = tenants; + } + + public static class Data { + + private String tenantName; + + private String method; + + private String tenantId; + + private String clusterId; + + private String obRpmVersion; + + private String obVersion; + + private String sourceRegion; + + private String tenantAlias; + + private Long cpuNum; + + private Long memoryNum; + + private String backupBucketName; + + private String obTenantId; + + private String clusterName; + + private Long usedDisk; + + private Long unitNum; + + private String tenantMode; + + private Integer tenantDataBackupRemainDays; + + private List timeIntervalList; + + private List backupSets; + + public String getTenantName() { + return this.tenantName; + } + + public void setTenantName(String tenantName) { + this.tenantName = tenantName; + } + + public String getBizMethod() { + return this.method; + } + + public void setBizMethod(String method) { + this.method = method; + } + + public String getTenantId() { + return this.tenantId; + } + + public void setTenantId(String tenantId) { + this.tenantId = tenantId; + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public String getObRpmVersion() { + return this.obRpmVersion; + } + + public void setObRpmVersion(String obRpmVersion) { + this.obRpmVersion = obRpmVersion; + } + + public String getObVersion() { + return this.obVersion; + } + + public void setObVersion(String obVersion) { + this.obVersion = obVersion; + } + + public String getSourceRegion() { + return this.sourceRegion; + } + + public void setSourceRegion(String sourceRegion) { + this.sourceRegion = sourceRegion; + } + + public String getTenantAlias() { + return this.tenantAlias; + } + + public void setTenantAlias(String tenantAlias) { + this.tenantAlias = tenantAlias; + } + + public Long getCpuNum() { + return this.cpuNum; + } + + public void setCpuNum(Long cpuNum) { + this.cpuNum = cpuNum; + } + + public Long getMemoryNum() { + return this.memoryNum; + } + + public void setMemoryNum(Long memoryNum) { + this.memoryNum = memoryNum; + } + + public String getBackupBucketName() { + return this.backupBucketName; + } + + public void setBackupBucketName(String backupBucketName) { + this.backupBucketName = backupBucketName; + } + + public String getObTenantId() { + return this.obTenantId; + } + + public void setObTenantId(String obTenantId) { + this.obTenantId = obTenantId; + } + + public String getClusterName() { + return this.clusterName; + } + + public void setClusterName(String clusterName) { + this.clusterName = clusterName; + } + + public Long getUsedDisk() { + return this.usedDisk; + } + + public void setUsedDisk(Long usedDisk) { + this.usedDisk = usedDisk; + } + + public Long getUnitNum() { + return this.unitNum; + } + + public void setUnitNum(Long unitNum) { + this.unitNum = unitNum; + } + + public String getTenantMode() { + return this.tenantMode; + } + + public void setTenantMode(String tenantMode) { + this.tenantMode = tenantMode; + } + + public Integer getTenantDataBackupRemainDays() { + return this.tenantDataBackupRemainDays; + } + + public void setTenantDataBackupRemainDays(Integer tenantDataBackupRemainDays) { + this.tenantDataBackupRemainDays = tenantDataBackupRemainDays; + } + + public List getTimeIntervalList() { + return this.timeIntervalList; + } + + public void setTimeIntervalList(List timeIntervalList) { + this.timeIntervalList = timeIntervalList; + } + + public List getBackupSets() { + return this.backupSets; + } + + public void setBackupSets(List backupSets) { + this.backupSets = backupSets; + } + + public static class TimeIntervalListItem { + + private String startTime; + + private String endTime; + + private Boolean fromArchive; + + private String storageType; + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public Boolean getFromArchive() { + return this.fromArchive; + } + + public void setFromArchive(Boolean fromArchive) { + this.fromArchive = fromArchive; + } + + public String getStorageType() { + return this.storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + } + } + + public static class BackupSetsItem { + + private String checkpoint; + + private String setId; + + private String backupSetId; + + private String tenantId; + + public String getCheckpoint() { + return this.checkpoint; + } + + public void setCheckpoint(String checkpoint) { + this.checkpoint = checkpoint; + } + + public String getSetId() { + return this.setId; + } + + public void setSetId(String setId) { + this.setId = setId; + } + + public String getBackupSetId() { + return this.backupSetId; + } + + public void setBackupSetId(String backupSetId) { + this.backupSetId = backupSetId; + } + + public String getTenantId() { + return this.tenantId; + } + + public void setTenantId(String tenantId) { + this.tenantId = tenantId; + } + } + } + + @Override + public DescribeRestorableTenantsResponse getInstance(UnmarshallerContext context) { + return DescribeRestorableTenantsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeSQLSamplesResponse.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeSQLSamplesResponse.java index cd8a2b5f54..1ab789ffdb 100644 --- a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeSQLSamplesResponse.java +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeSQLSamplesResponse.java @@ -153,6 +153,8 @@ public static class DataItem { private String sqlText; + private String paramsValue; + public String getRequestId() { return this.requestId; } @@ -576,6 +578,14 @@ public String getSqlText() { public void setSqlText(String sqlText) { this.sqlText = sqlText; } + + public String getParamsValue() { + return this.paramsValue; + } + + public void setParamsValue(String paramsValue) { + this.paramsValue = paramsValue; + } } @Override diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeStandbyCreateModeRequest.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeStandbyCreateModeRequest.java new file mode 100644 index 0000000000..f41ac62787 --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeStandbyCreateModeRequest.java @@ -0,0 +1,69 @@ +/* + * 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.oceanbasepro.model.v20190901; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.oceanbasepro.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeStandbyCreateModeRequest extends RpcAcsRequest { + + + private String instanceId; + + private String tenantId; + public DescribeStandbyCreateModeRequest() { + super("OceanBasePro", "2019-09-01", "DescribeStandbyCreateMode", "oceanbase"); + setProtocol(ProtocolType.HTTPS); + 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){ + putBodyParameter("InstanceId", instanceId); + } + } + + public String getTenantId() { + return this.tenantId; + } + + public void setTenantId(String tenantId) { + this.tenantId = tenantId; + if(tenantId != null){ + putBodyParameter("TenantId", tenantId); + } + } + + @Override + public Class getResponseClass() { + return DescribeStandbyCreateModeResponse.class; + } + +} diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeStandbyCreateModeResponse.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeStandbyCreateModeResponse.java new file mode 100644 index 0000000000..e1dac665a3 --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeStandbyCreateModeResponse.java @@ -0,0 +1,69 @@ +/* + * 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.oceanbasepro.model.v20190901; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.oceanbasepro.transform.v20190901.DescribeStandbyCreateModeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeStandbyCreateModeResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String createMode; + + public String getCreateMode() { + return this.createMode; + } + + public void setCreateMode(String createMode) { + this.createMode = createMode; + } + } + + @Override + public DescribeStandbyCreateModeResponse getInstance(UnmarshallerContext context) { + return DescribeStandbyCreateModeResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeTenantResponse.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeTenantResponse.java index f1bf0aa6b0..15b6b91f6f 100644 --- a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeTenantResponse.java +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeTenantResponse.java @@ -109,6 +109,8 @@ public static class Tenant { private String version; + private String odpVersion; + private List tenantConnections; private List tenantZones; @@ -367,6 +369,14 @@ public void setVersion(String version) { this.version = version; } + public String getOdpVersion() { + return this.odpVersion; + } + + public void setOdpVersion(String odpVersion) { + this.odpVersion = odpVersion; + } + public List getTenantConnections() { return this.tenantConnections; } @@ -455,6 +465,10 @@ public static class TenantConnectionsItem { private Integer internetRpcPort; + private Integer intranetSqlPort; + + private String odpVersion; + private List connectionZones; private List connectionLogicalZones; @@ -643,6 +657,22 @@ public void setInternetRpcPort(Integer internetRpcPort) { this.internetRpcPort = internetRpcPort; } + public Integer getIntranetSqlPort() { + return this.intranetSqlPort; + } + + public void setIntranetSqlPort(Integer intranetSqlPort) { + this.intranetSqlPort = intranetSqlPort; + } + + public String getOdpVersion() { + return this.odpVersion; + } + + public void setOdpVersion(String odpVersion) { + this.odpVersion = odpVersion; + } + public List getConnectionZones() { return this.connectionZones; } diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeBackupEncryptedStringResponseUnmarshaller.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeBackupEncryptedStringResponseUnmarshaller.java new file mode 100644 index 0000000000..77bc0203db --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeBackupEncryptedStringResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * 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.oceanbasepro.transform.v20190901; + +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeBackupEncryptedStringResponse; +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeBackupEncryptedStringResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeBackupEncryptedStringResponseUnmarshaller { + + public static DescribeBackupEncryptedStringResponse unmarshall(DescribeBackupEncryptedStringResponse describeBackupEncryptedStringResponse, UnmarshallerContext _ctx) { + + describeBackupEncryptedStringResponse.setRequestId(_ctx.stringValue("DescribeBackupEncryptedStringResponse.RequestId")); + + Data data = new Data(); + data.setBackupInfoJson(_ctx.stringValue("DescribeBackupEncryptedStringResponse.Data.BackupInfoJson")); + describeBackupEncryptedStringResponse.setData(data); + + return describeBackupEncryptedStringResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstanceResponseUnmarshaller.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstanceResponseUnmarshaller.java index 8aee729bc9..e1959e152a 100644 --- a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstanceResponseUnmarshaller.java +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstanceResponseUnmarshaller.java @@ -83,6 +83,7 @@ public static DescribeInstanceResponse unmarshall(DescribeInstanceResponse descr instance.setPrimaryRegion(_ctx.stringValue("DescribeInstanceResponse.Instance.PrimaryRegion")); instance.setSpecType(_ctx.stringValue("DescribeInstanceResponse.Instance.SpecType")); instance.setAllowModifyInternetAddressConnectionLimit(_ctx.booleanValue("DescribeInstanceResponse.Instance.AllowModifyInternetAddressConnectionLimit")); + instance.setAllowCreateProxySqlFirewallRule(_ctx.booleanValue("DescribeInstanceResponse.Instance.AllowCreateProxySqlFirewallRule")); List availableZones = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("DescribeInstanceResponse.Instance.AvailableZones.Length"); i++) { diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstanceSummaryResponseUnmarshaller.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstanceSummaryResponseUnmarshaller.java new file mode 100644 index 0000000000..8809535024 --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstanceSummaryResponseUnmarshaller.java @@ -0,0 +1,62 @@ +/* + * 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.oceanbasepro.transform.v20190901; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeInstanceSummaryResponse; +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeInstanceSummaryResponse.InstanceSummary; +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeInstanceSummaryResponse.InstanceSummary.RegionalInstanceSummaryLis; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeInstanceSummaryResponseUnmarshaller { + + public static DescribeInstanceSummaryResponse unmarshall(DescribeInstanceSummaryResponse describeInstanceSummaryResponse, UnmarshallerContext _ctx) { + + describeInstanceSummaryResponse.setRequestId(_ctx.stringValue("DescribeInstanceSummaryResponse.RequestId")); + + InstanceSummary instanceSummary = new InstanceSummary(); + instanceSummary.setTotalInstancesCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.TotalInstancesCount")); + instanceSummary.setOverLoadInstancesCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.OverLoadInstancesCount")); + instanceSummary.setImmediatelyExpiredInstancesCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.ImmediatelyExpiredInstancesCount")); + instanceSummary.setRunningInstancesCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.RunningInstancesCount")); + instanceSummary.setInsufficientDiskInstancesCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.InsufficientDiskInstancesCount")); + instanceSummary.setExpiredInstancesCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.ExpiredInstancesCount")); + instanceSummary.setAlarmSummaryCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.AlarmSummaryCount")); + instanceSummary.setAnomalySQLCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.AnomalySQLCount")); + instanceSummary.setClusterInstancesCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.ClusterInstancesCount")); + instanceSummary.setTenantInstancesCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.TenantInstancesCount")); + instanceSummary.setTotalOmsInstancesCount(_ctx.longValue("DescribeInstanceSummaryResponse.InstanceSummary.TotalOmsInstancesCount")); + + List regionalInstanceSummaryList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeInstanceSummaryResponse.InstanceSummary.RegionalInstanceSummaryList.Length"); i++) { + RegionalInstanceSummaryLis regionalInstanceSummaryLis = new RegionalInstanceSummaryLis(); + regionalInstanceSummaryLis.setRegion(_ctx.stringValue("DescribeInstanceSummaryResponse.InstanceSummary.RegionalInstanceSummaryList["+ i +"].Region")); + regionalInstanceSummaryLis.setTotalInstancesCount(_ctx.stringValue("DescribeInstanceSummaryResponse.InstanceSummary.RegionalInstanceSummaryList["+ i +"].TotalInstancesCount")); + regionalInstanceSummaryLis.setImmediatelyExpiredInstancesCount(_ctx.stringValue("DescribeInstanceSummaryResponse.InstanceSummary.RegionalInstanceSummaryList["+ i +"].ImmediatelyExpiredInstancesCount")); + regionalInstanceSummaryLis.setRunningInstancesCount(_ctx.stringValue("DescribeInstanceSummaryResponse.InstanceSummary.RegionalInstanceSummaryList["+ i +"].RunningInstancesCount")); + regionalInstanceSummaryLis.setExpiredInstancesCount(_ctx.stringValue("DescribeInstanceSummaryResponse.InstanceSummary.RegionalInstanceSummaryList["+ i +"].ExpiredInstancesCount")); + regionalInstanceSummaryLis.setRecentCreatedInstancesCount(_ctx.stringValue("DescribeInstanceSummaryResponse.InstanceSummary.RegionalInstanceSummaryList["+ i +"].RecentCreatedInstancesCount")); + + regionalInstanceSummaryList.add(regionalInstanceSummaryLis); + } + instanceSummary.setRegionalInstanceSummaryList(regionalInstanceSummaryList); + describeInstanceSummaryResponse.setInstanceSummary(instanceSummary); + + return describeInstanceSummaryResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstancesResponseUnmarshaller.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstancesResponseUnmarshaller.java index 30b76fb5f2..f2fb04c537 100644 --- a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstancesResponseUnmarshaller.java +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeInstancesResponseUnmarshaller.java @@ -66,6 +66,7 @@ public static DescribeInstancesResponse unmarshall(DescribeInstancesResponse des data.setInTempCapacityStatus(_ctx.booleanValue("DescribeInstancesResponse.Instances["+ i +"].InTempCapacityStatus")); data.setEnableReadOnlyReplicaManagement(_ctx.booleanValue("DescribeInstancesResponse.Instances["+ i +"].EnableReadOnlyReplicaManagement")); data.setSpecType(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].SpecType")); + data.setObRpmVersion(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].ObRpmVersion")); List availableZones = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("DescribeInstancesResponse.Instances["+ i +"].AvailableZones.Length"); j++) { diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeOasSQLPlansResponseUnmarshaller.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeOasSQLPlansResponseUnmarshaller.java index b4130e99e3..73dc48ae2e 100644 --- a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeOasSQLPlansResponseUnmarshaller.java +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeOasSQLPlansResponseUnmarshaller.java @@ -44,6 +44,9 @@ public static DescribeOasSQLPlansResponse unmarshall(DescribeOasSQLPlansResponse dataItem.setPlanUnionHash(_ctx.stringValue("DescribeOasSQLPlansResponse.Data["+ i +"].PlanUnionHash")); dataItem.setQuerySql(_ctx.stringValue("DescribeOasSQLPlansResponse.Data["+ i +"].QuerySql")); dataItem.setBounded(_ctx.booleanValue("DescribeOasSQLPlansResponse.Data["+ i +"].Bounded")); + dataItem.setTableScan(_ctx.booleanValue("DescribeOasSQLPlansResponse.Data["+ i +"].TableScan")); + dataItem.setOutlineId(_ctx.stringValue("DescribeOasSQLPlansResponse.Data["+ i +"].OutlineId")); + dataItem.setOutlineStatus(_ctx.stringValue("DescribeOasSQLPlansResponse.Data["+ i +"].OutlineStatus")); PlanExplain planExplain = new PlanExplain(); planExplain.setPlanJsonString(_ctx.stringValue("DescribeOasSQLPlansResponse.Data["+ i +"].PlanExplain.PlanJsonString")); diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeRestorableTenantsResponseUnmarshaller.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeRestorableTenantsResponseUnmarshaller.java new file mode 100644 index 0000000000..606f72beb3 --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeRestorableTenantsResponseUnmarshaller.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.oceanbasepro.transform.v20190901; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeRestorableTenantsResponse; +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeRestorableTenantsResponse.Data; +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeRestorableTenantsResponse.Data.BackupSetsItem; +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeRestorableTenantsResponse.Data.TimeIntervalListItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeRestorableTenantsResponseUnmarshaller { + + public static DescribeRestorableTenantsResponse unmarshall(DescribeRestorableTenantsResponse describeRestorableTenantsResponse, UnmarshallerContext _ctx) { + + describeRestorableTenantsResponse.setRequestId(_ctx.stringValue("DescribeRestorableTenantsResponse.RequestId")); + describeRestorableTenantsResponse.setTotalCount(_ctx.integerValue("DescribeRestorableTenantsResponse.TotalCount")); + + List tenants = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeRestorableTenantsResponse.Tenants.Length"); i++) { + Data data = new Data(); + data.setTenantName(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].TenantName")); + data.setBizMethod(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].Method")); + data.setTenantId(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].TenantId")); + data.setClusterId(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].ClusterId")); + data.setObRpmVersion(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].ObRpmVersion")); + data.setObVersion(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].ObVersion")); + data.setSourceRegion(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].SourceRegion")); + data.setTenantAlias(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].TenantAlias")); + data.setCpuNum(_ctx.longValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].CpuNum")); + data.setMemoryNum(_ctx.longValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].MemoryNum")); + data.setBackupBucketName(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].BackupBucketName")); + data.setObTenantId(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].ObTenantId")); + data.setClusterName(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].ClusterName")); + data.setUsedDisk(_ctx.longValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].UsedDisk")); + data.setUnitNum(_ctx.longValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].UnitNum")); + data.setTenantMode(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].TenantMode")); + data.setTenantDataBackupRemainDays(_ctx.integerValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].TenantDataBackupRemainDays")); + + List timeIntervalList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].TimeIntervalList.Length"); j++) { + TimeIntervalListItem timeIntervalListItem = new TimeIntervalListItem(); + timeIntervalListItem.setStartTime(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].TimeIntervalList["+ j +"].StartTime")); + timeIntervalListItem.setEndTime(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].TimeIntervalList["+ j +"].EndTime")); + timeIntervalListItem.setFromArchive(_ctx.booleanValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].TimeIntervalList["+ j +"].FromArchive")); + timeIntervalListItem.setStorageType(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].TimeIntervalList["+ j +"].StorageType")); + + timeIntervalList.add(timeIntervalListItem); + } + data.setTimeIntervalList(timeIntervalList); + + List backupSets = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].BackupSets.Length"); j++) { + BackupSetsItem backupSetsItem = new BackupSetsItem(); + backupSetsItem.setCheckpoint(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].BackupSets["+ j +"].Checkpoint")); + backupSetsItem.setSetId(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].BackupSets["+ j +"].SetId")); + backupSetsItem.setBackupSetId(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].BackupSets["+ j +"].BackupSetId")); + backupSetsItem.setTenantId(_ctx.stringValue("DescribeRestorableTenantsResponse.Tenants["+ i +"].BackupSets["+ j +"].TenantId")); + + backupSets.add(backupSetsItem); + } + data.setBackupSets(backupSets); + + tenants.add(data); + } + describeRestorableTenantsResponse.setTenants(tenants); + + return describeRestorableTenantsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeSQLSamplesResponseUnmarshaller.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeSQLSamplesResponseUnmarshaller.java index 636bc31c4b..d759ca099b 100644 --- a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeSQLSamplesResponseUnmarshaller.java +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeSQLSamplesResponseUnmarshaller.java @@ -84,6 +84,7 @@ public static DescribeSQLSamplesResponse unmarshall(DescribeSQLSamplesResponse d dataItem.setTransHash(_ctx.stringValue("DescribeSQLSamplesResponse.Data["+ i +"].TransHash")); dataItem.setFullSqlText(_ctx.stringValue("DescribeSQLSamplesResponse.Data["+ i +"].FullSqlText")); dataItem.setSqlText(_ctx.stringValue("DescribeSQLSamplesResponse.Data["+ i +"].SqlText")); + dataItem.setParamsValue(_ctx.stringValue("DescribeSQLSamplesResponse.Data["+ i +"].ParamsValue")); data.add(dataItem); } diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeStandbyCreateModeResponseUnmarshaller.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeStandbyCreateModeResponseUnmarshaller.java new file mode 100644 index 0000000000..9ccc41828c --- /dev/null +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeStandbyCreateModeResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * 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.oceanbasepro.transform.v20190901; + +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeStandbyCreateModeResponse; +import com.aliyuncs.oceanbasepro.model.v20190901.DescribeStandbyCreateModeResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeStandbyCreateModeResponseUnmarshaller { + + public static DescribeStandbyCreateModeResponse unmarshall(DescribeStandbyCreateModeResponse describeStandbyCreateModeResponse, UnmarshallerContext _ctx) { + + describeStandbyCreateModeResponse.setRequestId(_ctx.stringValue("DescribeStandbyCreateModeResponse.RequestId")); + + Data data = new Data(); + data.setCreateMode(_ctx.stringValue("DescribeStandbyCreateModeResponse.Data.CreateMode")); + describeStandbyCreateModeResponse.setData(data); + + return describeStandbyCreateModeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeTenantResponseUnmarshaller.java b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeTenantResponseUnmarshaller.java index 9082a094c9..865745d164 100644 --- a/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeTenantResponseUnmarshaller.java +++ b/aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/transform/v20190901/DescribeTenantResponseUnmarshaller.java @@ -75,6 +75,7 @@ public static DescribeTenantResponse unmarshall(DescribeTenantResponse describeT tenant.setRecycleBinStatus(_ctx.stringValue("DescribeTenantResponse.Tenant.RecycleBinStatus")); tenant.setLowerCaseTableNames(_ctx.integerValue("DescribeTenantResponse.Tenant.LowerCaseTableNames")); tenant.setVersion(_ctx.stringValue("DescribeTenantResponse.Tenant.Version")); + tenant.setOdpVersion(_ctx.stringValue("DescribeTenantResponse.Tenant.OdpVersion")); List availableZones = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("DescribeTenantResponse.Tenant.AvailableZones.Length"); i++) { @@ -170,6 +171,8 @@ public static DescribeTenantResponse unmarshall(DescribeTenantResponse describeT tenantConnectionsItem.setIntranetRpcPort(_ctx.integerValue("DescribeTenantResponse.Tenant.TenantConnections["+ i +"].IntranetRpcPort")); tenantConnectionsItem.setInternetMaxConnectionNum(_ctx.longValue("DescribeTenantResponse.Tenant.TenantConnections["+ i +"].InternetMaxConnectionNum")); tenantConnectionsItem.setInternetRpcPort(_ctx.integerValue("DescribeTenantResponse.Tenant.TenantConnections["+ i +"].InternetRpcPort")); + tenantConnectionsItem.setIntranetSqlPort(_ctx.integerValue("DescribeTenantResponse.Tenant.TenantConnections["+ i +"].IntranetSqlPort")); + tenantConnectionsItem.setOdpVersion(_ctx.stringValue("DescribeTenantResponse.Tenant.TenantConnections["+ i +"].OdpVersion")); List connectionZones = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("DescribeTenantResponse.Tenant.TenantConnections["+ i +"].ConnectionZones.Length"); j++) {