Skip to content

Commit 529bfa2

Browse files
author
BitsAdmin
committed
Merge branch 'rabbitmq-Java-2022-01-01-online-1822-2025_11_14_15_25_20' into 'integration_2025-11-27_1087993550082'
feat: [development task] RabbitMQ-1822-Java (1876776) See merge request iaasng/volcengine-java-sdk!766
2 parents b4a0fcd + 8d9d68c commit 529bfa2

22 files changed

+3586
-197
lines changed

volcengine-java-sdk-rabbitmq/src/main/java/com/volcengine/rabbitmq/RabbitmqApi.java

Lines changed: 1167 additions & 159 deletions
Large diffs are not rendered by default.
Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
/*
2+
* rabbitmq
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.rabbitmq.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+
* AllowListForDescribeAllowListsOutput
28+
*/
29+
30+
31+
32+
public class AllowListForDescribeAllowListsOutput {
33+
@SerializedName("AllowListDesc")
34+
private String allowListDesc = null;
35+
36+
@SerializedName("AllowListIPNum")
37+
private Long allowListIPNum = null;
38+
39+
@SerializedName("AllowListId")
40+
private String allowListId = null;
41+
42+
@SerializedName("AllowListName")
43+
private String allowListName = null;
44+
45+
@SerializedName("AllowListType")
46+
private String allowListType = null;
47+
48+
@SerializedName("AssociatedInstanceNum")
49+
private Long associatedInstanceNum = null;
50+
51+
public AllowListForDescribeAllowListsOutput allowListDesc(String allowListDesc) {
52+
this.allowListDesc = allowListDesc;
53+
return this;
54+
}
55+
56+
/**
57+
* Get allowListDesc
58+
* @return allowListDesc
59+
**/
60+
@Schema(description = "")
61+
public String getAllowListDesc() {
62+
return allowListDesc;
63+
}
64+
65+
public void setAllowListDesc(String allowListDesc) {
66+
this.allowListDesc = allowListDesc;
67+
}
68+
69+
public AllowListForDescribeAllowListsOutput allowListIPNum(Long allowListIPNum) {
70+
this.allowListIPNum = allowListIPNum;
71+
return this;
72+
}
73+
74+
/**
75+
* Get allowListIPNum
76+
* @return allowListIPNum
77+
**/
78+
@Schema(description = "")
79+
public Long getAllowListIPNum() {
80+
return allowListIPNum;
81+
}
82+
83+
public void setAllowListIPNum(Long allowListIPNum) {
84+
this.allowListIPNum = allowListIPNum;
85+
}
86+
87+
public AllowListForDescribeAllowListsOutput allowListId(String allowListId) {
88+
this.allowListId = allowListId;
89+
return this;
90+
}
91+
92+
/**
93+
* Get allowListId
94+
* @return allowListId
95+
**/
96+
@Schema(description = "")
97+
public String getAllowListId() {
98+
return allowListId;
99+
}
100+
101+
public void setAllowListId(String allowListId) {
102+
this.allowListId = allowListId;
103+
}
104+
105+
public AllowListForDescribeAllowListsOutput allowListName(String allowListName) {
106+
this.allowListName = allowListName;
107+
return this;
108+
}
109+
110+
/**
111+
* Get allowListName
112+
* @return allowListName
113+
**/
114+
@Schema(description = "")
115+
public String getAllowListName() {
116+
return allowListName;
117+
}
118+
119+
public void setAllowListName(String allowListName) {
120+
this.allowListName = allowListName;
121+
}
122+
123+
public AllowListForDescribeAllowListsOutput allowListType(String allowListType) {
124+
this.allowListType = allowListType;
125+
return this;
126+
}
127+
128+
/**
129+
* Get allowListType
130+
* @return allowListType
131+
**/
132+
@Schema(description = "")
133+
public String getAllowListType() {
134+
return allowListType;
135+
}
136+
137+
public void setAllowListType(String allowListType) {
138+
this.allowListType = allowListType;
139+
}
140+
141+
public AllowListForDescribeAllowListsOutput associatedInstanceNum(Long associatedInstanceNum) {
142+
this.associatedInstanceNum = associatedInstanceNum;
143+
return this;
144+
}
145+
146+
/**
147+
* Get associatedInstanceNum
148+
* @return associatedInstanceNum
149+
**/
150+
@Schema(description = "")
151+
public Long getAssociatedInstanceNum() {
152+
return associatedInstanceNum;
153+
}
154+
155+
public void setAssociatedInstanceNum(Long associatedInstanceNum) {
156+
this.associatedInstanceNum = associatedInstanceNum;
157+
}
158+
159+
160+
@Override
161+
public boolean equals(java.lang.Object o) {
162+
if (this == o) {
163+
return true;
164+
}
165+
if (o == null || getClass() != o.getClass()) {
166+
return false;
167+
}
168+
AllowListForDescribeAllowListsOutput allowListForDescribeAllowListsOutput = (AllowListForDescribeAllowListsOutput) o;
169+
return Objects.equals(this.allowListDesc, allowListForDescribeAllowListsOutput.allowListDesc) &&
170+
Objects.equals(this.allowListIPNum, allowListForDescribeAllowListsOutput.allowListIPNum) &&
171+
Objects.equals(this.allowListId, allowListForDescribeAllowListsOutput.allowListId) &&
172+
Objects.equals(this.allowListName, allowListForDescribeAllowListsOutput.allowListName) &&
173+
Objects.equals(this.allowListType, allowListForDescribeAllowListsOutput.allowListType) &&
174+
Objects.equals(this.associatedInstanceNum, allowListForDescribeAllowListsOutput.associatedInstanceNum);
175+
}
176+
177+
@Override
178+
public int hashCode() {
179+
return Objects.hash(allowListDesc, allowListIPNum, allowListId, allowListName, allowListType, associatedInstanceNum);
180+
}
181+
182+
183+
@Override
184+
public String toString() {
185+
StringBuilder sb = new StringBuilder();
186+
sb.append("class AllowListForDescribeAllowListsOutput {\n");
187+
188+
sb.append(" allowListDesc: ").append(toIndentedString(allowListDesc)).append("\n");
189+
sb.append(" allowListIPNum: ").append(toIndentedString(allowListIPNum)).append("\n");
190+
sb.append(" allowListId: ").append(toIndentedString(allowListId)).append("\n");
191+
sb.append(" allowListName: ").append(toIndentedString(allowListName)).append("\n");
192+
sb.append(" allowListType: ").append(toIndentedString(allowListType)).append("\n");
193+
sb.append(" associatedInstanceNum: ").append(toIndentedString(associatedInstanceNum)).append("\n");
194+
sb.append("}");
195+
return sb.toString();
196+
}
197+
198+
/**
199+
* Convert the given object to string with each line indented by 4 spaces
200+
* (except the first line).
201+
*/
202+
private String toIndentedString(java.lang.Object o) {
203+
if (o == null) {
204+
return "null";
205+
}
206+
return o.toString().replace("\n", "\n ");
207+
}
208+
209+
}
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
/*
2+
* rabbitmq
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.rabbitmq.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+
* AssociateAllowListRequest
30+
*/
31+
32+
33+
34+
public class AssociateAllowListRequest {
35+
@SerializedName("AllowListIds")
36+
private List<String> allowListIds = null;
37+
38+
@SerializedName("InstanceIds")
39+
private List<String> instanceIds = null;
40+
41+
public AssociateAllowListRequest allowListIds(List<String> allowListIds) {
42+
this.allowListIds = allowListIds;
43+
return this;
44+
}
45+
46+
public AssociateAllowListRequest addAllowListIdsItem(String allowListIdsItem) {
47+
if (this.allowListIds == null) {
48+
this.allowListIds = new ArrayList<String>();
49+
}
50+
this.allowListIds.add(allowListIdsItem);
51+
return this;
52+
}
53+
54+
/**
55+
* Get allowListIds
56+
* @return allowListIds
57+
**/
58+
@Schema(description = "")
59+
public List<String> getAllowListIds() {
60+
return allowListIds;
61+
}
62+
63+
public void setAllowListIds(List<String> allowListIds) {
64+
this.allowListIds = allowListIds;
65+
}
66+
67+
public AssociateAllowListRequest instanceIds(List<String> instanceIds) {
68+
this.instanceIds = instanceIds;
69+
return this;
70+
}
71+
72+
public AssociateAllowListRequest addInstanceIdsItem(String instanceIdsItem) {
73+
if (this.instanceIds == null) {
74+
this.instanceIds = new ArrayList<String>();
75+
}
76+
this.instanceIds.add(instanceIdsItem);
77+
return this;
78+
}
79+
80+
/**
81+
* Get instanceIds
82+
* @return instanceIds
83+
**/
84+
@Schema(description = "")
85+
public List<String> getInstanceIds() {
86+
return instanceIds;
87+
}
88+
89+
public void setInstanceIds(List<String> instanceIds) {
90+
this.instanceIds = instanceIds;
91+
}
92+
93+
94+
@Override
95+
public boolean equals(java.lang.Object o) {
96+
if (this == o) {
97+
return true;
98+
}
99+
if (o == null || getClass() != o.getClass()) {
100+
return false;
101+
}
102+
AssociateAllowListRequest associateAllowListRequest = (AssociateAllowListRequest) o;
103+
return Objects.equals(this.allowListIds, associateAllowListRequest.allowListIds) &&
104+
Objects.equals(this.instanceIds, associateAllowListRequest.instanceIds);
105+
}
106+
107+
@Override
108+
public int hashCode() {
109+
return Objects.hash(allowListIds, instanceIds);
110+
}
111+
112+
113+
@Override
114+
public String toString() {
115+
StringBuilder sb = new StringBuilder();
116+
sb.append("class AssociateAllowListRequest {\n");
117+
118+
sb.append(" allowListIds: ").append(toIndentedString(allowListIds)).append("\n");
119+
sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n");
120+
sb.append("}");
121+
return sb.toString();
122+
}
123+
124+
/**
125+
* Convert the given object to string with each line indented by 4 spaces
126+
* (except the first line).
127+
*/
128+
private String toIndentedString(java.lang.Object o) {
129+
if (o == null) {
130+
return "null";
131+
}
132+
return o.toString().replace("\n", "\n ");
133+
}
134+
135+
}

0 commit comments

Comments
 (0)