Skip to content

Commit 1ebcce0

Browse files
author
BitsAdmin
committed
Merge branch 'vod-Java-2025-01-01-online-1855-2025_11_20_14_52_38' into 'integration_2025-11-20_1086065921538'
feat: [development task] vod-1855-Java (1852993) See merge request iaasng/volcengine-java-sdk!754
2 parents 4b816e2 + ff346a7 commit 1ebcce0

8 files changed

+692
-3
lines changed

volcengine-java-sdk-vod20250101/src/main/java/com/volcengine/vod20250101/model/ConvertTaskForGetExecutionOutput.java

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import com.volcengine.vod20250101.model.ConvertHighlightForGetExecutionOutput;
3131
import com.volcengine.vod20250101.model.ConvertOcrForGetExecutionOutput;
3232
import com.volcengine.vod20250101.model.ConvertVideoGenerationForGetExecutionOutput;
33+
import com.volcengine.vod20250101.model.ConvertVideoMattingForGetExecutionOutput;
3334
import com.volcengine.vod20250101.model.ConvertVideoSummaryForGetExecutionOutput;
3435
import com.volcengine.vod20250101.model.ConvertVideoUnderstandingForGetExecutionOutput;
3536
import com.volcengine.vod20250101.model.ConvertVisionForGetExecutionOutput;
@@ -80,6 +81,9 @@ public class ConvertTaskForGetExecutionOutput {
8081
@SerializedName("VideoGeneration")
8182
private ConvertVideoGenerationForGetExecutionOutput videoGeneration = null;
8283

84+
@SerializedName("VideoMatting")
85+
private ConvertVideoMattingForGetExecutionOutput videoMatting = null;
86+
8387
@SerializedName("VideoSummary")
8488
private ConvertVideoSummaryForGetExecutionOutput videoSummary = null;
8589

@@ -316,6 +320,25 @@ public void setVideoGeneration(ConvertVideoGenerationForGetExecutionOutput video
316320
this.videoGeneration = videoGeneration;
317321
}
318322

323+
public ConvertTaskForGetExecutionOutput videoMatting(ConvertVideoMattingForGetExecutionOutput videoMatting) {
324+
this.videoMatting = videoMatting;
325+
return this;
326+
}
327+
328+
/**
329+
* Get videoMatting
330+
* @return videoMatting
331+
**/
332+
@Valid
333+
@Schema(description = "")
334+
public ConvertVideoMattingForGetExecutionOutput getVideoMatting() {
335+
return videoMatting;
336+
}
337+
338+
public void setVideoMatting(ConvertVideoMattingForGetExecutionOutput videoMatting) {
339+
this.videoMatting = videoMatting;
340+
}
341+
319342
public ConvertTaskForGetExecutionOutput videoSummary(ConvertVideoSummaryForGetExecutionOutput videoSummary) {
320343
this.videoSummary = videoSummary;
321344
return this;
@@ -395,14 +418,15 @@ public boolean equals(java.lang.Object o) {
395418
Objects.equals(this.storyline, convertTaskForGetExecutionOutput.storyline) &&
396419
Objects.equals(this.type, convertTaskForGetExecutionOutput.type) &&
397420
Objects.equals(this.videoGeneration, convertTaskForGetExecutionOutput.videoGeneration) &&
421+
Objects.equals(this.videoMatting, convertTaskForGetExecutionOutput.videoMatting) &&
398422
Objects.equals(this.videoSummary, convertTaskForGetExecutionOutput.videoSummary) &&
399423
Objects.equals(this.videoUnderstanding, convertTaskForGetExecutionOutput.videoUnderstanding) &&
400424
Objects.equals(this.vision, convertTaskForGetExecutionOutput.vision);
401425
}
402426

403427
@Override
404428
public int hashCode() {
405-
return Objects.hash(adAudit, asr, audioExtract, enhance, erase, fileDelete, highlight, ocr, segment, storyline, type, videoGeneration, videoSummary, videoUnderstanding, vision);
429+
return Objects.hash(adAudit, asr, audioExtract, enhance, erase, fileDelete, highlight, ocr, segment, storyline, type, videoGeneration, videoMatting, videoSummary, videoUnderstanding, vision);
406430
}
407431

408432

@@ -423,6 +447,7 @@ public String toString() {
423447
sb.append(" storyline: ").append(toIndentedString(storyline)).append("\n");
424448
sb.append(" type: ").append(toIndentedString(type)).append("\n");
425449
sb.append(" videoGeneration: ").append(toIndentedString(videoGeneration)).append("\n");
450+
sb.append(" videoMatting: ").append(toIndentedString(videoMatting)).append("\n");
426451
sb.append(" videoSummary: ").append(toIndentedString(videoSummary)).append("\n");
427452
sb.append(" videoUnderstanding: ").append(toIndentedString(videoUnderstanding)).append("\n");
428453
sb.append(" vision: ").append(toIndentedString(vision)).append("\n");
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
/*
2+
* vod20250101
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.vod20250101.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.vod20250101.model.VideoForGetExecutionOutput;
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+
* ConvertVideoMattingForGetExecutionOutput
29+
*/
30+
31+
32+
33+
public class ConvertVideoMattingForGetExecutionOutput {
34+
@SerializedName("Duration")
35+
private Double duration = null;
36+
37+
@SerializedName("Model")
38+
private String model = null;
39+
40+
@SerializedName("Video")
41+
private VideoForGetExecutionOutput video = null;
42+
43+
public ConvertVideoMattingForGetExecutionOutput duration(Double duration) {
44+
this.duration = duration;
45+
return this;
46+
}
47+
48+
/**
49+
* Get duration
50+
* @return duration
51+
**/
52+
@Schema(description = "")
53+
public Double getDuration() {
54+
return duration;
55+
}
56+
57+
public void setDuration(Double duration) {
58+
this.duration = duration;
59+
}
60+
61+
public ConvertVideoMattingForGetExecutionOutput model(String model) {
62+
this.model = model;
63+
return this;
64+
}
65+
66+
/**
67+
* Get model
68+
* @return model
69+
**/
70+
@Schema(description = "")
71+
public String getModel() {
72+
return model;
73+
}
74+
75+
public void setModel(String model) {
76+
this.model = model;
77+
}
78+
79+
public ConvertVideoMattingForGetExecutionOutput video(VideoForGetExecutionOutput video) {
80+
this.video = video;
81+
return this;
82+
}
83+
84+
/**
85+
* Get video
86+
* @return video
87+
**/
88+
@Valid
89+
@Schema(description = "")
90+
public VideoForGetExecutionOutput getVideo() {
91+
return video;
92+
}
93+
94+
public void setVideo(VideoForGetExecutionOutput video) {
95+
this.video = video;
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+
ConvertVideoMattingForGetExecutionOutput convertVideoMattingForGetExecutionOutput = (ConvertVideoMattingForGetExecutionOutput) o;
108+
return Objects.equals(this.duration, convertVideoMattingForGetExecutionOutput.duration) &&
109+
Objects.equals(this.model, convertVideoMattingForGetExecutionOutput.model) &&
110+
Objects.equals(this.video, convertVideoMattingForGetExecutionOutput.video);
111+
}
112+
113+
@Override
114+
public int hashCode() {
115+
return Objects.hash(duration, model, video);
116+
}
117+
118+
119+
@Override
120+
public String toString() {
121+
StringBuilder sb = new StringBuilder();
122+
sb.append("class ConvertVideoMattingForGetExecutionOutput {\n");
123+
124+
sb.append(" duration: ").append(toIndentedString(duration)).append("\n");
125+
sb.append(" model: ").append(toIndentedString(model)).append("\n");
126+
sb.append(" video: ").append(toIndentedString(video)).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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
/*
2+
* vod20250101
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.vod20250101.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+
* ConvertVideoOptionForGetExecutionOutput
28+
*/
29+
30+
31+
32+
public class ConvertVideoOptionForGetExecutionOutput {
33+
@SerializedName("Format")
34+
private String format = null;
35+
36+
public ConvertVideoOptionForGetExecutionOutput format(String format) {
37+
this.format = format;
38+
return this;
39+
}
40+
41+
/**
42+
* Get format
43+
* @return format
44+
**/
45+
@Schema(description = "")
46+
public String getFormat() {
47+
return format;
48+
}
49+
50+
public void setFormat(String format) {
51+
this.format = format;
52+
}
53+
54+
55+
@Override
56+
public boolean equals(java.lang.Object o) {
57+
if (this == o) {
58+
return true;
59+
}
60+
if (o == null || getClass() != o.getClass()) {
61+
return false;
62+
}
63+
ConvertVideoOptionForGetExecutionOutput convertVideoOptionForGetExecutionOutput = (ConvertVideoOptionForGetExecutionOutput) o;
64+
return Objects.equals(this.format, convertVideoOptionForGetExecutionOutput.format);
65+
}
66+
67+
@Override
68+
public int hashCode() {
69+
return Objects.hash(format);
70+
}
71+
72+
73+
@Override
74+
public String toString() {
75+
StringBuilder sb = new StringBuilder();
76+
sb.append("class ConvertVideoOptionForGetExecutionOutput {\n");
77+
78+
sb.append(" format: ").append(toIndentedString(format)).append("\n");
79+
sb.append("}");
80+
return sb.toString();
81+
}
82+
83+
/**
84+
* Convert the given object to string with each line indented by 4 spaces
85+
* (except the first line).
86+
*/
87+
private String toIndentedString(java.lang.Object o) {
88+
if (o == null) {
89+
return "null";
90+
}
91+
return o.toString().replace("\n", "\n ");
92+
}
93+
94+
}

0 commit comments

Comments
 (0)