Skip to content

Commit 0b470aa

Browse files
author
BitsAdmin
committed
Merge branch 'bio-Java-2021-03-04-online-955-2025_02_05_10_49_38' into 'integration_2025-02-06_702322982146'
feat: [development task] bio-955-Java (999193) See merge request iaasng/volcengine-java-sdk!372
2 parents 1709bb2 + 9e0fb92 commit 0b470aa

File tree

151 files changed

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

151 files changed

+29637
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,5 +266,6 @@
266266
<module>volcengine-java-sdk-httpdns</module>
267267
<module>volcengine-java-sdk-cloudtrail20180101</module>
268268
<module>volcengine-java-sdk-seccenter</module>
269+
<module>volcengine-java-sdk-bio</module>
269270
</modules>
270271
</project>

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

volcengine-java-sdk-bio/src/main/java/com/volcengine/bio/BioApi.java

Lines changed: 6356 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
/*
2+
* bio
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.bio.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+
* AttachWorkspaceExtraBucketRequest
28+
*/
29+
30+
31+
32+
public class AttachWorkspaceExtraBucketRequest {
33+
@SerializedName("Bucket")
34+
private String bucket = null;
35+
36+
@SerializedName("ID")
37+
private String ID = null;
38+
39+
/**
40+
* Gets or Sets type
41+
*/
42+
@JsonAdapter(TypeEnum.Adapter.class)
43+
public enum TypeEnum {
44+
@SerializedName("PublicCloud")
45+
PUBLICCLOUD("PublicCloud");
46+
47+
private String value;
48+
49+
TypeEnum(String value) {
50+
this.value = value;
51+
}
52+
public String getValue() {
53+
return value;
54+
}
55+
56+
@Override
57+
public String toString() {
58+
return String.valueOf(value);
59+
}
60+
public static TypeEnum fromValue(String input) {
61+
for (TypeEnum b : TypeEnum.values()) {
62+
if (b.value.equals(input)) {
63+
return b;
64+
}
65+
}
66+
return null;
67+
}
68+
public static class Adapter extends TypeAdapter<TypeEnum> {
69+
@Override
70+
public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException {
71+
jsonWriter.value(String.valueOf(enumeration.getValue()));
72+
}
73+
74+
@Override
75+
public TypeEnum read(final JsonReader jsonReader) throws IOException {
76+
Object value = jsonReader.nextString();
77+
return TypeEnum.fromValue((String)(value));
78+
}
79+
}
80+
} @SerializedName("Type")
81+
private TypeEnum type = null;
82+
83+
public AttachWorkspaceExtraBucketRequest bucket(String bucket) {
84+
this.bucket = bucket;
85+
return this;
86+
}
87+
88+
/**
89+
* Get bucket
90+
* @return bucket
91+
**/
92+
@NotNull
93+
@Schema(required = true, description = "")
94+
public String getBucket() {
95+
return bucket;
96+
}
97+
98+
public void setBucket(String bucket) {
99+
this.bucket = bucket;
100+
}
101+
102+
public AttachWorkspaceExtraBucketRequest ID(String ID) {
103+
this.ID = ID;
104+
return this;
105+
}
106+
107+
/**
108+
* Get ID
109+
* @return ID
110+
**/
111+
@NotNull
112+
@Schema(required = true, description = "")
113+
public String getID() {
114+
return ID;
115+
}
116+
117+
public void setID(String ID) {
118+
this.ID = ID;
119+
}
120+
121+
public AttachWorkspaceExtraBucketRequest type(TypeEnum type) {
122+
this.type = type;
123+
return this;
124+
}
125+
126+
/**
127+
* Get type
128+
* @return type
129+
**/
130+
@NotNull
131+
@Schema(required = true, description = "")
132+
public TypeEnum getType() {
133+
return type;
134+
}
135+
136+
public void setType(TypeEnum type) {
137+
this.type = type;
138+
}
139+
140+
141+
@Override
142+
public boolean equals(java.lang.Object o) {
143+
if (this == o) {
144+
return true;
145+
}
146+
if (o == null || getClass() != o.getClass()) {
147+
return false;
148+
}
149+
AttachWorkspaceExtraBucketRequest attachWorkspaceExtraBucketRequest = (AttachWorkspaceExtraBucketRequest) o;
150+
return Objects.equals(this.bucket, attachWorkspaceExtraBucketRequest.bucket) &&
151+
Objects.equals(this.ID, attachWorkspaceExtraBucketRequest.ID) &&
152+
Objects.equals(this.type, attachWorkspaceExtraBucketRequest.type);
153+
}
154+
155+
@Override
156+
public int hashCode() {
157+
return Objects.hash(bucket, ID, type);
158+
}
159+
160+
161+
@Override
162+
public String toString() {
163+
StringBuilder sb = new StringBuilder();
164+
sb.append("class AttachWorkspaceExtraBucketRequest {\n");
165+
166+
sb.append(" bucket: ").append(toIndentedString(bucket)).append("\n");
167+
sb.append(" ID: ").append(toIndentedString(ID)).append("\n");
168+
sb.append(" type: ").append(toIndentedString(type)).append("\n");
169+
sb.append("}");
170+
return sb.toString();
171+
}
172+
173+
/**
174+
* Convert the given object to string with each line indented by 4 spaces
175+
* (except the first line).
176+
*/
177+
private String toIndentedString(java.lang.Object o) {
178+
if (o == null) {
179+
return "null";
180+
}
181+
return o.toString().replace("\n", "\n ");
182+
}
183+
184+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/*
2+
* bio
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.bio.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import javax.validation.constraints.*;
18+
import javax.validation.Valid;
19+
/**
20+
* AttachWorkspaceExtraBucketResponse
21+
*/
22+
23+
24+
25+
public class AttachWorkspaceExtraBucketResponse extends com.volcengine.model.AbstractResponse {
26+
27+
@Override
28+
public boolean equals(java.lang.Object o) {
29+
if (this == o) {
30+
return true;
31+
}
32+
if (o == null || getClass() != o.getClass()) {
33+
return false;
34+
}
35+
return true;
36+
}
37+
38+
@Override
39+
public int hashCode() {
40+
return Objects.hash();
41+
}
42+
43+
44+
@Override
45+
public String toString() {
46+
StringBuilder sb = new StringBuilder();
47+
sb.append("class AttachWorkspaceExtraBucketResponse {\n");
48+
49+
sb.append("}");
50+
return sb.toString();
51+
}
52+
53+
/**
54+
* Convert the given object to string with each line indented by 4 spaces
55+
* (except the first line).
56+
*/
57+
private String toIndentedString(java.lang.Object o) {
58+
if (o == null) {
59+
return "null";
60+
}
61+
return o.toString().replace("\n", "\n ");
62+
}
63+
64+
}

0 commit comments

Comments
 (0)