tencentcloud-sdk-python-intl-en 3.0.1135__py2.py3-none-any.whl → 3.0.1136__py2.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.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1135'
16
+ __version__ = '3.0.1136'
@@ -263,6 +263,9 @@ INVALIDPARAMETERVALUE_EXISTEDNAME = 'InvalidParameterValue.ExistedName'
263
263
  # Incorrect parameter value: incorrect `ExpireTime` format.
264
264
  INVALIDPARAMETERVALUE_EXPIRETIME = 'InvalidParameterValue.ExpireTime'
265
265
 
266
+ # Incorrect `expiretime`.
267
+ INVALIDPARAMETERVALUE_EXPIREDTIME = 'InvalidParameterValue.ExpiredTime'
268
+
266
269
  # Incorrect parameter value: the same face already exists.
267
270
  INVALIDPARAMETERVALUE_FACEDUPLICATE = 'InvalidParameterValue.FaceDuplicate'
268
271
 
@@ -329,6 +332,9 @@ INVALIDPARAMETERVALUE_IMAGEDECODEERROR = 'InvalidParameterValue.ImageDecodeError
329
332
  # Invalid parameter: image watermarking template.
330
333
  INVALIDPARAMETERVALUE_IMAGETEMPLATE = 'InvalidParameterValue.ImageTemplate'
331
334
 
335
+ # Index parameter error.
336
+ INVALIDPARAMETERVALUE_INDEX = 'InvalidParameterValue.Index'
337
+
332
338
  # Invalid `Interval` value
333
339
  INVALIDPARAMETERVALUE_INTERVAL = 'InvalidParameterValue.Interval'
334
340
 
@@ -446,6 +452,15 @@ INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = 'InvalidParameterValue.ReviewConfidence
446
452
  # Incorrect parameter value: the value of the `ReviewWallSwitch` parameter is invalid.
447
453
  INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = 'InvalidParameterValue.ReviewWallSwitch'
448
454
 
455
+ # A playlist with the same id already exists.
456
+ INVALIDPARAMETERVALUE_ROUNDPLAYALREADYEXISTS = 'InvalidParameterValue.RoundPlayAlreadyExists'
457
+
458
+ # RoundPlayId parameter error.
459
+ INVALIDPARAMETERVALUE_ROUNDPLAYID = 'InvalidParameterValue.RoundPlayId'
460
+
461
+ # RoundPlaylist parameter length error.
462
+ INVALIDPARAMETERVALUE_ROUNDPLAYLIST = 'InvalidParameterValue.RoundPlaylist'
463
+
449
464
  # Incorrect parameter value: RowCount.
450
465
  INVALIDPARAMETERVALUE_ROWCOUNT = 'InvalidParameterValue.RowCount'
451
466
 
@@ -509,7 +524,7 @@ INVALIDPARAMETERVALUE_STREAMIDINVALID = 'InvalidParameterValue.StreamIdInvalid'
509
524
  # Invalid stream ID.
510
525
  INVALIDPARAMETERVALUE_STREAMIDS = 'InvalidParameterValue.StreamIds'
511
526
 
512
- # Incorrect parameter value: subapplication ID
527
+ # Incorrect parameter value: application id.
513
528
  INVALIDPARAMETERVALUE_SUBAPPID = 'InvalidParameterValue.SubAppId'
514
529
 
515
530
  # Incorrect parameter value: the value of the `SubtitleFormat` parameter is invalid.
@@ -614,6 +629,15 @@ LIMITEXCEEDED = 'LimitExceeded'
614
629
  # Limit exceeded: the total number of new and old timestamps exceeds the limit.
615
630
  LIMITEXCEEDED_KEYFRAMEDESCCOUNTREACHMAX = 'LimitExceeded.KeyFrameDescCountReachMax'
616
631
 
632
+ # Playlist length too large.
633
+ LIMITEXCEEDED_PLAYLIST = 'LimitExceeded.PlayList'
634
+
635
+ # Exceeds broadcast playlist total limit.
636
+ LIMITEXCEEDED_ROUNDPLAYS = 'LimitExceeded.RoundPlays'
637
+
638
+ # Running broadcast playlists exceed maximum quantity.
639
+ LIMITEXCEEDED_RUNNINGROUNDPLAYS = 'LimitExceeded.RunningRoundPlays'
640
+
617
641
  # Limit exceeded: the total number of new and old tags exceeds the limit.
618
642
  LIMITEXCEEDED_TAGCOUNTREACHMAX = 'LimitExceeded.TagCountReachMax'
619
643
 
@@ -21595,22 +21595,26 @@ class CreateRoundPlayRequest(AbstractModel):
21595
21595
 
21596
21596
  def __init__(self):
21597
21597
  r"""
21598
- :param _StartTime: The playback start time, in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
21598
+ :param _StartTime: The playback start time, in [iso 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
21599
21599
  :type StartTime: str
21600
- :param _RoundPlaylist: The files on the list.
21601
- <li>Array length limit: 100.</li>
21600
+ :param _RoundPlaylist: The program list.
21601
+ <Li>Array length limit: 100.</li>.
21602
21602
  :type RoundPlaylist: list of RoundPlayListItemInfo
21603
- :param _SubAppId: <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
21603
+ :param _SubAppId: <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
21604
21604
  :type SubAppId: int
21605
21605
  :param _Name: The playlist name (not longer than 64 characters).
21606
21606
  :type Name: str
21607
- :param _Desc: The playlist description (not longer than 256 characters).
21607
+ :param _Desc: The playlist description, length limit: 256 characters.
21608
21608
  :type Desc: str
21609
- :param _PlayBackMode: Play mode, optional values:
21610
- <li>Loop: Play the playlist in a loop;</li>
21611
- <li>Linear: Play once, stop playing after the playlist is played. </li>
21612
- Default value: Loop.
21609
+ :param _PlayBackMode: Play mode, optional values:.
21610
+ <Li>Loop: loop the playlist;</li>.
21611
+ <Li>Linear: single play, stop playback after the single play finishes.</li>.
21612
+ Default value: loop.
21613
21613
  :type PlayBackMode: str
21614
+ :param _RoundPlayId: Playlist unique identifier id, with a length limit of 64 characters, only allowing uppercase and lowercase english letters (a-za-z), digits (0-9) and hyphens (-). if there is a playlist with the same roundplayid, return the error invalidparametervalue.roundplayalreadyexists. the default value is empty, which means it is system-assigned.
21615
+ :type RoundPlayId: str
21616
+ :param _ExpiredTime: Expiration time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format). the playlist will stop playing after expiration. "9999-12-31t23:59:59+08:00" means it does not expire. default value: 9999-12-31t23:59:59+08:00.
21617
+ :type ExpiredTime: str
21614
21618
  """
21615
21619
  self._StartTime = None
21616
21620
  self._RoundPlaylist = None
@@ -21618,10 +21622,12 @@ Default value: Loop.
21618
21622
  self._Name = None
21619
21623
  self._Desc = None
21620
21624
  self._PlayBackMode = None
21625
+ self._RoundPlayId = None
21626
+ self._ExpiredTime = None
21621
21627
 
21622
21628
  @property
