Skip to content

Commit 3f85cce

Browse files
author
liyan.90210
committed
feat auto update sdk
1 parent 9f1972c commit 3f85cce

File tree

104 files changed

+2562
-208
lines changed

Some content is hidden

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

104 files changed

+2562
-208
lines changed

Changelog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Change log
22

3+
2025-04-25 Bumped to version v1.0.218
4+
- Updated apis for live
5+
36
2025-04-24 Bumped to version v1.0.217
47
- Updated apis for imagex/livesaas/vms/vod
58

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class CreateCarouselTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
CreateCarouselTaskBody body = new CreateCarouselTaskBody();
14+
15+
try {
16+
CreateCarouselTaskRes resp = service.createCarouselTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class CreateHighLightTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
CreateHighLightTaskBody body = new CreateHighLightTaskBody();
14+
15+
try {
16+
CreateHighLightTaskRes resp = service.createHighLightTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class DeleteCarouselTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
DeleteCarouselTaskBody body = new DeleteCarouselTaskBody();
14+
15+
try {
16+
DeleteCarouselTaskRes resp = service.deleteCarouselTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class DeleteTaskByAccountIDExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
DeleteTaskByAccountIDBody body = new DeleteTaskByAccountIDBody();
14+
15+
try {
16+
DeleteTaskByAccountIDRes resp = service.deleteTaskByAccountID(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class GetCarouselDetailExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
GetCarouselDetailBody body = new GetCarouselDetailBody();
14+
15+
try {
16+
GetCarouselDetailRes resp = service.getCarouselDetail(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class ListCarouselTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
ListCarouselTaskBody body = new ListCarouselTaskBody();
14+
15+
try {
16+
ListCarouselTaskRes resp = service.listCarouselTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.volcengine.example.live.v20230101;
2+
3+
4+
import com.volcengine.model.live.v20230101.*;
5+
import com.volcengine.service.live.v20230101.LiveService;
6+
7+
public class UpdateCarouselTaskExample {
8+
public static void main(String[] args) {
9+
LiveService service = LiveService.getInstance();
10+
service.setAccessKey("ak");
11+
service.setSecretKey("sk");
12+
13+
UpdateCarouselTaskBody body = new UpdateCarouselTaskBody();
14+
15+
try {
16+
UpdateCarouselTaskRes resp = service.updateCarouselTask(body);
17+
System.out.println(resp);
18+
} catch (Exception e) {
19+
e.printStackTrace();
20+
}
21+
}
22+
}

volc-sdk-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.volcengine</groupId>
7-
<version>1.0.217</version>
7+
<version>1.0.218</version>
88
<artifactId>volc-sdk-java</artifactId>
99

1010
<name>volc-sdk-java</name>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
package com.volcengine.model.live.v20230101;
2+
3+
4+
import com.alibaba.fastjson.JSON;
5+
6+
/**
7+
* CreateCarouselTaskBody
8+
*/
9+
@lombok.Data
10+
public final class CreateCarouselTaskBody {
11+
12+
/**
13+
* <p>轮播任务的名称,用于标识任务。支持由中文、大小写字母(A - Z、a - z)和数字(0 - 9)组成。</p>
14+
*
15+
*
16+
*
17+
* <p>:::tip</p>
18+
*
19+
* <p>- 此名称不能与其他正在运行中的任务名称重复。</p>
20+
*
21+
* <p>- 启动的任务不允许使用重复的名称。</p>
22+
*
23+
* <p>:::</p>
24+
*
25+
*
26+
*/
27+
@com.alibaba.fastjson.annotation.JSONField(name = "Name")
28+
private String name;
29+
30+
/**
31+
* <p>轮播规则,用于指定轮播播放的素材和行为等。</p>
32+
*/
33+
@com.alibaba.fastjson.annotation.JSONField(name = "Rule")
34+
private CreateCarouselTaskBodyRule rule;
35+
36+
@Override
37+
public String toString() {
38+
return JSON.toJSONString(this);
39+
}
40+
}

0 commit comments

Comments
 (0)