Skip to content

Commit 8d90cd5

Browse files
committed
Generated java-async 2023-04-26 for aliding.
1 parent 2b944b8 commit 8d90cd5

File tree

7 files changed

+599
-1
lines changed

7 files changed

+599
-1
lines changed

aliding-20230426/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-10 Version: 1.0.47
2+
- Generated java-async 2023-04-26 for aliding.
3+
14
2025-06-05 Version: 1.0.46
25
- Generated java-async 2023-04-26 for aliding.
36

aliding-20230426/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-aliding20230426</artifactId>
6-
<version>1.0.46</version>
6+
<version>1.0.47</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-aliding20230426</name>
99
<description>Alibaba Cloud aliding (20230426) Async SDK for Java

aliding-20230426/src/main/java/com/aliyun/sdk/service/aliding20230426/AsyncClient.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,12 @@ static AsyncClient create() {
14231423
*/
14241424
CompletableFuture<UnsubscribeEventResponse> unsubscribeEvent(UnsubscribeEventRequest request);
14251425

1426+
/**
1427+
* @param request the request parameters of UpdateConvExtension UpdateConvExtensionRequest
1428+
* @return UpdateConvExtensionResponse
1429+
*/
1430+
CompletableFuture<UpdateConvExtensionResponse> updateConvExtension(UpdateConvExtensionRequest request);
1431+
14261432
/**
14271433
* @param request the request parameters of UpdateFormData UpdateFormDataRequest
14281434
* @return UpdateFormDataResponse

aliding-20230426/src/main/java/com/aliyun/sdk/service/aliding20230426/DefaultAsyncClient.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4264,6 +4264,24 @@ public CompletableFuture<UnsubscribeEventResponse> unsubscribeEvent(UnsubscribeE
42644264
}
42654265
}
42664266

4267+
/**
4268+
* @param request the request parameters of UpdateConvExtension UpdateConvExtensionRequest
4269+
* @return UpdateConvExtensionResponse
4270+
*/
4271+
@Override
4272+
public CompletableFuture<UpdateConvExtensionResponse> updateConvExtension(UpdateConvExtensionRequest request) {
4273+
try {
4274+
this.handler.validateRequestModel(request);
4275+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateConvExtension").setMethod(HttpMethod.POST).setPathRegex("/dingtalk/v1/conversation/updateConvExtension").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
4276+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateConvExtensionResponse.create());
4277+
return this.handler.execute(params);
4278+
} catch (Exception e) {
4279+
CompletableFuture<UpdateConvExtensionResponse> future = new CompletableFuture<>();
4280+
future.completeExceptionally(e);
4281+
return future;
4282+
}
4283+
}
4284+
42674285
/**
42684286
* @param request the request parameters of UpdateFormData UpdateFormDataRequest
42694287
* @return UpdateFormDataResponse
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,307 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.aliding20230426.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 UpdateConvExtensionRequest} extends {@link RequestModel}
16+
*
17+
* <p>UpdateConvExtensionRequest</p>
18+
*/
19+
public class UpdateConvExtensionRequest extends Request {
20+
@com.aliyun.core.annotation.Header
21+
@com.aliyun.core.annotation.NameInMap("AccountContext")
22+
private AccountContext accountContext;
23+
24+
@com.aliyun.core.annotation.Body
25+
@com.aliyun.core.annotation.NameInMap("MobileUrl")
26+
private String mobileUrl;
27+
28+
@com.aliyun.core.annotation.Body
29+
@com.aliyun.core.annotation.NameInMap("PcUrl")
30+
private String pcUrl;
31+
32+
@com.aliyun.core.annotation.Body
33+
@com.aliyun.core.annotation.NameInMap("StaffIdList")
34+
private java.util.List<String> staffIdList;
35+
36+
@com.aliyun.core.annotation.Body
37+
@com.aliyun.core.annotation.NameInMap("SystemUid")
38+
private String systemUid;
39+
40+
@com.aliyun.core.annotation.Body
41+
@com.aliyun.core.annotation.NameInMap("TenantContext")
42+
private TenantContext tenantContext;
43+
44+
private UpdateConvExtensionRequest(Builder builder) {
45+
super(builder);
46+
this.accountContext = builder.accountContext;
47+
this.mobileUrl = builder.mobileUrl;
48+
this.pcUrl = builder.pcUrl;
49+
this.staffIdList = builder.staffIdList;
50+
this.systemUid = builder.systemUid;
51+
this.tenantContext = builder.tenantContext;
52+
}
53+
54+
public static Builder builder() {
55+
return new Builder();
56+
}
57+
58+
public static UpdateConvExtensionRequest create() {
59+
return builder().build();
60+
}
61+
62+
@Override
63+
public Builder toBuilder() {
64+
return new Builder(this);
65+
}
66+
67+
/**
68+
* @return accountContext
69+
*/
70+
public AccountContext getAccountContext() {
71+
return this.accountContext;
72+
}
73+
74+
/**
75+
* @return mobileUrl
76+
*/
77+
public String getMobileUrl() {
78+
return this.mobileUrl;
79+
}
80+
81+
/**
82+
* @return pcUrl
83+
*/
84+
public String getPcUrl() {
85+
return this.pcUrl;
86+
}
87+
88+
/**
89+
* @return staffIdList
90+
*/
91+
public java.util.List<String> getStaffIdList() {
92+
return this.staffIdList;
93+
}
94+
95+
/**
96+
* @return systemUid
97+
*/
98+
public String getSystemUid() {
99+
return this.systemUid;
100+
}
101+
102+
/**
103+
* @return tenantContext
104+
*/
105+
public TenantContext getTenantContext() {
106+
return this.tenantContext;
107+
}
108+
109+
public static final class Builder extends Request.Builder<UpdateConvExtensionRequest, Builder> {
110+
private AccountContext accountContext;
111+
private String mobileUrl;
112+
private String pcUrl;
113+
private java.util.List<String> staffIdList;
114+
private String systemUid;
115+
private TenantContext tenantContext;
116+
117+
private Builder() {
118+
super();
119+
}
120+
121+
private Builder(UpdateConvExtensionRequest request) {
122+
super(request);
123+
this.accountContext = request.accountContext;
124+
this.mobileUrl = request.mobileUrl;
125+
this.pcUrl = request.pcUrl;
126+
this.staffIdList = request.staffIdList;
127+
this.systemUid = request.systemUid;
128+
this.tenantContext = request.tenantContext;
129+
}
130+
131+
/**
132+
* AccountContext.
133+
*/
134+
public Builder accountContext(AccountContext accountContext) {
135+
String accountContextShrink = shrink(accountContext, "AccountContext", "json");
136+
this.putHeaderParameter("AccountContext", accountContextShrink);
137+
this.accountContext = accountContext;
138+
return this;
139+
}
140+
141+
/**
142+
* MobileUrl.
143+
*/
144+
public Builder mobileUrl(String mobileUrl) {
145+
this.putBodyParameter("MobileUrl", mobileUrl);
146+
this.mobileUrl = mobileUrl;
147+
return this;
148+
}
149+
150+
/**
151+
* PcUrl.
152+
*/
153+
public Builder pcUrl(String pcUrl) {
154+
this.putBodyParameter("PcUrl", pcUrl);
155+
this.pcUrl = pcUrl;
156+
return this;
157+
}
158+
159+
/**
160+
* StaffIdList.
161+
*/
162+
public Builder staffIdList(java.util.List<String> staffIdList) {
163+
String staffIdListShrink = shrink(staffIdList, "StaffIdList", "json");
164+
this.putBodyParameter("StaffIdList", staffIdListShrink);
165+
this.staffIdList = staffIdList;
166+
return this;
167+
}
168+
169+
/**
170+
* SystemUid.
171+
*/
172+
public Builder systemUid(String systemUid) {
173+
this.putBodyParameter("SystemUid", systemUid);
174+
this.systemUid = systemUid;
175+
return this;
176+
}
177+
178+
/**
179+
* TenantContext.
180+
*/
181+
public Builder tenantContext(TenantContext tenantContext) {
182+
String tenantContextShrink = shrink(tenantContext, "TenantContext", "json");
183+
this.putBodyParameter("TenantContext", tenantContextShrink);
184+
this.tenantContext = tenantContext;
185+
return this;
186+
}
187+
188+
@Override
189+
public UpdateConvExtensionRequest build() {
190+
return new UpdateConvExtensionRequest(this);
191+
}
192+
193+
}
194+
195+
/**
196+
*
197+
* {@link UpdateConvExtensionRequest} extends {@link TeaModel}
198+
*
199+
* <p>UpdateConvExtensionRequest</p>
200+
*/
201+
public static class AccountContext extends TeaModel {
202+
@com.aliyun.core.annotation.NameInMap("accountId")
203+
@com.aliyun.core.annotation.Validation(required = true)
204+
private String accountId;
205+
206+
private AccountContext(Builder builder) {
207+
this.accountId = builder.accountId;
208+
}
209+
210+
public static Builder builder() {
211+
return new Builder();
212+
}
213+
214+
public static AccountContext create() {
215+
return builder().build();
216+
}
217+
218+
/**
219+
* @return accountId
220+
*/
221+
public String getAccountId() {
222+
return this.accountId;
223+
}
224+
225+
public static final class Builder {
226+
private String accountId;
227+
228+
private Builder() {
229+
}
230+
231+
private Builder(AccountContext model) {
232+
this.accountId = model.accountId;
233+
}
234+
235+
/**
236+
* <p>This parameter is required.</p>
237+
*
238+
* <strong>example:</strong>
239+
* <p>012345</p>
240+
*/
241+
public Builder accountId(String accountId) {
242+
this.accountId = accountId;
243+
return this;
244+
}
245+
246+
public AccountContext build() {
247+
return new AccountContext(this);
248+
}
249+
250+
}
251+
252+
}
253+
/**
254+
*
255+
* {@link UpdateConvExtensionRequest} extends {@link TeaModel}
256+
*
257+
* <p>UpdateConvExtensionRequest</p>
258+
*/
259+
public static class TenantContext extends TeaModel {
260+
@com.aliyun.core.annotation.NameInMap("tenantId")
261+
private String tenantId;
262+
263+
private TenantContext(Builder builder) {
264+
this.tenantId = builder.tenantId;
265+
}
266+
267+
public static Builder builder() {
268+
return new Builder();
269+
}
270+
271+
public static TenantContext create() {
272+
return builder().build();
273+
}
274+
275+
/**
276+
* @return tenantId
277+
*/
278+
public String getTenantId() {
279+
return this.tenantId;
280+
}
281+
282+
public static final class Builder {
283+
private String tenantId;
284+
285+
private Builder() {
286+
}
287+
288+
private Builder(TenantContext model) {
289+
this.tenantId = model.tenantId;
290+
}
291+
292+
/**
293+
* tenantId.
294+
*/
295+
public Builder tenantId(String tenantId) {
296+
this.tenantId = tenantId;
297+
return this;
298+
}
299+
300+
public TenantContext build() {
301+
return new TenantContext(this);
302+
}
303+
304+
}
305+
306+
}
307+
}

0 commit comments

Comments
 (0)