Skip to content

Commit b7900ef

Browse files
author
liyan.90210
committed
feat auto update sdk
1 parent 61ffac3 commit b7900ef

File tree

15 files changed

+1016
-325
lines changed

15 files changed

+1016
-325
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+
2024-12-05 Bumped to version v1.0.196
4+
- Updated apis for vod/cdn/tls/livesaas
5+
36
2024-11-28 Bumped to version v1.0.195
47
- Updated apis for livesaas/visual/vikingDB/imp
58

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.195</version>
7+
<version>1.0.196</version>
88
<artifactId>volc-sdk-java</artifactId>
99

1010
<name>volc-sdk-java</name>

volc-sdk-java/src/main/java/com/volcengine/model/beans/CDN.java

Lines changed: 268 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,43 @@ public static class AddResourceTagsResponse {
340340
ResponseMetadata ResponseMetadata;
341341
}
342342

343+
@Data
344+
@Accessors(chain = true)
345+
public static class AddSharedConfigRequest {
346+
347+
@JSONField(name = "AllowIpAccessRule")
348+
GlobalIPAccessRule AllowIpAccessRule;
349+
350+
@JSONField(name = "AllowRefererAccessRule")
351+
GlobalRefererAccessRule AllowRefererAccessRule;
352+
353+
@JSONField(name = "CommonMatchList")
354+
CommonMatchList CommonMatchList;
355+
356+
@JSONField(name = "ConfigName")
357+
String ConfigName;
358+
359+
@JSONField(name = "ConfigType")
360+
String ConfigType;
361+
362+
@JSONField(name = "DenyIpAccessRule")
363+
GlobalIPAccessRule DenyIpAccessRule;
364+
365+
@JSONField(name = "DenyRefererAccessRule")
366+
GlobalRefererAccessRule DenyRefererAccessRule;
367+
368+
@JSONField(name = "Project")
369+
String Project;
370+
}
371+
372+
@Data
373+
@Accessors(chain = true)
374+
public static class AddSharedConfigResponse {
375+
376+
@JSONField(name = "ResponseMetadata")
377+
ResponseMetadata ResponseMetadata;
378+
}
379+
343380
@Data
344381
@Accessors(chain = true)
345382
public static class AreaAccessRule {
@@ -643,6 +680,9 @@ public static class BatchUpdateCdnConfigRequest {
643680
@JSONField(name = "ServiceRegion")
644681
String ServiceRegion;
645682

683+
@JSONField(name = "ServiceType")
684+
String ServiceType;
685+
646686
@JSONField(name = "SignedUrlAuth")
647687
SignedUrlAuth SignedUrlAuth;
648688

@@ -927,6 +967,14 @@ public static class CommonGlobalConfig {
927967
String ConfigName;
928968
}
929969

970+
@Data
971+
@Accessors(chain = true)
972+
public static class CommonMatchList {
973+
974+
@JSONField(name = "CommonType")
975+
GlobalRefererCommonType CommonType;
976+
}
977+
930978
@Data
931979
@Accessors(chain = true)
932980
public static class CommonReferType {
@@ -965,6 +1013,9 @@ public static class CompressionAction {
9651013
@JSONField(name = "CompressionType")
9661014
List<String> CompressionType;
9671015

1016+
@JSONField(name = "MaxFileSizeKB")
1017+
Long MaxFileSizeKB;
1018+
9681019
@JSONField(name = "MinFileSizeKB")
9691020
Long MinFileSizeKB;
9701021
}
@@ -1252,6 +1303,9 @@ public static class CustomizeRule {
12521303
@Accessors(chain = true)
12531304
public static class DataPoint {
12541305

1306+
@JSONField(name = "Item")
1307+
String Item;
1308+
12551309
@JSONField(name = "TimeStamp")
12561310
Long TimeStamp;
12571311

@@ -1310,6 +1364,22 @@ public static class DeleteResourceTagsResponse {
13101364
ResponseMetadata ResponseMetadata;
13111365
}
13121366

1367+
@Data
1368+
@Accessors(chain = true)
1369+
public static class DeleteSharedConfigRequest {
1370+
1371+
@JSONField(name = "ConfigName")
1372+
String ConfigName;
1373+
}
1374+
1375+
@Data
1376+
@Accessors(chain = true)
1377+
public static class DeleteSharedConfigResponse {
1378+
1379+
@JSONField(name = "ResponseMetadata")
1380+
ResponseMetadata ResponseMetadata;
1381+
}
1382+
13131383
@Data
13141384
@Accessors(chain = true)
13151385
public static class DeleteUsageReportRequest {
@@ -3190,6 +3260,57 @@ public static class DescribeOriginTopStatusCodeResult {
31903260
List<TopStatusCodeDetail> TopDataDetails;
31913261
}
31923262

3263+
@Data
3264+
@Accessors(chain = true)
3265+
public static class DescribeSharedConfigRequest {
3266+
3267+
@JSONField(name = "ConfigName")
3268+
String ConfigName;
3269+
}
3270+
3271+
@Data
3272+
@Accessors(chain = true)
3273+
public static class DescribeSharedConfigResponse {
3274+
3275+
@JSONField(name = "ResponseMetadata")
3276+
ResponseMetadata ResponseMetadata;
3277+
3278+
@JSONField(name = "Result")
3279+
DescribeSharedConfigResult Result;
3280+
}
3281+
3282+
@Data
3283+
@Accessors(chain = true)
3284+
public static class DescribeSharedConfigResult {
3285+
3286+
@JSONField(name = "AllowIpAccessRule")
3287+
GlobalIPAccessRule AllowIpAccessRule;
3288+
3289+
@JSONField(name = "AllowRefererAccessRule")
3290+
GlobalRefererAccessRule AllowRefererAccessRule;
3291+
3292+
@JSONField(name = "CommonMatchList")
3293+
CommonMatchList CommonMatchList;
3294+
3295+
@JSONField(name = "ConfigName")
3296+
String ConfigName;
3297+
3298+
@JSONField(name = "ConfigType")
3299+
String ConfigType;
3300+
3301+
@JSONField(name = "DenyIpAccessRule")
3302+
GlobalIPAccessRule DenyIpAccessRule;
3303+
3304+
@JSONField(name = "DenyRefererAccessRule")
3305+
GlobalRefererAccessRule DenyRefererAccessRule;
3306+
3307+
@JSONField(name = "ErrorPageRule")
3308+
GlobalErrorPageRule ErrorPageRule;
3309+
3310+
@JSONField(name = "Project")
3311+
String Project;
3312+
}
3313+
31933314
@Data
31943315
@Accessors(chain = true)
31953316
public static class DescribeStatisticalRankingRequest {
@@ -3746,6 +3867,50 @@ public static class ForcedRedirect {
37463867
String StatusCode;
37473868
}
37483869

3870+
@Data
3871+
@Accessors(chain = true)
3872+
public static class GlobalErrorPageRule {
3873+
3874+
@JSONField(name = "RuleContent")
3875+
String RuleContent;
3876+
}
3877+
3878+
@Data
3879+
@Accessors(chain = true)
3880+
public static class GlobalIPAccessRule {
3881+
3882+
@JSONField(name = "Option")
3883+
String Option;
3884+
3885+
@JSONField(name = "Rules")
3886+
List<String> Rules;
3887+
}
3888+
3889+
@Data
3890+
@Accessors(chain = true)
3891+
public static class GlobalRefererAccessRule {
3892+
3893+
@JSONField(name = "AllowEmpty")
3894+
Boolean AllowEmpty;
3895+
3896+
@JSONField(name = "CommonType")
3897+
GlobalRefererCommonType CommonType;
3898+
}
3899+
3900+
@Data
3901+
@Accessors(chain = true)
3902+
public static class GlobalRefererCommonType {
3903+
3904+
@JSONField(name = "IgnoreCase")
3905+
Boolean IgnoreCase;
3906+
3907+
@JSONField(name = "Option")
3908+
String Option;
3909+
3910+
@JSONField(name = "Rules")
3911+
List<String> Rules;
3912+
}
3913+
37493914
@Data
37503915
@Accessors(chain = true)
37513916
public static class HTTPS {
@@ -4207,6 +4372,57 @@ public static class ListResourceTagsResult {
42074372
List<ResourceTag> ResourceTags;
42084373
}
42094374

4375+
@Data
4376+
@Accessors(chain = true)
4377+
public static class ListSharedConfigRequest {
4378+
4379+
@JSONField(name = "ConfigName")
4380+
String ConfigName;
4381+
4382+
@JSONField(name = "ConfigType")
4383+
String ConfigType;
4384+
4385+
@JSONField(name = "ConfigTypeList")
4386+
List<String> ConfigTypeList;
4387+
4388+
@JSONField(name = "PageNum")
4389+
Long PageNum;
4390+
4391+
@JSONField(name = "PageSize")
4392+
Long PageSize;
4393+
4394+
@JSONField(name = "Project")
4395+
String Project;
4396+
}
4397+
4398+
@Data
4399+
@Accessors(chain = true)
4400+
public static class ListSharedConfigResponse {
4401+
4402+
@JSONField(name = "ResponseMetadata")
4403+
ResponseMetadata ResponseMetadata;
4404+
4405+
@JSONField(name = "Result")
4406+
ListSharedConfigResult Result;
4407+
}
4408+
4409+
@Data
4410+
@Accessors(chain = true)
4411+
public static class ListSharedConfigResult {
4412+
4413+
@JSONField(name = "ConfigData")
4414+
List<SharedConfig> ConfigData;
4415+
4416+
@JSONField(name = "PageNum")
4417+
Long PageNum;
4418+
4419+
@JSONField(name = "PageSize")
4420+
Long PageSize;
4421+
4422+
@JSONField(name = "Total")
4423+
Long Total;
4424+
}
4425+
42104426
@Data
42114427
@Accessors(chain = true)
42124428
public static class ListUsageReportsRequest {
@@ -5075,6 +5291,27 @@ public static class RewriteM3u8Rule {
50755291
Boolean TransferEncoding;
50765292
}
50775293

5294+
5295+
@Data
5296+
@Accessors(chain = true)
5297+
public static class SharedConfig {
5298+
5299+
@JSONField(name = "ConfigName")
5300+
String ConfigName;
5301+
5302+
@JSONField(name = "ConfigType")
5303+
String ConfigType;
5304+
5305+
@JSONField(name = "DomainCount")
5306+
Long DomainCount;
5307+
5308+
@JSONField(name = "Project")
5309+
String Project;
5310+
5311+
@JSONField(name = "UpdateTime")
5312+
Long UpdateTime;
5313+
}
5314+
50785315
@Data
50795316
@Accessors(chain = true)
50805317
public static class SignedOriginAuth {
@@ -5933,6 +6170,37 @@ public static class UpdateResourceTagsResponse {
59336170
ResponseMetadata ResponseMetadata;
59346171
}
59356172

6173+
@Data
6174+
@Accessors(chain = true)
6175+
public static class UpdateSharedConfigRequest {
6176+
6177+
@JSONField(name = "AllowIpAccessRule")
6178+
GlobalIPAccessRule AllowIpAccessRule;
6179+
6180+
@JSONField(name = "AllowRefererAccessRule")
6181+
GlobalRefererAccessRule AllowRefererAccessRule;
6182+
6183+
@JSONField(name = "CommonMatchList")
6184+
CommonMatchList CommonMatchList;
6185+
6186+
@JSONField(name = "ConfigName")
6187+
String ConfigName;
6188+
6189+
@JSONField(name = "DenyIpAccessRule")
6190+
GlobalIPAccessRule DenyIpAccessRule;
6191+
6192+
@JSONField(name = "DenyRefererAccessRule")
6193+
GlobalRefererAccessRule DenyRefererAccessRule;
6194+
}
6195+
6196+
@Data
6197+
@Accessors(chain = true)
6198+
public static class UpdateSharedConfigResponse {
6199+
6200+
@JSONField(name = "ResponseMetadata")
6201+
ResponseMetadata ResponseMetadata;
6202+
}
6203+
59366204
@Data
59376205
@Accessors(chain = true)
59386206
public static class UsageReportsDetail {

volc-sdk-java/src/main/java/com/volcengine/model/livesaas/response/GetAccountUserTrackDataResponse.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ public static class UserDetailInteractAPI {
8686
Long NoInteractNumber;
8787
@JSONField(name = "CouponPickupCount")
8888
Long CouponPickupCount;
89+
@JSONField(name = "ThumbUpNumber")
90+
Long ThumbUpNumber;
8991
}
9092

9193
@Data

volc-sdk-java/src/main/java/com/volcengine/model/livesaas/response/GetUserBehaviorListResponse.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,7 @@ public static class UserBehaviorV2 {
5757
String AccessTime;
5858
@JSONField(name = "SilenceStatus")
5959
Integer SilenceStatus;
60+
@JSONField(name = "ThumbUpNumber")
61+
Long ThumbUpNumber;
6062
}
6163
}

volc-sdk-java/src/main/java/com/volcengine/model/livesaas/response/GetUserBehaviorListResponseAPIV2.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,7 @@ public static class UserBehaviorV2 {
7777
String Os;
7878
@JSONField(name = "EmployeeNo")
7979
String EmployeeNo;
80+
@JSONField(name = "ThumbUpNumber")
81+
Long ThumbUpNumber;
8082
}
8183
}

volc-sdk-java/src/main/java/com/volcengine/model/livesaas/response/ListAccountUserDataResponse.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ public static class UserDetailInteractAPI {
122122
Long NoInteractNumber;
123123
@JSONField(name = "CouponPickupCount")
124124
Long CouponPickupCount;
125+
@JSONField(name = "ThumbUpNumber")
126+
Long ThumbUpNumber;
125127
}
126128

127129
@Data

0 commit comments

Comments
 (0)