Skip to content

Commit 874b5e6

Browse files
committed
Generated java-async 2018-11-01 for dms-enterprise.
1 parent e3a0702 commit 874b5e6

File tree

8 files changed

+454
-1
lines changed

8 files changed

+454
-1
lines changed

dms-enterprise-20181101/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-02-26 Version: 1.53.27
2+
- Generated java-async 2018-11-01 for dms-enterprise.
3+
14
2025-02-14 Version: 1.53.26
25
- Generated java-async 2018-11-01 for dms-enterprise.
36

dms-enterprise-20181101/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-dms_enterprise20181101</artifactId>
6-
<version>1.53.26</version>
6+
<version>1.53.27</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-dms_enterprise20181101</name>
99
<description>Alibaba Cloud dms-enterprise (20181101) Async SDK for Java

dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/AsyncClient.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,6 +1851,12 @@ static AsyncClient create() {
18511851
*/
18521852
CompletableFuture<UpdateTaskContentResponse> updateTaskContent(UpdateTaskContentRequest request);
18531853

1854+
/**
1855+
* @param request the request parameters of UpdateTaskContentV2 UpdateTaskContentV2Request
1856+
* @return UpdateTaskContentV2Response
1857+
*/
1858+
CompletableFuture<UpdateTaskContentV2Response> updateTaskContentV2(UpdateTaskContentV2Request request);
1859+
18541860
/**
18551861
* @param request the request parameters of UpdateTaskFlowConstants UpdateTaskFlowConstantsRequest
18561862
* @return UpdateTaskFlowConstantsResponse

dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/DefaultAsyncClient.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5015,6 +5015,24 @@ public CompletableFuture<UpdateTaskContentResponse> updateTaskContent(UpdateTask
50155015
}
50165016
}
50175017

5018+
/**
5019+
* @param request the request parameters of UpdateTaskContentV2 UpdateTaskContentV2Request
5020+
* @return UpdateTaskContentV2Response
5021+
*/
5022+
@Override
5023+
public CompletableFuture<UpdateTaskContentV2Response> updateTaskContentV2(UpdateTaskContentV2Request request) {
5024+
try {
5025+
this.handler.validateRequestModel(request);
5026+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateTaskContentV2").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
5027+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateTaskContentV2Response.create());
5028+
return this.handler.execute(params);
5029+
} catch (Exception e) {
5030+
CompletableFuture<UpdateTaskContentV2Response> future = new CompletableFuture<>();
5031+
future.completeExceptionally(e);
5032+
return future;
5033+
}
5034+
}
5035+
50185036
/**
50195037
* @param request the request parameters of UpdateTaskFlowConstants UpdateTaskFlowConstantsRequest
50205038
* @return UpdateTaskFlowConstantsResponse

dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDifyInstanceRequest.java

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ public class CreateDifyInstanceRequest extends Request {
7878
@com.aliyun.core.annotation.NameInMap("DryRun")
7979
private Boolean dryRun;
8080

81+
@com.aliyun.core.annotation.Query
82+
@com.aliyun.core.annotation.NameInMap("GpuNodeSpec")
83+
private String gpuNodeSpec;
84+
8185
@com.aliyun.core.annotation.Query
8286
@com.aliyun.core.annotation.NameInMap("KvStoreAccount")
8387
private String kvStoreAccount;
@@ -110,6 +114,14 @@ public class CreateDifyInstanceRequest extends Request {
110114
@com.aliyun.core.annotation.NameInMap("KvStoreType")
111115
private String kvStoreType;
112116

117+
@com.aliyun.core.annotation.Query
118+
@com.aliyun.core.annotation.NameInMap("ModelId")
119+
private String modelId;
120+
121+
@com.aliyun.core.annotation.Query
122+
@com.aliyun.core.annotation.NameInMap("ModelOption")
123+
private String modelOption;
124+
113125
@com.aliyun.core.annotation.Query
114126
@com.aliyun.core.annotation.NameInMap("OssPath")
115127
private String ossPath;
@@ -244,6 +256,7 @@ private CreateDifyInstanceRequest(Builder builder) {
244256
this.dbStorageSize = builder.dbStorageSize;
245257
this.dbStorageType = builder.dbStorageType;
246258
this.dryRun = builder.dryRun;
259+
this.gpuNodeSpec = builder.gpuNodeSpec;
247260
this.kvStoreAccount = builder.kvStoreAccount;
248261
this.kvStoreEngineVersion = builder.kvStoreEngineVersion;
249262
this.kvStoreInstanceClass = builder.kvStoreInstanceClass;
@@ -252,6 +265,8 @@ private CreateDifyInstanceRequest(Builder builder) {
252265
this.kvStorePassword = builder.kvStorePassword;
253266
this.kvStoreResourceId = builder.kvStoreResourceId;
254267
this.kvStoreType = builder.kvStoreType;
268+
this.modelId = builder.modelId;
269+
this.modelOption = builder.modelOption;
255270
this.ossPath = builder.ossPath;
256271
this.ossResourceId = builder.ossResourceId;
257272
this.payPeriod = builder.payPeriod;
@@ -400,6 +415,13 @@ public Boolean getDryRun() {
400415
return this.dryRun;
401416
}
402417

418+
/**
419+
* @return gpuNodeSpec
420+
*/
421+
public String getGpuNodeSpec() {
422+
return this.gpuNodeSpec;
423+
}
424+
403425
/**
404426
* @return kvStoreAccount
405427
*/
@@ -456,6 +478,20 @@ public String getKvStoreType() {
456478
return this.kvStoreType;
457479
}
458480

