Skip to content

Commit af3fa58

Browse files
author
BitsAdmin
committed
Merge branch 'redis-Java-2020-12-07-online-1157-2025_05_14_10_50_42' into 'integration_2025-05-15_905315453698'
feat: [development task] Redis-1157-Java (1224788) See merge request iaasng/volcengine-java-sdk!483
2 parents 5108227 + a7f0f0b commit af3fa58

File tree

72 files changed

+11650
-682
lines changed

Some content is hidden

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

72 files changed

+11650
-682
lines changed

volcengine-java-sdk-redis/src/main/java/com/volcengine/redis/RedisApi.java

Lines changed: 2963 additions & 317 deletions
Large diffs are not rendered by default.

volcengine-java-sdk-redis/src/main/java/com/volcengine/redis/model/AccountForListDBAccountOutput.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public class AccountForListDBAccountOutput {
3333
@SerializedName("AccountName")
3434
private String accountName = null;
3535

36+
@SerializedName("AccountStatus")
37+
private String accountStatus = null;
38+
3639
@SerializedName("Description")
3740
private String description = null;
3841

@@ -60,6 +63,24 @@ public void setAccountName(String accountName) {
6063
this.accountName = accountName;
6164
}
6265

66+
public AccountForListDBAccountOutput accountStatus(String accountStatus) {
67+
this.accountStatus = accountStatus;
68+
return this;
69+
}
70+
71+
/**
72+
* Get accountStatus
73+
* @return accountStatus
74+
**/
75+
@Schema(description = "")
76+
public String getAccountStatus() {
77+
return accountStatus;
78+
}
79+
80+
public void setAccountStatus(String accountStatus) {
81+
this.accountStatus = accountStatus;
82+
}
83+
6384
public AccountForListDBAccountOutput description(String description) {
6485
this.description = description;
6586
return this;
@@ -125,14 +146,15 @@ public boolean equals(java.lang.Object o) {
125146
}
126147
AccountForListDBAccountOutput accountForListDBAccountOutput = (AccountForListDBAccountOutput) o;
127148
return Objects.equals(this.accountName, accountForListDBAccountOutput.accountName) &&
149+
Objects.equals(this.accountStatus, accountForListDBAccountOutput.accountStatus) &&
128150
Objects.equals(this.description, accountForListDBAccountOutput.description) &&
129151
Objects.equals(this.instanceId, accountForListDBAccountOutput.instanceId) &&
130152
Objects.equals(this.roleName, accountForListDBAccountOutput.roleName);
131153
}
132154

133155
@Override
134156
public int hashCode() {
135-
return Objects.hash(accountName, description, instanceId, roleName);
157+
return Objects.hash(accountName, accountStatus, description, instanceId, roleName);
136158
}
137159

138160

@@ -142,6 +164,7 @@ public String toString() {
142164
sb.append("class AccountForListDBAccountOutput {\n");
143165

144166
sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n");
167+
sb.append(" accountStatus: ").append(toIndentedString(accountStatus)).append("\n");
145168
sb.append(" description: ").append(toIndentedString(description)).append("\n");
146169
sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n");
147170
sb.append(" roleName: ").append(toIndentedString(roleName)).append("\n");

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

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ public AllowListCategoryEnum read(final JsonReader jsonReader) throws IOExceptio
9797
@SerializedName("AssociatedInstanceNum")
9898
private Integer associatedInstanceNum = null;
9999

100+
@SerializedName("ProjectName")
101+
private String projectName = null;
102+
100103
@SerializedName("SecurityGroupBindInfos")
101104
private List<SecurityGroupBindInfoForDescribeAllowListsOutput> securityGroupBindInfos = null;
102105

@@ -226,6 +229,24 @@ public void setAssociatedInstanceNum(Integer associatedInstanceNum) {
226229
this.associatedInstanceNum = associatedInstanceNum;
227230
}
228231

232+
public AllowListForDescribeAllowListsOutput projectName(String projectName) {
233+
this.projectName = projectName;
234+
return this;
235+
}
236+
237+
/**
238+
* Get projectName
239+
* @return projectName
240+
**/
241+
@Schema(description = "")
242+
public String getProjectName() {
243+
return projectName;
244+
}
245+
246+
public void setProjectName(String projectName) {
247+
this.projectName = projectName;
248+
}
249+
229250
public AllowListForDescribeAllowListsOutput securityGroupBindInfos(List<SecurityGroupBindInfoForDescribeAllowListsOutput> securityGroupBindInfos) {
230251
this.securityGroupBindInfos = securityGroupBindInfos;
231252
return this;
@@ -270,12 +291,13 @@ public boolean equals(java.lang.Object o) {
270291
Objects.equals(this.allowListName, allowListForDescribeAllowListsOutput.allowListName) &&
271292
Objects.equals(this.allowListType, allowListForDescribeAllowListsOutput.allowListType) &&
272293
Objects.equals(this.associatedInstanceNum, allowListForDescribeAllowListsOutput.associatedInstanceNum) &&
294+
Objects.equals(this.projectName, allowListForDescribeAllowListsOutput.projectName) &&
273295
Objects.equals(this.securityGroupBindInfos, allowListForDescribeAllowListsOutput.securityGroupBindInfos);
274296
}
275297

276298
@Override
277299
public int hashCode() {
278-
return Objects.hash(allowListCategory, allowListDesc, allowListIPNum, allowListId, allowListName, allowListType, associatedInstanceNum, securityGroupBindInfos);
300+
return Objects.hash(allowListCategory, allowListDesc, allowListIPNum, allowListId, allowListName, allowListType, associatedInstanceNum, projectName, securityGroupBindInfos);
279301
}
280302

281303

@@ -291,6 +313,7 @@ public String toString() {
291313
sb.append(" allowListName: ").append(toIndentedString(allowListName)).append("\n");
292314
sb.append(" allowListType: ").append(toIndentedString(allowListType)).append("\n");
293315
sb.append(" associatedInstanceNum: ").append(toIndentedString(associatedInstanceNum)).append("\n");
316+
sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n");
294317
sb.append(" securityGroupBindInfos: ").append(toIndentedString(securityGroupBindInfos)).append("\n");
295318
sb.append("}");
296319
return sb.toString();

volcengine-java-sdk-redis/src/main/java/com/volcengine/redis/model/AssociatedInstanceForDescribeAllowListDetailOutput.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public class AssociatedInstanceForDescribeAllowListDetailOutput {
3636
@SerializedName("InstanceName")
3737
private String instanceName = null;
3838

39+
@SerializedName("ProjectName")
40+
private String projectName = null;
41+
3942
@SerializedName("VPC")
4043
private String VPC = null;
4144

@@ -75,6 +78,24 @@ public void setInstanceName(String instanceName) {
7578
this.instanceName = instanceName;
7679
}
7780

81+
public AssociatedInstanceForDescribeAllowListDetailOutput projectName(String projectName) {
82+
this.projectName = projectName;
83+
return this;
84+
}
85+
86+
/**
87+
* Get projectName
88+
* @return projectName
89+
**/
90+
@Schema(description = "")
91+
public String getProjectName() {
92+
return projectName;
93+
}
94+
95+
public void setProjectName(String projectName) {
96+
this.projectName = projectName;
97+
}
98+
7899
public AssociatedInstanceForDescribeAllowListDetailOutput VPC(String VPC) {
79100
this.VPC = VPC;
80101
return this;
@@ -105,12 +126,13 @@ public boolean equals(java.lang.Object o) {
105126
AssociatedInstanceForDescribeAllowListDetailOutput associatedInstanceForDescribeAllowListDetailOutput = (AssociatedInstanceForDescribeAllowListDetailOutput) o;
106127
return Objects.equals(this.instanceId, associatedInstanceForDescribeAllowListDetailOutput.instanceId) &&
107128
Objects.equals(this.instanceName, associatedInstanceForDescribeAllowListDetailOutput.instanceName) &&
129+
Objects.equals(this.projectName, associatedInstanceForDescribeAllowListDetailOutput.projectName) &&
108130
Objects.equals(this.VPC, associatedInstanceForDescribeAllowListDetailOutput.VPC);
109131
}
110132

111133
@Override
112134
public int hashCode() {
113-
return Objects.hash(instanceId, instanceName, VPC);
135+
return Objects.hash(instanceId, instanceName, projectName, VPC);
114136
}
115137

116138

@@ -121,6 +143,7 @@ public String toString() {
121143

122144
sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n");
123145
sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n");
146+
sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n");
124147
sb.append(" VPC: ").append(toIndentedString(VPC)).append("\n");
125148
sb.append("}");
126149
return sb.toString();

0 commit comments

Comments
 (0)