Skip to content

Commit a6ca793

Browse files
author
BitsAdmin
committed
Merge branch 'resource_share-Java-2024-01-01-online-1595-2025_09_17_19_48_32' into 'integration_2025-09-18_1055333217026'
feat: [development task] resource_share-1595-Java (1671738) See merge request iaasng/volcengine-java-sdk!668
2 parents b132e97 + 68c0096 commit a6ca793

File tree

62 files changed

+10766
-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.

62 files changed

+10766
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,5 +306,6 @@
306306
<module>volcengine-java-sdk-bmq</module>
307307
<module>volcengine-java-sdk-cloudidentity</module>
308308
<module>volcengine-java-sdk-vikingdb</module>
309+
<module>volcengine-java-sdk-resourceshare</module>
309310
</modules>
310311
</project>

volcengine-java-sdk-bom/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,12 @@
595595
<optional>false</optional>
596596
<version>${project.version}</version>
597597
</dependency>
598+
<dependency>
599+
<groupId>com.volcengine</groupId>
600+
<artifactId>volcengine-java-sdk-resourceshare</artifactId>
601+
<optional>false</optional>
602+
<version>${project.version}</version>
603+
</dependency>
598604
</dependencies>
599605
</dependencyManagement>
600606
</project>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.2.35</version>
7+
<relativePath>../pom.xml</relativePath>
8+
</parent>
9+
<modelVersion>4.0.0</modelVersion>
10+
<artifactId>volcengine-java-sdk-resourceshare</artifactId>
11+
<name>volcengine-java-sdk-resourceshare</name>
12+
<description>The Java SDK for Volcengine resourceshare</description>
13+
<dependencies>
14+
<dependency>
15+
<groupId>com.volcengine</groupId>
16+
<artifactId>volcengine-java-sdk-core</artifactId>
17+
<version>${project.version}</version>
18+
</dependency>
19+
</dependencies>
20+
<build>
21+
<plugins>
22+
<plugin>
23+
<groupId>org.apache.maven.plugins</groupId>
24+
<artifactId>maven-source-plugin</artifactId>
25+
<configuration>
26+
<excludes>
27+
<exclude>com/volcengine/resourceshare/examples/**</exclude>
28+
</excludes>
29+
</configuration>
30+
</plugin>
31+
<plugin>
32+
<groupId>org.apache.maven.plugins</groupId>
33+
<artifactId>maven-jar-plugin</artifactId>
34+
<configuration>
35+
<excludes>
36+
<exclude>com/volcengine/resourceshare/examples/**</exclude>
37+
</excludes>
38+
</configuration>
39+
</plugin>
40+
</plugins>
41+
</build>
42+
</project>

volcengine-java-sdk-resourceshare/src/main/java/com/volcengine/resourceshare/ResourceShareApi.java

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

0 commit comments

Comments
 (0)