481+
/**
482+
* @return modelId
483+
*/
484+
public String getModelId() {
485+
return this.modelId;
486+
}
487+
488+
/**
489+
* @return modelOption
490+
*/
491+
public String getModelOption() {
492+
return this.modelOption;
493+
}
494+
459495
/**
460496
* @return ossPath
461497
*/
@@ -668,6 +704,7 @@ public static final class Builder extends Request.Builder<CreateDifyInstanceRequ
668704
private String dbStorageSize;
669705
private String dbStorageType;
670706
private Boolean dryRun;
707+
private String gpuNodeSpec;
671708
private String kvStoreAccount;
672709
private String kvStoreEngineVersion;
673710
private String kvStoreInstanceClass;
@@ -676,6 +713,8 @@ public static final class Builder extends Request.Builder<CreateDifyInstanceRequ
676713
private String kvStorePassword;
677714
private Integer kvStoreResourceId;
678715
private String kvStoreType;
716+
private String modelId;
717+
private String modelOption;
679718
private String ossPath;
680719
private Integer ossResourceId;
681720
private Integer payPeriod;
@@ -726,6 +765,7 @@ private Builder(CreateDifyInstanceRequest request) {
726765
this.dbStorageSize = request.dbStorageSize;
727766
this.dbStorageType = request.dbStorageType;
728767
this.dryRun = request.dryRun;
768+
this.gpuNodeSpec = request.gpuNodeSpec;
729769
this.kvStoreAccount = request.kvStoreAccount;
730770
this.kvStoreEngineVersion = request.kvStoreEngineVersion;
731771
this.kvStoreInstanceClass = request.kvStoreInstanceClass;
@@ -734,6 +774,8 @@ private Builder(CreateDifyInstanceRequest request) {
734774
this.kvStorePassword = request.kvStorePassword;
735775
this.kvStoreResourceId = request.kvStoreResourceId;
736776
this.kvStoreType = request.kvStoreType;
777+
this.modelId = request.modelId;
778+
this.modelOption = request.modelOption;
737779
this.ossPath = request.ossPath;
738780
this.ossResourceId = request.ossResourceId;
739781
this.payPeriod = request.payPeriod;
@@ -899,6 +941,15 @@ public Builder dryRun(Boolean dryRun) {
899941
return this;
900942
}
901943

944+
/**
945+
* GpuNodeSpec.
946+
*/
947+
public Builder gpuNodeSpec(String gpuNodeSpec) {
948+
this.putQueryParameter("GpuNodeSpec", gpuNodeSpec);
949+
this.gpuNodeSpec = gpuNodeSpec;
950+
return this;
951+
}
952+
902953
/**
903954
* KvStoreAccount.
904955
*/
@@ -971,6 +1022,24 @@ public Builder kvStoreType(String kvStoreType) {
9711022
return this;
9721023
}
9731024

1025+
/**
1026+
* ModelId.
1027+
*/
1028+
public Builder modelId(String modelId) {
1029+
this.putQueryParameter("ModelId", modelId);
1030+
this.modelId = modelId;
1031+
return this;
1032+
}
1033+
1034+
/**
1035+
* ModelOption.
1036+
*/
1037+
public Builder modelOption(String modelOption) {
1038+
this.putQueryParameter("ModelOption", modelOption);
1039+
this.modelOption = modelOption;
1040+
return this;
1041+
}
1042+
9741043
/**
9751044
* OssPath.
9761045
*/
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.dms_enterprise20181101.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 UpdateTaskContentV2Request} extends {@link RequestModel}
16+
*
17+
* <p>UpdateTaskContentV2Request</p>
18+
*/
19+
public class UpdateTaskContentV2Request extends Request {
20+
@com.aliyun.core.annotation.Body
21+
@com.aliyun.core.annotation.NameInMap("NodeContent")
22+
private String nodeContent;
23+
24+
@com.aliyun.core.annotation.Query
25+
@com.aliyun.core.annotation.NameInMap("NodeId")
26+
@com.aliyun.core.annotation.Validation(required = true)
27+
private String nodeId;
28+
29+
private UpdateTaskContentV2Request(Builder builder) {
30+
super(builder);
31+
this.nodeContent = builder.nodeContent;
32+
this.nodeId = builder.nodeId;
33+
}
34+
35+
public static Builder builder() {
36+
return new Builder();
37+
}
38+
39+
public static UpdateTaskContentV2Request create() {
40+
return builder().build();
41+
}
42+
43+
@Override
44+
public Builder toBuilder() {
45+
return new Builder(this);
46+
}
47+
48+
/**
49+
* @return nodeContent
50+
*/
51+
public String getNodeContent() {
52+
return this.nodeContent;
53+
}
54+
55+
/**
56+
* @return nodeId
57+
*/
58+
public String getNodeId() {
59+
return this.nodeId;
60+
}
61+
62+
public static final class Builder extends Request.Builder<UpdateTaskContentV2Request, Builder> {
63+
private String nodeContent;
64+
private String nodeId;
65+
66+
private Builder() {
67+
super();
68+
}
69+
70+
private Builder(UpdateTaskContentV2Request request) {
71+
super(request);
72+
this.nodeContent = request.nodeContent;
73+
this.nodeId = request.nodeId;
74+
}
75+
76+
/**
77+
* NodeContent.
78+
*/
79+
public Builder nodeContent(String nodeContent) {
80+
this.putBodyParameter("NodeContent", nodeContent);
81+
this.nodeContent = nodeContent;
82+
return this;
83+
}
84+
85+
/**
86+
* <p>This parameter is required.</p>
87+
*
88+
* <strong>example:</strong>
89+
* <p>449***</p>
90+
*/
91+
public Builder nodeId(String nodeId) {
92+
this.putQueryParameter("NodeId", nodeId);
93+
this.nodeId = nodeId;
94+
return this;
95+
}
96+
97+
@Override
98+
public UpdateTaskContentV2Request build() {
99+
return new UpdateTaskContentV2Request(this);
100+
}
101+
102+
}
103+
104+
}

0 commit comments

Comments
 (0)