Skip to content

Commit 4d3a10b

Browse files
committed
Generated java-async 2020-09-30 for ecd.
1 parent c47ea9e commit 4d3a10b

File tree

9 files changed

+139
-2
lines changed

9 files changed

+139
-2
lines changed

ecd-20200930/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-09-29 Version: 4.0.55
2+
- Generated java-async 2020-09-30 for ecd.
3+
14
2025-09-15 Version: 4.0.53
25
- Generated java-async 2020-09-30 for ecd.
36

ecd-20200930/pom.xml

Lines changed: 1 addition & 1 deletion
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>alibabacloud-ecd20200930</artifactId>
6-
<version>4.0.53</version>
6+
<version>4.0.55</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-ecd20200930</name>
99
<description>Alibaba Cloud ecd (20200930) Async SDK for Java

ecd-20200930/src/main/java/com/aliyun/sdk/service/ecd20200930/models/CreateAutoSnapshotPolicyRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ public class CreateAutoSnapshotPolicyRequest extends Request {
2222
@com.aliyun.core.annotation.Validation(required = true)
2323
private String cronExpression;
2424

25+
@com.aliyun.core.annotation.Query
26+
@com.aliyun.core.annotation.NameInMap("DiskType")
27+
private String diskType;
28+
2529
@com.aliyun.core.annotation.Query
2630
@com.aliyun.core.annotation.NameInMap("PolicyName")
2731
@com.aliyun.core.annotation.Validation(required = true, maxLength = 64, minLength = 2)
@@ -40,6 +44,7 @@ public class CreateAutoSnapshotPolicyRequest extends Request {
4044
private CreateAutoSnapshotPolicyRequest(Builder builder) {
4145
super(builder);
4246
this.cronExpression = builder.cronExpression;
47+
this.diskType = builder.diskType;
4348
this.policyName = builder.policyName;
4449
this.regionId = builder.regionId;
4550
this.retentionDays = builder.retentionDays;
@@ -65,6 +70,13 @@ public String getCronExpression() {
6570
return this.cronExpression;
6671
}
6772

73+
/**
74+
* @return diskType
75+
*/
76+
public String getDiskType() {
77+
return this.diskType;
78+
}
79+
6880
/**
6981
* @return policyName
7082
*/
@@ -88,6 +100,7 @@ public Integer getRetentionDays() {
88100

89101
public static final class Builder extends Request.Builder<CreateAutoSnapshotPolicyRequest, Builder> {
90102
private String cronExpression;
103+
private String diskType;
91104
private String policyName;
92105
private String regionId;
93106
private Integer retentionDays;
@@ -99,6 +112,7 @@ private Builder() {
99112
private Builder(CreateAutoSnapshotPolicyRequest request) {
100113
super(request);
101114
this.cronExpression = request.cronExpression;
115+
this.diskType = request.diskType;
102116
this.policyName = request.policyName;
103117
this.regionId = request.regionId;
104118
this.retentionDays = request.retentionDays;
@@ -117,6 +131,15 @@ public Builder cronExpression(String cronExpression) {
117131
return this;
118132
}
119133

134+
/**
135+
* DiskType.
136+
*/
137+
public Builder diskType(String diskType) {
138+
this.putQueryParameter("DiskType", diskType);
139+
this.diskType = diskType;
140+
return this;
141+
}
142+
120143
/**
121144
* <p>The name of the automatic snapshot policy. The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with <code>http://</code> or <code>https://</code>. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-). This parameter is empty by default.</p>
122145
* <p>This parameter is required.</p>

ecd-20200930/src/main/java/com/aliyun/sdk/service/ecd20200930/models/CreateDesktopsRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ public class CreateDesktopsRequest extends Request {
4242
@com.aliyun.core.annotation.NameInMap("BundleModels")
4343
private java.util.List<BundleModels> bundleModels;
4444

45+
@com.aliyun.core.annotation.Query
46+
@com.aliyun.core.annotation.NameInMap("ChannelCookie")
47+
private String channelCookie;
48+
4549
@com.aliyun.core.annotation.Query
4650
@com.aliyun.core.annotation.NameInMap("ChargeType")
4751
private String chargeType;
@@ -175,6 +179,7 @@ private CreateDesktopsRequest(Builder builder) {
175179
this.autoRenew = builder.autoRenew;
176180
this.bundleId = builder.bundleId;
177181
this.bundleModels = builder.bundleModels;
182+
this.channelCookie = builder.channelCookie;
178183
this.chargeType = builder.chargeType;
179184
this.desktopAttachment = builder.desktopAttachment;
180185
this.desktopMemberIp = builder.desktopMemberIp;
@@ -263,6 +268,13 @@ public java.util.List<BundleModels> getBundleModels() {
263268
return this.bundleModels;
264269
}
265270

271+
/**
272+
* @return channelCookie
273+
*/
274+
public String getChannelCookie() {
275+
return this.channelCookie;
276+
}
277+
266278
/**
267279
* @return chargeType
268280
*/
@@ -487,6 +499,7 @@ public static final class Builder extends Request.Builder<CreateDesktopsRequest,
487499
private Boolean autoRenew;
488500
private String bundleId;
489501
private java.util.List<BundleModels> bundleModels;
502+
private String channelCookie;
490503
private String chargeType;
491504
private DesktopAttachment desktopAttachment;
492505
private String desktopMemberIp;
@@ -531,6 +544,7 @@ private Builder(CreateDesktopsRequest request) {
531544
this.autoRenew = request.autoRenew;
532545
this.bundleId = request.bundleId;
533546
this.bundleModels = request.bundleModels;
547+
this.channelCookie = request.channelCookie;
534548
this.chargeType = request.chargeType;
535549
this.desktopAttachment = request.desktopAttachment;
536550
this.desktopMemberIp = request.desktopMemberIp;
@@ -630,6 +644,15 @@ public Builder bundleModels(java.util.List<BundleModels> bundleModels) {
630644
return this;
631645
}
632646

647+
/**
648+
* ChannelCookie.
649+
*/
650+
public Builder channelCookie(String channelCookie) {
651+
this.putQueryParameter("ChannelCookie", channelCookie);
652+
this.channelCookie = channelCookie;
653+
return this;
654+
}
655+
633656
/**
634657
* <p>The billing method of the cloud computers.</p>
635658
* <p>Default value: PostPaid. Valid values:</p>

ecd-20200930/src/main/java/com/aliyun/sdk/service/ecd20200930/models/CreateNetworkPackageRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ public class CreateNetworkPackageRequest extends Request {
3030
@com.aliyun.core.annotation.Validation(required = true, maximum = 20000, minimum = 2)
3131
private Integer bandwidth;
3232

33+
@com.aliyun.core.annotation.Query
34+
@com.aliyun.core.annotation.NameInMap("ChannelCookie")
35+
private String channelCookie;
36+
3337
@com.aliyun.core.annotation.Query
3438
@com.aliyun.core.annotation.NameInMap("InternetChargeType")
3539
private String internetChargeType;
@@ -68,6 +72,7 @@ private CreateNetworkPackageRequest(Builder builder) {
6872
this.autoPay = builder.autoPay;
6973
this.autoRenew = builder.autoRenew;
7074
this.bandwidth = builder.bandwidth;
75+
this.channelCookie = builder.channelCookie;
7176
this.internetChargeType = builder.internetChargeType;
7277
this.officeSiteId = builder.officeSiteId;
7378
this.payType = builder.payType;
@@ -112,6 +117,13 @@ public Integer getBandwidth() {
112117
return this.bandwidth;
113118
}
114119

120+
/**
121+
* @return channelCookie
122+
*/
123+
public String getChannelCookie() {
124+
return this.channelCookie;
125+
}
126+
115127
/**
116128
* @return internetChargeType
117129
*/
@@ -172,6 +184,7 @@ public static final class Builder extends Request.Builder<CreateNetworkPackageRe
172184
private Boolean autoPay;
173185
private Boolean autoRenew;
174186
private Integer bandwidth;
187+
private String channelCookie;
175188
private String internetChargeType;
176189
private String officeSiteId;
177190
private String payType;
@@ -190,6 +203,7 @@ private Builder(CreateNetworkPackageRequest request) {
190203
this.autoPay = request.autoPay;
191204
this.autoRenew = request.autoRenew;
192205
this.bandwidth = request.bandwidth;
206+
this.channelCookie = request.channelCookie;
193207
this.internetChargeType = request.internetChargeType;
194208
this.officeSiteId = request.officeSiteId;
195209
this.payType = request.payType;
@@ -276,6 +290,15 @@ public Builder bandwidth(Integer bandwidth) {
276290
return this;
277291
}
278292

293+
/**
294+
* ChannelCookie.
295+
*/
296+
public Builder channelCookie(String channelCookie) {
297+
this.putQueryParameter("ChannelCookie", channelCookie);
298+
this.channelCookie = channelCookie;
299+
return this;
300+
}
301+
279302
/**
280303
* <p>The charge type of the premium bandwidth plan.</p>
281304
* <ul>

ecd-20200930/src/main/java/com/aliyun/sdk/service/ecd20200930/models/DescribeAutoSnapshotPolicyResponseBody.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ public static class AutoSnapshotPolicies extends TeaModel {
131131
@com.aliyun.core.annotation.NameInMap("DesktopNum")
132132
private Integer desktopNum;
133133

134+
@com.aliyun.core.annotation.NameInMap("DiskType")
135+
private String diskType;
136+
134137
@com.aliyun.core.annotation.NameInMap("PolicyId")
135138
private String policyId;
136139

@@ -153,6 +156,7 @@ private AutoSnapshotPolicies(Builder builder) {
153156
this.creationTime = builder.creationTime;
154157
this.cronExpression = builder.cronExpression;
155158
this.desktopNum = builder.desktopNum;
159+
this.diskType = builder.diskType;
156160
this.policyId = builder.policyId;
157161
this.policyName = builder.policyName;
158162
this.regionId = builder.regionId;
@@ -190,6 +194,13 @@ public Integer getDesktopNum() {
190194
return this.desktopNum;
191195
}
192196

197+
/**
198+
* @return diskType
199+
*/
200+
public String getDiskType() {
201+
return this.diskType;
202+
}
203+
193204
/**
194205
* @return policyId
195206
*/
@@ -236,6 +247,7 @@ public static final class Builder {
236247
private String creationTime;
237248
private String cronExpression;
238249
private Integer desktopNum;
250+
private String diskType;
239251
private String policyId;
240252
private String policyName;
241253
private String regionId;
@@ -250,6 +262,7 @@ private Builder(AutoSnapshotPolicies model) {
250262
this.creationTime = model.creationTime;
251263
this.cronExpression = model.cronExpression;
252264
this.desktopNum = model.desktopNum;
265+
this.diskType = model.diskType;
253266
this.policyId = model.policyId;
254267
this.policyName = model.policyName;
255268
this.regionId = model.regionId;
@@ -291,6 +304,14 @@ public Builder desktopNum(Integer desktopNum) {
291304
return this;
292305
}
293306

307+
/**
308+
* DiskType.
309+
*/
310+
public Builder diskType(String diskType) {
311+
this.diskType = diskType;
312+
return this;
313+
}
314+
294315
/**
295316
* <p>The ID of the automatic snapshot policy.</p>
296317
*

ecd-20200930/src/main/java/com/aliyun/sdk/service/ecd20200930/models/DescribeDesktopsResponseBody.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,6 +1453,9 @@ public static class Desktops extends TeaModel {
14531453
@com.aliyun.core.annotation.NameInMap("ResourceGroups")
14541454
private java.util.List<ResourceGroups> resourceGroups;
14551455

1456+
@com.aliyun.core.annotation.NameInMap("SerialNumber")
1457+
private String serialNumber;
1458+
14561459
@com.aliyun.core.annotation.NameInMap("SessionType")
14571460
private String sessionType;
14581461

@@ -1545,6 +1548,7 @@ private Desktops(Builder builder) {
15451548
this.progress = builder.progress;
15461549
this.protocolType = builder.protocolType;
15471550
this.resourceGroups = builder.resourceGroups;
1551+
this.serialNumber = builder.serialNumber;
15481552
this.sessionType = builder.sessionType;
15491553
this.sessions = builder.sessions;
15501554
this.snapshotPolicyId = builder.snapshotPolicyId;
@@ -1932,6 +1936,13 @@ public java.util.List<ResourceGroups> getResourceGroups() {
19321936
return this.resourceGroups;
19331937
}
19341938

1939+
/**
1940+
* @return serialNumber
1941+
*/
1942+
public String getSerialNumber() {
1943+
return this.serialNumber;
1944+
}
1945+
19351946
/**
19361947
* @return sessionType
19371948
*/
@@ -2076,6 +2087,7 @@ public static final class Builder {
20762087
private String progress;
20772088
private String protocolType;
20782089
private java.util.List<ResourceGroups> resourceGroups;
2090+
private String serialNumber;
20792091
private String sessionType;
20802092
private java.util.List<Sessions> sessions;
20812093
private String snapshotPolicyId;
@@ -2146,6 +2158,7 @@ private Builder(Desktops model) {
21462158
this.progress = model.progress;
21472159
this.protocolType = model.protocolType;
21482160
this.resourceGroups = model.resourceGroups;
2161+
this.serialNumber = model.serialNumber;
21492162
this.sessionType = model.sessionType;
21502163
this.sessions = model.sessions;
21512164
this.snapshotPolicyId = model.snapshotPolicyId;
@@ -2769,6 +2782,14 @@ public Builder resourceGroups(java.util.List<ResourceGroups> resourceGroups) {
27692782
return this;
27702783
}
27712784

2785+
/**
2786+
* SerialNumber.
2787+
*/
2788+
public Builder serialNumber(String serialNumber) {
2789+
this.serialNumber = serialNumber;
2790+
return this;
2791+
}
2792+
27722793
/**
27732794
* <p>The type of the session.</p>
27742795
* <p>Valid values:</p>

0 commit comments

Comments
 (0)