Skip to content

Commit 85fd03d

Browse files
committed
Generated java-async 2020-09-30 for imm.
1 parent 62a5b67 commit 85fd03d

File tree

9 files changed

+437
-1
lines changed

9 files changed

+437
-1
lines changed

imm-20200930/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-12 Version: 1.0.12
2+
- Generated java-async 2020-09-30 for imm.
3+
14
2025-05-26 Version: 1.0.11
25
- Generated java-async 2020-09-30 for imm.
36

imm-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-imm20200930</artifactId>
6-
<version>1.0.11</version>
6+
<version>1.0.12</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-imm20200930</name>
99
<description>Alibaba Cloud imm (20200930) Async SDK for Java

imm-20200930/src/main/java/com/aliyun/sdk/service/imm20200930/models/CreateDatasetRequest.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ public class CreateDatasetRequest extends Request {
5959
@com.aliyun.core.annotation.NameInMap("TemplateId")
6060
private String templateId;
6161

62+
@com.aliyun.core.annotation.Query
63+
@com.aliyun.core.annotation.NameInMap("WorkflowParameters")
64+
private java.util.List<WorkflowParameter> workflowParameters;
65+
6266
private CreateDatasetRequest(Builder builder) {
6367
super(builder);
6468
this.regionId = builder.regionId;
@@ -71,6 +75,7 @@ private CreateDatasetRequest(Builder builder) {
7175
this.description = builder.description;
7276
this.projectName = builder.projectName;
7377
this.templateId = builder.templateId;
78+
this.workflowParameters = builder.workflowParameters;
7479
}
7580

7681
public static Builder builder() {
@@ -156,6 +161,13 @@ public String getTemplateId() {
156161
return this.templateId;
157162
}
158163

164+
/**
165+
* @return workflowParameters
166+
*/
167+
public java.util.List<WorkflowParameter> getWorkflowParameters() {
168+
return this.workflowParameters;
169+
}
170+
159171
public static final class Builder extends Request.Builder<CreateDatasetRequest, Builder> {
160172
private String regionId;
161173
private Long datasetMaxBindCount;
@@ -167,6 +179,7 @@ public static final class Builder extends Request.Builder<CreateDatasetRequest,
167179
private String description;
168180
private String projectName;
169181
private String templateId;
182+
private java.util.List<WorkflowParameter> workflowParameters;
170183

171184
private Builder() {
172185
super();
@@ -184,6 +197,7 @@ private Builder(CreateDatasetRequest request) {
184197
this.description = request.description;
185198
this.projectName = request.projectName;
186199
this.templateId = request.templateId;
200+
this.workflowParameters = request.workflowParameters;
187201
}
188202

189203
/**
@@ -310,6 +324,16 @@ public Builder templateId(String templateId) {
310324
return this;
311325
}
312326

327+
/**
328+
* WorkflowParameters.
329+
*/
330+
public Builder workflowParameters(java.util.List<WorkflowParameter> workflowParameters) {
331+
String workflowParametersShrink = shrink(workflowParameters, "WorkflowParameters", "json");
332+
this.putQueryParameter("WorkflowParameters", workflowParametersShrink);
333+
this.workflowParameters = workflowParameters;
334+
return this;
335+
}
336+
313337
@Override
314338
public CreateDatasetRequest build() {
315339
return new CreateDatasetRequest(this);

imm-20200930/src/main/java/com/aliyun/sdk/service/imm20200930/models/File.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ public class File extends TeaModel {
128128
@com.aliyun.core.annotation.NameInMap("ImageWidth")
129129
private Long imageWidth;
130130

131+
@com.aliyun.core.annotation.NameInMap("Insights")
132+
private Insights insights;
133+
131134
@com.aliyun.core.annotation.NameInMap("Labels")
132135
private java.util.List<Label> labels;
133136

@@ -304,6 +307,7 @@ private File(Builder builder) {
304307
this.imageHeight = builder.imageHeight;
305308
this.imageScore = builder.imageScore;
306309
this.imageWidth = builder.imageWidth;
310+
this.insights = builder.insights;
307311
this.labels = builder.labels;
308312
this.language = builder.language;
309313
this.latLong = builder.latLong;
@@ -623,6 +627,13 @@ public Long getImageWidth() {
623627
return this.imageWidth;
624628
}
625629

630+
/**
631+
* @return insights
632+
*/
633+
public Insights getInsights() {
634+
return this.insights;
635+
}
636+
626637
/**
627638
* @return labels
628639
*/
@@ -983,6 +994,7 @@ public static final class Builder {
983994
private Long imageHeight;
984995
private ImageScore imageScore;
985996
private Long imageWidth;
997+
private Insights insights;
986998
private java.util.List<Label> labels;
987999
private String language;
9881000
private String latLong;
@@ -1071,6 +1083,7 @@ private Builder(File model) {
10711083
this.imageHeight = model.imageHeight;
10721084
this.imageScore = model.imageScore;
10731085
this.imageWidth = model.imageWidth;
1086+
this.insights = model.insights;
10741087
this.labels = model.labels;
10751088
this.language = model.language;
10761089
this.latLong = model.latLong;
@@ -1415,6 +1428,14 @@ public Builder imageWidth(Long imageWidth) {
14151428
return this;
14161429
}
14171430

1431+
/**
1432+
* Insights.
1433+
*/
1434+
public Builder insights(Insights insights) {
1435+
this.insights = insights;
1436+
return this;
1437+
}
1438+
14181439
/**
14191440
* Labels.
14201441
*/
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.imm20200930.models;
3+
4+
import com.aliyun.sdk.gateway.pop.*;
5+
import darabonba.core.*;
6+
import darabonba.core.async.*;
7+
import darabonba.core.sync.*;
8+
import darabonba.core.client.*;
9+
import darabonba.core.RequestModel;
10+
import darabonba.core.TeaModel;
11+
import com.aliyun.sdk.gateway.pop.models.*;
12+
13+
/**
14+
*
15+
* {@link ImageInsight} extends {@link TeaModel}
16+
*
17+
* <p>ImageInsight</p>
18+
*/
19+
public class ImageInsight extends TeaModel {
20+
@com.aliyun.core.annotation.NameInMap("Caption")
21+
private String caption;
22+
23+
@com.aliyun.core.annotation.NameInMap("Description")
24+
private String description;
25+
26+
private ImageInsight(Builder builder) {
27+
this.caption = builder.caption;
28+
this.description = builder.description;
29+
}
30+
31+
public static Builder builder() {
32+
return new Builder();
33+
}
34+
35+
public static ImageInsight create() {
36+
return builder().build();
37+
}
38+
39+
public Builder toBuilder() {
40+
return new Builder(this);
41+
}
42+
43+
/**
44+
* @return caption
45+
*/
46+
public String getCaption() {
47+
return this.caption;
48+
}
49+
50+
/**
51+
* @return description
52+
*/
53+
public String getDescription() {
54+
return this.description;
55+
}
56+
57+
public static final class Builder {
58+
private String caption;
59+
private String description;
60+
61+
private Builder() {
62+
}
63+
64+
private Builder(ImageInsight model) {
65+
this.caption = model.caption;
66+
this.description = model.description;
67+
}
68+
69+
/**
70+
* Caption.
71+
*/
72+
public Builder caption(String caption) {
73+
this.caption = caption;
74+
return this;
75+
}
76+
77+
/**
78+
* Description.
79+
*/
80+
public Builder description(String description) {
81+
this.description = description;
82+
return this;
83+
}
84+
85+
public ImageInsight build() {
86+
return new ImageInsight(this);
87+
}
88+
89+
}
90+
91+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.imm20200930.models;
3+
4+
import com.aliyun.sdk.gateway.pop.*;
5+
import darabonba.core.*;
6+
import darabonba.core.async.*;
7+
import darabonba.core.sync.*;
8+
import darabonba.core.client.*;
9+
import darabonba.core.RequestModel;
10+
import darabonba.core.TeaModel;
11+
import com.aliyun.sdk.gateway.pop.models.*;
12+
13+
/**
14+
*
15+
* {@link Insights} extends {@link TeaModel}
16+
*
17+
* <p>Insights</p>
18+
*/
19+
public class Insights extends TeaModel {
20+
@com.aliyun.core.annotation.NameInMap("Image")
21+
private ImageInsight image;
22+
23+
@com.aliyun.core.annotation.NameInMap("Video")
24+
private VideoInsight video;
25+
26+
private Insights(Builder builder) {
27+
this.image = builder.image;
28+
this.video = builder.video;
29+
}
30+
31+
public static Builder builder() {
32+
return new Builder();
33+
}
34+
35+
public static Insights create() {
36+
return builder().build();
37+
}
38+
39+
public Builder toBuilder() {
40+
return new Builder(this);
41+
}
42+
43+
/**
44+
* @return image
45+
*/
46+
public ImageInsight getImage() {
47+
return this.image;
48+
}
49+
50+
/**
51+
* @return video
52+
*/
53+
public VideoInsight getVideo() {
54+
return this.video;
55+
}
56+
57+
public static final class Builder {
58+
private ImageInsight image;
59+
private VideoInsight video;
60+
61+
private Builder() {
62+
}
63+
64+
private Builder(Insights model) {
65+
this.image = model.image;
66+
this.video = model.video;
67+
}
68+
69+
/**
70+
* Image.
71+
*/
72+
public Builder image(ImageInsight image) {
73+
this.image = image;
74+
return this;
75+
}
76+
77+
/**
78+
* Video.
79+
*/
80+
public Builder video(VideoInsight video) {
81+
this.video = video;
82+
return this;
83+
}
84+
85+
public Insights build() {
86+
return new Insights(this);
87+
}
88+
89+
}
90+
91+
}

imm-20200930/src/main/java/com/aliyun/sdk/service/imm20200930/models/UpdateDatasetRequest.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ public class UpdateDatasetRequest extends Request {
5959
@com.aliyun.core.annotation.NameInMap("TemplateId")
6060
private String templateId;
6161

62+
@com.aliyun.core.annotation.Query
63+
@com.aliyun.core.annotation.NameInMap("WorkflowParameters")
64+
private java.util.List<WorkflowParameter> workflowParameters;
65+
6266
private UpdateDatasetRequest(Builder builder) {
6367
super(builder);
6468
this.regionId = builder.regionId;
@@ -71,6 +75,7 @@ private UpdateDatasetRequest(Builder builder) {
7175
this.description = builder.description;
7276
this.projectName = builder.projectName;
7377
this.templateId = builder.templateId;
78+
this.workflowParameters = builder.workflowParameters;
7479
}
7580

7681
public static Builder builder() {
@@ -156,6 +161,13 @@ public String getTemplateId() {
156161
return this.templateId;
157162
}
158163

164+
/**
165+
* @return workflowParameters
166+
*/
167+
public java.util.List<WorkflowParameter> getWorkflowParameters() {
168+
return this.workflowParameters;
169+
}
170+
159171
public static final class Builder extends Request.Builder<UpdateDatasetRequest, Builder> {
160172
private String regionId;
161173
private Long datasetMaxBindCount;
@@ -167,6 +179,7 @@ public static final class Builder extends Request.Builder<UpdateDatasetRequest,
167179
private String description;
168180
private String projectName;
169181
private String templateId;
182+
private java.util.List<WorkflowParameter> workflowParameters;
170183

171184
private Builder() {
172185
super();
@@ -184,6 +197,7 @@ private Builder(UpdateDatasetRequest request) {
184197
this.description = request.description;
185198
this.projectName = request.projectName;
186199
this.templateId = request.templateId;
200+
this.workflowParameters = request.workflowParameters;
187201
}
188202

189203
/**
@@ -282,6 +296,16 @@ public Builder templateId(String templateId) {
282296
return this;
283297
}
284298

299+
/**
300+
* WorkflowParameters.
301+
*/
302+
public Builder workflowParameters(java.util.List<WorkflowParameter> workflowParameters) {
303+
String workflowParametersShrink = shrink(workflowParameters, "WorkflowParameters", "json");
304+
this.putQueryParameter("WorkflowParameters", workflowParametersShrink);
305+
this.workflowParameters = workflowParameters;
306+
return this;
307+
}
308+
285309
@Override
286310
public UpdateDatasetRequest build() {
287311
return new UpdateDatasetRequest(this);

0 commit comments

Comments
 (0)