21623
21629
  def StartTime(self):
21624
- """The playback start time, in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
21630
+ """The playback start time, in [iso 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
21625
21631
  :rtype: str
21626
21632
  """
21627
21633
  return self._StartTime
@@ -21632,8 +21638,8 @@ Default value: Loop.
21632
21638
 
21633
21639
  @property
21634
21640
  def RoundPlaylist(self):
21635
- """The files on the list.
21636
- <li>Array length limit: 100.</li>
21641
+ """The program list.
21642
+ <Li>Array length limit: 100.</li>.
21637
21643
  :rtype: list of RoundPlayListItemInfo
21638
21644
  """
21639
21645
  return self._RoundPlaylist
@@ -21644,7 +21650,7 @@ Default value: Loop.
21644
21650
 
21645
21651
  @property
21646
21652
  def SubAppId(self):
21647
- """<b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
21653
+ """<B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
21648
21654
  :rtype: int
21649
21655
  """
21650
21656
  return self._SubAppId
@@ -21666,7 +21672,7 @@ Default value: Loop.
21666
21672
 
21667
21673
  @property
21668
21674
  def Desc(self):
21669
- """The playlist description (not longer than 256 characters).
21675
+ """The playlist description, length limit: 256 characters.
21670
21676
  :rtype: str
21671
21677
  """
21672
21678
  return self._Desc
@@ -21677,10 +21683,10 @@ Default value: Loop.
21677
21683
 
21678
21684
  @property
21679
21685
  def PlayBackMode(self):
21680
- """Play mode, optional values:
21681
- <li>Loop: Play the playlist in a loop;</li>
21682
- <li>Linear: Play once, stop playing after the playlist is played. </li>
21683
- Default value: Loop.
21686
+ """Play mode, optional values:.
21687
+ <Li>Loop: loop the playlist;</li>.
21688
+ <Li>Linear: single play, stop playback after the single play finishes.</li>.
21689
+ Default value: loop.
21684
21690
  :rtype: str
21685
21691
  """
21686
21692
  return self._PlayBackMode
@@ -21689,6 +21695,28 @@ Default value: Loop.
21689
21695
  def PlayBackMode(self, PlayBackMode):
21690
21696
  self._PlayBackMode = PlayBackMode
21691
21697
 
21698
+ @property
21699
+ def RoundPlayId(self):
21700
+ """Playlist unique identifier id, with a length limit of 64 characters, only allowing uppercase and lowercase english letters (a-za-z), digits (0-9) and hyphens (-). if there is a playlist with the same roundplayid, return the error invalidparametervalue.roundplayalreadyexists. the default value is empty, which means it is system-assigned.
21701
+ :rtype: str
21702
+ """
21703
+ return self._RoundPlayId
21704
+
21705
+ @RoundPlayId.setter
21706
+ def RoundPlayId(self, RoundPlayId):
21707
+ self._RoundPlayId = RoundPlayId
21708
+
21709
+ @property
21710
+ def ExpiredTime(self):
21711
+ """Expiration time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format). the playlist will stop playing after expiration. "9999-12-31t23:59:59+08:00" means it does not expire. default value: 9999-12-31t23:59:59+08:00.
21712
+ :rtype: str
21713
+ """
21714
+ return self._ExpiredTime
21715
+
21716
+ @ExpiredTime.setter
21717
+ def ExpiredTime(self, ExpiredTime):
21718
+ self._ExpiredTime = ExpiredTime
21719
+
21692
21720
 
21693
21721
  def _deserialize(self, params):
21694
21722
  self._StartTime = params.get("StartTime")
@@ -21702,6 +21730,8 @@ Default value: Loop.
21702
21730
  self._Name = params.get("Name")
21703
21731
  self._Desc = params.get("Desc")
21704
21732
  self._PlayBackMode = params.get("PlayBackMode")
21733
+ self._RoundPlayId = params.get("RoundPlayId")
21734
+ self._ExpiredTime = params.get("ExpiredTime")
21705
21735
  memeber_set = set(params.keys())
21706
21736
  for name, value in vars(self).items():
21707
21737
  property_name = name[1:]
@@ -21719,9 +21749,9 @@ class CreateRoundPlayResponse(AbstractModel):
21719
21749
 
21720
21750
  def __init__(self):
21721
21751
  r"""
21722
- :param _RoundPlayId: The playlist ID, which is unique.
21752
+ :param _RoundPlayId: The unique identifier of the playlist.
21723
21753
  :type RoundPlayId: str
21724
- :param _Url: The playlist URL.
21754
+ :param _Url: The playlist playback url.
21725
21755
  :type Url: str
21726
21756
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
21727
21757
  :type RequestId: str
@@ -21732,7 +21762,7 @@ class CreateRoundPlayResponse(AbstractModel):
21732
21762
 
21733
21763
  @property
21734
21764
  def RoundPlayId(self):
21735
- """The playlist ID, which is unique.
21765
+ """The unique identifier of the playlist.
21736
21766
  :rtype: str
21737
21767
  """
21738
21768
  return self._RoundPlayId
@@ -21743,7 +21773,7 @@ class CreateRoundPlayResponse(AbstractModel):
21743
21773
 
21744
21774
  @property
21745
21775
  def Url(self):
21746
- """The playlist URL.
21776
+ """The playlist playback url.
21747
21777
  :rtype: str
21748
21778
  """
21749
21779
  return self._Url
@@ -24953,9 +24983,9 @@ class DeleteRoundPlayRequest(AbstractModel):
24953
24983
 
24954
24984
  def __init__(self):
24955
24985
  r"""
24956
- :param _RoundPlayId: The playlist ID, which is unique.
24986
+ :param _RoundPlayId: The unique identifier of the playlist.
24957
24987
  :type RoundPlayId: str
24958
- :param _SubAppId: <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
24988
+ :param _SubAppId: <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
24959
24989
  :type SubAppId: int
24960
24990
  """
24961
24991
  self._RoundPlayId = None
@@ -24963,7 +24993,7 @@ class DeleteRoundPlayRequest(AbstractModel):
24963
24993
 
24964
24994
  @property
24965
24995
  def RoundPlayId(self):
24966
- """The playlist ID, which is unique.
24996
+ """The unique identifier of the playlist.
24967
24997
  :rtype: str
24968
24998
  """
24969
24999
  return self._RoundPlayId
@@ -24974,7 +25004,7 @@ class DeleteRoundPlayRequest(AbstractModel):
24974
25004
 
24975
25005
  @property
24976
25006
  def SubAppId(self):
24977
- """<b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
25007
+ """<B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
24978
25008
  :rtype: int
24979
25009
  """
24980
25010
  return self._SubAppId
@@ -27445,6 +27475,120 @@ class DescribeContentReviewTemplatesResponse(AbstractModel):
27445
27475
  self._RequestId = params.get("RequestId")
27446
27476
 
27447
27477
 
