Skip to content

Commit e2ca857

Browse files
committed
Generated java-async 2023-01-01 for Dytnsapi.
1 parent 8b413fd commit e2ca857

10 files changed

+231
-105
lines changed

dytnsapi-20230101/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-03-02 Version: 1.0.1
2+
- Generated java-async 2023-01-01 for Dytnsapi.
3+
14
2024-03-12 Version: 1.0.0
25
- Generated java-async 2023-01-01 for Dytnsapi.
36

dytnsapi-20230101/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-dytnsapi20230101</artifactId>
6-
<version>1.0.0</version>
6+
<version>1.0.1</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-dytnsapi20230101</name>
99
<description>Alibaba Cloud Dytnsapi (20230101) 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.7-beta</service.version>
44+
<service.version>0.2.15-beta</service.version>
4545
</properties>
4646
<dependencies>
4747
<dependency>

dytnsapi-20230101/src/main/java/com/aliyun/sdk/service/dytnsapi20230101/AsyncClient.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,16 @@ static AsyncClient create() {
1919
return builder().build();
2020
}
2121

22+
/**
23+
* @param request the request parameters of GetPhoneNumberIdentificationResult GetPhoneNumberIdentificationResultRequest
24+
* @return GetPhoneNumberIdentificationResultResponse
25+
*/
2226
CompletableFuture<GetPhoneNumberIdentificationResultResponse> getPhoneNumberIdentificationResult(GetPhoneNumberIdentificationResultRequest request);
2327

28+
/**
29+
* @param request the request parameters of GetPhoneNumberIdentificationUrl GetPhoneNumberIdentificationUrlRequest
30+
* @return GetPhoneNumberIdentificationUrlResponse
31+
*/
2432
CompletableFuture<GetPhoneNumberIdentificationUrlResponse> getPhoneNumberIdentificationUrl(GetPhoneNumberIdentificationUrlRequest request);
2533

2634
}

dytnsapi-20230101/src/main/java/com/aliyun/sdk/service/dytnsapi20230101/DefaultAsyncClient.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ public void close() {
3939
this.handler.close();
4040
}
4141

42+
/**
43+
* @param request the request parameters of GetPhoneNumberIdentificationResult GetPhoneNumberIdentificationResultRequest
44+
* @return GetPhoneNumberIdentificationResultResponse
45+
*/
4246
@Override
4347
public CompletableFuture<GetPhoneNumberIdentificationResultResponse> getPhoneNumberIdentificationResult(GetPhoneNumberIdentificationResultRequest request) {
4448
try {
@@ -53,6 +57,10 @@ public CompletableFuture<GetPhoneNumberIdentificationResultResponse> getPhoneNum
5357
}
5458
}
5559

