Skip to content

Commit 5b03077

Browse files
author
BitsAdmin
committed
Merge 'vefaas-Java-2024-06-06-online-1905-2025_12_03_11_25_20' into 'integration_2025-12-04_1090136622594'
feat: [development task] vefaas-1905-Java (1900544) See merge request: !778
2 parents e1d44bb + ac0342c commit 5b03077

9 files changed

+1359
-0
lines changed

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

Lines changed: 378 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
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 io.swagger.v3.oas.annotations.media.Schema;
23+
import java.io.IOException;
24+
import javax.validation.constraints.*;
25+
import javax.validation.Valid;
26+
/**
27+
* CancelSandboxImagePrecacheTicketRequest
28+
*/
29+
30+
31+
32+
public class CancelSandboxImagePrecacheTicketRequest {
33+
@SerializedName("TicketID")
34+
private String ticketID = null;
35+
36+
public CancelSandboxImagePrecacheTicketRequest ticketID(String ticketID) {
37+
this.ticketID = ticketID;
38+
return this;
39+
}
40+
41+
/**
42+
* Get ticketID
43+
* @return ticketID
44+
**/
45+
@NotNull
46+
@Schema(required = true, description = "")
47+
public String getTicketID() {
48+
return ticketID;
49+
}
50+
51+
public void setTicketID(String ticketID) {
52+
this.ticketID = ticketID;
53+
}
54+
55+
56+
@Override
57+
public boolean equals(java.lang.Object o) {
58+
if (this == o) {
59+
return true;
60+
}
61+
if (o == null || getClass() != o.getClass()) {
62+
return false;
63+
}
64+
CancelSandboxImagePrecacheTicketRequest cancelSandboxImagePrecacheTicketRequest = (CancelSandboxImagePrecacheTicketRequest) o;
65+
return Objects.equals(this.ticketID, cancelSandboxImagePrecacheTicketRequest.ticketID);
66+
}
67+
68+
@Override
69+
public int hashCode() {
70+
return Objects.hash(ticketID);
71+
}
72+
73+
74+
@Override
75+
public String toString() {
76+
StringBuilder sb = new StringBuilder();
77+
sb.append("class CancelSandboxImagePrecacheTicketRequest {\n");
78+
79+
sb.append(" ticketID: ").append(toIndentedString(ticketID)).append("\n");
80+
sb.append("}");
81+
return sb.toString();
82+
}
83+
84+
/**
85+
* Convert the given object to string with each line indented by 4 spaces
86+
* (except the first line).
87+
*/
88+
private String toIndentedString(java.lang.Object o) {
89+
if (o == null) {
90+
return "null";
91+
}
92+
return o.toString().replace("\n", "\n ");
93+
}
94+
95+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
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 io.swagger.v3.oas.annotations.media.Schema;
23+
import java.io.IOException;
24+
import javax.validation.constraints.*;
25+
import javax.validation.Valid;
26+
/**
27+
* CancelSandboxImagePrecacheTicketResponse
28+
*/
29+
30+
31+
32+
public class CancelSandboxImagePrecacheTicketResponse extends com.volcengine.model.AbstractResponse {
33+
@SerializedName("Message")
34+
private String message = null;
35+
36+
@SerializedName("Status")
37+
private String status = null;
38+
39+
public CancelSandboxImagePrecacheTicketResponse message(String message) {
40+
this.message = message;
41+
return this;
42+
}
43+
44+
/**
45+
* Get message
46+
* @return message
47+
**/
48+
@Schema(description = "")
49+
public String getMessage() {
50+
return message;
51+
}
52+
53+
public void setMessage(String message) {
54+
this.message = message;
55+
}
56+
57+
public CancelSandboxImagePrecacheTicketResponse status(String status) {
58+
this.status = status;
59+
return this;
60+
}
61+
62+
/**
63+
* Get status
64+
* @return status
65+
**/
66+
@Schema(description = "")
67+
public String getStatus() {
68+
return status;
69+
}
70+
71+
public void setStatus(String status) {
72+
this.status = status;
73+
}
74+
75+
76+
@Override
77+
public boolean equals(java.lang.Object o) {
78+
if (this == o) {
79+
return true;
80+
}
81+
if (o == null || getClass() != o.getClass()) {
82+
return false;
83+
}
84+
CancelSandboxImagePrecacheTicketResponse cancelSandboxImagePrecacheTicketResponse = (CancelSandboxImagePrecacheTicketResponse) o;
85+
return Objects.equals(this.message, cancelSandboxImagePrecacheTicketResponse.message) &&
86+
Objects.equals(this.status, cancelSandboxImagePrecacheTicketResponse.status);
87+
}
88+
89+
@Override
90+
public int hashCode() {
91+
return Objects.hash(message, status);
92+
}
93+
94+
95+
@Override
96+
public String toString() {
97+
StringBuilder sb = new StringBuilder();
98+
sb.append("class CancelSandboxImagePrecacheTicketResponse {\n");
99+
100+
sb.append(" message: ").append(toIndentedString(message)).append("\n");
101+
sb.append(" status: ").append(toIndentedString(status)).append("\n");
102+
sb.append("}");
103+
return sb.toString();
104+
}
105+
106+
/**
107+
* Convert the given object to string with each line indented by 4 spaces
108+
* (except the first line).
109+
*/
110+
private String toIndentedString(java.lang.Object o) {
111+
if (o == null) {
112+
return "null";
113+
}
114+
return o.toString().replace("\n", "\n ");
115+
}
116+
117+
}
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
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 io.swagger.v3.oas.annotations.media.Schema;
23+
import java.io.IOException;
24+
import java.util.ArrayList;
25+
import java.util.List;
26+
import javax.validation.constraints.*;
27+
import javax.validation.Valid;
28+
/**
29+
* FilterForListSandboxImagePrecacheTicketsInput
30+
*/
31+
32+
33+
34+
public class FilterForListSandboxImagePrecacheTicketsInput {
35+
@SerializedName("Key")
36+
private String key = null;
37+
38+
@SerializedName("Values")
39+
private List<String> values = null;
40+
41+
public FilterForListSandboxImagePrecacheTicketsInput key(String key) {
42+
this.key = key;
43+
return this;
44+
}
45+
46+
/**
47+
* Get key
48+
* @return key
49+
**/
50+
@Schema(description = "")
51+
public String getKey() {
52+
return key;
53+
}
54+
55+
public void setKey(String key) {
56+
this.key = key;
57+
}
58+
59+
public FilterForListSandboxImagePrecacheTicketsInput values(List<String> values) {
60+
this.values = values;
61+
return this;
62+
}
63+
64+
public FilterForListSandboxImagePrecacheTicketsInput addValuesItem(String valuesItem) {
65+
if (this.values == null) {
66+
this.values = new ArrayList<String>();
67+
}
68+
this.values.add(valuesItem);
69+
return this;
70+
}
71+
72+
/**
73+
* Get values
74+
* @return values
75+
**/
76+
@Schema(description = "")
77+
public List<String> getValues() {
78+
return values;
79+
}
80+
81+
public void setValues(List<String> values) {
82+
this.values = values;
83+
}
84+
85+
86+
@Override
87+
public boolean equals(java.lang.Object o) {
88+
if (this == o) {
89+
return true;
90+
}
91+
if (o == null || getClass() != o.getClass()) {
92+
return false;
93+
}
94+
FilterForListSandboxImagePrecacheTicketsInput filterForListSandboxImagePrecacheTicketsInput = (FilterForListSandboxImagePrecacheTicketsInput) o;
95+
return Objects.equals(this.key, filterForListSandboxImagePrecacheTicketsInput.key) &&
96+
Objects.equals(this.values, filterForListSandboxImagePrecacheTicketsInput.values);
97+
}
98+
99+
@Override
100+
public int hashCode() {
101+
return Objects.hash(key, values);
102+
}
103+
104+
105+
@Override
106+
public String toString() {
107+
StringBuilder sb = new StringBuilder();
108+
sb.append("class FilterForListSandboxImagePrecacheTicketsInput {\n");
109+
110+
sb.append(" key: ").append(toIndentedString(key)).append("\n");
111+
sb.append(" values: ").append(toIndentedString(values)).append("\n");
112+
sb.append("}");
113+
return sb.toString();
114+
}
115+
116+
/**
117+
* Convert the given object to string with each line indented by 4 spaces
118+
* (except the first line).
119+
*/
120+
private String toIndentedString(java.lang.Object o) {
121+
if (o == null) {
122+
return "null";
123+
}
124+
return o.toString().replace("\n", "\n ");
125+
}
126+
127+
}

0 commit comments

Comments
 (0)