Skip to content

Commit ceeba01

Browse files
author
BitsAdmin
committed
Merge branch 'vpc-Java-2020-04-01-online-1272-2025_06_10_19_23_40' into 'integration_2025-06-19_956533420802'
feat: [development task] vpc-1272-Java (1359918) See merge request iaasng/volcengine-java-sdk!544
2 parents 08c5c53 + 4d9ffb3 commit ceeba01

9 files changed

+671
-21
lines changed

volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AllocateIpv6AddressBandwidthRequest.java

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@
1919
import com.google.gson.annotations.SerializedName;
2020
import com.google.gson.stream.JsonReader;
2121
import com.google.gson.stream.JsonWriter;
22+
import com.volcengine.vpc.model.TagForAllocateIpv6AddressBandwidthInput;
2223
import io.swagger.v3.oas.annotations.media.Schema;
2324
import java.io.IOException;
25+
import java.util.ArrayList;
26+
import java.util.List;
2427
import javax.validation.constraints.*;
2528
import javax.validation.Valid;
2629
/**
@@ -48,6 +51,9 @@ public class AllocateIpv6AddressBandwidthRequest {
4851
@SerializedName("ProjectName")
4952
private String projectName = null;
5053

54+
@SerializedName("Tags")
55+
private List<TagForAllocateIpv6AddressBandwidthInput> tags = null;
56+
5157
public AllocateIpv6AddressBandwidthRequest bandwidth(Integer bandwidth) {
5258
this.bandwidth = bandwidth;
5359
return this;
@@ -159,6 +165,33 @@ public void setProjectName(String projectName) {
159165
this.projectName = projectName;
160166
}
161167

168+
public AllocateIpv6AddressBandwidthRequest tags(List<TagForAllocateIpv6AddressBandwidthInput> tags) {
169+
this.tags = tags;
170+
return this;
171+
}
172+
173+
public AllocateIpv6AddressBandwidthRequest addTagsItem(TagForAllocateIpv6AddressBandwidthInput tagsItem) {
174+
if (this.tags == null) {
175+
this.tags = new ArrayList<TagForAllocateIpv6AddressBandwidthInput>();
176+
}
177+
this.tags.add(tagsItem);
178+
return this;
179+
}
180+
181+
/**
182+
* Get tags
183+
* @return tags
184+
**/
185+
@Valid
186+
@Schema(description = "")
187+
public List<TagForAllocateIpv6AddressBandwidthInput> getTags() {
188+
return tags;
189+
}
190+
191+
public void setTags(List<TagForAllocateIpv6AddressBandwidthInput> tags) {
192+
this.tags = tags;
193+
}
194+
162195

