Skip to content

Commit 32b5392

Browse files
committed
Generated java-async 2021-02-04 for AIWorkSpace.
1 parent a5fd466 commit 32b5392

File tree

325 files changed

+2503
-201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+2503
-201
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+
2025-04-01 Version: 4.0.1
2+
- Generated java-async 2021-02-04 for AIWorkSpace.
3+
14
2025-03-03 Version: 4.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>4.0.0</version>
6+
<version>4.0.1</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-aiworkspace20210204</name>
99
<description>Alibaba Cloud AIWorkSpace (20210204) Async SDK for Java
@@ -76,7 +76,7 @@
7676
<plugin>
7777
<groupId>org.apache.maven.plugins</groupId>
7878
<artifactId>maven-gpg-plugin</artifactId>
79-
<version>1.6</version>
79+
<version>3.1.0</version>
8080
<executions>
8181
<execution>
8282
<id>sign-artifacts</id>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static AcceptDataworksEventRequest create() {
3939
return builder().build();
4040
}
4141

42-
@Override
42+
@Override
4343
public Builder toBuilder() {
4444
return new Builder(this);
4545
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static AcceptDataworksEventResponse create() {
3737
return new BuilderImpl().build();
3838
}
3939

40-
@Override
40+
@Override
4141
public Builder toBuilder() {
4242
return new BuilderImpl(this);
4343
}

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ public static AcceptDataworksEventResponseBody create() {
3232
return builder().build();
3333
}
3434

35+
public Builder toBuilder() {
36+
return new Builder(this);
37+
}
38+
3539
/**
3640
* @return requestId
3741
*/
@@ -42,6 +46,13 @@ public String getRequestId() {
4246
public static final class Builder {
4347
private String requestId;
4448

49+
private Builder() {
50+
}
51+
52+
private Builder(AcceptDataworksEventResponseBody model) {
53+
this.requestId = model.requestId;
54+
}
55+
4556
/**
4657
* requestId.
4758
*/

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static AddImageLabelsRequest create() {
4141
return builder().build();
4242
}
4343

44-
@Override
44+
@Override
4545
public Builder toBuilder() {
4646
return new Builder(this);
4747
}
@@ -146,6 +146,14 @@ public static final class Builder {
146146
private String key;
147147
private String value;
148148

149+
private Builder() {
150+
}
151+
152+
private Builder(Labels model) {
153+
this.key = model.key;
154+
this.value = model.value;
155+
}
156+
149157
/**
150158
* Key.
151159
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static AddImageLabelsResponse create() {
3737
return new BuilderImpl().build();
3838
}
3939

40-
@Override
40+
@Override
4141
public Builder toBuilder() {
4242
return new BuilderImpl(this);
4343
}

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ public static AddImageLabelsResponseBody create() {
3232
return builder().build();
3333
}
3434

35+
public Builder toBuilder() {
36+
return new Builder(this);
37+
}
38+
3539
/**
3640
* @return requestId
3741
*/
@@ -42,6 +46,13 @@ public String getRequestId() {
4246
public static final class Builder {
4347
private String requestId;
4448

49+
private Builder() {
50+
}
51+
52+
private Builder(AddImageLabelsResponseBody model) {
53+
this.requestId = model.requestId;
54+
}
55+
4556
/**
4657
* RequestId.
4758
*/

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

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ public class AddImageRequest extends Request {
4747
@com.aliyun.core.annotation.NameInMap("Size")
4848
private Integer size;
4949

50+
@com.aliyun.core.annotation.Body
51+
@com.aliyun.core.annotation.NameInMap("SourceId")
52+
private String sourceId;
53+
54+
@com.aliyun.core.annotation.Body
55+
@com.aliyun.core.annotation.NameInMap("SourceType")
56+
private String sourceType;
57+
5058
@com.aliyun.core.annotation.Body
5159
@com.aliyun.core.annotation.NameInMap("WorkspaceId")
5260
private String workspaceId;
@@ -60,6 +68,8 @@ private AddImageRequest(Builder builder) {
6068
this.labels = builder.labels;
6169
this.name = builder.name;
6270
this.size = builder.size;
71+
this.sourceId = builder.sourceId;
72+
this.sourceType = builder.sourceType;
6373
this.workspaceId = builder.workspaceId;
6474
}
6575

@@ -71,7 +81,7 @@ public static AddImageRequest create() {
7181
return builder().build();
7282
}
7383

74-
@Override
84+
@Override
7585
public Builder toBuilder() {
7686
return new Builder(this);
7787
}
@@ -125,6 +135,20 @@ public Integer getSize() {
125135
return this.size;
126136
}
127137

138+
/**
139+
* @return sourceId
140+
*/
141+
public String getSourceId() {
142+
return this.sourceId;
143+
}
144+
145+
/**
146+
* @return sourceType
147+
*/
148+
public String getSourceType() {
149+
return this.sourceType;
150+
}
151+
128152
/**
129153
* @return workspaceId
130154
*/
@@ -140,6 +164,8 @@ public static final class Builder extends Request.Builder<AddImageRequest, Build
140164
private java.util.List<Labels> labels;
141165
private String name;
142166
private Integer size;
167+
private String sourceId;
168+
private String sourceType;
143169
private String workspaceId;
144170

145171
private Builder() {
@@ -155,6 +181,8 @@ private Builder(AddImageRequest request) {
155181
this.labels = request.labels;
156182
this.name = request.name;
157183
this.size = request.size;
184+
this.sourceId = request.sourceId;
185+
this.sourceType = request.sourceType;
158186
this.workspaceId = request.workspaceId;
159187
}
160188

@@ -227,6 +255,24 @@ public Builder size(Integer size) {
227255
return this;
228256
}
229257

258+
/**
259+
* SourceId.
260+
*/
261+
public Builder sourceId(String sourceId) {
262+
this.putBodyParameter("SourceId", sourceId);
263+
this.sourceId = sourceId;
264+
return this;
265+
}
266+
267+
/**
268+
* SourceType.
269+
*/
270+
public Builder sourceType(String sourceType) {
271+
this.putBodyParameter("SourceType", sourceType);
272+
this.sourceType = sourceType;
273+
return this;
274+
}
275+
230276
/**
231277
* WorkspaceId.
232278
*/
@@ -287,6 +333,14 @@ public static final class Builder {
287333
private String key;
288334
private String value;
289335

336+
private Builder() {
337+
}
338+
339+
private Builder(Labels model) {
340+
this.key = model.key;
341+
this.value = model.value;
342+
}
343+
290344
/**
291345
* Key.
292346
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static AddImageResponse create() {
3737
return new BuilderImpl().build();
3838
}
3939

40-
@Override
40+
@Override
4141
public Builder toBuilder() {
4242
return new BuilderImpl(this);
4343
}

0 commit comments

Comments
 (0)