Skip to content

Commit 35dfe68

Browse files
author
BitsAdmin
committed
Merge branch 'rds_postgresql-Java-2022-01-01-online-1032-2025_03_17_19_10_02' into 'integration_2025-03-20_797631155970'
feat: [development task] rds_postgresql-1032-Java (1094079) See merge request iaasng/volcengine-java-sdk!417
2 parents 4b94d4b + b6c5dc5 commit 35dfe68

File tree

182 files changed

+36265
-0
lines changed

Some content is hidden

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

182 files changed

+36265
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@
270270
<module>volcengine-java-sdk-dataleap</module>
271271
<module>volcengine-java-sdk-emr</module>
272272
<module>volcengine-java-sdk-certificateservice</module>
273+
<module>volcengine-java-sdk-rdspostgresql</module>
273274
<module>volcengine-java-sdk-clouddetect</module>
274275
</modules>
275276
</project>

volcengine-java-sdk-bom/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,12 @@
385385
<optional>false</optional>
386386
<version>${project.version}</version>
387387
</dependency>
388+
<dependency>
389+
<groupId>com.volcengine</groupId>
390+
<artifactId>volcengine-java-sdk-rdspostgresql</artifactId>
391+
<optional>false</optional>
392+
<version>${project.version}</version>
393+
</dependency>
388394
<dependency>
389395
<groupId>com.volcengine</groupId>
390396
<artifactId>volcengine-java-sdk-clouddetect</artifactId>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<parent>
4+
<artifactId>volcengine-java-sdk</artifactId>
5+
<groupId>com.volcengine</groupId>
6+
<version>0.1.157</version>
7+
<relativePath>../pom.xml</relativePath>
8+
</parent>
9+
<modelVersion>4.0.0</modelVersion>
10+
<artifactId>volcengine-java-sdk-rdspostgresql</artifactId>
11+
<dependencies>
12+
<dependency>
13+
<groupId>com.volcengine</groupId>
14+
<artifactId>volcengine-java-sdk-core</artifactId>
15+
<version>${project.version}</version>
16+
</dependency>
17+
</dependencies>
18+
<build>
19+
<plugins>
20+
<plugin>
21+
<groupId>org.apache.maven.plugins</groupId>
22+
<artifactId>maven-source-plugin</artifactId>
23+
<configuration>
24+
<excludes>
25+
<exclude>com/volcengine/rdspostgresql/examples/**</exclude>
26+
</excludes>
27+
</configuration>
28+
</plugin>
29+
<plugin>
30+
<groupId>org.apache.maven.plugins</groupId>
31+
<artifactId>maven-jar-plugin</artifactId>
32+
<configuration>
33+
<excludes>
34+
<exclude>com/volcengine/rdspostgresql/examples/**</exclude>
35+
</excludes>
36+
</configuration>
37+
</plugin>
38+
</plugins>
39+
</build>
40+
</project>

volcengine-java-sdk-rdspostgresql/src/main/java/com/volcengine/rdspostgresql/RdsPostgresqlApi.java

Lines changed: 7994 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
/*
2+
* rds_postgresql
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.rdspostgresql.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+
* AccountForDescribeDBAccountsOutput
28+
*/
29+
30+
31+
32+
public class AccountForDescribeDBAccountsOutput {
33+
@SerializedName("AccountName")
34+
private String accountName = null;
35+
36+
@SerializedName("AccountPrivileges")
37+
private String accountPrivileges = null;
38+
39+
@SerializedName("AccountStatus")
40+
private String accountStatus = null;
41+
42+
@SerializedName("AccountType")
43+
private String accountType = null;
44+
45+
public AccountForDescribeDBAccountsOutput accountName(String accountName) {
46+
this.accountName = accountName;
47+
return this;
48+
}
49+
50+
/**
51+
* Get accountName
52+
* @return accountName
53+
**/
54+
@Schema(description = "")
55+
public String getAccountName() {
56+
return accountName;
57+
}
58+
59+
public void setAccountName(String accountName) {
60+
this.accountName = accountName;
61+
}
62+
63+
public AccountForDescribeDBAccountsOutput accountPrivileges(String accountPrivileges) {
64+
this.accountPrivileges = accountPrivileges;
65+
return this;
66+
}
67+
68+
/**
69+
* Get accountPrivileges
70+
* @return accountPrivileges
71+
**/
72+
@Schema(description = "")
73+
public String getAccountPrivileges() {
74+
return accountPrivileges;
75+
}
76+
77+
public void setAccountPrivileges(String accountPrivileges) {
78+
this.accountPrivileges = accountPrivileges;
79+
}
80+
81+
public AccountForDescribeDBAccountsOutput accountStatus(String accountStatus) {
82+
this.accountStatus = accountStatus;
83+
return this;
84+
}
85+
86+
/**
87+
* Get accountStatus
88+
* @return accountStatus
89+
**/
90+
@Schema(description = "")
91+
public String getAccountStatus() {
92+
return accountStatus;
93+
}
94+
95+
public void setAccountStatus(String accountStatus) {
96+
this.accountStatus = accountStatus;
97+
}
98+
99+
public AccountForDescribeDBAccountsOutput accountType(String accountType) {
100+
this.accountType = accountType;
101+
return this;
102+
}
103+
104+
/**
105+
* Get accountType
106+
* @return accountType
107+
**/
108+
@Schema(description = "")
109+
public String getAccountType() {
110+
return accountType;
111+
}
112+
113+
public void setAccountType(String accountType) {
114+
this.accountType = accountType;
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+
AccountForDescribeDBAccountsOutput accountForDescribeDBAccountsOutput = (AccountForDescribeDBAccountsOutput) o;
127+
return Objects.equals(this.accountName, accountForDescribeDBAccountsOutput.accountName) &&
128+
Objects.equals(this.accountPrivileges, accountForDescribeDBAccountsOutput.accountPrivileges) &&
129+
Objects.equals(this.accountStatus, accountForDescribeDBAccountsOutput.accountStatus) &&
130+
Objects.equals(this.accountType, accountForDescribeDBAccountsOutput.accountType);
131+
}
132+
133+
@Override
134+
public int hashCode() {
135+
return Objects.hash(accountName, accountPrivileges, accountStatus, accountType);
136+
}
137+
138+
139+
@Override
140+
public String toString() {
141+
StringBuilder sb = new StringBuilder();
142+
sb.append("class AccountForDescribeDBAccountsOutput {\n");
143+
144+
sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n");
145+
sb.append(" accountPrivileges: ").append(toIndentedString(accountPrivileges)).append("\n");
146+
sb.append(" accountStatus: ").append(toIndentedString(accountStatus)).append("\n");
147+
sb.append(" accountType: ").append(toIndentedString(accountType)).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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
/*
2+
* rds_postgresql
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.rdspostgresql.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 com.volcengine.rdspostgresql.model.TagForAddTagsToResourceInput;
23+
import io.swagger.v3.oas.annotations.media.Schema;
24+
import java.io.IOException;
25+
import java.util.ArrayList;
26+
import java.util.List;
27+
import javax.validation.constraints.*;
28+
import javax.validation.Valid;
29+
/**
30+
* AddTagsToResourceRequest
31+
*/
32+
33+
34+
35+
public class AddTagsToResourceRequest {
36+
@SerializedName("InstanceIds")
37+
private List<String> instanceIds = null;
38+
39+
@SerializedName("Tags")
40+
private List<TagForAddTagsToResourceInput> tags = null;
41+
42+
public AddTagsToResourceRequest instanceIds(List<String> instanceIds) {
43+
this.instanceIds = instanceIds;
44+
return this;
45+
}
46+
47+
public AddTagsToResourceRequest addInstanceIdsItem(String instanceIdsItem) {
48+
if (this.instanceIds == null) {
49+
this.instanceIds = new ArrayList<String>();
50+
}
51+
this.instanceIds.add(instanceIdsItem);
52+
return this;
53+
}
54+
55+
/**
56+
* Get instanceIds
57+
* @return instanceIds
58+
**/
59+
@Schema(description = "")
60+
public List<String> getInstanceIds() {
61+
return instanceIds;
62+
}
63+
64+
public void setInstanceIds(List<String> instanceIds) {
65+
this.instanceIds = instanceIds;
66+
}
67+
68+
public AddTagsToResourceRequest tags(List<TagForAddTagsToResourceInput> tags) {
69+
this.tags = tags;
70+
return this;
71+
}
72+
73+
public AddTagsToResourceRequest addTagsItem(TagForAddTagsToResourceInput tagsItem) {
74+
if (this.tags == null) {
75+
this.tags = new ArrayList<TagForAddTagsToResourceInput>();
76+
}
77+
this.tags.add(tagsItem);
78+
return this;
79+
}
80+
81+
/**
82+
* Get tags
83+
* @return tags
84+
**/
85+
@Valid
86+
@Schema(description = "")
87+
public List<TagForAddTagsToResourceInput> getTags() {
88+
return tags;
89+
}
90+
91+
public void setTags(List<TagForAddTagsToResourceInput> tags) {
92+
this.tags = tags;
93+
}
94+
95+
96+
@Override
97+
public boolean equals(java.lang.Object o) {
98+
if (this == o) {
99+
return true;
100+
}
101+
if (o == null || getClass() != o.getClass()) {
102+
return false;
103+
}
104+
AddTagsToResourceRequest addTagsToResourceRequest = (AddTagsToResourceRequest) o;
105+
return Objects.equals(this.instanceIds, addTagsToResourceRequest.instanceIds) &&
106+
Objects.equals(this.tags, addTagsToResourceRequest.tags);
107+
}
108+
109+
@Override
110+
public int hashCode() {
111+
return Objects.hash(instanceIds, tags);
112+
}
113+
114+
115+
@Override
116+
public String toString() {
117+
StringBuilder sb = new StringBuilder();
118+
sb.append("class AddTagsToResourceRequest {\n");
119+
120+
sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n");
121+
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
122+
sb.append("}");
123+
return sb.toString();
124+
}
125+
126+
/**
127+
* Convert the given object to string with each line indented by 4 spaces
128+
* (except the first line).
129+
*/
130+
private String toIndentedString(java.lang.Object o) {
131+
if (o == null) {
132+
return "null";
133+
}
134+
return o.toString().replace("\n", "\n ");
135+
}
136+
137+
}

0 commit comments

Comments
 (0)