Skip to content

Commit 710114c

Browse files
author
BitsAdmin
committed
Merge branch 'cv-Java-2024-06-06-online-795-2024_11_21_11_11_59' into 'integration_2024-11-28_165729600271'
feat: [development task] cv-795-Java (880607) See merge request iaasng/volcengine-java-sdk!305
2 parents 9c14b99 + 7cf3d6a commit 710114c

File tree

148 files changed

+33121
-0
lines changed

Some content is hidden

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

148 files changed

+33121
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,5 +259,6 @@
259259
<module>volcengine-java-sdk-vmp</module>
260260
<module>volcengine-java-sdk-advdefence</module>
261261
<module>volcengine-java-sdk-advdefence20230308</module>
262+
<module>volcengine-java-sdk-cv20240606</module>
262263
</modules>
263264
</project>

volcengine-java-sdk-bom/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,12 @@
319319
<optional>false</optional>
320320
<version>${project.version}</version>
321321
</dependency>
322+
<dependency>
323+
<groupId>com.volcengine</groupId>
324+
<artifactId>volcengine-java-sdk-cv20240606</artifactId>
325+
<optional>false</optional>
326+
<version>${project.version}</version>
327+
</dependency>
322328
</dependencies>
323329
</dependencyManagement>
324330
</project>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<parent>
4+
<artifactId>volcengine-java-sdk</artifactId>
5+
<groupId>com.volcengine</groupId>
6+
<version>0.1.138</version>
7+
<relativePath>../pom.xml</relativePath>
8+
</parent>
9+
<modelVersion>4.0.0</modelVersion>
10+
<artifactId>volcengine-java-sdk-cv20240606</artifactId>
11+
<dependencies>
12+
<dependency>
13+
<groupId>com.volcengine</groupId>
14+
<artifactId>volcengine-java-sdk-core</artifactId>
15+
<version>${project.version}</version>
16+
</dependency>
17+
</dependencies>
18+
<build>
19+
<plugins>
20+
<plugin>
21+
<groupId>org.apache.maven.plugins</groupId>
22+
<artifactId>maven-source-plugin</artifactId>
23+
<configuration>
24+
<excludes>
25+
<exclude>com/volcengine/cv20240606/examples/**</exclude>
26+
</excludes>
27+
</configuration>
28+
</plugin>
29+
<plugin>
30+
<groupId>org.apache.maven.plugins</groupId>
31+
<artifactId>maven-jar-plugin</artifactId>
32+
<configuration>
33+
<excludes>
34+
<exclude>com/volcengine/cv20240606/examples/**</exclude>
35+
</excludes>
36+
</configuration>
37+
</plugin>
38+
</plugins>
39+
</build>
40+
</project>

volcengine-java-sdk-cv20240606/src/main/java/com/volcengine/cv20240606/Cv20240606Api.java

Lines changed: 3962 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 230 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,230 @@
1+
/*
2+
* cv20240606
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.cv20240606.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.cv20240606.model.LogoInfoForAIGCStylizeImageInput;
23+
import io.swagger.v3.oas.annotations.media.Schema;
24+
import java.io.IOException;
25+
import java.util.ArrayList;
26+
import java.util.List;
27+
import javax.validation.constraints.*;
28+
import javax.validation.Valid;
29+
/**
30+
* AIGCStylizeImageRequest
31+
*/
32+
33+
34+
35+
public class AIGCStylizeImageRequest {
36+
@SerializedName("binary_data_base64")
37+
private List<String> binaryDataBase64 = null;
38+
39+
@SerializedName("image_urls")
40+
private List<String> imageUrls = null;
41+
42+
@SerializedName("logo_info")
43+
private LogoInfoForAIGCStylizeImageInput logoInfo = null;
44+
45+
@SerializedName("req_key")
46+
private String reqKey = null;
47+
48+
@SerializedName("return_url")
49+
private Boolean returnUrl = null;
50+
51+
@SerializedName("sub_req_key")
52+
private String subReqKey = null;
53+
54+
public AIGCStylizeImageRequest binaryDataBase64(List<String> binaryDataBase64) {
55+
this.binaryDataBase64 = binaryDataBase64;
56+
return this;
57+
}
58+
59+
public AIGCStylizeImageRequest addBinaryDataBase64Item(String binaryDataBase64Item) {
60+
if (this.binaryDataBase64 == null) {
61+
this.binaryDataBase64 = new ArrayList<String>();
62+
}
63+
this.binaryDataBase64.add(binaryDataBase64Item);
64+
return this;
65+
}
66+
67+
/**
68+
* Get binaryDataBase64
69+
* @return binaryDataBase64
70+
**/
71+
@Schema(description = "")
72+
public List<String> getBinaryDataBase64() {
73+
return binaryDataBase64;
74+
}
75+
76+
public void setBinaryDataBase64(List<String> binaryDataBase64) {
77+
this.binaryDataBase64 = binaryDataBase64;
78+
}
79+
80+
public AIGCStylizeImageRequest imageUrls(List<String> imageUrls) {
81+
this.imageUrls = imageUrls;
82+
return this;
83+
}
84+
85+
public AIGCStylizeImageRequest addImageUrlsItem(String imageUrlsItem) {
86+
if (this.imageUrls == null) {
87+
this.imageUrls = new ArrayList<String>();
88+
}
89+
this.imageUrls.add(imageUrlsItem);
90+
return this;
91+
}
92+
93+
/**
94+
* Get imageUrls
95+
* @return imageUrls
96+
**/
97+
@Schema(description = "")
98+
public List<String> getImageUrls() {
99+
return imageUrls;
100+
}
101+
102+
public void setImageUrls(List<String> imageUrls) {
103+
this.imageUrls = imageUrls;
104+
}
105+
106+
public AIGCStylizeImageRequest logoInfo(LogoInfoForAIGCStylizeImageInput logoInfo) {
107+
this.logoInfo = logoInfo;
108+
return this;
109+
}
110+
111+
/**
112+
* Get logoInfo
113+
* @return logoInfo
114+
**/
115+
@Valid
116+
@Schema(description = "")
117+
public LogoInfoForAIGCStylizeImageInput getLogoInfo() {
118+
return logoInfo;
119+
}
120+
121+
public void setLogoInfo(LogoInfoForAIGCStylizeImageInput logoInfo) {
122+
this.logoInfo = logoInfo;
123+
}
124+
125+
public AIGCStylizeImageRequest reqKey(String reqKey) {
126+
this.reqKey = reqKey;
127+
return this;
128+
}
129+
130+
/**
131+
* Get reqKey
132+
* @return reqKey
133+
**/
134+
@NotNull
135+
@Schema(required = true, description = "")
136+
public String getReqKey() {
137+
return reqKey;
138+
}
139+
140+
public void setReqKey(String reqKey) {
141+
this.reqKey = reqKey;
142+
}
143+
144+
public AIGCStylizeImageRequest returnUrl(Boolean returnUrl) {
145+
this.returnUrl = returnUrl;
146+
return this;
147+
}
148+
149+
/**
150+
* Get returnUrl
151+
* @return returnUrl
152+
**/
153+
@Schema(description = "")
154+
public Boolean isReturnUrl() {
155+
return returnUrl;
156+
}
157+
158+
public void setReturnUrl(Boolean returnUrl) {
159+
this.returnUrl = returnUrl;
160+
}
161+
162+
public AIGCStylizeImageRequest subReqKey(String subReqKey) {
163+
this.subReqKey = subReqKey;
164+
return this;
165+
}
166+
167+
/**
168+
* Get subReqKey
169+
* @return subReqKey
170+
**/
171+
@Schema(description = "")
172+
public String getSubReqKey() {
173+
return subReqKey;
174+
}
175+
176+
public void setSubReqKey(String subReqKey) {
177+
this.subReqKey = subReqKey;
178+
}
179+
180+
181+
@Override
182+
public boolean equals(java.lang.Object o) {
183+
if (this == o) {
184+
return true;
185+
}
186+
if (o == null || getClass() != o.getClass()) {
187+
return false;
188+
}
189+
AIGCStylizeImageRequest aiGCStylizeImageRequest = (AIGCStylizeImageRequest) o;
190+
return Objects.equals(this.binaryDataBase64, aiGCStylizeImageRequest.binaryDataBase64) &&
191+
Objects.equals(this.imageUrls, aiGCStylizeImageRequest.imageUrls) &&
192+
Objects.equals(this.logoInfo, aiGCStylizeImageRequest.logoInfo) &&
193+
Objects.equals(this.reqKey, aiGCStylizeImageRequest.reqKey) &&
194+
Objects.equals(this.returnUrl, aiGCStylizeImageRequest.returnUrl) &&
195+
Objects.equals(this.subReqKey, aiGCStylizeImageRequest.subReqKey);
196+
}
197+
198+
@Override
199+
public int hashCode() {
200+
return Objects.hash(binaryDataBase64, imageUrls, logoInfo, reqKey, returnUrl, subReqKey);
201+
}
202+
203+
204+
@Override
205+
public String toString() {
206+
StringBuilder sb = new StringBuilder();
207+
sb.append("class AIGCStylizeImageRequest {\n");
208+
209+
sb.append(" binaryDataBase64: ").append(toIndentedString(binaryDataBase64)).append("\n");
210+
sb.append(" imageUrls: ").append(toIndentedString(imageUrls)).append("\n");
211+
sb.append(" logoInfo: ").append(toIndentedString(logoInfo)).append("\n");
212+
sb.append(" reqKey: ").append(toIndentedString(reqKey)).append("\n");
213+
sb.append(" returnUrl: ").append(toIndentedString(returnUrl)).append("\n");
214+
sb.append(" subReqKey: ").append(toIndentedString(subReqKey)).append("\n");
215+
sb.append("}");
216+
return sb.toString();
217+
}
218+
219+
/**
220+
* Convert the given object to string with each line indented by 4 spaces
221+
* (except the first line).
222+
*/
223+
private String toIndentedString(java.lang.Object o) {
224+
if (o == null) {
225+
return "null";
226+
}
227+
return o.toString().replace("\n", "\n ");
228+
}
229+
230+
}

0 commit comments

Comments
 (0)