From ff00a601c44a173b2e0a646cd4cd29338c4e53c2 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 24 Sep 2024 06:58:06 +0000 Subject: [PATCH] Generated 2021-09-31 for BPStudio. --- aliyun-java-sdk-bpstudio/ChangeLog.txt | 3 + aliyun-java-sdk-bpstudio/pom.xml | 2 +- ...ult4QueryInstancePrice4ModifyResponse.java | 10 +-- .../QueryInstanceSpec4ModifyResponse.java | 89 ++++++++++++++++--- ...tancePrice4ModifyResponseUnmarshaller.java | 2 +- ...stanceSpec4ModifyResponseUnmarshaller.java | 26 +++++- 6 files changed, 111 insertions(+), 21 deletions(-) diff --git a/aliyun-java-sdk-bpstudio/ChangeLog.txt b/aliyun-java-sdk-bpstudio/ChangeLog.txt index 64d41694de..efe7f4c532 100644 --- a/aliyun-java-sdk-bpstudio/ChangeLog.txt +++ b/aliyun-java-sdk-bpstudio/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-09-24 Version: 2.0.9 +- Generated 2021-09-31 for `BPStudio`. + 2024-09-24 Version: 2.0.8 - Generated 2021-09-31 for `BPStudio`. diff --git a/aliyun-java-sdk-bpstudio/pom.xml b/aliyun-java-sdk-bpstudio/pom.xml index dfa5f0007e..d828b3ed71 100644 --- a/aliyun-java-sdk-bpstudio/pom.xml +++ b/aliyun-java-sdk-bpstudio/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-bpstudio jar - 2.0.8 + 2.0.9 aliyun-java-sdk-bpstudio http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/model/v20210931/GetResult4QueryInstancePrice4ModifyResponse.java b/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/model/v20210931/GetResult4QueryInstancePrice4ModifyResponse.java index 72c02c00ac..2935a2588e 100644 --- a/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/model/v20210931/GetResult4QueryInstancePrice4ModifyResponse.java +++ b/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/model/v20210931/GetResult4QueryInstancePrice4ModifyResponse.java @@ -121,7 +121,7 @@ public static class Item { private String promotionName; - private String eRROR; + private String error; public String getNodeType() { return this.nodeType; @@ -171,12 +171,12 @@ public void setPromotionName(String promotionName) { this.promotionName = promotionName; } - public String getERROR() { - return this.eRROR; + public String getError() { + return this.error; } - public void setERROR(String eRROR) { - this.eRROR = eRROR; + public void setError(String error) { + this.error = error; } } } diff --git a/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/model/v20210931/QueryInstanceSpec4ModifyResponse.java b/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/model/v20210931/QueryInstanceSpec4ModifyResponse.java index 0295f96001..8793f945fa 100644 --- a/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/model/v20210931/QueryInstanceSpec4ModifyResponse.java +++ b/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/model/v20210931/QueryInstanceSpec4ModifyResponse.java @@ -13,7 +13,8 @@ */ package com.aliyuncs.bpstudio.model.v20210931; - + +import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.bpstudio.transform.v20210931.QueryInstanceSpec4ModifyResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; @@ -30,12 +31,12 @@ public class QueryInstanceSpec4ModifyResponse extends AcsResponse { private String message; - private String data; - private String requestId; private String accessDeniedDetail; + private Data data; + public Boolean getSuccess() { return this.success; } @@ -60,14 +61,6 @@ public void setMessage(String message) { this.message = message; } - public String getData() { - return this.data; - } - - public void setData(String data) { - this.data = data; - } - public String getRequestId() { return this.requestId; } @@ -84,6 +77,80 @@ public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private List optionalValues; + + public List getOptionalValues() { + return this.optionalValues; + } + + public void setOptionalValues(List optionalValues) { + this.optionalValues = optionalValues; + } + + public static class Item { + + private String label; + + private String value; + + private Double min; + + private Double max; + + private Double step; + + public String getLabel() { + return this.label; + } + + public void setLabel(String label) { + this.label = label; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public Double getMin() { + return this.min; + } + + public void setMin(Double min) { + this.min = min; + } + + public Double getMax() { + return this.max; + } + + public void setMax(Double max) { + this.max = max; + } + + public Double getStep() { + return this.step; + } + + public void setStep(Double step) { + this.step = step; + } + } + } + @Override public QueryInstanceSpec4ModifyResponse getInstance(UnmarshallerContext context) { return QueryInstanceSpec4ModifyResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/transform/v20210931/GetResult4QueryInstancePrice4ModifyResponseUnmarshaller.java b/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/transform/v20210931/GetResult4QueryInstancePrice4ModifyResponseUnmarshaller.java index f8ea17d083..c415fa21b4 100644 --- a/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/transform/v20210931/GetResult4QueryInstancePrice4ModifyResponseUnmarshaller.java +++ b/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/transform/v20210931/GetResult4QueryInstancePrice4ModifyResponseUnmarshaller.java @@ -45,7 +45,7 @@ public static GetResult4QueryInstancePrice4ModifyResponse unmarshall(GetResult4Q item.setOriginalAmount(_ctx.doubleValue("GetResult4QueryInstancePrice4ModifyResponse.Data.PriceList["+ i +"].OriginalAmount")); item.setPriceUnit(_ctx.stringValue("GetResult4QueryInstancePrice4ModifyResponse.Data.PriceList["+ i +"].PriceUnit")); item.setPromotionName(_ctx.stringValue("GetResult4QueryInstancePrice4ModifyResponse.Data.PriceList["+ i +"].PromotionName")); - item.setERROR(_ctx.stringValue("GetResult4QueryInstancePrice4ModifyResponse.Data.PriceList["+ i +"].ERROR")); + item.setError(_ctx.stringValue("GetResult4QueryInstancePrice4ModifyResponse.Data.PriceList["+ i +"].Error")); priceList.add(item); } diff --git a/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/transform/v20210931/QueryInstanceSpec4ModifyResponseUnmarshaller.java b/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/transform/v20210931/QueryInstanceSpec4ModifyResponseUnmarshaller.java index a6a229311f..5f1764bfab 100644 --- a/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/transform/v20210931/QueryInstanceSpec4ModifyResponseUnmarshaller.java +++ b/aliyun-java-sdk-bpstudio/src/main/java/com/aliyuncs/bpstudio/transform/v20210931/QueryInstanceSpec4ModifyResponseUnmarshaller.java @@ -14,7 +14,12 @@ package com.aliyuncs.bpstudio.transform.v20210931; -import com.aliyuncs.bpstudio.model.v20210931.QueryInstanceSpec4ModifyResponse; +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.bpstudio.model.v20210931.QueryInstanceSpec4ModifyResponse; +import com.aliyuncs.bpstudio.model.v20210931.QueryInstanceSpec4ModifyResponse.Data; +import com.aliyuncs.bpstudio.model.v20210931.QueryInstanceSpec4ModifyResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; @@ -26,8 +31,23 @@ public static QueryInstanceSpec4ModifyResponse unmarshall(QueryInstanceSpec4Modi queryInstanceSpec4ModifyResponse.setSuccess(_ctx.booleanValue("QueryInstanceSpec4ModifyResponse.Success")); queryInstanceSpec4ModifyResponse.setCode(_ctx.stringValue("QueryInstanceSpec4ModifyResponse.Code")); queryInstanceSpec4ModifyResponse.setMessage(_ctx.stringValue("QueryInstanceSpec4ModifyResponse.Message")); - queryInstanceSpec4ModifyResponse.setData(_ctx.stringValue("QueryInstanceSpec4ModifyResponse.Data")); - queryInstanceSpec4ModifyResponse.setAccessDeniedDetail(_ctx.stringValue("QueryInstanceSpec4ModifyResponse.AccessDeniedDetail")); + queryInstanceSpec4ModifyResponse.setAccessDeniedDetail(_ctx.stringValue("QueryInstanceSpec4ModifyResponse.AccessDeniedDetail")); + + Data data = new Data(); + + List optionalValues = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("QueryInstanceSpec4ModifyResponse.Data.OptionalValues.Length"); i++) { + Item item = new Item(); + item.setLabel(_ctx.stringValue("QueryInstanceSpec4ModifyResponse.Data.OptionalValues["+ i +"].Label")); + item.setValue(_ctx.stringValue("QueryInstanceSpec4ModifyResponse.Data.OptionalValues["+ i +"].Value")); + item.setMin(_ctx.doubleValue("QueryInstanceSpec4ModifyResponse.Data.OptionalValues["+ i +"].Min")); + item.setMax(_ctx.doubleValue("QueryInstanceSpec4ModifyResponse.Data.OptionalValues["+ i +"].Max")); + item.setStep(_ctx.doubleValue("QueryInstanceSpec4ModifyResponse.Data.OptionalValues["+ i +"].Step")); + + optionalValues.add(item); + } + data.setOptionalValues(optionalValues); + queryInstanceSpec4ModifyResponse.setData(data); return queryInstanceSpec4ModifyResponse; }