Skip to content

Commit 334a3e4

Browse files
author
BitsAdmin
committed
Merge 'i18n_openapi-Java-2021-05-21-online-2374-2026_03_18_20_34_27' into 'integration_2026-03-19_1126751859202'
feat: [development task] i18n_openapi-2374-Java (2198787) See merge request: !931
2 parents 5d336fa + bf2bdec commit 334a3e4

File tree

178 files changed

+32147
-231
lines changed

Some content is hidden

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

178 files changed

+32147
-231
lines changed

volcengine-java-sdk-i18nopenapi/src/main/java/com/volcengine/i18nopenapi/I18NOpenapiApi.java

Lines changed: 8785 additions & 217 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
/*
2+
* i18n_openapi
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.i18nopenapi.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+
* BaseRespForVideoProjectTaskBatchStartAIFlowOutput
28+
*/
29+
30+
31+
32+
public class BaseRespForVideoProjectTaskBatchStartAIFlowOutput {
33+
@SerializedName("StatusCode")
34+
private Integer statusCode = null;
35+
36+
@SerializedName("StatusMessage")
37+
private String statusMessage = null;
38+
39+
public BaseRespForVideoProjectTaskBatchStartAIFlowOutput statusCode(Integer statusCode) {
40+
this.statusCode = statusCode;
41+
return this;
42+
}
43+
44+
/**
45+
* Get statusCode
46+
* @return statusCode
47+
**/
48+
@Schema(description = "")
49+
public Integer getStatusCode() {
50+
return statusCode;
51+
}
52+
53+
public void setStatusCode(Integer statusCode) {
54+
this.statusCode = statusCode;
55+
}
56+
57+
public BaseRespForVideoProjectTaskBatchStartAIFlowOutput statusMessage(String statusMessage) {
58+
this.statusMessage = statusMessage;
59+
return this;
60+
}
61+
62+
/**
63+
* Get statusMessage
64+
* @return statusMessage
65+
**/
66+
@Schema(description = "")
67+
public String getStatusMessage() {
68+
return statusMessage;
69+
}
70+
71+
public void setStatusMessage(String statusMessage) {
72+
this.statusMessage = statusMessage;
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+
BaseRespForVideoProjectTaskBatchStartAIFlowOutput baseRespForVideoProjectTaskBatchStartAIFlowOutput = (BaseRespForVideoProjectTaskBatchStartAIFlowOutput) o;
85+
return Objects.equals(this.statusCode, baseRespForVideoProjectTaskBatchStartAIFlowOutput.statusCode) &&
86+
Objects.equals(this.statusMessage, baseRespForVideoProjectTaskBatchStartAIFlowOutput.statusMessage);
87+
}
88+
89+
@Override
90+
public int hashCode() {
91+
return Objects.hash(statusCode, statusMessage);
92+
}
93+
94+
95+
@Override
96+
public String toString() {
97+
StringBuilder sb = new StringBuilder();
98+
sb.append("class BaseRespForVideoProjectTaskBatchStartAIFlowOutput {\n");
99+
100+
sb.append(" statusCode: ").append(toIndentedString(statusCode)).append("\n");
101+
sb.append(" statusMessage: ").append(toIndentedString(statusMessage)).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+
* i18n_openapi
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.i18nopenapi.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+
* DataForLanguagesOutput
30+
*/
31+
32+
33+
34+
public class DataForLanguagesOutput {
35+
@SerializedName("sourceLocale")
36+
private String sourceLocale = null;
37+
38+
@SerializedName("targetLocales")
39+
private List<String> targetLocales = null;
40+
41+
public DataForLanguagesOutput sourceLocale(String sourceLocale) {
42+
this.sourceLocale = sourceLocale;
43+
return this;
44+
}
45+
46+
/**
47+
* Get sourceLocale
48+
* @return sourceLocale
49+
**/
50+
@Schema(description = "")
51+
public String getSourceLocale() {
52+
return sourceLocale;
53+
}
54+
55+
public void setSourceLocale(String sourceLocale) {
56+
this.sourceLocale = sourceLocale;
57+
}
58+
59+
public DataForLanguagesOutput targetLocales(List<String> targetLocales) {
60+
this.targetLocales = targetLocales;
61+
return this;
62+
}
63+
64+
public DataForLanguagesOutput addTargetLocalesItem(String targetLocalesItem) {
65+
if (this.targetLocales == null) {
66+
this.targetLocales = new ArrayList<String>();
67+
}
68+
this.targetLocales.add(targetLocalesItem);
69+
return this;
70+
}
71+
72+
/**
73+
* Get targetLocales
74+
* @return targetLocales
75+
**/
76+
@Schema(description = "")
77+
public List<String> getTargetLocales() {
78+
return targetLocales;
79+
}
80+
81+
public void setTargetLocales(List<String> targetLocales) {
82+
this.targetLocales = targetLocales;
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+
DataForLanguagesOutput dataForLanguagesOutput = (DataForLanguagesOutput) o;
95+
return Objects.equals(this.sourceLocale, dataForLanguagesOutput.sourceLocale) &&
96+
Objects.equals(this.targetLocales, dataForLanguagesOutput.targetLocales);
97+
}
98+
99+
@Override
100+
public int hashCode() {
101+
return Objects.hash(sourceLocale, targetLocales);
102+
}
103+
104+
105+
@Override
106+
public String toString() {
107+
StringBuilder sb = new StringBuilder();
108+
sb.append("class DataForLanguagesOutput {\n");
109+
110+
sb.append(" sourceLocale: ").append(toIndentedString(sourceLocale)).append("\n");
111+
sb.append(" targetLocales: ").append(toIndentedString(targetLocales)).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+
}
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
/*
2+
* i18n_openapi
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.i18nopenapi.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+
* DataForMtSupportLangOutput
30+
*/
31+
32+
33+
34+
public class DataForMtSupportLangOutput {
35+
@SerializedName("count")
36+
private Long count = null;
37+
38+
@SerializedName("langs")
39+
private List<String> langs = null;
40+
41+
public DataForMtSupportLangOutput count(Long count) {
42+
this.count = count;
43+
return this;
44+
}
45+
46+
/**
47+
* Get count
48+
* @return count
49+
**/
50+
@Schema(description = "")
51+
public Long getCount() {
52+
return count;
53+
}
54+
55+
public void setCount(Long count) {
56+
this.count = count;
57+
}
58+
59+
public DataForMtSupportLangOutput langs(List<String> langs) {
60+
this.langs = langs;
61+
return this;
62+
}
63+
64+
public DataForMtSupportLangOutput addLangsItem(String langsItem) {
65+
if (this.langs == null) {
66+
this.langs = new ArrayList<String>();
67+
}
68+
this.langs.add(langsItem);
69+
return this;
70+
}
71+
72+
/**
73+
* Get langs
74+
* @return langs
75+
**/
76+
@Schema(description = "")
77+
public List<String> getLangs() {
78+
return langs;
79+
}
80+
81+
public void setLangs(List<String> langs) {
82+
this.langs = langs;
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+
DataForMtSupportLangOutput dataForMtSupportLangOutput = (DataForMtSupportLangOutput) o;
95+
return Objects.equals(this.count, dataForMtSupportLangOutput.count) &&
96+
Objects.equals(this.langs, dataForMtSupportLangOutput.langs);
97+
}
98+
99+
@Override
100+
public int hashCode() {
101+
return Objects.hash(count, langs);
102+
}
103+
104+
105+
@Override
106+
public String toString() {
107+
StringBuilder sb = new StringBuilder();
108+
sb.append("class DataForMtSupportLangOutput {\n");
109+
110+
sb.append(" count: ").append(toIndentedString(count)).append("\n");
111+
sb.append(" langs: ").append(toIndentedString(langs)).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)