Skip to content

Commit f6ef848

Browse files
committed
Update API DescribePackageDeductions: add request parameters ResourceTypes.
1 parent d94bd5e commit f6ef848

File tree

5 files changed

+86
-4
lines changed

5 files changed

+86
-4
lines changed

wss-20211221/ChangeLog.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2025-06-23 Version: 1.5.2
2+
- Update API DescribePackageDeductions: add request parameters ResourceTypes.
3+
- Update API DescribePackageDeductions: add response parameters Body.Deductions.$.InstanceId.
4+
- Update API DescribePackageDeductions: add response parameters Body.Deductions.$.InstanceType.
5+
- Update API DescribePackageDeductions: add response parameters Body.Deductions.$.SessionId.
6+
- Update API DescribePackageDeductions: add response parameters Body.Deductions.$.UsedTimeWithScale.
7+
8+
19
2025-05-22 Version: 1.5.1
210
- Update API CreateMultiOrder: add request parameters OrderItems.$.BuyChange.
311

wss-20211221/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>wss20211221</artifactId>
6-
<version>1.5.1</version>
6+
<version>1.5.2</version>
77
<packaging>jar</packaging>
88
<name>wss20211221</name>
99
<description>Alibaba Cloud wss (20211221) SDK for Java
@@ -56,7 +56,7 @@
5656
<dependency>
5757
<groupId>com.aliyun</groupId>
5858
<artifactId>endpoint-util</artifactId>
59-
<version>0.0.7</version>
59+
<version>0.0.8</version>
6060
</dependency>
6161
<dependency>
6262
<groupId>com.aliyun</groupId>

wss-20211221/src/main/java/com/aliyun/wss20211221/Client.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ public CreateMultiOrderResponse createMultiOrder(CreateMultiOrderRequest request
8989
}
9090

9191
/**
92+
* <b>summary</b> :
93+
* <p>查询物流地址</p>
94+
*
9295
* @param request DescribeDeliveryAddressRequest
9396
* @param runtime runtime options for this request RuntimeOptions
9497
* @return DescribeDeliveryAddressResponse
@@ -110,6 +113,8 @@ public DescribeDeliveryAddressResponse describeDeliveryAddressWithOptions(com.al
110113
}
111114

112115
/**
116+
* <b>summary</b> :
117+
* <p>查询物流地址</p>
113118
* @return DescribeDeliveryAddressResponse
114119
*/
115120
public DescribeDeliveryAddressResponse describeDeliveryAddress() throws Exception {
@@ -118,6 +123,9 @@ public DescribeDeliveryAddressResponse describeDeliveryAddress() throws Exceptio
118123
}
119124

120125
/**
126+
* <b>summary</b> :
127+
* <p>批量询价</p>
128+
*
121129
* @param request DescribeMultiPriceRequest
122130
* @param runtime runtime options for this request RuntimeOptions
123131
* @return DescribeMultiPriceResponse
@@ -159,6 +167,9 @@ public DescribeMultiPriceResponse describeMultiPriceWithOptions(DescribeMultiPri
159167
}
160168

161169
/**
170+
* <b>summary</b> :
171+
* <p>批量询价</p>
172+
*
162173
* @param request DescribeMultiPriceRequest
163174
* @return DescribeMultiPriceResponse
164175
*/
@@ -202,6 +213,10 @@ public DescribePackageDeductionsResponse describePackageDeductionsWithOptions(De
202213
query.put("ResourceType", request.resourceType);
203214
}
204215

216+
if (!com.aliyun.teautil.Common.isUnset(request.resourceTypes)) {
217+
query.put("ResourceTypes", request.resourceTypes);
218+
}
219+
205220
if (!com.aliyun.teautil.Common.isUnset(request.startTime)) {
206221
query.put("StartTime", request.startTime);
207222
}
@@ -236,6 +251,9 @@ public DescribePackageDeductionsResponse describePackageDeductions(DescribePacka
236251
}
237252

238253
/**
254+
* <b>summary</b> :
255+
* <p>更新实例属性</p>
256+
*
239257
* @param request ModifyInstancePropertiesRequest
240258
* @param runtime runtime options for this request RuntimeOptions
241259
* @return ModifyInstancePropertiesResponse
@@ -281,6 +299,9 @@ public ModifyInstancePropertiesResponse modifyInstancePropertiesWithOptions(Modi
281299
}
282300

283301
/**
302+
* <b>summary</b> :
303+
* <p>更新实例属性</p>
304+
*
284305
* @param request ModifyInstancePropertiesRequest
285306
* @return ModifyInstancePropertiesResponse
286307
*/

