Skip to content

Commit 19e0c6d

Browse files
author
BitsAdmin
committed
Merge 'aiotvideo-Java-2021-01-01-online-1973-2025_12_24_14_40_50' into 'integration_2025-12-25_1097408644354'
feat: [development task] aiotvideo-1973-Java (1971861) See merge request: !816
2 parents 057d6a1 + c0638e0 commit 19e0c6d

8 files changed

+610
-331
lines changed

volcengine-java-sdk-aiotvideo/src/main/java/com/volcengine/aiotvideo/AiotvideoApi.java

Lines changed: 82 additions & 82 deletions
Large diffs are not rendered by default.
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
/*
2+
* aiotvideo
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.aiotvideo.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+
* EnableTimeForUpdateScreenshotTemplateInput
28+
*/
29+
30+
31+
32+
public class EnableTimeForUpdateScreenshotTemplateInput {
33+
@SerializedName("Enable")
34+
private Boolean enable = null;
35+
36+
@SerializedName("EnableFrom")
37+
private String enableFrom = null;
38+
39+
@SerializedName("EnableTo")
40+
private String enableTo = null;
41+
42+
@SerializedName("WeekDay")
43+
private Integer weekDay = null;
44+
45+
public EnableTimeForUpdateScreenshotTemplateInput enable(Boolean enable) {
46+
this.enable = enable;
47+
return this;
48+
}
49+
50+
/**
51+
* Get enable
52+
* @return enable
53+
**/
54+
@Schema(description = "")
55+
public Boolean isEnable() {
56+
return enable;
57+
}
58+
59+
public void setEnable(Boolean enable) {
60+
this.enable = enable;
61+
}
62+
63+
public EnableTimeForUpdateScreenshotTemplateInput enableFrom(String enableFrom) {
64+
this.enableFrom = enableFrom;
65+
return this;
66+
}
67+
68+
/**
69+
* Get enableFrom
70+
* @return enableFrom
71+
**/
72+
@Schema(description = "")
73+
public String getEnableFrom() {
74+
return enableFrom;
75+
}
76+
77+
public void setEnableFrom(String enableFrom) {
78+
this.enableFrom = enableFrom;
79+
}
80+
81+
public EnableTimeForUpdateScreenshotTemplateInput enableTo(String enableTo) {
82+
this.enableTo = enableTo;
83+
return this;
84+
}
85+
86+
/**
87+
* Get enableTo
88+
* @return enableTo
89+
**/
90+
@Schema(description = "")
91+
public String getEnableTo() {
92+
return enableTo;
93+
}
94+
95+
public void setEnableTo(String enableTo) {
96+
this.enableTo = enableTo;
97+
}
98+
99+
public EnableTimeForUpdateScreenshotTemplateInput weekDay(Integer weekDay) {
100+
this.weekDay = weekDay;
101+
return this;
102+
}
103+
104+
/**
105+
* Get weekDay
106+
* @return weekDay
107+
**/
108+
@Schema(description = "")
109+
public Integer getWeekDay() {
110+
return weekDay;
111+
}
112+
113+
public void setWeekDay(Integer weekDay) {
114+
this.weekDay = weekDay;
115+
}
116+
117+
118+
@Override
119+
public boolean equals(java.lang.Object o) {
120+
if (this == o) {
121+
return true;
122+
}
123+
if (o == null || getClass() != o.getClass()) {
124+
return false;
125+
}
126+
EnableTimeForUpdateScreenshotTemplateInput enableTimeForUpdateScreenshotTemplateInput = (EnableTimeForUpdateScreenshotTemplateInput) o;
127+
return Objects.equals(this.enable, enableTimeForUpdateScreenshotTemplateInput.enable) &&
128+
Objects.equals(this.enableFrom, enableTimeForUpdateScreenshotTemplateInput.enableFrom) &&
129+
Objects.equals(this.enableTo, enableTimeForUpdateScreenshotTemplateInput.enableTo) &&
130+
Objects.equals(this.weekDay, enableTimeForUpdateScreenshotTemplateInput.weekDay);
131+
}
132+
133+
@Override
134+
public int hashCode() {
135+
return Objects.hash(enable, enableFrom, enableTo, weekDay);
136+
}
137+
138+
139+
@Override
140+
public String toString() {
141+
StringBuilder sb = new StringBuilder();
142+
sb.append("class EnableTimeForUpdateScreenshotTemplateInput {\n");
143+
144+
sb.append(" enable: ").append(toIndentedString(enable)).append("\n");
145+
sb.append(" enableFrom: ").append(toIndentedString(enableFrom)).append("\n");
146+
sb.append(" enableTo: ").append(toIndentedString(enableTo)).append("\n");
147+
sb.append(" weekDay: ").append(toIndentedString(weekDay)).append("\n");
148+
sb.append("}");
149+
return sb.toString();
150+
}
151+
152+
/**
153+
* Convert the given object to string with each line indented by 4 spaces
154+
* (except the first line).
155+
*/
156+
private String toIndentedString(java.lang.Object o) {
157+
if (o == null) {
158+
return "null";
159+
}
160+
return o.toString().replace("\n", "\n ");
161+
}
162+
163+
}