60+
/**
61+
* @param request the request parameters of GetPhoneNumberIdentificationUrl GetPhoneNumberIdentificationUrlRequest
62+
* @return GetPhoneNumberIdentificationUrlResponse
63+
*/
5664
@Override
5765
public CompletableFuture<GetPhoneNumberIdentificationUrlResponse> getPhoneNumberIdentificationUrl(GetPhoneNumberIdentificationUrlRequest request) {
5866
try {

dytnsapi-20230101/src/main/java/com/aliyun/sdk/service/dytnsapi20230101/models/GetPhoneNumberIdentificationResultRequest.java

Lines changed: 52 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,57 @@
11
// This file is auto-generated, don't edit it. Thanks.
22
package com.aliyun.sdk.service.dytnsapi20230101.models;
33

4-
import com.aliyun.core.annotation.*;
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.*;
59
import darabonba.core.RequestModel;
610
import darabonba.core.TeaModel;
711
import com.aliyun.sdk.gateway.pop.models.*;
812

913
/**
14+
*
1015
* {@link GetPhoneNumberIdentificationResultRequest} extends {@link RequestModel}
1116
*
1217
* <p>GetPhoneNumberIdentificationResultRequest</p>
1318
*/
1419
public class GetPhoneNumberIdentificationResultRequest extends Request {
15-
@Query
16-
@NameInMap("AuthCode")
17-
@Validation(required = true)
20+
@com.aliyun.core.annotation.Query
21+
@com.aliyun.core.annotation.NameInMap("AuthCode")
22+
@com.aliyun.core.annotation.Validation(required = true)
1823
private String authCode;
1924

20-
@Query
21-
@NameInMap("OutId")
22-
@Validation(required = true)
25+
@com.aliyun.core.annotation.Query
26+
@com.aliyun.core.annotation.NameInMap("OutId")
27+
@com.aliyun.core.annotation.Validation(required = true)
2328
private String outId;
2429

25-
@Query
26-
@NameInMap("OwnerId")
30+
@com.aliyun.core.annotation.Query
31+
@com.aliyun.core.annotation.NameInMap("OwnerId")
2732
private Long ownerId;
2833

29-
@Query
30-
@NameInMap("PhoneNumber")
31-
@Validation(required = true)
34+
@com.aliyun.core.annotation.Query
35+
@com.aliyun.core.annotation.NameInMap("PhoneNumber")
36+
@com.aliyun.core.annotation.Validation(required = true)
3237
private String phoneNumber;
3338

34-
@Query
35-
@NameInMap("ResourceOwnerAccount")
39+
@com.aliyun.core.annotation.Query
40+
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
3641
private String resourceOwnerAccount;
3742

38-
@Query
39-
@NameInMap("ResourceOwnerId")
43+
@com.aliyun.core.annotation.Query
44+
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
4045
private Long resourceOwnerId;
4146

42-
@Query
43-
@NameInMap("SessionId")
44-
@Validation(required = true)
47+
@com.aliyun.core.annotation.Query
48+
@com.aliyun.core.annotation.NameInMap("SessionId")
49+
@com.aliyun.core.annotation.Validation(required = true)
4550
private String sessionId;
4651

47-
@Query
48-
@NameInMap("SessionPayload")
49-
@Validation(required = true)
52+
@com.aliyun.core.annotation.Query
53+
@com.aliyun.core.annotation.NameInMap("SessionPayload")
54+
@com.aliyun.core.annotation.Validation(required = true)
5055
private String sessionPayload;
5156

5257
private GetPhoneNumberIdentificationResultRequest(Builder builder) {
@@ -157,7 +162,11 @@ private Builder(GetPhoneNumberIdentificationResultRequest request) {
157162
}
158163

159164
/**
160-
* The authorization code.
165+
* <p>The authorization code.</p>
166+
* <p>This parameter is required.</p>
167+
*
168+
* <strong>example:</strong>
169+
* <p>K***9i7CIe</p>
161170
*/
162171
public Builder authCode(String authCode) {
163172
this.putQueryParameter("AuthCode", authCode);
@@ -166,7 +175,11 @@ public Builder authCode(String authCode) {
166175
}
167176

168177
/**
169-
* The external ID.
178+
* <p>The external ID.</p>
179+
* <p>This parameter is required.</p>
180+
*
181+
* <strong>example:</strong>
182+
* <p>149b03d2-a749-4e6e-8f5b-34******5815</p>
170183
*/
171184
public Builder outId(String outId) {
172185
this.putQueryParameter("OutId", outId);
@@ -184,7 +197,11 @@ public Builder ownerId(Long ownerId) {
184197
}
185198

186199
/**
187-
* The phone number of the subscriber. The phone number to be verified must be in the Mobile Station International Subscriber Directory Number (MSISDN) format.
200+
* <p>The phone number of the subscriber. The phone number to be verified must be in the Mobile Station International Subscriber Directory Number (MSISDN) format.</p>
201+
* <p>This parameter is required.</p>
202+
*
203+
* <strong>example:</strong>
204+
* <p>628211****113</p>
188205
*/
189206
public Builder phoneNumber(String phoneNumber) {
190207
this.putQueryParameter("PhoneNumber", phoneNumber);
@@ -211,7 +228,11 @@ public Builder resourceOwnerId(Long resourceOwnerId) {
211228
}
212229

213230
/**
214-
* The session ID.
231+
* <p>The session ID.</p>
232+
* <p>This parameter is required.</p>
233+
*
234+
* <strong>example:</strong>
235+
* <p>8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041</p>
215236
*/
216237
public Builder sessionId(String sessionId) {
217238
this.putQueryParameter("SessionId", sessionId);
@@ -220,7 +241,11 @@ public Builder sessionId(String sessionId) {
220241
}
221242

222243
/**
223-
* The session payload.
244+
* <p>The session payload.</p>
245+
* <p>This parameter is required.</p>
246+
*
247+
* <strong>example:</strong>
248+
* <p>uQne0vsuNywXVvI4VP5taHsgDNsd3BwcbmrhjXi58WbxBGFW+e8ufMEi9j89YonphV6NZ1PIeKvboHtU1nsSjZMTcoFPfkjqaORIHdSlPb6vmIzqOnJMsP1KPQ8K1JLXSaAKsB2lQ5A9HCkX2HzDEwje14HYQsnPd/Ka2YWgXuL0N8GE9oYi25d4DdlU0XR52YjSj8GMLSgbW7yNxEPvUCOQG83FZfQqmIWG2+0C/fQ3gdG9WI7AeeHZo4IRKGtQnpjKGtZZl8VoLPNIswDqZeeyjCyZlKUXKrAt4Co9c4I4q8G1jZm53COQJ+DuTiWH7w+tois3WJwFV/HmdlAKt8SqpiVrEv47VQ9V+8FYsdKz3A3CRyBVgNj6wYKKbwaI9BdQoOkbYzzA8CfAKO5w1oYVD2nOcYS/AffbPbE31PJj7SdVvKghwPL56OVdjS9Hd0iW0SMBWD0F1iRNCUNHL3ffHcFjJLdhTrMt8VHSRn0nOlvO1ZaWqMQ0yE0q*************************kXTpoQLo0+0h+CEcf90hTg8XdMhj9B0A3SOINceLlmoZb3czvYl00+CC0075DjOX41YtnuAUfaNYPgLIZkjYyq+JopBQFAkxPUbJHC0oCzB9dQahUthWY38OPBs=</p>
224249
*/
225250
public Builder sessionPayload(String sessionPayload) {
226251
this.putQueryParameter("SessionPayload", sessionPayload);

dytnsapi-20230101/src/main/java/com/aliyun/sdk/service/dytnsapi20230101/models/GetPhoneNumberIdentificationResultResponse.java

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
11
// This file is auto-generated, don't edit it. Thanks.
22
package com.aliyun.sdk.service.dytnsapi20230101.models;
33

4-
import com.aliyun.core.annotation.*;
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.*;
59
import darabonba.core.RequestModel;
610
import darabonba.core.TeaModel;
711
import com.aliyun.sdk.gateway.pop.models.*;
812

913
/**
14+
*
1015
* {@link GetPhoneNumberIdentificationResultResponse} extends {@link TeaModel}
1116
*
1217
* <p>GetPhoneNumberIdentificationResultResponse</p>
1318
*/
1419
public class GetPhoneNumberIdentificationResultResponse extends Response {
15-
@NameInMap("headers")
16-
private java.util.Map < String, String > headers;
20+
@com.aliyun.core.annotation.NameInMap("headers")
21+
private java.util.Map<String, String> headers;
1722

18-
@NameInMap("statusCode")
23+
@com.aliyun.core.annotation.NameInMap("statusCode")
1924
private Integer statusCode;
2025

21-
@NameInMap("body")
26+
@com.aliyun.core.annotation.NameInMap("body")
2227
private GetPhoneNumberIdentificationResultResponseBody body;
2328

2429
private GetPhoneNumberIdentificationResultResponse(BuilderImpl builder) {
@@ -40,7 +45,7 @@ public Builder toBuilder() {
4045
/**
4146
* @return headers
4247
*/
43-
public java.util.Map < String, String > getHeaders() {
48+
public java.util.Map<String, String> getHeaders() {
4449
return this.headers;
4550
}
4651

@@ -60,7 +65,7 @@ public GetPhoneNumberIdentificationResultResponseBody getBody() {
6065

6166
public interface Builder extends Response.Builder<GetPhoneNumberIdentificationResultResponse, Builder> {
6267

63-
Builder headers(java.util.Map < String, String > headers);
68+
Builder headers(java.util.Map<String, String> headers);
6469

6570
Builder statusCode(Integer statusCode);
6671

@@ -74,7 +79,7 @@ public interface Builder extends Response.Builder<GetPhoneNumberIdentificationRe
7479
private static final class BuilderImpl
7580
extends Response.BuilderImpl<GetPhoneNumberIdentificationResultResponse, Builder>
7681
implements Builder {
77-
private java.util.Map < String, String > headers;
82+
private java.util.Map<String, String> headers;
7883
private Integer statusCode;
7984
private GetPhoneNumberIdentificationResultResponseBody body;
8085

@@ -93,7 +98,7 @@ private BuilderImpl(GetPhoneNumberIdentificationResultResponse response) {
9398
* headers.
9499
*/
95100
@Override
96-
public Builder headers(java.util.Map < String, String > headers) {
101+
public Builder headers(java.util.Map<String, String> headers) {
97102
this.headers = headers;
98103
return this;
99104
}

0 commit comments

Comments
 (0)