27478
+ class DescribeCurrentPlaylistRequest(AbstractModel):
27479
+ """DescribeCurrentPlaylist request structure.
27480
+
27481
+ """
27482
+
27483
+ def __init__(self):
27484
+ r"""
27485
+ :param _SubAppId: <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id.</b>.
27486
+ :type SubAppId: int
27487
+ :param _RoundPlayId: The unique identifier of the playlist.
27488
+ :type RoundPlayId: str
27489
+ :param _Limit: The length of the returned playlist. maximum is 10, default value is 5.
27490
+ :type Limit: int
27491
+ """
27492
+ self._SubAppId = None
27493
+ self._RoundPlayId = None
27494
+ self._Limit = None
27495
+
27496
+ @property
27497
+ def SubAppId(self):
27498
+ """<B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id.</b>.
27499
+ :rtype: int
27500
+ """
27501
+ return self._SubAppId
27502
+
27503
+ @SubAppId.setter
27504
+ def SubAppId(self, SubAppId):
27505
+ self._SubAppId = SubAppId
27506
+
27507
+ @property
27508
+ def RoundPlayId(self):
27509
+ """The unique identifier of the playlist.
27510
+ :rtype: str
27511
+ """
27512
+ return self._RoundPlayId
27513
+
27514
+ @RoundPlayId.setter
27515
+ def RoundPlayId(self, RoundPlayId):
27516
+ self._RoundPlayId = RoundPlayId
27517
+
27518
+ @property
27519
+ def Limit(self):
27520
+ """The length of the returned playlist. maximum is 10, default value is 5.
27521
+ :rtype: int
27522
+ """
27523
+ return self._Limit
27524
+
27525
+ @Limit.setter
27526
+ def Limit(self, Limit):
27527
+ self._Limit = Limit
27528
+
27529
+
27530
+ def _deserialize(self, params):
27531
+ self._SubAppId = params.get("SubAppId")
27532
+ self._RoundPlayId = params.get("RoundPlayId")
27533
+ self._Limit = params.get("Limit")
27534
+ memeber_set = set(params.keys())
27535
+ for name, value in vars(self).items():
27536
+ property_name = name[1:]
27537
+ if property_name in memeber_set:
27538
+ memeber_set.remove(property_name)
27539
+ if len(memeber_set) > 0:
27540
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
27541
+
27542
+
27543
+
27544
+ class DescribeCurrentPlaylistResponse(AbstractModel):
27545
+ """DescribeCurrentPlaylist response structure.
27546
+
27547
+ """
27548
+
27549
+ def __init__(self):
27550
+ r"""
27551
+ :param _CurrentPlaylist: Current playlist information.
27552
+ :type CurrentPlaylist: list of RoundPlayFilePlayInfo
27553
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
27554
+ :type RequestId: str
27555
+ """
27556
+ self._CurrentPlaylist = None
27557
+ self._RequestId = None
27558
+
27559
+ @property
27560
+ def CurrentPlaylist(self):
27561
+ """Current playlist information.
27562
+ :rtype: list of RoundPlayFilePlayInfo
27563
+ """
27564
+ return self._CurrentPlaylist
27565
+
27566
+ @CurrentPlaylist.setter
27567
+ def CurrentPlaylist(self, CurrentPlaylist):
27568
+ self._CurrentPlaylist = CurrentPlaylist
27569
+
27570
+ @property
27571
+ def RequestId(self):
27572
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
27573
+ :rtype: str
27574
+ """
27575
+ return self._RequestId
27576
+
27577
+ @RequestId.setter
27578
+ def RequestId(self, RequestId):
27579
+ self._RequestId = RequestId
27580
+
27581
+
27582
+ def _deserialize(self, params):
27583
+ if params.get("CurrentPlaylist") is not None:
27584
+ self._CurrentPlaylist = []
27585
+ for item in params.get("CurrentPlaylist"):
27586
+ obj = RoundPlayFilePlayInfo()
27587
+ obj._deserialize(item)
27588
+ self._CurrentPlaylist.append(obj)
27589
+ self._RequestId = params.get("RequestId")
27590
+
27591
+
27448
27592
  class DescribeDailyPlayStatFileListRequest(AbstractModel):
27449
27593
  """DescribeDailyPlayStatFileList request structure.
27450
27594
 
@@ -30678,23 +30822,35 @@ class DescribeRoundPlaysRequest(AbstractModel):
30678
30822
 
30679
30823
  def __init__(self):
30680
30824
  r"""
30681
- :param _SubAppId: <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
30825
+ :param _SubAppId: <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
30682
30826
  :type SubAppId: int
30683
- :param _RoundPlayIds: The playlist IDs. Array length limit: 100.
30827
+ :param _RoundPlayIds: Filter criteria: playlist identifier, array length limit: 100.
30684
30828
  :type RoundPlayIds: list of str
30685
- :param _Offset:
30829
+ :param _Status: Filter criteria: playlist status, optional values: <li>enabled: startup status;</li> <li>disabled: stopped status.</li>.
30830
+ :type Status: str
30831
+ :param _CreateTime: Filter criteria: playlist creation time.
30832
+ :type CreateTime: :class:`tencentcloud.vod.v20180717.models.TimeRange`
30833
+ :param _UpdateTime: Filter criteria: playlist update time.
30834
+ :type UpdateTime: :class:`tencentcloud.vod.v20180717.models.TimeRange`
30835
+ :param _ScrollToken: Scrolling identifier which is used for pulling in batches. if a single request cannot pull all the data entries, the API will return `scrolltoken`, and if the next request carries it, the next pull will start from the next entry.
30836
+ :type ScrollToken: str
30837
+ :param _Offset: Pagination offset, default value: 0. this field is obsolete. please use the `scrolltoken` parameter for batch queries.
30686
30838
  :type Offset: int
30687
- :param _Limit: The number of records to return. Default value: 10. Maximum value: 100.
30839
+ :param _Limit: Number of returned entries. default value: 10. maximum value: 100.
30688
30840
  :type Limit: int
30689
30841
  """
30690
30842
  self._SubAppId = None
30691
30843
  self._RoundPlayIds = None
30844
+ self._Status = None
30845
+ self._CreateTime = None
30846
+ self._UpdateTime = None
30847
+ self._ScrollToken = None
30692
30848
  self._Offset = None
30693
30849
  self._Limit = None
30694
30850
 
30695
30851
  @property
30696
30852
  def SubAppId(self):
30697
- """<b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
30853
+ """<B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
30698
30854
  :rtype: int
30699
30855
  """
30700
30856
  return self._SubAppId
@@ -30705,7 +30861,7 @@ class DescribeRoundPlaysRequest(AbstractModel):
30705
30861
 
30706
30862
  @property
30707
30863
  def RoundPlayIds(self):
30708
- """The playlist IDs. Array length limit: 100.
30864
+ """Filter criteria: playlist identifier, array length limit: 100.
30709
30865
  :rtype: list of str
30710
30866
  """
30711
30867
  return self._RoundPlayIds
@@ -30715,8 +30871,52 @@ class DescribeRoundPlaysRequest(AbstractModel):
30715
30871
  self._RoundPlayIds = RoundPlayIds
30716
30872
 
30717
30873
  @property
