tencentcloud-sdk-python 3.0.1431__py2.py3-none-any.whl → 3.0.1433__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 might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cbs/v20170312/models.py +15 -0
- tencentcloud/cdwdoris/v20211228/models.py +15 -0
- tencentcloud/clb/v20180317/models.py +45 -0
- tencentcloud/ecdn/v20191012/ecdn_client.py +0 -54
- tencentcloud/ecdn/v20191012/errorcodes.py +0 -21
- tencentcloud/ecdn/v20191012/models.py +0 -394
- tencentcloud/ess/v20201111/models.py +42 -0
- tencentcloud/essbasic/v20210526/models.py +58 -22
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/models.py +8 -16
- tencentcloud/live/v20180801/models.py +2 -6
- tencentcloud/lke/v20231130/models.py +34 -4
- tencentcloud/mps/v20190612/models.py +836 -59
- tencentcloud/mps/v20190612/mps_client.py +5 -5
- tencentcloud/ocr/v20181119/models.py +50 -0
- tencentcloud/postgres/v20170312/models.py +80 -78
- tencentcloud/ssl/v20191205/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +1 -1
- tencentcloud/vod/v20180717/models.py +491 -2
- tencentcloud/vod/v20180717/vod_client.py +30 -0
- tencentcloud/wedata/v20210820/models.py +1524 -2
- tencentcloud/wedata/v20210820/wedata_client.py +184 -0
- tencentcloud/wsa/v20250508/wsa_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1433.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1433.dist-info}/RECORD +29 -29
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1433.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1433.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1433.dist-info}/top_level.txt +0 -0
|
@@ -493,6 +493,7 @@ class Activity(AbstractModel):
|
|
|
493
493
|
<li>action-adaptive-substream:自适应码流</li>
|
|
494
494
|
<li>action-AIQualityControl:媒体质检</li>
|
|
495
495
|
<li>action-SmartSubtitles:智能字幕</li>
|
|
496
|
+
<li>action-exec-rules:判断规则</li>
|
|
496
497
|
|
|
497
498
|
|
|
498
499
|
|
|
@@ -523,6 +524,7 @@ class Activity(AbstractModel):
|
|
|
523
524
|
<li>action-adaptive-substream:自适应码流</li>
|
|
524
525
|
<li>action-AIQualityControl:媒体质检</li>
|
|
525
526
|
<li>action-SmartSubtitles:智能字幕</li>
|
|
527
|
+
<li>action-exec-rules:判断规则</li>
|
|
526
528
|
|
|
527
529
|
|
|
528
530
|
|
|
@@ -611,6 +613,9 @@ class ActivityPara(AbstractModel):
|
|
|
611
613
|
:param _QualityControlTask: 媒体质检任务
|
|
612
614
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
613
615
|
:type QualityControlTask: :class:`tencentcloud.mps.v20190612.models.AiQualityControlTaskInput`
|
|
616
|
+
:param _ExecRulesTask: 任务条件判断
|
|
617
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
618
|
+
:type ExecRulesTask: :class:`tencentcloud.mps.v20190612.models.ExecRulesTask`
|
|
614
619
|
:param _SmartSubtitlesTask: 智能字幕任务
|
|
615
620
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
616
621
|
:type SmartSubtitlesTask: :class:`tencentcloud.mps.v20190612.models.SmartSubtitlesTaskInput`
|
|
@@ -625,6 +630,7 @@ class ActivityPara(AbstractModel):
|
|
|
625
630
|
self._AiAnalysisTask = None
|
|
626
631
|
self._AiRecognitionTask = None
|
|
627
632
|
self._QualityControlTask = None
|
|
633
|
+
self._ExecRulesTask = None
|
|
628
634
|
self._SmartSubtitlesTask = None
|
|
629
635
|
|
|
630
636
|
@property
|
|
@@ -747,6 +753,18 @@ class ActivityPara(AbstractModel):
|
|
|
747
753
|
def QualityControlTask(self, QualityControlTask):
|
|
748
754
|
self._QualityControlTask = QualityControlTask
|
|
749
755
|
|
|
756
|
+
@property
|
|
757
|
+
def ExecRulesTask(self):
|
|
758
|
+
"""任务条件判断
|
|
759
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
760
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ExecRulesTask`
|
|
761
|
+
"""
|
|
762
|
+
return self._ExecRulesTask
|
|
763
|
+
|
|
764
|
+
@ExecRulesTask.setter
|
|
765
|
+
def ExecRulesTask(self, ExecRulesTask):
|
|
766
|
+
self._ExecRulesTask = ExecRulesTask
|
|
767
|
+
|
|
750
768
|
@property
|
|
751
769
|
def SmartSubtitlesTask(self):
|
|
752
770
|
"""智能字幕任务
|
|
@@ -791,6 +809,9 @@ class ActivityPara(AbstractModel):
|
|
|
791
809
|
if params.get("QualityControlTask") is not None:
|
|
792
810
|
self._QualityControlTask = AiQualityControlTaskInput()
|
|
793
811
|
self._QualityControlTask._deserialize(params.get("QualityControlTask"))
|
|
812
|
+
if params.get("ExecRulesTask") is not None:
|
|
813
|
+
self._ExecRulesTask = ExecRulesTask()
|
|
814
|
+
self._ExecRulesTask._deserialize(params.get("ExecRulesTask"))
|
|
794
815
|
if params.get("SmartSubtitlesTask") is not None:
|
|
795
816
|
self._SmartSubtitlesTask = SmartSubtitlesTaskInput()
|
|
796
817
|
self._SmartSubtitlesTask._deserialize(params.get("SmartSubtitlesTask"))
|
|
@@ -841,6 +862,9 @@ class ActivityResItem(AbstractModel):
|
|
|
841
862
|
:param _QualityControlTask: 媒体质检任务输出
|
|
842
863
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
843
864
|
:type QualityControlTask: :class:`tencentcloud.mps.v20190612.models.ScheduleQualityControlTaskResult`
|
|
865
|
+
:param _ExecRuleTask: 条件判断任务输出
|
|
866
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
867
|
+
:type ExecRuleTask: :class:`tencentcloud.mps.v20190612.models.ScheduleExecRuleTaskResult`
|
|
844
868
|
:param _SmartSubtitlesTask: 智能字幕任务输出
|
|
845
869
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
846
870
|
:type SmartSubtitlesTask: :class:`tencentcloud.mps.v20190612.models.ScheduleSmartSubtitleTaskResult`
|
|
@@ -855,6 +879,7 @@ class ActivityResItem(AbstractModel):
|
|
|
855
879
|
self._ReviewTask = None
|
|
856
880
|
self._AnalysisTask = None
|
|
857
881
|
self._QualityControlTask = None
|
|
882
|
+
self._ExecRuleTask = None
|
|
858
883
|
self._SmartSubtitlesTask = None
|
|
859
884
|
|
|
860
885
|
@property
|
|
@@ -977,6 +1002,18 @@ class ActivityResItem(AbstractModel):
|
|
|
977
1002
|
def QualityControlTask(self, QualityControlTask):
|
|
978
1003
|
self._QualityControlTask = QualityControlTask
|
|
979
1004
|
|
|
1005
|
+
@property
|
|
1006
|
+
def ExecRuleTask(self):
|
|
1007
|
+
"""条件判断任务输出
|
|
1008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1009
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ScheduleExecRuleTaskResult`
|
|
1010
|
+
"""
|
|
1011
|
+
return self._ExecRuleTask
|
|
1012
|
+
|
|
1013
|
+
@ExecRuleTask.setter
|
|
1014
|
+
def ExecRuleTask(self, ExecRuleTask):
|
|
1015
|
+
self._ExecRuleTask = ExecRuleTask
|
|
1016
|
+
|
|
980
1017
|
@property
|
|
981
1018
|
def SmartSubtitlesTask(self):
|
|
982
1019
|
"""智能字幕任务输出
|
|
@@ -1021,6 +1058,9 @@ class ActivityResItem(AbstractModel):
|
|
|
1021
1058
|
if params.get("QualityControlTask") is not None:
|
|
1022
1059
|
self._QualityControlTask = ScheduleQualityControlTaskResult()
|
|
1023
1060
|
self._QualityControlTask._deserialize(params.get("QualityControlTask"))
|
|
1061
|
+
if params.get("ExecRuleTask") is not None:
|
|
1062
|
+
self._ExecRuleTask = ScheduleExecRuleTaskResult()
|
|
1063
|
+
self._ExecRuleTask._deserialize(params.get("ExecRuleTask"))
|
|
1024
1064
|
if params.get("SmartSubtitlesTask") is not None:
|
|
1025
1065
|
self._SmartSubtitlesTask = ScheduleSmartSubtitleTaskResult()
|
|
1026
1066
|
self._SmartSubtitlesTask._deserialize(params.get("SmartSubtitlesTask"))
|
|
@@ -1231,6 +1271,8 @@ PureAudio:纯音频类型
|
|
|
1231
1271
|
:param _SubtitleTemplate: 字幕参数
|
|
1232
1272
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1233
1273
|
:type SubtitleTemplate: :class:`tencentcloud.mps.v20190612.models.SubtitleTemplate`
|
|
1274
|
+
:param _StdExtInfo: 转码参数扩展字段
|
|
1275
|
+
:type StdExtInfo: str
|
|
1234
1276
|
"""
|
|
1235
1277
|
self._Definition = None
|
|
1236
1278
|
self._WatermarkSet = None
|
|
@@ -1242,6 +1284,7 @@ PureAudio:纯音频类型
|
|
|
1242
1284
|
self._DrmInfo = None
|
|
1243
1285
|
self._DefinitionType = None
|
|
1244
1286
|
self._SubtitleTemplate = None
|
|
1287
|
+
self._StdExtInfo = None
|
|
1245
1288
|
|
|
1246
1289
|
@property
|
|
1247
1290
|
def Definition(self):
|
|
@@ -1365,6 +1408,17 @@ PureAudio:纯音频类型
|
|
|
1365
1408
|
def SubtitleTemplate(self, SubtitleTemplate):
|
|
1366
1409
|
self._SubtitleTemplate = SubtitleTemplate
|
|
1367
1410
|
|
|
1411
|
+
@property
|
|
1412
|
+
def StdExtInfo(self):
|
|
1413
|
+
"""转码参数扩展字段
|
|
1414
|
+
:rtype: str
|
|
1415
|
+
"""
|
|
1416
|
+
return self._StdExtInfo
|
|
1417
|
+
|
|
1418
|
+
@StdExtInfo.setter
|
|
1419
|
+
def StdExtInfo(self, StdExtInfo):
|
|
1420
|
+
self._StdExtInfo = StdExtInfo
|
|
1421
|
+
|
|
1368
1422
|
|
|
1369
1423
|
def _deserialize(self, params):
|
|
1370
1424
|
self._Definition = params.get("Definition")
|
|
@@ -1393,6 +1447,7 @@ PureAudio:纯音频类型
|
|
|
1393
1447
|
if params.get("SubtitleTemplate") is not None:
|
|
1394
1448
|
self._SubtitleTemplate = SubtitleTemplate()
|
|
1395
1449
|
self._SubtitleTemplate._deserialize(params.get("SubtitleTemplate"))
|
|
1450
|
+
self._StdExtInfo = params.get("StdExtInfo")
|
|
1396
1451
|
memeber_set = set(params.keys())
|
|
1397
1452
|
for name, value in vars(self).items():
|
|
1398
1453
|
property_name = name[1:]
|
|
@@ -2605,11 +2660,15 @@ class AiAnalysisTaskDelLogoOutput(AbstractModel):
|
|
|
2605
2660
|
:type OriginSubtitlePath: str
|
|
2606
2661
|
:param _TranslateSubtitlePath: 基于画面提取的字幕翻译文件路径。
|
|
2607
2662
|
:type TranslateSubtitlePath: str
|
|
2663
|
+
:param _SubtitlePos: 擦除的字幕位置。**注意**:仅对字幕提取且开启返回字幕位置时有效。
|
|
2664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2665
|
+
:type SubtitlePos: :class:`tencentcloud.mps.v20190612.models.SubtitlePosition`
|
|
2608
2666
|
"""
|
|
2609
2667
|
self._Path = None
|
|
2610
2668
|
self._OutputStorage = None
|
|
2611
2669
|
self._OriginSubtitlePath = None
|
|
2612
2670
|
self._TranslateSubtitlePath = None
|
|
2671
|
+
self._SubtitlePos = None
|
|
2613
2672
|
|
|
2614
2673
|
@property
|
|
2615
2674
|
def Path(self):
|
|
@@ -2655,6 +2714,18 @@ class AiAnalysisTaskDelLogoOutput(AbstractModel):
|
|
|
2655
2714
|
def TranslateSubtitlePath(self, TranslateSubtitlePath):
|
|
2656
2715
|
self._TranslateSubtitlePath = TranslateSubtitlePath
|
|
2657
2716
|
|
|
2717
|
+
@property
|
|
2718
|
+
def SubtitlePos(self):
|
|
2719
|
+
"""擦除的字幕位置。**注意**:仅对字幕提取且开启返回字幕位置时有效。
|
|
2720
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2721
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SubtitlePosition`
|
|
2722
|
+
"""
|
|
2723
|
+
return self._SubtitlePos
|
|
2724
|
+
|
|
2725
|
+
@SubtitlePos.setter
|
|
2726
|
+
def SubtitlePos(self, SubtitlePos):
|
|
2727
|
+
self._SubtitlePos = SubtitlePos
|
|
2728
|
+
|
|
2658
2729
|
|
|
2659
2730
|
def _deserialize(self, params):
|
|
2660
2731
|
self._Path = params.get("Path")
|
|
@@ -2663,6 +2734,9 @@ class AiAnalysisTaskDelLogoOutput(AbstractModel):
|
|
|
2663
2734
|
self._OutputStorage._deserialize(params.get("OutputStorage"))
|
|
2664
2735
|
self._OriginSubtitlePath = params.get("OriginSubtitlePath")
|
|
2665
2736
|
self._TranslateSubtitlePath = params.get("TranslateSubtitlePath")
|
|
2737
|
+
if params.get("SubtitlePos") is not None:
|
|
2738
|
+
self._SubtitlePos = SubtitlePosition()
|
|
2739
|
+
self._SubtitlePos._deserialize(params.get("SubtitlePos"))
|
|
2666
2740
|
memeber_set = set(params.keys())
|
|
2667
2741
|
for name, value in vars(self).items():
|
|
2668
2742
|
property_name = name[1:]
|
|
@@ -17266,6 +17340,8 @@ class CreateInput(AbstractModel):
|
|
|
17266
17340
|
:type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputRISTSettings`
|
|
17267
17341
|
:param _InputRegion: 输入节点的地区
|
|
17268
17342
|
:type InputRegion: str
|
|
17343
|
+
:param _FailOverOption: 冷热备相关
|
|
17344
|
+
:type FailOverOption: :class:`tencentcloud.mps.v20190612.models.FailOverOption`
|
|
17269
17345
|
"""
|
|
17270
17346
|
self._InputName = None
|
|
17271
17347
|
self._Protocol = None
|
|
@@ -17282,6 +17358,7 @@ class CreateInput(AbstractModel):
|
|
|
17282
17358
|
self._Zones = None
|
|
17283
17359
|
self._RISTSettings = None
|
|
17284
17360
|
self._InputRegion = None
|
|
17361
|
+
self._FailOverOption = None
|
|
17285
17362
|
|
|
17286
17363
|
@property
|
|
17287
17364
|
def InputName(self):
|
|
@@ -17448,6 +17525,17 @@ class CreateInput(AbstractModel):
|
|
|
17448
17525
|
def InputRegion(self, InputRegion):
|
|
17449
17526
|
self._InputRegion = InputRegion
|
|
17450
17527
|
|
|
17528
|
+
@property
|
|
17529
|
+
def FailOverOption(self):
|
|
17530
|
+
"""冷热备相关
|
|
17531
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.FailOverOption`
|
|
17532
|
+
"""
|
|
17533
|
+
return self._FailOverOption
|
|
17534
|
+
|
|
17535
|
+
@FailOverOption.setter
|
|
17536
|
+
def FailOverOption(self, FailOverOption):
|
|
17537
|
+
self._FailOverOption = FailOverOption
|
|
17538
|
+
|
|
17451
17539
|
|
|
17452
17540
|
def _deserialize(self, params):
|
|
17453
17541
|
self._InputName = params.get("InputName")
|
|
@@ -17479,6 +17567,9 @@ class CreateInput(AbstractModel):
|
|
|
17479
17567
|
self._RISTSettings = CreateInputRISTSettings()
|
|
17480
17568
|
self._RISTSettings._deserialize(params.get("RISTSettings"))
|
|
17481
17569
|
self._InputRegion = params.get("InputRegion")
|
|
17570
|
+
if params.get("FailOverOption") is not None:
|
|
17571
|
+
self._FailOverOption = FailOverOption()
|
|
17572
|
+
self._FailOverOption._deserialize(params.get("FailOverOption"))
|
|
17482
17573
|
memeber_set = set(params.keys())
|
|
17483
17574
|
for name, value in vars(self).items():
|
|
17484
17575
|
property_name = name[1:]
|
|
@@ -19198,11 +19289,14 @@ class CreateQualityControlTemplateRequest(AbstractModel):
|
|
|
19198
19289
|
:param _RecordFormat: 录制文件格式。可选值:
|
|
19199
19290
|
<li>PNG: PNG图片</li>
|
|
19200
19291
|
:type RecordFormat: str
|
|
19292
|
+
:param _Strategy: 媒体质检抽检策略。
|
|
19293
|
+
:type Strategy: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
|
|
19201
19294
|
"""
|
|
19202
19295
|
self._Name = None
|
|
19203
19296
|
self._QualityControlItemSet = None
|
|
19204
19297
|
self._Comment = None
|
|
19205
19298
|
self._RecordFormat = None
|
|
19299
|
+
self._Strategy = None
|
|
19206
19300
|
|
|
19207
19301
|
@property
|
|
19208
19302
|
def Name(self):
|
|
@@ -19249,6 +19343,17 @@ class CreateQualityControlTemplateRequest(AbstractModel):
|
|
|
19249
19343
|
def RecordFormat(self, RecordFormat):
|
|
19250
19344
|
self._RecordFormat = RecordFormat
|
|
19251
19345
|
|
|
19346
|
+
@property
|
|
19347
|
+
def Strategy(self):
|
|
19348
|
+
"""媒体质检抽检策略。
|
|
19349
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
|
|
19350
|
+
"""
|
|
19351
|
+
return self._Strategy
|
|
19352
|
+
|
|
19353
|
+
@Strategy.setter
|
|
19354
|
+
def Strategy(self, Strategy):
|
|
19355
|
+
self._Strategy = Strategy
|
|
19356
|
+
|
|
19252
19357
|
|
|
19253
19358
|
def _deserialize(self, params):
|
|
19254
19359
|
self._Name = params.get("Name")
|
|
@@ -19260,6 +19365,9 @@ class CreateQualityControlTemplateRequest(AbstractModel):
|
|
|
19260
19365
|
self._QualityControlItemSet.append(obj)
|
|
19261
19366
|
self._Comment = params.get("Comment")
|
|
19262
19367
|
self._RecordFormat = params.get("RecordFormat")
|
|
19368
|
+
if params.get("Strategy") is not None:
|
|
19369
|
+
self._Strategy = QualityControlStrategy()
|
|
19370
|
+
self._Strategy._deserialize(params.get("Strategy"))
|
|
19263
19371
|
memeber_set = set(params.keys())
|
|
19264
19372
|
for name, value in vars(self).items():
|
|
19265
19373
|
property_name = name[1:]
|
|
@@ -28148,7 +28256,6 @@ class DescribeQualityControlTemplatesResponse(AbstractModel):
|
|
|
28148
28256
|
:param _TotalCount: 符合过滤条件的记录总数。
|
|
28149
28257
|
:type TotalCount: int
|
|
28150
28258
|
:param _QualityControlTemplateSet: 媒体质检模板详情列表。
|
|
28151
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
28152
28259
|
:type QualityControlTemplateSet: list of QualityControlTemplate
|
|
28153
28260
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28154
28261
|
:type RequestId: str
|
|
@@ -28171,7 +28278,6 @@ class DescribeQualityControlTemplatesResponse(AbstractModel):
|
|
|
28171
28278
|
@property
|
|
28172
28279
|
def QualityControlTemplateSet(self):
|
|
28173
28280
|
"""媒体质检模板详情列表。
|
|
28174
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
28175
28281
|
:rtype: list of QualityControlTemplate
|
|
28176
28282
|
"""
|
|
28177
28283
|
return self._QualityControlTemplateSet
|
|
@@ -31012,10 +31118,16 @@ class DescribeTasksRequest(AbstractModel):
|
|
|
31012
31118
|
:type Limit: int
|
|
31013
31119
|
:param _ScrollToken: 翻页标识,分批拉取时使用:当单次请求无法拉取所有数据,接口将会返回 ScrollToken,下一次请求携带该 Token,将会从下一条记录开始获取。
|
|
31014
31120
|
:type ScrollToken: str
|
|
31121
|
+
:param _StartTime: 查询任务开始时间
|
|
31122
|
+
:type StartTime: str
|
|
31123
|
+
:param _EndTime: 查询任务结束时间。
|
|
31124
|
+
:type EndTime: str
|
|
31015
31125
|
"""
|
|
31016
31126
|
self._Status = None
|
|
31017
31127
|
self._Limit = None
|
|
31018
31128
|
self._ScrollToken = None
|
|
31129
|
+
self._StartTime = None
|
|
31130
|
+
self._EndTime = None
|
|
31019
31131
|
|
|
31020
31132
|
@property
|
|
31021
31133
|
def Status(self):
|
|
@@ -31050,11 +31162,35 @@ class DescribeTasksRequest(AbstractModel):
|
|
|
31050
31162
|
def ScrollToken(self, ScrollToken):
|
|
31051
31163
|
self._ScrollToken = ScrollToken
|
|
31052
31164
|
|
|
31165
|
+
@property
|
|
31166
|
+
def StartTime(self):
|
|
31167
|
+
"""查询任务开始时间
|
|
31168
|
+
:rtype: str
|
|
31169
|
+
"""
|
|
31170
|
+
return self._StartTime
|
|
31171
|
+
|
|
31172
|
+
@StartTime.setter
|
|
31173
|
+
def StartTime(self, StartTime):
|
|
31174
|
+
self._StartTime = StartTime
|
|
31175
|
+
|
|
31176
|
+
@property
|
|
31177
|
+
def EndTime(self):
|
|
31178
|
+
"""查询任务结束时间。
|
|
31179
|
+
:rtype: str
|
|
31180
|
+
"""
|
|
31181
|
+
return self._EndTime
|
|
31182
|
+
|
|
31183
|
+
@EndTime.setter
|
|
31184
|
+
def EndTime(self, EndTime):
|
|
31185
|
+
self._EndTime = EndTime
|
|
31186
|
+
|
|
31053
31187
|
|
|
31054
31188
|
def _deserialize(self, params):
|
|
31055
31189
|
self._Status = params.get("Status")
|
|
31056
31190
|
self._Limit = params.get("Limit")
|
|
31057
31191
|
self._ScrollToken = params.get("ScrollToken")
|
|
31192
|
+
self._StartTime = params.get("StartTime")
|
|
31193
|
+
self._EndTime = params.get("EndTime")
|
|
31058
31194
|
memeber_set = set(params.keys())
|
|
31059
31195
|
for name, value in vars(self).items():
|
|
31060
31196
|
property_name = name[1:]
|
|
@@ -33855,6 +33991,85 @@ class EvaluationTemplateInputInfo(AbstractModel):
|
|
|
33855
33991
|
|
|
33856
33992
|
|
|
33857
33993
|
|
|
33994
|
+
class ExecRuleTaskData(AbstractModel):
|
|
33995
|
+
"""条件判断输出
|
|
33996
|
+
|
|
33997
|
+
"""
|
|
33998
|
+
|
|
33999
|
+
def __init__(self):
|
|
34000
|
+
r"""
|
|
34001
|
+
:param _RearDriveIndex: 质检条件判断需要执行的节点索引。
|
|
34002
|
+
:type RearDriveIndex: list of int
|
|
34003
|
+
"""
|
|
34004
|
+
self._RearDriveIndex = None
|
|
34005
|
+
|
|
34006
|
+
@property
|
|
34007
|
+
def RearDriveIndex(self):
|
|
34008
|
+
"""质检条件判断需要执行的节点索引。
|
|
34009
|
+
:rtype: list of int
|
|
34010
|
+
"""
|
|
34011
|
+
return self._RearDriveIndex
|
|
34012
|
+
|
|
34013
|
+
@RearDriveIndex.setter
|
|
34014
|
+
def RearDriveIndex(self, RearDriveIndex):
|
|
34015
|
+
self._RearDriveIndex = RearDriveIndex
|
|
34016
|
+
|
|
34017
|
+
|
|
34018
|
+
def _deserialize(self, params):
|
|
34019
|
+
self._RearDriveIndex = params.get("RearDriveIndex")
|
|
34020
|
+
memeber_set = set(params.keys())
|
|
34021
|
+
for name, value in vars(self).items():
|
|
34022
|
+
property_name = name[1:]
|
|
34023
|
+
if property_name in memeber_set:
|
|
34024
|
+
memeber_set.remove(property_name)
|
|
34025
|
+
if len(memeber_set) > 0:
|
|
34026
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34027
|
+
|
|
34028
|
+
|
|
34029
|
+
|
|
34030
|
+
class ExecRulesTask(AbstractModel):
|
|
34031
|
+
"""任务判断条件
|
|
34032
|
+
|
|
34033
|
+
"""
|
|
34034
|
+
|
|
34035
|
+
def __init__(self):
|
|
34036
|
+
r"""
|
|
34037
|
+
:param _Rules: 条件判断信息
|
|
34038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
34039
|
+
:type Rules: list of Rules
|
|
34040
|
+
"""
|
|
34041
|
+
self._Rules = None
|
|
34042
|
+
|
|
34043
|
+
@property
|
|
34044
|
+
def Rules(self):
|
|
34045
|
+
"""条件判断信息
|
|
34046
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
34047
|
+
:rtype: list of Rules
|
|
34048
|
+
"""
|
|
34049
|
+
return self._Rules
|
|
34050
|
+
|
|
34051
|
+
@Rules.setter
|
|
34052
|
+
def Rules(self, Rules):
|
|
34053
|
+
self._Rules = Rules
|
|
34054
|
+
|
|
34055
|
+
|
|
34056
|
+
def _deserialize(self, params):
|
|
34057
|
+
if params.get("Rules") is not None:
|
|
34058
|
+
self._Rules = []
|
|
34059
|
+
for item in params.get("Rules"):
|
|
34060
|
+
obj = Rules()
|
|
34061
|
+
obj._deserialize(item)
|
|
34062
|
+
self._Rules.append(obj)
|
|
34063
|
+
memeber_set = set(params.keys())
|
|
34064
|
+
for name, value in vars(self).items():
|
|
34065
|
+
property_name = name[1:]
|
|
34066
|
+
if property_name in memeber_set:
|
|
34067
|
+
memeber_set.remove(property_name)
|
|
34068
|
+
if len(memeber_set) > 0:
|
|
34069
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34070
|
+
|
|
34071
|
+
|
|
34072
|
+
|
|
33858
34073
|
class ExecuteFunctionRequest(AbstractModel):
|
|
33859
34074
|
"""ExecuteFunction请求参数结构体
|
|
33860
34075
|
|
|
@@ -34324,6 +34539,43 @@ class FaceEnhanceConfig(AbstractModel):
|
|
|
34324
34539
|
|
|
34325
34540
|
|
|
34326
34541
|
|
|
34542
|
+
class FailOverOption(AbstractModel):
|
|
34543
|
+
"""type FailOverOption struct
|
|
34544
|
+
{ FailOverType string json:"FailOverType" // 新增 冷/热备 COLDSTANDBY、HOTSTANDBY }
|
|
34545
|
+
|
|
34546
|
+
"""
|
|
34547
|
+
|
|
34548
|
+
def __init__(self):
|
|
34549
|
+
r"""
|
|
34550
|
+
:param _FailOverType: 热备
|
|
34551
|
+
:type FailOverType: str
|
|
34552
|
+
"""
|
|
34553
|
+
self._FailOverType = None
|
|
34554
|
+
|
|
34555
|
+
@property
|
|
34556
|
+
def FailOverType(self):
|
|
34557
|
+
"""热备
|
|
34558
|
+
:rtype: str
|
|
34559
|
+
"""
|
|
34560
|
+
return self._FailOverType
|
|
34561
|
+
|
|
34562
|
+
@FailOverType.setter
|
|
34563
|
+
def FailOverType(self, FailOverType):
|
|
34564
|
+
self._FailOverType = FailOverType
|
|
34565
|
+
|
|
34566
|
+
|
|
34567
|
+
def _deserialize(self, params):
|
|
34568
|
+
self._FailOverType = params.get("FailOverType")
|
|
34569
|
+
memeber_set = set(params.keys())
|
|
34570
|
+
for name, value in vars(self).items():
|
|
34571
|
+
property_name = name[1:]
|
|
34572
|
+
if property_name in memeber_set:
|
|
34573
|
+
memeber_set.remove(property_name)
|
|
34574
|
+
if len(memeber_set) > 0:
|
|
34575
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34576
|
+
|
|
34577
|
+
|
|
34578
|
+
|
|
34327
34579
|
class FlowAudio(AbstractModel):
|
|
34328
34580
|
"""流的音频数据。
|
|
34329
34581
|
|
|
@@ -36309,10 +36561,8 @@ class HighlightSegmentItem(AbstractModel):
|
|
|
36309
36561
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36310
36562
|
:type SegmentTags: list of str
|
|
36311
36563
|
:param _BeginTime: 直播切片对应直播起始时间点,采用 ISO 日期格式。
|
|
36312
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
36313
36564
|
:type BeginTime: str
|
|
36314
36565
|
:param _EndTime: 直播切片对应直播结束时间点,采用 ISO 日期格式。
|
|
36315
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
36316
36566
|
:type EndTime: str
|
|
36317
36567
|
"""
|
|
36318
36568
|
self._Confidence = None
|
|
@@ -36370,7 +36620,6 @@ class HighlightSegmentItem(AbstractModel):
|
|
|
36370
36620
|
@property
|
|
36371
36621
|
def BeginTime(self):
|
|
36372
36622
|
"""直播切片对应直播起始时间点,采用 ISO 日期格式。
|
|
36373
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
36374
36623
|
:rtype: str
|
|
36375
36624
|
"""
|
|
36376
36625
|
return self._BeginTime
|
|
@@ -36382,7 +36631,6 @@ class HighlightSegmentItem(AbstractModel):
|
|
|
36382
36631
|
@property
|
|
36383
36632
|
def EndTime(self):
|
|
36384
36633
|
"""直播切片对应直播结束时间点,采用 ISO 日期格式。
|
|
36385
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
36386
36634
|
:rtype: str
|
|
36387
36635
|
"""
|
|
36388
36636
|
return self._EndTime
|
|
@@ -38021,7 +38269,6 @@ class LiveActivityResult(AbstractModel):
|
|
|
38021
38269
|
:param _ActivityType: 原子任务类型。
|
|
38022
38270
|
<li>LiveRecord:直播录制。</li>
|
|
38023
38271
|
<li>AiQualityControl:媒体质检。</li>
|
|
38024
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38025
38272
|
:type ActivityType: str
|
|
38026
38273
|
:param _LiveActivityResItem: 原子任务输出。
|
|
38027
38274
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -38035,7 +38282,6 @@ class LiveActivityResult(AbstractModel):
|
|
|
38035
38282
|
"""原子任务类型。
|
|
38036
38283
|
<li>LiveRecord:直播录制。</li>
|
|
38037
38284
|
<li>AiQualityControl:媒体质检。</li>
|
|
38038
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38039
38285
|
:rtype: str
|
|
38040
38286
|
"""
|
|
38041
38287
|
return self._ActivityType
|
|
@@ -38628,21 +38874,16 @@ class LiveScheduleTask(AbstractModel):
|
|
|
38628
38874
|
def __init__(self):
|
|
38629
38875
|
r"""
|
|
38630
38876
|
:param _TaskId: 直播编排任务 ID。
|
|
38631
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38632
38877
|
:type TaskId: str
|
|
38633
38878
|
:param _Status: 任务流状态,取值:
|
|
38634
38879
|
<li>PROCESSING:处理中;</li>
|
|
38635
38880
|
<li>FINISH:已完成。</li>
|
|
38636
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38637
38881
|
:type Status: str
|
|
38638
38882
|
:param _ErrCode: 源异常时返回非0错误码,返回0 时请使用各个具体任务的 ErrCode。
|
|
38639
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38640
38883
|
:type ErrCode: int
|
|
38641
38884
|
:param _Message: 源异常时返回对应异常Message,否则请使用各个具体任务的 Message。
|
|
38642
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38643
38885
|
:type Message: str
|
|
38644
38886
|
:param _Url: 直播流 URL。
|
|
38645
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38646
38887
|
:type Url: str
|
|
38647
38888
|
:param _LiveActivityResultSet: 直播编排任务输出。
|
|
38648
38889
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -38658,7 +38899,6 @@ class LiveScheduleTask(AbstractModel):
|
|
|
38658
38899
|
@property
|
|
38659
38900
|
def TaskId(self):
|
|
38660
38901
|
"""直播编排任务 ID。
|
|
38661
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38662
38902
|
:rtype: str
|
|
38663
38903
|
"""
|
|
38664
38904
|
return self._TaskId
|
|
@@ -38672,7 +38912,6 @@ class LiveScheduleTask(AbstractModel):
|
|
|
38672
38912
|
"""任务流状态,取值:
|
|
38673
38913
|
<li>PROCESSING:处理中;</li>
|
|
38674
38914
|
<li>FINISH:已完成。</li>
|
|
38675
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38676
38915
|
:rtype: str
|
|
38677
38916
|
"""
|
|
38678
38917
|
return self._Status
|
|
@@ -38684,7 +38923,6 @@ class LiveScheduleTask(AbstractModel):
|
|
|
38684
38923
|
@property
|
|
38685
38924
|
def ErrCode(self):
|
|
38686
38925
|
"""源异常时返回非0错误码,返回0 时请使用各个具体任务的 ErrCode。
|
|
38687
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38688
38926
|
:rtype: int
|
|
38689
38927
|
"""
|
|
38690
38928
|
return self._ErrCode
|
|
@@ -38696,7 +38934,6 @@ class LiveScheduleTask(AbstractModel):
|
|
|
38696
38934
|
@property
|
|
38697
38935
|
def Message(self):
|
|
38698
38936
|
"""源异常时返回对应异常Message,否则请使用各个具体任务的 Message。
|
|
38699
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38700
38937
|
:rtype: str
|
|
38701
38938
|
"""
|
|
38702
38939
|
return self._Message
|
|
@@ -38708,7 +38945,6 @@ class LiveScheduleTask(AbstractModel):
|
|
|
38708
38945
|
@property
|
|
38709
38946
|
def Url(self):
|
|
38710
38947
|
"""直播流 URL。
|
|
38711
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38712
38948
|
:rtype: str
|
|
38713
38949
|
"""
|
|
38714
38950
|
return self._Url
|
|
@@ -41892,9 +42128,12 @@ class MediaAiAnalysisTagItem(AbstractModel):
|
|
|
41892
42128
|
:type Tag: str
|
|
41893
42129
|
:param _Confidence: 标签的可信度,取值范围是 0 到 100。
|
|
41894
42130
|
:type Confidence: float
|
|
42131
|
+
:param _SpecialInfo: 根据不同类型决定
|
|
42132
|
+
:type SpecialInfo: str
|
|
41895
42133
|
"""
|
|
41896
42134
|
self._Tag = None
|
|
41897
42135
|
self._Confidence = None
|
|
42136
|
+
self._SpecialInfo = None
|
|
41898
42137
|
|
|
41899
42138
|
@property
|
|
41900
42139
|
def Tag(self):
|
|
@@ -41918,10 +42157,22 @@ class MediaAiAnalysisTagItem(AbstractModel):
|
|
|
41918
42157
|
def Confidence(self, Confidence):
|
|
41919
42158
|
self._Confidence = Confidence
|
|
41920
42159
|
|
|
42160
|
+
@property
|
|
42161
|
+
def SpecialInfo(self):
|
|
42162
|
+
"""根据不同类型决定
|
|
42163
|
+
:rtype: str
|
|
42164
|
+
"""
|
|
42165
|
+
return self._SpecialInfo
|
|
42166
|
+
|
|
42167
|
+
@SpecialInfo.setter
|
|
42168
|
+
def SpecialInfo(self, SpecialInfo):
|
|
42169
|
+
self._SpecialInfo = SpecialInfo
|
|
42170
|
+
|
|
41921
42171
|
|
|
41922
42172
|
def _deserialize(self, params):
|
|
41923
42173
|
self._Tag = params.get("Tag")
|
|
41924
42174
|
self._Confidence = params.get("Confidence")
|
|
42175
|
+
self._SpecialInfo = params.get("SpecialInfo")
|
|
41925
42176
|
memeber_set = set(params.keys())
|
|
41926
42177
|
for name, value in vars(self).items():
|
|
41927
42178
|
property_name = name[1:]
|
|
@@ -43573,6 +43824,7 @@ class MediaProcessTaskImageSpriteResult(AbstractModel):
|
|
|
43573
43824
|
:param _Input: 对视频截雪碧图任务的输入。
|
|
43574
43825
|
:type Input: :class:`tencentcloud.mps.v20190612.models.ImageSpriteTaskInput`
|
|
43575
43826
|
:param _Output: 对视频截雪碧图任务的输出。
|
|
43827
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43576
43828
|
:type Output: :class:`tencentcloud.mps.v20190612.models.MediaImageSpriteItem`
|
|
43577
43829
|
:param _BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
43578
43830
|
:type BeginProcessTime: str
|
|
@@ -43646,6 +43898,7 @@ class MediaProcessTaskImageSpriteResult(AbstractModel):
|
|
|
43646
43898
|
@property
|
|
43647
43899
|
def Output(self):
|
|
43648
43900
|
"""对视频截雪碧图任务的输出。
|
|
43901
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43649
43902
|
:rtype: :class:`tencentcloud.mps.v20190612.models.MediaImageSpriteItem`
|
|
43650
43903
|
"""
|
|
43651
43904
|
return self._Output
|
|
@@ -44023,6 +44276,7 @@ class MediaProcessTaskSampleSnapshotResult(AbstractModel):
|
|
|
44023
44276
|
:param _Input: 对视频做采样截图任务输入。
|
|
44024
44277
|
:type Input: :class:`tencentcloud.mps.v20190612.models.SampleSnapshotTaskInput`
|
|
44025
44278
|
:param _Output: 对视频做采样截图任务输出。
|
|
44279
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
44026
44280
|
:type Output: :class:`tencentcloud.mps.v20190612.models.MediaSampleSnapshotItem`
|
|
44027
44281
|
:param _BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
44028
44282
|
:type BeginProcessTime: str
|
|
@@ -44096,6 +44350,7 @@ class MediaProcessTaskSampleSnapshotResult(AbstractModel):
|
|
|
44096
44350
|
@property
|
|
44097
44351
|
def Output(self):
|
|
44098
44352
|
"""对视频做采样截图任务输出。
|
|
44353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
44099
44354
|
:rtype: :class:`tencentcloud.mps.v20190612.models.MediaSampleSnapshotItem`
|
|
44100
44355
|
"""
|
|
44101
44356
|
return self._Output
|
|
@@ -44168,6 +44423,7 @@ class MediaProcessTaskSnapshotByTimeOffsetResult(AbstractModel):
|
|
|
44168
44423
|
:param _Input: 对视频按指定时间点截图任务输入。
|
|
44169
44424
|
:type Input: :class:`tencentcloud.mps.v20190612.models.SnapshotByTimeOffsetTaskInput`
|
|
44170
44425
|
:param _Output: 对视频按指定时间点截图任务输出。
|
|
44426
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
44171
44427
|
:type Output: :class:`tencentcloud.mps.v20190612.models.MediaSnapshotByTimeOffsetItem`
|
|
44172
44428
|
:param _BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
44173
44429
|
:type BeginProcessTime: str
|
|
@@ -44241,6 +44497,7 @@ class MediaProcessTaskSnapshotByTimeOffsetResult(AbstractModel):
|
|
|
44241
44497
|
@property
|
|
44242
44498
|
def Output(self):
|
|
44243
44499
|
"""对视频按指定时间点截图任务输出。
|
|
44500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
44244
44501
|
:rtype: :class:`tencentcloud.mps.v20190612.models.MediaSnapshotByTimeOffsetItem`
|
|
44245
44502
|
"""
|
|
44246
44503
|
return self._Output
|
|
@@ -46578,6 +46835,8 @@ class ModifyInput(AbstractModel):
|
|
|
46578
46835
|
:type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputRISTSettings`
|
|
46579
46836
|
:param _InputRegion: 输入节点的地区
|
|
46580
46837
|
:type InputRegion: str
|
|
46838
|
+
:param _FailOverOption: 冷热备相关
|
|
46839
|
+
:type FailOverOption: :class:`tencentcloud.mps.v20190612.models.FailOverOption`
|
|
46581
46840
|
"""
|
|
46582
46841
|
self._InputId = None
|
|
46583
46842
|
self._InputName = None
|
|
@@ -46595,6 +46854,7 @@ class ModifyInput(AbstractModel):
|
|
|
46595
46854
|
self._Zones = None
|
|
46596
46855
|
self._RISTSettings = None
|
|
46597
46856
|
self._InputRegion = None
|
|
46857
|
+
self._FailOverOption = None
|
|
46598
46858
|
|
|
46599
46859
|
@property
|
|
46600
46860
|
def InputId(self):
|
|
@@ -46772,6 +47032,17 @@ class ModifyInput(AbstractModel):
|
|
|
46772
47032
|
def InputRegion(self, InputRegion):
|
|
46773
47033
|
self._InputRegion = InputRegion
|
|
46774
47034
|
|
|
47035
|
+
@property
|
|
47036
|
+
def FailOverOption(self):
|
|
47037
|
+
"""冷热备相关
|
|
47038
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.FailOverOption`
|
|
47039
|
+
"""
|
|
47040
|
+
return self._FailOverOption
|
|
47041
|
+
|
|
47042
|
+
@FailOverOption.setter
|
|
47043
|
+
def FailOverOption(self, FailOverOption):
|
|
47044
|
+
self._FailOverOption = FailOverOption
|
|
47045
|
+
|
|
46775
47046
|
|
|
46776
47047
|
def _deserialize(self, params):
|
|
46777
47048
|
self._InputId = params.get("InputId")
|
|
@@ -46804,6 +47075,9 @@ class ModifyInput(AbstractModel):
|
|
|
46804
47075
|
self._RISTSettings = CreateInputRISTSettings()
|
|
46805
47076
|
self._RISTSettings._deserialize(params.get("RISTSettings"))
|
|
46806
47077
|
self._InputRegion = params.get("InputRegion")
|
|
47078
|
+
if params.get("FailOverOption") is not None:
|
|
47079
|
+
self._FailOverOption = FailOverOption()
|
|
47080
|
+
self._FailOverOption._deserialize(params.get("FailOverOption"))
|
|
46807
47081
|
memeber_set = set(params.keys())
|
|
46808
47082
|
for name, value in vars(self).items():
|
|
46809
47083
|
property_name = name[1:]
|
|
@@ -47404,12 +47678,15 @@ class ModifyQualityControlTemplateRequest(AbstractModel):
|
|
|
47404
47678
|
:param _RecordFormat: 录制文件格式。可选值:
|
|
47405
47679
|
<li>PNG: PNG图片</li>
|
|
47406
47680
|
:type RecordFormat: str
|
|
47681
|
+
:param _Strategy: 媒体质检抽检策略。
|
|
47682
|
+
:type Strategy: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
|
|
47407
47683
|
"""
|
|
47408
47684
|
self._Definition = None
|
|
47409
47685
|
self._Name = None
|
|
47410
47686
|
self._Comment = None
|
|
47411
47687
|
self._QualityControlItemSet = None
|
|
47412
47688
|
self._RecordFormat = None
|
|
47689
|
+
self._Strategy = None
|
|
47413
47690
|
|
|
47414
47691
|
@property
|
|
47415
47692
|
def Definition(self):
|
|
@@ -47467,6 +47744,17 @@ class ModifyQualityControlTemplateRequest(AbstractModel):
|
|
|
47467
47744
|
def RecordFormat(self, RecordFormat):
|
|
47468
47745
|
self._RecordFormat = RecordFormat
|
|
47469
47746
|
|
|
47747
|
+
@property
|
|
47748
|
+
def Strategy(self):
|
|
47749
|
+
"""媒体质检抽检策略。
|
|
47750
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
|
|
47751
|
+
"""
|
|
47752
|
+
return self._Strategy
|
|
47753
|
+
|
|
47754
|
+
@Strategy.setter
|
|
47755
|
+
def Strategy(self, Strategy):
|
|
47756
|
+
self._Strategy = Strategy
|
|
47757
|
+
|
|
47470
47758
|
|
|
47471
47759
|
def _deserialize(self, params):
|
|
47472
47760
|
self._Definition = params.get("Definition")
|
|
@@ -47479,6 +47767,9 @@ class ModifyQualityControlTemplateRequest(AbstractModel):
|
|
|
47479
47767
|
obj._deserialize(item)
|
|
47480
47768
|
self._QualityControlItemSet.append(obj)
|
|
47481
47769
|
self._RecordFormat = params.get("RecordFormat")
|
|
47770
|
+
if params.get("Strategy") is not None:
|
|
47771
|
+
self._Strategy = QualityControlStrategy()
|
|
47772
|
+
self._Strategy._deserialize(params.get("Strategy"))
|
|
47482
47773
|
memeber_set = set(params.keys())
|
|
47483
47774
|
for name, value in vars(self).items():
|
|
47484
47775
|
property_name = name[1:]
|
|
@@ -52436,6 +52727,8 @@ class ProcessMediaRequest(AbstractModel):
|
|
|
52436
52727
|
:type AiRecognitionTask: :class:`tencentcloud.mps.v20190612.models.AiRecognitionTaskInput`
|
|
52437
52728
|
:param _AiQualityControlTask: 媒体质检类型任务参数。
|
|
52438
52729
|
:type AiQualityControlTask: :class:`tencentcloud.mps.v20190612.models.AiQualityControlTaskInput`
|
|
52730
|
+
:param _SmartSubtitlesTask: 智能字幕
|
|
52731
|
+
:type SmartSubtitlesTask: :class:`tencentcloud.mps.v20190612.models.SmartSubtitlesTaskInput`
|
|
52439
52732
|
:param _TaskNotifyConfig: 任务的事件通知信息,不填代表不获取事件通知。
|
|
52440
52733
|
:type TaskNotifyConfig: :class:`tencentcloud.mps.v20190612.models.TaskNotifyConfig`
|
|
52441
52734
|
:param _TasksPriority: 任务流的优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。
|
|
@@ -52450,8 +52743,6 @@ class ProcessMediaRequest(AbstractModel):
|
|
|
52450
52743
|
:type TaskType: str
|
|
52451
52744
|
:param _ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
|
|
52452
52745
|
:type ResourceId: str
|
|
52453
|
-
:param _SmartSubtitlesTask: 智能字幕
|
|
52454
|
-
:type SmartSubtitlesTask: :class:`tencentcloud.mps.v20190612.models.SmartSubtitlesTaskInput`
|
|
52455
52746
|
:param _SkipMateData: 是否跳过元信息获取,可选值:
|
|
52456
52747
|
0:表示不跳过
|
|
52457
52748
|
1:表示跳过
|
|
@@ -52467,13 +52758,13 @@ class ProcessMediaRequest(AbstractModel):
|
|
|
52467
52758
|
self._AiAnalysisTask = None
|
|
52468
52759
|
self._AiRecognitionTask = None
|
|
52469
52760
|
self._AiQualityControlTask = None
|
|
52761
|
+
self._SmartSubtitlesTask = None
|
|
52470
52762
|
self._TaskNotifyConfig = None
|
|
52471
52763
|
self._TasksPriority = None
|
|
52472
52764
|
self._SessionId = None
|
|
52473
52765
|
self._SessionContext = None
|
|
52474
52766
|
self._TaskType = None
|
|
52475
52767
|
self._ResourceId = None
|
|
52476
|
-
self._SmartSubtitlesTask = None
|
|
52477
52768
|
self._SkipMateData = None
|
|
52478
52769
|
|
|
52479
52770
|
@property
|
|
@@ -52584,6 +52875,17 @@ class ProcessMediaRequest(AbstractModel):
|
|
|
52584
52875
|
def AiQualityControlTask(self, AiQualityControlTask):
|
|
52585
52876
|
self._AiQualityControlTask = AiQualityControlTask
|
|
52586
52877
|
|
|
52878
|
+
@property
|
|
52879
|
+
def SmartSubtitlesTask(self):
|
|
52880
|
+
"""智能字幕
|
|
52881
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartSubtitlesTaskInput`
|
|
52882
|
+
"""
|
|
52883
|
+
return self._SmartSubtitlesTask
|
|
52884
|
+
|
|
52885
|
+
@SmartSubtitlesTask.setter
|
|
52886
|
+
def SmartSubtitlesTask(self, SmartSubtitlesTask):
|
|
52887
|
+
self._SmartSubtitlesTask = SmartSubtitlesTask
|
|
52888
|
+
|
|
52587
52889
|
@property
|
|
52588
52890
|
def TaskNotifyConfig(self):
|
|
52589
52891
|
"""任务的事件通知信息,不填代表不获取事件通知。
|
|
@@ -52652,17 +52954,6 @@ class ProcessMediaRequest(AbstractModel):
|
|
|
52652
52954
|
def ResourceId(self, ResourceId):
|
|
52653
52955
|
self._ResourceId = ResourceId
|
|
52654
52956
|
|
|
52655
|
-
@property
|
|
52656
|
-
def SmartSubtitlesTask(self):
|
|
52657
|
-
"""智能字幕
|
|
52658
|
-
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartSubtitlesTaskInput`
|
|
52659
|
-
"""
|
|
52660
|
-
return self._SmartSubtitlesTask
|
|
52661
|
-
|
|
52662
|
-
@SmartSubtitlesTask.setter
|
|
52663
|
-
def SmartSubtitlesTask(self, SmartSubtitlesTask):
|
|
52664
|
-
self._SmartSubtitlesTask = SmartSubtitlesTask
|
|
52665
|
-
|
|
52666
52957
|
@property
|
|
52667
52958
|
def SkipMateData(self):
|
|
52668
52959
|
"""是否跳过元信息获取,可选值:
|
|
@@ -52702,6 +52993,9 @@ class ProcessMediaRequest(AbstractModel):
|
|
|
52702
52993
|
if params.get("AiQualityControlTask") is not None:
|
|
52703
52994
|
self._AiQualityControlTask = AiQualityControlTaskInput()
|
|
52704
52995
|
self._AiQualityControlTask._deserialize(params.get("AiQualityControlTask"))
|
|
52996
|
+
if params.get("SmartSubtitlesTask") is not None:
|
|
52997
|
+
self._SmartSubtitlesTask = SmartSubtitlesTaskInput()
|
|
52998
|
+
self._SmartSubtitlesTask._deserialize(params.get("SmartSubtitlesTask"))
|
|
52705
52999
|
if params.get("TaskNotifyConfig") is not None:
|
|
52706
53000
|
self._TaskNotifyConfig = TaskNotifyConfig()
|
|
52707
53001
|
self._TaskNotifyConfig._deserialize(params.get("TaskNotifyConfig"))
|
|
@@ -52710,9 +53004,6 @@ class ProcessMediaRequest(AbstractModel):
|
|
|
52710
53004
|
self._SessionContext = params.get("SessionContext")
|
|
52711
53005
|
self._TaskType = params.get("TaskType")
|
|
52712
53006
|
self._ResourceId = params.get("ResourceId")
|
|
52713
|
-
if params.get("SmartSubtitlesTask") is not None:
|
|
52714
|
-
self._SmartSubtitlesTask = SmartSubtitlesTaskInput()
|
|
52715
|
-
self._SmartSubtitlesTask._deserialize(params.get("SmartSubtitlesTask"))
|
|
52716
53007
|
self._SkipMateData = params.get("SkipMateData")
|
|
52717
53008
|
memeber_set = set(params.keys())
|
|
52718
53009
|
for name, value in vars(self).items():
|
|
@@ -53169,22 +53460,16 @@ class QualityControlData(AbstractModel):
|
|
|
53169
53460
|
def __init__(self):
|
|
53170
53461
|
r"""
|
|
53171
53462
|
:param _NoAudio: 为true时表示视频无音频轨。
|
|
53172
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53173
53463
|
:type NoAudio: bool
|
|
53174
53464
|
:param _NoVideo: 为true时表示视频无视频轨。
|
|
53175
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53176
53465
|
:type NoVideo: bool
|
|
53177
53466
|
:param _QualityEvaluationScore: 视频无参考质量评分,百分制。
|
|
53178
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53179
53467
|
:type QualityEvaluationScore: int
|
|
53180
53468
|
:param _QualityEvaluationMeanOpinionScore: 视频无参考质量评分,MOS分数。
|
|
53181
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53182
53469
|
:type QualityEvaluationMeanOpinionScore: float
|
|
53183
53470
|
:param _QualityControlResultSet: 内容质检检出异常项。
|
|
53184
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53185
53471
|
:type QualityControlResultSet: list of QualityControlResult
|
|
53186
|
-
:param _ContainerDiagnoseResultSet:
|
|
53187
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53472
|
+
:param _ContainerDiagnoseResultSet: 格式诊断检出异常项。
|
|
53188
53473
|
:type ContainerDiagnoseResultSet: list of ContainerDiagnoseResultItem
|
|
53189
53474
|
"""
|
|
53190
53475
|
self._NoAudio = None
|
|
@@ -53197,7 +53482,6 @@ class QualityControlData(AbstractModel):
|
|
|
53197
53482
|
@property
|
|
53198
53483
|
def NoAudio(self):
|
|
53199
53484
|
"""为true时表示视频无音频轨。
|
|
53200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53201
53485
|
:rtype: bool
|
|
53202
53486
|
"""
|
|
53203
53487
|
return self._NoAudio
|
|
@@ -53209,7 +53493,6 @@ class QualityControlData(AbstractModel):
|
|
|
53209
53493
|
@property
|
|
53210
53494
|
def NoVideo(self):
|
|
53211
53495
|
"""为true时表示视频无视频轨。
|
|
53212
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53213
53496
|
:rtype: bool
|
|
53214
53497
|
"""
|
|
53215
53498
|
return self._NoVideo
|
|
@@ -53221,7 +53504,6 @@ class QualityControlData(AbstractModel):
|
|
|
53221
53504
|
@property
|
|
53222
53505
|
def QualityEvaluationScore(self):
|
|
53223
53506
|
"""视频无参考质量评分,百分制。
|
|
53224
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53225
53507
|
:rtype: int
|
|
53226
53508
|
"""
|
|
53227
53509
|
return self._QualityEvaluationScore
|
|
@@ -53233,7 +53515,6 @@ class QualityControlData(AbstractModel):
|
|
|
53233
53515
|
@property
|
|
53234
53516
|
def QualityEvaluationMeanOpinionScore(self):
|
|
53235
53517
|
"""视频无参考质量评分,MOS分数。
|
|
53236
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53237
53518
|
:rtype: float
|
|
53238
53519
|
"""
|
|
53239
53520
|
return self._QualityEvaluationMeanOpinionScore
|
|
@@ -53245,7 +53526,6 @@ class QualityControlData(AbstractModel):
|
|
|
53245
53526
|
@property
|
|
53246
53527
|
def QualityControlResultSet(self):
|
|
53247
53528
|
"""内容质检检出异常项。
|
|
53248
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53249
53529
|
:rtype: list of QualityControlResult
|
|
53250
53530
|
"""
|
|
53251
53531
|
return self._QualityControlResultSet
|
|
@@ -53256,8 +53536,7 @@ class QualityControlData(AbstractModel):
|
|
|
53256
53536
|
|
|
53257
53537
|
@property
|
|
53258
53538
|
def ContainerDiagnoseResultSet(self):
|
|
53259
|
-
"""
|
|
53260
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53539
|
+
"""格式诊断检出异常项。
|
|
53261
53540
|
:rtype: list of ContainerDiagnoseResultItem
|
|
53262
53541
|
"""
|
|
53263
53542
|
return self._ContainerDiagnoseResultSet
|
|
@@ -53720,6 +53999,61 @@ LowEvaluation:无参考打分低于阈值。
|
|
|
53720
53999
|
|
|
53721
54000
|
|
|
53722
54001
|
|
|
54002
|
+
class QualityControlStrategy(AbstractModel):
|
|
54003
|
+
"""媒体质检检测策略。
|
|
54004
|
+
|
|
54005
|
+
"""
|
|
54006
|
+
|
|
54007
|
+
def __init__(self):
|
|
54008
|
+
r"""
|
|
54009
|
+
:param _StrategyType: 策略类型。取值:
|
|
54010
|
+
- TimeSpotCheck
|
|
54011
|
+
:type StrategyType: str
|
|
54012
|
+
:param _TimeSpotCheck: 根据时间的抽检策略。
|
|
54013
|
+
:type TimeSpotCheck: :class:`tencentcloud.mps.v20190612.models.TimeSpotCheck`
|
|
54014
|
+
"""
|
|
54015
|
+
self._StrategyType = None
|
|
54016
|
+
self._TimeSpotCheck = None
|
|
54017
|
+
|
|
54018
|
+
@property
|
|
54019
|
+
def StrategyType(self):
|
|
54020
|
+
"""策略类型。取值:
|
|
54021
|
+
- TimeSpotCheck
|
|
54022
|
+
:rtype: str
|
|
54023
|
+
"""
|
|
54024
|
+
return self._StrategyType
|
|
54025
|
+
|
|
54026
|
+
@StrategyType.setter
|
|
54027
|
+
def StrategyType(self, StrategyType):
|
|
54028
|
+
self._StrategyType = StrategyType
|
|
54029
|
+
|
|
54030
|
+
@property
|
|
54031
|
+
def TimeSpotCheck(self):
|
|
54032
|
+
"""根据时间的抽检策略。
|
|
54033
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.TimeSpotCheck`
|
|
54034
|
+
"""
|
|
54035
|
+
return self._TimeSpotCheck
|
|
54036
|
+
|
|
54037
|
+
@TimeSpotCheck.setter
|
|
54038
|
+
def TimeSpotCheck(self, TimeSpotCheck):
|
|
54039
|
+
self._TimeSpotCheck = TimeSpotCheck
|
|
54040
|
+
|
|
54041
|
+
|
|
54042
|
+
def _deserialize(self, params):
|
|
54043
|
+
self._StrategyType = params.get("StrategyType")
|
|
54044
|
+
if params.get("TimeSpotCheck") is not None:
|
|
54045
|
+
self._TimeSpotCheck = TimeSpotCheck()
|
|
54046
|
+
self._TimeSpotCheck._deserialize(params.get("TimeSpotCheck"))
|
|
54047
|
+
memeber_set = set(params.keys())
|
|
54048
|
+
for name, value in vars(self).items():
|
|
54049
|
+
property_name = name[1:]
|
|
54050
|
+
if property_name in memeber_set:
|
|
54051
|
+
memeber_set.remove(property_name)
|
|
54052
|
+
if len(memeber_set) > 0:
|
|
54053
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
54054
|
+
|
|
54055
|
+
|
|
54056
|
+
|
|
53723
54057
|
class QualityControlTemplate(AbstractModel):
|
|
53724
54058
|
"""媒体质检模板详情
|
|
53725
54059
|
|
|
@@ -53749,6 +54083,8 @@ class QualityControlTemplate(AbstractModel):
|
|
|
53749
54083
|
:param _UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
53750
54084
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
53751
54085
|
:type UpdateTime: str
|
|
54086
|
+
:param _Strategy: 媒体质检的抽检策略。
|
|
54087
|
+
:type Strategy: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
|
|
53752
54088
|
"""
|
|
53753
54089
|
self._Definition = None
|
|
53754
54090
|
self._Name = None
|
|
@@ -53757,6 +54093,7 @@ class QualityControlTemplate(AbstractModel):
|
|
|
53757
54093
|
self._QualityControlItemSet = None
|
|
53758
54094
|
self._CreateTime = None
|
|
53759
54095
|
self._UpdateTime = None
|
|
54096
|
+
self._Strategy = None
|
|
53760
54097
|
|
|
53761
54098
|
@property
|
|
53762
54099
|
def Definition(self):
|
|
@@ -53843,6 +54180,17 @@ class QualityControlTemplate(AbstractModel):
|
|
|
53843
54180
|
def UpdateTime(self, UpdateTime):
|
|
53844
54181
|
self._UpdateTime = UpdateTime
|
|
53845
54182
|
|
|
54183
|
+
@property
|
|
54184
|
+
def Strategy(self):
|
|
54185
|
+
"""媒体质检的抽检策略。
|
|
54186
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.QualityControlStrategy`
|
|
54187
|
+
"""
|
|
54188
|
+
return self._Strategy
|
|
54189
|
+
|
|
54190
|
+
@Strategy.setter
|
|
54191
|
+
def Strategy(self, Strategy):
|
|
54192
|
+
self._Strategy = Strategy
|
|
54193
|
+
|
|
53846
54194
|
|
|
53847
54195
|
def _deserialize(self, params):
|
|
53848
54196
|
self._Definition = params.get("Definition")
|
|
@@ -53857,6 +54205,9 @@ class QualityControlTemplate(AbstractModel):
|
|
|
53857
54205
|
self._QualityControlItemSet.append(obj)
|
|
53858
54206
|
self._CreateTime = params.get("CreateTime")
|
|
53859
54207
|
self._UpdateTime = params.get("UpdateTime")
|
|
54208
|
+
if params.get("Strategy") is not None:
|
|
54209
|
+
self._Strategy = QualityControlStrategy()
|
|
54210
|
+
self._Strategy._deserialize(params.get("Strategy"))
|
|
53860
54211
|
memeber_set = set(params.keys())
|
|
53861
54212
|
for name, value in vars(self).items():
|
|
53862
54213
|
property_name = name[1:]
|
|
@@ -55156,6 +55507,155 @@ class ResilientStreamConf(AbstractModel):
|
|
|
55156
55507
|
|
|
55157
55508
|
|
|
55158
55509
|
|
|
55510
|
+
class RuleConditionItem(AbstractModel):
|
|
55511
|
+
"""规则条件配置。
|
|
55512
|
+
|
|
55513
|
+
"""
|
|
55514
|
+
|
|
55515
|
+
def __init__(self):
|
|
55516
|
+
r"""
|
|
55517
|
+
:param _Key: 质检项条件对应的Key。
|
|
55518
|
+
:type Key: str
|
|
55519
|
+
:param _Value: 条件对应的Value。
|
|
55520
|
+
:type Value: str
|
|
55521
|
+
"""
|
|
55522
|
+
self._Key = None
|
|
55523
|
+
self._Value = None
|
|
55524
|
+
|
|
55525
|
+
@property
|
|
55526
|
+
def Key(self):
|
|
55527
|
+
"""质检项条件对应的Key。
|
|
55528
|
+
:rtype: str
|
|
55529
|
+
"""
|
|
55530
|
+
return self._Key
|
|
55531
|
+
|
|
55532
|
+
@Key.setter
|
|
55533
|
+
def Key(self, Key):
|
|
55534
|
+
self._Key = Key
|
|
55535
|
+
|
|
55536
|
+
@property
|
|
55537
|
+
def Value(self):
|
|
55538
|
+
"""条件对应的Value。
|
|
55539
|
+
:rtype: str
|
|
55540
|
+
"""
|
|
55541
|
+
return self._Value
|
|
55542
|
+
|
|
55543
|
+
@Value.setter
|
|
55544
|
+
def Value(self, Value):
|
|
55545
|
+
self._Value = Value
|
|
55546
|
+
|
|
55547
|
+
|
|
55548
|
+
def _deserialize(self, params):
|
|
55549
|
+
self._Key = params.get("Key")
|
|
55550
|
+
self._Value = params.get("Value")
|
|
55551
|
+
memeber_set = set(params.keys())
|
|
55552
|
+
for name, value in vars(self).items():
|
|
55553
|
+
property_name = name[1:]
|
|
55554
|
+
if property_name in memeber_set:
|
|
55555
|
+
memeber_set.remove(property_name)
|
|
55556
|
+
if len(memeber_set) > 0:
|
|
55557
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
55558
|
+
|
|
55559
|
+
|
|
55560
|
+
|
|
55561
|
+
class Rules(AbstractModel):
|
|
55562
|
+
"""任务判断条件
|
|
55563
|
+
|
|
55564
|
+
"""
|
|
55565
|
+
|
|
55566
|
+
def __init__(self):
|
|
55567
|
+
r"""
|
|
55568
|
+
:param _Id: 判断条件id
|
|
55569
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
55570
|
+
:type Id: str
|
|
55571
|
+
:param _Conditions: 判断条件配置
|
|
55572
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
55573
|
+
:type Conditions: list of RuleConditionItem
|
|
55574
|
+
:param _Linker: 条件列表的链接符号,取值如下:
|
|
55575
|
+
|
|
55576
|
+
- &&:逻辑与
|
|
55577
|
+
- ||:逻辑或
|
|
55578
|
+
:type Linker: str
|
|
55579
|
+
:param _RearDriveIndexs: 满足判断条件执行节点索引;
|
|
55580
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
55581
|
+
:type RearDriveIndexs: list of int
|
|
55582
|
+
"""
|
|
55583
|
+
self._Id = None
|
|
55584
|
+
self._Conditions = None
|
|
55585
|
+
self._Linker = None
|
|
55586
|
+
self._RearDriveIndexs = None
|
|
55587
|
+
|
|
55588
|
+
@property
|
|
55589
|
+
def Id(self):
|
|
55590
|
+
"""判断条件id
|
|
55591
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
55592
|
+
:rtype: str
|
|
55593
|
+
"""
|
|
55594
|
+
return self._Id
|
|
55595
|
+
|
|
55596
|
+
@Id.setter
|
|
55597
|
+
def Id(self, Id):
|
|
55598
|
+
self._Id = Id
|
|
55599
|
+
|
|
55600
|
+
@property
|
|
55601
|
+
def Conditions(self):
|
|
55602
|
+
"""判断条件配置
|
|
55603
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
55604
|
+
:rtype: list of RuleConditionItem
|
|
55605
|
+
"""
|
|
55606
|
+
return self._Conditions
|
|
55607
|
+
|
|
55608
|
+
@Conditions.setter
|
|
55609
|
+
def Conditions(self, Conditions):
|
|
55610
|
+
self._Conditions = Conditions
|
|
55611
|
+
|
|
55612
|
+
@property
|
|
55613
|
+
def Linker(self):
|
|
55614
|
+
"""条件列表的链接符号,取值如下:
|
|
55615
|
+
|
|
55616
|
+
- &&:逻辑与
|
|
55617
|
+
- ||:逻辑或
|
|
55618
|
+
:rtype: str
|
|
55619
|
+
"""
|
|
55620
|
+
return self._Linker
|
|
55621
|
+
|
|
55622
|
+
@Linker.setter
|
|
55623
|
+
def Linker(self, Linker):
|
|
55624
|
+
self._Linker = Linker
|
|
55625
|
+
|
|
55626
|
+
@property
|
|
55627
|
+
def RearDriveIndexs(self):
|
|
55628
|
+
"""满足判断条件执行节点索引;
|
|
55629
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
55630
|
+
:rtype: list of int
|
|
55631
|
+
"""
|
|
55632
|
+
return self._RearDriveIndexs
|
|
55633
|
+
|
|
55634
|
+
@RearDriveIndexs.setter
|
|
55635
|
+
def RearDriveIndexs(self, RearDriveIndexs):
|
|
55636
|
+
self._RearDriveIndexs = RearDriveIndexs
|
|
55637
|
+
|
|
55638
|
+
|
|
55639
|
+
def _deserialize(self, params):
|
|
55640
|
+
self._Id = params.get("Id")
|
|
55641
|
+
if params.get("Conditions") is not None:
|
|
55642
|
+
self._Conditions = []
|
|
55643
|
+
for item in params.get("Conditions"):
|
|
55644
|
+
obj = RuleConditionItem()
|
|
55645
|
+
obj._deserialize(item)
|
|
55646
|
+
self._Conditions.append(obj)
|
|
55647
|
+
self._Linker = params.get("Linker")
|
|
55648
|
+
self._RearDriveIndexs = params.get("RearDriveIndexs")
|
|
55649
|
+
memeber_set = set(params.keys())
|
|
55650
|
+
for name, value in vars(self).items():
|
|
55651
|
+
property_name = name[1:]
|
|
55652
|
+
if property_name in memeber_set:
|
|
55653
|
+
memeber_set.remove(property_name)
|
|
55654
|
+
if len(memeber_set) > 0:
|
|
55655
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
55656
|
+
|
|
55657
|
+
|
|
55658
|
+
|
|
55159
55659
|
class S3InputInfo(AbstractModel):
|
|
55160
55660
|
"""AWS S3存储输入
|
|
55161
55661
|
|
|
@@ -56045,13 +56545,10 @@ class ScheduleAnalysisTaskResult(AbstractModel):
|
|
|
56045
56545
|
:param _Input: 分析任务的输入。
|
|
56046
56546
|
:type Input: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskInput`
|
|
56047
56547
|
:param _Output: 分析任务的输出。
|
|
56048
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
56049
56548
|
:type Output: list of AiAnalysisResult
|
|
56050
56549
|
:param _BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
56051
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
56052
56550
|
:type BeginProcessTime: str
|
|
56053
56551
|
:param _FinishTime: 任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
56054
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
56055
56552
|
:type FinishTime: str
|
|
56056
56553
|
"""
|
|
56057
56554
|
self._Status = None
|
|
@@ -56121,7 +56618,6 @@ class ScheduleAnalysisTaskResult(AbstractModel):
|
|
|
56121
56618
|
@property
|
|
56122
56619
|
def Output(self):
|
|
56123
56620
|
"""分析任务的输出。
|
|
56124
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
56125
56621
|
:rtype: list of AiAnalysisResult
|
|
56126
56622
|
"""
|
|
56127
56623
|
return self._Output
|
|
@@ -56133,7 +56629,6 @@ class ScheduleAnalysisTaskResult(AbstractModel):
|
|
|
56133
56629
|
@property
|
|
56134
56630
|
def BeginProcessTime(self):
|
|
56135
56631
|
"""任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
56136
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
56137
56632
|
:rtype: str
|
|
56138
56633
|
"""
|
|
56139
56634
|
return self._BeginProcessTime
|
|
@@ -56145,7 +56640,6 @@ class ScheduleAnalysisTaskResult(AbstractModel):
|
|
|
56145
56640
|
@property
|
|
56146
56641
|
def FinishTime(self):
|
|
56147
56642
|
"""任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
56148
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
56149
56643
|
:rtype: str
|
|
56150
56644
|
"""
|
|
56151
56645
|
return self._FinishTime
|
|
@@ -56181,6 +56675,108 @@ class ScheduleAnalysisTaskResult(AbstractModel):
|
|
|
56181
56675
|
|
|
56182
56676
|
|
|
56183
56677
|
|
|
56678
|
+
class ScheduleExecRuleTaskResult(AbstractModel):
|
|
56679
|
+
"""媒体质检任务结果类型
|
|
56680
|
+
|
|
56681
|
+
"""
|
|
56682
|
+
|
|
56683
|
+
def __init__(self):
|
|
56684
|
+
r"""
|
|
56685
|
+
:param _Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|
56686
|
+
:type Status: str
|
|
56687
|
+
:param _ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
|
56688
|
+
:type ErrCodeExt: str
|
|
56689
|
+
:param _Message: 错误信息。
|
|
56690
|
+
:type Message: str
|
|
56691
|
+
:param _Input: 条件判断任务的输入。
|
|
56692
|
+
:type Input: :class:`tencentcloud.mps.v20190612.models.ExecRulesTask`
|
|
56693
|
+
:param _Output: 条件判断任务的输出。
|
|
56694
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
56695
|
+
:type Output: :class:`tencentcloud.mps.v20190612.models.ExecRuleTaskData`
|
|
56696
|
+
"""
|
|
56697
|
+
self._Status = None
|
|
56698
|
+
self._ErrCodeExt = None
|
|
56699
|
+
self._Message = None
|
|
56700
|
+
self._Input = None
|
|
56701
|
+
self._Output = None
|
|
56702
|
+
|
|
56703
|
+
@property
|
|
56704
|
+
def Status(self):
|
|
56705
|
+
"""任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|
56706
|
+
:rtype: str
|
|
56707
|
+
"""
|
|
56708
|
+
return self._Status
|
|
56709
|
+
|
|
56710
|
+
@Status.setter
|
|
56711
|
+
def Status(self, Status):
|
|
56712
|
+
self._Status = Status
|
|
56713
|
+
|
|
56714
|
+
@property
|
|
56715
|
+
def ErrCodeExt(self):
|
|
56716
|
+
"""错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
|
56717
|
+
:rtype: str
|
|
56718
|
+
"""
|
|
56719
|
+
return self._ErrCodeExt
|
|
56720
|
+
|
|
56721
|
+
@ErrCodeExt.setter
|
|
56722
|
+
def ErrCodeExt(self, ErrCodeExt):
|
|
56723
|
+
self._ErrCodeExt = ErrCodeExt
|
|
56724
|
+
|
|
56725
|
+
@property
|
|
56726
|
+
def Message(self):
|
|
56727
|
+
"""错误信息。
|
|
56728
|
+
:rtype: str
|
|
56729
|
+
"""
|
|
56730
|
+
return self._Message
|
|
56731
|
+
|
|
56732
|
+
@Message.setter
|
|
56733
|
+
def Message(self, Message):
|
|
56734
|
+
self._Message = Message
|
|
56735
|
+
|
|
56736
|
+
@property
|
|
56737
|
+
def Input(self):
|
|
56738
|
+
"""条件判断任务的输入。
|
|
56739
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ExecRulesTask`
|
|
56740
|
+
"""
|
|
56741
|
+
return self._Input
|
|
56742
|
+
|
|
56743
|
+
@Input.setter
|
|
56744
|
+
def Input(self, Input):
|
|
56745
|
+
self._Input = Input
|
|
56746
|
+
|
|
56747
|
+
@property
|
|
56748
|
+
def Output(self):
|
|
56749
|
+
"""条件判断任务的输出。
|
|
56750
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
56751
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.ExecRuleTaskData`
|
|
56752
|
+
"""
|
|
56753
|
+
return self._Output
|
|
56754
|
+
|
|
56755
|
+
@Output.setter
|
|
56756
|
+
def Output(self, Output):
|
|
56757
|
+
self._Output = Output
|
|
56758
|
+
|
|
56759
|
+
|
|
56760
|
+
def _deserialize(self, params):
|
|
56761
|
+
self._Status = params.get("Status")
|
|
56762
|
+
self._ErrCodeExt = params.get("ErrCodeExt")
|
|
56763
|
+
self._Message = params.get("Message")
|
|
56764
|
+
if params.get("Input") is not None:
|
|
56765
|
+
self._Input = ExecRulesTask()
|
|
56766
|
+
self._Input._deserialize(params.get("Input"))
|
|
56767
|
+
if params.get("Output") is not None:
|
|
56768
|
+
self._Output = ExecRuleTaskData()
|
|
56769
|
+
self._Output._deserialize(params.get("Output"))
|
|
56770
|
+
memeber_set = set(params.keys())
|
|
56771
|
+
for name, value in vars(self).items():
|
|
56772
|
+
property_name = name[1:]
|
|
56773
|
+
if property_name in memeber_set:
|
|
56774
|
+
memeber_set.remove(property_name)
|
|
56775
|
+
if len(memeber_set) > 0:
|
|
56776
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
56777
|
+
|
|
56778
|
+
|
|
56779
|
+
|
|
56184
56780
|
class ScheduleQualityControlTaskResult(AbstractModel):
|
|
56185
56781
|
"""媒体质检任务结果类型
|
|
56186
56782
|
|
|
@@ -59023,8 +59619,8 @@ class SmartSubtitlesResult(AbstractModel):
|
|
|
59023
59619
|
|
|
59024
59620
|
def __init__(self):
|
|
59025
59621
|
r"""
|
|
59026
|
-
:param _Type: 任务的类型,取值范围:
|
|
59027
|
-
<li>AsrFullTextRecognition:语音全文识别,</li>
|
|
59622
|
+
:param _Type: 任务的类型,取值范围:
|
|
59623
|
+
<li>AsrFullTextRecognition:语音全文识别,</li>
|
|
59028
59624
|
<li>TransTextRecognition:语音翻译。</li>
|
|
59029
59625
|
:type Type: str
|
|
59030
59626
|
:param _AsrFullTextTask: 语音全文识别结果,当 Type 为
|
|
@@ -59043,8 +59639,8 @@ TransTextRecognition 时有效。
|
|
|
59043
59639
|
|
|
59044
59640
|
@property
|
|
59045
59641
|
def Type(self):
|
|
59046
|
-
"""任务的类型,取值范围:
|
|
59047
|
-
<li>AsrFullTextRecognition:语音全文识别,</li>
|
|
59642
|
+
"""任务的类型,取值范围:
|
|
59643
|
+
<li>AsrFullTextRecognition:语音全文识别,</li>
|
|
59048
59644
|
<li>TransTextRecognition:语音翻译。</li>
|
|
59049
59645
|
:rtype: str
|
|
59050
59646
|
"""
|
|
@@ -59114,10 +59710,28 @@ class SmartSubtitlesTaskInput(AbstractModel):
|
|
|
59114
59710
|
:param _RawParameter: 智能字幕自定义参数,当 Definition 填 0 时有效。 该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。
|
|
59115
59711
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
59116
59712
|
:type RawParameter: :class:`tencentcloud.mps.v20190612.models.RawSmartSubtitleParameter`
|
|
59713
|
+
:param _OutputStorage: 媒体处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
|
|
59714
|
+
**注意**:当InputInfo.Type为URL时,该参数是必填项。
|
|
59715
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
59716
|
+
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
59717
|
+
:param _OutputObjectPath: 生成字幕文件的输出路径,可以为相对路径或者绝对路径。
|
|
59718
|
+
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
|
59719
|
+
|
|
59720
|
+
相对路径示例:
|
|
59721
|
+
- 文件名_{变量名}.{format}
|
|
59722
|
+
- 文件名.{format}
|
|
59723
|
+
|
|
59724
|
+
绝对路径示例:
|
|
59725
|
+
- /自定义路径/文件名_{变量名}.{format}
|
|
59726
|
+
|
|
59727
|
+
如果不填,则默认为相对路径: `{inputName}_smartsubtitle_{definition}.{format}`。
|
|
59728
|
+
:type OutputObjectPath: str
|
|
59117
59729
|
"""
|
|
59118
59730
|
self._Definition = None
|
|
59119
59731
|
self._UserExtPara = None
|
|
59120
59732
|
self._RawParameter = None
|
|
59733
|
+
self._OutputStorage = None
|
|
59734
|
+
self._OutputObjectPath = None
|
|
59121
59735
|
|
|
59122
59736
|
@property
|
|
59123
59737
|
def Definition(self):
|
|
@@ -59153,6 +59767,40 @@ class SmartSubtitlesTaskInput(AbstractModel):
|
|
|
59153
59767
|
def RawParameter(self, RawParameter):
|
|
59154
59768
|
self._RawParameter = RawParameter
|
|
59155
59769
|
|
|
59770
|
+
@property
|
|
59771
|
+
def OutputStorage(self):
|
|
59772
|
+
"""媒体处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
|
|
59773
|
+
**注意**:当InputInfo.Type为URL时,该参数是必填项。
|
|
59774
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
59775
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
59776
|
+
"""
|
|
59777
|
+
return self._OutputStorage
|
|
59778
|
+
|
|
59779
|
+
@OutputStorage.setter
|
|
59780
|
+
def OutputStorage(self, OutputStorage):
|
|
59781
|
+
self._OutputStorage = OutputStorage
|
|
59782
|
+
|
|
59783
|
+
@property
|
|
59784
|
+
def OutputObjectPath(self):
|
|
59785
|
+
"""生成字幕文件的输出路径,可以为相对路径或者绝对路径。
|
|
59786
|
+
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
|
59787
|
+
|
|
59788
|
+
相对路径示例:
|
|
59789
|
+
- 文件名_{变量名}.{format}
|
|
59790
|
+
- 文件名.{format}
|
|
59791
|
+
|
|
59792
|
+
绝对路径示例:
|
|
59793
|
+
- /自定义路径/文件名_{变量名}.{format}
|
|
59794
|
+
|
|
59795
|
+
如果不填,则默认为相对路径: `{inputName}_smartsubtitle_{definition}.{format}`。
|
|
59796
|
+
:rtype: str
|
|
59797
|
+
"""
|
|
59798
|
+
return self._OutputObjectPath
|
|
59799
|
+
|
|
59800
|
+
@OutputObjectPath.setter
|
|
59801
|
+
def OutputObjectPath(self, OutputObjectPath):
|
|
59802
|
+
self._OutputObjectPath = OutputObjectPath
|
|
59803
|
+
|
|
59156
59804
|
|
|
59157
59805
|
def _deserialize(self, params):
|
|
59158
59806
|
self._Definition = params.get("Definition")
|
|
@@ -59160,6 +59808,10 @@ class SmartSubtitlesTaskInput(AbstractModel):
|
|
|
59160
59808
|
if params.get("RawParameter") is not None:
|
|
59161
59809
|
self._RawParameter = RawSmartSubtitleParameter()
|
|
59162
59810
|
self._RawParameter._deserialize(params.get("RawParameter"))
|
|
59811
|
+
if params.get("OutputStorage") is not None:
|
|
59812
|
+
self._OutputStorage = TaskOutputStorage()
|
|
59813
|
+
self._OutputStorage._deserialize(params.get("OutputStorage"))
|
|
59814
|
+
self._OutputObjectPath = params.get("OutputObjectPath")
|
|
59163
59815
|
memeber_set = set(params.keys())
|
|
59164
59816
|
for name, value in vars(self).items():
|
|
59165
59817
|
property_name = name[1:]
|
|
@@ -59902,6 +60554,42 @@ class StreamUrlDetail(AbstractModel):
|
|
|
59902
60554
|
|
|
59903
60555
|
|
|
59904
60556
|
|
|
60557
|
+
class SubtitlePosition(AbstractModel):
|
|
60558
|
+
"""字幕位置信息
|
|
60559
|
+
|
|
60560
|
+
"""
|
|
60561
|
+
|
|
60562
|
+
def __init__(self):
|
|
60563
|
+
r"""
|
|
60564
|
+
:param _CenterY: 居中位置时Y的坐标值
|
|
60565
|
+
:type CenterY: int
|
|
60566
|
+
"""
|
|
60567
|
+
self._CenterY = None
|
|
60568
|
+
|
|
60569
|
+
@property
|
|
60570
|
+
def CenterY(self):
|
|
60571
|
+
"""居中位置时Y的坐标值
|
|
60572
|
+
:rtype: int
|
|
60573
|
+
"""
|
|
60574
|
+
return self._CenterY
|
|
60575
|
+
|
|
60576
|
+
@CenterY.setter
|
|
60577
|
+
def CenterY(self, CenterY):
|
|
60578
|
+
self._CenterY = CenterY
|
|
60579
|
+
|
|
60580
|
+
|
|
60581
|
+
def _deserialize(self, params):
|
|
60582
|
+
self._CenterY = params.get("CenterY")
|
|
60583
|
+
memeber_set = set(params.keys())
|
|
60584
|
+
for name, value in vars(self).items():
|
|
60585
|
+
property_name = name[1:]
|
|
60586
|
+
if property_name in memeber_set:
|
|
60587
|
+
memeber_set.remove(property_name)
|
|
60588
|
+
if len(memeber_set) > 0:
|
|
60589
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
60590
|
+
|
|
60591
|
+
|
|
60592
|
+
|
|
59905
60593
|
class SubtitleTemplate(AbstractModel):
|
|
59906
60594
|
"""字幕流配置参数。
|
|
59907
60595
|
|
|
@@ -61710,6 +62398,95 @@ class TextWatermarkTemplateInputForUpdate(AbstractModel):
|
|
|
61710
62398
|
|
|
61711
62399
|
|
|
61712
62400
|
|
|
62401
|
+
class TimeSpotCheck(AbstractModel):
|
|
62402
|
+
"""媒体质检的检测策略。
|
|
62403
|
+
|
|
62404
|
+
"""
|
|
62405
|
+
|
|
62406
|
+
def __init__(self):
|
|
62407
|
+
r"""
|
|
62408
|
+
:param _CheckDuration: 抽检策略的每次循环检测的时长。取值范围(单位s):
|
|
62409
|
+
|
|
62410
|
+
- 最小值:10
|
|
62411
|
+
- 最大值:86400
|
|
62412
|
+
|
|
62413
|
+
:type CheckDuration: int
|
|
62414
|
+
:param _CheckInterval: 抽检测略的检测间隔,表示在一次检测结束后,等待多长时间后,再次检测。
|
|
62415
|
+
:type CheckInterval: int
|
|
62416
|
+
:param _SkipDuration: 片头跳过时长。
|
|
62417
|
+
:type SkipDuration: int
|
|
62418
|
+
:param _CirclesNumber: 循环次数,该字段为空或 0 时,默认循环直至视频结束。
|
|
62419
|
+
:type CirclesNumber: int
|
|
62420
|
+
"""
|
|
62421
|
+
self._CheckDuration = None
|
|
62422
|
+
self._CheckInterval = None
|
|
62423
|
+
self._SkipDuration = None
|
|
62424
|
+
self._CirclesNumber = None
|
|
62425
|
+
|
|
62426
|
+
@property
|
|
62427
|
+
def CheckDuration(self):
|
|
62428
|
+
"""抽检策略的每次循环检测的时长。取值范围(单位s):
|
|
62429
|
+
|
|
62430
|
+
- 最小值:10
|
|
62431
|
+
- 最大值:86400
|
|
62432
|
+
|
|
62433
|
+
:rtype: int
|
|
62434
|
+
"""
|
|
62435
|
+
return self._CheckDuration
|
|
62436
|
+
|
|
62437
|
+
@CheckDuration.setter
|
|
62438
|
+
def CheckDuration(self, CheckDuration):
|
|
62439
|
+
self._CheckDuration = CheckDuration
|
|
62440
|
+
|
|
62441
|
+
@property
|
|
62442
|
+
def CheckInterval(self):
|
|
62443
|
+
"""抽检测略的检测间隔,表示在一次检测结束后,等待多长时间后,再次检测。
|
|
62444
|
+
:rtype: int
|
|
62445
|
+
"""
|
|
62446
|
+
return self._CheckInterval
|
|
62447
|
+
|
|
62448
|
+
@CheckInterval.setter
|
|
62449
|
+
def CheckInterval(self, CheckInterval):
|
|
62450
|
+
self._CheckInterval = CheckInterval
|
|
62451
|
+
|
|
62452
|
+
@property
|
|
62453
|
+
def SkipDuration(self):
|
|
62454
|
+
"""片头跳过时长。
|
|
62455
|
+
:rtype: int
|
|
62456
|
+
"""
|
|
62457
|
+
return self._SkipDuration
|
|
62458
|
+
|
|
62459
|
+
@SkipDuration.setter
|
|
62460
|
+
def SkipDuration(self, SkipDuration):
|
|
62461
|
+
self._SkipDuration = SkipDuration
|
|
62462
|
+
|
|
62463
|
+
@property
|
|
62464
|
+
def CirclesNumber(self):
|
|
62465
|
+
"""循环次数,该字段为空或 0 时,默认循环直至视频结束。
|
|
62466
|
+
:rtype: int
|
|
62467
|
+
"""
|
|
62468
|
+
return self._CirclesNumber
|
|
62469
|
+
|
|
62470
|
+
@CirclesNumber.setter
|
|
62471
|
+
def CirclesNumber(self, CirclesNumber):
|
|
62472
|
+
self._CirclesNumber = CirclesNumber
|
|
62473
|
+
|
|
62474
|
+
|
|
62475
|
+
def _deserialize(self, params):
|
|
62476
|
+
self._CheckDuration = params.get("CheckDuration")
|
|
62477
|
+
self._CheckInterval = params.get("CheckInterval")
|
|
62478
|
+
self._SkipDuration = params.get("SkipDuration")
|
|
62479
|
+
self._CirclesNumber = params.get("CirclesNumber")
|
|
62480
|
+
memeber_set = set(params.keys())
|
|
62481
|
+
for name, value in vars(self).items():
|
|
62482
|
+
property_name = name[1:]
|
|
62483
|
+
if property_name in memeber_set:
|
|
62484
|
+
memeber_set.remove(property_name)
|
|
62485
|
+
if len(memeber_set) > 0:
|
|
62486
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
62487
|
+
|
|
62488
|
+
|
|
62489
|
+
|
|
61713
62490
|
class TrackInfo(AbstractModel):
|
|
61714
62491
|
"""音轨信息
|
|
61715
62492
|
|