Skip to content

Commit bc6e4ec

Browse files
author
BitsAdmin
committed
Merge branch 'rds_mysql-Java-2022-01-01-online-1267-2025_06_09_21_08_40' into 'integration_2025-06-19_956533420802'
feat: [development task] rds_mysql-1267-Java (1359921) See merge request iaasng/volcengine-java-sdk!546
2 parents 2e44a8f + ba5811f commit bc6e4ec

File tree

108 files changed

+15842
-1370
lines changed

Some content is hidden

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

108 files changed

+15842
-1370
lines changed

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

Lines changed: 3117 additions & 1101 deletions
Large diffs are not rendered by default.

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

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ public class AccountForDescribeDBAccountsOutput {
5454
@SerializedName("GlobalAccountPrivileges")
5555
private List<String> globalAccountPrivileges = null;
5656

57+
@SerializedName("HasTableColumnPrivilegeDBNames")
58+
private List<String> hasTableColumnPrivilegeDBNames = null;
59+
5760
@SerializedName("Host")
5861
private String host = null;
5962

@@ -208,6 +211,32 @@ public void setGlobalAccountPrivileges(List<String> globalAccountPrivileges) {
208211
this.globalAccountPrivileges = globalAccountPrivileges;
209212
}
210213

214+
public AccountForDescribeDBAccountsOutput hasTableColumnPrivilegeDBNames(List<String> hasTableColumnPrivilegeDBNames) {
215+
this.hasTableColumnPrivilegeDBNames = hasTableColumnPrivilegeDBNames;
216+
return this;
217+
}
218+
219+
public AccountForDescribeDBAccountsOutput addHasTableColumnPrivilegeDBNamesItem(String hasTableColumnPrivilegeDBNamesItem) {
220+
if (this.hasTableColumnPrivilegeDBNames == null) {
221+
this.hasTableColumnPrivilegeDBNames = new ArrayList<String>();
222+
}
223+
this.hasTableColumnPrivilegeDBNames.add(hasTableColumnPrivilegeDBNamesItem);
224+
return this;
225+
}
226+
227+
/**
228+
* Get hasTableColumnPrivilegeDBNames
229+
* @return hasTableColumnPrivilegeDBNames
230+
**/
231+
@Schema(description = "")
232+
public List<String> getHasTableColumnPrivilegeDBNames() {
233+
return hasTableColumnPrivilegeDBNames;
234+
}
235+
236+
public void setHasTableColumnPrivilegeDBNames(List<String> hasTableColumnPrivilegeDBNames) {
237+
this.hasTableColumnPrivilegeDBNames = hasTableColumnPrivilegeDBNames;
238+
}
239+
211240
public AccountForDescribeDBAccountsOutput host(String host) {
212241
this.host = host;
213242
return this;
@@ -243,12 +272,13 @@ public boolean equals(java.lang.Object o) {
243272
Objects.equals(this.accountStatus, accountForDescribeDBAccountsOutput.accountStatus) &&
244273
Objects.equals(this.accountType, accountForDescribeDBAccountsOutput.accountType) &&
245274
Objects.equals(this.globalAccountPrivileges, accountForDescribeDBAccountsOutput.globalAccountPrivileges) &&
275+
Objects.equals(this.hasTableColumnPrivilegeDBNames, accountForDescribeDBAccountsOutput.hasTableColumnPrivilegeDBNames) &&
246276
Objects.equals(this.host, accountForDescribeDBAccountsOutput.host);
247277
}
248278

249279
@Override
250280
public int hashCode() {
251-
return Objects.hash(accountDesc, accountName, accountPrivileges, accountPrivilegesSQL, accountStatus, accountType, globalAccountPrivileges, host);
281+
return Objects.hash(accountDesc, accountName, accountPrivileges, accountPrivilegesSQL, accountStatus, accountType, globalAccountPrivileges, hasTableColumnPrivilegeDBNames, host);
252282
}
253283

254284

@@ -264,6 +294,7 @@ public String toString() {
264294
sb.append(" accountStatus: ").append(toIndentedString(accountStatus)).append("\n");
265295
sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n");
266296
sb.append(" globalAccountPrivileges: ").append(toIndentedString(globalAccountPrivileges)).append("\n");
297+
sb.append(" hasTableColumnPrivilegeDBNames: ").append(toIndentedString(hasTableColumnPrivilegeDBNames)).append("\n");
267298
sb.append(" host: ").append(toIndentedString(host)).append("\n");
268299
sb.append("}");
269300
return sb.toString();
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
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+
* AutoStorageScalingConfigForCreateDBInstanceInput
28+
*/
29+
30+
31+
32+
public class AutoStorageScalingConfigForCreateDBInstanceInput {
33+
@SerializedName("EnableStorageAutoScale")
34+
private Boolean enableStorageAutoScale = null;
35+
36+
@SerializedName("StorageThreshold")
37+
private Integer storageThreshold = null;
38+
39+
@SerializedName("StorageUpperBound")
40+
private Integer storageUpperBound = null;
41+
42+
public AutoStorageScalingConfigForCreateDBInstanceInput enableStorageAutoScale(Boolean enableStorageAutoScale) {
43+
this.enableStorageAutoScale = enableStorageAutoScale;
44+
return this;
45+
}
46+
47+
/**
48+
* Get enableStorageAutoScale
49+
* @return enableStorageAutoScale
50+
**/
51+
@Schema(description = "")
52+
public Boolean isEnableStorageAutoScale() {
53+
return enableStorageAutoScale;
54+
}
55+
56+
public void setEnableStorageAutoScale(Boolean enableStorageAutoScale) {
57+
this.enableStorageAutoScale = enableStorageAutoScale;
58+
}
59+
60+
public AutoStorageScalingConfigForCreateDBInstanceInput storageThreshold(Integer storageThreshold) {
61+
this.storageThreshold = storageThreshold;
62+
return this;
63+
}
64+
65+
/**
66+
* Get storageThreshold
67+
* @return storageThreshold
68+
**/
69+
@Schema(description = "")
70+
public Integer getStorageThreshold() {
71+
return storageThreshold;
72+
}
73+
74+
public void setStorageThreshold(Integer storageThreshold) {
75+
this.storageThreshold = storageThreshold;
76+
}
77+
78+
public AutoStorageScalingConfigForCreateDBInstanceInput storageUpperBound(Integer storageUpperBound) {
79+
this.storageUpperBound = storageUpperBound;
80+
return this;
81+
}
82+
83+
/**
84+
* Get storageUpperBound
85+
* @return storageUpperBound
86+
**/
87+
@Schema(description = "")
88+
public Integer getStorageUpperBound() {
89+
return storageUpperBound;
90+
}
91+
92+
public void setStorageUpperBound(Integer storageUpperBound) {
93+
this.storageUpperBound = storageUpperBound;
94+
}
95+
96+
97+
@Override
98+
public boolean equals(java.lang.Object o) {
99+
if (this == o) {
100+
return true;
101+
}
102+
if (o == null || getClass() != o.getClass()) {
103+
return false;
104+
}
105+
AutoStorageScalingConfigForCreateDBInstanceInput autoStorageScalingConfigForCreateDBInstanceInput = (AutoStorageScalingConfigForCreateDBInstanceInput) o;
106+
return Objects.equals(this.enableStorageAutoScale, autoStorageScalingConfigForCreateDBInstanceInput.enableStorageAutoScale) &&
107+
Objects.equals(this.storageThreshold, autoStorageScalingConfigForCreateDBInstanceInput.storageThreshold) &&
108+
Objects.equals(this.storageUpperBound, autoStorageScalingConfigForCreateDBInstanceInput.storageUpperBound);
109+
}
110+
111+
@Override
112+
public int hashCode() {
113+
return Objects.hash(enableStorageAutoScale, storageThreshold, storageUpperBound);
114+
}
115+
116+
117+
@Override
118+
public String toString() {
119+
StringBuilder sb = new StringBuilder();
120+
sb.append("class AutoStorageScalingConfigForCreateDBInstanceInput {\n");
121+
122+
sb.append(" enableStorageAutoScale: ").append(toIndentedString(enableStorageAutoScale)).append("\n");
123+
sb.append(" storageThreshold: ").append(toIndentedString(storageThreshold)).append("\n");
124+
sb.append(" storageUpperBound: ").append(toIndentedString(storageUpperBound)).append("\n");
125+
sb.append("}");
126+
return sb.toString();
127+
}
128+
129+
/**
130+
* Convert the given object to string with each line indented by 4 spaces
131+
* (except the first line).
132+
*/
133+
private String toIndentedString(java.lang.Object o) {
134+
if (o == null) {
135+
return "null";
136+
}
137+
return o.toString().replace("\n", "\n ");
138+
}
139+
140+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
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+
* AutoStorageScalingConfigForCreateDrDBInstanceInput
28+
*/
29+
30+
31+
32+
public class AutoStorageScalingConfigForCreateDrDBInstanceInput {
33+
@SerializedName("EnableStorageAutoScale")
34+
private Boolean enableStorageAutoScale = null;
35+
36+
@SerializedName("StorageThreshold")
37+
private Integer storageThreshold = null;
38+
39+
@SerializedName("StorageUpperBound")
40+
private Integer storageUpperBound = null;
41+
42+
public AutoStorageScalingConfigForCreateDrDBInstanceInput enableStorageAutoScale(Boolean enableStorageAutoScale) {
43+
this.enableStorageAutoScale = enableStorageAutoScale;
44+
return this;
45+
}
46+
47+
/**
48+
* Get enableStorageAutoScale
49+
* @return enableStorageAutoScale
50+
**/
51+
@Schema(description = "")
52+
public Boolean isEnableStorageAutoScale() {
53+
return enableStorageAutoScale;
54+
}
55+
56+
public void setEnableStorageAutoScale(Boolean enableStorageAutoScale) {
57+
this.enableStorageAutoScale = enableStorageAutoScale;
58+
}
59+
60+
public AutoStorageScalingConfigForCreateDrDBInstanceInput storageThreshold(Integer storageThreshold) {
61+
this.storageThreshold = storageThreshold;
62+
return this;
63+
}
64+
65+
/**
66+
* Get storageThreshold
67+
* @return storageThreshold
68+
**/
69+
@Schema(description = "")
70+
public Integer getStorageThreshold() {
71+
return storageThreshold;
72+
}
73+
74+
public void setStorageThreshold(Integer storageThreshold) {
75+
this.storageThreshold = storageThreshold;
76+
}
77+
78+
public AutoStorageScalingConfigForCreateDrDBInstanceInput storageUpperBound(Integer storageUpperBound) {
79+
this.storageUpperBound = storageUpperBound;
80+
return this;
81+
}
82+
83+
/**
84+
* Get storageUpperBound
85+
* @return storageUpperBound
86+
**/
87+
@Schema(description = "")
88+
public Integer getStorageUpperBound() {
89+
return storageUpperBound;
90+
}
91+
92+
public void setStorageUpperBound(Integer storageUpperBound) {
93+
this.storageUpperBound = storageUpperBound;
94+
}
95+
96+
97+
@Override
98+
public boolean equals(java.lang.Object o) {
99+
if (this == o) {
100+
return true;
101+
}
102+
if (o == null || getClass() != o.getClass()) {
103+
return false;
104+
}
105+
AutoStorageScalingConfigForCreateDrDBInstanceInput autoStorageScalingConfigForCreateDrDBInstanceInput = (AutoStorageScalingConfigForCreateDrDBInstanceInput) o;
106+
return Objects.equals(this.enableStorageAutoScale, autoStorageScalingConfigForCreateDrDBInstanceInput.enableStorageAutoScale) &&
107+
Objects.equals(this.storageThreshold, autoStorageScalingConfigForCreateDrDBInstanceInput.storageThreshold) &&
108+
Objects.equals(this.storageUpperBound, autoStorageScalingConfigForCreateDrDBInstanceInput.storageUpperBound);
109+
}
110+
111+
@Override
112+
public int hashCode() {
113+
return Objects.hash(enableStorageAutoScale, storageThreshold, storageUpperBound);
114+
}
115+
116+
117+
@Override
118+
public String toString() {
119+
StringBuilder sb = new StringBuilder();
120+
sb.append("class AutoStorageScalingConfigForCreateDrDBInstanceInput {\n");
121+
122+
sb.append(" enableStorageAutoScale: ").append(toIndentedString(enableStorageAutoScale)).append("\n");
123+
sb.append(" storageThreshold: ").append(toIndentedString(storageThreshold)).append("\n");
124+
sb.append(" storageUpperBound: ").append(toIndentedString(storageUpperBound)).append("\n");
125+
sb.append("}");
126+
return sb.toString();
127+
}
128+
129+
/**
130+
* Convert the given object to string with each line indented by 4 spaces
131+
* (except the first line).
132+
*/
133+
private String toIndentedString(java.lang.Object o) {
134+
if (o == null) {
135+
return "null";
136+
}
137+
return o.toString().replace("\n", "\n ");
138+
}
139+
140+
}

0 commit comments

Comments
 (0)