Skip to content

Commit c0197f2

Browse files
committed
Generated java-async 2023-12-30 for SysOM.
1 parent 323549e commit c0197f2

File tree

154 files changed

+2277
-242
lines changed

Some content is hidden

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

154 files changed

+2277
-242
lines changed

sysom-20231230/ChangeLog.txt

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

sysom-20231230/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-sysom20231230</artifactId>
6-
<version>1.0.11</version>
6+
<version>1.0.12</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-sysom20231230</name>
99
<description>Alibaba Cloud SysOM (20231230) 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>

sysom-20231230/src/main/java/com/aliyun/sdk/service/sysom20231230/AsyncClient.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ static AsyncClient create() {
2525
*/
2626
CompletableFuture<AuthDiagnosisResponse> authDiagnosis(AuthDiagnosisRequest request);
2727

28+
/**
29+
* @param request the request parameters of CheckInstanceSupport CheckInstanceSupportRequest
30+
* @return CheckInstanceSupportResponse
31+
*/
32+
CompletableFuture<CheckInstanceSupportResponse> checkInstanceSupport(CheckInstanceSupportRequest request);
33+
2834
/**
2935
* @param request the request parameters of GenerateCopilotResponse GenerateCopilotResponseRequest
3036
* @return GenerateCopilotResponseResponse

sysom-20231230/src/main/java/com/aliyun/sdk/service/sysom20231230/DefaultAsyncClient.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,24 @@ public CompletableFuture<AuthDiagnosisResponse> authDiagnosis(AuthDiagnosisReque
5858
}
5959
}
6060

61+
/**
62+
* @param request the request parameters of CheckInstanceSupport CheckInstanceSupportRequest
63+
* @return CheckInstanceSupportResponse
64+
*/
65+
@Override
66+
public CompletableFuture<CheckInstanceSupportResponse> checkInstanceSupport(CheckInstanceSupportRequest request) {
67+
try {
68+
this.handler.validateRequestModel(request);
69+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CheckInstanceSupport").setMethod(HttpMethod.POST).setPathRegex("/api/v1/am/supportInstanceList/checkInstanceSupport").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
70+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CheckInstanceSupportResponse.create());
71+
return this.handler.execute(params);
72+
} catch (Exception e) {
73+
CompletableFuture<CheckInstanceSupportResponse> future = new CompletableFuture<>();
74+
future.completeExceptionally(e);
75+
return future;
76+
}
77+
}
78+
6179
/**
6280
* @param request the request parameters of GenerateCopilotResponse GenerateCopilotResponseRequest
6381
* @return GenerateCopilotResponseResponse

sysom-20231230/src/main/java/com/aliyun/sdk/service/sysom20231230/models/AuthDiagnosisRequest.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static AuthDiagnosisRequest create() {
4444
return builder().build();
4545
}
4646

47-
@Override
47+
@Override
4848
public Builder toBuilder() {
4949
return new Builder(this);
5050
}
@@ -164,6 +164,14 @@ public static final class Builder {
164164
private String instance;
165165
private String region;
166166

167+
private Builder() {
168+
}
169+
170+
private Builder(Instances model) {
171+
this.instance = model.instance;
172+
this.region = model.region;
173+
}
174+
167175
/**
168176
* instance.
169177
*/

sysom-20231230/src/main/java/com/aliyun/sdk/service/sysom20231230/models/AuthDiagnosisResponse.java

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

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

sysom-20231230/src/main/java/com/aliyun/sdk/service/sysom20231230/models/AuthDiagnosisResponseBody.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ public static AuthDiagnosisResponseBody create() {
4444
return builder().build();
4545
}
4646

