Skip to content

Commit b9bf635

Browse files
committed
Generated java-async 2021-04-06 for FC-Open.
1 parent f715b4b commit b9bf635

File tree

5 files changed

+52
-1
lines changed

5 files changed

+52
-1
lines changed

fc-open-20210406/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-02-19 Version: 2.0.12
2+
- Generated java-async 2021-04-06 for FC-Open.
3+
14
2024-01-25 Version: 2.0.11
25
- Update Tea.
36

fc-open-20210406/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-fc_open20210406</artifactId>
6-
<version>2.0.11</version>
6+
<version>2.0.12</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-fc_open20210406</name>
99
<description>Alibaba Cloud FC-Open (20210406) Async SDK for Java

fc-open-20210406/src/main/java/com/aliyun/sdk/service/fc_open20210406/AsyncClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import com.aliyun.sdk.service.fc_open20210406.models.*;
66
import com.aliyun.sdk.gateway.pop.Configuration;
77
import com.aliyun.sdk.gateway.pop.auth.SignatureVersion;
8+
import darabonba.core.*;
89
import darabonba.core.async.*;
910
import darabonba.core.sync.*;
1011

fc-open-20210406/src/main/java/com/aliyun/sdk/service/fc_open20210406/models/ListFunctionAsyncInvokeConfigsRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class ListFunctionAsyncInvokeConfigsRequest extends Request {
2424

2525
@Host
2626
@NameInMap("AccountID")
27+
@Deprecated
2728
private String accountID;
2829

2930
@Header

fc-open-20210406/src/main/java/com/aliyun/sdk/service/fc_open20210406/models/ListInstancesRequest.java

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ public class ListInstancesRequest extends Request {
2727
@Validation(required = true)
2828
private String xFcAccountId;
2929

30+
@Header
31+
@NameInMap("X-Fc-Date")
32+
private String xFcDate;
33+
34+
@Header
35+
@NameInMap("X-Fc-Trace-Id")
36+
private String xFcTraceId;
37+
3038
@Query
3139
@NameInMap("instanceIds")
3240
private java.util.List < String > instanceIds;
@@ -44,6 +52,8 @@ private ListInstancesRequest(Builder builder) {
4452
this.serviceName = builder.serviceName;
4553
this.functionName = builder.functionName;
4654
this.xFcAccountId = builder.xFcAccountId;
55+
this.xFcDate = builder.xFcDate;
56+
this.xFcTraceId = builder.xFcTraceId;
4757
this.instanceIds = builder.instanceIds;
4858
this.limit = builder.limit;
4959
this.qualifier = builder.qualifier;
@@ -83,6 +93,20 @@ public String getXFcAccountId() {
8393
return this.xFcAccountId;
8494
}
8595

96+
/**
97+
* @return xFcDate
98+
*/
99+
public String getXFcDate() {
100+
return this.xFcDate;
101+
}
102+
103+
/**
104+
* @return xFcTraceId
105+
*/
106+
public String getXFcTraceId() {
107+
return this.xFcTraceId;
108+
}
109+
86110
/**
87111
* @return instanceIds
88112
*/
@@ -108,6 +132,8 @@ public static final class Builder extends Request.Builder<ListInstancesRequest,
108132
private String serviceName;
109133
private String functionName;
110134
private String xFcAccountId;
135+
private String xFcDate;
136+
private String xFcTraceId;
111137
private java.util.List < String > instanceIds;
112138
private Integer limit;
113139
private String qualifier;
@@ -121,6 +147,8 @@ private Builder(ListInstancesRequest request) {
121147
this.serviceName = request.serviceName;
122148
this.functionName = request.functionName;
123149
this.xFcAccountId = request.xFcAccountId;
150+
this.xFcDate = request.xFcDate;
151+
this.xFcTraceId = request.xFcTraceId;
124152
this.instanceIds = request.instanceIds;
125153
this.limit = request.limit;
126154
this.qualifier = request.qualifier;
@@ -153,6 +181,24 @@ public Builder xFcAccountId(String xFcAccountId) {
153181
return this;
154182
}
155183

184+
/**
185+
* X-Fc-Date.
186+
*/
187+
public Builder xFcDate(String xFcDate) {
188+
this.putHeaderParameter("X-Fc-Date", xFcDate);
189+
this.xFcDate = xFcDate;
190+
return this;
191+
}
192+
193+
/**
194+
* X-Fc-Trace-Id.
195+
*/
196+
public Builder xFcTraceId(String xFcTraceId) {
197+
this.putHeaderParameter("X-Fc-Trace-Id", xFcTraceId);
198+
this.xFcTraceId = xFcTraceId;
199+
return this;
200+
}
201+
156202
/**
157203
* The instance ID.
158204
*/

0 commit comments

Comments
 (0)