163196
@Override
164197
public boolean equals(java.lang.Object o) {
@@ -174,12 +207,13 @@ public boolean equals(java.lang.Object o) {
174207
Objects.equals(this.billingType, allocateIpv6AddressBandwidthRequest.billingType) &&
175208
Objects.equals(this.clientToken, allocateIpv6AddressBandwidthRequest.clientToken) &&
176209
Objects.equals(this.ipv6Address, allocateIpv6AddressBandwidthRequest.ipv6Address) &&
177-
Objects.equals(this.projectName, allocateIpv6AddressBandwidthRequest.projectName);
210+
Objects.equals(this.projectName, allocateIpv6AddressBandwidthRequest.projectName) &&
211+
Objects.equals(this.tags, allocateIpv6AddressBandwidthRequest.tags);
178212
}
179213

180214
@Override
181215
public int hashCode() {
182-
return Objects.hash(bandwidth, bandwidthPackageId, billingType, clientToken, ipv6Address, projectName);
216+
return Objects.hash(bandwidth, bandwidthPackageId, billingType, clientToken, ipv6Address, projectName, tags);
183217
}
184218

185219

@@ -194,6 +228,7 @@ public String toString() {
194228
sb.append(" clientToken: ").append(toIndentedString(clientToken)).append("\n");
195229
sb.append(" ipv6Address: ").append(toIndentedString(ipv6Address)).append("\n");
196230
sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n");
231+
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
197232
sb.append("}");
198233
return sb.toString();
199234
}

volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeIpv6AddressBandwidthAttributesResponse.java

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@
1919
import com.google.gson.annotations.SerializedName;
2020
import com.google.gson.stream.JsonReader;
2121
import com.google.gson.stream.JsonWriter;
22+
import com.volcengine.vpc.model.TagForDescribeIpv6AddressBandwidthAttributesOutput;
2223
import io.swagger.v3.oas.annotations.media.Schema;
2324
import java.io.IOException;
25+
import java.util.ArrayList;
26+
import java.util.List;
2427
import javax.validation.constraints.*;
2528
import javax.validation.Valid;
2629
/**
@@ -87,6 +90,9 @@ public class DescribeIpv6AddressBandwidthAttributesResponse extends com.volcengi
8790
@SerializedName("Status")
8891
private String status = null;
8992

93+
@SerializedName("Tags")
94+
private List<TagForDescribeIpv6AddressBandwidthAttributesOutput> tags = null;
95+
9096
@SerializedName("UpdateTime")
9197
private String updateTime = null;
9298

@@ -432,6 +438,33 @@ public void setStatus(String status) {
432438
this.status = status;
433439
}
434440

441+
public DescribeIpv6AddressBandwidthAttributesResponse tags(List<TagForDescribeIpv6AddressBandwidthAttributesOutput> tags) {
442+
this.tags = tags;
443+
return this;
444+
}
445+
446+
public DescribeIpv6AddressBandwidthAttributesResponse addTagsItem(TagForDescribeIpv6AddressBandwidthAttributesOutput tagsItem) {
447+
if (this.tags == null) {
448+
this.tags = new ArrayList<TagForDescribeIpv6AddressBandwidthAttributesOutput>();
449+
}
450+
this.tags.add(tagsItem);
451+
return this;
452+
}
453+
454+
/**
455+
* Get tags
456+
* @return tags
457+
**/
458+
@Valid
459+
@Schema(description = "")
460+
public List<TagForDescribeIpv6AddressBandwidthAttributesOutput> getTags() {
461+
return tags;
462+
}
463+
464+
public void setTags(List<TagForDescribeIpv6AddressBandwidthAttributesOutput> tags) {
465+
this.tags = tags;
466+
}
467+
435468
public DescribeIpv6AddressBandwidthAttributesResponse updateTime(String updateTime) {
436469
this.updateTime = updateTime;
437470
return this;
@@ -479,12 +512,13 @@ public boolean equals(java.lang.Object o) {
479512
Objects.equals(this.requestId, describeIpv6AddressBandwidthAttributesResponse.requestId) &&
480513
Objects.equals(this.serviceManaged, describeIpv6AddressBandwidthAttributesResponse.serviceManaged) &&
481514
Objects.equals(this.status, describeIpv6AddressBandwidthAttributesResponse.status) &&
515+
Objects.equals(this.tags, describeIpv6AddressBandwidthAttributesResponse.tags) &&
482516
Objects.equals(this.updateTime, describeIpv6AddressBandwidthAttributesResponse.updateTime);
483517
}
484518

485519
@Override
486520
public int hashCode() {
487-
return Objects.hash(allocationId, bandwidth, bandwidthPackageId, billingType, businessStatus, creationTime, deleteTime, ISP, instanceId, instanceType, ipv6Address, ipv6GatewayId, lockReason, networkType, overdueTime, projectName, requestId, serviceManaged, status, updateTime);
521+
return Objects.hash(allocationId, bandwidth, bandwidthPackageId, billingType, businessStatus, creationTime, deleteTime, ISP, instanceId, instanceType, ipv6Address, ipv6GatewayId, lockReason, networkType, overdueTime, projectName, requestId, serviceManaged, status, tags, updateTime);
488522
}
489523

490524

@@ -512,6 +546,7 @@ public String toString() {
512546
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
513547
sb.append(" serviceManaged: ").append(toIndentedString(serviceManaged)).append("\n");
514548
sb.append(" status: ").append(toIndentedString(status)).append("\n");
549+
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
515550
sb.append(" updateTime: ").append(toIndentedString(updateTime)).append("\n");
516551
sb.append("}");
517552
return sb.toString();

volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeIpv6AddressBandwidthsRequest.java

Lines changed: 60 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@
1919
import com.google.gson.annotations.SerializedName;
2020
import com.google.gson.stream.JsonReader;
2121
import com.google.gson.stream.JsonWriter;
22+
import com.volcengine.vpc.model.TagFilterForDescribeIpv6AddressBandwidthsInput;
2223
import io.swagger.v3.oas.annotations.media.Schema;
2324
import java.io.IOException;
25+
import java.util.ArrayList;
26+
import java.util.List;
2427
import javax.validation.constraints.*;
2528
import javax.validation.Valid;
2629
/**
@@ -31,7 +34,7 @@
3134

3235
public class DescribeIpv6AddressBandwidthsRequest {
3336
@SerializedName("AllocationIds")
34-
private String allocationIds = null;
37+
private List<String> allocationIds = null;
3538

3639
@SerializedName("AssociatedInstanceId")
3740
private String associatedInstanceId = null;
@@ -46,7 +49,7 @@ public class DescribeIpv6AddressBandwidthsRequest {
4649
private String ISP = null;
4750

4851
@SerializedName("Ipv6Addresses")
49-
private String ipv6Addresses = null;
52+
private List<String> ipv6Addresses = null;
5053

5154
@SerializedName("MaxResults")
5255
private Integer maxResults = null;
@@ -60,24 +63,35 @@ public class DescribeIpv6AddressBandwidthsRequest {
6063
@SerializedName("ProjectName")
6164
private String projectName = null;
6265

66+
@SerializedName("TagFilters")
67+
private List<TagFilterForDescribeIpv6AddressBandwidthsInput> tagFilters = null;
68+
6369
@SerializedName("VpcId")
6470
private String vpcId = null;
6571

66-
public DescribeIpv6AddressBandwidthsRequest allocationIds(String allocationIds) {
72+
public DescribeIpv6AddressBandwidthsRequest allocationIds(List<String> allocationIds) {
6773
this.allocationIds = allocationIds;
6874
return this;
6975
}
7076

77+
public DescribeIpv6AddressBandwidthsRequest addAllocationIdsItem(String allocationIdsItem) {
78+
if (this.allocationIds == null) {
79+
this.allocationIds = new ArrayList<String>();
80+
}
81+
this.allocationIds.add(allocationIdsItem);
82+
return this;
83+
}
84+
7185
/**
7286
* Get allocationIds
7387
* @return allocationIds
7488
**/
7589
@Schema(description = "")
76-
public String getAllocationIds() {
90+
public List<String> getAllocationIds() {
7791
return allocationIds;
7892
}
7993

80-
public void setAllocationIds(String allocationIds) {
94+
public void setAllocationIds(List<String> allocationIds) {
8195
this.allocationIds = allocationIds;
8296
}
8397

@@ -153,21 +167,29 @@ public void setISP(String ISP) {
153167
this.ISP = ISP;
154168
}
155169

156-
public DescribeIpv6AddressBandwidthsRequest ipv6Addresses(String ipv6Addresses) {
170+
public DescribeIpv6AddressBandwidthsRequest ipv6Addresses(List<String> ipv6Addresses) {
157171
this.ipv6Addresses = ipv6Addresses;
158172
return this;
159173
}
160174

175+
public DescribeIpv6AddressBandwidthsRequest addIpv6AddressesItem(String ipv6AddressesItem) {
176+
if (this.ipv6Addresses == null) {
177+
this.ipv6Addresses = new ArrayList<String>();
178+
}
179+
this.ipv6Addresses.add(ipv6AddressesItem);
180+
return this;
181+
}
182+
161183
/**
162184
* Get ipv6Addresses
163185
* @return ipv6Addresses
164186
**/
165187
@Schema(description = "")
166-
public String getIpv6Addresses() {
188+
public List<String> getIpv6Addresses() {
167189
return ipv6Addresses;
168190
}
169191

170-
public void setIpv6Addresses(String ipv6Addresses) {
192+
public void setIpv6Addresses(List<String> ipv6Addresses) {
171193
this.ipv6Addresses = ipv6Addresses;
172194
}
173195

@@ -243,6 +265,33 @@ public void setProjectName(String projectName) {
243265
this.projectName = projectName;
244266
}
245267

268+
public DescribeIpv6AddressBandwidthsRequest tagFilters(List<TagFilterForDescribeIpv6AddressBandwidthsInput> tagFilters) {
269+
this.tagFilters = tagFilters;
270+
return this;
271+
}
272+
273+
public DescribeIpv6AddressBandwidthsRequest addTagFiltersItem(TagFilterForDescribeIpv6AddressBandwidthsInput tagFiltersItem) {
274+
if (this.tagFilters == null) {
275+
this.tagFilters = new ArrayList<TagFilterForDescribeIpv6AddressBandwidthsInput>();
276+
}
277+
this.tagFilters.add(tagFiltersItem);
278+
return this;
279+
}
280+
281+
/**
282+
* Get tagFilters
283+
* @return tagFilters
284+
**/
285+
@Valid
286+
@Schema(description = "")
287+
public List<TagFilterForDescribeIpv6AddressBandwidthsInput> getTagFilters() {
288+
return tagFilters;
289+
}
290+
291+
public void setTagFilters(List<TagFilterForDescribeIpv6AddressBandwidthsInput> tagFilters) {
292+
this.tagFilters = tagFilters;
293+
}
294+
246295
public DescribeIpv6AddressBandwidthsRequest vpcId(String vpcId) {
247296
this.vpcId = vpcId;
248297
return this;
@@ -281,12 +330,13 @@ public boolean equals(java.lang.Object o) {
281330
Objects.equals(this.networkType, describeIpv6AddressBandwidthsRequest.networkType) &&
282331
Objects.equals(this.nextToken, describeIpv6AddressBandwidthsRequest.nextToken) &&
283332
Objects.equals(this.projectName, describeIpv6AddressBandwidthsRequest.projectName) &&
333+
Objects.equals(this.tagFilters, describeIpv6AddressBandwidthsRequest.tagFilters) &&
284334
Objects.equals(this.vpcId, describeIpv6AddressBandwidthsRequest.vpcId);
285335
}
286336

287337
@Override
288338
public int hashCode() {
289-
return Objects.hash(allocationIds, associatedInstanceId, associatedInstanceType, bandwidthPackageId, ISP, ipv6Addresses, maxResults, networkType, nextToken, projectName, vpcId);
339+
return Objects.hash(allocationIds, associatedInstanceId, associatedInstanceType, bandwidthPackageId, ISP, ipv6Addresses, maxResults, networkType, nextToken, projectName, tagFilters, vpcId);
290340
}
291341

292342

@@ -305,6 +355,7 @@ public String toString() {
305355
sb.append(" networkType: ").append(toIndentedString(networkType)).append("\n");
306356
sb.append(" nextToken: ").append(toIndentedString(nextToken)).append("\n");
307357
sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n");
358+
sb.append(" tagFilters: ").append(toIndentedString(tagFilters)).append("\n");
308359
sb.append(" vpcId: ").append(toIndentedString(vpcId)).append("\n");
309360
sb.append("}");
310361
return sb.toString();

volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeIpv6GatewaysRequest.java

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
public class DescribeIpv6GatewaysRequest {
3636
@SerializedName("Ipv6GatewayIds")
37-
private String ipv6GatewayIds = null;
37+
private List<String> ipv6GatewayIds = null;
3838

3939
@SerializedName("MaxResults")
4040
private Integer maxResults = null;
@@ -52,23 +52,31 @@ public class DescribeIpv6GatewaysRequest {
5252
private List<TagFilterForDescribeIpv6GatewaysInput> tagFilters = null;
5353

5454
@SerializedName("VpcIds")
55-
private String vpcIds = null;
55+
private List<String> vpcIds = null;
5656

57-
public DescribeIpv6GatewaysRequest ipv6GatewayIds(String ipv6GatewayIds) {
57+
public DescribeIpv6GatewaysRequest ipv6GatewayIds(List<String> ipv6GatewayIds) {
5858
this.ipv6GatewayIds = ipv6GatewayIds;
5959
return this;
6060
}
6161

62+
public DescribeIpv6GatewaysRequest addIpv6GatewayIdsItem(String ipv6GatewayIdsItem) {
63+
if (this.ipv6GatewayIds == null) {
64+
this.ipv6GatewayIds = new ArrayList<String>();
65+
}
66+
this.ipv6GatewayIds.add(ipv6GatewayIdsItem);
67+
return this;
68+
}
69+
6270
/**
6371
* Get ipv6GatewayIds
6472
* @return ipv6GatewayIds
6573
**/
6674
@Schema(description = "")
67-
public String getIpv6GatewayIds() {
75+
public List<String> getIpv6GatewayIds() {
6876
return ipv6GatewayIds;
6977
}
7078

71-
public void setIpv6GatewayIds(String ipv6GatewayIds) {
79+
public void setIpv6GatewayIds(List<String> ipv6GatewayIds) {
7280
this.ipv6GatewayIds = ipv6GatewayIds;
7381
}
7482

@@ -171,21 +179,29 @@ public void setTagFilters(List<TagFilterForDescribeIpv6GatewaysInput> tagFilters
171179
this.tagFilters = tagFilters;
172180
}
173181

174-
public DescribeIpv6GatewaysRequest vpcIds(String vpcIds) {
182+
public DescribeIpv6GatewaysRequest vpcIds(List<String> vpcIds) {
175183
this.vpcIds = vpcIds;
176184
return this;
177185
}
178186

187+
public DescribeIpv6GatewaysRequest addVpcIdsItem(String vpcIdsItem) {
188+
if (this.vpcIds == null) {
189+
this.vpcIds = new ArrayList<String>();
190+
}
191+
this.vpcIds.add(vpcIdsItem);
192+
return this;
193+
}
194+
179195
/**
180196
* Get vpcIds
181197
* @return vpcIds
182198
**/
183199
@Schema(description = "")
184-
public String getVpcIds() {
200+
public List<String> getVpcIds() {
185201
return vpcIds;
186202
}
187203

188-
public void setVpcIds(String vpcIds) {
204+
public void setVpcIds(List<String> vpcIds) {
189205
this.vpcIds = vpcIds;
190206
}
191207

0 commit comments

Comments
 (0)