47+
public Builder toBuilder() {
48+
return new Builder(this);
49+
}
50+
4751
/**
4852
* @return code
4953
*/
@@ -78,6 +82,16 @@ public static final class Builder {
7882
private String message;
7983
private String requestId;
8084

85+
private Builder() {
86+
}
87+
88+
private Builder(AuthDiagnosisResponseBody model) {
89+
this.code = model.code;
90+
this.data = model.data;
91+
this.message = model.message;
92+
this.requestId = model.requestId;
93+
}
94+
8195
/**
8296
* code.
8397
*/
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.sysom20231230.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 CheckInstanceSupportRequest} extends {@link RequestModel}
16+
*
17+
* <p>CheckInstanceSupportRequest</p>
18+
*/
19+
public class CheckInstanceSupportRequest extends Request {
20+
@com.aliyun.core.annotation.Body
21+
@com.aliyun.core.annotation.NameInMap("instances")
22+
private java.util.List<String> instances;
23+
24+
@com.aliyun.core.annotation.Body
25+
@com.aliyun.core.annotation.NameInMap("region")
26+
private String region;
27+
28+
private CheckInstanceSupportRequest(Builder builder) {
29+
super(builder);
30+
this.instances = builder.instances;
31+
this.region = builder.region;
32+
}
33+
34+
public static Builder builder() {
35+
return new Builder();
36+
}
37+
38+
public static CheckInstanceSupportRequest create() {
39+
return builder().build();
40+
}
41+
42+
@Override
43+
public Builder toBuilder() {
44+
return new Builder(this);
45+
}
46+
47+
/**
48+
* @return instances
49+
*/
50+
public java.util.List<String> getInstances() {
51+
return this.instances;
52+
}
53+
54+
/**
55+
* @return region
56+
*/
57+
public String getRegion() {
58+
return this.region;
59+
}
60+
61+
public static final class Builder extends Request.Builder<CheckInstanceSupportRequest, Builder> {
62+
private java.util.List<String> instances;
63+
private String region;
64+
65+
private Builder() {
66+
super();
67+
}
68+
69+
private Builder(CheckInstanceSupportRequest request) {
70+
super(request);
71+
this.instances = request.instances;
72+
this.region = request.region;
73+
}
74+
75+
/**
76+
* instances.
77+
*/
78+
public Builder instances(java.util.List<String> instances) {
79+
this.putBodyParameter("instances", instances);
80+
this.instances = instances;
81+
return this;
82+
}
83+
84+
/**
85+
* region.
86+
*/
87+
public Builder region(String region) {
88+
this.putBodyParameter("region", region);
89+
this.region = region;
90+
return this;
91+
}
92+
93+
@Override
94+
public CheckInstanceSupportRequest build() {
95+
return new CheckInstanceSupportRequest(this);
96+
}
97+
98+
}
99+
100+
}
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.sysom20231230.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 CheckInstanceSupportResponse} extends {@link TeaModel}
16+
*
17+
* <p>CheckInstanceSupportResponse</p>
18+
*/
19+
public class CheckInstanceSupportResponse extends Response {
20+
@com.aliyun.core.annotation.NameInMap("headers")
21+
private java.util.Map<String, String> headers;
22+
23+
@com.aliyun.core.annotation.NameInMap("statusCode")
24+
private Integer statusCode;
25+
26+
@com.aliyun.core.annotation.NameInMap("body")
27+
private CheckInstanceSupportResponseBody body;
28+
29+
private CheckInstanceSupportResponse(BuilderImpl builder) {
30+
super(builder);
31+
this.headers = builder.headers;
32+
this.statusCode = builder.statusCode;
33+
this.body = builder.body;
34+
}
35+
36+
public static CheckInstanceSupportResponse create() {
37+
return new BuilderImpl().build();
38+
}
39+
40+
@Override
41+
public Builder toBuilder() {
42+
return new BuilderImpl(this);
43+
}
44+
45+
/**
46+
* @return headers
47+
*/
48+
public java.util.Map<String, String> getHeaders() {
49+
return this.headers;
50+
}
51+
52+
/**
53+
* @return statusCode
54+
*/
55+
public Integer getStatusCode() {
56+
return this.statusCode;
57+
}
58+
59+
/**
60+
* @return body
61+
*/
62+
public CheckInstanceSupportResponseBody getBody() {
63+
return this.body;
64+
}
65+
66+
public interface Builder extends Response.Builder<CheckInstanceSupportResponse, Builder> {
67+
68+
Builder headers(java.util.Map<String, String> headers);
69+
70+
Builder statusCode(Integer statusCode);
71+
72+
Builder body(CheckInstanceSupportResponseBody body);
73+
74+
@Override
75+
CheckInstanceSupportResponse build();
76+
77+
}
78+
79+
private static final class BuilderImpl
80+
extends Response.BuilderImpl<CheckInstanceSupportResponse, Builder>
81+
implements Builder {
82+
private java.util.Map<String, String> headers;
83+
private Integer statusCode;
84+
private CheckInstanceSupportResponseBody body;
85+
86+
private BuilderImpl() {
87+
super();
88+
}
89+
90+
private BuilderImpl(CheckInstanceSupportResponse response) {
91+
super(response);
92+
this.headers = response.headers;
93+
this.statusCode = response.statusCode;
94+
this.body = response.body;
95+
}
96+
97+
/**
98+
* headers.
99+
*/
100+
@Override
101+
public Builder headers(java.util.Map<String, String> headers) {
102+
this.headers = headers;
103+
return this;
104+
}
105+
106+
/**
107+
* statusCode.
108+
*/
109+
@Override
110+
public Builder statusCode(Integer statusCode) {
111+
this.statusCode = statusCode;
112+
return this;
113+
}
114+
115+
/**
116+
* body.
117+
*/
118+
@Override
119+
public Builder body(CheckInstanceSupportResponseBody body) {
120+
this.body = body;
121+
return this;
122+
}
123+
124+
@Override
125+
public CheckInstanceSupportResponse build() {
126+
return new CheckInstanceSupportResponse(this);
127+
}
128+
129+
}
130+
131+
}

0 commit comments

Comments
 (0)