Skip to content

Commit dea624b

Browse files
author
BitsAdmin
committed
Merge 'vefaas-Java-2024-06-06-online-2407-2026_03_25_12_05_00' into 'integration_2026-03-26_1130262513410'
feat: [development task] vefaas-2407-Java (2222530) See merge request: !940
2 parents 58306a0 + 7291c5c commit dea624b

7 files changed

Lines changed: 199 additions & 592 deletions

File tree

volcengine-java-sdk-vefaas/src/main/java/com/volcengine/vefaas/VefaasApi.java

Lines changed: 114 additions & 240 deletions
Large diffs are not rendered by default.

volcengine-java-sdk-vefaas/src/main/java/com/volcengine/vefaas/model/CreateFunctionRequest.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ public class CreateFunctionRequest {
6161
@SerializedName("EnableApmplus")
6262
private Boolean enableApmplus = null;
6363

64+
@SerializedName("EnableZTIToken")
65+
private String enableZTIToken = null;
66+
6467
@SerializedName("Envs")
6568
private List<EnvForCreateFunctionInput> envs = null;
6669

@@ -248,6 +251,24 @@ public void setEnableApmplus(Boolean enableApmplus) {
248251
this.enableApmplus = enableApmplus;
249252
}
250253

254+
public CreateFunctionRequest enableZTIToken(String enableZTIToken) {
255+
this.enableZTIToken = enableZTIToken;
256+
return this;
257+
}
258+
259+
/**
260+
* Get enableZTIToken
261+
* @return enableZTIToken
262+
**/
263+
@Schema(description = "")
264+
public String getEnableZTIToken() {
265+
return enableZTIToken;
266+
}
267+
268+
public void setEnableZTIToken(String enableZTIToken) {
269+
this.enableZTIToken = enableZTIToken;
270+
}
271+
251272
public CreateFunctionRequest envs(List<EnvForCreateFunctionInput> envs) {
252273
this.envs = envs;
253274
return this;
@@ -650,6 +671,7 @@ public boolean equals(java.lang.Object o) {
650671
Objects.equals(this.cpuStrategy, createFunctionRequest.cpuStrategy) &&
651672
Objects.equals(this.description, createFunctionRequest.description) &&
652673
Objects.equals(this.enableApmplus, createFunctionRequest.enableApmplus) &&
674+
Objects.equals(this.enableZTIToken, createFunctionRequest.enableZTIToken) &&
653675
Objects.equals(this.envs, createFunctionRequest.envs) &&
654676
Objects.equals(this.exclusiveMode, createFunctionRequest.exclusiveMode) &&
655677
Objects.equals(this.initializerSec, createFunctionRequest.initializerSec) &&
@@ -674,7 +696,7 @@ public boolean equals(java.lang.Object o) {
674696

675697
@Override
676698
public int hashCode() {
677-
return Objects.hash(asyncTaskConfig, cell, command, cpuMilli, cpuStrategy, description, enableApmplus, envs, exclusiveMode, initializerSec, instanceType, maxConcurrency, memoryMB, name, nasStorage, port, projectName, requestTimeout, role, runtime, source, sourceAccessConfig, sourceType, tags, tlsConfig, tosMountConfig, vpcConfig);
699+
return Objects.hash(asyncTaskConfig, cell, command, cpuMilli, cpuStrategy, description, enableApmplus, enableZTIToken, envs, exclusiveMode, initializerSec, instanceType, maxConcurrency, memoryMB, name, nasStorage, port, projectName, requestTimeout, role, runtime, source, sourceAccessConfig, sourceType, tags, tlsConfig, tosMountConfig, vpcConfig);
678700
}
679701

680702

@@ -690,6 +712,7 @@ public String toString() {
690712
sb.append(" cpuStrategy: ").append(toIndentedString(cpuStrategy)).append("\n");
691713
sb.append(" description: ").append(toIndentedString(description)).append("\n");
692714
sb.append(" enableApmplus: ").append(toIndentedString(enableApmplus)).append("\n");
715+
sb.append(" enableZTIToken: ").append(toIndentedString(enableZTIToken)).append("\n");
693716
sb.append(" envs: ").append(toIndentedString(envs)).append("\n");
694717
sb.append(" exclusiveMode: ").append(toIndentedString(exclusiveMode)).append("\n");
695718
sb.append(" initializerSec: ").append(toIndentedString(initializerSec)).append("\n");

volcengine-java-sdk-vefaas/src/main/java/com/volcengine/vefaas/model/TransitionSandboxRequest.java

Lines changed: 0 additions & 143 deletions
This file was deleted.

volcengine-java-sdk-vefaas/src/main/java/com/volcengine/vefaas/model/TransitionSandboxResponse.java

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)