Skip to content

Commit ea64cd0

Browse files
ci_volc_sdk_genbytestarter
authored andcommitted
feat: auto generate for ml_platform-Java-2024-07-01-online-1114-2025_04_21_16_39_19
1 parent 4358bc6 commit ea64cd0

File tree

485 files changed

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

485 files changed

+95337
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,5 +276,6 @@
276276
<module>volcengine-java-sdk-edx</module>
277277
<module>volcengine-java-sdk-wafruntime</module>
278278
<module>volcengine-java-sdk-volccontentplatform</module>
279+
<module>volcengine-java-sdk-mlplatform20240701</module>
279280
</modules>
280281
</project>

volcengine-java-sdk-bom/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,12 @@
421421
<optional>false</optional>
422422
<version>${project.version}</version>
423423
</dependency>
424+
<dependency>
425+
<groupId>com.volcengine</groupId>
426+
<artifactId>volcengine-java-sdk-mlplatform20240701</artifactId>
427+
<optional>false</optional>
428+
<version>${project.version}</version>
429+
</dependency>
424430
</dependencies>
425431
</dependencyManagement>
426432
</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.2.5</version>
7+
<relativePath>../pom.xml</relativePath>
8+
</parent>
9+
<modelVersion>4.0.0</modelVersion>
10+
<artifactId>volcengine-java-sdk-mlplatform20240701</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/mlplatform20240701/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/mlplatform20240701/examples/**</exclude>
35+
</excludes>
36+
</configuration>
37+
</plugin>
38+
</plugins>
39+
</build>
40+
</project>

volcengine-java-sdk-mlplatform20240701/src/main/java/com/volcengine/mlplatform20240701/MlPlatform20240701Api.java

Lines changed: 6734 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
/*
2+
* ml_platform20240701
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.mlplatform20240701.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.mlplatform20240701.model.UpstreamConfigForCreateDeploymentInput;
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+
* ApigConfigForCreateDeploymentInput
29+
*/
30+
31+
32+
33+
public class ApigConfigForCreateDeploymentInput {
34+
@SerializedName("InstanceID")
35+
private String instanceID = null;
36+
37+
@SerializedName("UpstreamConfig")
38+
private UpstreamConfigForCreateDeploymentInput upstreamConfig = null;
39+
40+
public ApigConfigForCreateDeploymentInput instanceID(String instanceID) {
41+
this.instanceID = instanceID;
42+
return this;
43+
}
44+
45+
/**
46+
* Get instanceID
47+
* @return instanceID
48+
**/
49+
@Schema(description = "")
50+
public String getInstanceID() {
51+
return instanceID;
52+
}
53+
54+
public void setInstanceID(String instanceID) {
55+
this.instanceID = instanceID;
56+
}
57+
58+
public ApigConfigForCreateDeploymentInput upstreamConfig(UpstreamConfigForCreateDeploymentInput upstreamConfig) {
59+
this.upstreamConfig = upstreamConfig;
60+
return this;
61+
}
62+
63+
/**
64+
* Get upstreamConfig
65+
* @return upstreamConfig
66+
**/
67+
@Valid
68+
@Schema(description = "")
69+
public UpstreamConfigForCreateDeploymentInput getUpstreamConfig() {
70+
return upstreamConfig;
71+
}
72+
73+
public void setUpstreamConfig(UpstreamConfigForCreateDeploymentInput upstreamConfig) {
74+
this.upstreamConfig = upstreamConfig;
75+
}
76+
77+
78+
@Override
79+
public boolean equals(java.lang.Object o) {
80+
if (this == o) {
81+
return true;
82+
}
83+
if (o == null || getClass() != o.getClass()) {
84+
return false;
85+
}
86+
ApigConfigForCreateDeploymentInput apigConfigForCreateDeploymentInput = (ApigConfigForCreateDeploymentInput) o;
87+
return Objects.equals(this.instanceID, apigConfigForCreateDeploymentInput.instanceID) &&
88+
Objects.equals(this.upstreamConfig, apigConfigForCreateDeploymentInput.upstreamConfig);
89+
}
90+
91+
@Override
92+
public int hashCode() {
93+
return Objects.hash(instanceID, upstreamConfig);
94+
}
95+
96+
97+
@Override
98+
public String toString() {
99+
StringBuilder sb = new StringBuilder();
100+
sb.append("class ApigConfigForCreateDeploymentInput {\n");
101+
102+
sb.append(" instanceID: ").append(toIndentedString(instanceID)).append("\n");
103+
sb.append(" upstreamConfig: ").append(toIndentedString(upstreamConfig)).append("\n");
104+
sb.append("}");
105+
return sb.toString();
106+
}
107+
108+
/**
109+
* Convert the given object to string with each line indented by 4 spaces
110+
* (except the first line).
111+
*/
112+
private String toIndentedString(java.lang.Object o) {
113+
if (o == null) {
114+
return "null";
115+
}
116+
return o.toString().replace("\n", "\n ");
117+
}
118+
119+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
/*
2+
* ml_platform20240701
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.mlplatform20240701.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.mlplatform20240701.model.UpstreamConfigForCreateServiceInput;
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+
* ApigConfigForCreateServiceInput
29+
*/
30+
31+
32+
33+
public class ApigConfigForCreateServiceInput {
34+
@SerializedName("InstanceID")
35+
private String instanceID = null;
36+
37+
@SerializedName("UpstreamConfig")
38+
private UpstreamConfigForCreateServiceInput upstreamConfig = null;
39+
40+
public ApigConfigForCreateServiceInput instanceID(String instanceID) {
41+
this.instanceID = instanceID;
42+
return this;
43+
}
44+
45+
/**
46+
* Get instanceID
47+
* @return instanceID
48+
**/
49+
@Schema(description = "")
50+
public String getInstanceID() {
51+
return instanceID;
52+
}
53+
54+
public void setInstanceID(String instanceID) {
55+
this.instanceID = instanceID;
56+
}
57+
58+
public ApigConfigForCreateServiceInput upstreamConfig(UpstreamConfigForCreateServiceInput upstreamConfig) {
59+
this.upstreamConfig = upstreamConfig;
60+
return this;
61+
}
62+
63+
/**
64+
* Get upstreamConfig
65+
* @return upstreamConfig
66+
**/
67+
@Valid
68+
@Schema(description = "")
69+
public UpstreamConfigForCreateServiceInput getUpstreamConfig() {
70+
return upstreamConfig;
71+
}
72+
73+
public void setUpstreamConfig(UpstreamConfigForCreateServiceInput upstreamConfig) {
74+
this.upstreamConfig = upstreamConfig;
75+
}
76+
77+
78+
@Override
79+
public boolean equals(java.lang.Object o) {
80+
if (this == o) {
81+
return true;
82+
}
83+
if (o == null || getClass() != o.getClass()) {
84+
return false;
85+
}
86+
ApigConfigForCreateServiceInput apigConfigForCreateServiceInput = (ApigConfigForCreateServiceInput) o;
87+
return Objects.equals(this.instanceID, apigConfigForCreateServiceInput.instanceID) &&
88+
Objects.equals(this.upstreamConfig, apigConfigForCreateServiceInput.upstreamConfig);
89+
}
90+
91+
@Override
92+
public int hashCode() {
93+
return Objects.hash(instanceID, upstreamConfig);
94+
}
95+
96+
97+
@Override
98+
public String toString() {
99+
StringBuilder sb = new StringBuilder();
100+
sb.append("class ApigConfigForCreateServiceInput {\n");
101+
102+
sb.append(" instanceID: ").append(toIndentedString(instanceID)).append("\n");
103+
sb.append(" upstreamConfig: ").append(toIndentedString(upstreamConfig)).append("\n");
104+
sb.append("}");
105+
return sb.toString();
106+
}
107+
108+
/**
109+
* Convert the given object to string with each line indented by 4 spaces
110+
* (except the first line).
111+
*/
112+
private String toIndentedString(java.lang.Object o) {
113+
if (o == null) {
114+
return "null";
115+
}
116+
return o.toString().replace("\n", "\n ");
117+
}
118+
119+
}

0 commit comments

Comments
 (0)