Skip to content

Commit 9c5e82e

Browse files
author
BitsAdmin
committed
Merge branch 'vedbm-Java-2022-01-01-online-1610-2025_09_19_15_59_57' into 'integration_2025-09-25_1060179278594'
feat: [development task] vedbm-1610-Java (1697074) See merge request iaasng/volcengine-java-sdk!674
2 parents fafe4e3 + 3506f8d commit 9c5e82e

File tree

63 files changed

+12266
-335
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+12266
-335
lines changed

volcengine-java-sdk-vedbm/src/main/java/com/volcengine/vedbm/VedbmApi.java

Lines changed: 2821 additions & 301 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
1+
/*
2+
* vedbm
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.vedbm.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+
* AuthorizedAllowListForDescribeInstanceAllowListsOutput
28+
*/
29+
30+
31+
32+
public class AuthorizedAllowListForDescribeInstanceAllowListsOutput {
33+
@SerializedName("AllowListDesc")
34+
private String allowListDesc = null;
35+
36+
@SerializedName("AllowListIPNum")
37+
private Integer allowListIPNum = null;
38+
39+
@SerializedName("AllowListId")
40+
private String allowListId = null;
41+
42+
@SerializedName("AllowListName")
43+
private String allowListName = null;
44+
45+
@SerializedName("AllowListType")
46+
private String allowListType = null;
47+
48+
@SerializedName("AssociatedInstanceNum")
49+
private Integer associatedInstanceNum = null;
50+
51+
@SerializedName("ProjectName")
52+
private String projectName = null;
53+
54+
public AuthorizedAllowListForDescribeInstanceAllowListsOutput allowListDesc(String allowListDesc) {
55+
this.allowListDesc = allowListDesc;
56+
return this;
57+
}
58+
59+
/**
60+
* Get allowListDesc
61+
* @return allowListDesc
62+
**/
63+
@Schema(description = "")
64+
public String getAllowListDesc() {
65+
return allowListDesc;
66+
}
67+
68+
public void setAllowListDesc(String allowListDesc) {
69+
this.allowListDesc = allowListDesc;
70+
}
71+
72+
public AuthorizedAllowListForDescribeInstanceAllowListsOutput allowListIPNum(Integer allowListIPNum) {
73+
this.allowListIPNum = allowListIPNum;
74+
return this;
75+
}
76+
77+
/**
78+
* Get allowListIPNum
79+
* @return allowListIPNum
80+
**/
81+
@Schema(description = "")
82+
public Integer getAllowListIPNum() {
83+
return allowListIPNum;
84+
}
85+
86+
public void setAllowListIPNum(Integer allowListIPNum) {
87+
this.allowListIPNum = allowListIPNum;
88+
}
89+
90+
public AuthorizedAllowListForDescribeInstanceAllowListsOutput allowListId(String allowListId) {
91+
this.allowListId = allowListId;
92+
return this;
93+
}
94+
95+
/**
96+
* Get allowListId
97+
* @return allowListId
98+
**/
99+
@Schema(description = "")
100+
public String getAllowListId() {
101+
return allowListId;
102+
}
103+
104+
public void setAllowListId(String allowListId) {
105+
this.allowListId = allowListId;
106+
}
107+
108+
public AuthorizedAllowListForDescribeInstanceAllowListsOutput allowListName(String allowListName) {
109+
this.allowListName = allowListName;
110+
return this;
111+
}
112+
113+
/**
114+
* Get allowListName
115+
* @return allowListName
116+
**/
117+
@Schema(description = "")
118+
public String getAllowListName() {
119+
return allowListName;
120+
}
121+
122+
public void setAllowListName(String allowListName) {
123+
this.allowListName = allowListName;
124+
}
125+
126+
public AuthorizedAllowListForDescribeInstanceAllowListsOutput allowListType(String allowListType) {
127+
this.allowListType = allowListType;
128+
return this;
129+
}
130+
131+
/**
132+
* Get allowListType
133+
* @return allowListType
134+
**/
135+
@Schema(description = "")
136+
public String getAllowListType() {
137+
return allowListType;
138+
}
139+
140+
public void setAllowListType(String allowListType) {
141+
this.allowListType = allowListType;
142+
}
143+
144+
public AuthorizedAllowListForDescribeInstanceAllowListsOutput associatedInstanceNum(Integer associatedInstanceNum) {
145+
this.associatedInstanceNum = associatedInstanceNum;
146+
return this;
147+
}
148+
149+
/**
150+
* Get associatedInstanceNum
151+
* @return associatedInstanceNum
152+
**/
153+
@Schema(description = "")
154+
public Integer getAssociatedInstanceNum() {
155+
return associatedInstanceNum;
156+
}
157+
158+
public void setAssociatedInstanceNum(Integer associatedInstanceNum) {
159+
this.associatedInstanceNum = associatedInstanceNum;
160+
}
161+
162+
public AuthorizedAllowListForDescribeInstanceAllowListsOutput projectName(String projectName) {
163+
this.projectName = projectName;
164+
return this;
165+
}
166+
167+
/**
168+
* Get projectName
169+
* @return projectName
170+
**/
171+
@Schema(description = "")
172+
public String getProjectName() {
173+
return projectName;
174+
}
175+
176+
public void setProjectName(String projectName) {
177+
this.projectName = projectName;
178+
}
179+
180+
181+
@Override
182+
public boolean equals(java.lang.Object o) {
183+
if (this == o) {
184+
return true;
185+
}
186+
if (o == null || getClass() != o.getClass()) {
187+
return false;
188+
}
189+
AuthorizedAllowListForDescribeInstanceAllowListsOutput authorizedAllowListForDescribeInstanceAllowListsOutput = (AuthorizedAllowListForDescribeInstanceAllowListsOutput) o;
190+
return Objects.equals(this.allowListDesc, authorizedAllowListForDescribeInstanceAllowListsOutput.allowListDesc) &&
191+
Objects.equals(this.allowListIPNum, authorizedAllowListForDescribeInstanceAllowListsOutput.allowListIPNum) &&
192+
Objects.equals(this.allowListId, authorizedAllowListForDescribeInstanceAllowListsOutput.allowListId) &&
193+
Objects.equals(this.allowListName, authorizedAllowListForDescribeInstanceAllowListsOutput.allowListName) &&
194+
Objects.equals(this.allowListType, authorizedAllowListForDescribeInstanceAllowListsOutput.allowListType) &&
195+
Objects.equals(this.associatedInstanceNum, authorizedAllowListForDescribeInstanceAllowListsOutput.associatedInstanceNum) &&
196+
Objects.equals(this.projectName, authorizedAllowListForDescribeInstanceAllowListsOutput.projectName);
197+
}
198+
199+
@Override
200+
public int hashCode() {
201+
return Objects.hash(allowListDesc, allowListIPNum, allowListId, allowListName, allowListType, associatedInstanceNum, projectName);
202+
}
203+
204+
205+
@Override
206+
public String toString() {
207+
StringBuilder sb = new StringBuilder();
208+
sb.append("class AuthorizedAllowListForDescribeInstanceAllowListsOutput {\n");
209+
210+
sb.append(" allowListDesc: ").append(toIndentedString(allowListDesc)).append("\n");
211+
sb.append(" allowListIPNum: ").append(toIndentedString(allowListIPNum)).append("\n");
212+
sb.append(" allowListId: ").append(toIndentedString(allowListId)).append("\n");
213+
sb.append(" allowListName: ").append(toIndentedString(allowListName)).append("\n");
214+
sb.append(" allowListType: ").append(toIndentedString(allowListType)).append("\n");
215+
sb.append(" associatedInstanceNum: ").append(toIndentedString(associatedInstanceNum)).append("\n");
216+
sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n");
217+
sb.append("}");
218+
return sb.toString();
219+
}
220+
221+
/**
222+
* Convert the given object to string with each line indented by 4 spaces
223+
* (except the first line).
224+
*/
225+
private String toIndentedString(java.lang.Object o) {
226+
if (o == null) {
227+
return "null";
228+
}
229+
return o.toString().replace("\n", "\n ");
230+
}
231+
232+
}
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
/*
2+
* vedbm
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.vedbm.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 java.util.ArrayList;
25+
import java.util.List;
26+
import javax.validation.constraints.*;
27+
import javax.validation.Valid;
28+
/**
29+
* CancelScheduleEventsRequest
30+
*/
31+
32+
33+
34+
public class CancelScheduleEventsRequest {
35+
@SerializedName("EventId")
36+
private List<String> eventId = null;
37+
38+
@SerializedName("InstanceIds")
39+
private List<String> instanceIds = null;
40+
41+
public CancelScheduleEventsRequest eventId(List<String> eventId) {
42+
this.eventId = eventId;
43+
return this;
44+
}
45+
46+
public CancelScheduleEventsRequest addEventIdItem(String eventIdItem) {
47+
if (this.eventId == null) {
48+
this.eventId = new ArrayList<String>();
49+
}
50+
this.eventId.add(eventIdItem);
51+
return this;
52+
}
53+
54+
/**
55+
* Get eventId
56+
* @return eventId
57+
**/
58+
@Schema(description = "")
59+
public List<String> getEventId() {
60+
return eventId;
61+
}
62+
63+
public void setEventId(List<String> eventId) {
64+
this.eventId = eventId;
65+
}
66+
67+
public CancelScheduleEventsRequest instanceIds(List<String> instanceIds) {
68+
this.instanceIds = instanceIds;
69+
return this;
70+
}
71+
72+
public CancelScheduleEventsRequest addInstanceIdsItem(String instanceIdsItem) {
73+
if (this.instanceIds == null) {
74+
this.instanceIds = new ArrayList<String>();
75+
}
76+
this.instanceIds.add(instanceIdsItem);
77+
return this;
78+
}
79+
80+
/**
81+
* Get instanceIds
82+
* @return instanceIds
83+
**/
84+
@Schema(description = "")
85+
public List<String> getInstanceIds() {
86+
return instanceIds;
87+
}
88+
89+
public void setInstanceIds(List<String> instanceIds) {
90+
this.instanceIds = instanceIds;
91+
}
92+
93+
94+
@Override
95+
public boolean equals(java.lang.Object o) {
96+
if (this == o) {
97+
return true;
98+
}
99+
if (o == null || getClass() != o.getClass()) {
100+
return false;
101+
}
102+
CancelScheduleEventsRequest cancelScheduleEventsRequest = (CancelScheduleEventsRequest) o;
103+
return Objects.equals(this.eventId, cancelScheduleEventsRequest.eventId) &&
104+
Objects.equals(this.instanceIds, cancelScheduleEventsRequest.instanceIds);
105+
}
106+
107+
@Override
108+
public int hashCode() {
109+
return Objects.hash(eventId, instanceIds);
110+
}
111+
112+
113+
@Override
114+
public String toString() {
115+
StringBuilder sb = new StringBuilder();
116+
sb.append("class CancelScheduleEventsRequest {\n");
117+
118+
sb.append(" eventId: ").append(toIndentedString(eventId)).append("\n");
119+
sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n");
120+
sb.append("}");
121+
return sb.toString();
122+
}
123+
124+
/**
125+
* Convert the given object to string with each line indented by 4 spaces
126+
* (except the first line).
127+
*/
128+
private String toIndentedString(java.lang.Object o) {
129+
if (o == null) {
130+
return "null";
131+
}
132+
return o.toString().replace("\n", "\n ");
133+
}
134+
135+
}

0 commit comments

Comments
 (0)