volcengine-java-sdk-aiotvideo/src/main/java/com/volcengine/aiotvideo/model/ScreenshotForCreateScreenshotTemplateInput.java

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import com.google.gson.stream.JsonWriter;
2222
import com.volcengine.aiotvideo.model.EnableTimeForCreateScreenshotTemplateInput;
2323
import com.volcengine.aiotvideo.model.TTLForCreateScreenshotTemplateInput;
24-
import com.volcengine.aiotvideo.model.TemplateTTLConfigForCreateScreenshotTemplateInput;
2524
import io.swagger.v3.oas.annotations.media.Schema;
2625
import java.io.IOException;
2726
import java.util.ArrayList;
@@ -47,9 +46,6 @@ public class ScreenshotForCreateScreenshotTemplateInput {
4746
@SerializedName("TTL")
4847
private TTLForCreateScreenshotTemplateInput TTL = null;
4948

50-
@SerializedName("TemplateTTLConfig")
51-
private TemplateTTLConfigForCreateScreenshotTemplateInput templateTTLConfig = null;
52-
5349
@SerializedName("Type")
5450
private List<String> type = null;
5551

@@ -135,25 +131,6 @@ public void setTTL(TTLForCreateScreenshotTemplateInput TTL) {
135131
this.TTL = TTL;
136132
}
137133

138-
public ScreenshotForCreateScreenshotTemplateInput templateTTLConfig(TemplateTTLConfigForCreateScreenshotTemplateInput templateTTLConfig) {
139-
this.templateTTLConfig = templateTTLConfig;
140-
return this;
141-
}
142-
143-
/**
144-
* Get templateTTLConfig
145-
* @return templateTTLConfig
146-
**/
147-
@Valid
148-
@Schema(description = "")
149-
public TemplateTTLConfigForCreateScreenshotTemplateInput getTemplateTTLConfig() {
150-
return templateTTLConfig;
151-
}
152-
153-
public void setTemplateTTLConfig(TemplateTTLConfigForCreateScreenshotTemplateInput templateTTLConfig) {
154-
this.templateTTLConfig = templateTTLConfig;
155-
}
156-
157134
public ScreenshotForCreateScreenshotTemplateInput type(List<String> type) {
158135
this.type = type;
159136
return this;
@@ -194,13 +171,12 @@ public boolean equals(java.lang.Object o) {
194171
Objects.equals(this.scheduleSwitch, screenshotForCreateScreenshotTemplateInput.scheduleSwitch) &&
195172
Objects.equals(this.screenshotPeriod, screenshotForCreateScreenshotTemplateInput.screenshotPeriod) &&
196173
Objects.equals(this.TTL, screenshotForCreateScreenshotTemplateInput.TTL) &&
197-
Objects.equals(this.templateTTLConfig, screenshotForCreateScreenshotTemplateInput.templateTTLConfig) &&
198174
Objects.equals(this.type, screenshotForCreateScreenshotTemplateInput.type);
199175
}
200176

201177
@Override
202178
public int hashCode() {
203-
return Objects.hash(enableTimes, scheduleSwitch, screenshotPeriod, TTL, templateTTLConfig, type);
179+
return Objects.hash(enableTimes, scheduleSwitch, screenshotPeriod, TTL, type);
204180
}
205181

206182

@@ -213,7 +189,6 @@ public String toString() {
213189
sb.append(" scheduleSwitch: ").append(toIndentedString(scheduleSwitch)).append("\n");
214190
sb.append(" screenshotPeriod: ").append(toIndentedString(screenshotPeriod)).append("\n");
215191
sb.append(" TTL: ").append(toIndentedString(TTL)).append("\n");
216-
sb.append(" templateTTLConfig: ").append(toIndentedString(templateTTLConfig)).append("\n");
217192
sb.append(" type: ").append(toIndentedString(type)).append("\n");
218193
sb.append("}");
219194
return sb.toString();

0 commit comments

Comments
 (0)