Skip to content

Commit f59049b

Browse files
author
BitsAdmin
committed
Merge branch 'transitrouter-Java-2020-04-01-online-1483-2025_08_26_21_10_31' into 'integration_2025-09-11_1051496837890'
feat: [development task] transitrouter-1483-Java (1649379) See merge request iaasng/volcengine-java-sdk!655
2 parents 1494957 + 8755c71 commit f59049b

File tree

62 files changed

+10172
-672
lines changed

Some content is hidden

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

62 files changed

+10172
-672
lines changed

volcengine-java-sdk-transitrouter/src/main/java/com/volcengine/transitrouter/TransitrouterApi.java

Lines changed: 2922 additions & 654 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
/*
2+
* transitrouter
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.transitrouter.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+
* AssociateTransitRouterMulticastDomainRequest
28+
*/
29+
30+
31+
32+
public class AssociateTransitRouterMulticastDomainRequest {
33+
@SerializedName("SubnetId")
34+
private String subnetId = null;
35+
36+
@SerializedName("TransitRouterAttachmentId")
37+
private String transitRouterAttachmentId = null;
38+
39+
@SerializedName("TransitRouterMulticastDomainId")
40+
private String transitRouterMulticastDomainId = null;
41+
42+
public AssociateTransitRouterMulticastDomainRequest subnetId(String subnetId) {
43+
this.subnetId = subnetId;
44+
return this;
45+
}
46+
47+
/**
48+
* Get subnetId
49+
* @return subnetId
50+
**/
51+
@NotNull
52+
@Schema(required = true, description = "")
53+
public String getSubnetId() {
54+
return subnetId;
55+
}
56+
57+
public void setSubnetId(String subnetId) {
58+
this.subnetId = subnetId;
59+
}
60+
61+
public AssociateTransitRouterMulticastDomainRequest transitRouterAttachmentId(String transitRouterAttachmentId) {
62+
this.transitRouterAttachmentId = transitRouterAttachmentId;
63+
return this;
64+
}
65+
66+
/**
67+
* Get transitRouterAttachmentId
68+
* @return transitRouterAttachmentId
69+
**/
70+
@NotNull
71+
@Schema(required = true, description = "")
72+
public String getTransitRouterAttachmentId() {
73+
return transitRouterAttachmentId;
74+
}
75+
76+
public void setTransitRouterAttachmentId(String transitRouterAttachmentId) {
77+
this.transitRouterAttachmentId = transitRouterAttachmentId;
78+
}
79+
80+
public AssociateTransitRouterMulticastDomainRequest transitRouterMulticastDomainId(String transitRouterMulticastDomainId) {
81+
this.transitRouterMulticastDomainId = transitRouterMulticastDomainId;
82+
return this;
83+
}
84+
85+
/**
86+
* Get transitRouterMulticastDomainId
87+
* @return transitRouterMulticastDomainId
88+
**/
89+
@NotNull
90+
@Schema(required = true, description = "")
91+
public String getTransitRouterMulticastDomainId() {
92+
return transitRouterMulticastDomainId;
93+
}
94+
95+
public void setTransitRouterMulticastDomainId(String transitRouterMulticastDomainId) {
96+
this.transitRouterMulticastDomainId = transitRouterMulticastDomainId;
97+
}
98+
99+
100+
@Override
101+
public boolean equals(java.lang.Object o) {
102+
if (this == o) {
103+
return true;
104+
}
105+
if (o == null || getClass() != o.getClass()) {
106+
return false;
107+
}
108+
AssociateTransitRouterMulticastDomainRequest associateTransitRouterMulticastDomainRequest = (AssociateTransitRouterMulticastDomainRequest) o;
109+
return Objects.equals(this.subnetId, associateTransitRouterMulticastDomainRequest.subnetId) &&
110+
Objects.equals(this.transitRouterAttachmentId, associateTransitRouterMulticastDomainRequest.transitRouterAttachmentId) &&
111+
Objects.equals(this.transitRouterMulticastDomainId, associateTransitRouterMulticastDomainRequest.transitRouterMulticastDomainId);
112+
}
113+
114+
@Override
115+
public int hashCode() {
116+
return Objects.hash(subnetId, transitRouterAttachmentId, transitRouterMulticastDomainId);
117+
}
118+
119+
120+
@Override
121+
public String toString() {
122+
StringBuilder sb = new StringBuilder();
123+
sb.append("class AssociateTransitRouterMulticastDomainRequest {\n");
124+
125+
sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n");
126+
sb.append(" transitRouterAttachmentId: ").append(toIndentedString(transitRouterAttachmentId)).append("\n");
127+
sb.append(" transitRouterMulticastDomainId: ").append(toIndentedString(transitRouterMulticastDomainId)).append("\n");
128+
sb.append("}");
129+
return sb.toString();
130+
}
131+
132+
/**
133+
* Convert the given object to string with each line indented by 4 spaces
134+
* (except the first line).
135+
*/
136+
private String toIndentedString(java.lang.Object o) {
137+
if (o == null) {
138+
return "null";
139+
}
140+
return o.toString().replace("\n", "\n ");
141+
}
142+
143+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/*
2+
* transitrouter
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.transitrouter.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import javax.validation.constraints.*;
18+
import javax.validation.Valid;
19+
/**
20+
* AssociateTransitRouterMulticastDomainResponse
21+
*/
22+
23+
24+
25+
public class AssociateTransitRouterMulticastDomainResponse 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 AssociateTransitRouterMulticastDomainResponse {\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+
}

volcengine-java-sdk-transitrouter/src/main/java/com/volcengine/transitrouter/model/CreateTransitRouterBandwidthPackageRequest.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ public class CreateTransitRouterBandwidthPackageRequest {
4545
@SerializedName("Description")
4646
private String description = null;
4747

48+
@SerializedName("LineOperator")
49+
private String lineOperator = null;
50+
4851
@SerializedName("LocalGeographicRegionSetId")
4952
private String localGeographicRegionSetId = null;
5053

@@ -138,6 +141,24 @@ public void setDescription(String description) {
138141
this.description = description;
139142
}
140143

144+
public CreateTransitRouterBandwidthPackageRequest lineOperator(String lineOperator) {
145+
this.lineOperator = lineOperator;
146+
return this;
147+
}
148+
149+
/**
150+
* Get lineOperator
151+
* @return lineOperator
152+
**/
153+
@Schema(description = "")
154+
public String getLineOperator() {
155+
return lineOperator;
156+
}
157+
158+
public void setLineOperator(String lineOperator) {
159+
this.lineOperator = lineOperator;
160+
}
161+
141162
public CreateTransitRouterBandwidthPackageRequest localGeographicRegionSetId(String localGeographicRegionSetId) {
142163
this.localGeographicRegionSetId = localGeographicRegionSetId;
143164
return this;
@@ -289,6 +310,7 @@ public boolean equals(java.lang.Object o) {
289310
Objects.equals(this.billingType, createTransitRouterBandwidthPackageRequest.billingType) &&
290311
Objects.equals(this.clientToken, createTransitRouterBandwidthPackageRequest.clientToken) &&
291312
Objects.equals(this.description, createTransitRouterBandwidthPackageRequest.description) &&
313+
Objects.equals(this.lineOperator, createTransitRouterBandwidthPackageRequest.lineOperator) &&
292314
Objects.equals(this.localGeographicRegionSetId, createTransitRouterBandwidthPackageRequest.localGeographicRegionSetId) &&
293315
Objects.equals(this.peerGeographicRegionSetId, createTransitRouterBandwidthPackageRequest.peerGeographicRegionSetId) &&
294316
Objects.equals(this.period, createTransitRouterBandwidthPackageRequest.period) &&
@@ -300,7 +322,7 @@ public boolean equals(java.lang.Object o) {
300322

301323
@Override
302324
public int hashCode() {
303-
return Objects.hash(bandwidth, billingType, clientToken, description, localGeographicRegionSetId, peerGeographicRegionSetId, period, periodUnit, projectName, tags, transitRouterBandwidthPackageName);
325+
return Objects.hash(bandwidth, billingType, clientToken, description, lineOperator, localGeographicRegionSetId, peerGeographicRegionSetId, period, periodUnit, projectName, tags, transitRouterBandwidthPackageName);
304326
}
305327

306328

@@ -313,6 +335,7 @@ public String toString() {
313335
sb.append(" billingType: ").append(toIndentedString(billingType)).append("\n");
314336
sb.append(" clientToken: ").append(toIndentedString(clientToken)).append("\n");
315337
sb.append(" description: ").append(toIndentedString(description)).append("\n");
338+
sb.append(" lineOperator: ").append(toIndentedString(lineOperator)).append("\n");
316339
sb.append(" localGeographicRegionSetId: ").append(toIndentedString(localGeographicRegionSetId)).append("\n");
317340
sb.append(" peerGeographicRegionSetId: ").append(toIndentedString(peerGeographicRegionSetId)).append("\n");
318341
sb.append(" period: ").append(toIndentedString(period)).append("\n");

0 commit comments

Comments
 (0)