Skip to content

Commit 31645f7

Browse files
author
BitsAdmin
committed
Merge branch 'vefaas-Java-2024-06-06-online-1848-2025_11_19_15_42_18' into 'integration_2025-11-27_1087993550082'
feat: [development task] vefaas-1848-Java (1876775) See merge request iaasng/volcengine-java-sdk!765
2 parents 529bfa2 + 38bc67b commit 31645f7

36 files changed

+3439
-15
lines changed
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
/*
2+
* vefaas
3+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4+
*
5+
* OpenAPI spec version: common-version
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
package com.volcengine.vefaas.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import com.google.gson.TypeAdapter;
18+
import com.google.gson.annotations.JsonAdapter;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.stream.JsonReader;
21+
import com.google.gson.stream.JsonWriter;
22+
import com.volcengine.vefaas.model.DestinationConfigForCreateFunctionInput;
23+
import io.swagger.v3.oas.annotations.media.Schema;
24+
import java.io.IOException;
25+
import javax.validation.constraints.*;
26+
import javax.validation.Valid;
27+
/**
28+
* AsyncTaskConfigForCreateFunctionInput
29+
*/
30+
31+
32+
33+
public class AsyncTaskConfigForCreateFunctionInput {
34+
@SerializedName("DestinationConfig")
35+
private DestinationConfigForCreateFunctionInput destinationConfig = null;
36+
37+
@SerializedName("EnableAsyncTask")
38+
private Boolean enableAsyncTask = null;
39+
40+
@SerializedName("MaxRetry")
41+
private Integer maxRetry = null;
42+
43+
public AsyncTaskConfigForCreateFunctionInput destinationConfig(DestinationConfigForCreateFunctionInput destinationConfig) {
44+
this.destinationConfig = destinationConfig;
45+
return this;
46+
}
47+
48+
/**
49+
* Get destinationConfig
50+
* @return destinationConfig
51+
**/
52+
@Valid
53+
@Schema(description = "")
54+
public DestinationConfigForCreateFunctionInput getDestinationConfig() {
55+
return destinationConfig;
56+
}
57+
58+
public void setDestinationConfig(DestinationConfigForCreateFunctionInput destinationConfig) {
59+
this.destinationConfig = destinationConfig;
60+
}
61+
62+
public AsyncTaskConfigForCreateFunctionInput enableAsyncTask(Boolean enableAsyncTask) {
63+
this.enableAsyncTask = enableAsyncTask;
64+
return this;
65+
}
66+
67+
/**
68+
* Get enableAsyncTask
69+
* @return enableAsyncTask
70+
**/
71+
@Schema(description = "")
72+
public Boolean isEnableAsyncTask() {
73+
return enableAsyncTask;
74+
}
75+
76+
public void setEnableAsyncTask(Boolean enableAsyncTask) {
77+
this.enableAsyncTask = enableAsyncTask;
78+
}
79+
80+
public AsyncTaskConfigForCreateFunctionInput maxRetry(Integer maxRetry) {
81+
this.maxRetry = maxRetry;
82+
return this;
83+
}
84+
85+
/**
86+
* Get maxRetry
87+
* @return maxRetry
88+
**/
89+
@Schema(description = "")
90+
public Integer getMaxRetry() {
91+
return maxRetry;
92+
}
93+
94+
public void setMaxRetry(Integer maxRetry) {
95+
this.maxRetry = maxRetry;
96+
}
97+
98+
99+
@Override
100+
public boolean equals(java.lang.Object o) {
101+
if (this == o) {
102+
return true;
103+
}
104+
if (o == null || getClass() != o.getClass()) {
105+
return false;
106+
}
107+
AsyncTaskConfigForCreateFunctionInput asyncTaskConfigForCreateFunctionInput = (AsyncTaskConfigForCreateFunctionInput) o;
108+
return Objects.equals(this.destinationConfig, asyncTaskConfigForCreateFunctionInput.destinationConfig) &&
109+
Objects.equals(this.enableAsyncTask, asyncTaskConfigForCreateFunctionInput.enableAsyncTask) &&
110+
Objects.equals(this.maxRetry, asyncTaskConfigForCreateFunctionInput.maxRetry);
111+
}
112+
113+
@Override
114+
public int hashCode() {
115+
return Objects.hash(destinationConfig, enableAsyncTask, maxRetry);
116+
}
117+
118+
119+
@Override
120+
public String toString() {
121+
StringBuilder sb = new StringBuilder();
122+
sb.append("class AsyncTaskConfigForCreateFunctionInput {\n");
123+
124+
sb.append(" destinationConfig: ").append(toIndentedString(destinationConfig)).append("\n");
125+
sb.append(" enableAsyncTask: ").append(toIndentedString(enableAsyncTask)).append("\n");
126+
sb.append(" maxRetry: ").append(toIndentedString(maxRetry)).append("\n");
127+
sb.append("}");
128+
return sb.toString();
129+
}
130+
131+
/**
132+
* Convert the given object to string with each line indented by 4 spaces
133+
* (except the first line).
134+
*/
135+
private String toIndentedString(java.lang.Object o) {
136+
if (o == null) {
137+
return "null";
138+
}
139+
return o.toString().replace("\n", "\n ");
140+
}
141+
142+
}
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
/*
2+
* vefaas
3+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4+
*
5+
* OpenAPI spec version: common-version
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
package com.volcengine.vefaas.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import com.google.gson.TypeAdapter;
18+
import com.google.gson.annotations.JsonAdapter;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.stream.JsonReader;
21+
import com.google.gson.stream.JsonWriter;
22+
import com.volcengine.vefaas.model.DestinationConfigForCreateFunctionOutput;
23+
import io.swagger.v3.oas.annotations.media.Schema;
24+
import java.io.IOException;
25+
import javax.validation.constraints.*;
26+
import javax.validation.Valid;
27+
/**
28+
* AsyncTaskConfigForCreateFunctionOutput
29+
*/
30+
31+
32+
33+
public class AsyncTaskConfigForCreateFunctionOutput {
34+
@SerializedName("DestinationConfig")
35+
private DestinationConfigForCreateFunctionOutput destinationConfig = null;
36+
37+
@SerializedName("EnableAsyncTask")
38+
private Boolean enableAsyncTask = null;
39+
40+
@SerializedName("MaxRetry")
41+
private Integer maxRetry = null;
42+
43+
public AsyncTaskConfigForCreateFunctionOutput destinationConfig(DestinationConfigForCreateFunctionOutput destinationConfig) {
44+
this.destinationConfig = destinationConfig;
45+
return this;
46+
}
47+
48+
/**
49+
* Get destinationConfig
50+
* @return destinationConfig
51+
**/
52+
@Valid
53+
@Schema(description = "")
54+
public DestinationConfigForCreateFunctionOutput getDestinationConfig() {
55+
return destinationConfig;
56+
}
57+
58+
public void setDestinationConfig(DestinationConfigForCreateFunctionOutput destinationConfig) {
59+
this.destinationConfig = destinationConfig;
60+
}
61+
62+
public AsyncTaskConfigForCreateFunctionOutput enableAsyncTask(Boolean enableAsyncTask) {
63+
this.enableAsyncTask = enableAsyncTask;
64+
return this;
65+
}
66+
67+
/**
68+
* Get enableAsyncTask
69+
* @return enableAsyncTask
70+
**/
71+
@Schema(description = "")
72+
public Boolean isEnableAsyncTask() {
73+
return enableAsyncTask;
74+
}
75+
76+
public void setEnableAsyncTask(Boolean enableAsyncTask) {
77+
this.enableAsyncTask = enableAsyncTask;
78+
}
79+
80+
public AsyncTaskConfigForCreateFunctionOutput maxRetry(Integer maxRetry) {
81+
this.maxRetry = maxRetry;
82+
return this;
83+
}
84+
85+
/**
86+
* Get maxRetry
87+
* @return maxRetry
88+
**/
89+
@Schema(description = "")
90+
public Integer getMaxRetry() {
91+
return maxRetry;
92+
}
93+
94+
public void setMaxRetry(Integer maxRetry) {
95+
this.maxRetry = maxRetry;
96+
}
97+
98+
99+
@Override
100+
public boolean equals(java.lang.Object o) {
101+
if (this == o) {
102+
return true;
103+
}
104+
if (o == null || getClass() != o.getClass()) {
105+
return false;
106+
}
107+
AsyncTaskConfigForCreateFunctionOutput asyncTaskConfigForCreateFunctionOutput = (AsyncTaskConfigForCreateFunctionOutput) o;
108+
return Objects.equals(this.destinationConfig, asyncTaskConfigForCreateFunctionOutput.destinationConfig) &&
109+
Objects.equals(this.enableAsyncTask, asyncTaskConfigForCreateFunctionOutput.enableAsyncTask) &&
110+
Objects.equals(this.maxRetry, asyncTaskConfigForCreateFunctionOutput.maxRetry);
111+
}
112+
113+
@Override
114+
public int hashCode() {
115+
return Objects.hash(destinationConfig, enableAsyncTask, maxRetry);
116+
}
117+
118+
119+
@Override
120+
public String toString() {
121+
StringBuilder sb = new StringBuilder();
122+
sb.append("class AsyncTaskConfigForCreateFunctionOutput {\n");
123+
124+
sb.append(" destinationConfig: ").append(toIndentedString(destinationConfig)).append("\n");
125+
sb.append(" enableAsyncTask: ").append(toIndentedString(enableAsyncTask)).append("\n");
126+
sb.append(" maxRetry: ").append(toIndentedString(maxRetry)).append("\n");
127+
sb.append("}");
128+
return sb.toString();
129+
}
130+
131+
/**
132+
* Convert the given object to string with each line indented by 4 spaces
133+
* (except the first line).
134+
*/
135+
private String toIndentedString(java.lang.Object o) {
136+
if (o == null) {
137+
return "null";
138+
}
139+
return o.toString().replace("\n", "\n ");
140+
}
141+
142+
}

0 commit comments

Comments
 (0)