Skip to content

Commit d8ce268

Browse files
ci_volc_sdk_genvolc-sdk-team
authored andcommitted
feat: auto generate for mcdn-Java-2022-03-01-online-863-2024_12_20_14_46_27
1 parent 5aa3fe8 commit d8ce268

File tree

152 files changed

+27347
-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.

152 files changed

+27347
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,5 +261,6 @@
261261
<module>volcengine-java-sdk-advdefence20230308</module>
262262
<module>volcengine-java-sdk-cv20240606</module>
263263
<module>volcengine-java-sdk-dns</module>
264+
<module>volcengine-java-sdk-mcdn</module>
264265
</modules>
265266
</project>

volcengine-java-sdk-bom/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,12 @@
331331
<optional>false</optional>
332332
<version>${project.version}</version>
333333
</dependency>
334+
<dependency>
335+
<groupId>com.volcengine</groupId>
336+
<artifactId>volcengine-java-sdk-mcdn</artifactId>
337+
<optional>false</optional>
338+
<version>${project.version}</version>
339+
</dependency>
334340
</dependencies>
335341
</dependencyManagement>
336342
</project>

volcengine-java-sdk-mcdn/pom.xml

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.143</version>
7+
<relativePath>../pom.xml</relativePath>
8+
</parent>
9+
<modelVersion>4.0.0</modelVersion>
10+
<artifactId>volcengine-java-sdk-mcdn</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/mcdn/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/mcdn/examples/**</exclude>
35+
</excludes>
36+
</configuration>
37+
</plugin>
38+
</plugins>
39+
</build>
40+
</project>

volcengine-java-sdk-mcdn/src/main/java/com/volcengine/mcdn/McdnApi.java

Lines changed: 3206 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 277 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,277 @@
1+
/*
2+
* mcdn
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.mcdn.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.mcdn.model.WeightFailoverInfoForDescribeDnsScheduleActiveWeightsOutput;
23+
import com.volcengine.mcdn.model.WeightInfoItemForDescribeDnsScheduleActiveWeightsOutput;
24+
import io.swagger.v3.oas.annotations.media.Schema;
25+
import java.io.IOException;
26+
import java.util.ArrayList;
27+
import java.util.List;
28+
import javax.validation.constraints.*;
29+
import javax.validation.Valid;
30+
/**
31+
* ActiveWeightForDescribeDnsScheduleActiveWeightsOutput
32+
*/
33+
34+
35+
36+
public class ActiveWeightForDescribeDnsScheduleActiveWeightsOutput {
37+
@SerializedName("Country")
38+
private String country = null;
39+
40+
@SerializedName("IsFailover")
41+
private Boolean isFailover = null;
42+
43+
@SerializedName("Isp")
44+
private String isp = null;
45+
46+
@SerializedName("Province")
47+
private String province = null;
48+
49+
@SerializedName("RelatedStrategyId")
50+
private String relatedStrategyId = null;
51+
52+
@SerializedName("Strategy")
53+
private String strategy = null;
54+
55+
@SerializedName("WeightFailoverInfos")
56+
private List<WeightFailoverInfoForDescribeDnsScheduleActiveWeightsOutput> weightFailoverInfos = null;
57+
58+
@SerializedName("WeightInfoItems")
59+
private List<WeightInfoItemForDescribeDnsScheduleActiveWeightsOutput> weightInfoItems = null;
60+
61+
public ActiveWeightForDescribeDnsScheduleActiveWeightsOutput country(String country) {
62+
this.country = country;
63+
return this;
64+
}
65+
66+
/**
67+
* Get country
68+
* @return country
69+
**/
70+
@Schema(description = "")
71+
public String getCountry() {
72+
return country;
73+
}
74+
75+
public void setCountry(String country) {
76+
this.country = country;
77+
}
78+
79+
public ActiveWeightForDescribeDnsScheduleActiveWeightsOutput isFailover(Boolean isFailover) {
80+
this.isFailover = isFailover;
81+
return this;
82+
}
83+
84+
/**
85+
* Get isFailover
86+
* @return isFailover
87+
**/
88+
@Schema(description = "")
89+
public Boolean isIsFailover() {
90+
return isFailover;
91+
}
92+
93+
public void setIsFailover(Boolean isFailover) {
94+
this.isFailover = isFailover;
95+
}
96+
97+
public ActiveWeightForDescribeDnsScheduleActiveWeightsOutput isp(String isp) {
98+
this.isp = isp;
99+
return this;
100+
}
101+
102+
/**
103+
* Get isp
104+
* @return isp
105+
**/
106+
@Schema(description = "")
107+
public String getIsp() {
108+
return isp;
109+
}
110+
111+
public void setIsp(String isp) {
112+
this.isp = isp;
113+
}
114+
115+
public ActiveWeightForDescribeDnsScheduleActiveWeightsOutput province(String province) {
116+
this.province = province;
117+
return this;
118+
}
119+
120+
/**
121+
* Get province
122+
* @return province
123+
**/
124+
@Schema(description = "")
125+
public String getProvince() {
126+
return province;
127+
}
128+
129+
public void setProvince(String province) {
130+
this.province = province;
131+
}
132+
133+
public ActiveWeightForDescribeDnsScheduleActiveWeightsOutput relatedStrategyId(String relatedStrategyId) {
134+
this.relatedStrategyId = relatedStrategyId;
135+
return this;
136+
}
137+
138+
/**
139+
* Get relatedStrategyId
140+
* @return relatedStrategyId
141+
**/
142+
@Schema(description = "")
143+
public String getRelatedStrategyId() {
144+
return relatedStrategyId;
145+
}
146+
147+
public void setRelatedStrategyId(String relatedStrategyId) {
148+
this.relatedStrategyId = relatedStrategyId;
149+
}
150+
151+
public ActiveWeightForDescribeDnsScheduleActiveWeightsOutput strategy(String strategy) {
152+
this.strategy = strategy;
153+
return this;
154+
}
155+
156+
/**
157+
* Get strategy
158+
* @return strategy
159+
**/
160+
@Schema(description = "")
161+
public String getStrategy() {
162+
return strategy;
163+
}
164+
165+
public void setStrategy(String strategy) {
166+
this.strategy = strategy;
167+
}
168+
169+
public ActiveWeightForDescribeDnsScheduleActiveWeightsOutput weightFailoverInfos(List<WeightFailoverInfoForDescribeDnsScheduleActiveWeightsOutput> weightFailoverInfos) {
170+
this.weightFailoverInfos = weightFailoverInfos;
171+
return this;
172+
}
173+
174+
public ActiveWeightForDescribeDnsScheduleActiveWeightsOutput addWeightFailoverInfosItem(WeightFailoverInfoForDescribeDnsScheduleActiveWeightsOutput weightFailoverInfosItem) {
175+
if (this.weightFailoverInfos == null) {
176+
this.weightFailoverInfos = new ArrayList<WeightFailoverInfoForDescribeDnsScheduleActiveWeightsOutput>();
177+
}
178+
this.weightFailoverInfos.add(weightFailoverInfosItem);
179+
return this;
180+
}
181+
182+
/**
183+
* Get weightFailoverInfos
184+
* @return weightFailoverInfos
185+
**/
186+
@Valid
187+
@Schema(description = "")
188+
public List<WeightFailoverInfoForDescribeDnsScheduleActiveWeightsOutput> getWeightFailoverInfos() {
189+
return weightFailoverInfos;
190+
}
191+
192+
public void setWeightFailoverInfos(List<WeightFailoverInfoForDescribeDnsScheduleActiveWeightsOutput> weightFailoverInfos) {
193+
this.weightFailoverInfos = weightFailoverInfos;
194+
}
195+
196+
public ActiveWeightForDescribeDnsScheduleActiveWeightsOutput weightInfoItems(List<WeightInfoItemForDescribeDnsScheduleActiveWeightsOutput> weightInfoItems) {
197+
this.weightInfoItems = weightInfoItems;
198+
return this;
199+
}
200+
201+
public ActiveWeightForDescribeDnsScheduleActiveWeightsOutput addWeightInfoItemsItem(WeightInfoItemForDescribeDnsScheduleActiveWeightsOutput weightInfoItemsItem) {
202+
if (this.weightInfoItems == null) {
203+
this.weightInfoItems = new ArrayList<WeightInfoItemForDescribeDnsScheduleActiveWeightsOutput>();
204+
}
205+
this.weightInfoItems.add(weightInfoItemsItem);
206+
return this;
207+
}
208+
209+
/**
210+
* Get weightInfoItems
211+
* @return weightInfoItems
212+
**/
213+
@Valid
214+
@Schema(description = "")
215+
public List<WeightInfoItemForDescribeDnsScheduleActiveWeightsOutput> getWeightInfoItems() {
216+
return weightInfoItems;
217+
}
218+
219+
public void setWeightInfoItems(List<WeightInfoItemForDescribeDnsScheduleActiveWeightsOutput> weightInfoItems) {
220+
this.weightInfoItems = weightInfoItems;
221+
}
222+
223+
224+
@Override
225+
public boolean equals(java.lang.Object o) {
226+
if (this == o) {
227+
return true;
228+
}
229+
if (o == null || getClass() != o.getClass()) {
230+
return false;
231+
}
232+
ActiveWeightForDescribeDnsScheduleActiveWeightsOutput activeWeightForDescribeDnsScheduleActiveWeightsOutput = (ActiveWeightForDescribeDnsScheduleActiveWeightsOutput) o;
233+
return Objects.equals(this.country, activeWeightForDescribeDnsScheduleActiveWeightsOutput.country) &&
234+
Objects.equals(this.isFailover, activeWeightForDescribeDnsScheduleActiveWeightsOutput.isFailover) &&
235+
Objects.equals(this.isp, activeWeightForDescribeDnsScheduleActiveWeightsOutput.isp) &&
236+
Objects.equals(this.province, activeWeightForDescribeDnsScheduleActiveWeightsOutput.province) &&
237+
Objects.equals(this.relatedStrategyId, activeWeightForDescribeDnsScheduleActiveWeightsOutput.relatedStrategyId) &&
238+
Objects.equals(this.strategy, activeWeightForDescribeDnsScheduleActiveWeightsOutput.strategy) &&
239+
Objects.equals(this.weightFailoverInfos, activeWeightForDescribeDnsScheduleActiveWeightsOutput.weightFailoverInfos) &&
240+
Objects.equals(this.weightInfoItems, activeWeightForDescribeDnsScheduleActiveWeightsOutput.weightInfoItems);
241+
}
242+
243+
@Override
244+
public int hashCode() {
245+
return Objects.hash(country, isFailover, isp, province, relatedStrategyId, strategy, weightFailoverInfos, weightInfoItems);
246+
}
247+
248+
249+
@Override
250+
public String toString() {
251+
StringBuilder sb = new StringBuilder();
252+
sb.append("class ActiveWeightForDescribeDnsScheduleActiveWeightsOutput {\n");
253+
254+
sb.append(" country: ").append(toIndentedString(country)).append("\n");
255+
sb.append(" isFailover: ").append(toIndentedString(isFailover)).append("\n");
256+
sb.append(" isp: ").append(toIndentedString(isp)).append("\n");
257+
sb.append(" province: ").append(toIndentedString(province)).append("\n");
258+
sb.append(" relatedStrategyId: ").append(toIndentedString(relatedStrategyId)).append("\n");
259+
sb.append(" strategy: ").append(toIndentedString(strategy)).append("\n");
260+
sb.append(" weightFailoverInfos: ").append(toIndentedString(weightFailoverInfos)).append("\n");
261+
sb.append(" weightInfoItems: ").append(toIndentedString(weightInfoItems)).append("\n");
262+
sb.append("}");
263+
return sb.toString();
264+
}
265+
266+
/**
267+
* Convert the given object to string with each line indented by 4 spaces
268+
* (except the first line).
269+
*/
270+
private String toIndentedString(java.lang.Object o) {
271+
if (o == null) {
272+
return "null";
273+
}
274+
return o.toString().replace("\n", "\n ");
275+
}
276+
277+
}

0 commit comments

Comments
 (0)