Skip to content

Commit c71844e

Browse files
author
BitsAdmin
committed
Merge branch 'graph-Java-2018-01-01-online-1694-2025_10_13_19_45_40' into 'integration_2025-10-16_1070820513026'
feat: [development task] graph-1694-Java (1736329) See merge request iaasng/volcengine-java-sdk!697
2 parents b933bfb + bbb5187 commit c71844e

File tree

4 files changed

+515
-2
lines changed

4 files changed

+515
-2
lines changed

volcengine-java-sdk-graph/src/main/java/com/volcengine/graph/model/AlterTableRequest.java

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import com.volcengine.graph.model.IOQosOptionsForAlterTableInput;
2323
import com.volcengine.graph.model.IdcReplicaNumForAlterTableInput;
2424
import com.volcengine.graph.model.IdcRoNumForAlterTableInput;
25+
import com.volcengine.graph.model.TableQuotaForAlterTableInput;
2526
import io.swagger.v3.oas.annotations.media.Schema;
2627
import java.io.IOException;
2728
import java.util.ArrayList;
@@ -65,6 +66,9 @@ public class AlterTableRequest {
6566
@SerializedName("TableName")
6667
private String tableName = null;
6768

69+
@SerializedName("TableQuota")
70+
private TableQuotaForAlterTableInput tableQuota = null;
71+
6872
public AlterTableRequest enableRead(Boolean enableRead) {
6973
this.enableRead = enableRead;
7074
return this;
@@ -274,6 +278,25 @@ public void setTableName(String tableName) {
274278
this.tableName = tableName;
275279
}
276280

281+
public AlterTableRequest tableQuota(TableQuotaForAlterTableInput tableQuota) {
282+
this.tableQuota = tableQuota;
283+
return this;
284+
}
285+
286+
/**
287+
* Get tableQuota
288+
* @return tableQuota
289+
**/
290+
@Valid
291+
@Schema(description = "")
292+
public TableQuotaForAlterTableInput getTableQuota() {
293+
return tableQuota;
294+
}
295+
296+
public void setTableQuota(TableQuotaForAlterTableInput tableQuota) {
297+
this.tableQuota = tableQuota;
298+
}
299+
277300

278301
@Override
279302
public boolean equals(java.lang.Object o) {
@@ -293,12 +316,13 @@ public boolean equals(java.lang.Object o) {
293316
Objects.equals(this.instanceId, alterTableRequest.instanceId) &&
294317
Objects.equals(this.rwSchedulableIdcs, alterTableRequest.rwSchedulableIdcs) &&
295318
Objects.equals(this.state, alterTableRequest.state) &&
296-
Objects.equals(this.tableName, alterTableRequest.tableName);
319+
Objects.equals(this.tableName, alterTableRequest.tableName) &&
320+
Objects.equals(this.tableQuota, alterTableRequest.tableQuota);
297321
}
298322

299323
@Override
300324
public int hashCode() {
301-
return Objects.hash(enableRead, enableRwSeperateSchedule, enableWrite, ioQosOptions, idcReplicaNums, idcRoNums, instanceId, rwSchedulableIdcs, state, tableName);
325+
return Objects.hash(enableRead, enableRwSeperateSchedule, enableWrite, ioQosOptions, idcReplicaNums, idcRoNums, instanceId, rwSchedulableIdcs, state, tableName, tableQuota);
302326
}
303327

304328

@@ -317,6 +341,7 @@ public String toString() {
317341
sb.append(" rwSchedulableIdcs: ").append(toIndentedString(rwSchedulableIdcs)).append("\n");
318342
sb.append(" state: ").append(toIndentedString(state)).append("\n");
319343
sb.append(" tableName: ").append(toIndentedString(tableName)).append("\n");
344+
sb.append(" tableQuota: ").append(toIndentedString(tableQuota)).append("\n");
320345
sb.append("}");
321346
return sb.toString();
322347
}
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
/*
2+
* graph
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.graph.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+
* GremlinQuotaConfigForAlterTableInput
28+
*/
29+
30+
31+
32+
public class GremlinQuotaConfigForAlterTableInput {
33+
@SerializedName("caller_psm")
34+
private String callerPsm = null;
35+
36+
@SerializedName("fetch_size")
37+
private Long fetchSize = null;
38+
39+
@SerializedName("quota_size")
40+
private Long quotaSize = null;
41+
42+
@SerializedName("template")
43+
private String template = null;
44+
45+
public GremlinQuotaConfigForAlterTableInput callerPsm(String callerPsm) {
46+
this.callerPsm = callerPsm;
47+
return this;
48+
}
49+
50+
/**
51+
* Get callerPsm
52+
* @return callerPsm
53+
**/
54+
@Schema(description = "")
55+
public String getCallerPsm() {
56+
return callerPsm;
57+
}
58+
59+
public void setCallerPsm(String callerPsm) {
60+
this.callerPsm = callerPsm;
61+
}
62+
63+
public GremlinQuotaConfigForAlterTableInput fetchSize(Long fetchSize) {
64+
this.fetchSize = fetchSize;
65+
return this;
66+
}
67+
68+
/**
69+
* Get fetchSize
70+
* @return fetchSize
71+
**/
72+
@Schema(description = "")
73+
public Long getFetchSize() {
74+
return fetchSize;
75+
}
76+
77+
public void setFetchSize(Long fetchSize) {
78+
this.fetchSize = fetchSize;
79+
}
80+
81+
public GremlinQuotaConfigForAlterTableInput quotaSize(Long quotaSize) {
82+
this.quotaSize = quotaSize;
83+
return this;
84+
}
85+
86+
/**
87+
* Get quotaSize
88+
* @return quotaSize
89+
**/
90+
@Schema(description = "")
91+
public Long getQuotaSize() {
92+
return quotaSize;
93+
}
94+
95+
public void setQuotaSize(Long quotaSize) {
96+
this.quotaSize = quotaSize;
97+
}
98+
99+
public GremlinQuotaConfigForAlterTableInput template(String template) {
100+
this.template = template;
101+
return this;
102+
}
103+
104+
/**
105+
* Get template
106+
* @return template
107+
**/
108+
@Schema(description = "")
109+
public String getTemplate() {
110+
return template;
111+
}
112+
113+
public void setTemplate(String template) {
114+
this.template = template;
115+
}
116+
117+
118+
@Override
119+
public boolean equals(java.lang.Object o) {
120+
if (this == o) {
121+
return true;
122+
}
123+
if (o == null || getClass() != o.getClass()) {
124+
return false;
125+
}
126+
GremlinQuotaConfigForAlterTableInput gremlinQuotaConfigForAlterTableInput = (GremlinQuotaConfigForAlterTableInput) o;
127+
return Objects.equals(this.callerPsm, gremlinQuotaConfigForAlterTableInput.callerPsm) &&
128+
Objects.equals(this.fetchSize, gremlinQuotaConfigForAlterTableInput.fetchSize) &&
129+
Objects.equals(this.quotaSize, gremlinQuotaConfigForAlterTableInput.quotaSize) &&
130+
Objects.equals(this.template, gremlinQuotaConfigForAlterTableInput.template);
131+
}
132+
133+
@Override
134+
public int hashCode() {
135+
return Objects.hash(callerPsm, fetchSize, quotaSize, template);
136+
}
137+
138+
139+
@Override
140+
public String toString() {
141+
StringBuilder sb = new StringBuilder();
142+
sb.append("class GremlinQuotaConfigForAlterTableInput {\n");
143+
144+
sb.append(" callerPsm: ").append(toIndentedString(callerPsm)).append("\n");
145+
sb.append(" fetchSize: ").append(toIndentedString(fetchSize)).append("\n");
146+
sb.append(" quotaSize: ").append(toIndentedString(quotaSize)).append("\n");
147+
sb.append(" template: ").append(toIndentedString(template)).append("\n");
148+
sb.append("}");
149+
return sb.toString();
150+
}
151+
152+
/**
153+
* Convert the given object to string with each line indented by 4 spaces
154+
* (except the first line).
155+
*/
156+
private String toIndentedString(java.lang.Object o) {
157+
if (o == null) {
158+
return "null";
159+
}
160+
return o.toString().replace("\n", "\n ");
161+
}
162+
163+
}

0 commit comments

Comments
 (0)