30718
- def Offset(self):
30874
+ def Status(self):
30875
+ """Filter criteria: playlist status, optional values: <li>enabled: startup status;</li> <li>disabled: stopped status.</li>.
30876
+ :rtype: str
30877
+ """
30878
+ return self._Status
30879
+
30880
+ @Status.setter
30881
+ def Status(self, Status):
30882
+ self._Status = Status
30883
+
30884
+ @property
30885
+ def CreateTime(self):
30886
+ """Filter criteria: playlist creation time.
30887
+ :rtype: :class:`tencentcloud.vod.v20180717.models.TimeRange`
30719
30888
  """
30889
+ return self._CreateTime
30890
+
30891
+ @CreateTime.setter
30892
+ def CreateTime(self, CreateTime):
30893
+ self._CreateTime = CreateTime
30894
+
30895
+ @property
30896
+ def UpdateTime(self):
30897
+ """Filter criteria: playlist update time.
30898
+ :rtype: :class:`tencentcloud.vod.v20180717.models.TimeRange`
30899
+ """
30900
+ return self._UpdateTime
30901
+
30902
+ @UpdateTime.setter
30903
+ def UpdateTime(self, UpdateTime):
30904
+ self._UpdateTime = UpdateTime
30905
+
30906
+ @property
30907
+ def ScrollToken(self):
30908
+ """Scrolling identifier which is used for pulling in batches. if a single request cannot pull all the data entries, the API will return `scrolltoken`, and if the next request carries it, the next pull will start from the next entry.
30909
+ :rtype: str
30910
+ """
30911
+ return self._ScrollToken
30912
+
30913
+ @ScrollToken.setter
30914
+ def ScrollToken(self, ScrollToken):
30915
+ self._ScrollToken = ScrollToken
30916
+
30917
+ @property
30918
+ def Offset(self):
30919
+ """Pagination offset, default value: 0. this field is obsolete. please use the `scrolltoken` parameter for batch queries.
30720
30920
  :rtype: int
30721
30921
  """
30722
30922
  return self._Offset
@@ -30727,7 +30927,7 @@ class DescribeRoundPlaysRequest(AbstractModel):
30727
30927
 
30728
30928
  @property
30729
30929
  def Limit(self):
30730
- """The number of records to return. Default value: 10. Maximum value: 100.
30930
+ """Number of returned entries. default value: 10. maximum value: 100.
30731
30931
  :rtype: int
30732
30932
  """
30733
30933
  return self._Limit
@@ -30740,6 +30940,14 @@ class DescribeRoundPlaysRequest(AbstractModel):
30740
30940
  def _deserialize(self, params):
30741
30941
  self._SubAppId = params.get("SubAppId")
30742
30942
  self._RoundPlayIds = params.get("RoundPlayIds")
30943
+ self._Status = params.get("Status")
30944
+ if params.get("CreateTime") is not None:
30945
+ self._CreateTime = TimeRange()
30946
+ self._CreateTime._deserialize(params.get("CreateTime"))
30947
+ if params.get("UpdateTime") is not None:
30948
+ self._UpdateTime = TimeRange()
30949
+ self._UpdateTime._deserialize(params.get("UpdateTime"))
30950
+ self._ScrollToken = params.get("ScrollToken")
30743
30951
  self._Offset = params.get("Offset")
30744
30952
  self._Limit = params.get("Limit")
30745
30953
  memeber_set = set(params.keys())
@@ -30759,20 +30967,23 @@ class DescribeRoundPlaysResponse(AbstractModel):
30759
30967
 
30760
30968
  def __init__(self):
30761
30969
  r"""
30762
- :param _TotalCount: The total number of records that meet the conditions.
30970
+ :param _TotalCount: The total number of carousel broadcast playlists that meet the filter criteria. deprecated. for batch inquiries, please use the scrolltoken parameter.
30763
30971
  :type TotalCount: int
30764
- :param _RoundPlaySet: The information of the playlists.
30972
+ :param _RoundPlaySet: The details of the playlist.
30765
30973
  :type RoundPlaySet: list of RoundPlayInfo
30974
+ :param _ScrollToken: Scrolling identifier. if a request does not return all the data entries, this field indicates the id of the next entry. if this field is empty, there is no more data.
30975
+ :type ScrollToken: str
30766
30976
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
30767
30977
  :type RequestId: str
30768
30978
  """
30769
30979
  self._TotalCount = None
30770
30980
  self._RoundPlaySet = None
30981
+ self._ScrollToken = None
30771
30982
  self._RequestId = None
30772
30983
 
30773
30984
  @property
30774
30985
  def TotalCount(self):
30775
- """The total number of records that meet the conditions.
30986
+ """The total number of carousel broadcast playlists that meet the filter criteria. deprecated. for batch inquiries, please use the scrolltoken parameter.
30776
30987
  :rtype: int
30777
30988
  """
30778
30989
  return self._TotalCount
@@ -30783,7 +30994,7 @@ class DescribeRoundPlaysResponse(AbstractModel):
30783
30994
 
30784
30995
  @property
30785
30996
  def RoundPlaySet(self):
30786
- """The information of the playlists.
30997
+ """The details of the playlist.
30787
30998
  :rtype: list of RoundPlayInfo
30788
30999
  """
30789
31000
  return self._RoundPlaySet
@@ -30792,6 +31003,17 @@ class DescribeRoundPlaysResponse(AbstractModel):
30792
31003
  def RoundPlaySet(self, RoundPlaySet):
30793
31004
  self._RoundPlaySet = RoundPlaySet
30794
31005
 
31006
+ @property
31007
+ def ScrollToken(self):
31008
+ """Scrolling identifier. if a request does not return all the data entries, this field indicates the id of the next entry. if this field is empty, there is no more data.
31009
+ :rtype: str
31010
+ """
31011
+ return self._ScrollToken
31012
+
31013
+ @ScrollToken.setter
31014
+ def ScrollToken(self, ScrollToken):
31015
+ self._ScrollToken = ScrollToken
31016
+
30795
31017
  @property
30796
31018
  def RequestId(self):
30797
31019
  """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
@@ -30812,6 +31034,7 @@ class DescribeRoundPlaysResponse(AbstractModel):
30812
31034
  obj = RoundPlayInfo()
30813
31035
  obj._deserialize(item)
30814
31036
  self._RoundPlaySet.append(obj)
31037
+ self._ScrollToken = params.get("ScrollToken")
30815
31038
  self._RequestId = params.get("RequestId")
30816
31039
 
30817
31040
 
@@ -38364,6 +38587,155 @@ Note:
38364
38587
 
38365
38588
 
38366
38589
 
