tencentcloud-sdk-nodejs-intl-en 3.0.415 → 3.0.416
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -334,48 +334,6 @@ class DescribeAllClassRequest extends AbstractModel {
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
/**
|
|
338
|
-
* WeChatMiniProgramPublish request structure.
|
|
339
|
-
* @class
|
|
340
|
-
*/
|
|
341
|
-
class WeChatMiniProgramPublishRequest extends AbstractModel {
|
|
342
|
-
constructor(){
|
|
343
|
-
super();
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Media file ID.
|
|
347
|
-
* @type {string || null}
|
|
348
|
-
*/
|
|
349
|
-
this.FileId = null;
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* ID of the transcoding template corresponding to the published video. 0 represents the source video.
|
|
353
|
-
* @type {number || null}
|
|
354
|
-
*/
|
|
355
|
-
this.SourceDefinition = null;
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
|
|
359
|
-
* @type {number || null}
|
|
360
|
-
*/
|
|
361
|
-
this.SubAppId = null;
|
|
362
|
-
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* @private
|
|
367
|
-
*/
|
|
368
|
-
deserialize(params) {
|
|
369
|
-
if (!params) {
|
|
370
|
-
return;
|
|
371
|
-
}
|
|
372
|
-
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
373
|
-
this.SourceDefinition = 'SourceDefinition' in params ? params.SourceDefinition : null;
|
|
374
|
-
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
375
|
-
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
337
|
/**
|
|
380
338
|
* Input type of intelligent categorization task
|
|
381
339
|
* @class
|
|
@@ -2432,6 +2390,58 @@ class ResetProcedureTemplateRequest extends AbstractModel {
|
|
|
2432
2390
|
}
|
|
2433
2391
|
}
|
|
2434
2392
|
|
|
2393
|
+
/**
|
|
2394
|
+
* The result for OCR-based image recognition.
|
|
2395
|
+
* @class
|
|
2396
|
+
*/
|
|
2397
|
+
class ContentReviewOcrResult extends AbstractModel {
|
|
2398
|
+
constructor(){
|
|
2399
|
+
super();
|
|
2400
|
+
|
|
2401
|
+
/**
|
|
2402
|
+
* The confidence score for the OCR-based recognition result. Value range: 0-100.
|
|
2403
|
+
* @type {number || null}
|
|
2404
|
+
*/
|
|
2405
|
+
this.Confidence = null;
|
|
2406
|
+
|
|
2407
|
+
/**
|
|
2408
|
+
* The suggestion for handling the suspicious content detected based on OCR. Valid values:
|
|
2409
|
+
<li>pass/li>
|
|
2410
|
+
<li>review</li>
|
|
2411
|
+
<li>block</li>
|
|
2412
|
+
* @type {string || null}
|
|
2413
|
+
*/
|
|
2414
|
+
this.Suggestion = null;
|
|
2415
|
+
|
|
2416
|
+
/**
|
|
2417
|
+
* The list of suspicious keywords detected based on OCR.
|
|
2418
|
+
* @type {Array.<string> || null}
|
|
2419
|
+
*/
|
|
2420
|
+
this.KeywordSet = null;
|
|
2421
|
+
|
|
2422
|
+
/**
|
|
2423
|
+
* The coordinates (pixel) of the top-left and bottom-right corners of the frame where a suspicious keyword appears. Format: [x1, y1, x2, y2].
|
|
2424
|
+
* @type {Array.<number> || null}
|
|
2425
|
+
*/
|
|
2426
|
+
this.AreaCoordSet = null;
|
|
2427
|
+
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* @private
|
|
2432
|
+
*/
|
|
2433
|
+
deserialize(params) {
|
|
2434
|
+
if (!params) {
|
|
2435
|
+
return;
|
|
2436
|
+
}
|
|
2437
|
+
this.Confidence = 'Confidence' in params ? params.Confidence : null;
|
|
2438
|
+
this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
|
|
2439
|
+
this.KeywordSet = 'KeywordSet' in params ? params.KeywordSet : null;
|
|
2440
|
+
this.AreaCoordSet = 'AreaCoordSet' in params ? params.AreaCoordSet : null;
|
|
2441
|
+
|
|
2442
|
+
}
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2435
2445
|
/**
|
|
2436
2446
|
* ComposeMedia response structure.
|
|
2437
2447
|
* @class
|
|
@@ -5697,41 +5707,6 @@ class DescribeAIRecognitionTemplatesResponse extends AbstractModel {
|
|
|
5697
5707
|
}
|
|
5698
5708
|
}
|
|
5699
5709
|
|
|
5700
|
-
/**
|
|
5701
|
-
* EditMedia response structure.
|
|
5702
|
-
* @class
|
|
5703
|
-
*/
|
|
5704
|
-
class EditMediaResponse extends AbstractModel {
|
|
5705
|
-
constructor(){
|
|
5706
|
-
super();
|
|
5707
|
-
|
|
5708
|
-
/**
|
|
5709
|
-
* Video editing task ID, which can be used to query the status of editing task (with task type being `EditMedia`).
|
|
5710
|
-
* @type {string || null}
|
|
5711
|
-
*/
|
|
5712
|
-
this.TaskId = null;
|
|
5713
|
-
|
|
5714
|
-
/**
|
|
5715
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5716
|
-
* @type {string || null}
|
|
5717
|
-
*/
|
|
5718
|
-
this.RequestId = null;
|
|
5719
|
-
|
|
5720
|
-
}
|
|
5721
|
-
|
|
5722
|
-
/**
|
|
5723
|
-
* @private
|
|
5724
|
-
*/
|
|
5725
|
-
deserialize(params) {
|
|
5726
|
-
if (!params) {
|
|
5727
|
-
return;
|
|
5728
|
-
}
|
|
5729
|
-
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
5730
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5731
|
-
|
|
5732
|
-
}
|
|
5733
|
-
}
|
|
5734
|
-
|
|
5735
5710
|
/**
|
|
5736
5711
|
* Parameters for OCR-based recognition of politically sensitive content
|
|
5737
5712
|
* @class
|
|
@@ -5932,6 +5907,34 @@ class ProcessMediaByUrlRequest extends AbstractModel {
|
|
|
5932
5907
|
}
|
|
5933
5908
|
}
|
|
5934
5909
|
|
|
5910
|
+
/**
|
|
5911
|
+
* ModifyAIRecognitionTemplate response structure.
|
|
5912
|
+
* @class
|
|
5913
|
+
*/
|
|
5914
|
+
class ModifyAIRecognitionTemplateResponse extends AbstractModel {
|
|
5915
|
+
constructor(){
|
|
5916
|
+
super();
|
|
5917
|
+
|
|
5918
|
+
/**
|
|
5919
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5920
|
+
* @type {string || null}
|
|
5921
|
+
*/
|
|
5922
|
+
this.RequestId = null;
|
|
5923
|
+
|
|
5924
|
+
}
|
|
5925
|
+
|
|
5926
|
+
/**
|
|
5927
|
+
* @private
|
|
5928
|
+
*/
|
|
5929
|
+
deserialize(params) {
|
|
5930
|
+
if (!params) {
|
|
5931
|
+
return;
|
|
5932
|
+
}
|
|
5933
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5934
|
+
|
|
5935
|
+
}
|
|
5936
|
+
}
|
|
5937
|
+
|
|
5935
5938
|
/**
|
|
5936
5939
|
* Information of a playback statistics file
|
|
5937
5940
|
* @class
|
|
@@ -7999,56 +8002,6 @@ class AiRecognitionTaskOcrFullTextSegmentItem extends AbstractModel {
|
|
|
7999
8002
|
}
|
|
8000
8003
|
}
|
|
8001
8004
|
|
|
8002
|
-
/**
|
|
8003
|
-
* Result file output of video editing.
|
|
8004
|
-
* @class
|
|
8005
|
-
*/
|
|
8006
|
-
class EditMediaOutputConfig extends AbstractModel {
|
|
8007
|
-
constructor(){
|
|
8008
|
-
super();
|
|
8009
|
-
|
|
8010
|
-
/**
|
|
8011
|
-
* Output filename of up to 64 characters, which is generated by the system by default.
|
|
8012
|
-
* @type {string || null}
|
|
8013
|
-
*/
|
|
8014
|
-
this.MediaName = null;
|
|
8015
|
-
|
|
8016
|
-
/**
|
|
8017
|
-
* Output file format. Valid values: mp4, hls. Default value: mp4.
|
|
8018
|
-
* @type {string || null}
|
|
8019
|
-
*/
|
|
8020
|
-
this.Type = null;
|
|
8021
|
-
|
|
8022
|
-
/**
|
|
8023
|
-
* Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API.
|
|
8024
|
-
<li>Default value: 0, which means "Other".</li>
|
|
8025
|
-
* @type {number || null}
|
|
8026
|
-
*/
|
|
8027
|
-
this.ClassId = null;
|
|
8028
|
-
|
|
8029
|
-
/**
|
|
8030
|
-
* Expiration time of output media file in ISO 8601 format, after which the file will be deleted. Files will never expire by default. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
|
8031
|
-
* @type {string || null}
|
|
8032
|
-
*/
|
|
8033
|
-
this.ExpireTime = null;
|
|
8034
|
-
|
|
8035
|
-
}
|
|
8036
|
-
|
|
8037
|
-
/**
|
|
8038
|
-
* @private
|
|
8039
|
-
*/
|
|
8040
|
-
deserialize(params) {
|
|
8041
|
-
if (!params) {
|
|
8042
|
-
return;
|
|
8043
|
-
}
|
|
8044
|
-
this.MediaName = 'MediaName' in params ? params.MediaName : null;
|
|
8045
|
-
this.Type = 'Type' in params ? params.Type : null;
|
|
8046
|
-
this.ClassId = 'ClassId' in params ? params.ClassId : null;
|
|
8047
|
-
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
8048
|
-
|
|
8049
|
-
}
|
|
8050
|
-
}
|
|
8051
|
-
|
|
8052
8005
|
/**
|
|
8053
8006
|
* Information of a video splitting task.
|
|
8054
8007
|
* @class
|
|
@@ -8260,80 +8213,49 @@ class DeleteAIAnalysisTemplateRequest extends AbstractModel {
|
|
|
8260
8213
|
}
|
|
8261
8214
|
|
|
8262
8215
|
/**
|
|
8263
|
-
*
|
|
8216
|
+
* Information of source file for video splicing (v2017)
|
|
8264
8217
|
* @class
|
|
8265
8218
|
*/
|
|
8266
|
-
class
|
|
8219
|
+
class ConcatFileInfo2017 extends AbstractModel {
|
|
8267
8220
|
constructor(){
|
|
8268
8221
|
super();
|
|
8269
8222
|
|
|
8270
8223
|
/**
|
|
8271
|
-
*
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
/**
|
|
8277
|
-
* Information of input video file, which is required if `InputType` is `File`.
|
|
8278
|
-
* @type {Array.<EditMediaFileInfo> || null}
|
|
8279
|
-
*/
|
|
8280
|
-
this.FileInfos = null;
|
|
8281
|
-
|
|
8282
|
-
/**
|
|
8283
|
-
* Input stream information, which is required if `InputType` is `Stream`.
|
|
8284
|
-
* @type {Array.<EditMediaStreamInfo> || null}
|
|
8285
|
-
*/
|
|
8286
|
-
this.StreamInfos = null;
|
|
8287
|
-
|
|
8288
|
-
/**
|
|
8289
|
-
* Editing template ID. Valid values: 10, 20. If this parameter is left empty, template 10 will be used.
|
|
8290
|
-
<li>10: the input with the highest resolution will be used as the benchmark;</li>
|
|
8291
|
-
<li>20: the input with the highest bitrate will be used as the benchmark;</li>
|
|
8224
|
+
* Error code
|
|
8225
|
+
<li>0: success;</li>
|
|
8226
|
+
<li>Other values: failure.</li>
|
|
8227
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
8292
8228
|
* @type {number || null}
|
|
8293
8229
|
*/
|
|
8294
|
-
this.
|
|
8230
|
+
this.ErrCode = null;
|
|
8295
8231
|
|
|
8296
8232
|
/**
|
|
8297
|
-
*
|
|
8233
|
+
* Error message.
|
|
8234
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
8298
8235
|
* @type {string || null}
|
|
8299
8236
|
*/
|
|
8300
|
-
this.
|
|
8301
|
-
|
|
8302
|
-
/**
|
|
8303
|
-
* Configuration of file generated after editing.
|
|
8304
|
-
* @type {EditMediaOutputConfig || null}
|
|
8305
|
-
*/
|
|
8306
|
-
this.OutputConfig = null;
|
|
8237
|
+
this.Message = null;
|
|
8307
8238
|
|
|
8308
8239
|
/**
|
|
8309
|
-
*
|
|
8240
|
+
* ID of source file for video splicing.
|
|
8241
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
8310
8242
|
* @type {string || null}
|
|
8311
8243
|
*/
|
|
8312
|
-
this.
|
|
8313
|
-
|
|
8314
|
-
/**
|
|
8315
|
-
* Task priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used.
|
|
8316
|
-
* @type {number || null}
|
|
8317
|
-
*/
|
|
8318
|
-
this.TasksPriority = null;
|
|
8244
|
+
this.FileId = null;
|
|
8319
8245
|
|
|
8320
8246
|
/**
|
|
8321
|
-
*
|
|
8247
|
+
* Address of source file for video splicing.
|
|
8248
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
8322
8249
|
* @type {string || null}
|
|
8323
8250
|
*/
|
|
8324
|
-
this.
|
|
8251
|
+
this.FileUrl = null;
|
|
8325
8252
|
|
|
8326
8253
|
/**
|
|
8327
|
-
*
|
|
8254
|
+
* Format of source file for video splicing.
|
|
8255
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
8328
8256
|
* @type {string || null}
|
|
8329
8257
|
*/
|
|
8330
|
-
this.
|
|
8331
|
-
|
|
8332
|
-
/**
|
|
8333
|
-
* [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
|
|
8334
|
-
* @type {number || null}
|
|
8335
|
-
*/
|
|
8336
|
-
this.SubAppId = null;
|
|
8258
|
+
this.FileType = null;
|
|
8337
8259
|
|
|
8338
8260
|
}
|
|
8339
8261
|
|
|
@@ -8344,86 +8266,76 @@ class EditMediaRequest extends AbstractModel {
|
|
|
8344
8266
|
if (!params) {
|
|
8345
8267
|
return;
|
|
8346
8268
|
}
|
|
8347
|
-
this.
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8351
|
-
|
|
8352
|
-
let obj = new EditMediaFileInfo();
|
|
8353
|
-
obj.deserialize(params.FileInfos[z]);
|
|
8354
|
-
this.FileInfos.push(obj);
|
|
8355
|
-
}
|
|
8356
|
-
}
|
|
8357
|
-
|
|
8358
|
-
if (params.StreamInfos) {
|
|
8359
|
-
this.StreamInfos = new Array();
|
|
8360
|
-
for (let z in params.StreamInfos) {
|
|
8361
|
-
let obj = new EditMediaStreamInfo();
|
|
8362
|
-
obj.deserialize(params.StreamInfos[z]);
|
|
8363
|
-
this.StreamInfos.push(obj);
|
|
8364
|
-
}
|
|
8365
|
-
}
|
|
8366
|
-
this.Definition = 'Definition' in params ? params.Definition : null;
|
|
8367
|
-
this.ProcedureName = 'ProcedureName' in params ? params.ProcedureName : null;
|
|
8368
|
-
|
|
8369
|
-
if (params.OutputConfig) {
|
|
8370
|
-
let obj = new EditMediaOutputConfig();
|
|
8371
|
-
obj.deserialize(params.OutputConfig)
|
|
8372
|
-
this.OutputConfig = obj;
|
|
8373
|
-
}
|
|
8374
|
-
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
8375
|
-
this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
|
|
8376
|
-
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
8377
|
-
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
8378
|
-
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
8269
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
8270
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
8271
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
8272
|
+
this.FileUrl = 'FileUrl' in params ? params.FileUrl : null;
|
|
8273
|
+
this.FileType = 'FileType' in params ? params.FileType : null;
|
|
8379
8274
|
|
|
8380
8275
|
}
|
|
8381
8276
|
}
|
|
8382
8277
|
|
|
8383
8278
|
/**
|
|
8384
|
-
*
|
|
8279
|
+
* The result for intelligent image recognition.
|
|
8385
8280
|
* @class
|
|
8386
8281
|
*/
|
|
8387
|
-
class
|
|
8282
|
+
class ContentReviewResult extends AbstractModel {
|
|
8388
8283
|
constructor(){
|
|
8389
8284
|
super();
|
|
8390
8285
|
|
|
8391
8286
|
/**
|
|
8392
|
-
*
|
|
8393
|
-
<li>
|
|
8394
|
-
<li>
|
|
8395
|
-
|
|
8396
|
-
|
|
8287
|
+
* The result type. Valid values:
|
|
8288
|
+
<li>Porn.Image: Recognition of pornographic content in the image</li>
|
|
8289
|
+
<li>Terrorism.Image: Recognition of terrorism content in the image</li>
|
|
8290
|
+
<li>Political.Image: Recognition of politically sensitive content in the image</li>
|
|
8291
|
+
<li>Porn.Ocr: OCR-based recognition of pornographic content in the image</li>
|
|
8292
|
+
<li>Terrorism.Ocr: OCR-based recognition of terrorism content in the image</li>
|
|
8293
|
+
<li>Political.Ocr: OCR-based recognition of politically sensitive content in the image</li>
|
|
8294
|
+
* @type {string || null}
|
|
8397
8295
|
*/
|
|
8398
|
-
this.
|
|
8296
|
+
this.Type = null;
|
|
8399
8297
|
|
|
8400
8298
|
/**
|
|
8401
|
-
*
|
|
8402
|
-
Note:
|
|
8403
|
-
* @type {
|
|
8299
|
+
* The pornographic content detected in the image. This parameter is valid if `Type` is `Porn.Image`.
|
|
8300
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
8301
|
+
* @type {PornImageResult || null}
|
|
8404
8302
|
*/
|
|
8405
|
-
this.
|
|
8303
|
+
this.PornImageResult = null;
|
|
8406
8304
|
|
|
8407
8305
|
/**
|
|
8408
|
-
*
|
|
8409
|
-
Note:
|
|
8410
|
-
* @type {
|
|
8306
|
+
* The terrorism content detected in the image. This parameter is valid if `Type` is `Terrorism.Image`.
|
|
8307
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
8308
|
+
* @type {TerrorismImageResult || null}
|
|
8411
8309
|
*/
|
|
8412
|
-
this.
|
|
8310
|
+
this.TerrorismImageResult = null;
|
|
8413
8311
|
|
|
8414
8312
|
/**
|
|
8415
|
-
*
|
|
8416
|
-
Note:
|
|
8417
|
-
* @type {
|
|
8313
|
+
* The politically sensitive content detected in the image. This parameter is valid if `Type` is `Political.Image`.
|
|
8314
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
8315
|
+
* @type {PoliticalImageResult || null}
|
|
8418
8316
|
*/
|
|
8419
|
-
this.
|
|
8317
|
+
this.PoliticalImageResult = null;
|
|
8420
8318
|
|
|
8421
8319
|
/**
|
|
8422
|
-
*
|
|
8423
|
-
Note:
|
|
8424
|
-
* @type {
|
|
8320
|
+
* The pornographic content detected in the image based on OCR. This parameter is valid if `Type` is `Porn.Ocr`.
|
|
8321
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
8322
|
+
* @type {ContentReviewOcrResult || null}
|
|
8425
8323
|
*/
|
|
8426
|
-
this.
|
|
8324
|
+
this.PornOcrResult = null;
|
|
8325
|
+
|
|
8326
|
+
/**
|
|
8327
|
+
* The terrorism content detected in the image based on OCR. This parameter is valid if `Type` is `Terrorism.Ocr`.
|
|
8328
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
8329
|
+
* @type {ContentReviewOcrResult || null}
|
|
8330
|
+
*/
|
|
8331
|
+
this.TerrorismOcrResult = null;
|
|
8332
|
+
|
|
8333
|
+
/**
|
|
8334
|
+
* The politically sensitive content detected in the image based on OCR. This parameter is valid if `Type` is `Political.Ocr`.
|
|
8335
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
8336
|
+
* @type {ContentReviewOcrResult || null}
|
|
8337
|
+
*/
|
|
8338
|
+
this.PoliticalOcrResult = null;
|
|
8427
8339
|
|
|
8428
8340
|
}
|
|
8429
8341
|
|
|
@@ -8434,11 +8346,43 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
8434
8346
|
if (!params) {
|
|
8435
8347
|
return;
|
|
8436
8348
|
}
|
|
8437
|
-
this.
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8349
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
8350
|
+
|
|
8351
|
+
if (params.PornImageResult) {
|
|
8352
|
+
let obj = new PornImageResult();
|
|
8353
|
+
obj.deserialize(params.PornImageResult)
|
|
8354
|
+
this.PornImageResult = obj;
|
|
8355
|
+
}
|
|
8356
|
+
|
|
8357
|
+
if (params.TerrorismImageResult) {
|
|
8358
|
+
let obj = new TerrorismImageResult();
|
|
8359
|
+
obj.deserialize(params.TerrorismImageResult)
|
|
8360
|
+
this.TerrorismImageResult = obj;
|
|
8361
|
+
}
|
|
8362
|
+
|
|
8363
|
+
if (params.PoliticalImageResult) {
|
|
8364
|
+
let obj = new PoliticalImageResult();
|
|
8365
|
+
obj.deserialize(params.PoliticalImageResult)
|
|
8366
|
+
this.PoliticalImageResult = obj;
|
|
8367
|
+
}
|
|
8368
|
+
|
|
8369
|
+
if (params.PornOcrResult) {
|
|
8370
|
+
let obj = new ContentReviewOcrResult();
|
|
8371
|
+
obj.deserialize(params.PornOcrResult)
|
|
8372
|
+
this.PornOcrResult = obj;
|
|
8373
|
+
}
|
|
8374
|
+
|
|
8375
|
+
if (params.TerrorismOcrResult) {
|
|
8376
|
+
let obj = new ContentReviewOcrResult();
|
|
8377
|
+
obj.deserialize(params.TerrorismOcrResult)
|
|
8378
|
+
this.TerrorismOcrResult = obj;
|
|
8379
|
+
}
|
|
8380
|
+
|
|
8381
|
+
if (params.PoliticalOcrResult) {
|
|
8382
|
+
let obj = new ContentReviewOcrResult();
|
|
8383
|
+
obj.deserialize(params.PoliticalOcrResult)
|
|
8384
|
+
this.PoliticalOcrResult = obj;
|
|
8385
|
+
}
|
|
8442
8386
|
|
|
8443
8387
|
}
|
|
8444
8388
|
}
|
|
@@ -9698,6 +9642,49 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
9698
9642
|
}
|
|
9699
9643
|
}
|
|
9700
9644
|
|
|
9645
|
+
/**
|
|
9646
|
+
* DescribeMediaPlayStatDetails response structure.
|
|
9647
|
+
* @class
|
|
9648
|
+
*/
|
|
9649
|
+
class DescribeMediaPlayStatDetailsResponse extends AbstractModel {
|
|
9650
|
+
constructor(){
|
|
9651
|
+
super();
|
|
9652
|
+
|
|
9653
|
+
/**
|
|
9654
|
+
* The playback statistics.
|
|
9655
|
+
* @type {Array.<PlayStatInfo> || null}
|
|
9656
|
+
*/
|
|
9657
|
+
this.PlayStatInfoSet = null;
|
|
9658
|
+
|
|
9659
|
+
/**
|
|
9660
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
9661
|
+
* @type {string || null}
|
|
9662
|
+
*/
|
|
9663
|
+
this.RequestId = null;
|
|
9664
|
+
|
|
9665
|
+
}
|
|
9666
|
+
|
|
9667
|
+
/**
|
|
9668
|
+
* @private
|
|
9669
|
+
*/
|
|
9670
|
+
deserialize(params) {
|
|
9671
|
+
if (!params) {
|
|
9672
|
+
return;
|
|
9673
|
+
}
|
|
9674
|
+
|
|
9675
|
+
if (params.PlayStatInfoSet) {
|
|
9676
|
+
this.PlayStatInfoSet = new Array();
|
|
9677
|
+
for (let z in params.PlayStatInfoSet) {
|
|
9678
|
+
let obj = new PlayStatInfo();
|
|
9679
|
+
obj.deserialize(params.PlayStatInfoSet[z]);
|
|
9680
|
+
this.PlayStatInfoSet.push(obj);
|
|
9681
|
+
}
|
|
9682
|
+
}
|
|
9683
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9684
|
+
|
|
9685
|
+
}
|
|
9686
|
+
}
|
|
9687
|
+
|
|
9701
9688
|
/**
|
|
9702
9689
|
* Video stream configuration parameter
|
|
9703
9690
|
* @class
|
|
@@ -11400,10 +11387,178 @@ class ProcessMediaRequest extends AbstractModel {
|
|
|
11400
11387
|
* Reserved field for special purposes.
|
|
11401
11388
|
* @type {string || null}
|
|
11402
11389
|
*/
|
|
11403
|
-
this.ExtInfo = null;
|
|
11390
|
+
this.ExtInfo = null;
|
|
11391
|
+
|
|
11392
|
+
/**
|
|
11393
|
+
* [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
|
|
11394
|
+
* @type {number || null}
|
|
11395
|
+
*/
|
|
11396
|
+
this.SubAppId = null;
|
|
11397
|
+
|
|
11398
|
+
}
|
|
11399
|
+
|
|
11400
|
+
/**
|
|
11401
|
+
* @private
|
|
11402
|
+
*/
|
|
11403
|
+
deserialize(params) {
|
|
11404
|
+
if (!params) {
|
|
11405
|
+
return;
|
|
11406
|
+
}
|
|
11407
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
11408
|
+
|
|
11409
|
+
if (params.MediaProcessTask) {
|
|
11410
|
+
let obj = new MediaProcessTaskInput();
|
|
11411
|
+
obj.deserialize(params.MediaProcessTask)
|
|
11412
|
+
this.MediaProcessTask = obj;
|
|
11413
|
+
}
|
|
11414
|
+
|
|
11415
|
+
if (params.AiContentReviewTask) {
|
|
11416
|
+
let obj = new AiContentReviewTaskInput();
|
|
11417
|
+
obj.deserialize(params.AiContentReviewTask)
|
|
11418
|
+
this.AiContentReviewTask = obj;
|
|
11419
|
+
}
|
|
11420
|
+
|
|
11421
|
+
if (params.AiAnalysisTask) {
|
|
11422
|
+
let obj = new AiAnalysisTaskInput();
|
|
11423
|
+
obj.deserialize(params.AiAnalysisTask)
|
|
11424
|
+
this.AiAnalysisTask = obj;
|
|
11425
|
+
}
|
|
11426
|
+
|
|
11427
|
+
if (params.AiRecognitionTask) {
|
|
11428
|
+
let obj = new AiRecognitionTaskInput();
|
|
11429
|
+
obj.deserialize(params.AiRecognitionTask)
|
|
11430
|
+
this.AiRecognitionTask = obj;
|
|
11431
|
+
}
|
|
11432
|
+
this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
|
|
11433
|
+
this.TasksNotifyMode = 'TasksNotifyMode' in params ? params.TasksNotifyMode : null;
|
|
11434
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
11435
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
11436
|
+
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
11437
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
11438
|
+
|
|
11439
|
+
}
|
|
11440
|
+
}
|
|
11441
|
+
|
|
11442
|
+
/**
|
|
11443
|
+
* The result for the recognition of pornographic content in the image.
|
|
11444
|
+
* @class
|
|
11445
|
+
*/
|
|
11446
|
+
class PornImageResult extends AbstractModel {
|
|
11447
|
+
constructor(){
|
|
11448
|
+
super();
|
|
11449
|
+
|
|
11450
|
+
/**
|
|
11451
|
+
* The confidence score for the pornographic content recognition result. Value range: 0-100.
|
|
11452
|
+
* @type {number || null}
|
|
11453
|
+
*/
|
|
11454
|
+
this.Confidence = null;
|
|
11455
|
+
|
|
11456
|
+
/**
|
|
11457
|
+
* The suggestion for handling the detected pornographic content. Valid values:
|
|
11458
|
+
<li>pass/li>
|
|
11459
|
+
<li>review</li>
|
|
11460
|
+
<li>block</li>
|
|
11461
|
+
* @type {string || null}
|
|
11462
|
+
*/
|
|
11463
|
+
this.Suggestion = null;
|
|
11464
|
+
|
|
11465
|
+
/**
|
|
11466
|
+
* The label for the detected pornographic content. Valid values:
|
|
11467
|
+
<li>porn</li>
|
|
11468
|
+
<li>sexy</li>
|
|
11469
|
+
<li>vulgar</li>
|
|
11470
|
+
<li>intimacy</li>
|
|
11471
|
+
* @type {string || null}
|
|
11472
|
+
*/
|
|
11473
|
+
this.Label = null;
|
|
11474
|
+
|
|
11475
|
+
}
|
|
11476
|
+
|
|
11477
|
+
/**
|
|
11478
|
+
* @private
|
|
11479
|
+
*/
|
|
11480
|
+
deserialize(params) {
|
|
11481
|
+
if (!params) {
|
|
11482
|
+
return;
|
|
11483
|
+
}
|
|
11484
|
+
this.Confidence = 'Confidence' in params ? params.Confidence : null;
|
|
11485
|
+
this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
|
|
11486
|
+
this.Label = 'Label' in params ? params.Label : null;
|
|
11487
|
+
|
|
11488
|
+
}
|
|
11489
|
+
}
|
|
11490
|
+
|
|
11491
|
+
/**
|
|
11492
|
+
* ProcessImage response structure.
|
|
11493
|
+
* @class
|
|
11494
|
+
*/
|
|
11495
|
+
class ProcessImageResponse extends AbstractModel {
|
|
11496
|
+
constructor(){
|
|
11497
|
+
super();
|
|
11498
|
+
|
|
11499
|
+
/**
|
|
11500
|
+
* The image recognition result.
|
|
11501
|
+
* @type {Array.<ContentReviewResult> || null}
|
|
11502
|
+
*/
|
|
11503
|
+
this.ContentReviewResultSet = null;
|
|
11504
|
+
|
|
11505
|
+
/**
|
|
11506
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
11507
|
+
* @type {string || null}
|
|
11508
|
+
*/
|
|
11509
|
+
this.RequestId = null;
|
|
11510
|
+
|
|
11511
|
+
}
|
|
11512
|
+
|
|
11513
|
+
/**
|
|
11514
|
+
* @private
|
|
11515
|
+
*/
|
|
11516
|
+
deserialize(params) {
|
|
11517
|
+
if (!params) {
|
|
11518
|
+
return;
|
|
11519
|
+
}
|
|
11520
|
+
|
|
11521
|
+
if (params.ContentReviewResultSet) {
|
|
11522
|
+
this.ContentReviewResultSet = new Array();
|
|
11523
|
+
for (let z in params.ContentReviewResultSet) {
|
|
11524
|
+
let obj = new ContentReviewResult();
|
|
11525
|
+
obj.deserialize(params.ContentReviewResultSet[z]);
|
|
11526
|
+
this.ContentReviewResultSet.push(obj);
|
|
11527
|
+
}
|
|
11528
|
+
}
|
|
11529
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11530
|
+
|
|
11531
|
+
}
|
|
11532
|
+
}
|
|
11533
|
+
|
|
11534
|
+
/**
|
|
11535
|
+
* ProcessImage request structure.
|
|
11536
|
+
* @class
|
|
11537
|
+
*/
|
|
11538
|
+
class ProcessImageRequest extends AbstractModel {
|
|
11539
|
+
constructor(){
|
|
11540
|
+
super();
|
|
11541
|
+
|
|
11542
|
+
/**
|
|
11543
|
+
* The unique ID of the media file. For this API to work, the file must be an image.
|
|
11544
|
+
* @type {string || null}
|
|
11545
|
+
*/
|
|
11546
|
+
this.FileId = null;
|
|
11547
|
+
|
|
11548
|
+
/**
|
|
11549
|
+
* Operation. `ContentReview` is the only valid value currently.
|
|
11550
|
+
* @type {string || null}
|
|
11551
|
+
*/
|
|
11552
|
+
this.Operation = null;
|
|
11553
|
+
|
|
11554
|
+
/**
|
|
11555
|
+
* Image recognition parameters. This parameter is valid if `Operation` is `ContentReview`.
|
|
11556
|
+
* @type {ImageContentReviewInput || null}
|
|
11557
|
+
*/
|
|
11558
|
+
this.ContentReviewInput = null;
|
|
11404
11559
|
|
|
11405
11560
|
/**
|
|
11406
|
-
* [
|
|
11561
|
+
* The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.
|
|
11407
11562
|
* @type {number || null}
|
|
11408
11563
|
*/
|
|
11409
11564
|
this.SubAppId = null;
|
|
@@ -11418,35 +11573,13 @@ class ProcessMediaRequest extends AbstractModel {
|
|
|
11418
11573
|
return;
|
|
11419
11574
|
}
|
|
11420
11575
|
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
11576
|
+
this.Operation = 'Operation' in params ? params.Operation : null;
|
|
11421
11577
|
|
|
11422
|
-
if (params.
|
|
11423
|
-
let obj = new
|
|
11424
|
-
obj.deserialize(params.
|
|
11425
|
-
this.
|
|
11426
|
-
}
|
|
11427
|
-
|
|
11428
|
-
if (params.AiContentReviewTask) {
|
|
11429
|
-
let obj = new AiContentReviewTaskInput();
|
|
11430
|
-
obj.deserialize(params.AiContentReviewTask)
|
|
11431
|
-
this.AiContentReviewTask = obj;
|
|
11432
|
-
}
|
|
11433
|
-
|
|
11434
|
-
if (params.AiAnalysisTask) {
|
|
11435
|
-
let obj = new AiAnalysisTaskInput();
|
|
11436
|
-
obj.deserialize(params.AiAnalysisTask)
|
|
11437
|
-
this.AiAnalysisTask = obj;
|
|
11438
|
-
}
|
|
11439
|
-
|
|
11440
|
-
if (params.AiRecognitionTask) {
|
|
11441
|
-
let obj = new AiRecognitionTaskInput();
|
|
11442
|
-
obj.deserialize(params.AiRecognitionTask)
|
|
11443
|
-
this.AiRecognitionTask = obj;
|
|
11578
|
+
if (params.ContentReviewInput) {
|
|
11579
|
+
let obj = new ImageContentReviewInput();
|
|
11580
|
+
obj.deserialize(params.ContentReviewInput)
|
|
11581
|
+
this.ContentReviewInput = obj;
|
|
11444
11582
|
}
|
|
11445
|
-
this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
|
|
11446
|
-
this.TasksNotifyMode = 'TasksNotifyMode' in params ? params.TasksNotifyMode : null;
|
|
11447
|
-
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
11448
|
-
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
11449
|
-
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
11450
11583
|
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
11451
11584
|
|
|
11452
11585
|
}
|
|
@@ -12541,6 +12674,58 @@ Default value: 0, which indicates to delete all videos of the type specified by
|
|
|
12541
12674
|
}
|
|
12542
12675
|
}
|
|
12543
12676
|
|
|
12677
|
+
/**
|
|
12678
|
+
* The result for the recognition of politically sensitive content in the image.
|
|
12679
|
+
* @class
|
|
12680
|
+
*/
|
|
12681
|
+
class PoliticalImageResult extends AbstractModel {
|
|
12682
|
+
constructor(){
|
|
12683
|
+
super();
|
|
12684
|
+
|
|
12685
|
+
/**
|
|
12686
|
+
* The confidence score for the politically sensitive content recognition result. Value range: 0-100.
|
|
12687
|
+
* @type {number || null}
|
|
12688
|
+
*/
|
|
12689
|
+
this.Confidence = null;
|
|
12690
|
+
|
|
12691
|
+
/**
|
|
12692
|
+
* The suggestion for handling the detected politically sensitive content. Valid values:
|
|
12693
|
+
<li>pass/li>
|
|
12694
|
+
<li>review</li>
|
|
12695
|
+
<li>block</li>
|
|
12696
|
+
* @type {string || null}
|
|
12697
|
+
*/
|
|
12698
|
+
this.Suggestion = null;
|
|
12699
|
+
|
|
12700
|
+
/**
|
|
12701
|
+
* The name of the politically sensitive content or banned icon detected.
|
|
12702
|
+
* @type {string || null}
|
|
12703
|
+
*/
|
|
12704
|
+
this.Name = null;
|
|
12705
|
+
|
|
12706
|
+
/**
|
|
12707
|
+
* The coordinates (pixel) of the top-left and bottom-right corners of the frame where politically sensitive content or a banned icon appears. Format: [x1, y1, x2, y2].
|
|
12708
|
+
* @type {Array.<number> || null}
|
|
12709
|
+
*/
|
|
12710
|
+
this.AreaCoordSet = null;
|
|
12711
|
+
|
|
12712
|
+
}
|
|
12713
|
+
|
|
12714
|
+
/**
|
|
12715
|
+
* @private
|
|
12716
|
+
*/
|
|
12717
|
+
deserialize(params) {
|
|
12718
|
+
if (!params) {
|
|
12719
|
+
return;
|
|
12720
|
+
}
|
|
12721
|
+
this.Confidence = 'Confidence' in params ? params.Confidence : null;
|
|
12722
|
+
this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
|
|
12723
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
12724
|
+
this.AreaCoordSet = 'AreaCoordSet' in params ? params.AreaCoordSet : null;
|
|
12725
|
+
|
|
12726
|
+
}
|
|
12727
|
+
}
|
|
12728
|
+
|
|
12544
12729
|
/**
|
|
12545
12730
|
* AI-based sample management - figure information.
|
|
12546
12731
|
* @class
|
|
@@ -13605,8 +13790,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
13605
13790
|
this.Output = null;
|
|
13606
13791
|
|
|
13607
13792
|
/**
|
|
13608
|
-
*
|
|
13609
|
-
Note:
|
|
13793
|
+
* The metadata of the output video.
|
|
13794
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
13610
13795
|
* @type {MediaMetaData || null}
|
|
13611
13796
|
*/
|
|
13612
13797
|
this.MetaData = null;
|
|
@@ -18331,6 +18516,65 @@ class AiRecognitionTaskObjectResultOutput extends AbstractModel {
|
|
|
18331
18516
|
}
|
|
18332
18517
|
}
|
|
18333
18518
|
|
|
18519
|
+
/**
|
|
18520
|
+
* DescribeMediaPlayStatDetails request structure.
|
|
18521
|
+
* @class
|
|
18522
|
+
*/
|
|
18523
|
+
class DescribeMediaPlayStatDetailsRequest extends AbstractModel {
|
|
18524
|
+
constructor(){
|
|
18525
|
+
super();
|
|
18526
|
+
|
|
18527
|
+
/**
|
|
18528
|
+
* The ID of the media file.
|
|
18529
|
+
* @type {string || null}
|
|
18530
|
+
*/
|
|
18531
|
+
this.FileId = null;
|
|
18532
|
+
|
|
18533
|
+
/**
|
|
18534
|
+
* The start time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
|
|
18535
|
+
* @type {string || null}
|
|
18536
|
+
*/
|
|
18537
|
+
this.StartTime = null;
|
|
18538
|
+
|
|
18539
|
+
/**
|
|
18540
|
+
* The end time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
|
|
18541
|
+
* @type {string || null}
|
|
18542
|
+
*/
|
|
18543
|
+
this.EndTime = null;
|
|
18544
|
+
|
|
18545
|
+
/**
|
|
18546
|
+
* Granularity. Valid values:
|
|
18547
|
+
<li>Hour</li>
|
|
18548
|
+
<li>Day</li>
|
|
18549
|
+
The default value depends on the time period queried. If the time period is shorter than one day, the default value is `Hour`; if the time period is one day or longer, the default value is `Day`.
|
|
18550
|
+
* @type {string || null}
|
|
18551
|
+
*/
|
|
18552
|
+
this.Interval = null;
|
|
18553
|
+
|
|
18554
|
+
/**
|
|
18555
|
+
* The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.
|
|
18556
|
+
* @type {number || null}
|
|
18557
|
+
*/
|
|
18558
|
+
this.SubAppId = null;
|
|
18559
|
+
|
|
18560
|
+
}
|
|
18561
|
+
|
|
18562
|
+
/**
|
|
18563
|
+
* @private
|
|
18564
|
+
*/
|
|
18565
|
+
deserialize(params) {
|
|
18566
|
+
if (!params) {
|
|
18567
|
+
return;
|
|
18568
|
+
}
|
|
18569
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
18570
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
18571
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
18572
|
+
this.Interval = 'Interval' in params ? params.Interval : null;
|
|
18573
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
18574
|
+
|
|
18575
|
+
}
|
|
18576
|
+
}
|
|
18577
|
+
|
|
18334
18578
|
/**
|
|
18335
18579
|
* ASR-detected prohibited information in speech
|
|
18336
18580
|
* @class
|
|
@@ -20530,6 +20774,58 @@ class AsrFullTextConfigureInfo extends AbstractModel {
|
|
|
20530
20774
|
}
|
|
20531
20775
|
}
|
|
20532
20776
|
|
|
20777
|
+
/**
|
|
20778
|
+
* The result for the recognition of terrorism content in the image.
|
|
20779
|
+
* @class
|
|
20780
|
+
*/
|
|
20781
|
+
class TerrorismImageResult extends AbstractModel {
|
|
20782
|
+
constructor(){
|
|
20783
|
+
super();
|
|
20784
|
+
|
|
20785
|
+
/**
|
|
20786
|
+
* The confidence score for the terrorism content recognition result. Value range: 0-100.
|
|
20787
|
+
* @type {number || null}
|
|
20788
|
+
*/
|
|
20789
|
+
this.Confidence = null;
|
|
20790
|
+
|
|
20791
|
+
/**
|
|
20792
|
+
* The suggestion for handling the detected terrorism content. Valid values:
|
|
20793
|
+
<li>pass/li>
|
|
20794
|
+
<li>review</li>
|
|
20795
|
+
<li>block</li>
|
|
20796
|
+
* @type {string || null}
|
|
20797
|
+
*/
|
|
20798
|
+
this.Suggestion = null;
|
|
20799
|
+
|
|
20800
|
+
/**
|
|
20801
|
+
* The label for the detected terrorism content. Valid values:
|
|
20802
|
+
<li>guns</li>
|
|
20803
|
+
<li>crowd</li>
|
|
20804
|
+
<li>police</li>
|
|
20805
|
+
<li>bloody</li>
|
|
20806
|
+
<li>banners</li>
|
|
20807
|
+
<li>explosion</li>
|
|
20808
|
+
<li>scenario (terrorist scenes) </li>
|
|
20809
|
+
* @type {string || null}
|
|
20810
|
+
*/
|
|
20811
|
+
this.Label = null;
|
|
20812
|
+
|
|
20813
|
+
}
|
|
20814
|
+
|
|
20815
|
+
/**
|
|
20816
|
+
* @private
|
|
20817
|
+
*/
|
|
20818
|
+
deserialize(params) {
|
|
20819
|
+
if (!params) {
|
|
20820
|
+
return;
|
|
20821
|
+
}
|
|
20822
|
+
this.Confidence = 'Confidence' in params ? params.Confidence : null;
|
|
20823
|
+
this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
|
|
20824
|
+
this.Label = 'Label' in params ? params.Label : null;
|
|
20825
|
+
|
|
20826
|
+
}
|
|
20827
|
+
}
|
|
20828
|
+
|
|
20533
20829
|
/**
|
|
20534
20830
|
* DeleteVodDomain request structure.
|
|
20535
20831
|
* @class
|
|
@@ -21008,18 +21304,67 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
21008
21304
|
}
|
|
21009
21305
|
|
|
21010
21306
|
/**
|
|
21011
|
-
*
|
|
21307
|
+
* The request parameters for an image recognition task.
|
|
21012
21308
|
* @class
|
|
21013
21309
|
*/
|
|
21014
|
-
class
|
|
21310
|
+
class ImageContentReviewInput extends AbstractModel {
|
|
21015
21311
|
constructor(){
|
|
21016
21312
|
super();
|
|
21017
21313
|
|
|
21018
21314
|
/**
|
|
21019
|
-
* The
|
|
21315
|
+
* The ID of the image recognition template to use. Valid values:
|
|
21316
|
+
<li>10: All recognition types enabled</li>
|
|
21317
|
+
* @type {number || null}
|
|
21318
|
+
*/
|
|
21319
|
+
this.Definition = null;
|
|
21320
|
+
|
|
21321
|
+
}
|
|
21322
|
+
|
|
21323
|
+
/**
|
|
21324
|
+
* @private
|
|
21325
|
+
*/
|
|
21326
|
+
deserialize(params) {
|
|
21327
|
+
if (!params) {
|
|
21328
|
+
return;
|
|
21329
|
+
}
|
|
21330
|
+
this.Definition = 'Definition' in params ? params.Definition : null;
|
|
21331
|
+
|
|
21332
|
+
}
|
|
21333
|
+
}
|
|
21334
|
+
|
|
21335
|
+
/**
|
|
21336
|
+
* The playback statistics.
|
|
21337
|
+
* @class
|
|
21338
|
+
*/
|
|
21339
|
+
class PlayStatInfo extends AbstractModel {
|
|
21340
|
+
constructor(){
|
|
21341
|
+
super();
|
|
21342
|
+
|
|
21343
|
+
/**
|
|
21344
|
+
* The start time (in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I)) of the data returned. For example, if the granularity is a day, `2018-12-01T00:00:00+08:00` indicates that the data is for the period between December 1, 2018 (inclusive) and December 2, 2018 (exclusive).
|
|
21345
|
+
<li>If the granularity is an hour, `2019-08-22T00:00:00+08:00` indicates the data is for the period between 00:00 and 01:00 AM on August 22, 2019.</li>
|
|
21346
|
+
<li>If the granularity is a day, `2019-08-22T00:00:00+08:00` indicates the data is for August 22, 2019.</li>
|
|
21020
21347
|
* @type {string || null}
|
|
21021
21348
|
*/
|
|
21022
|
-
this.
|
|
21349
|
+
this.Time = null;
|
|
21350
|
+
|
|
21351
|
+
/**
|
|
21352
|
+
* The ID of the media file.
|
|
21353
|
+
* @type {string || null}
|
|
21354
|
+
*/
|
|
21355
|
+
this.FileId = null;
|
|
21356
|
+
|
|
21357
|
+
/**
|
|
21358
|
+
* The playback times.
|
|
21359
|
+
* @type {number || null}
|
|
21360
|
+
*/
|
|
21361
|
+
this.PlayTimes = null;
|
|
21362
|
+
|
|
21363
|
+
/**
|
|
21364
|
+
* The traffic (in bytes) consumed for playback.
|
|
21365
|
+
* @type {number || null}
|
|
21366
|
+
*/
|
|
21367
|
+
this.Traffic = null;
|
|
21023
21368
|
|
|
21024
21369
|
}
|
|
21025
21370
|
|
|
@@ -21030,7 +21375,10 @@ class ModifyAIRecognitionTemplateResponse extends AbstractModel {
|
|
|
21030
21375
|
if (!params) {
|
|
21031
21376
|
return;
|
|
21032
21377
|
}
|
|
21033
|
-
this.
|
|
21378
|
+
this.Time = 'Time' in params ? params.Time : null;
|
|
21379
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
21380
|
+
this.PlayTimes = 'PlayTimes' in params ? params.PlayTimes : null;
|
|
21381
|
+
this.Traffic = 'Traffic' in params ? params.Traffic : null;
|
|
21034
21382
|
|
|
21035
21383
|
}
|
|
21036
21384
|
}
|
|
@@ -24231,11 +24579,11 @@ Default value: open.
|
|
|
24231
24579
|
this.UpdateTime = null;
|
|
24232
24580
|
|
|
24233
24581
|
/**
|
|
24234
|
-
*
|
|
24235
|
-
<li>
|
|
24236
|
-
<li>black:
|
|
24237
|
-
<li>white:
|
|
24238
|
-
<li>gauss:
|
|
24582
|
+
* The fill mode, or the way of processing a screenshot when the configured aspect ratio is different from that of the source video. Valid values:
|
|
24583
|
+
<li>stretch: Stretch the image frame by frame to fill the entire screen. The video image may become "squashed" or "stretched" after transcoding.</li>
|
|
24584
|
+
<li>black: Keep the image's original aspect ratio and fill the blank space with black bars.</li>
|
|
24585
|
+
<li>white: Keep the image’s original aspect ratio and fill the blank space with white bars.</li>
|
|
24586
|
+
<li>gauss: Keep the image’s original aspect ratio and apply Gaussian blur to the blank space.</li>
|
|
24239
24587
|
Default value: black.
|
|
24240
24588
|
* @type {string || null}
|
|
24241
24589
|
*/
|
|
@@ -26062,41 +26410,6 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
26062
26410
|
}
|
|
26063
26411
|
}
|
|
26064
26412
|
|
|
26065
|
-
/**
|
|
26066
|
-
* WeChatMiniProgramPublish response structure.
|
|
26067
|
-
* @class
|
|
26068
|
-
*/
|
|
26069
|
-
class WeChatMiniProgramPublishResponse extends AbstractModel {
|
|
26070
|
-
constructor(){
|
|
26071
|
-
super();
|
|
26072
|
-
|
|
26073
|
-
/**
|
|
26074
|
-
* Task ID.
|
|
26075
|
-
* @type {string || null}
|
|
26076
|
-
*/
|
|
26077
|
-
this.TaskId = null;
|
|
26078
|
-
|
|
26079
|
-
/**
|
|
26080
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
26081
|
-
* @type {string || null}
|
|
26082
|
-
*/
|
|
26083
|
-
this.RequestId = null;
|
|
26084
|
-
|
|
26085
|
-
}
|
|
26086
|
-
|
|
26087
|
-
/**
|
|
26088
|
-
* @private
|
|
26089
|
-
*/
|
|
26090
|
-
deserialize(params) {
|
|
26091
|
-
if (!params) {
|
|
26092
|
-
return;
|
|
26093
|
-
}
|
|
26094
|
-
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
26095
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
26096
|
-
|
|
26097
|
-
}
|
|
26098
|
-
}
|
|
26099
|
-
|
|
26100
26413
|
/**
|
|
26101
26414
|
* Operation such as image rotation and flipping
|
|
26102
26415
|
* @class
|
|
@@ -28297,7 +28610,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
28297
28610
|
this.Output = null;
|
|
28298
28611
|
|
|
28299
28612
|
/**
|
|
28300
|
-
*
|
|
28613
|
+
* The metadata of the output video.
|
|
28301
28614
|
* @type {MediaMetaData || null}
|
|
28302
28615
|
*/
|
|
28303
28616
|
this.MetaData = null;
|
|
@@ -29187,11 +29500,11 @@ Default value: open.
|
|
|
29187
29500
|
this.UpdateTime = null;
|
|
29188
29501
|
|
|
29189
29502
|
/**
|
|
29190
|
-
*
|
|
29191
|
-
<li>
|
|
29192
|
-
<li>black:
|
|
29193
|
-
<li>white:
|
|
29194
|
-
<li>gauss:
|
|
29503
|
+
* The fill mode, or the way of processing a screenshot when the configured aspect ratio is different from that of the source video. Valid values:
|
|
29504
|
+
<li>stretch: Stretch the image frame by frame to fill the entire screen. The video image may become "squashed" or "stretched" after transcoding.</li>
|
|
29505
|
+
<li>black: Keep the image's original aspect ratio and fill the blank space with black bars.</li>
|
|
29506
|
+
<li>white: Keep the image’s original aspect ratio and fill the blank space with white bars.</li>
|
|
29507
|
+
<li>gauss: Keep the image’s original aspect ratio and apply Gaussian blur to the blank space.</li>
|
|
29195
29508
|
Default value: black.
|
|
29196
29509
|
* @type {string || null}
|
|
29197
29510
|
*/
|
|
@@ -29988,7 +30301,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
29988
30301
|
this.MediaBasicInfo = null;
|
|
29989
30302
|
|
|
29990
30303
|
/**
|
|
29991
|
-
*
|
|
30304
|
+
* The metadata of the output video.
|
|
29992
30305
|
* @type {MediaMetaData || null}
|
|
29993
30306
|
*/
|
|
29994
30307
|
this.MetaData = null;
|
|
@@ -30407,7 +30720,6 @@ module.exports = {
|
|
|
30407
30720
|
AiRecognitionTaskAsrFullTextSegmentItem: AiRecognitionTaskAsrFullTextSegmentItem,
|
|
30408
30721
|
UserDefineOcrTextReviewTemplateInfoForUpdate: UserDefineOcrTextReviewTemplateInfoForUpdate,
|
|
30409
30722
|
DescribeAllClassRequest: DescribeAllClassRequest,
|
|
30410
|
-
WeChatMiniProgramPublishRequest: WeChatMiniProgramPublishRequest,
|
|
30411
30723
|
AiAnalysisTaskClassificationInput: AiAnalysisTaskClassificationInput,
|
|
30412
30724
|
SvgWatermarkInput: SvgWatermarkInput,
|
|
30413
30725
|
CreateTranscodeTemplateRequest: CreateTranscodeTemplateRequest,
|
|
@@ -30441,6 +30753,7 @@ module.exports = {
|
|
|
30441
30753
|
AiReviewPoliticalTaskInput: AiReviewPoliticalTaskInput,
|
|
30442
30754
|
AudioTransform: AudioTransform,
|
|
30443
30755
|
ResetProcedureTemplateRequest: ResetProcedureTemplateRequest,
|
|
30756
|
+
ContentReviewOcrResult: ContentReviewOcrResult,
|
|
30444
30757
|
ComposeMediaResponse: ComposeMediaResponse,
|
|
30445
30758
|
UrlSignatureAuthPolicy: UrlSignatureAuthPolicy,
|
|
30446
30759
|
DeleteSampleSnapshotTemplateRequest: DeleteSampleSnapshotTemplateRequest,
|
|
@@ -30503,10 +30816,10 @@ module.exports = {
|
|
|
30503
30816
|
TextWatermarkTemplateInput: TextWatermarkTemplateInput,
|
|
30504
30817
|
ForbidMediaDistributionRequest: ForbidMediaDistributionRequest,
|
|
30505
30818
|
DescribeAIRecognitionTemplatesResponse: DescribeAIRecognitionTemplatesResponse,
|
|
30506
|
-
EditMediaResponse: EditMediaResponse,
|
|
30507
30819
|
PoliticalOcrReviewTemplateInfoForUpdate: PoliticalOcrReviewTemplateInfoForUpdate,
|
|
30508
30820
|
TaskOutputMediaInfo: TaskOutputMediaInfo,
|
|
30509
30821
|
ProcessMediaByUrlRequest: ProcessMediaByUrlRequest,
|
|
30822
|
+
ModifyAIRecognitionTemplateResponse: ModifyAIRecognitionTemplateResponse,
|
|
30510
30823
|
PlayStatFileInfo: PlayStatFileInfo,
|
|
30511
30824
|
ModifyMediaInfoRequest: ModifyMediaInfoRequest,
|
|
30512
30825
|
DeleteTranscodeTemplateRequest: DeleteTranscodeTemplateRequest,
|
|
@@ -30543,13 +30856,12 @@ module.exports = {
|
|
|
30543
30856
|
LiveRealTimeClipRequest: LiveRealTimeClipRequest,
|
|
30544
30857
|
DeleteAdaptiveDynamicStreamingTemplateRequest: DeleteAdaptiveDynamicStreamingTemplateRequest,
|
|
30545
30858
|
AiRecognitionTaskOcrFullTextSegmentItem: AiRecognitionTaskOcrFullTextSegmentItem,
|
|
30546
|
-
EditMediaOutputConfig: EditMediaOutputConfig,
|
|
30547
30859
|
SplitMediaTaskSegmentInfo: SplitMediaTaskSegmentInfo,
|
|
30548
30860
|
AiReviewPornAsrTaskOutput: AiReviewPornAsrTaskOutput,
|
|
30549
30861
|
SimpleHlsClipResponse: SimpleHlsClipResponse,
|
|
30550
30862
|
DeleteAIAnalysisTemplateRequest: DeleteAIAnalysisTemplateRequest,
|
|
30551
|
-
EditMediaRequest: EditMediaRequest,
|
|
30552
30863
|
ConcatFileInfo2017: ConcatFileInfo2017,
|
|
30864
|
+
ContentReviewResult: ContentReviewResult,
|
|
30553
30865
|
MediaProcessTaskImageSpriteResult: MediaProcessTaskImageSpriteResult,
|
|
30554
30866
|
DescribeMediaInfosResponse: DescribeMediaInfosResponse,
|
|
30555
30867
|
DeleteProcedureTemplateResponse: DeleteProcedureTemplateResponse,
|
|
@@ -30573,6 +30885,7 @@ module.exports = {
|
|
|
30573
30885
|
DeleteWordSamplesRequest: DeleteWordSamplesRequest,
|
|
30574
30886
|
EmptyTrackItem: EmptyTrackItem,
|
|
30575
30887
|
StickerTrackItem: StickerTrackItem,
|
|
30888
|
+
DescribeMediaPlayStatDetailsResponse: DescribeMediaPlayStatDetailsResponse,
|
|
30576
30889
|
VideoTemplateInfo: VideoTemplateInfo,
|
|
30577
30890
|
PoliticalOcrReviewTemplateInfo: PoliticalOcrReviewTemplateInfo,
|
|
30578
30891
|
PornOcrReviewTemplateInfoForUpdate: PornOcrReviewTemplateInfoForUpdate,
|
|
@@ -30603,6 +30916,9 @@ module.exports = {
|
|
|
30603
30916
|
AiAnalysisTaskHighlightOutput: AiAnalysisTaskHighlightOutput,
|
|
30604
30917
|
MediaSubtitleInput: MediaSubtitleInput,
|
|
30605
30918
|
ProcessMediaRequest: ProcessMediaRequest,
|
|
30919
|
+
PornImageResult: PornImageResult,
|
|
30920
|
+
ProcessImageResponse: ProcessImageResponse,
|
|
30921
|
+
ProcessImageRequest: ProcessImageRequest,
|
|
30606
30922
|
ModifyMediaInfoResponse: ModifyMediaInfoResponse,
|
|
30607
30923
|
AiRecognitionTaskOcrFullTextResult: AiRecognitionTaskOcrFullTextResult,
|
|
30608
30924
|
MediaProcessTaskSnapshotByTimeOffsetResult: MediaProcessTaskSnapshotByTimeOffsetResult,
|
|
@@ -30622,6 +30938,7 @@ module.exports = {
|
|
|
30622
30938
|
ModifySubAppIdStatusResponse: ModifySubAppIdStatusResponse,
|
|
30623
30939
|
SimpleHlsClipRequest: SimpleHlsClipRequest,
|
|
30624
30940
|
MediaDeleteItem: MediaDeleteItem,
|
|
30941
|
+
PoliticalImageResult: PoliticalImageResult,
|
|
30625
30942
|
AiSamplePerson: AiSamplePerson,
|
|
30626
30943
|
MediaAdaptiveDynamicStreamingInfo: MediaAdaptiveDynamicStreamingInfo,
|
|
30627
30944
|
DescribeDailyPlayStatFileListRequest: DescribeDailyPlayStatFileListRequest,
|
|
@@ -30723,6 +31040,7 @@ module.exports = {
|
|
|
30723
31040
|
TerrorismOcrReviewTemplateInfo: TerrorismOcrReviewTemplateInfo,
|
|
30724
31041
|
AiReviewTaskPornResult: AiReviewTaskPornResult,
|
|
30725
31042
|
AiRecognitionTaskObjectResultOutput: AiRecognitionTaskObjectResultOutput,
|
|
31043
|
+
DescribeMediaPlayStatDetailsRequest: DescribeMediaPlayStatDetailsRequest,
|
|
30726
31044
|
AiReviewProhibitedAsrTaskOutput: AiReviewProhibitedAsrTaskOutput,
|
|
30727
31045
|
CreateClassResponse: CreateClassResponse,
|
|
30728
31046
|
DeleteSuperPlayerConfigResponse: DeleteSuperPlayerConfigResponse,
|
|
@@ -30758,6 +31076,7 @@ module.exports = {
|
|
|
30758
31076
|
DescribeMediaInfosRequest: DescribeMediaInfosRequest,
|
|
30759
31077
|
ModifyPersonSampleRequest: ModifyPersonSampleRequest,
|
|
30760
31078
|
AsrFullTextConfigureInfo: AsrFullTextConfigureInfo,
|
|
31079
|
+
TerrorismImageResult: TerrorismImageResult,
|
|
30761
31080
|
DeleteVodDomainRequest: DeleteVodDomainRequest,
|
|
30762
31081
|
CreateAIRecognitionTemplateRequest: CreateAIRecognitionTemplateRequest,
|
|
30763
31082
|
DescribeTaskDetailRequest: DescribeTaskDetailRequest,
|
|
@@ -30765,7 +31084,8 @@ module.exports = {
|
|
|
30765
31084
|
AiAnalysisTaskFrameTagResult: AiAnalysisTaskFrameTagResult,
|
|
30766
31085
|
AiReviewPornTaskOutput: AiReviewPornTaskOutput,
|
|
30767
31086
|
AiRecognitionTaskAsrFullTextResult: AiRecognitionTaskAsrFullTextResult,
|
|
30768
|
-
|
|
31087
|
+
ImageContentReviewInput: ImageContentReviewInput,
|
|
31088
|
+
PlayStatInfo: PlayStatInfo,
|
|
30769
31089
|
PoliticalImgReviewTemplateInfo: PoliticalImgReviewTemplateInfo,
|
|
30770
31090
|
PoliticalConfigureInfo: PoliticalConfigureInfo,
|
|
30771
31091
|
HighlightsConfigureInfo: HighlightsConfigureInfo,
|
|
@@ -30850,7 +31170,6 @@ module.exports = {
|
|
|
30850
31170
|
DescribeTranscodeTemplatesRequest: DescribeTranscodeTemplatesRequest,
|
|
30851
31171
|
PoliticalConfigureInfoForUpdate: PoliticalConfigureInfoForUpdate,
|
|
30852
31172
|
DescribeWatermarkTemplatesResponse: DescribeWatermarkTemplatesResponse,
|
|
30853
|
-
WeChatMiniProgramPublishResponse: WeChatMiniProgramPublishResponse,
|
|
30854
31173
|
ImageTransform: ImageTransform,
|
|
30855
31174
|
CreateAnimatedGraphicsTemplateRequest: CreateAnimatedGraphicsTemplateRequest,
|
|
30856
31175
|
FrameTagConfigureInfo: FrameTagConfigureInfo,
|