wss-20211221/src/main/java/com/aliyun/wss20211221/models/DescribePackageDeductionsRequest.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@ public class DescribePackageDeductionsRequest extends TeaModel {
2828
public Integer pageSize;
2929

3030
/**
31-
* <p>This parameter is required.</p>
32-
*
3331
* <strong>example:</strong>
3432
* <p>CorePackage</p>
3533
*/
3634
@NameInMap("ResourceType")
3735
public String resourceType;
3836

37+
@NameInMap("ResourceTypes")
38+
public java.util.List<String> resourceTypes;
39+
3940
@NameInMap("StartTime")
4041
public Long startTime;
4142

@@ -92,6 +93,14 @@ public String getResourceType() {
9293
return this.resourceType;
9394
}
9495

96+
public DescribePackageDeductionsRequest setResourceTypes(java.util.List<String> resourceTypes) {
97+
this.resourceTypes = resourceTypes;
98+
return this;
99+
}
100+
public java.util.List<String> getResourceTypes() {
101+
return this.resourceTypes;
102+
}
103+
95104
public DescribePackageDeductionsRequest setStartTime(Long startTime) {
96105
this.startTime = startTime;
97106
return this;

wss-20211221/src/main/java/com/aliyun/wss20211221/models/DescribePackageDeductionsResponseBody.java

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,19 @@ public static class DescribePackageDeductionsResponseBodyDeductions extends TeaM
138138
@NameInMap("EndTime")
139139
public String endTime;
140140

141+
@NameInMap("InstanceId")
142+
public String instanceId;
143+
141144
/**
142145
* <strong>example:</strong>
143146
* <p>Deleted</p>
144147
*/
145148
@NameInMap("InstanceState")
146149
public String instanceState;
147150

151+
@NameInMap("InstanceType")
152+
public String instanceType;
153+
148154
/**
149155
* <strong>example:</strong>
150156
* <p>8192</p>
@@ -169,6 +175,9 @@ public static class DescribePackageDeductionsResponseBodyDeductions extends TeaM
169175
@NameInMap("ResourceType")
170176
public String resourceType;
171177

178+
@NameInMap("SessionId")
179+
public String sessionId;
180+
172181
/**
173182
* <strong>example:</strong>
174183
* <p>2024-07-31T02:00Z</p>
@@ -190,6 +199,9 @@ public static class DescribePackageDeductionsResponseBodyDeductions extends TeaM
190199
@NameInMap("UsedTime")
191200
public Long usedTime;
192201

202+
@NameInMap("UsedTimeWithScale")
203+
public Long usedTimeWithScale;
204+
193205
public static DescribePackageDeductionsResponseBodyDeductions build(java.util.Map<String, ?> map) throws Exception {
194206
DescribePackageDeductionsResponseBodyDeductions self = new DescribePackageDeductionsResponseBodyDeductions();
195207
return TeaModel.build(map, self);
@@ -235,6 +247,14 @@ public String getEndTime() {
235247
return this.endTime;
236248
}
237249

250+
public DescribePackageDeductionsResponseBodyDeductions setInstanceId(String instanceId) {
251+
this.instanceId = instanceId;
252+
return this;
253+
}
254+
public String getInstanceId() {
255+
return this.instanceId;
256+
}
257+
238258
public DescribePackageDeductionsResponseBodyDeductions setInstanceState(String instanceState) {
239259
this.instanceState = instanceState;
240260
return this;
@@ -243,6 +263,14 @@ public String getInstanceState() {
243263
return this.instanceState;
244264
}
245265

266+
public DescribePackageDeductionsResponseBodyDeductions setInstanceType(String instanceType) {
267+
this.instanceType = instanceType;
268+
return this;
269+
}
270+
public String getInstanceType() {
271+
return this.instanceType;
272+
}
273+
246274
public DescribePackageDeductionsResponseBodyDeductions setMemory(Long memory) {
247275
this.memory = memory;
248276
return this;
@@ -275,6 +303,14 @@ public String getResourceType() {
275303
return this.resourceType;
276304
}
277305

306+
public DescribePackageDeductionsResponseBodyDeductions setSessionId(String sessionId) {
307+
this.sessionId = sessionId;
308+
return this;
309+
}
310+
public String getSessionId() {
311+
return this.sessionId;
312+
}
313+
278314
public DescribePackageDeductionsResponseBodyDeductions setStaTime(String staTime) {
279315
this.staTime = staTime;
280316
return this;
@@ -299,6 +335,14 @@ public Long getUsedTime() {
299335
return this.usedTime;
300336
}
301337

338+
public DescribePackageDeductionsResponseBodyDeductions setUsedTimeWithScale(Long usedTimeWithScale) {
339+
this.usedTimeWithScale = usedTimeWithScale;
340+
return this;
341+
}
342+
public Long getUsedTimeWithScale() {
343+
return this.usedTimeWithScale;
344+
}
345+
302346
}
303347

304348
}

0 commit comments

Comments
 (0)