38590
+ class HandleCurrentPlaylistRequest(AbstractModel):
38591
+ """HandleCurrentPlaylist request structure.
38592
+
38593
+ """
38594
+
38595
+ def __init__(self):
38596
+ r"""
38597
+ :param _SubAppId: <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574) id.</b>.
38598
+ :type SubAppId: int
38599
+ :param _RoundPlayId: The unique identifier of the playlist.
38600
+ :type RoundPlayId: str
38601
+ :param _Operation: Operation type, available options:<li>insert: insert program into the current playlist.</li> <li>inserttemporary: temporarily insert program into the current playlist. can only be inserted after the currently playing program. temporarily inserted programs are only effective during this carousel process.</li><li>delete: delete program from the playlist. cannot delete currently playing programs.</li>.
38602
+ :type Operation: str
38603
+ :param _ItemId: Playlist program id. required when operation is insert, indicating the program list will be inserted after this program. the insertion position must be after the currently playing program.
38604
+ :type ItemId: str
38605
+ :param _RoundPlaylist: Program list. required when operation is insert, inserttemporary, delete, indicating the list of programs to be operated on. the list length can be up to a maximum of 10.
38606
+ :type RoundPlaylist: list of RoundPlayListItemInfo
38607
+ """
38608
+ self._SubAppId = None
38609
+ self._RoundPlayId = None
38610
+ self._Operation = None
38611
+ self._ItemId = None
38612
+ self._RoundPlaylist = None
38613
+
38614
+ @property
38615
+ def SubAppId(self):
38616
+ """<B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574) id.</b>.
38617
+ :rtype: int
38618
+ """
38619
+ return self._SubAppId
38620
+
38621
+ @SubAppId.setter
38622
+ def SubAppId(self, SubAppId):
38623
+ self._SubAppId = SubAppId
38624
+
38625
+ @property
38626
+ def RoundPlayId(self):
38627
+ """The unique identifier of the playlist.
38628
+ :rtype: str
38629
+ """
38630
+ return self._RoundPlayId
38631
+
38632
+ @RoundPlayId.setter
38633
+ def RoundPlayId(self, RoundPlayId):
38634
+ self._RoundPlayId = RoundPlayId
38635
+
38636
+ @property
38637
+ def Operation(self):
38638
+ """Operation type, available options:<li>insert: insert program into the current playlist.</li> <li>inserttemporary: temporarily insert program into the current playlist. can only be inserted after the currently playing program. temporarily inserted programs are only effective during this carousel process.</li><li>delete: delete program from the playlist. cannot delete currently playing programs.</li>.
38639
+ :rtype: str
38640
+ """
38641
+ return self._Operation
38642
+
38643
+ @Operation.setter
38644
+ def Operation(self, Operation):
38645
+ self._Operation = Operation
38646
+
38647
+ @property
38648
+ def ItemId(self):
38649
+ """Playlist program id. required when operation is insert, indicating the program list will be inserted after this program. the insertion position must be after the currently playing program.
38650
+ :rtype: str
38651
+ """
38652
+ return self._ItemId
38653
+
38654
+ @ItemId.setter
38655
+ def ItemId(self, ItemId):
38656
+ self._ItemId = ItemId
38657
+
38658
+ @property
38659
+ def RoundPlaylist(self):
38660
+ """Program list. required when operation is insert, inserttemporary, delete, indicating the list of programs to be operated on. the list length can be up to a maximum of 10.
38661
+ :rtype: list of RoundPlayListItemInfo
38662
+ """
38663
+ return self._RoundPlaylist
38664
+
38665
+ @RoundPlaylist.setter
38666
+ def RoundPlaylist(self, RoundPlaylist):
38667
+ self._RoundPlaylist = RoundPlaylist
38668
+
38669
+
38670
+ def _deserialize(self, params):
38671
+ self._SubAppId = params.get("SubAppId")
38672
+ self._RoundPlayId = params.get("RoundPlayId")
38673
+ self._Operation = params.get("Operation")
38674
+ self._ItemId = params.get("ItemId")
38675
+ if params.get("RoundPlaylist") is not None:
38676
+ self._RoundPlaylist = []
38677
+ for item in params.get("RoundPlaylist"):
38678
+ obj = RoundPlayListItemInfo()
38679
+ obj._deserialize(item)
38680
+ self._RoundPlaylist.append(obj)
38681
+ memeber_set = set(params.keys())
38682
+ for name, value in vars(self).items():
38683
+ property_name = name[1:]
38684
+ if property_name in memeber_set:
38685
+ memeber_set.remove(property_name)
38686
+ if len(memeber_set) > 0:
38687
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
38688
+
38689
+
38690
+
38691
+ class HandleCurrentPlaylistResponse(AbstractModel):
38692
+ """HandleCurrentPlaylist response structure.
38693
+
38694
+ """
38695
+
38696
+ def __init__(self):
38697
+ r"""
38698
+ :param _RoundPlaylist: List of successfully operated programs.
38699
+ :type RoundPlaylist: list of RoundPlayListItemInfo
38700
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
38701
+ :type RequestId: str
38702
+ """
38703
+ self._RoundPlaylist = None
38704
+ self._RequestId = None
38705
+
38706
+ @property
38707
+ def RoundPlaylist(self):
38708
+ """List of successfully operated programs.
38709
+ :rtype: list of RoundPlayListItemInfo
38710
+ """
38711
+ return self._RoundPlaylist
38712
+
38713
+ @RoundPlaylist.setter
38714
+ def RoundPlaylist(self, RoundPlaylist):
38715
+ self._RoundPlaylist = RoundPlaylist
38716
+
38717
+ @property
38718
+ def RequestId(self):
38719
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
38720
+ :rtype: str
38721
+ """
38722
+ return self._RequestId
38723
+
38724
+ @RequestId.setter
38725
+ def RequestId(self, RequestId):
38726
+ self._RequestId = RequestId
38727
+
38728
+
38729
+ def _deserialize(self, params):
38730
+ if params.get("RoundPlaylist") is not None:
38731
+ self._RoundPlaylist = []
38732
+ for item in params.get("RoundPlaylist"):
38733
+ obj = RoundPlayListItemInfo()
38734
+ obj._deserialize(item)
38735
+ self._RoundPlaylist.append(obj)
38736
+ self._RequestId = params.get("RequestId")
38737
+
38738
+
38367
38739
  class HeadTailConfigureInfo(AbstractModel):
38368
38740
  """Control parameter of video opening and ending credits recognition task.
38369
38741
 
@@ -51673,27 +52045,27 @@ class ModifyRoundPlayRequest(AbstractModel):
51673
52045
 
51674
52046
  def __init__(self):
51675
52047
  r"""
51676
- :param _RoundPlayId: The playlist ID, which is unique.
52048
+ :param _RoundPlayId: The unique identifier of the playlist.
51677
52049
  :type RoundPlayId: str
51678
- :param _SubAppId: <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
52050
+ :param _SubAppId: <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, for customers who enable vod, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
51679
52051
  :type SubAppId: int
51680
- :param _StartTime: The playback start time, in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
52052
+ :param _StartTime: The playback start time, in [iso 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
51681
52053
  :type StartTime: str
51682
- :param _RoundPlaylist: The files on the list.
51683
- <li>Array length limit: 100.</li>
52054
+ :param _RoundPlaylist: The program list.
52055
+ <Li>Array length limit: 100.</li>.
51684
52056
  :type RoundPlaylist: list of RoundPlayListItemInfo
51685
52057
  :param _Name: The playlist name (not longer than 64 characters).
51686
52058
  :type Name: str
51687
52059
  :param _Desc: The playlist description (not longer than 256 characters).
51688
52060
  :type Desc: str
51689
- :param _Status: Playback status, optional values:
51690
- <li>Disabled: End playback, and the carousel task cannot be started again after the end. </li>
51691
-
52061
+ :param _Status: Playback status, optional values:<li>disabled: stop playback.</li><li>enabled: start playback after the duration has elapsed.</li>.
51692
52062
  :type Status: str
51693
- :param _PlayBackMode: Play mode, optional values:
51694
- <li>Loop: Play the playlist in a loop;</li>
51695
- <li>Linear: Play once, stop playing after the playlist is played. </li>
52063
+ :param _PlayBackMode: Play mode, optional values:.
52064
+ <Li>Loop: loop the playlist;</li>.
52065
+ <Li>Linear: single play, stop playback after the playlist finishes.</li>.
51696
52066
  :type PlayBackMode: str
52067
+ :param _ExpiredTime: Expiration time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format). the playback will stop after expiration. "9999-12-31t23:59:59+08:00" means no expiration.
52068
+ :type ExpiredTime: str
51697
52069
  """
