Skip to content

Commit 753604a

Browse files
committed
Generated java-async 2017-03-21 for vod.
1 parent 51950e1 commit 753604a

13 files changed

+136
-67
lines changed

vod-20170321/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2023-11-03 Version: 1.0.8
2+
- Generated java-async 2017-03-21 for vod.
3+
14
2023-10-18 Version: 1.0.7
25
- Generated java-async 2017-03-21 for vod.
36

vod-20170321/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-vod20170321</artifactId>
6-
<version>1.0.7</version>
6+
<version>1.0.8</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-vod20170321</name>
99
<description>Alibaba Cloud vod (20170321) Async SDK for Java

vod-20170321/src/main/java/com/aliyun/sdk/service/vod20170321/AsyncClient.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,10 @@ static AsyncClient create() {
485485
*/
486486
CompletableFuture<GetDefaultAITemplateResponse> getDefaultAITemplate(GetDefaultAITemplateRequest request);
487487

488+
/**
489+
* * You can call this operation to query the results of digital watermark extraction jobs that are created in the last two years.
490+
*
491+
*/
488492
CompletableFuture<GetDigitalWatermarkExtractResultResponse> getDigitalWatermarkExtractResult(GetDigitalWatermarkExtractResultRequest request);
489493

490494
CompletableFuture<GetEditingProjectResponse> getEditingProject(GetEditingProjectRequest request);
@@ -572,7 +576,7 @@ static AsyncClient create() {
572576
CompletableFuture<GetTranscodeTaskResponse> getTranscodeTask(GetTranscodeTaskRequest request);
573577

574578
/**
575-
* This operation returns the information about the specified transcoding template group and the configurations of all the transcoding templates in the group.
579+
* > This operation returns the information about the specified transcoding template group and the configurations of all the transcoding templates in the group.
576580
*
577581
*/
578582
CompletableFuture<GetTranscodeTemplateGroupResponse> getTranscodeTemplateGroup(GetTranscodeTemplateGroupRequest request);
@@ -766,8 +770,8 @@ static AsyncClient create() {
766770

767771
/**
768772
* The maximum number of data records that you can query is limited based on the method used to query the data. You can use the following methods to query data:
769-
* * Method 1: You must use the PageNo and PageSize parameters for the first 5,000 data records that meet the specified filter criteria. This allows you to traverse data page by page. If the number of data records that meet the specified filter criteria exceeds 5,000, use Method 2.
770-
* * Method 2: This method applies only to the data of video and audio files. To traverse all the data records that meet the specified filter criteria, you must set the PageNo, PageSize, and ScrollToken parameters to traverse data page by page. The total number of data records from the current page to the desired page cannot exceed 1,200. Assume that the PageSize parameter is set to **20**:
773+
* * Method 1: You must use the PageNo and PageSize parameters for the first 5,000 data records that meet the specified filter condition. This allows you to traverse data page by page. If the number of data records that meet the specified filter condition exceeds 5,000, use Method 2.
774+
* * Method 2: This method applies only to the data of video and audio files. To traverse all the data records that meet the specified filter condition, you must set the PageNo, PageSize, and ScrollToken parameters to traverse data page by page. The total number of data records from the current page to the target page cannot exceed 1,200. Assume that the PageSize parameter is set to **20**:
771775
* * When the PageNo parameter is set to **1**, you can scroll forward to traverse data records from page 1 to page **60** at most.
772776
* * When the PageNo parameter is set to **2**, you can scroll forward to traverse data records from page 2 to page **61** at most.
773777
* * When the PageNo parameter is set to **61**, you can scroll backward to traverse data records from page 61 to page **2** at most or scroll forward to traverse data records from page 61 to page **120** at most.
@@ -833,6 +837,11 @@ static AsyncClient create() {
833837

834838
CompletableFuture<SubmitAIMediaAuditJobResponse> submitAIMediaAuditJob(SubmitAIMediaAuditJobRequest request);
835839

840+
/**
841+
* * You must upload the video from which you want to extract the digital watermark to ApsaraVideo VOD.
842+
* * The duration of the video from which you want to extract the digital watermark must exceed 3 minutes.
843+
*
844+
*/
836845
CompletableFuture<SubmitDigitalWatermarkExtractJobResponse> submitDigitalWatermarkExtractJob(SubmitDigitalWatermarkExtractJobRequest request);
837846

838847
/**

vod-20170321/src/main/java/com/aliyun/sdk/service/vod20170321/DefaultAsyncClient.java

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ protected DefaultAsyncClient(ClientConfiguration configuration) {
3131
this.version = "2017-03-21";
3232
this.endpointRule = "regional";
3333
this.endpointMap = CommonUtil.buildMap(
34+
new TeaPair("cn-hangzhou", "vod.cn-shanghai.aliyuncs.com"),
3435
new TeaPair("ap-northeast-2-pop", "vod.aliyuncs.com"),
3536
new TeaPair("ap-southeast-2", "vod.aliyuncs.com"),
3637
new TeaPair("ap-southeast-3", "vod.aliyuncs.com"),
@@ -42,15 +43,13 @@ protected DefaultAsyncClient(ClientConfiguration configuration) {
4243
new TeaPair("cn-edge-1", "vod.aliyuncs.com"),
4344
new TeaPair("cn-fujian", "vod.aliyuncs.com"),
4445
new TeaPair("cn-haidian-cm12-c01", "vod.aliyuncs.com"),
45-
new TeaPair("cn-hangzhou", "vod.aliyuncs.com"),
4646
new TeaPair("cn-hangzhou-bj-b01", "vod.aliyuncs.com"),
4747
new TeaPair("cn-hangzhou-finance", "vod.aliyuncs.com"),
4848
new TeaPair("cn-hangzhou-internal-prod-1", "vod.aliyuncs.com"),
4949
new TeaPair("cn-hangzhou-internal-test-1", "vod.aliyuncs.com"),
5050
new TeaPair("cn-hangzhou-internal-test-2", "vod.aliyuncs.com"),
5151
new TeaPair("cn-hangzhou-internal-test-3", "vod.aliyuncs.com"),
5252
new TeaPair("cn-hangzhou-test-306", "vod.aliyuncs.com"),
53-
new TeaPair("cn-hongkong", "vod.aliyuncs.com"),
5453
new TeaPair("cn-hongkong-finance-pop", "vod.aliyuncs.com"),
5554
new TeaPair("cn-huhehaote", "vod.aliyuncs.com"),
5655
new TeaPair("cn-huhehaote-nebula-1", "vod.aliyuncs.com"),
@@ -70,15 +69,12 @@ protected DefaultAsyncClient(ClientConfiguration configuration) {
7069
new TeaPair("cn-yushanfang", "vod.aliyuncs.com"),
7170
new TeaPair("cn-zhangbei", "vod.aliyuncs.com"),
7271
new TeaPair("cn-zhangbei-na61-b01", "vod.aliyuncs.com"),
73-
new TeaPair("cn-zhangjiakou", "vod.aliyuncs.com"),
7472
new TeaPair("cn-zhangjiakou-na62-a01", "vod.aliyuncs.com"),
7573
new TeaPair("cn-zhengzhou-nebula-1", "vod.aliyuncs.com"),
76-
new TeaPair("eu-west-1", "vod.aliyuncs.com"),
7774
new TeaPair("eu-west-1-oxs", "vod.aliyuncs.com"),
7875
new TeaPair("me-east-1", "vod.aliyuncs.com"),
7976
new TeaPair("rus-west-1-pop", "vod.aliyuncs.com"),
80-
new TeaPair("us-east-1", "vod.aliyuncs.com"),
81-
new TeaPair("us-west-1", "vod.aliyuncs.com")
77+
new TeaPair("us-east-1", "vod.aliyuncs.com")
8278
);
8379
this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version);
8480
}
@@ -1395,6 +1391,10 @@ public CompletableFuture<GetDefaultAITemplateResponse> getDefaultAITemplate(GetD
13951391
}
13961392
}
13971393

1394+
/**
1395+
* * You can call this operation to query the results of digital watermark extraction jobs that are created in the last two years.
1396+
*
1397+
*/
13981398
@Override
13991399
public CompletableFuture<GetDigitalWatermarkExtractResultResponse> getDigitalWatermarkExtractResult(GetDigitalWatermarkExtractResultRequest request) {
14001400
try {
@@ -1674,7 +1674,7 @@ public CompletableFuture<GetTranscodeTaskResponse> getTranscodeTask(GetTranscode
16741674
}
16751675

16761676
/**
1677-
* This operation returns the information about the specified transcoding template group and the configurations of all the transcoding templates in the group.
1677+
* > This operation returns the information about the specified transcoding template group and the configurations of all the transcoding templates in the group.
16781678
*
16791679
*/
16801680
@Override
@@ -2240,8 +2240,8 @@ public CompletableFuture<SearchEditingProjectResponse> searchEditingProject(Sear
22402240

22412241
/**
22422242
* The maximum number of data records that you can query is limited based on the method used to query the data. You can use the following methods to query data:
2243-
* * Method 1: You must use the PageNo and PageSize parameters for the first 5,000 data records that meet the specified filter criteria. This allows you to traverse data page by page. If the number of data records that meet the specified filter criteria exceeds 5,000, use Method 2.
2244-
* * Method 2: This method applies only to the data of video and audio files. To traverse all the data records that meet the specified filter criteria, you must set the PageNo, PageSize, and ScrollToken parameters to traverse data page by page. The total number of data records from the current page to the desired page cannot exceed 1,200. Assume that the PageSize parameter is set to **20**:
2243+
* * Method 1: You must use the PageNo and PageSize parameters for the first 5,000 data records that meet the specified filter condition. This allows you to traverse data page by page. If the number of data records that meet the specified filter condition exceeds 5,000, use Method 2.
2244+
* * Method 2: This method applies only to the data of video and audio files. To traverse all the data records that meet the specified filter condition, you must set the PageNo, PageSize, and ScrollToken parameters to traverse data page by page. The total number of data records from the current page to the target page cannot exceed 1,200. Assume that the PageSize parameter is set to **20**:
22452245
* * When the PageNo parameter is set to **1**, you can scroll forward to traverse data records from page 1 to page **60** at most.
22462246
* * When the PageNo parameter is set to **2**, you can scroll forward to traverse data records from page 2 to page **61** at most.
22472247
* * When the PageNo parameter is set to **61**, you can scroll backward to traverse data records from page 61 to page **2** at most or scroll forward to traverse data records from page 61 to page **120** at most.
@@ -2463,6 +2463,11 @@ public CompletableFuture<SubmitAIMediaAuditJobResponse> submitAIMediaAuditJob(Su
24632463
}
24642464
}
24652465

2466+
/**
2467+
* * You must upload the video from which you want to extract the digital watermark to ApsaraVideo VOD.
2468+
* * The duration of the video from which you want to extract the digital watermark must exceed 3 minutes.
2469+
*
2470+
*/
24662471
@Override
24672472
public CompletableFuture<SubmitDigitalWatermarkExtractJobResponse> submitDigitalWatermarkExtractJob(SubmitDigitalWatermarkExtractJobRequest request) {
24682473
try {

vod-20170321/src/main/java/com/aliyun/sdk/service/vod20170321/models/GetDigitalWatermarkExtractResultRequest.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,11 @@ private Builder(GetDigitalWatermarkExtractResultRequest request) {
140140
}
141141

142142
/**
143-
* ExtractType.
143+
* The type of the digital watermark. Valid values:
144+
* <p>
145+
*
146+
* * TraceMark: tracing watermark
147+
* * CopyrightMark: copyright watermark
144148
*/
145149
public Builder extractType(String extractType) {
146150
this.putQueryParameter("ExtractType", extractType);
@@ -149,7 +153,7 @@ public Builder extractType(String extractType) {
149153
}
150154

151155
/**
152-
* JobId.
156+
* The ID of the job.
153157
*/
154158
public Builder jobId(String jobId) {
155159
this.putQueryParameter("JobId", jobId);
@@ -158,7 +162,7 @@ public Builder jobId(String jobId) {
158162
}
159163

160164
/**
161-
* MediaId.
165+
* The ID of the video file. You can query the video ID by using the ApsaraVideo VOD console or calling the SearchMedia operation.
162166
*/
163167
public Builder mediaId(String mediaId) {
164168
this.putQueryParameter("MediaId", mediaId);

vod-20170321/src/main/java/com/aliyun/sdk/service/vod20170321/models/GetDigitalWatermarkExtractResultResponseBody.java

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ public static final class Builder {
5050
private String requestId;
5151

5252
/**
53-
* AiExtractResultList.
53+
* The information about the job.
5454
*/
5555
public Builder aiExtractResultList(java.util.List < AiExtractResultList> aiExtractResultList) {
5656
this.aiExtractResultList = aiExtractResultList;
5757
return this;
5858
}
5959

6060
/**
61-
* RequestId.
61+
* The ID of the request.
6262
*/
6363
public Builder requestId(String requestId) {
6464
this.requestId = requestId;
@@ -158,47 +158,52 @@ public static final class Builder {
158158
private String waterMarkText;
159159

160160
/**
161-
* CreateTime.
161+
* The time when the job was created.
162162
*/
163163
public Builder createTime(String createTime) {
164164
this.createTime = createTime;
165165
return this;
166166
}
167167

168168
/**
169-
* ErrorMessage.
169+
* The error message.
170170
*/
171171
public Builder errorMessage(String errorMessage) {
172172
this.errorMessage = errorMessage;
173173
return this;
174174
}
175175

176176
/**
177-
* JobId.
177+
* The ID of the job.
178178
*/
179179
public Builder jobId(String jobId) {
180180
this.jobId = jobId;
181181
return this;
182182
}
183183

184184
/**
185-
* ModifyTime.
185+
* The time when the job was modified.
186186
*/
187187
public Builder modifyTime(String modifyTime) {
188188
this.modifyTime = modifyTime;
189189
return this;
190190
}
191191

192192
/**
193-
* Status.
193+
* The status of the job. Valid values:
194+
* <p>
195+
*
196+
* * **Success**
197+
* * **Failed**
198+
* * **Processing**
194199
*/
195200
public Builder status(String status) {
196201
this.status = status;
197202
return this;
198203
}
199204

200205
/**
201-
* WaterMarkText.
206+
* The extracted watermark text.
202207
*/
203208
public Builder waterMarkText(String waterMarkText) {
204209
this.waterMarkText = waterMarkText;

vod-20170321/src/main/java/com/aliyun/sdk/service/vod20170321/models/GetPlayInfoRequest.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,11 @@ public Builder definition(String definition) {
268268
}
269269

270270
/**
271-
* DigitalWatermarkType.
271+
* The type of the digital watermark. Valid values:
272+
* <p>
273+
*
274+
* * TraceMark: tracing watermark
275+
* * CopyrightMark: copyright watermark
272276
*/
273277
public Builder digitalWatermarkType(String digitalWatermarkType) {
274278
this.putQueryParameter("DigitalWatermarkType", digitalWatermarkType);
@@ -357,7 +361,11 @@ public Builder streamType(String streamType) {
357361
}
358362

359363
/**
360-
* Trace.
364+
* The custom digital watermark.
365+
* <p>
366+
*
367+
* * If you set `DigitalWatermarkType` to `TraceMark`, specify this parameter to configure the video tracing watermark and return the video stream that contains the watermark. The value can be up to 1,024 characters in length and can contain letters and digits.
368+
* * If you set `DigitalWatermarkType` to `CopyrightMark`, specify the **watermark text** that you created for the watermark template for this parameter.`` You can specify this parameter to query and return the video stream that contains the specified watermark text.
361369
*/
362370
public Builder trace(String trace) {
363371
this.putQueryParameter("Trace", trace);

vod-20170321/src/main/java/com/aliyun/sdk/service/vod20170321/models/GetPlayInfoResponseBody.java

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public Builder bitrate(String bitrate) {
398398
}
399399

400400
/**
401-
* The creation time. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.
401+
* The time when the audio or video stream was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
402402
*/
403403
public Builder creationTime(String creationTime) {
404404
this.creationTime = creationTime;
@@ -434,11 +434,11 @@ public Builder duration(String duration) {
434434
}
435435

436436
/**
437-
* Indicates whether the media stream was encrypted. Valid values:
437+
* Indicates whether the media stream is encrypted. Valid values:
438438
* <p>
439439
*
440-
* * **0**: no
441-
* * **1**: yes.
440+
* * **0**: The media stream is not encrypted.
441+
* * **1**: The media stream is encrypted.
442442
*/
443443
public Builder encrypt(Long encrypt) {
444444
this.encrypt = encrypt;
@@ -496,15 +496,15 @@ public Builder HDRType(String HDRType) {
496496
}
497497

498498
/**
499-
* The height of the media stream. Unit: pixel.
499+
* The height of the media stream. Unit: pixels.
500500
*/
501501
public Builder height(Long height) {
502502
this.height = height;
503503
return this;
504504
}
505505

506506
/**
507-
* JobExt.
507+
* The custom watermark information of the copyright watermark. This parameter is returned if you set `JobType` to `2`.
508508
*/
509509
public Builder jobExt(String jobExt) {
510510
this.jobExt = jobExt;
@@ -520,7 +520,11 @@ public Builder jobId(String jobId) {
520520
}
521521

522522
/**
523-
* JobType.
523+
* The type of the digital watermark. Valid values:
524+
* <p>
525+
*
526+
* * **1**: tracing watermark
527+
* * **2**: copyright watermark
524528
*/
525529
public Builder jobType(Integer jobType) {
526530
this.jobType = jobType;
@@ -575,7 +579,7 @@ public Builder specification(String specification) {
575579
}
576580

577581
/**
578-
* The status of the media stream. Valid values:
582+
* The status of the audio or video stream. Valid values:
579583
* <p>
580584
*
581585
* * **Normal**: The latest transcoded stream in each quality and format is in the Normal status.
@@ -603,7 +607,7 @@ public Builder watermarkId(String watermarkId) {
603607
}
604608

605609
/**
606-
* The width of the media stream. Unit: pixel.
610+
* The width of the media stream. Unit: pixels.
607611
*/
608612
public Builder width(Long width) {
609613
this.width = width;

0 commit comments

Comments
 (0)