Skip to content

Commit 1adf65d

Browse files
committed
Generated java-async 2021-02-04 for AIWorkSpace.
1 parent 4afba4e commit 1adf65d

File tree

7 files changed

+622
-2
lines changed

7 files changed

+622
-2
lines changed

aiworkspace-20210204/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-10-18 Version: 2.0.1
2+
- Generated java-async 2021-02-04 for AIWorkSpace.
3+
14
2024-10-12 Version: 2.0.0
25
- Generated java-async 2021-02-04 for AIWorkSpace.
36

aiworkspace-20210204/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>alibabacloud-aiworkspace20210204</artifactId>
6-
<version>2.0.0</version>
6+
<version>2.0.1</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-aiworkspace20210204</name>
99
<description>Alibaba Cloud AIWorkSpace (20210204) Async SDK for Java
@@ -41,7 +41,7 @@
4141
<java.version>1.8</java.version>
4242
<maven.compiler.source>8</maven.compiler.source>
4343
<maven.compiler.target>8</maven.compiler.target>
44-
<service.version>0.2.12-beta</service.version>
44+
<service.version>0.2.15-beta</service.version>
4545
</properties>
4646
<dependencies>
4747
<dependency>

aiworkspace-20210204/src/main/java/com/aliyun/sdk/service/aiworkspace20210204/models/CreateDatasetRequest.java

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ public class CreateDatasetRequest extends Request {
1616
@com.aliyun.core.annotation.NameInMap("Accessibility")
1717
private String accessibility;
1818

19+
@com.aliyun.core.annotation.Body
20+
@com.aliyun.core.annotation.NameInMap("DataCount")
21+
@com.aliyun.core.annotation.Validation(maximum = 999999999999D, minimum = 1)
22+
private Long dataCount;
23+
24+
@com.aliyun.core.annotation.Body
25+
@com.aliyun.core.annotation.NameInMap("DataSize")
26+
@com.aliyun.core.annotation.Validation(maximum = 999999999999D, minimum = 1)
27+
private Long dataSize;
28+
1929
@com.aliyun.core.annotation.Body
2030
@com.aliyun.core.annotation.NameInMap("DataSourceType")
2131
@com.aliyun.core.annotation.Validation(required = true)
@@ -55,6 +65,14 @@ public class CreateDatasetRequest extends Request {
5565
@com.aliyun.core.annotation.NameInMap("ProviderType")
5666
private String providerType;
5767

68+
@com.aliyun.core.annotation.Body
69+
@com.aliyun.core.annotation.NameInMap("SourceDatasetId")
70+
private String sourceDatasetId;
71+
72+
@com.aliyun.core.annotation.Body
73+
@com.aliyun.core.annotation.NameInMap("SourceDatasetVersion")
74+
private String sourceDatasetVersion;
75+
5876
@com.aliyun.core.annotation.Body
5977
@com.aliyun.core.annotation.NameInMap("SourceId")
6078
private String sourceId;
@@ -72,13 +90,23 @@ public class CreateDatasetRequest extends Request {
7290
@com.aliyun.core.annotation.NameInMap("UserId")
7391
private String userId;
7492

93+
@com.aliyun.core.annotation.Body
94+
@com.aliyun.core.annotation.NameInMap("VersionDescription")
95+
private String versionDescription;
96+
97+
@com.aliyun.core.annotation.Body
98+
@com.aliyun.core.annotation.NameInMap("VersionLabels")
99+
private java.util.List < Label > versionLabels;
100+
75101
@com.aliyun.core.annotation.Body
76102
@com.aliyun.core.annotation.NameInMap("WorkspaceId")
77103
private String workspaceId;
78104

79105
private CreateDatasetRequest(Builder builder) {
80106
super(builder);
81107
this.accessibility = builder.accessibility;
108+
this.dataCount = builder.dataCount;
109+
this.dataSize = builder.dataSize;
82110
this.dataSourceType = builder.dataSourceType;
83111
this.dataType = builder.dataType;
84112
this.description = builder.description;
@@ -88,10 +116,14 @@ private CreateDatasetRequest(Builder builder) {
88116
this.property = builder.property;
89117
this.provider = builder.provider;
90118
this.providerType = builder.providerType;
119+
this.sourceDatasetId = builder.sourceDatasetId;
120+
this.sourceDatasetVersion = builder.sourceDatasetVersion;
91121
this.sourceId = builder.sourceId;
92122
this.sourceType = builder.sourceType;
93123
this.uri = builder.uri;
94124
this.userId = builder.userId;
125+
this.versionDescription = builder.versionDescription;
126+
this.versionLabels = builder.versionLabels;
95127
this.workspaceId = builder.workspaceId;
96128
}
97129

@@ -115,6 +147,20 @@ public String getAccessibility() {
115147
return this.accessibility;
116148
}
117149

150+
/**
151+
* @return dataCount
152+
*/
153+
public Long getDataCount() {
154+
return this.dataCount;
155+
}
156+
157+
/**
158+
* @return dataSize
159+
*/
160+
public Long getDataSize() {
161+
return this.dataSize;
162+
}
163+
118164
/**
119165
* @return dataSourceType
120166
*/
@@ -178,6 +224,20 @@ public String getProviderType() {
178224
return this.providerType;
179225
}
180226

227+
/**
228+
* @return sourceDatasetId
229+
*/
230+
public String getSourceDatasetId() {
231+
return this.sourceDatasetId;
232+
}
233+
234+
/**
235+
* @return sourceDatasetVersion
236+
*/
237+
public String getSourceDatasetVersion() {
238+
return this.sourceDatasetVersion;
239+
}
240+
181241
/**
182242
* @return sourceId
183243
*/
@@ -206,6 +266,20 @@ public String getUserId() {
206266
return this.userId;
207267
}
208268

269+
/**
270+
* @return versionDescription
271+
*/
272+
public String getVersionDescription() {
273+
return this.versionDescription;
274+
}
275+
276+
/**
277+
* @return versionLabels
278+
*/
279+
public java.util.List < Label > getVersionLabels() {
280+
return this.versionLabels;
281+
}
282+
209283
/**
210284
* @return workspaceId
211285
*/
@@ -215,6 +289,8 @@ public String getWorkspaceId() {
215289

216290
public static final class Builder extends Request.Builder<CreateDatasetRequest, Builder> {
217291
private String accessibility;
292+
private Long dataCount;
293+
private Long dataSize;
218294
private String dataSourceType;
219295
private String dataType;
220296
private String description;
@@ -224,10 +300,14 @@ public static final class Builder extends Request.Builder<CreateDatasetRequest,
224300
private String property;
225301
private String provider;
226302
private String providerType;
303+
private String sourceDatasetId;
304+
private String sourceDatasetVersion;
227305
private String sourceId;
228306
private String sourceType;
229307
private String uri;
230308
private String userId;
309+
private String versionDescription;
310+
private java.util.List < Label > versionLabels;
231311
private String workspaceId;
232312

233313
private Builder() {
@@ -237,6 +317,8 @@ private Builder() {
237317
private Builder(CreateDatasetRequest request) {
238318
super(request);
239319
this.accessibility = request.accessibility;
320+
this.dataCount = request.dataCount;
321+
this.dataSize = request.dataSize;
240322
this.dataSourceType = request.dataSourceType;
241323
this.dataType = request.dataType;
242324
this.description = request.description;
@@ -246,10 +328,14 @@ private Builder(CreateDatasetRequest request) {
246328
this.property = request.property;
247329
this.provider = request.provider;
248330
this.providerType = request.providerType;
331+
this.sourceDatasetId = request.sourceDatasetId;
332+
this.sourceDatasetVersion = request.sourceDatasetVersion;
249333
this.sourceId = request.sourceId;
250334
this.sourceType = request.sourceType;
251335
this.uri = request.uri;
252336
this.userId = request.userId;
337+
this.versionDescription = request.versionDescription;
338+
this.versionLabels = request.versionLabels;
253339
this.workspaceId = request.workspaceId;
254340
}
255341

@@ -262,6 +348,24 @@ public Builder accessibility(String accessibility) {
262348
return this;
263349
}
264350

351+
/**
352+
* DataCount.
353+
*/
354+
public Builder dataCount(Long dataCount) {
355+
this.putBodyParameter("DataCount", dataCount);
356+
this.dataCount = dataCount;
357+
return this;
358+
}
359+
360+
/**
361+
* DataSize.
362+
*/
363+
public Builder dataSize(Long dataSize) {
364+
this.putBodyParameter("DataSize", dataSize);
365+
this.dataSize = dataSize;
366+
return this;
367+
}
368+
265369
/**
266370
* <p>This parameter is required.</p>
267371
*
@@ -352,6 +456,24 @@ public Builder providerType(String providerType) {
352456
return this;
353457
}
354458

459+
/**
460+
* SourceDatasetId.
461+
*/
462+
public Builder sourceDatasetId(String sourceDatasetId) {
463+
this.putBodyParameter("SourceDatasetId", sourceDatasetId);
464+
this.sourceDatasetId = sourceDatasetId;
465+
return this;
466+
}
467+
468+
/**
469+
* SourceDatasetVersion.
470+
*/
471+
public Builder sourceDatasetVersion(String sourceDatasetVersion) {
472+
this.putBodyParameter("SourceDatasetVersion", sourceDatasetVersion);
473+
this.sourceDatasetVersion = sourceDatasetVersion;
474+
return this;
475+
}
476+
355477
/**
356478
* SourceId.
357479
*/
@@ -391,6 +513,24 @@ public Builder userId(String userId) {
391513
return this;
392514
}
393515

516+
/**
517+
* VersionDescription.
518+
*/
519+
public Builder versionDescription(String versionDescription) {
520+
this.putBodyParameter("VersionDescription", versionDescription);
521+
this.versionDescription = versionDescription;
522+
return this;
523+
}
524+
525+
/**
526+
* VersionLabels.
527+
*/
528+
public Builder versionLabels(java.util.List < Label > versionLabels) {
529+
this.putBodyParameter("VersionLabels", versionLabels);
530+
this.versionLabels = versionLabels;
531+
return this;
532+
}
533+
394534
/**
395535
* WorkspaceId.
396536
*/

0 commit comments

Comments
 (0)