51698
52070
  self._RoundPlayId = None
51699
52071
  self._SubAppId = None
@@ -51703,10 +52075,11 @@ class ModifyRoundPlayRequest(AbstractModel):
51703
52075
  self._Desc = None
51704
52076
  self._Status = None
51705
52077
  self._PlayBackMode = None
52078
+ self._ExpiredTime = None
51706
52079
 
51707
52080
  @property
51708
52081
  def RoundPlayId(self):
51709
- """The playlist ID, which is unique.
52082
+ """The unique identifier of the playlist.
51710
52083
  :rtype: str
51711
52084
  """
51712
52085
  return self._RoundPlayId
@@ -51717,7 +52090,7 @@ class ModifyRoundPlayRequest(AbstractModel):
51717
52090
 
51718
52091
  @property
51719
52092
  def SubAppId(self):
51720
- """<b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
52093
+ """<B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, for customers who enable vod, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
51721
52094
  :rtype: int
51722
52095
  """
51723
52096
  return self._SubAppId
@@ -51728,7 +52101,7 @@ class ModifyRoundPlayRequest(AbstractModel):
51728
52101
 
51729
52102
  @property
51730
52103
  def StartTime(self):
51731
- """The playback start time, in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
52104
+ """The playback start time, in [iso 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
51732
52105
  :rtype: str
51733
52106
  """
51734
52107
  return self._StartTime
@@ -51739,8 +52112,8 @@ class ModifyRoundPlayRequest(AbstractModel):
51739
52112
 
51740
52113
  @property
51741
52114
  def RoundPlaylist(self):
51742
- """The files on the list.
51743
- <li>Array length limit: 100.</li>
52115
+ """The program list.
52116
+ <Li>Array length limit: 100.</li>.
51744
52117
  :rtype: list of RoundPlayListItemInfo
51745
52118
  """
51746
52119
  return self._RoundPlaylist
@@ -51773,9 +52146,7 @@ class ModifyRoundPlayRequest(AbstractModel):
51773
52146
 
51774
52147
  @property
51775
52148
  def Status(self):
51776
- """Playback status, optional values:
51777
- <li>Disabled: End playback, and the carousel task cannot be started again after the end. </li>
51778
-
52149
+ """Playback status, optional values:<li>disabled: stop playback.</li><li>enabled: start playback after the duration has elapsed.</li>.
51779
52150
  :rtype: str
51780
52151
  """
51781
52152
  return self._Status
@@ -51786,9 +52157,9 @@ class ModifyRoundPlayRequest(AbstractModel):
51786
52157
 
51787
52158
  @property
51788
52159
  def PlayBackMode(self):
51789
- """Play mode, optional values:
51790
- <li>Loop: Play the playlist in a loop;</li>
51791
- <li>Linear: Play once, stop playing after the playlist is played. </li>
52160
+ """Play mode, optional values:.
52161
+ <Li>Loop: loop the playlist;</li>.
52162
+ <Li>Linear: single play, stop playback after the playlist finishes.</li>.
51792
52163
  :rtype: str
51793
52164
  """
51794
52165
  return self._PlayBackMode
@@ -51797,6 +52168,17 @@ class ModifyRoundPlayRequest(AbstractModel):
51797
52168
  def PlayBackMode(self, PlayBackMode):
51798
52169
  self._PlayBackMode = PlayBackMode
51799
52170
 
52171
+ @property
52172
+ def ExpiredTime(self):
52173
+ """Expiration time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format). the playback will stop after expiration. "9999-12-31t23:59:59+08:00" means no expiration.
52174
+ :rtype: str
52175
+ """
52176
+ return self._ExpiredTime
52177
+
52178
+ @ExpiredTime.setter
52179
+ def ExpiredTime(self, ExpiredTime):
52180
+ self._ExpiredTime = ExpiredTime
52181
+
51800
52182
 
51801
52183
  def _deserialize(self, params):
51802
52184
  self._RoundPlayId = params.get("RoundPlayId")
@@ -51812,6 +52194,7 @@ class ModifyRoundPlayRequest(AbstractModel):
51812
52194
  self._Desc = params.get("Desc")
51813
52195
  self._Status = params.get("Status")
51814
52196
  self._PlayBackMode = params.get("PlayBackMode")
52197
+ self._ExpiredTime = params.get("ExpiredTime")
51815
52198
  memeber_set = set(params.keys())
51816
52199
  for name, value in vars(self).items():
51817
52200
  property_name = name[1:]
@@ -66290,6 +66673,106 @@ class ReviewTemplate(AbstractModel):
66290
66673
 
66291
66674
 
66292
66675
 
66676
+ class RoundPlayFilePlayInfo(AbstractModel):
66677
+ """Playlist Program Playback Information
66678
+
66679
+ """
66680
+
66681
+ def __init__(self):
66682
+ r"""
66683
+ :param _ItemId: Playlist program id, assigned by the system.
66684
+ :type ItemId: str
66685
+ :param _FileId: The media file id.
66686
+ :type FileId: str
66687
+ :param _StartPlayTime: The playback start time, in [iso 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
66688
+ :type StartPlayTime: str
66689
+ :param _Duration: Playback duration, in seconds.
66690
+ Note: this field may return null, indicating that no valid value was found.
66691
+ :type Duration: float
66692
+ :param _Progress: Playback progress, in seconds.
66693
+ Note: this field may return null, indicating that no valid value was found.
66694
+ :type Progress: float
66695
+ """
66696
+ self._ItemId = None
66697
+ self._FileId = None
66698
+ self._StartPlayTime = None
66699
+ self._Duration = None
66700
+ self._Progress = None
66701
+
66702
+ @property
66703
+ def ItemId(self):
66704
+ """Playlist program id, assigned by the system.
66705
+ :rtype: str
66706
+ """
66707
+ return self._ItemId
66708
+
66709
+ @ItemId.setter
66710
+ def ItemId(self, ItemId):
66711
+ self._ItemId = ItemId
66712
+
66713
+ @property
66714
+ def FileId(self):
66715
+ """The media file id.
66716
+ :rtype: str
66717
+ """
66718
+ return self._FileId
66719
+
66720
+ @FileId.setter
66721
+ def FileId(self, FileId):
66722
+ self._FileId = FileId
66723
+
66724
+ @property
66725
+ def StartPlayTime(self):
66726
+ """The playback start time, in [iso 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
66727
+ :rtype: str
66728
+ """
66729
+ return self._StartPlayTime
66730
+
66731
+ @StartPlayTime.setter
66732
+ def StartPlayTime(self, StartPlayTime):
66733
+ self._StartPlayTime = StartPlayTime
66734
+
66735
+ @property
66736
+ def Duration(self):
66737
+ """Playback duration, in seconds.
66738
+ Note: this field may return null, indicating that no valid value was found.
66739
+ :rtype: float
66740
+ """
66741
+ return self._Duration
66742
+
66743
+ @Duration.setter
66744
+ def Duration(self, Duration):
66745
+ self._Duration = Duration
66746
+
66747
+ @property
66748
+ def Progress(self):
66749
+ """Playback progress, in seconds.
66750
+ Note: this field may return null, indicating that no valid value was found.
66751
+ :rtype: float
66752
+ """
66753
+ return self._Progress
66754
+
66755
+ @Progress.setter
66756
+ def Progress(self, Progress):
66757
+ self._Progress = Progress
66758
+
66759
+
66760
+ def _deserialize(self, params):
66761
+ self._ItemId = params.get("ItemId")
66762
+ self._FileId = params.get("FileId")
66763
+ self._StartPlayTime = params.get("StartPlayTime")
66764
+ self._Duration = params.get("Duration")
66765
+ self._Progress = params.get("Progress")
66766
+ memeber_set = set(params.keys())
66767
+ for name, value in vars(self).items():
66768
+ property_name = name[1:]
66769
+ if property_name in memeber_set:
66770
+ memeber_set.remove(property_name)
66771
+ if len(memeber_set) > 0:
66772
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
66773
+
66774
+
66775
+
66293
66776
  class RoundPlayInfo(AbstractModel):
66294
66777
  """The information of a playlist.
66295
66778
 
@@ -66299,7 +66782,7 @@ class RoundPlayInfo(AbstractModel):
66299
66782
  r"""
66300
66783
  :param _RoundPlayId: The playlist ID.
66301
66784
  :type RoundPlayId: str
66302
- :param _StartTime: The playback start time, in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
66785
+ :param _StartTime: The playback start time, in [ISO 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
66303
66786
  :type StartTime: str
66304
66787
  :param _RoundPlaylist: The files on the list.
66305
66788
  :type RoundPlaylist: list of RoundPlayListItemInfo
@@ -66319,6 +66802,12 @@ Default value: Loop.
66319
66802
  :type PlayBackMode: str
66320
66803
  :param _Url: Carousel playback address.
66321
66804
  :type Url: str
66805
+ :param _CreateTime: Creation time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
66806
+ :type CreateTime: str
66807
+ :param _UpdateTime: Update time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
66808
+ :type UpdateTime: str
66809
+ :param _ExpiredTime: Expiration time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format). the playback of the playlist will stop after expiration. "9999-12-31t23:59:59+08:00" means never expire.
66810
+ :type ExpiredTime: str
66322
66811
  """
66323
66812
  self._RoundPlayId = None
66324
66813
  self._StartTime = None
@@ -66328,6 +66817,9 @@ Default value: Loop.
66328
66817
  self._Status = None
66329
66818
  self._PlayBackMode = None
66330
66819
  self._Url = None
66820
+ self._CreateTime = None
66821
+ self._UpdateTime = None
66822
+ self._ExpiredTime = None
66331
66823
 
66332
66824
  @property
66333
66825
  def RoundPlayId(self):
@@ -66342,7 +66834,7 @@ Default value: Loop.
66342
66834
 
66343
66835
  @property
66344
66836
  def StartTime(self):
66345
- """The playback start time, in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
66837
+ """The playback start time, in [ISO 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
66346
66838
  :rtype: str
66347
66839
  """
66348
66840
  return self._StartTime
@@ -66423,6 +66915,39 @@ Default value: Loop.
66423
66915
  def Url(self, Url):
66424
66916
  self._Url = Url
66425
66917
 
66918
+ @property
66919
+ def CreateTime(self):
66920
+ """Creation time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
66921
+ :rtype: str
66922
+ """
66923
+ return self._CreateTime
66924
+
66925
+ @CreateTime.setter
66926
+ def CreateTime(self, CreateTime):
66927
+ self._CreateTime = CreateTime
66928
+
66929
+ @property
66930
+ def UpdateTime(self):
66931
+ """Update time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
66932
+ :rtype: str
66933
+ """
66934
+ return self._UpdateTime
66935
+
66936
+ @UpdateTime.setter
66937
+ def UpdateTime(self, UpdateTime):
66938
+ self._UpdateTime = UpdateTime
66939
+
66940
+ @property
66941
+ def ExpiredTime(self):
66942
+ """Expiration time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format). the playback of the playlist will stop after expiration. "9999-12-31t23:59:59+08:00" means never expire.
66943
+ :rtype: str
66944
+ """
66945
+ return self._ExpiredTime
66946
+
66947
+ @ExpiredTime.setter
66948
+ def ExpiredTime(self, ExpiredTime):
66949
+ self._ExpiredTime = ExpiredTime
66950
+
66426
66951
 
66427
66952
  def _deserialize(self, params):
66428
66953
  self._RoundPlayId = params.get("RoundPlayId")
@@ -66438,6 +66963,9 @@ Default value: Loop.
66438
66963
  self._Status = params.get("Status")
66439
66964
  self._PlayBackMode = params.get("PlayBackMode")
66440
66965
  self._Url = params.get("Url")
66966
+ self._CreateTime = params.get("CreateTime")
66967
+ self._UpdateTime = params.get("UpdateTime")
66968
+ self._ExpiredTime = params.get("ExpiredTime")
66441
66969
  memeber_set = set(params.keys())
66442
66970
  for name, value in vars(self).items():
66443
66971
  property_name = name[1:]
@@ -66449,7 +66977,7 @@ Default value: Loop.
66449
66977
 
66450
66978
 
66451
66979
  class RoundPlayListItemInfo(AbstractModel):
66452
- """Carousel media file information
66980
+ """Carousel program information
66453
66981
 
66454
66982
  """
66455
66983
 
@@ -66462,11 +66990,14 @@ class RoundPlayListItemInfo(AbstractModel):
66462
66990
  <li>`Original`: The original file.</li>
66463
66991
  The file must be in HLS format.
66464
66992
  :type AudioVideoType: str
66465
- :param _Definition: The transcoding template used to generate the transcoding output played. This parameter is required if `AudioVideoType` is `Transcode`.
66993
+ :param _ItemId: ID of the program to be played, assigned by the system.
66994
+ :type ItemId: str
66995
+ :param _Definition: The transcoding template to be played is specified. this parameter is required if `audiovideotype` is `transcode`.
66466
66996
  :type Definition: int
66467
66997
  """
66468
66998
  self._FileId = None
66469
66999
  self._AudioVideoType = None
67000
+ self._ItemId = None
66470
67001
  self._Definition = None
66471
67002
 
66472
67003
  @property
@@ -66494,9 +67025,20 @@ The file must be in HLS format.
66494
67025
  def AudioVideoType(self, AudioVideoType):
66495
67026
  self._AudioVideoType = AudioVideoType
66496
67027
 
67028
+ @property
67029
+ def ItemId(self):
67030
+ """ID of the program to be played, assigned by the system.
67031
+ :rtype: str
67032
+ """
67033
+ return self._ItemId
67034
+
67035
+ @ItemId.setter
67036
+ def ItemId(self, ItemId):
67037
+ self._ItemId = ItemId
67038
+
66497
67039
  @property
66498
67040
  def Definition(self):
66499
- """The transcoding template used to generate the transcoding output played. This parameter is required if `AudioVideoType` is `Transcode`.
67041
+ """The transcoding template to be played is specified. this parameter is required if `audiovideotype` is `transcode`.
66500
67042
  :rtype: int
66501
67043
  """
66502
67044
  return self._Definition
@@ -66509,6 +67051,7 @@ The file must be in HLS format.
66509
67051
  def _deserialize(self, params):
66510
67052
  self._FileId = params.get("FileId")
66511
67053
  self._AudioVideoType = params.get("AudioVideoType")
67054
+ self._ItemId = params.get("ItemId")
66512
67055
  self._Definition = params.get("Definition")
66513
67056
  memeber_set = set(params.keys())
66514
67057
  for name, value in vars(self).items():
@@ -1741,6 +1741,29 @@ class VodClient(AbstractClient):
1741
1741
  raise TencentCloudSDKException(type(e).__name__, str(e))
1742
1742
 
1743
1743
 
1744
+ def DescribeCurrentPlaylist(self, request):
1745
+ """Query current playlist of the round play.
1746
+
1747
+ :param request: Request instance for DescribeCurrentPlaylist.
1748
+ :type request: :class:`tencentcloud.vod.v20180717.models.DescribeCurrentPlaylistRequest`
1749
+ :rtype: :class:`tencentcloud.vod.v20180717.models.DescribeCurrentPlaylistResponse`
1750
+
1751
+ """
1752
+ try:
1753
+ params = request._serialize()
1754
+ headers = request.headers
1755
+ body = self.call("DescribeCurrentPlaylist", params, headers=headers)
1756
+ response = json.loads(body)
1757
+ model = models.DescribeCurrentPlaylistResponse()
1758
+ model._deserialize(response["Response"])
1759
+ return model
1760
+ except Exception as e:
1761
+ if isinstance(e, TencentCloudSDKException):
1762
+ raise
1763
+ else:
1764
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1765
+
1766
+
1744
1767
  def DescribeDailyPlayStatFileList(self, request):
1745
1768
  """This API is used to query the download links of playback statistics files.
1746
1769
  * You can query the download links of playback statistics files in the past year. The start and end dates for query cannot be more than 90 days apart.
@@ -2768,6 +2791,29 @@ class VodClient(AbstractClient):
2768
2791
  raise TencentCloudSDKException(type(e).__name__, str(e))
2769
2792
 
2770
2793
 
2794
+ def HandleCurrentPlaylist(self, request):
2795
+ """Operate the current play list . Supported operations include:<li> Insert: Insert a playing program into the current playlist.</li><li> Delete: Remove a playing program from the playlist.</li>
2796
+
2797
+ :param request: Request instance for HandleCurrentPlaylist.
2798
+ :type request: :class:`tencentcloud.vod.v20180717.models.HandleCurrentPlaylistRequest`
2799
+ :rtype: :class:`tencentcloud.vod.v20180717.models.HandleCurrentPlaylistResponse`
2800
+
2801
+ """
2802
+ try:
2803
+ params = request._serialize()
2804
+ headers = request.headers
2805
+ body = self.call("HandleCurrentPlaylist", params, headers=headers)
2806
+ response = json.loads(body)
2807
+ model = models.HandleCurrentPlaylistResponse()
2808
+ model._deserialize(response["Response"])
2809
+ return model
2810
+ except Exception as e:
2811
+ if isinstance(e, TencentCloudSDKException):
2812
+ raise
2813
+ else:
2814
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2815
+
2816
+
2771
2817
  def InspectMediaQuality(self, request):
2772
2818
  """Initiate media quality inspection task.
2773
2819
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1135
3
+ Version: 3.0.1136
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=nfNOaYVq1VctRKbJz9bFLNt2CEi41lixfZ3ltAWhvTo,630
1
+ tencentcloud/__init__.py,sha256=8_xlc20cZNQTdyNvnlMnP-r_7TPsgdtt2Tt8fNuhoXU,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
@@ -596,9 +596,9 @@ tencentcloud/vm/v20210922/models.py,sha256=s90vwtjOCmOk3Ha-DoIyxhhkBXYxXP7bHvPss
596
596
  tencentcloud/vm/v20210922/vm_client.py,sha256=2UIsX6GMf-PgGico7p4AKu7zBKXY-hyyhVSK82GKjsU,4797
597
597
  tencentcloud/vod/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
598
598
  tencentcloud/vod/v20180717/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
599
- tencentcloud/vod/v20180717/errorcodes.py,sha256=3P_KCtKz8lsSy2gz2FPlL4GTprTK2moTMNdZ_MfMRss,27070
600
- tencentcloud/vod/v20180717/models.py,sha256=4eXN-ENOMo6WUatIvSEq99WYvuVHCOVXfV1LRMHFca0,2908933
601
- tencentcloud/vod/v20180717/vod_client.py,sha256=mtpzExtuXHGeiVPeKH7MJ8leX6VuCdehLoXqxfM1ihw,199270
599
+ tencentcloud/vod/v20180717/errorcodes.py,sha256=vSZ67zYtMj9h7b1mnSRqV6N2cUeNsV5JNG3Jh4sDsrk,27916
600
+ tencentcloud/vod/v20180717/models.py,sha256=x4WWNF0vioqG5cTaZ8XIQ0hbyoYd3D-i00zR6SDiJh0,2931223
601
+ tencentcloud/vod/v20180717/vod_client.py,sha256=NokZUFsEwKuxUfTlm408Tt2vtp9L3H-5HjP0NHbd4TI,201264
602
602
  tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
603
603
  tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
604
604
  tencentcloud/vpc/v20170312/errorcodes.py,sha256=xeuMXL6AUgTc-ghFHSokyDyEH5hFwlSyTxE6Bihdlc0,46794
@@ -619,7 +619,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
619
619
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
620
620
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
621
621
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
622
- tencentcloud_sdk_python_intl_en-3.0.1135.dist-info/METADATA,sha256=DqARCoW4ZG6uDtAGzS7HtaqmTyOgYEk-T5_DDE4FiEM,1628
623
- tencentcloud_sdk_python_intl_en-3.0.1135.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
624
- tencentcloud_sdk_python_intl_en-3.0.1135.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
625
- tencentcloud_sdk_python_intl_en-3.0.1135.dist-info/RECORD,,
622
+ tencentcloud_sdk_python_intl_en-3.0.1136.dist-info/METADATA,sha256=ASKmvriktll7vkdsM8P2d6dx-VuF-ipPwHxWzr7eiZE,1628
623
+ tencentcloud_sdk_python_intl_en-3.0.1136.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
624
+ tencentcloud_sdk_python_intl_en-3.0.1136.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
625
+ tencentcloud_sdk_python_intl_en-3.0.1136.dist-info/RECORD,,