Skip to content

Commit 5e5cce4

Browse files
ci_volc_sdk_gensdk-liuzhaoliang
authored andcommitted
feat: auto generate for vedbm-Java-2022-01-01-online-1241-2025_06_03_14_37_30
1 parent d61b891 commit 5e5cce4

File tree

75 files changed

+12557
-744
lines changed

Some content is hidden

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

75 files changed

+12557
-744
lines changed

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

Lines changed: 3141 additions & 495 deletions
Large diffs are not rendered by default.

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

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333

3434

3535
public class AccountForDescribeDBAccountsOutput {
36+
@SerializedName("AccountDesc")
37+
private String accountDesc = null;
38+
3639
@SerializedName("AccountName")
3740
private String accountName = null;
3841

@@ -44,10 +47,10 @@ public class AccountForDescribeDBAccountsOutput {
4447
*/
4548
@JsonAdapter(AccountTypeEnum.Adapter.class)
4649
public enum AccountTypeEnum {
47-
@SerializedName("Super")
48-
SUPER("Super"),
4950
@SerializedName("Normal")
50-
NORMAL("Normal");
51+
NORMAL("Normal"),
52+
@SerializedName("Super")
53+
SUPER("Super");
5154

5255
private String value;
5356

@@ -85,6 +88,24 @@ public AccountTypeEnum read(final JsonReader jsonReader) throws IOException {
8588
} @SerializedName("AccountType")
8689
private AccountTypeEnum accountType = null;
8790

91+
public AccountForDescribeDBAccountsOutput accountDesc(String accountDesc) {
92+
this.accountDesc = accountDesc;
93+
return this;
94+
}
95+
96+
/**
97+
* Get accountDesc
98+
* @return accountDesc
99+
**/
100+
@Schema(description = "")
101+
public String getAccountDesc() {
102+
return accountDesc;
103+
}
104+
105+
public void setAccountDesc(String accountDesc) {
106+
this.accountDesc = accountDesc;
107+
}
108+
88109
public AccountForDescribeDBAccountsOutput accountName(String accountName) {
89110
this.accountName = accountName;
90111
return this;
@@ -158,14 +179,15 @@ public boolean equals(java.lang.Object o) {
158179
return false;
159180
}
160181
AccountForDescribeDBAccountsOutput accountForDescribeDBAccountsOutput = (AccountForDescribeDBAccountsOutput) o;
161-
return Objects.equals(this.accountName, accountForDescribeDBAccountsOutput.accountName) &&
182+
return Objects.equals(this.accountDesc, accountForDescribeDBAccountsOutput.accountDesc) &&
183+
Objects.equals(this.accountName, accountForDescribeDBAccountsOutput.accountName) &&
162184
Objects.equals(this.accountPrivileges, accountForDescribeDBAccountsOutput.accountPrivileges) &&
163185
Objects.equals(this.accountType, accountForDescribeDBAccountsOutput.accountType);
164186
}
165187

166188
@Override
167189
public int hashCode() {
168-
return Objects.hash(accountName, accountPrivileges, accountType);
190+
return Objects.hash(accountDesc, accountName, accountPrivileges, accountType);
169191
}
170192

171193

@@ -174,6 +196,7 @@ public String toString() {
174196
StringBuilder sb = new StringBuilder();
175197
sb.append("class AccountForDescribeDBAccountsOutput {\n");
176198

199+
sb.append(" accountDesc: ").append(toIndentedString(accountDesc)).append("\n");
177200
sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n");
178201
sb.append(" accountPrivileges: ").append(toIndentedString(accountPrivileges)).append("\n");
179202
sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n");

volcengine-java-sdk-vedbm/src/main/java/com/volcengine/vedbm/model/AccountPrivilegeForCreateDBAccountInput.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ public class AccountPrivilegeForCreateDBAccountInput {
3535
*/
3636
@JsonAdapter(AccountPrivilegeEnum.Adapter.class)
3737
public enum AccountPrivilegeEnum {
38-
@SerializedName("ReadWrite")
39-
READWRITE("ReadWrite"),
40-
@SerializedName("ReadOnly")
41-
READONLY("ReadOnly"),
38+
@SerializedName("Custom")
39+
CUSTOM("Custom"),
4240
@SerializedName("DDLOnly")
4341
DDLONLY("DDLOnly"),
4442
@SerializedName("DMLOnly")
4543
DMLONLY("DMLOnly"),
46-
@SerializedName("Custom")
47-
CUSTOM("Custom");
44+
@SerializedName("ReadOnly")
45+
READONLY("ReadOnly"),
46+
@SerializedName("ReadWrite")
47+
READWRITE("ReadWrite");
4848

4949
private String value;
5050

volcengine-java-sdk-vedbm/src/main/java/com/volcengine/vedbm/model/AccountPrivilegeForDescribeDBAccountsOutput.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ public class AccountPrivilegeForDescribeDBAccountsOutput {
3535
*/
3636
@JsonAdapter(AccountPrivilegeEnum.Adapter.class)
3737
public enum AccountPrivilegeEnum {
38-
@SerializedName("ReadWrite")
39-
READWRITE("ReadWrite"),
40-
@SerializedName("ReadOnly")
41-
READONLY("ReadOnly"),
38+
@SerializedName("Custom")
39+
CUSTOM("Custom"),
4240
@SerializedName("DDLOnly")
4341
DDLONLY("DDLOnly"),
4442
@SerializedName("DMLOnly")
4543
DMLONLY("DMLOnly"),
46-
@SerializedName("Custom")
47-
CUSTOM("Custom");
44+
@SerializedName("ReadOnly")
45+
READONLY("ReadOnly"),
46+
@SerializedName("ReadWrite")
47+
READWRITE("ReadWrite");
4848

4949
private String value;
5050

volcengine-java-sdk-vedbm/src/main/java/com/volcengine/vedbm/model/AccountPrivilegeForGrantDBAccountPrivilegeInput.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ public class AccountPrivilegeForGrantDBAccountPrivilegeInput {
3535
*/
3636
@JsonAdapter(AccountPrivilegeEnum.Adapter.class)
3737
public enum AccountPrivilegeEnum {
38-
@SerializedName("ReadWrite")
39-
READWRITE("ReadWrite"),
40-
@SerializedName("ReadOnly")
41-
READONLY("ReadOnly"),
38+
@SerializedName("Custom")
39+
CUSTOM("Custom"),
4240
@SerializedName("DDLOnly")
4341
DDLONLY("DDLOnly"),
4442
@SerializedName("DMLOnly")
4543
DMLONLY("DMLOnly"),
46-
@SerializedName("Custom")
47-
CUSTOM("Custom");
44+
@SerializedName("ReadOnly")
45+
READONLY("ReadOnly"),
46+
@SerializedName("ReadWrite")
47+
READWRITE("ReadWrite");
4848

4949
private String value;
5050

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
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+
* ApplyParameterTemplateRequest
30+
*/
31+
32+
33+
34+
public class ApplyParameterTemplateRequest {
35+
@SerializedName("InstanceIds")
36+
private List<String> instanceIds = null;
37+
38+
@SerializedName("TemplateId")
39+
private String templateId = null;
40+
41+
public ApplyParameterTemplateRequest instanceIds(List<String> instanceIds) {
42+
this.instanceIds = instanceIds;
43+
return this;
44+
}
45+
46+
public ApplyParameterTemplateRequest addInstanceIdsItem(String instanceIdsItem) {
47+
if (this.instanceIds == null) {
48+
this.instanceIds = new ArrayList<String>();
49+
}
50+
this.instanceIds.add(instanceIdsItem);
51+
return this;
52+
}
53+
54+
/**
55+
* Get instanceIds
56+
* @return instanceIds
57+
**/
58+
@Schema(description = "")
59+
public List<String> getInstanceIds() {
60+
return instanceIds;
61+
}
62+
63+
public void setInstanceIds(List<String> instanceIds) {
64+
this.instanceIds = instanceIds;
65+
}
66+
67+
public ApplyParameterTemplateRequest templateId(String templateId) {
68+
this.templateId = templateId;
69+
return this;
70+
}
71+
72+
/**
73+
* Get templateId
74+
* @return templateId
75+
**/
76+
@NotNull
77+
@Schema(required = true, description = "")
78+
public String getTemplateId() {
79+
return templateId;
80+
}
81+
82+
public void setTemplateId(String templateId) {
83+
this.templateId = templateId;
84+
}
85+
86+
87+
@Override
88+
public boolean equals(java.lang.Object o) {
89+
if (this == o) {
90+
return true;
91+
}
92+
if (o == null || getClass() != o.getClass()) {
93+
return false;
94+
}
95+
ApplyParameterTemplateRequest applyParameterTemplateRequest = (ApplyParameterTemplateRequest) o;
96+
return Objects.equals(this.instanceIds, applyParameterTemplateRequest.instanceIds) &&
97+
Objects.equals(this.templateId, applyParameterTemplateRequest.templateId);
98+
}
99+
100+
@Override
101+
public int hashCode() {
102+
return Objects.hash(instanceIds, templateId);
103+
}
104+
105+
106+
@Override
107+
public String toString() {
108+
StringBuilder sb = new StringBuilder();
109+
sb.append("class ApplyParameterTemplateRequest {\n");
110+
111+
sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n");
112+
sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n");
113+
sb.append("}");
114+
return sb.toString();
115+
}
116+
117+
/**
118+
* Convert the given object to string with each line indented by 4 spaces
119+
* (except the first line).
120+
*/
121+
private String toIndentedString(java.lang.Object o) {
122+
if (o == null) {
123+
return "null";
124+
}
125+
return o.toString().replace("\n", "\n ");
126+
}
127+
128+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 javax.validation.constraints.*;
18+
import javax.validation.Valid;
19+
/**
20+
* ApplyParameterTemplateResponse
21+
*/
22+
23+
24+
25+
public class ApplyParameterTemplateResponse 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 ApplyParameterTemplateResponse {\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)