Skip to content

Commit 9e854c8

Browse files
author
BitsAdmin
committed
Merge branch 'volc_content_platform-Java-2021-01-01-online-1083-2025_04_02_19_57_43' into 'integration_2025-04-10_853973186050'
feat: [development task] volc_content_platform-1083-Java (1145190) See merge request iaasng/volcengine-java-sdk!432
2 parents 7db07d6 + ab34e6e commit 9e854c8

File tree

77 files changed

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

77 files changed

+14491
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,5 +273,6 @@
273273
<module>volcengine-java-sdk-rdspostgresql</module>
274274
<module>volcengine-java-sdk-clouddetect</module>
275275
<module>volcengine-java-sdk-translate20250301</module>
276+
<module>volcengine-java-sdk-volccontentplatform</module>
276277
</modules>
277278
</project>

volcengine-java-sdk-bom/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,12 @@
403403
<optional>false</optional>
404404
<version>${project.version}</version>
405405
</dependency>
406+
<dependency>
407+
<groupId>com.volcengine</groupId>
408+
<artifactId>volcengine-java-sdk-volccontentplatform</artifactId>
409+
<optional>false</optional>
410+
<version>${project.version}</version>
411+
</dependency>
406412
</dependencies>
407413
</dependencyManagement>
408414
</project>
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.2.2</version>
7+
<relativePath>../pom.xml</relativePath>
8+
</parent>
9+
<modelVersion>4.0.0</modelVersion>
10+
<artifactId>volcengine-java-sdk-volccontentplatform</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/volccontentplatform/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/volccontentplatform/examples/**</exclude>
35+
</excludes>
36+
</configuration>
37+
</plugin>
38+
</plugins>
39+
</build>
40+
</project>

volcengine-java-sdk-volccontentplatform/src/main/java/com/volcengine/volccontentplatform/VolcContentPlatformApi.java

Lines changed: 2450 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
/*
2+
* volc_content_platform
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.volccontentplatform.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+
* ArticleEventNotifyRequest
30+
*/
31+
32+
33+
34+
public class ArticleEventNotifyRequest {
35+
@SerializedName("CursorTime")
36+
private Long cursorTime = null;
37+
38+
@SerializedName("EventType")
39+
private String eventType = null;
40+
41+
@SerializedName("GenerateType")
42+
private String generateType = null;
43+
44+
@SerializedName("SubEventTypeList")
45+
private List<String> subEventTypeList = null;
46+
47+
public ArticleEventNotifyRequest cursorTime(Long cursorTime) {
48+
this.cursorTime = cursorTime;
49+
return this;
50+
}
51+
52+
/**
53+
* Get cursorTime
54+
* @return cursorTime
55+
**/
56+
@Schema(description = "")
57+
public Long getCursorTime() {
58+
return cursorTime;
59+
}
60+
61+
public void setCursorTime(Long cursorTime) {
62+
this.cursorTime = cursorTime;
63+
}
64+
65+
public ArticleEventNotifyRequest eventType(String eventType) {
66+
this.eventType = eventType;
67+
return this;
68+
}
69+
70+
/**
71+
* Get eventType
72+
* @return eventType
73+
**/
74+
@Schema(description = "")
75+
public String getEventType() {
76+
return eventType;
77+
}
78+
79+
public void setEventType(String eventType) {
80+
this.eventType = eventType;
81+
}
82+
83+
public ArticleEventNotifyRequest generateType(String generateType) {
84+
this.generateType = generateType;
85+
return this;
86+
}
87+
88+
/**
89+
* Get generateType
90+
* @return generateType
91+
**/
92+
@Schema(description = "")
93+
public String getGenerateType() {
94+
return generateType;
95+
}
96+
97+
public void setGenerateType(String generateType) {
98+
this.generateType = generateType;
99+
}
100+
101+
public ArticleEventNotifyRequest subEventTypeList(List<String> subEventTypeList) {
102+
this.subEventTypeList = subEventTypeList;
103+
return this;
104+
}
105+
106+
public ArticleEventNotifyRequest addSubEventTypeListItem(String subEventTypeListItem) {
107+
if (this.subEventTypeList == null) {
108+
this.subEventTypeList = new ArrayList<String>();
109+
}
110+
this.subEventTypeList.add(subEventTypeListItem);
111+
return this;
112+
}
113+
114+
/**
115+
* Get subEventTypeList
116+
* @return subEventTypeList
117+
**/
118+
@Schema(description = "")
119+
public List<String> getSubEventTypeList() {
120+
return subEventTypeList;
121+
}
122+
123+
public void setSubEventTypeList(List<String> subEventTypeList) {
124+
this.subEventTypeList = subEventTypeList;
125+
}
126+
127+
128+
@Override
129+
public boolean equals(java.lang.Object o) {
130+
if (this == o) {
131+
return true;
132+
}
133+
if (o == null || getClass() != o.getClass()) {
134+
return false;
135+
}
136+
ArticleEventNotifyRequest articleEventNotifyRequest = (ArticleEventNotifyRequest) o;
137+
return Objects.equals(this.cursorTime, articleEventNotifyRequest.cursorTime) &&
138+
Objects.equals(this.eventType, articleEventNotifyRequest.eventType) &&
139+
Objects.equals(this.generateType, articleEventNotifyRequest.generateType) &&
140+
Objects.equals(this.subEventTypeList, articleEventNotifyRequest.subEventTypeList);
141+
}
142+
143+
@Override
144+
public int hashCode() {
145+
return Objects.hash(cursorTime, eventType, generateType, subEventTypeList);
146+
}
147+
148+
149+
@Override
150+
public String toString() {
151+
StringBuilder sb = new StringBuilder();
152+
sb.append("class ArticleEventNotifyRequest {\n");
153+
154+
sb.append(" cursorTime: ").append(toIndentedString(cursorTime)).append("\n");
155+
sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n");
156+
sb.append(" generateType: ").append(toIndentedString(generateType)).append("\n");
157+
sb.append(" subEventTypeList: ").append(toIndentedString(subEventTypeList)).append("\n");
158+
sb.append("}");
159+
return sb.toString();
160+
}
161+
162+
/**
163+
* Convert the given object to string with each line indented by 4 spaces
164+
* (except the first line).
165+
*/
166+
private String toIndentedString(java.lang.Object o) {
167+
if (o == null) {
168+
return "null";
169+
}
170+
return o.toString().replace("\n", "\n ");
171+
}
172+
173+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
/*
2+
* volc_content_platform
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.volccontentplatform.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.volccontentplatform.model.ItemForArticleEventNotifyOutput;
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+
* ArticleEventNotifyResponse
31+
*/
32+
33+
34+
35+
public class ArticleEventNotifyResponse extends com.volcengine.model.AbstractResponse {
36+
@SerializedName("CursorTime")
37+
private Long cursorTime = null;
38+
39+
@SerializedName("Items")
40+
private List<ItemForArticleEventNotifyOutput> items = null;
41+
42+
public ArticleEventNotifyResponse cursorTime(Long cursorTime) {
43+
this.cursorTime = cursorTime;
44+
return this;
45+
}
46+
47+
/**
48+
* Get cursorTime
49+
* @return cursorTime
50+
**/
51+
@Schema(description = "")
52+
public Long getCursorTime() {
53+
return cursorTime;
54+
}
55+
56+
public void setCursorTime(Long cursorTime) {
57+
this.cursorTime = cursorTime;
58+
}
59+
60+
public ArticleEventNotifyResponse items(List<ItemForArticleEventNotifyOutput> items) {
61+
this.items = items;
62+
return this;
63+
}
64+
65+
public ArticleEventNotifyResponse addItemsItem(ItemForArticleEventNotifyOutput itemsItem) {
66+
if (this.items == null) {
67+
this.items = new ArrayList<ItemForArticleEventNotifyOutput>();
68+
}
69+
this.items.add(itemsItem);
70+
return this;
71+
}
72+
73+
/**
74+
* Get items
75+
* @return items
76+
**/
77+
@Valid
78+
@Schema(description = "")
79+
public List<ItemForArticleEventNotifyOutput> getItems() {
80+
return items;
81+
}
82+
83+
public void setItems(List<ItemForArticleEventNotifyOutput> items) {
84+
this.items = items;
85+
}
86+
87+
88+
@Override
89+
public boolean equals(java.lang.Object o) {
90+
if (this == o) {
91+
return true;
92+
}
93+
if (o == null || getClass() != o.getClass()) {
94+
return false;
95+
}
96+
ArticleEventNotifyResponse articleEventNotifyResponse = (ArticleEventNotifyResponse) o;
97+
return Objects.equals(this.cursorTime, articleEventNotifyResponse.cursorTime) &&
98+
Objects.equals(this.items, articleEventNotifyResponse.items);
99+
}
100+
101+
@Override
102+
public int hashCode() {
103+
return Objects.hash(cursorTime, items);
104+
}
105+
106+
107+
@Override
108+
public String toString() {
109+
StringBuilder sb = new StringBuilder();
110+
sb.append("class ArticleEventNotifyResponse {\n");
111+
112+
sb.append(" cursorTime: ").append(toIndentedString(cursorTime)).append("\n");
113+
sb.append(" items: ").append(toIndentedString(items)).append("\n");
114+
sb.append("}");
115+
return sb.toString();
116+
}
117+
118+
/**
119+
* Convert the given object to string with each line indented by 4 spaces
120+
* (except the first line).
121+
*/
122+
private String toIndentedString(java.lang.Object o) {
123+
if (o == null) {
124+
return "null";
125+
}
126+
return o.toString().replace("\n", "\n ");
127+
}
128+
129+
}

0 commit comments

Comments
 (0)