Skip to content

Commit e0c1045

Browse files
author
BitsAdmin
committed
Merge branch 'rds_mysql-Java-2022-01-01-online-1580-2025_09_16_16_40_32' into 'integration_2025-09-18_1055333217026'
feat: [development task] rds_mysql-1580-Java (1671737) See merge request iaasng/volcengine-java-sdk!667
2 parents a6ca793 + b9f50cf commit e0c1045

File tree

71 files changed

+7792
-4168
lines changed

Some content is hidden

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

71 files changed

+7792
-4168
lines changed

volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/RdsMysqlV2Api.java

Lines changed: 1256 additions & 1004 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,255 @@
1+
/*
2+
* rds_mysql_v2
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.rdsmysqlv2.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+
* AddressForDescribeDBInstanceEndpointsOutput
28+
*/
29+
30+
31+
32+
public class AddressForDescribeDBInstanceEndpointsOutput {
33+
@SerializedName("DNSVisibility")
34+
private Boolean dnSVisibility = null;
35+
36+
@SerializedName("Domain")
37+
private String domain = null;
38+
39+
@SerializedName("EipId")
40+
private String eipId = null;
41+
42+
@SerializedName("IPAddress")
43+
private String ipAddress = null;
44+
45+
@SerializedName("InternetProtocol")
46+
private String internetProtocol = null;
47+
48+
@SerializedName("NetworkType")
49+
private String networkType = null;
50+
51+
@SerializedName("Port")
52+
private String port = null;
53+
54+
@SerializedName("SubnetId")
55+
private String subnetId = null;
56+
57+
public AddressForDescribeDBInstanceEndpointsOutput dnSVisibility(Boolean dnSVisibility) {
58+
this.dnSVisibility = dnSVisibility;
59+
return this;
60+
}
61+
62+
/**
63+
* Get dnSVisibility
64+
* @return dnSVisibility
65+
**/
66+
@Schema(description = "")
67+
public Boolean isDnSVisibility() {
68+
return dnSVisibility;
69+
}
70+
71+
public void setDnSVisibility(Boolean dnSVisibility) {
72+
this.dnSVisibility = dnSVisibility;
73+
}
74+
75+
public AddressForDescribeDBInstanceEndpointsOutput domain(String domain) {
76+
this.domain = domain;
77+
return this;
78+
}
79+
80+
/**
81+
* Get domain
82+
* @return domain
83+
**/
84+
@Schema(description = "")
85+
public String getDomain() {
86+
return domain;
87+
}
88+
89+
public void setDomain(String domain) {
90+
this.domain = domain;
91+
}
92+
93+
public AddressForDescribeDBInstanceEndpointsOutput eipId(String eipId) {
94+
this.eipId = eipId;
95+
return this;
96+
}
97+
98+
/**
99+
* Get eipId
100+
* @return eipId
101+
**/
102+
@Schema(description = "")
103+
public String getEipId() {
104+
return eipId;
105+
}
106+
107+
public void setEipId(String eipId) {
108+
this.eipId = eipId;
109+
}
110+
111+
public AddressForDescribeDBInstanceEndpointsOutput ipAddress(String ipAddress) {
112+
this.ipAddress = ipAddress;
113+
return this;
114+
}
115+
116+
/**
117+
* Get ipAddress
118+
* @return ipAddress
119+
**/
120+
@Schema(description = "")
121+
public String getIpAddress() {
122+
return ipAddress;
123+
}
124+
125+
public void setIpAddress(String ipAddress) {
126+
this.ipAddress = ipAddress;
127+
}
128+
129+
public AddressForDescribeDBInstanceEndpointsOutput internetProtocol(String internetProtocol) {
130+
this.internetProtocol = internetProtocol;
131+
return this;
132+
}
133+
134+
/**
135+
* Get internetProtocol
136+
* @return internetProtocol
137+
**/
138+
@Schema(description = "")
139+
public String getInternetProtocol() {
140+
return internetProtocol;
141+
}
142+
143+
public void setInternetProtocol(String internetProtocol) {
144+
this.internetProtocol = internetProtocol;
145+
}
146+
147+
public AddressForDescribeDBInstanceEndpointsOutput networkType(String networkType) {
148+
this.networkType = networkType;
149+
return this;
150+
}
151+
152+
/**
153+
* Get networkType
154+
* @return networkType
155+
**/
156+
@Schema(description = "")
157+
public String getNetworkType() {
158+
return networkType;
159+
}
160+
161+
public void setNetworkType(String networkType) {
162+
this.networkType = networkType;
163+
}
164+
165+
public AddressForDescribeDBInstanceEndpointsOutput port(String port) {
166+
this.port = port;
167+
return this;
168+
}
169+
170+
/**
171+
* Get port
172+
* @return port
173+
**/
174+
@Schema(description = "")
175+
public String getPort() {
176+
return port;
177+
}
178+
179+
public void setPort(String port) {
180+
this.port = port;
181+
}
182+
183+
public AddressForDescribeDBInstanceEndpointsOutput subnetId(String subnetId) {
184+
this.subnetId = subnetId;
185+
return this;
186+
}
187+
188+
/**
189+
* Get subnetId
190+
* @return subnetId
191+
**/
192+
@Schema(description = "")
193+
public String getSubnetId() {
194+
return subnetId;
195+
}
196+
197+
public void setSubnetId(String subnetId) {
198+
this.subnetId = subnetId;
199+
}
200+
201+
202+
@Override
203+
public boolean equals(java.lang.Object o) {
204+
if (this == o) {
205+
return true;
206+
}
207+
if (o == null || getClass() != o.getClass()) {
208+
return false;
209+
}
210+
AddressForDescribeDBInstanceEndpointsOutput addressForDescribeDBInstanceEndpointsOutput = (AddressForDescribeDBInstanceEndpointsOutput) o;
211+
return Objects.equals(this.dnSVisibility, addressForDescribeDBInstanceEndpointsOutput.dnSVisibility) &&
212+
Objects.equals(this.domain, addressForDescribeDBInstanceEndpointsOutput.domain) &&
213+
Objects.equals(this.eipId, addressForDescribeDBInstanceEndpointsOutput.eipId) &&
214+
Objects.equals(this.ipAddress, addressForDescribeDBInstanceEndpointsOutput.ipAddress) &&
215+
Objects.equals(this.internetProtocol, addressForDescribeDBInstanceEndpointsOutput.internetProtocol) &&
216+
Objects.equals(this.networkType, addressForDescribeDBInstanceEndpointsOutput.networkType) &&
217+
Objects.equals(this.port, addressForDescribeDBInstanceEndpointsOutput.port) &&
218+
Objects.equals(this.subnetId, addressForDescribeDBInstanceEndpointsOutput.subnetId);
219+
}
220+
221+
@Override
222+
public int hashCode() {
223+
return Objects.hash(dnSVisibility, domain, eipId, ipAddress, internetProtocol, networkType, port, subnetId);
224+
}
225+
226+
227+
@Override
228+
public String toString() {
229+
StringBuilder sb = new StringBuilder();
230+
sb.append("class AddressForDescribeDBInstanceEndpointsOutput {\n");
231+
232+
sb.append(" dnSVisibility: ").append(toIndentedString(dnSVisibility)).append("\n");
233+
sb.append(" domain: ").append(toIndentedString(domain)).append("\n");
234+
sb.append(" eipId: ").append(toIndentedString(eipId)).append("\n");
235+
sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n");
236+
sb.append(" internetProtocol: ").append(toIndentedString(internetProtocol)).append("\n");
237+
sb.append(" networkType: ").append(toIndentedString(networkType)).append("\n");
238+
sb.append(" port: ").append(toIndentedString(port)).append("\n");
239+
sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n");
240+
sb.append("}");
241+
return sb.toString();
242+
}
243+
244+
/**
245+
* Convert the given object to string with each line indented by 4 spaces
246+
* (except the first line).
247+
*/
248+
private String toIndentedString(java.lang.Object o) {
249+
if (o == null) {
250+
return "null";
251+
}
252+
return o.toString().replace("\n", "\n ");
253+
}
254+
255+
}

volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AllowListForDescribeAllowListsOutput.java

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ public class AllowListForDescribeAllowListsOutput {
5454
@SerializedName("AssociatedInstanceNum")
5555
private Integer associatedInstanceNum = null;
5656

57+
@SerializedName("IpList")
58+
private List<String> ipList = null;
59+
5760
@SerializedName("SecurityGroupBindInfos")
5861
private List<SecurityGroupBindInfoForDescribeAllowListsOutput> securityGroupBindInfos = null;
5962

@@ -183,6 +186,32 @@ public void setAssociatedInstanceNum(Integer associatedInstanceNum) {
183186
this.associatedInstanceNum = associatedInstanceNum;
184187
}
185188

189+
public AllowListForDescribeAllowListsOutput ipList(List<String> ipList) {
190+
this.ipList = ipList;
191+
return this;
192+
}
193+
194+
public AllowListForDescribeAllowListsOutput addIpListItem(String ipListItem) {
195+
if (this.ipList == null) {
196+
this.ipList = new ArrayList<String>();
197+
}
198+
this.ipList.add(ipListItem);
199+
return this;
200+
}
201+
202+
/**
203+
* Get ipList
204+
* @return ipList
205+
**/
206+
@Schema(description = "")
207+
public List<String> getIpList() {
208+
return ipList;
209+
}
210+
211+
public void setIpList(List<String> ipList) {
212+
this.ipList = ipList;
213+
}
214+
186215
public AllowListForDescribeAllowListsOutput securityGroupBindInfos(List<SecurityGroupBindInfoForDescribeAllowListsOutput> securityGroupBindInfos) {
187216
this.securityGroupBindInfos = securityGroupBindInfos;
188217
return this;
@@ -227,12 +256,13 @@ public boolean equals(java.lang.Object o) {
227256
Objects.equals(this.allowListName, allowListForDescribeAllowListsOutput.allowListName) &&
228257
Objects.equals(this.allowListType, allowListForDescribeAllowListsOutput.allowListType) &&
229258
Objects.equals(this.associatedInstanceNum, allowListForDescribeAllowListsOutput.associatedInstanceNum) &&
259+
Objects.equals(this.ipList, allowListForDescribeAllowListsOutput.ipList) &&
230260
Objects.equals(this.securityGroupBindInfos, allowListForDescribeAllowListsOutput.securityGroupBindInfos);
231261
}
232262

233263
@Override
234264
public int hashCode() {
235-
return Objects.hash(allowListCategory, allowListDesc, allowListIPNum, allowListId, allowListName, allowListType, associatedInstanceNum, securityGroupBindInfos);
265+
return Objects.hash(allowListCategory, allowListDesc, allowListIPNum, allowListId, allowListName, allowListType, associatedInstanceNum, ipList, securityGroupBindInfos);
236266
}
237267

238268

@@ -248,6 +278,7 @@ public String toString() {
248278
sb.append(" allowListName: ").append(toIndentedString(allowListName)).append("\n");
249279
sb.append(" allowListType: ").append(toIndentedString(allowListType)).append("\n");
250280
sb.append(" associatedInstanceNum: ").append(toIndentedString(associatedInstanceNum)).append("\n");
281+
sb.append(" ipList: ").append(toIndentedString(ipList)).append("\n");
251282
sb.append(" securityGroupBindInfos: ").append(toIndentedString(securityGroupBindInfos)).append("\n");
252283
sb.append("}");
253284
return sb.toString();

0 commit comments

Comments
 (0)