alibabacloud-vod20170321 3.9.0__py3-none-any.whl → 3.9.2__py3-none-any.whl
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.
- alibabacloud_vod20170321/__init__.py +1 -1
- alibabacloud_vod20170321/client.py +60 -0
- alibabacloud_vod20170321/models.py +174 -20
- {alibabacloud_vod20170321-3.9.0.dist-info → alibabacloud_vod20170321-3.9.2.dist-info}/METADATA +1 -1
- alibabacloud_vod20170321-3.9.2.dist-info/RECORD +8 -0
- alibabacloud_vod20170321-3.9.0.dist-info/RECORD +0 -8
- {alibabacloud_vod20170321-3.9.0.dist-info → alibabacloud_vod20170321-3.9.2.dist-info}/LICENSE +0 -0
- {alibabacloud_vod20170321-3.9.0.dist-info → alibabacloud_vod20170321-3.9.2.dist-info}/WHEEL +0 -0
- {alibabacloud_vod20170321-3.9.0.dist-info → alibabacloud_vod20170321-3.9.2.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '3.9.
|
|
1
|
+
__version__ = '3.9.2'
|
|
@@ -1362,6 +1362,8 @@ class Client(OpenApiClient):
|
|
|
1362
1362
|
query = {}
|
|
1363
1363
|
if not UtilClient.is_unset(request.media_ids):
|
|
1364
1364
|
query['MediaIds'] = request.media_ids
|
|
1365
|
+
if not UtilClient.is_unset(request.reference_ids):
|
|
1366
|
+
query['ReferenceIds'] = request.reference_ids
|
|
1365
1367
|
req = open_api_models.OpenApiRequest(
|
|
1366
1368
|
query=OpenApiUtilClient.query(query)
|
|
1367
1369
|
)
|
|
@@ -1400,6 +1402,8 @@ class Client(OpenApiClient):
|
|
|
1400
1402
|
query = {}
|
|
1401
1403
|
if not UtilClient.is_unset(request.media_ids):
|
|
1402
1404
|
query['MediaIds'] = request.media_ids
|
|
1405
|
+
if not UtilClient.is_unset(request.reference_ids):
|
|
1406
|
+
query['ReferenceIds'] = request.reference_ids
|
|
1403
1407
|
req = open_api_models.OpenApiRequest(
|
|
1404
1408
|
query=OpenApiUtilClient.query(query)
|
|
1405
1409
|
)
|
|
@@ -2593,6 +2597,8 @@ class Client(OpenApiClient):
|
|
|
2593
2597
|
query['FileName'] = request.file_name
|
|
2594
2598
|
if not UtilClient.is_unset(request.file_size):
|
|
2595
2599
|
query['FileSize'] = request.file_size
|
|
2600
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
2601
|
+
query['ReferenceId'] = request.reference_id
|
|
2596
2602
|
if not UtilClient.is_unset(request.storage_location):
|
|
2597
2603
|
query['StorageLocation'] = request.storage_location
|
|
2598
2604
|
if not UtilClient.is_unset(request.tags):
|
|
@@ -2658,6 +2664,8 @@ class Client(OpenApiClient):
|
|
|
2658
2664
|
query['FileName'] = request.file_name
|
|
2659
2665
|
if not UtilClient.is_unset(request.file_size):
|
|
2660
2666
|
query['FileSize'] = request.file_size
|
|
2667
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
2668
|
+
query['ReferenceId'] = request.reference_id
|
|
2661
2669
|
if not UtilClient.is_unset(request.storage_location):
|
|
2662
2670
|
query['StorageLocation'] = request.storage_location
|
|
2663
2671
|
if not UtilClient.is_unset(request.tags):
|
|
@@ -3981,6 +3989,8 @@ class Client(OpenApiClient):
|
|
|
3981
3989
|
query = {}
|
|
3982
3990
|
if not UtilClient.is_unset(request.force):
|
|
3983
3991
|
query['Force'] = request.force
|
|
3992
|
+
if not UtilClient.is_unset(request.reference_ids):
|
|
3993
|
+
query['ReferenceIds'] = request.reference_ids
|
|
3984
3994
|
if not UtilClient.is_unset(request.video_ids):
|
|
3985
3995
|
query['VideoIds'] = request.video_ids
|
|
3986
3996
|
req = open_api_models.OpenApiRequest(
|
|
@@ -4020,6 +4030,8 @@ class Client(OpenApiClient):
|
|
|
4020
4030
|
query = {}
|
|
4021
4031
|
if not UtilClient.is_unset(request.force):
|
|
4022
4032
|
query['Force'] = request.force
|
|
4033
|
+
if not UtilClient.is_unset(request.reference_ids):
|
|
4034
|
+
query['ReferenceIds'] = request.reference_ids
|
|
4023
4035
|
if not UtilClient.is_unset(request.video_ids):
|
|
4024
4036
|
query['VideoIds'] = request.video_ids
|
|
4025
4037
|
req = open_api_models.OpenApiRequest(
|
|
@@ -4207,6 +4219,8 @@ class Client(OpenApiClient):
|
|
|
4207
4219
|
query = {}
|
|
4208
4220
|
if not UtilClient.is_unset(request.job_ids):
|
|
4209
4221
|
query['JobIds'] = request.job_ids
|
|
4222
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
4223
|
+
query['ReferenceId'] = request.reference_id
|
|
4210
4224
|
if not UtilClient.is_unset(request.video_id):
|
|
4211
4225
|
query['VideoId'] = request.video_id
|
|
4212
4226
|
req = open_api_models.OpenApiRequest(
|
|
@@ -4244,6 +4258,8 @@ class Client(OpenApiClient):
|
|
|
4244
4258
|
query = {}
|
|
4245
4259
|
if not UtilClient.is_unset(request.job_ids):
|
|
4246
4260
|
query['JobIds'] = request.job_ids
|
|
4261
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
4262
|
+
query['ReferenceId'] = request.reference_id
|
|
4247
4263
|
if not UtilClient.is_unset(request.video_id):
|
|
4248
4264
|
query['VideoId'] = request.video_id
|
|
4249
4265
|
req = open_api_models.OpenApiRequest(
|
|
@@ -4425,6 +4441,8 @@ class Client(OpenApiClient):
|
|
|
4425
4441
|
"""
|
|
4426
4442
|
UtilClient.validate_model(request)
|
|
4427
4443
|
query = {}
|
|
4444
|
+
if not UtilClient.is_unset(request.reference_ids):
|
|
4445
|
+
query['ReferenceIds'] = request.reference_ids
|
|
4428
4446
|
if not UtilClient.is_unset(request.video_ids):
|
|
4429
4447
|
query['VideoIds'] = request.video_ids
|
|
4430
4448
|
req = open_api_models.OpenApiRequest(
|
|
@@ -4464,6 +4482,8 @@ class Client(OpenApiClient):
|
|
|
4464
4482
|
"""
|
|
4465
4483
|
UtilClient.validate_model(request)
|
|
4466
4484
|
query = {}
|
|
4485
|
+
if not UtilClient.is_unset(request.reference_ids):
|
|
4486
|
+
query['ReferenceIds'] = request.reference_ids
|
|
4467
4487
|
if not UtilClient.is_unset(request.video_ids):
|
|
4468
4488
|
query['VideoIds'] = request.video_ids
|
|
4469
4489
|
req = open_api_models.OpenApiRequest(
|
|
@@ -13793,6 +13813,8 @@ class Client(OpenApiClient):
|
|
|
13793
13813
|
query['AuthTimeout'] = request.auth_timeout
|
|
13794
13814
|
if not UtilClient.is_unset(request.output_type):
|
|
13795
13815
|
query['OutputType'] = request.output_type
|
|
13816
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
13817
|
+
query['ReferenceId'] = request.reference_id
|
|
13796
13818
|
if not UtilClient.is_unset(request.video_id):
|
|
13797
13819
|
query['VideoId'] = request.video_id
|
|
13798
13820
|
req = open_api_models.OpenApiRequest(
|
|
@@ -13836,6 +13858,8 @@ class Client(OpenApiClient):
|
|
|
13836
13858
|
query['AuthTimeout'] = request.auth_timeout
|
|
13837
13859
|
if not UtilClient.is_unset(request.output_type):
|
|
13838
13860
|
query['OutputType'] = request.output_type
|
|
13861
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
13862
|
+
query['ReferenceId'] = request.reference_id
|
|
13839
13863
|
if not UtilClient.is_unset(request.video_id):
|
|
13840
13864
|
query['VideoId'] = request.video_id
|
|
13841
13865
|
req = open_api_models.OpenApiRequest(
|
|
@@ -13921,6 +13945,8 @@ class Client(OpenApiClient):
|
|
|
13921
13945
|
query['PlayConfig'] = request.play_config
|
|
13922
13946
|
if not UtilClient.is_unset(request.re_auth_info):
|
|
13923
13947
|
query['ReAuthInfo'] = request.re_auth_info
|
|
13948
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
13949
|
+
query['ReferenceId'] = request.reference_id
|
|
13924
13950
|
if not UtilClient.is_unset(request.result_type):
|
|
13925
13951
|
query['ResultType'] = request.result_type
|
|
13926
13952
|
if not UtilClient.is_unset(request.stream_type):
|
|
@@ -13982,6 +14008,8 @@ class Client(OpenApiClient):
|
|
|
13982
14008
|
query['PlayConfig'] = request.play_config
|
|
13983
14009
|
if not UtilClient.is_unset(request.re_auth_info):
|
|
13984
14010
|
query['ReAuthInfo'] = request.re_auth_info
|
|
14011
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
14012
|
+
query['ReferenceId'] = request.reference_id
|
|
13985
14013
|
if not UtilClient.is_unset(request.result_type):
|
|
13986
14014
|
query['ResultType'] = request.result_type
|
|
13987
14015
|
if not UtilClient.is_unset(request.stream_type):
|
|
@@ -14639,6 +14667,8 @@ class Client(OpenApiClient):
|
|
|
14639
14667
|
"""
|
|
14640
14668
|
UtilClient.validate_model(request)
|
|
14641
14669
|
query = {}
|
|
14670
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
14671
|
+
query['ReferenceId'] = request.reference_id
|
|
14642
14672
|
if not UtilClient.is_unset(request.video_id):
|
|
14643
14673
|
query['VideoId'] = request.video_id
|
|
14644
14674
|
req = open_api_models.OpenApiRequest(
|
|
@@ -14676,6 +14706,8 @@ class Client(OpenApiClient):
|
|
|
14676
14706
|
"""
|
|
14677
14707
|
UtilClient.validate_model(request)
|
|
14678
14708
|
query = {}
|
|
14709
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
14710
|
+
query['ReferenceId'] = request.reference_id
|
|
14679
14711
|
if not UtilClient.is_unset(request.video_id):
|
|
14680
14712
|
query['VideoId'] = request.video_id
|
|
14681
14713
|
req = open_api_models.OpenApiRequest(
|
|
@@ -14744,6 +14776,8 @@ class Client(OpenApiClient):
|
|
|
14744
14776
|
"""
|
|
14745
14777
|
UtilClient.validate_model(request)
|
|
14746
14778
|
query = {}
|
|
14779
|
+
if not UtilClient.is_unset(request.reference_ids):
|
|
14780
|
+
query['ReferenceIds'] = request.reference_ids
|
|
14747
14781
|
if not UtilClient.is_unset(request.video_ids):
|
|
14748
14782
|
query['VideoIds'] = request.video_ids
|
|
14749
14783
|
req = open_api_models.OpenApiRequest(
|
|
@@ -14782,6 +14816,8 @@ class Client(OpenApiClient):
|
|
|
14782
14816
|
"""
|
|
14783
14817
|
UtilClient.validate_model(request)
|
|
14784
14818
|
query = {}
|
|
14819
|
+
if not UtilClient.is_unset(request.reference_ids):
|
|
14820
|
+
query['ReferenceIds'] = request.reference_ids
|
|
14785
14821
|
if not UtilClient.is_unset(request.video_ids):
|
|
14786
14822
|
query['VideoIds'] = request.video_ids
|
|
14787
14823
|
req = open_api_models.OpenApiRequest(
|
|
@@ -14859,6 +14895,8 @@ class Client(OpenApiClient):
|
|
|
14859
14895
|
query['PageNo'] = request.page_no
|
|
14860
14896
|
if not UtilClient.is_unset(request.page_size):
|
|
14861
14897
|
query['PageSize'] = request.page_size
|
|
14898
|
+
if not UtilClient.is_unset(request.reference_ids):
|
|
14899
|
+
query['ReferenceIds'] = request.reference_ids
|
|
14862
14900
|
if not UtilClient.is_unset(request.sort_by):
|
|
14863
14901
|
query['SortBy'] = request.sort_by
|
|
14864
14902
|
if not UtilClient.is_unset(request.start_time):
|
|
@@ -14910,6 +14948,8 @@ class Client(OpenApiClient):
|
|
|
14910
14948
|
query['PageNo'] = request.page_no
|
|
14911
14949
|
if not UtilClient.is_unset(request.page_size):
|
|
14912
14950
|
query['PageSize'] = request.page_size
|
|
14951
|
+
if not UtilClient.is_unset(request.reference_ids):
|
|
14952
|
+
query['ReferenceIds'] = request.reference_ids
|
|
14913
14953
|
if not UtilClient.is_unset(request.sort_by):
|
|
14914
14954
|
query['SortBy'] = request.sort_by
|
|
14915
14955
|
if not UtilClient.is_unset(request.start_time):
|
|
@@ -14988,6 +15028,8 @@ class Client(OpenApiClient):
|
|
|
14988
15028
|
query['ApiVersion'] = request.api_version
|
|
14989
15029
|
if not UtilClient.is_unset(request.auth_info_timeout):
|
|
14990
15030
|
query['AuthInfoTimeout'] = request.auth_info_timeout
|
|
15031
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
15032
|
+
query['ReferenceId'] = request.reference_id
|
|
14991
15033
|
if not UtilClient.is_unset(request.video_id):
|
|
14992
15034
|
query['VideoId'] = request.video_id
|
|
14993
15035
|
req = open_api_models.OpenApiRequest(
|
|
@@ -15030,6 +15072,8 @@ class Client(OpenApiClient):
|
|
|
15030
15072
|
query['ApiVersion'] = request.api_version
|
|
15031
15073
|
if not UtilClient.is_unset(request.auth_info_timeout):
|
|
15032
15074
|
query['AuthInfoTimeout'] = request.auth_info_timeout
|
|
15075
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
15076
|
+
query['ReferenceId'] = request.reference_id
|
|
15033
15077
|
if not UtilClient.is_unset(request.video_id):
|
|
15034
15078
|
query['VideoId'] = request.video_id
|
|
15035
15079
|
req = open_api_models.OpenApiRequest(
|
|
@@ -17457,6 +17501,8 @@ class Client(OpenApiClient):
|
|
|
17457
17501
|
query = {}
|
|
17458
17502
|
if not UtilClient.is_unset(request.owner_id):
|
|
17459
17503
|
query['OwnerId'] = request.owner_id
|
|
17504
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
17505
|
+
query['ReferenceId'] = request.reference_id
|
|
17460
17506
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
17461
17507
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
17462
17508
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -17500,6 +17546,8 @@ class Client(OpenApiClient):
|
|
|
17500
17546
|
query = {}
|
|
17501
17547
|
if not UtilClient.is_unset(request.owner_id):
|
|
17502
17548
|
query['OwnerId'] = request.owner_id
|
|
17549
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
17550
|
+
query['ReferenceId'] = request.reference_id
|
|
17503
17551
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
17504
17552
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
17505
17553
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -20344,6 +20392,8 @@ class Client(OpenApiClient):
|
|
|
20344
20392
|
query['Height'] = request.height
|
|
20345
20393
|
if not UtilClient.is_unset(request.interval):
|
|
20346
20394
|
query['Interval'] = request.interval
|
|
20395
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
20396
|
+
query['ReferenceId'] = request.reference_id
|
|
20347
20397
|
if not UtilClient.is_unset(request.snapshot_template_id):
|
|
20348
20398
|
query['SnapshotTemplateId'] = request.snapshot_template_id
|
|
20349
20399
|
if not UtilClient.is_unset(request.specified_offset_time):
|
|
@@ -20406,6 +20456,8 @@ class Client(OpenApiClient):
|
|
|
20406
20456
|
query['Height'] = request.height
|
|
20407
20457
|
if not UtilClient.is_unset(request.interval):
|
|
20408
20458
|
query['Interval'] = request.interval
|
|
20459
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
20460
|
+
query['ReferenceId'] = request.reference_id
|
|
20409
20461
|
if not UtilClient.is_unset(request.snapshot_template_id):
|
|
20410
20462
|
query['SnapshotTemplateId'] = request.snapshot_template_id
|
|
20411
20463
|
if not UtilClient.is_unset(request.specified_offset_time):
|
|
@@ -20503,6 +20555,8 @@ class Client(OpenApiClient):
|
|
|
20503
20555
|
query['PipelineId'] = request.pipeline_id
|
|
20504
20556
|
if not UtilClient.is_unset(request.priority):
|
|
20505
20557
|
query['Priority'] = request.priority
|
|
20558
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
20559
|
+
query['ReferenceId'] = request.reference_id
|
|
20506
20560
|
if not UtilClient.is_unset(request.session_id):
|
|
20507
20561
|
query['SessionId'] = request.session_id
|
|
20508
20562
|
if not UtilClient.is_unset(request.template_group_id):
|
|
@@ -20558,6 +20612,8 @@ class Client(OpenApiClient):
|
|
|
20558
20612
|
query['PipelineId'] = request.pipeline_id
|
|
20559
20613
|
if not UtilClient.is_unset(request.priority):
|
|
20560
20614
|
query['Priority'] = request.priority
|
|
20615
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
20616
|
+
query['ReferenceId'] = request.reference_id
|
|
20561
20617
|
if not UtilClient.is_unset(request.session_id):
|
|
20562
20618
|
query['SessionId'] = request.session_id
|
|
20563
20619
|
if not UtilClient.is_unset(request.template_group_id):
|
|
@@ -21692,6 +21748,8 @@ class Client(OpenApiClient):
|
|
|
21692
21748
|
query['CoverURL'] = request.cover_url
|
|
21693
21749
|
if not UtilClient.is_unset(request.description):
|
|
21694
21750
|
query['Description'] = request.description
|
|
21751
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
21752
|
+
query['ReferenceId'] = request.reference_id
|
|
21695
21753
|
if not UtilClient.is_unset(request.tags):
|
|
21696
21754
|
query['Tags'] = request.tags
|
|
21697
21755
|
if not UtilClient.is_unset(request.title):
|
|
@@ -21744,6 +21802,8 @@ class Client(OpenApiClient):
|
|
|
21744
21802
|
query['CoverURL'] = request.cover_url
|
|
21745
21803
|
if not UtilClient.is_unset(request.description):
|
|
21746
21804
|
query['Description'] = request.description
|
|
21805
|
+
if not UtilClient.is_unset(request.reference_id):
|
|
21806
|
+
query['ReferenceId'] = request.reference_id
|
|
21747
21807
|
if not UtilClient.is_unset(request.tags):
|
|
21748
21808
|
query['Tags'] = request.tags
|
|
21749
21809
|
if not UtilClient.is_unset(request.title):
|
|
@@ -2093,6 +2093,7 @@ class BatchGetMediaInfosRequest(TeaModel):
|
|
|
2093
2093
|
def __init__(
|
|
2094
2094
|
self,
|
|
2095
2095
|
media_ids: str = None,
|
|
2096
|
+
reference_ids: str = None,
|
|
2096
2097
|
):
|
|
2097
2098
|
# The ID of the media asset. The ID can be the video ID or audio ID. Separate IDs with commas (,). You can specify a maximum of 20 IDs. You can use one of the following methods to obtain the ID of the media asset:
|
|
2098
2099
|
#
|
|
@@ -2102,6 +2103,7 @@ class BatchGetMediaInfosRequest(TeaModel):
|
|
|
2102
2103
|
#
|
|
2103
2104
|
# This parameter is required.
|
|
2104
2105
|
self.media_ids = media_ids
|
|
2106
|
+
self.reference_ids = reference_ids
|
|
2105
2107
|
|
|
2106
2108
|
def validate(self):
|
|
2107
2109
|
pass
|
|
@@ -2114,12 +2116,16 @@ class BatchGetMediaInfosRequest(TeaModel):
|
|
|
2114
2116
|
result = dict()
|
|
2115
2117
|
if self.media_ids is not None:
|
|
2116
2118
|
result['MediaIds'] = self.media_ids
|
|
2119
|
+
if self.reference_ids is not None:
|
|
2120
|
+
result['ReferenceIds'] = self.reference_ids
|
|
2117
2121
|
return result
|
|
2118
2122
|
|
|
2119
2123
|
def from_map(self, m: dict = None):
|
|
2120
2124
|
m = m or dict()
|
|
2121
2125
|
if m.get('MediaIds') is not None:
|
|
2122
2126
|
self.media_ids = m.get('MediaIds')
|
|
2127
|
+
if m.get('ReferenceIds') is not None:
|
|
2128
|
+
self.reference_ids = m.get('ReferenceIds')
|
|
2123
2129
|
return self
|
|
2124
2130
|
|
|
2125
2131
|
|
|
@@ -2135,6 +2141,7 @@ class BatchGetMediaInfosResponseBodyMediaInfosMediaInfo(TeaModel):
|
|
|
2135
2141
|
download_switch: str = None,
|
|
2136
2142
|
media_id: str = None,
|
|
2137
2143
|
modification_time: str = None,
|
|
2144
|
+
reference_id: str = None,
|
|
2138
2145
|
restore_expiration: str = None,
|
|
2139
2146
|
restore_status: str = None,
|
|
2140
2147
|
snapshots: List[str] = None,
|
|
@@ -2167,6 +2174,7 @@ class BatchGetMediaInfosResponseBodyMediaInfosMediaInfo(TeaModel):
|
|
|
2167
2174
|
self.media_id = media_id
|
|
2168
2175
|
# The time when the media asset was last updated. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
2169
2176
|
self.modification_time = modification_time
|
|
2177
|
+
self.reference_id = reference_id
|
|
2170
2178
|
# The period of time in which the audio file remains in the restored state.
|
|
2171
2179
|
self.restore_expiration = restore_expiration
|
|
2172
2180
|
# The restoration status of the media asset. Valid values:
|
|
@@ -2237,6 +2245,8 @@ class BatchGetMediaInfosResponseBodyMediaInfosMediaInfo(TeaModel):
|
|
|
2237
2245
|
result['MediaId'] = self.media_id
|
|
2238
2246
|
if self.modification_time is not None:
|
|
2239
2247
|
result['ModificationTime'] = self.modification_time
|
|
2248
|
+
if self.reference_id is not None:
|
|
2249
|
+
result['ReferenceId'] = self.reference_id
|
|
2240
2250
|
if self.restore_expiration is not None:
|
|
2241
2251
|
result['RestoreExpiration'] = self.restore_expiration
|
|
2242
2252
|
if self.restore_status is not None:
|
|
@@ -2279,6 +2289,8 @@ class BatchGetMediaInfosResponseBodyMediaInfosMediaInfo(TeaModel):
|
|
|
2279
2289
|
self.media_id = m.get('MediaId')
|
|
2280
2290
|
if m.get('ModificationTime') is not None:
|
|
2281
2291
|
self.modification_time = m.get('ModificationTime')
|
|
2292
|
+
if m.get('ReferenceId') is not None:
|
|
2293
|
+
self.reference_id = m.get('ReferenceId')
|
|
2282
2294
|
if m.get('RestoreExpiration') is not None:
|
|
2283
2295
|
self.restore_expiration = m.get('RestoreExpiration')
|
|
2284
2296
|
if m.get('RestoreStatus') is not None:
|
|
@@ -2634,6 +2646,7 @@ class BatchGetMediaInfosResponseBodyMediaInfosMezzanineInfo(TeaModel):
|
|
|
2634
2646
|
bitrate: str = None,
|
|
2635
2647
|
creation_time: str = None,
|
|
2636
2648
|
duration: str = None,
|
|
2649
|
+
file_md5: str = None,
|
|
2637
2650
|
file_name: str = None,
|
|
2638
2651
|
file_url: str = None,
|
|
2639
2652
|
fps: str = None,
|
|
@@ -2652,6 +2665,7 @@ class BatchGetMediaInfosResponseBodyMediaInfosMezzanineInfo(TeaModel):
|
|
|
2652
2665
|
self.creation_time = creation_time
|
|
2653
2666
|
# The duration of the file. Unit: seconds.
|
|
2654
2667
|
self.duration = duration
|
|
2668
|
+
self.file_md5 = file_md5
|
|
2655
2669
|
# The name of the file.
|
|
2656
2670
|
self.file_name = file_name
|
|
2657
2671
|
# The OSS URL of the source file.
|
|
@@ -2702,6 +2716,8 @@ class BatchGetMediaInfosResponseBodyMediaInfosMezzanineInfo(TeaModel):
|
|
|
2702
2716
|
result['CreationTime'] = self.creation_time
|
|
2703
2717
|
if self.duration is not None:
|
|
2704
2718
|
result['Duration'] = self.duration
|
|
2719
|
+
if self.file_md5 is not None:
|
|
2720
|
+
result['FileMD5'] = self.file_md5
|
|
2705
2721
|
if self.file_name is not None:
|
|
2706
2722
|
result['FileName'] = self.file_name
|
|
2707
2723
|
if self.file_url is not None:
|
|
@@ -2737,6 +2753,8 @@ class BatchGetMediaInfosResponseBodyMediaInfosMezzanineInfo(TeaModel):
|
|
|
2737
2753
|
self.creation_time = m.get('CreationTime')
|
|
2738
2754
|
if m.get('Duration') is not None:
|
|
2739
2755
|
self.duration = m.get('Duration')
|
|
2756
|
+
if m.get('FileMD5') is not None:
|
|
2757
|
+
self.file_md5 = m.get('FileMD5')
|
|
2740
2758
|
if m.get('FileName') is not None:
|
|
2741
2759
|
self.file_name = m.get('FileName')
|
|
2742
2760
|
if m.get('FileURL') is not None:
|
|
@@ -3083,6 +3101,7 @@ class BatchGetMediaInfosResponseBody(TeaModel):
|
|
|
3083
3101
|
forbidden_media_ids: List[str] = None,
|
|
3084
3102
|
media_infos: List[BatchGetMediaInfosResponseBodyMediaInfos] = None,
|
|
3085
3103
|
non_exist_media_ids: List[str] = None,
|
|
3104
|
+
non_exist_reference_ids: List[str] = None,
|
|
3086
3105
|
request_id: str = None,
|
|
3087
3106
|
):
|
|
3088
3107
|
# The IDs of the media assets that do not support the operation typically because you are not authorized to perform the operation. For more information, see [Overview](https://help.aliyun.com/document_detail/113600.html).
|
|
@@ -3091,6 +3110,7 @@ class BatchGetMediaInfosResponseBody(TeaModel):
|
|
|
3091
3110
|
self.media_infos = media_infos
|
|
3092
3111
|
# The IDs of the media assets that do not exist.
|
|
3093
3112
|
self.non_exist_media_ids = non_exist_media_ids
|
|
3113
|
+
self.non_exist_reference_ids = non_exist_reference_ids
|
|
3094
3114
|
# The request ID.
|
|
3095
3115
|
self.request_id = request_id
|
|
3096
3116
|
|
|
@@ -3114,6 +3134,8 @@ class BatchGetMediaInfosResponseBody(TeaModel):
|
|
|
3114
3134
|
result['MediaInfos'].append(k.to_map() if k else None)
|
|
3115
3135
|
if self.non_exist_media_ids is not None:
|
|
3116
3136
|
result['NonExistMediaIds'] = self.non_exist_media_ids
|
|
3137
|
+
if self.non_exist_reference_ids is not None:
|
|
3138
|
+
result['NonExistReferenceIds'] = self.non_exist_reference_ids
|
|
3117
3139
|
if self.request_id is not None:
|
|
3118
3140
|
result['RequestId'] = self.request_id
|
|
3119
3141
|
return result
|
|
@@ -3129,6 +3151,8 @@ class BatchGetMediaInfosResponseBody(TeaModel):
|
|
|
3129
3151
|
self.media_infos.append(temp_model.from_map(k))
|
|
3130
3152
|
if m.get('NonExistMediaIds') is not None:
|
|
3131
3153
|
self.non_exist_media_ids = m.get('NonExistMediaIds')
|
|
3154
|
+
if m.get('NonExistReferenceIds') is not None:
|
|
3155
|
+
self.non_exist_reference_ids = m.get('NonExistReferenceIds')
|
|
3132
3156
|
if m.get('RequestId') is not None:
|
|
3133
3157
|
self.request_id = m.get('RequestId')
|
|
3134
3158
|
return self
|
|
@@ -4493,6 +4517,7 @@ class CreateUploadVideoRequest(TeaModel):
|
|
|
4493
4517
|
description: str = None,
|
|
4494
4518
|
file_name: str = None,
|
|
4495
4519
|
file_size: int = None,
|
|
4520
|
+
reference_id: str = None,
|
|
4496
4521
|
storage_location: str = None,
|
|
4497
4522
|
tags: str = None,
|
|
4498
4523
|
template_group_id: str = None,
|
|
@@ -4524,6 +4549,7 @@ class CreateUploadVideoRequest(TeaModel):
|
|
|
4524
4549
|
self.file_name = file_name
|
|
4525
4550
|
# The size of the source file. Unit: bytes.
|
|
4526
4551
|
self.file_size = file_size
|
|
4552
|
+
self.reference_id = reference_id
|
|
4527
4553
|
# The storage address. Perform the following operations to obtain the storage address: Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Configuration Management** > **Media Management** > **Storage**. On the Storage page, view the storage address.
|
|
4528
4554
|
#
|
|
4529
4555
|
# > If you leave this parameter empty, audio and video files are uploaded to the default storage address. If you specify a storage address, audio and video files are uploaded to the specified address.
|
|
@@ -4584,6 +4610,8 @@ class CreateUploadVideoRequest(TeaModel):
|
|
|
4584
4610
|
result['FileName'] = self.file_name
|
|
4585
4611
|
if self.file_size is not None:
|
|
4586
4612
|
result['FileSize'] = self.file_size
|
|
4613
|
+
if self.reference_id is not None:
|
|
4614
|
+
result['ReferenceId'] = self.reference_id
|
|
4587
4615
|
if self.storage_location is not None:
|
|
4588
4616
|
result['StorageLocation'] = self.storage_location
|
|
4589
4617
|
if self.tags is not None:
|
|
@@ -4612,6 +4640,8 @@ class CreateUploadVideoRequest(TeaModel):
|
|
|
4612
4640
|
self.file_name = m.get('FileName')
|
|
4613
4641
|
if m.get('FileSize') is not None:
|
|
4614
4642
|
self.file_size = m.get('FileSize')
|
|
4643
|
+
if m.get('ReferenceId') is not None:
|
|
4644
|
+
self.reference_id = m.get('ReferenceId')
|
|
4615
4645
|
if m.get('StorageLocation') is not None:
|
|
4616
4646
|
self.storage_location = m.get('StorageLocation')
|
|
4617
4647
|
if m.get('Tags') is not None:
|
|
@@ -6018,6 +6048,7 @@ class DeleteMezzaninesRequest(TeaModel):
|
|
|
6018
6048
|
def __init__(
|
|
6019
6049
|
self,
|
|
6020
6050
|
force: bool = None,
|
|
6051
|
+
reference_ids: str = None,
|
|
6021
6052
|
video_ids: str = None,
|
|
6022
6053
|
):
|
|
6023
6054
|
# Specifies whether to forcibly delete the source file. Valid values:
|
|
@@ -6027,13 +6058,12 @@ class DeleteMezzaninesRequest(TeaModel):
|
|
|
6027
6058
|
#
|
|
6028
6059
|
# > If a video is uploaded without transcoding or is asynchronously transcoded, the source file of the video is used for original-quality playback. By default, the source file of the video cannot be deleted. To forcibly delete the mezzanine file, set this parameter to **true**.
|
|
6029
6060
|
self.force = force
|
|
6061
|
+
self.reference_ids = reference_ids
|
|
6030
6062
|
# The IDs of audio or video files whose source files that you want to delete. You can specify up to 20 IDs. Separate multiple IDs with commas (,). You can use one of the following methods to obtain the ID:
|
|
6031
6063
|
#
|
|
6032
6064
|
# * After you upload a video in the [ApsaraVideo VOD console](https://vod.console.aliyun.com), you can log on to the ApsaraVideo VOD console and choose **Media Files** > **Audio/Video** to view the ID of the video.
|
|
6033
6065
|
# * Obtain the value of VideoId from the response to the [CreateUploadVideo](https://help.aliyun.com/document_detail/55407.html) operation that you called to obtain the upload URL and credential.
|
|
6034
6066
|
# * Obtain the value of VideoId from the response to the [SearchMedia](https://help.aliyun.com/document_detail/86044.html) operation that you called to query media information after the audio or video file is uploaded.
|
|
6035
|
-
#
|
|
6036
|
-
# This parameter is required.
|
|
6037
6067
|
self.video_ids = video_ids
|
|
6038
6068
|
|
|
6039
6069
|
def validate(self):
|
|
@@ -6047,6 +6077,8 @@ class DeleteMezzaninesRequest(TeaModel):
|
|
|
6047
6077
|
result = dict()
|
|
6048
6078
|
if self.force is not None:
|
|
6049
6079
|
result['Force'] = self.force
|
|
6080
|
+
if self.reference_ids is not None:
|
|
6081
|
+
result['ReferenceIds'] = self.reference_ids
|
|
6050
6082
|
if self.video_ids is not None:
|
|
6051
6083
|
result['VideoIds'] = self.video_ids
|
|
6052
6084
|
return result
|
|
@@ -6055,6 +6087,8 @@ class DeleteMezzaninesRequest(TeaModel):
|
|
|
6055
6087
|
m = m or dict()
|
|
6056
6088
|
if m.get('Force') is not None:
|
|
6057
6089
|
self.force = m.get('Force')
|
|
6090
|
+
if m.get('ReferenceIds') is not None:
|
|
6091
|
+
self.reference_ids = m.get('ReferenceIds')
|
|
6058
6092
|
if m.get('VideoIds') is not None:
|
|
6059
6093
|
self.video_ids = m.get('VideoIds')
|
|
6060
6094
|
return self
|
|
@@ -6063,10 +6097,12 @@ class DeleteMezzaninesRequest(TeaModel):
|
|
|
6063
6097
|
class DeleteMezzaninesResponseBody(TeaModel):
|
|
6064
6098
|
def __init__(
|
|
6065
6099
|
self,
|
|
6100
|
+
non_exist_reference_ids: List[str] = None,
|
|
6066
6101
|
non_exist_video_ids: List[str] = None,
|
|
6067
6102
|
request_id: str = None,
|
|
6068
6103
|
un_removeable_video_ids: List[str] = None,
|
|
6069
6104
|
):
|
|
6105
|
+
self.non_exist_reference_ids = non_exist_reference_ids
|
|
6070
6106
|
# The IDs of the audio or video files that do not exist.
|
|
6071
6107
|
self.non_exist_video_ids = non_exist_video_ids
|
|
6072
6108
|
# The ID of the request.
|
|
@@ -6085,6 +6121,8 @@ class DeleteMezzaninesResponseBody(TeaModel):
|
|
|
6085
6121
|
return _map
|
|
6086
6122
|
|
|
6087
6123
|
result = dict()
|
|
6124
|
+
if self.non_exist_reference_ids is not None:
|
|
6125
|
+
result['NonExistReferenceIds'] = self.non_exist_reference_ids
|
|
6088
6126
|
if self.non_exist_video_ids is not None:
|
|
6089
6127
|
result['NonExistVideoIds'] = self.non_exist_video_ids
|
|
6090
6128
|
if self.request_id is not None:
|
|
@@ -6095,6 +6133,8 @@ class DeleteMezzaninesResponseBody(TeaModel):
|
|
|
6095
6133
|
|
|
6096
6134
|
def from_map(self, m: dict = None):
|
|
6097
6135
|
m = m or dict()
|
|
6136
|
+
if m.get('NonExistReferenceIds') is not None:
|
|
6137
|
+
self.non_exist_reference_ids = m.get('NonExistReferenceIds')
|
|
6098
6138
|
if m.get('NonExistVideoIds') is not None:
|
|
6099
6139
|
self.non_exist_video_ids = m.get('NonExistVideoIds')
|
|
6100
6140
|
if m.get('RequestId') is not None:
|
|
@@ -6267,6 +6307,7 @@ class DeleteStreamRequest(TeaModel):
|
|
|
6267
6307
|
def __init__(
|
|
6268
6308
|
self,
|
|
6269
6309
|
job_ids: str = None,
|
|
6310
|
+
reference_id: str = None,
|
|
6270
6311
|
video_id: str = None,
|
|
6271
6312
|
):
|
|
6272
6313
|
# The job IDs for deleting media streams.
|
|
@@ -6276,9 +6317,8 @@ class DeleteStreamRequest(TeaModel):
|
|
|
6276
6317
|
#
|
|
6277
6318
|
# This parameter is required.
|
|
6278
6319
|
self.job_ids = job_ids
|
|
6320
|
+
self.reference_id = reference_id
|
|
6279
6321
|
# The ID of the video.
|
|
6280
|
-
#
|
|
6281
|
-
# This parameter is required.
|
|
6282
6322
|
self.video_id = video_id
|
|
6283
6323
|
|
|
6284
6324
|
def validate(self):
|
|
@@ -6292,6 +6332,8 @@ class DeleteStreamRequest(TeaModel):
|
|
|
6292
6332
|
result = dict()
|
|
6293
6333
|
if self.job_ids is not None:
|
|
6294
6334
|
result['JobIds'] = self.job_ids
|
|
6335
|
+
if self.reference_id is not None:
|
|
6336
|
+
result['ReferenceId'] = self.reference_id
|
|
6295
6337
|
if self.video_id is not None:
|
|
6296
6338
|
result['VideoId'] = self.video_id
|
|
6297
6339
|
return result
|
|
@@ -6300,6 +6342,8 @@ class DeleteStreamRequest(TeaModel):
|
|
|
6300
6342
|
m = m or dict()
|
|
6301
6343
|
if m.get('JobIds') is not None:
|
|
6302
6344
|
self.job_ids = m.get('JobIds')
|
|
6345
|
+
if m.get('ReferenceId') is not None:
|
|
6346
|
+
self.reference_id = m.get('ReferenceId')
|
|
6303
6347
|
if m.get('VideoId') is not None:
|
|
6304
6348
|
self.video_id = m.get('VideoId')
|
|
6305
6349
|
return self
|
|
@@ -6504,15 +6548,15 @@ class DeleteTranscodeTemplateGroupResponse(TeaModel):
|
|
|
6504
6548
|
class DeleteVideoRequest(TeaModel):
|
|
6505
6549
|
def __init__(
|
|
6506
6550
|
self,
|
|
6551
|
+
reference_ids: str = None,
|
|
6507
6552
|
video_ids: str = None,
|
|
6508
6553
|
):
|
|
6554
|
+
self.reference_ids = reference_ids
|
|
6509
6555
|
# The list of video IDs. Separate multiple IDs with commas (,). A maximum of 20 IDs can be specified. You can obtain a video ID in one of the following ways:
|
|
6510
6556
|
#
|
|
6511
6557
|
# * If the video is uploaded by using the [ApsaraVideo VOD console](https://vod.console.aliyun.com), log on to the console and choose **Media Files** > **Audio/Video** to view the ID of the video.
|
|
6512
6558
|
# * If the video is uploaded by calling the [CreateUploadVideo](https://help.aliyun.com/document_detail/55407.html) operation, the video ID is the VideoId value in the response.
|
|
6513
6559
|
# * You can also call the [SearchMedia](https://help.aliyun.com/document_detail/86044.html) operation to obtain the video ID, which is the VideoId value in the response.
|
|
6514
|
-
#
|
|
6515
|
-
# This parameter is required.
|
|
6516
6560
|
self.video_ids = video_ids
|
|
6517
6561
|
|
|
6518
6562
|
def validate(self):
|
|
@@ -6524,12 +6568,16 @@ class DeleteVideoRequest(TeaModel):
|
|
|
6524
6568
|
return _map
|
|
6525
6569
|
|
|
6526
6570
|
result = dict()
|
|
6571
|
+
if self.reference_ids is not None:
|
|
6572
|
+
result['ReferenceIds'] = self.reference_ids
|
|
6527
6573
|
if self.video_ids is not None:
|
|
6528
6574
|
result['VideoIds'] = self.video_ids
|
|
6529
6575
|
return result
|
|
6530
6576
|
|
|
6531
6577
|
def from_map(self, m: dict = None):
|
|
6532
6578
|
m = m or dict()
|
|
6579
|
+
if m.get('ReferenceIds') is not None:
|
|
6580
|
+
self.reference_ids = m.get('ReferenceIds')
|
|
6533
6581
|
if m.get('VideoIds') is not None:
|
|
6534
6582
|
self.video_ids = m.get('VideoIds')
|
|
6535
6583
|
return self
|
|
@@ -6539,12 +6587,14 @@ class DeleteVideoResponseBody(TeaModel):
|
|
|
6539
6587
|
def __init__(
|
|
6540
6588
|
self,
|
|
6541
6589
|
forbidden_video_ids: List[str] = None,
|
|
6590
|
+
non_exist_reference_ids: List[str] = None,
|
|
6542
6591
|
non_exist_video_ids: List[str] = None,
|
|
6543
6592
|
request_id: str = None,
|
|
6544
6593
|
):
|
|
6545
6594
|
# The IDs of the videos that cannot be deleted.
|
|
6546
6595
|
# > Generally, videos cannot be deleted if you do not have the required [permissions](https://help.aliyun.com/document_detail/113600.html).
|
|
6547
6596
|
self.forbidden_video_ids = forbidden_video_ids
|
|
6597
|
+
self.non_exist_reference_ids = non_exist_reference_ids
|
|
6548
6598
|
# The IDs of the videos that do not exist.
|
|
6549
6599
|
# > If the list of videos to be deleted contains one or more videos that do not exist, the IDs of these non-existing videos are returned. If none of the videos in the list exists, a 404 error is returned.
|
|
6550
6600
|
self.non_exist_video_ids = non_exist_video_ids
|
|
@@ -6562,6 +6612,8 @@ class DeleteVideoResponseBody(TeaModel):
|
|
|
6562
6612
|
result = dict()
|
|
6563
6613
|
if self.forbidden_video_ids is not None:
|
|
6564
6614
|
result['ForbiddenVideoIds'] = self.forbidden_video_ids
|
|
6615
|
+
if self.non_exist_reference_ids is not None:
|
|
6616
|
+
result['NonExistReferenceIds'] = self.non_exist_reference_ids
|
|
6565
6617
|
if self.non_exist_video_ids is not None:
|
|
6566
6618
|
result['NonExistVideoIds'] = self.non_exist_video_ids
|
|
6567
6619
|
if self.request_id is not None:
|
|
@@ -6572,6 +6624,8 @@ class DeleteVideoResponseBody(TeaModel):
|
|
|
6572
6624
|
m = m or dict()
|
|
6573
6625
|
if m.get('ForbiddenVideoIds') is not None:
|
|
6574
6626
|
self.forbidden_video_ids = m.get('ForbiddenVideoIds')
|
|
6627
|
+
if m.get('NonExistReferenceIds') is not None:
|
|
6628
|
+
self.non_exist_reference_ids = m.get('NonExistReferenceIds')
|
|
6575
6629
|
if m.get('NonExistVideoIds') is not None:
|
|
6576
6630
|
self.non_exist_video_ids = m.get('NonExistVideoIds')
|
|
6577
6631
|
if m.get('RequestId') is not None:
|
|
@@ -28163,6 +28217,7 @@ class GetMezzanineInfoRequest(TeaModel):
|
|
|
28163
28217
|
addition_type: str = None,
|
|
28164
28218
|
auth_timeout: int = None,
|
|
28165
28219
|
output_type: str = None,
|
|
28220
|
+
reference_id: str = None,
|
|
28166
28221
|
video_id: str = None,
|
|
28167
28222
|
):
|
|
28168
28223
|
# The type of additional information. Separate multiple values with commas (,). By default, only the basic information is returned. Valid values:
|
|
@@ -28195,9 +28250,8 @@ class GetMezzanineInfoRequest(TeaModel):
|
|
|
28195
28250
|
#
|
|
28196
28251
|
# > If the mezzanine file is stored in a bucket of the in type, only an OSS URL is returned.
|
|
28197
28252
|
self.output_type = output_type
|
|
28253
|
+
self.reference_id = reference_id
|
|
28198
28254
|
# The ID of the video.
|
|
28199
|
-
#
|
|
28200
|
-
# This parameter is required.
|
|
28201
28255
|
self.video_id = video_id
|
|
28202
28256
|
|
|
28203
28257
|
def validate(self):
|
|
@@ -28215,6 +28269,8 @@ class GetMezzanineInfoRequest(TeaModel):
|
|
|
28215
28269
|
result['AuthTimeout'] = self.auth_timeout
|
|
28216
28270
|
if self.output_type is not None:
|
|
28217
28271
|
result['OutputType'] = self.output_type
|
|
28272
|
+
if self.reference_id is not None:
|
|
28273
|
+
result['ReferenceId'] = self.reference_id
|
|
28218
28274
|
if self.video_id is not None:
|
|
28219
28275
|
result['VideoId'] = self.video_id
|
|
28220
28276
|
return result
|
|
@@ -28227,6 +28283,8 @@ class GetMezzanineInfoRequest(TeaModel):
|
|
|
28227
28283
|
self.auth_timeout = m.get('AuthTimeout')
|
|
28228
28284
|
if m.get('OutputType') is not None:
|
|
28229
28285
|
self.output_type = m.get('OutputType')
|
|
28286
|
+
if m.get('ReferenceId') is not None:
|
|
28287
|
+
self.reference_id = m.get('ReferenceId')
|
|
28230
28288
|
if m.get('VideoId') is not None:
|
|
28231
28289
|
self.video_id = m.get('VideoId')
|
|
28232
28290
|
return self
|
|
@@ -28564,6 +28622,7 @@ class GetMezzanineInfoResponseBodyMezzanine(TeaModel):
|
|
|
28564
28622
|
bitrate: str = None,
|
|
28565
28623
|
creation_time: str = None,
|
|
28566
28624
|
duration: str = None,
|
|
28625
|
+
file_md5: str = None,
|
|
28567
28626
|
file_name: str = None,
|
|
28568
28627
|
file_url: str = None,
|
|
28569
28628
|
fps: str = None,
|
|
@@ -28587,6 +28646,7 @@ class GetMezzanineInfoResponseBodyMezzanine(TeaModel):
|
|
|
28587
28646
|
self.creation_time = creation_time
|
|
28588
28647
|
# The duration of the file. Unit: seconds.
|
|
28589
28648
|
self.duration = duration
|
|
28649
|
+
self.file_md5 = file_md5
|
|
28590
28650
|
# The name of the file.
|
|
28591
28651
|
self.file_name = file_name
|
|
28592
28652
|
# The URL of the file.
|
|
@@ -28666,6 +28726,8 @@ class GetMezzanineInfoResponseBodyMezzanine(TeaModel):
|
|
|
28666
28726
|
result['CreationTime'] = self.creation_time
|
|
28667
28727
|
if self.duration is not None:
|
|
28668
28728
|
result['Duration'] = self.duration
|
|
28729
|
+
if self.file_md5 is not None:
|
|
28730
|
+
result['FileMD5'] = self.file_md5
|
|
28669
28731
|
if self.file_name is not None:
|
|
28670
28732
|
result['FileName'] = self.file_name
|
|
28671
28733
|
if self.file_url is not None:
|
|
@@ -28711,6 +28773,8 @@ class GetMezzanineInfoResponseBodyMezzanine(TeaModel):
|
|
|
28711
28773
|
self.creation_time = m.get('CreationTime')
|
|
28712
28774
|
if m.get('Duration') is not None:
|
|
28713
28775
|
self.duration = m.get('Duration')
|
|
28776
|
+
if m.get('FileMD5') is not None:
|
|
28777
|
+
self.file_md5 = m.get('FileMD5')
|
|
28714
28778
|
if m.get('FileName') is not None:
|
|
28715
28779
|
self.file_name = m.get('FileName')
|
|
28716
28780
|
if m.get('FileURL') is not None:
|
|
@@ -28834,6 +28898,7 @@ class GetPlayInfoRequest(TeaModel):
|
|
|
28834
28898
|
output_type: str = None,
|
|
28835
28899
|
play_config: str = None,
|
|
28836
28900
|
re_auth_info: str = None,
|
|
28901
|
+
reference_id: str = None,
|
|
28837
28902
|
result_type: str = None,
|
|
28838
28903
|
stream_type: str = None,
|
|
28839
28904
|
trace: str = None,
|
|
@@ -28903,6 +28968,7 @@ class GetPlayInfoRequest(TeaModel):
|
|
|
28903
28968
|
self.play_config = play_config
|
|
28904
28969
|
# The CDN reauthentication configuration. The value must be a JSON string. If CDN reauthentication is enabled, you can use this parameter to specify the `UID` and `rand` fields for URL authentication. For more information, see [URL authentication](https://help.aliyun.com/document_detail/2249352.html).
|
|
28905
28970
|
self.re_auth_info = re_auth_info
|
|
28971
|
+
self.reference_id = reference_id
|
|
28906
28972
|
# The type of the data to return. Default value: Single. Valid values:
|
|
28907
28973
|
#
|
|
28908
28974
|
# * **Single**: Only one latest transcoded stream is returned for each quality and format.
|
|
@@ -28925,8 +28991,6 @@ class GetPlayInfoRequest(TeaModel):
|
|
|
28925
28991
|
# * Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the page that appears, view the media ID.
|
|
28926
28992
|
# * Obtain the value of the VideoId parameter in the response to the [CreateUploadVideo](https://help.aliyun.com/document_detail/55407.html) operation that you called to upload the audio or video file.
|
|
28927
28993
|
# * Obtain the value of VideoId by calling the [SearchMedia](https://help.aliyun.com/document_detail/86044.html) operation. This method is applicable to files that have been uploaded.
|
|
28928
|
-
#
|
|
28929
|
-
# This parameter is required.
|
|
28930
28994
|
self.video_id = video_id
|
|
28931
28995
|
|
|
28932
28996
|
def validate(self):
|
|
@@ -28954,6 +29018,8 @@ class GetPlayInfoRequest(TeaModel):
|
|
|
28954
29018
|
result['PlayConfig'] = self.play_config
|
|
28955
29019
|
if self.re_auth_info is not None:
|
|
28956
29020
|
result['ReAuthInfo'] = self.re_auth_info
|
|
29021
|
+
if self.reference_id is not None:
|
|
29022
|
+
result['ReferenceId'] = self.reference_id
|
|
28957
29023
|
if self.result_type is not None:
|
|
28958
29024
|
result['ResultType'] = self.result_type
|
|
28959
29025
|
if self.stream_type is not None:
|
|
@@ -28982,6 +29048,8 @@ class GetPlayInfoRequest(TeaModel):
|
|
|
28982
29048
|
self.play_config = m.get('PlayConfig')
|
|
28983
29049
|
if m.get('ReAuthInfo') is not None:
|
|
28984
29050
|
self.re_auth_info = m.get('ReAuthInfo')
|
|
29051
|
+
if m.get('ReferenceId') is not None:
|
|
29052
|
+
self.reference_id = m.get('ReferenceId')
|
|
28985
29053
|
if m.get('ResultType') is not None:
|
|
28986
29054
|
self.result_type = m.get('ResultType')
|
|
28987
29055
|
if m.get('StreamType') is not None:
|
|
@@ -31354,15 +31422,15 @@ class GetUploadDetailsResponse(TeaModel):
|
|
|
31354
31422
|
class GetVideoInfoRequest(TeaModel):
|
|
31355
31423
|
def __init__(
|
|
31356
31424
|
self,
|
|
31425
|
+
reference_id: str = None,
|
|
31357
31426
|
video_id: str = None,
|
|
31358
31427
|
):
|
|
31428
|
+
self.reference_id = reference_id
|
|
31359
31429
|
# The ID of the audio or video file. You can specify only one ID in each call. You can use one of the following methods to obtain the ID:
|
|
31360
31430
|
#
|
|
31361
31431
|
# * Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, view the ID of the audio or video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console.
|
|
31362
31432
|
# * Obtain the value of VideoId from the response to the [CreateUploadVideo](https://help.aliyun.com/document_detail/55407.html) operation that you called to obtain the upload URL and credential.
|
|
31363
31433
|
# * Obtain the value of VideoId from the response to the [SearchMedia](https://help.aliyun.com/document_detail/86044.html) operation that you called to query the media ID after the media file is uploaded.
|
|
31364
|
-
#
|
|
31365
|
-
# This parameter is required.
|
|
31366
31434
|
self.video_id = video_id
|
|
31367
31435
|
|
|
31368
31436
|
def validate(self):
|
|
@@ -31374,12 +31442,16 @@ class GetVideoInfoRequest(TeaModel):
|
|
|
31374
31442
|
return _map
|
|
31375
31443
|
|
|
31376
31444
|
result = dict()
|
|
31445
|
+
if self.reference_id is not None:
|
|
31446
|
+
result['ReferenceId'] = self.reference_id
|
|
31377
31447
|
if self.video_id is not None:
|
|
31378
31448
|
result['VideoId'] = self.video_id
|
|
31379
31449
|
return result
|
|
31380
31450
|
|
|
31381
31451
|
def from_map(self, m: dict = None):
|
|
31382
31452
|
m = m or dict()
|
|
31453
|
+
if m.get('ReferenceId') is not None:
|
|
31454
|
+
self.reference_id = m.get('ReferenceId')
|
|
31383
31455
|
if m.get('VideoId') is not None:
|
|
31384
31456
|
self.video_id = m.get('VideoId')
|
|
31385
31457
|
return self
|
|
@@ -31426,6 +31498,7 @@ class GetVideoInfoResponseBodyVideo(TeaModel):
|
|
|
31426
31498
|
download_switch: str = None,
|
|
31427
31499
|
duration: float = None,
|
|
31428
31500
|
modification_time: str = None,
|
|
31501
|
+
reference_id: str = None,
|
|
31429
31502
|
region_id: str = None,
|
|
31430
31503
|
restore_expiration: str = None,
|
|
31431
31504
|
restore_status: str = None,
|
|
@@ -31468,6 +31541,7 @@ class GetVideoInfoResponseBodyVideo(TeaModel):
|
|
|
31468
31541
|
self.duration = duration
|
|
31469
31542
|
# The time when the audio or video file was last updated. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
|
|
31470
31543
|
self.modification_time = modification_time
|
|
31544
|
+
self.reference_id = reference_id
|
|
31471
31545
|
# The region where the media file is stored.
|
|
31472
31546
|
self.region_id = region_id
|
|
31473
31547
|
# The period of time in which the object remains in the restored state.
|
|
@@ -31549,6 +31623,8 @@ class GetVideoInfoResponseBodyVideo(TeaModel):
|
|
|
31549
31623
|
result['Duration'] = self.duration
|
|
31550
31624
|
if self.modification_time is not None:
|
|
31551
31625
|
result['ModificationTime'] = self.modification_time
|
|
31626
|
+
if self.reference_id is not None:
|
|
31627
|
+
result['ReferenceId'] = self.reference_id
|
|
31552
31628
|
if self.region_id is not None:
|
|
31553
31629
|
result['RegionId'] = self.region_id
|
|
31554
31630
|
if self.restore_expiration is not None:
|
|
@@ -31601,6 +31677,8 @@ class GetVideoInfoResponseBodyVideo(TeaModel):
|
|
|
31601
31677
|
self.duration = m.get('Duration')
|
|
31602
31678
|
if m.get('ModificationTime') is not None:
|
|
31603
31679
|
self.modification_time = m.get('ModificationTime')
|
|
31680
|
+
if m.get('ReferenceId') is not None:
|
|
31681
|
+
self.reference_id = m.get('ReferenceId')
|
|
31604
31682
|
if m.get('RegionId') is not None:
|
|
31605
31683
|
self.region_id = m.get('RegionId')
|
|
31606
31684
|
if m.get('RestoreExpiration') is not None:
|
|
@@ -31712,11 +31790,11 @@ class GetVideoInfoResponse(TeaModel):
|
|
|
31712
31790
|
class GetVideoInfosRequest(TeaModel):
|
|
31713
31791
|
def __init__(
|
|
31714
31792
|
self,
|
|
31793
|
+
reference_ids: str = None,
|
|
31715
31794
|
video_ids: str = None,
|
|
31716
31795
|
):
|
|
31796
|
+
self.reference_ids = reference_ids
|
|
31717
31797
|
# The list of video IDs. Separate multiple IDs with commas (,). A maximum of 20 IDs can be specified.
|
|
31718
|
-
#
|
|
31719
|
-
# This parameter is required.
|
|
31720
31798
|
self.video_ids = video_ids
|
|
31721
31799
|
|
|
31722
31800
|
def validate(self):
|
|
@@ -31728,12 +31806,16 @@ class GetVideoInfosRequest(TeaModel):
|
|
|
31728
31806
|
return _map
|
|
31729
31807
|
|
|
31730
31808
|
result = dict()
|
|
31809
|
+
if self.reference_ids is not None:
|
|
31810
|
+
result['ReferenceIds'] = self.reference_ids
|
|
31731
31811
|
if self.video_ids is not None:
|
|
31732
31812
|
result['VideoIds'] = self.video_ids
|
|
31733
31813
|
return result
|
|
31734
31814
|
|
|
31735
31815
|
def from_map(self, m: dict = None):
|
|
31736
31816
|
m = m or dict()
|
|
31817
|
+
if m.get('ReferenceIds') is not None:
|
|
31818
|
+
self.reference_ids = m.get('ReferenceIds')
|
|
31737
31819
|
if m.get('VideoIds') is not None:
|
|
31738
31820
|
self.video_ids = m.get('VideoIds')
|
|
31739
31821
|
return self
|
|
@@ -31751,6 +31833,7 @@ class GetVideoInfosResponseBodyVideoList(TeaModel):
|
|
|
31751
31833
|
download_switch: str = None,
|
|
31752
31834
|
duration: float = None,
|
|
31753
31835
|
modification_time: str = None,
|
|
31836
|
+
reference_id: str = None,
|
|
31754
31837
|
restore_expiration: str = None,
|
|
31755
31838
|
restore_status: str = None,
|
|
31756
31839
|
size: int = None,
|
|
@@ -31785,6 +31868,7 @@ class GetVideoInfosResponseBodyVideoList(TeaModel):
|
|
|
31785
31868
|
self.duration = duration
|
|
31786
31869
|
# The time when the audio or video file was last updated. The time is in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
|
|
31787
31870
|
self.modification_time = modification_time
|
|
31871
|
+
self.reference_id = reference_id
|
|
31788
31872
|
# The period of time in which the audio file remains in the restored state.
|
|
31789
31873
|
self.restore_expiration = restore_expiration
|
|
31790
31874
|
# The restoration status of the audio file. Valid values:
|
|
@@ -31859,6 +31943,8 @@ class GetVideoInfosResponseBodyVideoList(TeaModel):
|
|
|
31859
31943
|
result['Duration'] = self.duration
|
|
31860
31944
|
if self.modification_time is not None:
|
|
31861
31945
|
result['ModificationTime'] = self.modification_time
|
|
31946
|
+
if self.reference_id is not None:
|
|
31947
|
+
result['ReferenceId'] = self.reference_id
|
|
31862
31948
|
if self.restore_expiration is not None:
|
|
31863
31949
|
result['RestoreExpiration'] = self.restore_expiration
|
|
31864
31950
|
if self.restore_status is not None:
|
|
@@ -31905,6 +31991,8 @@ class GetVideoInfosResponseBodyVideoList(TeaModel):
|
|
|
31905
31991
|
self.duration = m.get('Duration')
|
|
31906
31992
|
if m.get('ModificationTime') is not None:
|
|
31907
31993
|
self.modification_time = m.get('ModificationTime')
|
|
31994
|
+
if m.get('ReferenceId') is not None:
|
|
31995
|
+
self.reference_id = m.get('ReferenceId')
|
|
31908
31996
|
if m.get('RestoreExpiration') is not None:
|
|
31909
31997
|
self.restore_expiration = m.get('RestoreExpiration')
|
|
31910
31998
|
if m.get('RestoreStatus') is not None:
|
|
@@ -31935,10 +32023,12 @@ class GetVideoInfosResponseBodyVideoList(TeaModel):
|
|
|
31935
32023
|
class GetVideoInfosResponseBody(TeaModel):
|
|
31936
32024
|
def __init__(
|
|
31937
32025
|
self,
|
|
32026
|
+
non_exist_reference_ids: List[str] = None,
|
|
31938
32027
|
non_exist_video_ids: List[str] = None,
|
|
31939
32028
|
request_id: str = None,
|
|
31940
32029
|
video_list: List[GetVideoInfosResponseBodyVideoList] = None,
|
|
31941
32030
|
):
|
|
32031
|
+
self.non_exist_reference_ids = non_exist_reference_ids
|
|
31942
32032
|
# The IDs of the videos that do not exist.
|
|
31943
32033
|
self.non_exist_video_ids = non_exist_video_ids
|
|
31944
32034
|
# The ID of the request.
|
|
@@ -31958,6 +32048,8 @@ class GetVideoInfosResponseBody(TeaModel):
|
|
|
31958
32048
|
return _map
|
|
31959
32049
|
|
|
31960
32050
|
result = dict()
|
|
32051
|
+
if self.non_exist_reference_ids is not None:
|
|
32052
|
+
result['NonExistReferenceIds'] = self.non_exist_reference_ids
|
|
31961
32053
|
if self.non_exist_video_ids is not None:
|
|
31962
32054
|
result['NonExistVideoIds'] = self.non_exist_video_ids
|
|
31963
32055
|
if self.request_id is not None:
|
|
@@ -31970,6 +32062,8 @@ class GetVideoInfosResponseBody(TeaModel):
|
|
|
31970
32062
|
|
|
31971
32063
|
def from_map(self, m: dict = None):
|
|
31972
32064
|
m = m or dict()
|
|
32065
|
+
if m.get('NonExistReferenceIds') is not None:
|
|
32066
|
+
self.non_exist_reference_ids = m.get('NonExistReferenceIds')
|
|
31973
32067
|
if m.get('NonExistVideoIds') is not None:
|
|
31974
32068
|
self.non_exist_video_ids = m.get('NonExistVideoIds')
|
|
31975
32069
|
if m.get('RequestId') is not None:
|
|
@@ -32030,6 +32124,7 @@ class GetVideoListRequest(TeaModel):
|
|
|
32030
32124
|
end_time: str = None,
|
|
32031
32125
|
page_no: int = None,
|
|
32032
32126
|
page_size: int = None,
|
|
32127
|
+
reference_ids: str = None,
|
|
32033
32128
|
sort_by: str = None,
|
|
32034
32129
|
start_time: str = None,
|
|
32035
32130
|
status: str = None,
|
|
@@ -32047,6 +32142,7 @@ class GetVideoListRequest(TeaModel):
|
|
|
32047
32142
|
self.page_no = page_no
|
|
32048
32143
|
# The number of entries to return on each page. Default value: **10**. Maximum value: **100**.
|
|
32049
32144
|
self.page_size = page_size
|
|
32145
|
+
self.reference_ids = reference_ids
|
|
32050
32146
|
# The sorting method of the results. Valid values:
|
|
32051
32147
|
#
|
|
32052
32148
|
# * **CreationTime:Desc** (default): The results are sorted in reverse chronological order based on the creation time.
|
|
@@ -32088,6 +32184,8 @@ class GetVideoListRequest(TeaModel):
|
|
|
32088
32184
|
result['PageNo'] = self.page_no
|
|
32089
32185
|
if self.page_size is not None:
|
|
32090
32186
|
result['PageSize'] = self.page_size
|
|
32187
|
+
if self.reference_ids is not None:
|
|
32188
|
+
result['ReferenceIds'] = self.reference_ids
|
|
32091
32189
|
if self.sort_by is not None:
|
|
32092
32190
|
result['SortBy'] = self.sort_by
|
|
32093
32191
|
if self.start_time is not None:
|
|
@@ -32108,6 +32206,8 @@ class GetVideoListRequest(TeaModel):
|
|
|
32108
32206
|
self.page_no = m.get('PageNo')
|
|
32109
32207
|
if m.get('PageSize') is not None:
|
|
32110
32208
|
self.page_size = m.get('PageSize')
|
|
32209
|
+
if m.get('ReferenceIds') is not None:
|
|
32210
|
+
self.reference_ids = m.get('ReferenceIds')
|
|
32111
32211
|
if m.get('SortBy') is not None:
|
|
32112
32212
|
self.sort_by = m.get('SortBy')
|
|
32113
32213
|
if m.get('StartTime') is not None:
|
|
@@ -32157,6 +32257,7 @@ class GetVideoListResponseBodyVideoListVideo(TeaModel):
|
|
|
32157
32257
|
description: str = None,
|
|
32158
32258
|
duration: float = None,
|
|
32159
32259
|
modification_time: str = None,
|
|
32260
|
+
reference_id: str = None,
|
|
32160
32261
|
restore_expiration: str = None,
|
|
32161
32262
|
restore_status: str = None,
|
|
32162
32263
|
size: int = None,
|
|
@@ -32185,6 +32286,7 @@ class GetVideoListResponseBodyVideoListVideo(TeaModel):
|
|
|
32185
32286
|
self.duration = duration
|
|
32186
32287
|
# The time when the video was updated. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.
|
|
32187
32288
|
self.modification_time = modification_time
|
|
32289
|
+
self.reference_id = reference_id
|
|
32188
32290
|
# The period of time in which the audio or video file remains in the restored state.
|
|
32189
32291
|
self.restore_expiration = restore_expiration
|
|
32190
32292
|
# The restoration status of the audio or video file. Valid values:
|
|
@@ -32259,6 +32361,8 @@ class GetVideoListResponseBodyVideoListVideo(TeaModel):
|
|
|
32259
32361
|
result['Duration'] = self.duration
|
|
32260
32362
|
if self.modification_time is not None:
|
|
32261
32363
|
result['ModificationTime'] = self.modification_time
|
|
32364
|
+
if self.reference_id is not None:
|
|
32365
|
+
result['ReferenceId'] = self.reference_id
|
|
32262
32366
|
if self.restore_expiration is not None:
|
|
32263
32367
|
result['RestoreExpiration'] = self.restore_expiration
|
|
32264
32368
|
if self.restore_status is not None:
|
|
@@ -32301,6 +32405,8 @@ class GetVideoListResponseBodyVideoListVideo(TeaModel):
|
|
|
32301
32405
|
self.duration = m.get('Duration')
|
|
32302
32406
|
if m.get('ModificationTime') is not None:
|
|
32303
32407
|
self.modification_time = m.get('ModificationTime')
|
|
32408
|
+
if m.get('ReferenceId') is not None:
|
|
32409
|
+
self.reference_id = m.get('ReferenceId')
|
|
32304
32410
|
if m.get('RestoreExpiration') is not None:
|
|
32305
32411
|
self.restore_expiration = m.get('RestoreExpiration')
|
|
32306
32412
|
if m.get('RestoreStatus') is not None:
|
|
@@ -32452,6 +32558,7 @@ class GetVideoPlayAuthRequest(TeaModel):
|
|
|
32452
32558
|
self,
|
|
32453
32559
|
api_version: str = None,
|
|
32454
32560
|
auth_info_timeout: int = None,
|
|
32561
|
+
reference_id: str = None,
|
|
32455
32562
|
video_id: str = None,
|
|
32456
32563
|
):
|
|
32457
32564
|
# The API version. Set the value to **1.0.0**.
|
|
@@ -32461,13 +32568,12 @@ class GetVideoPlayAuthRequest(TeaModel):
|
|
|
32461
32568
|
# * Default value: **100**.
|
|
32462
32569
|
# * Valid values: `[100,3000]`.
|
|
32463
32570
|
self.auth_info_timeout = auth_info_timeout
|
|
32571
|
+
self.reference_id = reference_id
|
|
32464
32572
|
# The ID of the media file. You can specify only one ID. You can use one of the following methods to obtain the ID of the file:
|
|
32465
32573
|
#
|
|
32466
32574
|
# * Log on to the [ApsaraVideo VOD](https://vod.console.aliyun.com) console. In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, view the ID of the media file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console.
|
|
32467
32575
|
# * Obtain the value of the VideoId parameter from the response to the [CreateUploadVideo](https://help.aliyun.com/document_detail/55407.html) operation.
|
|
32468
32576
|
# * Obtain the value of the VideoId parameter from the response to the [SearchMedia](https://help.aliyun.com/document_detail/86044.html) operation. This method is applicable to files that have been uploaded.
|
|
32469
|
-
#
|
|
32470
|
-
# This parameter is required.
|
|
32471
32577
|
self.video_id = video_id
|
|
32472
32578
|
|
|
32473
32579
|
def validate(self):
|
|
@@ -32483,6 +32589,8 @@ class GetVideoPlayAuthRequest(TeaModel):
|
|
|
32483
32589
|
result['ApiVersion'] = self.api_version
|
|
32484
32590
|
if self.auth_info_timeout is not None:
|
|
32485
32591
|
result['AuthInfoTimeout'] = self.auth_info_timeout
|
|
32592
|
+
if self.reference_id is not None:
|
|
32593
|
+
result['ReferenceId'] = self.reference_id
|
|
32486
32594
|
if self.video_id is not None:
|
|
32487
32595
|
result['VideoId'] = self.video_id
|
|
32488
32596
|
return result
|
|
@@ -32493,6 +32601,8 @@ class GetVideoPlayAuthRequest(TeaModel):
|
|
|
32493
32601
|
self.api_version = m.get('ApiVersion')
|
|
32494
32602
|
if m.get('AuthInfoTimeout') is not None:
|
|
32495
32603
|
self.auth_info_timeout = m.get('AuthInfoTimeout')
|
|
32604
|
+
if m.get('ReferenceId') is not None:
|
|
32605
|
+
self.reference_id = m.get('ReferenceId')
|
|
32496
32606
|
if m.get('VideoId') is not None:
|
|
32497
32607
|
self.video_id = m.get('VideoId')
|
|
32498
32608
|
return self
|
|
@@ -36933,11 +37043,13 @@ class RefreshUploadVideoRequest(TeaModel):
|
|
|
36933
37043
|
def __init__(
|
|
36934
37044
|
self,
|
|
36935
37045
|
owner_id: int = None,
|
|
37046
|
+
reference_id: str = None,
|
|
36936
37047
|
resource_owner_account: str = None,
|
|
36937
37048
|
resource_owner_id: int = None,
|
|
36938
37049
|
video_id: str = None,
|
|
36939
37050
|
):
|
|
36940
37051
|
self.owner_id = owner_id
|
|
37052
|
+
self.reference_id = reference_id
|
|
36941
37053
|
self.resource_owner_account = resource_owner_account
|
|
36942
37054
|
self.resource_owner_id = resource_owner_id
|
|
36943
37055
|
# The ID of the audio or video file. You can use one of the following methods to obtain the ID:
|
|
@@ -36945,8 +37057,6 @@ class RefreshUploadVideoRequest(TeaModel):
|
|
|
36945
37057
|
# * Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com) and choose **Media Files** > **Audio/Video** in the left-side navigation pane to view the ID.
|
|
36946
37058
|
# * View the value of the VideoId parameter returned by the [CreateUploadVideo](https://help.aliyun.com/document_detail/55407.html) operation that you called to upload the audio or video file.
|
|
36947
37059
|
# * After an audio or video file is uploaded, obtain the value of VideoId from the response to the [SearchMedia](https://help.aliyun.com/document_detail/86044.html) operation that you call to query the audio or video ID.
|
|
36948
|
-
#
|
|
36949
|
-
# This parameter is required.
|
|
36950
37060
|
self.video_id = video_id
|
|
36951
37061
|
|
|
36952
37062
|
def validate(self):
|
|
@@ -36960,6 +37070,8 @@ class RefreshUploadVideoRequest(TeaModel):
|
|
|
36960
37070
|
result = dict()
|
|
36961
37071
|
if self.owner_id is not None:
|
|
36962
37072
|
result['OwnerId'] = self.owner_id
|
|
37073
|
+
if self.reference_id is not None:
|
|
37074
|
+
result['ReferenceId'] = self.reference_id
|
|
36963
37075
|
if self.resource_owner_account is not None:
|
|
36964
37076
|
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
36965
37077
|
if self.resource_owner_id is not None:
|
|
@@ -36972,6 +37084,8 @@ class RefreshUploadVideoRequest(TeaModel):
|
|
|
36972
37084
|
m = m or dict()
|
|
36973
37085
|
if m.get('OwnerId') is not None:
|
|
36974
37086
|
self.owner_id = m.get('OwnerId')
|
|
37087
|
+
if m.get('ReferenceId') is not None:
|
|
37088
|
+
self.reference_id = m.get('ReferenceId')
|
|
36975
37089
|
if m.get('ResourceOwnerAccount') is not None:
|
|
36976
37090
|
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
36977
37091
|
if m.get('ResourceOwnerId') is not None:
|
|
@@ -38507,6 +38621,7 @@ class SearchMediaResponseBodyMediaListAudio(TeaModel):
|
|
|
38507
38621
|
media_source: str = None,
|
|
38508
38622
|
modification_time: str = None,
|
|
38509
38623
|
preprocess_status: str = None,
|
|
38624
|
+
reference_id: str = None,
|
|
38510
38625
|
restore_expiration: str = None,
|
|
38511
38626
|
restore_status: str = None,
|
|
38512
38627
|
size: int = None,
|
|
@@ -38556,6 +38671,7 @@ class SearchMediaResponseBodyMediaListAudio(TeaModel):
|
|
|
38556
38671
|
# * **PreprocessSucceed**\
|
|
38557
38672
|
# * **PreprocessFailed**\
|
|
38558
38673
|
self.preprocess_status = preprocess_status
|
|
38674
|
+
self.reference_id = reference_id
|
|
38559
38675
|
# The period of time in which the audio file remains in the restored state.
|
|
38560
38676
|
self.restore_expiration = restore_expiration
|
|
38561
38677
|
# The restoration status of the audio file. Valid values:
|
|
@@ -38634,6 +38750,8 @@ class SearchMediaResponseBodyMediaListAudio(TeaModel):
|
|
|
38634
38750
|
result['ModificationTime'] = self.modification_time
|
|
38635
38751
|
if self.preprocess_status is not None:
|
|
38636
38752
|
result['PreprocessStatus'] = self.preprocess_status
|
|
38753
|
+
if self.reference_id is not None:
|
|
38754
|
+
result['ReferenceId'] = self.reference_id
|
|
38637
38755
|
if self.restore_expiration is not None:
|
|
38638
38756
|
result['RestoreExpiration'] = self.restore_expiration
|
|
38639
38757
|
if self.restore_status is not None:
|
|
@@ -38684,6 +38802,8 @@ class SearchMediaResponseBodyMediaListAudio(TeaModel):
|
|
|
38684
38802
|
self.modification_time = m.get('ModificationTime')
|
|
38685
38803
|
if m.get('PreprocessStatus') is not None:
|
|
38686
38804
|
self.preprocess_status = m.get('PreprocessStatus')
|
|
38805
|
+
if m.get('ReferenceId') is not None:
|
|
38806
|
+
self.reference_id = m.get('ReferenceId')
|
|
38687
38807
|
if m.get('RestoreExpiration') is not None:
|
|
38688
38808
|
self.restore_expiration = m.get('RestoreExpiration')
|
|
38689
38809
|
if m.get('RestoreStatus') is not None:
|
|
@@ -38832,6 +38952,7 @@ class SearchMediaResponseBodyMediaListVideo(TeaModel):
|
|
|
38832
38952
|
media_source: str = None,
|
|
38833
38953
|
modification_time: str = None,
|
|
38834
38954
|
preprocess_status: str = None,
|
|
38955
|
+
reference_id: str = None,
|
|
38835
38956
|
restore_expiration: str = None,
|
|
38836
38957
|
restore_status: str = None,
|
|
38837
38958
|
size: int = None,
|
|
@@ -38880,6 +39001,7 @@ class SearchMediaResponseBodyMediaListVideo(TeaModel):
|
|
|
38880
39001
|
# * **PreprocessSucceed**\
|
|
38881
39002
|
# * **PreprocessFailed**\
|
|
38882
39003
|
self.preprocess_status = preprocess_status
|
|
39004
|
+
self.reference_id = reference_id
|
|
38883
39005
|
# The period of time in which the video file remains in the restored state.
|
|
38884
39006
|
self.restore_expiration = restore_expiration
|
|
38885
39007
|
# The restoration status of the video file. Valid values:
|
|
@@ -38962,6 +39084,8 @@ class SearchMediaResponseBodyMediaListVideo(TeaModel):
|
|
|
38962
39084
|
result['ModificationTime'] = self.modification_time
|
|
38963
39085
|
if self.preprocess_status is not None:
|
|
38964
39086
|
result['PreprocessStatus'] = self.preprocess_status
|
|
39087
|
+
if self.reference_id is not None:
|
|
39088
|
+
result['ReferenceId'] = self.reference_id
|
|
38965
39089
|
if self.restore_expiration is not None:
|
|
38966
39090
|
result['RestoreExpiration'] = self.restore_expiration
|
|
38967
39091
|
if self.restore_status is not None:
|
|
@@ -39012,6 +39136,8 @@ class SearchMediaResponseBodyMediaListVideo(TeaModel):
|
|
|
39012
39136
|
self.modification_time = m.get('ModificationTime')
|
|
39013
39137
|
if m.get('PreprocessStatus') is not None:
|
|
39014
39138
|
self.preprocess_status = m.get('PreprocessStatus')
|
|
39139
|
+
if m.get('ReferenceId') is not None:
|
|
39140
|
+
self.reference_id = m.get('ReferenceId')
|
|
39015
39141
|
if m.get('RestoreExpiration') is not None:
|
|
39016
39142
|
self.restore_expiration = m.get('RestoreExpiration')
|
|
39017
39143
|
if m.get('RestoreStatus') is not None:
|
|
@@ -41768,6 +41894,7 @@ class SubmitSnapshotJobRequest(TeaModel):
|
|
|
41768
41894
|
count: int = None,
|
|
41769
41895
|
height: str = None,
|
|
41770
41896
|
interval: int = None,
|
|
41897
|
+
reference_id: str = None,
|
|
41771
41898
|
snapshot_template_id: str = None,
|
|
41772
41899
|
specified_offset_time: int = None,
|
|
41773
41900
|
specified_offset_times: List[int] = None,
|
|
@@ -41786,6 +41913,7 @@ class SubmitSnapshotJobRequest(TeaModel):
|
|
|
41786
41913
|
# * Default value: **1**.
|
|
41787
41914
|
# * If you set this parameter to **0**, snapshots are captured at even intervals based on the video duration divided by the value of the Count parameter.
|
|
41788
41915
|
self.interval = interval
|
|
41916
|
+
self.reference_id = reference_id
|
|
41789
41917
|
# The ID of the snapshot template.
|
|
41790
41918
|
#
|
|
41791
41919
|
# * We recommend that you create a snapshot template before you specify the template ID. For more information about how to create a snapshot template, see [AddVodTemplate](https://help.aliyun.com/document_detail/99406.html).
|
|
@@ -41828,6 +41956,8 @@ class SubmitSnapshotJobRequest(TeaModel):
|
|
|
41828
41956
|
result['Height'] = self.height
|
|
41829
41957
|
if self.interval is not None:
|
|
41830
41958
|
result['Interval'] = self.interval
|
|
41959
|
+
if self.reference_id is not None:
|
|
41960
|
+
result['ReferenceId'] = self.reference_id
|
|
41831
41961
|
if self.snapshot_template_id is not None:
|
|
41832
41962
|
result['SnapshotTemplateId'] = self.snapshot_template_id
|
|
41833
41963
|
if self.specified_offset_time is not None:
|
|
@@ -41852,6 +41982,8 @@ class SubmitSnapshotJobRequest(TeaModel):
|
|
|
41852
41982
|
self.height = m.get('Height')
|
|
41853
41983
|
if m.get('Interval') is not None:
|
|
41854
41984
|
self.interval = m.get('Interval')
|
|
41985
|
+
if m.get('ReferenceId') is not None:
|
|
41986
|
+
self.reference_id = m.get('ReferenceId')
|
|
41855
41987
|
if m.get('SnapshotTemplateId') is not None:
|
|
41856
41988
|
self.snapshot_template_id = m.get('SnapshotTemplateId')
|
|
41857
41989
|
if m.get('SpecifiedOffsetTime') is not None:
|
|
@@ -41875,6 +42007,7 @@ class SubmitSnapshotJobShrinkRequest(TeaModel):
|
|
|
41875
42007
|
count: int = None,
|
|
41876
42008
|
height: str = None,
|
|
41877
42009
|
interval: int = None,
|
|
42010
|
+
reference_id: str = None,
|
|
41878
42011
|
snapshot_template_id: str = None,
|
|
41879
42012
|
specified_offset_time: int = None,
|
|
41880
42013
|
specified_offset_times_shrink: str = None,
|
|
@@ -41893,6 +42026,7 @@ class SubmitSnapshotJobShrinkRequest(TeaModel):
|
|
|
41893
42026
|
# * Default value: **1**.
|
|
41894
42027
|
# * If you set this parameter to **0**, snapshots are captured at even intervals based on the video duration divided by the value of the Count parameter.
|
|
41895
42028
|
self.interval = interval
|
|
42029
|
+
self.reference_id = reference_id
|
|
41896
42030
|
# The ID of the snapshot template.
|
|
41897
42031
|
#
|
|
41898
42032
|
# * We recommend that you create a snapshot template before you specify the template ID. For more information about how to create a snapshot template, see [AddVodTemplate](https://help.aliyun.com/document_detail/99406.html).
|
|
@@ -41935,6 +42069,8 @@ class SubmitSnapshotJobShrinkRequest(TeaModel):
|
|
|
41935
42069
|
result['Height'] = self.height
|
|
41936
42070
|
if self.interval is not None:
|
|
41937
42071
|
result['Interval'] = self.interval
|
|
42072
|
+
if self.reference_id is not None:
|
|
42073
|
+
result['ReferenceId'] = self.reference_id
|
|
41938
42074
|
if self.snapshot_template_id is not None:
|
|
41939
42075
|
result['SnapshotTemplateId'] = self.snapshot_template_id
|
|
41940
42076
|
if self.specified_offset_time is not None:
|
|
@@ -41959,6 +42095,8 @@ class SubmitSnapshotJobShrinkRequest(TeaModel):
|
|
|
41959
42095
|
self.height = m.get('Height')
|
|
41960
42096
|
if m.get('Interval') is not None:
|
|
41961
42097
|
self.interval = m.get('Interval')
|
|
42098
|
+
if m.get('ReferenceId') is not None:
|
|
42099
|
+
self.reference_id = m.get('ReferenceId')
|
|
41962
42100
|
if m.get('SnapshotTemplateId') is not None:
|
|
41963
42101
|
self.snapshot_template_id = m.get('SnapshotTemplateId')
|
|
41964
42102
|
if m.get('SpecifiedOffsetTime') is not None:
|
|
@@ -42089,6 +42227,7 @@ class SubmitTranscodeJobsRequest(TeaModel):
|
|
|
42089
42227
|
override_params: str = None,
|
|
42090
42228
|
pipeline_id: str = None,
|
|
42091
42229
|
priority: str = None,
|
|
42230
|
+
reference_id: str = None,
|
|
42092
42231
|
session_id: str = None,
|
|
42093
42232
|
template_group_id: str = None,
|
|
42094
42233
|
user_data: str = None,
|
|
@@ -42114,6 +42253,7 @@ class SubmitTranscodeJobsRequest(TeaModel):
|
|
|
42114
42253
|
#
|
|
42115
42254
|
# > This parameter takes effect only on the queued transcoding jobs. The priorities of the in-progress transcoding jobs are not affected.
|
|
42116
42255
|
self.priority = priority
|
|
42256
|
+
self.reference_id = reference_id
|
|
42117
42257
|
# The custom identifier for deduplication. If you send a request, an error is returned if a request with the same identifier was sent in the last 7 days. A custom identifier can be up to 50 characters in length and can contain letters, digits, hyphens (-), and underscores (_). If you do not specify this parameter or leave this parameter empty, duplicate requests are not filtered.
|
|
42118
42258
|
self.session_id = session_id
|
|
42119
42259
|
# The ID of the transcoding template group that you want to use. To view the template group ID, perform the following operations: Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Configuration Management** > **Media Processing** > **Transcoding Template Groups**.
|
|
@@ -42148,6 +42288,8 @@ class SubmitTranscodeJobsRequest(TeaModel):
|
|
|
42148
42288
|
result['PipelineId'] = self.pipeline_id
|
|
42149
42289
|
if self.priority is not None:
|
|
42150
42290
|
result['Priority'] = self.priority
|
|
42291
|
+
if self.reference_id is not None:
|
|
42292
|
+
result['ReferenceId'] = self.reference_id
|
|
42151
42293
|
if self.session_id is not None:
|
|
42152
42294
|
result['SessionId'] = self.session_id
|
|
42153
42295
|
if self.template_group_id is not None:
|
|
@@ -42168,6 +42310,8 @@ class SubmitTranscodeJobsRequest(TeaModel):
|
|
|
42168
42310
|
self.pipeline_id = m.get('PipelineId')
|
|
42169
42311
|
if m.get('Priority') is not None:
|
|
42170
42312
|
self.priority = m.get('Priority')
|
|
42313
|
+
if m.get('ReferenceId') is not None:
|
|
42314
|
+
self.reference_id = m.get('ReferenceId')
|
|
42171
42315
|
if m.get('SessionId') is not None:
|
|
42172
42316
|
self.session_id = m.get('SessionId')
|
|
42173
42317
|
if m.get('TemplateGroupId') is not None:
|
|
@@ -43632,6 +43776,7 @@ class UpdateVideoInfoRequest(TeaModel):
|
|
|
43632
43776
|
cate_id: int = None,
|
|
43633
43777
|
cover_url: str = None,
|
|
43634
43778
|
description: str = None,
|
|
43779
|
+
reference_id: str = None,
|
|
43635
43780
|
tags: str = None,
|
|
43636
43781
|
title: str = None,
|
|
43637
43782
|
user_data: str = None,
|
|
@@ -43650,6 +43795,7 @@ class UpdateVideoInfoRequest(TeaModel):
|
|
|
43650
43795
|
# * The description can be up to 1,024 bytes in length.
|
|
43651
43796
|
# * The value is encoded in UTF-8.
|
|
43652
43797
|
self.description = description
|
|
43798
|
+
self.reference_id = reference_id
|
|
43653
43799
|
# The tags of the media file.
|
|
43654
43800
|
#
|
|
43655
43801
|
# * Each tag can be up to 32 bytes in length. You can specify up to 16 tags.
|
|
@@ -43668,8 +43814,6 @@ class UpdateVideoInfoRequest(TeaModel):
|
|
|
43668
43814
|
# * Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, view the ID of the audio or video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console.
|
|
43669
43815
|
# * Obtain the value of VideoId from the response to the [CreateUploadVideo](https://help.aliyun.com/document_detail/55407.html) operation that you called to obtain the upload URL and credential.
|
|
43670
43816
|
# * View the value of the VideoId parameter returned by the [SearchMedia](https://help.aliyun.com/document_detail/86044.html) operation that you called to query media information after the audio or video file is uploaded.
|
|
43671
|
-
#
|
|
43672
|
-
# This parameter is required.
|
|
43673
43817
|
self.video_id = video_id
|
|
43674
43818
|
|
|
43675
43819
|
def validate(self):
|
|
@@ -43687,6 +43831,8 @@ class UpdateVideoInfoRequest(TeaModel):
|
|
|
43687
43831
|
result['CoverURL'] = self.cover_url
|
|
43688
43832
|
if self.description is not None:
|
|
43689
43833
|
result['Description'] = self.description
|
|
43834
|
+
if self.reference_id is not None:
|
|
43835
|
+
result['ReferenceId'] = self.reference_id
|
|
43690
43836
|
if self.tags is not None:
|
|
43691
43837
|
result['Tags'] = self.tags
|
|
43692
43838
|
if self.title is not None:
|
|
@@ -43705,6 +43851,8 @@ class UpdateVideoInfoRequest(TeaModel):
|
|
|
43705
43851
|
self.cover_url = m.get('CoverURL')
|
|
43706
43852
|
if m.get('Description') is not None:
|
|
43707
43853
|
self.description = m.get('Description')
|
|
43854
|
+
if m.get('ReferenceId') is not None:
|
|
43855
|
+
self.reference_id = m.get('ReferenceId')
|
|
43708
43856
|
if m.get('Tags') is not None:
|
|
43709
43857
|
self.tags = m.get('Tags')
|
|
43710
43858
|
if m.get('Title') is not None:
|
|
@@ -43821,11 +43969,13 @@ class UpdateVideoInfosResponseBody(TeaModel):
|
|
|
43821
43969
|
def __init__(
|
|
43822
43970
|
self,
|
|
43823
43971
|
forbidden_video_ids: List[str] = None,
|
|
43972
|
+
non_exist_reference_ids: List[str] = None,
|
|
43824
43973
|
non_exist_video_ids: List[str] = None,
|
|
43825
43974
|
request_id: str = None,
|
|
43826
43975
|
):
|
|
43827
43976
|
# The IDs of the videos that cannot be modified. Generally, videos cannot be modified if you do not have required [permissions](https://help.aliyun.com/document_detail/113600.html).
|
|
43828
43977
|
self.forbidden_video_ids = forbidden_video_ids
|
|
43978
|
+
self.non_exist_reference_ids = non_exist_reference_ids
|
|
43829
43979
|
# The IDs of the videos that do not exist.
|
|
43830
43980
|
self.non_exist_video_ids = non_exist_video_ids
|
|
43831
43981
|
# The ID of the request.
|
|
@@ -43842,6 +43992,8 @@ class UpdateVideoInfosResponseBody(TeaModel):
|
|
|
43842
43992
|
result = dict()
|
|
43843
43993
|
if self.forbidden_video_ids is not None:
|
|
43844
43994
|
result['ForbiddenVideoIds'] = self.forbidden_video_ids
|
|
43995
|
+
if self.non_exist_reference_ids is not None:
|
|
43996
|
+
result['NonExistReferenceIds'] = self.non_exist_reference_ids
|
|
43845
43997
|
if self.non_exist_video_ids is not None:
|
|
43846
43998
|
result['NonExistVideoIds'] = self.non_exist_video_ids
|
|
43847
43999
|
if self.request_id is not None:
|
|
@@ -43852,6 +44004,8 @@ class UpdateVideoInfosResponseBody(TeaModel):
|
|
|
43852
44004
|
m = m or dict()
|
|
43853
44005
|
if m.get('ForbiddenVideoIds') is not None:
|
|
43854
44006
|
self.forbidden_video_ids = m.get('ForbiddenVideoIds')
|
|
44007
|
+
if m.get('NonExistReferenceIds') is not None:
|
|
44008
|
+
self.non_exist_reference_ids = m.get('NonExistReferenceIds')
|
|
43855
44009
|
if m.get('NonExistVideoIds') is not None:
|
|
43856
44010
|
self.non_exist_video_ids = m.get('NonExistVideoIds')
|
|
43857
44011
|
if m.get('RequestId') is not None:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_vod20170321/__init__.py,sha256=TdBPYEBuNoLonUqt0T8hiS2hCL_eq7_4kGLVuo5foU4,21
|
|
2
|
+
alibabacloud_vod20170321/client.py,sha256=5j-XlI6vJbkXrncsKRaNBH-t3M721fQwJnOzQ-SCg6o,1151845
|
|
3
|
+
alibabacloud_vod20170321/models.py,sha256=uGD1wbGxH849rIA-hiygKHwwn8ADS6p-UiFY568Xy2M,1647846
|
|
4
|
+
alibabacloud_vod20170321-3.9.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_vod20170321-3.9.2.dist-info/METADATA,sha256=-l6WHgQ-yk5jItRjCLgk2Hl4fT5_hEii6TDmA93kDdY,2328
|
|
6
|
+
alibabacloud_vod20170321-3.9.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_vod20170321-3.9.2.dist-info/top_level.txt,sha256=xbuokYbPde64Zj1s16NBERWQJON7fCs4CEdVbKy79kc,25
|
|
8
|
+
alibabacloud_vod20170321-3.9.2.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_vod20170321/__init__.py,sha256=l1fgO6hymDav3XHlHF86UDD8PtO6nNqKraTzL_Fw0Xw,21
|
|
2
|
-
alibabacloud_vod20170321/client.py,sha256=9eJuTSBXjZrnvoMXURlcTaIs-60Rd22IAGIf4BIWGyw,1148395
|
|
3
|
-
alibabacloud_vod20170321/models.py,sha256=xoIQHcJU0_QzUX5S57VZ23M_zHSVaqeS_xrXuwtKQaE,1640067
|
|
4
|
-
alibabacloud_vod20170321-3.9.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_vod20170321-3.9.0.dist-info/METADATA,sha256=7QvIWFGviZYNmpcK527GqtGUkw2sIiNOg65GKDK-OmA,2328
|
|
6
|
-
alibabacloud_vod20170321-3.9.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_vod20170321-3.9.0.dist-info/top_level.txt,sha256=xbuokYbPde64Zj1s16NBERWQJON7fCs4CEdVbKy79kc,25
|
|
8
|
-
alibabacloud_vod20170321-3.9.0.dist-info/RECORD,,
|
{alibabacloud_vod20170321-3.9.0.dist-info → alibabacloud_vod20170321-3.9.2.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{alibabacloud_vod20170321-3.9.0.dist-info → alibabacloud_vod20170321-3.9.2.dist-info}/top_level.txt
RENAMED
|
File without changes
|