Skip to content

Commit

Permalink
Generated 2019-09-01 for OceanBasePro.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Nov 7, 2023
1 parent dde7a58 commit 65fef76
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 47 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-oceanbasepro/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2023-11-07 Version: 1.1.10
- Generated 2019-09-01 for `OceanBasePro`.

2023-11-01 Version: 1.1.9
- Generated 2019-09-01 for `OceanBasePro`.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-oceanbasepro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-oceanbasepro</artifactId>
<packaging>jar</packaging>
<version>1.1.9</version>
<version>1.1.10</version>
<name>aliyun-java-sdk-oceanbasepro</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ public static class AvailableSpecificationsItem {

private String instanceClass;

private List<DiskSizeRangeItem> diskSizeRange;
private List<Integer> nodeNum;

private List<LogDiskSizeRangeItem> logDiskSizeRange;
private DiskSizeRange diskSizeRange;

private List<Integer> nodeNum;
private LogDiskSizeRange logDiskSizeRange;

public String getSpec() {
return this.spec;
Expand All @@ -85,31 +85,31 @@ public void setInstanceClass(String instanceClass) {
this.instanceClass = instanceClass;
}

public List<DiskSizeRangeItem> getDiskSizeRange() {
return this.diskSizeRange;
public List<Integer> getNodeNum() {
return this.nodeNum;
}

public void setDiskSizeRange(List<DiskSizeRangeItem> diskSizeRange) {
this.diskSizeRange = diskSizeRange;
public void setNodeNum(List<Integer> nodeNum) {
this.nodeNum = nodeNum;
}

public List<LogDiskSizeRangeItem> getLogDiskSizeRange() {
return this.logDiskSizeRange;
public DiskSizeRange getDiskSizeRange() {
return this.diskSizeRange;
}

public void setLogDiskSizeRange(List<LogDiskSizeRangeItem> logDiskSizeRange) {
this.logDiskSizeRange = logDiskSizeRange;
public void setDiskSizeRange(DiskSizeRange diskSizeRange) {
this.diskSizeRange = diskSizeRange;
}

public List<Integer> getNodeNum() {
return this.nodeNum;
public LogDiskSizeRange getLogDiskSizeRange() {
return this.logDiskSizeRange;
}

public void setNodeNum(List<Integer> nodeNum) {
this.nodeNum = nodeNum;
public void setLogDiskSizeRange(LogDiskSizeRange logDiskSizeRange) {
this.logDiskSizeRange = logDiskSizeRange;
}

public static class DiskSizeRangeItem {
public static class DiskSizeRange {

private Long step;

Expand Down Expand Up @@ -142,35 +142,35 @@ public void setMin(Long min) {
}
}

public static class LogDiskSizeRangeItem {
public static class LogDiskSizeRange {

private String step;
private Long step;

private String max;
private Long max;

private String min;
private Long min;

public String getStep() {
public Long getStep() {
return this.step;
}

public void setStep(String step) {
public void setStep(Long step) {
this.step = step;
}

public String getMax() {
public Long getMax() {
return this.max;
}

public void setMax(String max) {
public void setMax(Long max) {
this.max = max;
}

public String getMin() {
public Long getMin() {
return this.min;
}

public void setMin(String min) {
public void setMin(Long min) {
this.min = min;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
import com.aliyuncs.oceanbasepro.model.v20190901.DescribeAvailableSpecResponse;
import com.aliyuncs.oceanbasepro.model.v20190901.DescribeAvailableSpecResponse.Data;
import com.aliyuncs.oceanbasepro.model.v20190901.DescribeAvailableSpecResponse.Data.AvailableSpecificationsItem;
import com.aliyuncs.oceanbasepro.model.v20190901.DescribeAvailableSpecResponse.Data.AvailableSpecificationsItem.DiskSizeRangeItem;
import com.aliyuncs.oceanbasepro.model.v20190901.DescribeAvailableSpecResponse.Data.AvailableSpecificationsItem.LogDiskSizeRangeItem;
import com.aliyuncs.oceanbasepro.model.v20190901.DescribeAvailableSpecResponse.Data.AvailableSpecificationsItem.DiskSizeRange;
import com.aliyuncs.oceanbasepro.model.v20190901.DescribeAvailableSpecResponse.Data.AvailableSpecificationsItem.LogDiskSizeRange;
import com.aliyuncs.transform.UnmarshallerContext;


Expand All @@ -45,26 +45,16 @@ public static DescribeAvailableSpecResponse unmarshall(DescribeAvailableSpecResp
}
availableSpecificationsItem.setNodeNum(nodeNum);

List<DiskSizeRangeItem> diskSizeRange = new ArrayList<DiskSizeRangeItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].DiskSizeRange.Length"); j++) {
DiskSizeRangeItem diskSizeRangeItem = new DiskSizeRangeItem();
diskSizeRangeItem.setStep(_ctx.longValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].DiskSizeRange["+ j +"].Step"));
diskSizeRangeItem.setMax(_ctx.longValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].DiskSizeRange["+ j +"].Max"));
diskSizeRangeItem.setMin(_ctx.longValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].DiskSizeRange["+ j +"].Min"));

diskSizeRange.add(diskSizeRangeItem);
}
DiskSizeRange diskSizeRange = new DiskSizeRange();
diskSizeRange.setStep(_ctx.longValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].DiskSizeRange.Step"));
diskSizeRange.setMax(_ctx.longValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].DiskSizeRange.Max"));
diskSizeRange.setMin(_ctx.longValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].DiskSizeRange.Min"));
availableSpecificationsItem.setDiskSizeRange(diskSizeRange);

List<LogDiskSizeRangeItem> logDiskSizeRange = new ArrayList<LogDiskSizeRangeItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].LogDiskSizeRange.Length"); j++) {
LogDiskSizeRangeItem logDiskSizeRangeItem = new LogDiskSizeRangeItem();
logDiskSizeRangeItem.setStep(_ctx.stringValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].LogDiskSizeRange["+ j +"].Step"));
logDiskSizeRangeItem.setMax(_ctx.stringValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].LogDiskSizeRange["+ j +"].Max"));
logDiskSizeRangeItem.setMin(_ctx.stringValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].LogDiskSizeRange["+ j +"].Min"));

logDiskSizeRange.add(logDiskSizeRangeItem);
}
LogDiskSizeRange logDiskSizeRange = new LogDiskSizeRange();
logDiskSizeRange.setStep(_ctx.longValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].LogDiskSizeRange.Step"));
logDiskSizeRange.setMax(_ctx.longValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].LogDiskSizeRange.Max"));
logDiskSizeRange.setMin(_ctx.longValue("DescribeAvailableSpecResponse.Data.AvailableSpecifications["+ i +"].LogDiskSizeRange.Min"));
availableSpecificationsItem.setLogDiskSizeRange(logDiskSizeRange);

availableSpecifications.add(availableSpecificationsItem);
Expand Down

0 comments on commit 65fef76

Please sign in to comment.