Skip to content

Commit fb82dc6

Browse files
author
BitsAdmin
committed
Merge branch 'rocketmq-Java-2023-01-01-online-1287-2025_06_16_10_06_53' into 'integration_2025-06-19_956533420802'
feat: [development task] RocketMQ-1287-Java (1359910) See merge request iaasng/volcengine-java-sdk!537
2 parents 328ae14 + 7d4fbb0 commit fb82dc6

11 files changed

+1640
-28
lines changed

volcengine-java-sdk-rocketmq/src/main/java/com/volcengine/rocketmq/RocketmqApi.java

Lines changed: 658 additions & 28 deletions
Large diffs are not rendered by default.
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
/*
2+
* rocketmq
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.rocketmq.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+
* AddPLWhitelistRequest
28+
*/
29+
30+
31+
32+
public class AddPLWhitelistRequest {
33+
@SerializedName("AccountId")
34+
private String accountId = null;
35+
36+
@SerializedName("InstanceId")
37+
private String instanceId = null;
38+
39+
public AddPLWhitelistRequest accountId(String accountId) {
40+
this.accountId = accountId;
41+
return this;
42+
}
43+
44+
/**
45+
* Get accountId
46+
* @return accountId
47+
**/
48+
@NotNull
49+
@Schema(required = true, description = "")
50+
public String getAccountId() {
51+
return accountId;
52+
}
53+
54+
public void setAccountId(String accountId) {
55+
this.accountId = accountId;
56+
}
57+
58+
public AddPLWhitelistRequest instanceId(String instanceId) {
59+
this.instanceId = instanceId;
60+
return this;
61+
}
62+
63+
/**
64+
* Get instanceId
65+
* @return instanceId
66+
**/
67+
@NotNull
68+
@Schema(required = true, description = "")
69+
public String getInstanceId() {
70+
return instanceId;
71+
}
72+
73+
public void setInstanceId(String instanceId) {
74+
this.instanceId = instanceId;
75+
}
76+
77+
78+
@Override
79+
public boolean equals(java.lang.Object o) {
80+
if (this == o) {
81+
return true;
82+
}
83+
if (o == null || getClass() != o.getClass()) {
84+
return false;
85+
}
86+
AddPLWhitelistRequest addPLWhitelistRequest = (AddPLWhitelistRequest) o;
87+
return Objects.equals(this.accountId, addPLWhitelistRequest.accountId) &&
88+
Objects.equals(this.instanceId, addPLWhitelistRequest.instanceId);
89+
}
90+
91+
@Override
92+
public int hashCode() {
93+
return Objects.hash(accountId, instanceId);
94+
}
95+
96+
97+
@Override
98+
public String toString() {
99+
StringBuilder sb = new StringBuilder();
100+
sb.append("class AddPLWhitelistRequest {\n");
101+
102+
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
103+
sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n");
104+
sb.append("}");
105+
return sb.toString();
106+
}
107+
108+
/**
109+
* Convert the given object to string with each line indented by 4 spaces
110+
* (except the first line).
111+
*/
112+
private String toIndentedString(java.lang.Object o) {
113+
if (o == null) {
114+
return "null";
115+
}
116+
return o.toString().replace("\n", "\n ");
117+
}
118+
119+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/*
2+
* rocketmq
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.rocketmq.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import javax.validation.constraints.*;
18+
import javax.validation.Valid;
19+
/**
20+
* AddPLWhitelistResponse
21+
*/
22+
23+
24+
25+
public class AddPLWhitelistResponse 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 AddPLWhitelistResponse {\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+
}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/*
2+
* rocketmq
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.rocketmq.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+
* CreatePrivateLinkRequest
28+
*/
29+
30+
31+
32+
public class CreatePrivateLinkRequest {
33+
@SerializedName("InstanceId")
34+
private String instanceId = null;
35+
36+
public CreatePrivateLinkRequest instanceId(String instanceId) {
37+
this.instanceId = instanceId;
38+
return this;
39+
}
40+
41+
/**
42+
* Get instanceId
43+
* @return instanceId
44+
**/
45+
@NotNull
46+
@Schema(required = true, description = "")
47+
public String getInstanceId() {
48+
return instanceId;
49+
}
50+
51+
public void setInstanceId(String instanceId) {
52+
this.instanceId = instanceId;
53+
}
54+
55+
56+
@Override
57+
public boolean equals(java.lang.Object o) {
58+
if (this == o) {
59+
return true;
60+
}
61+
if (o == null || getClass() != o.getClass()) {
62+
return false;
63+
}
64+
CreatePrivateLinkRequest createPrivateLinkRequest = (CreatePrivateLinkRequest) o;
65+
return Objects.equals(this.instanceId, createPrivateLinkRequest.instanceId);
66+
}
67+
68+
@Override
69+
public int hashCode() {
70+
return Objects.hash(instanceId);
71+
}
72+
73+
74+
@Override
75+
public String toString() {
76+
StringBuilder sb = new StringBuilder();
77+
sb.append("class CreatePrivateLinkRequest {\n");
78+
79+
sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n");
80+
sb.append("}");
81+
return sb.toString();
82+
}
83+
84+
/**
85+
* Convert the given object to string with each line indented by 4 spaces
86+
* (except the first line).
87+
*/
88+
private String toIndentedString(java.lang.Object o) {
89+
if (o == null) {
90+
return "null";
91+
}
92+
return o.toString().replace("\n", "\n ");
93+
}
94+
95+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
/*
2+
* rocketmq
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.rocketmq.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+
* CreatePrivateLinkResponse
28+
*/
29+
30+
31+
32+
public class CreatePrivateLinkResponse extends com.volcengine.model.AbstractResponse {
33+
@SerializedName("InstanceId")
34+
private String instanceId = null;
35+
36+
@SerializedName("PrivateLinkId")
37+
private String privateLinkId = null;
38+
39+
public CreatePrivateLinkResponse instanceId(String instanceId) {
40+
this.instanceId = instanceId;
41+
return this;
42+
}
43+
44+
/**
45+
* Get instanceId
46+
* @return instanceId
47+
**/
48+
@Schema(description = "")
49+
public String getInstanceId() {
50+
return instanceId;
51+
}
52+
53+
public void setInstanceId(String instanceId) {
54+
this.instanceId = instanceId;
55+
}
56+
57+
public CreatePrivateLinkResponse privateLinkId(String privateLinkId) {
58+
this.privateLinkId = privateLinkId;
59+
return this;
60+
}
61+
62+
/**
63+
* Get privateLinkId
64+
* @return privateLinkId
65+
**/
66+
@Schema(description = "")
67+
public String getPrivateLinkId() {
68+
return privateLinkId;
69+
}
70+
71+
public void setPrivateLinkId(String privateLinkId) {
72+
this.privateLinkId = privateLinkId;
73+
}
74+
75+
76+
@Override
77+
public boolean equals(java.lang.Object o) {
78+
if (this == o) {
79+
return true;
80+
}
81+
if (o == null || getClass() != o.getClass()) {
82+
return false;
83+
}
84+
CreatePrivateLinkResponse createPrivateLinkResponse = (CreatePrivateLinkResponse) o;
85+
return Objects.equals(this.instanceId, createPrivateLinkResponse.instanceId) &&
86+
Objects.equals(this.privateLinkId, createPrivateLinkResponse.privateLinkId);
87+
}
88+
89+
@Override
90+
public int hashCode() {
91+
return Objects.hash(instanceId, privateLinkId);
92+
}
93+
94+
95+
@Override
96+
public String toString() {
97+
StringBuilder sb = new StringBuilder();
98+
sb.append("class CreatePrivateLinkResponse {\n");
99+
100+
sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n");
101+
sb.append(" privateLinkId: ").append(toIndentedString(privateLinkId)).append("\n");
102+
sb.append("}");
103+
return sb.toString();
104+
}
105+
106+
/**
107+
* Convert the given object to string with each line indented by 4 spaces
108+
* (except the first line).
109+
*/
110+
private String toIndentedString(java.lang.Object o) {
111+
if (o == null) {
112+
return "null";
113+
}
114+
return o.toString().replace("\n", "\n ");
115+
}
116+
117+
}

0 commit comments

Comments
 (0)