tencentcloud-sdk-python 3.0.1268__py2.py3-none-any.whl → 3.0.1270__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/af/v20200226/af_client.py +3 -1
- tencentcloud/bh/v20230418/models.py +2 -2
- tencentcloud/billing/v20180709/models.py +2 -2
- tencentcloud/bpaas/v20181217/errorcodes.py +1 -1
- tencentcloud/cdb/v20170320/cdb_client.py +1 -3
- tencentcloud/cdb/v20170320/errorcodes.py +3 -0
- tencentcloud/cdb/v20170320/models.py +26 -12
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/ckafka/v20190819/models.py +2 -2
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/cls/v20201016/models.py +30 -30
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/cwp/v20180228/models.py +16 -0
- tencentcloud/emr/v20190103/models.py +8 -28
- tencentcloud/ess/v20201111/models.py +27 -0
- tencentcloud/essbasic/v20210526/models.py +27 -0
- tencentcloud/faceid/v20180301/models.py +4 -0
- tencentcloud/hunyuan/v20230901/models.py +4 -2
- tencentcloud/iai/v20180301/models.py +12 -12
- tencentcloud/iap/__init__.py +0 -0
- tencentcloud/iap/v20240713/__init__.py +0 -0
- tencentcloud/iap/v20240713/errorcodes.py +48 -0
- tencentcloud/iap/v20240713/iap_client.py +164 -0
- tencentcloud/iap/v20240713/models.py +762 -0
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lcic/v20220817/lcic_client.py +69 -0
- tencentcloud/lcic/v20220817/models.py +470 -6
- tencentcloud/live/v20180801/errorcodes.py +15 -0
- tencentcloud/live/v20180801/live_client.py +185 -0
- tencentcloud/live/v20180801/models.py +2765 -853
- tencentcloud/monitor/v20180724/models.py +25 -10
- tencentcloud/mps/v20190612/models.py +532 -8
- tencentcloud/redis/v20180412/models.py +314 -216
- tencentcloud/redis/v20180412/redis_client.py +47 -47
- tencentcloud/tat/v20201028/models.py +10 -10
- tencentcloud/tchd/v20230306/tchd_client.py +2 -0
- tencentcloud/tke/v20220501/models.py +23 -0
- tencentcloud/tke/v20220501/tke_client.py +2 -2
- tencentcloud/trtc/v20190722/models.py +32 -2
- tencentcloud/tse/v20201207/models.py +311 -6
- tencentcloud/vclm/v20240523/models.py +86 -62
- tencentcloud/vclm/v20240523/vclm_client.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +773 -38
- tencentcloud/vpc/v20170312/vpc_client.py +93 -1
- {tencentcloud_sdk_python-3.0.1268.dist-info → tencentcloud_sdk_python-3.0.1270.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1268.dist-info → tencentcloud_sdk_python-3.0.1270.dist-info}/RECORD +51 -46
- {tencentcloud_sdk_python-3.0.1268.dist-info → tencentcloud_sdk_python-3.0.1270.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1268.dist-info → tencentcloud_sdk_python-3.0.1270.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1268.dist-info → tencentcloud_sdk_python-3.0.1270.dist-info}/top_level.txt +0 -0
@@ -32,7 +32,7 @@ FAILEDOPERATION_CLASSEXPIRED = 'FailedOperation.ClassExpired'
|
|
32
32
|
# 课堂状态错误,课堂已开始。
|
33
33
|
FAILEDOPERATION_CLASSSTARTED = 'FailedOperation.ClassStarted'
|
34
34
|
|
35
|
-
#
|
35
|
+
# 预约课堂的时长不能超过72小时(不影响实际上课)。
|
36
36
|
FAILEDOPERATION_CLASSTOOLONG = 'FailedOperation.ClassTooLong'
|
37
37
|
|
38
38
|
# 图片参数错误。
|
@@ -787,6 +787,29 @@ class LcicClient(AbstractClient):
|
|
787
787
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
788
788
|
|
789
789
|
|
790
|
+
def DescribeRecord(self, request):
|
791
|
+
"""查询录制信息
|
792
|
+
|
793
|
+
:param request: Request instance for DescribeRecord.
|
794
|
+
:type request: :class:`tencentcloud.lcic.v20220817.models.DescribeRecordRequest`
|
795
|
+
:rtype: :class:`tencentcloud.lcic.v20220817.models.DescribeRecordResponse`
|
796
|
+
|
797
|
+
"""
|
798
|
+
try:
|
799
|
+
params = request._serialize()
|
800
|
+
headers = request.headers
|
801
|
+
body = self.call("DescribeRecord", params, headers=headers)
|
802
|
+
response = json.loads(body)
|
803
|
+
model = models.DescribeRecordResponse()
|
804
|
+
model._deserialize(response["Response"])
|
805
|
+
return model
|
806
|
+
except Exception as e:
|
807
|
+
if isinstance(e, TencentCloudSDKException):
|
808
|
+
raise
|
809
|
+
else:
|
810
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
811
|
+
|
812
|
+
|
790
813
|
def DescribeRecordStream(self, request):
|
791
814
|
"""录制流查询
|
792
815
|
|
@@ -1387,6 +1410,29 @@ class LcicClient(AbstractClient):
|
|
1387
1410
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1388
1411
|
|
1389
1412
|
|
1413
|
+
def StartRecord(self, request):
|
1414
|
+
"""开始录制
|
1415
|
+
|
1416
|
+
:param request: Request instance for StartRecord.
|
1417
|
+
:type request: :class:`tencentcloud.lcic.v20220817.models.StartRecordRequest`
|
1418
|
+
:rtype: :class:`tencentcloud.lcic.v20220817.models.StartRecordResponse`
|
1419
|
+
|
1420
|
+
"""
|
1421
|
+
try:
|
1422
|
+
params = request._serialize()
|
1423
|
+
headers = request.headers
|
1424
|
+
body = self.call("StartRecord", params, headers=headers)
|
1425
|
+
response = json.loads(body)
|
1426
|
+
model = models.StartRecordResponse()
|
1427
|
+
model._deserialize(response["Response"])
|
1428
|
+
return model
|
1429
|
+
except Exception as e:
|
1430
|
+
if isinstance(e, TencentCloudSDKException):
|
1431
|
+
raise
|
1432
|
+
else:
|
1433
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1434
|
+
|
1435
|
+
|
1390
1436
|
def StartRoom(self, request):
|
1391
1437
|
"""开始房间的直播。 说明:开始房间接口调用之前需要有用户进入课堂初始化课堂信息。
|
1392
1438
|
|
@@ -1410,6 +1456,29 @@ class LcicClient(AbstractClient):
|
|
1410
1456
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1411
1457
|
|
1412
1458
|
|
1459
|
+
def StopRecord(self, request):
|
1460
|
+
"""停止录制
|
1461
|
+
|
1462
|
+
:param request: Request instance for StopRecord.
|
1463
|
+
:type request: :class:`tencentcloud.lcic.v20220817.models.StopRecordRequest`
|
1464
|
+
:rtype: :class:`tencentcloud.lcic.v20220817.models.StopRecordResponse`
|
1465
|
+
|
1466
|
+
"""
|
1467
|
+
try:
|
1468
|
+
params = request._serialize()
|
1469
|
+
headers = request.headers
|
1470
|
+
body = self.call("StopRecord", params, headers=headers)
|
1471
|
+
response = json.loads(body)
|
1472
|
+
model = models.StopRecordResponse()
|
1473
|
+
model._deserialize(response["Response"])
|
1474
|
+
return model
|
1475
|
+
except Exception as e:
|
1476
|
+
if isinstance(e, TencentCloudSDKException):
|
1477
|
+
raise
|
1478
|
+
else:
|
1479
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1480
|
+
|
1481
|
+
|
1413
1482
|
def UnbindDocumentFromRoom(self, request):
|
1414
1483
|
"""文档从房间解绑
|
1415
1484
|
|
@@ -2168,7 +2168,7 @@ class CreateRoomRequest(AbstractModel):
|
|
2168
2168
|
:type EndTime: int
|
2169
2169
|
:param _SdkAppId: 低代码互动课堂的SdkAppId。
|
2170
2170
|
:type SdkAppId: int
|
2171
|
-
:param _Resolution:
|
2171
|
+
:param _Resolution: 头像区域,摄像头视频画面的分辨率。可以有如下取值:
|
2172
2172
|
1 标清
|
2173
2173
|
2 高清
|
2174
2174
|
3 全高清
|
@@ -2317,7 +2317,7 @@ video 纯视频
|
|
2317
2317
|
|
2318
2318
|
@property
|
2319
2319
|
def Resolution(self):
|
2320
|
-
"""
|
2320
|
+
"""头像区域,摄像头视频画面的分辨率。可以有如下取值:
|
2321
2321
|
1 标清
|
2322
2322
|
2 高清
|
2323
2323
|
3 全高清
|
@@ -2864,6 +2864,147 @@ class CustomMsgContent(AbstractModel):
|
|
2864
2864
|
|
2865
2865
|
|
2866
2866
|
|
2867
|
+
class CustomRecordInfo(AbstractModel):
|
2868
|
+
"""自定义录制信息
|
2869
|
+
|
2870
|
+
"""
|
2871
|
+
|
2872
|
+
def __init__(self):
|
2873
|
+
r"""
|
2874
|
+
:param _StartTime: 开始时间
|
2875
|
+
:type StartTime: int
|
2876
|
+
:param _StopTime: 结束时间
|
2877
|
+
:type StopTime: int
|
2878
|
+
:param _Duration: 总时长
|
2879
|
+
:type Duration: int
|
2880
|
+
:param _FileFormat: 文件格式
|
2881
|
+
:type FileFormat: str
|
2882
|
+
:param _RecordUrl: 流url
|
2883
|
+
:type RecordUrl: str
|
2884
|
+
:param _RecordSize: 流大小
|
2885
|
+
:type RecordSize: int
|
2886
|
+
:param _VideoId: 流ID
|
2887
|
+
:type VideoId: str
|
2888
|
+
:param _TaskId: 任务Id
|
2889
|
+
:type TaskId: str
|
2890
|
+
"""
|
2891
|
+
self._StartTime = None
|
2892
|
+
self._StopTime = None
|
2893
|
+
self._Duration = None
|
2894
|
+
self._FileFormat = None
|
2895
|
+
self._RecordUrl = None
|
2896
|
+
self._RecordSize = None
|
2897
|
+
self._VideoId = None
|
2898
|
+
self._TaskId = None
|
2899
|
+
|
2900
|
+
@property
|
2901
|
+
def StartTime(self):
|
2902
|
+
"""开始时间
|
2903
|
+
:rtype: int
|
2904
|
+
"""
|
2905
|
+
return self._StartTime
|
2906
|
+
|
2907
|
+
@StartTime.setter
|
2908
|
+
def StartTime(self, StartTime):
|
2909
|
+
self._StartTime = StartTime
|
2910
|
+
|
2911
|
+
@property
|
2912
|
+
def StopTime(self):
|
2913
|
+
"""结束时间
|
2914
|
+
:rtype: int
|
2915
|
+
"""
|
2916
|
+
return self._StopTime
|
2917
|
+
|
2918
|
+
@StopTime.setter
|
2919
|
+
def StopTime(self, StopTime):
|
2920
|
+
self._StopTime = StopTime
|
2921
|
+
|
2922
|
+
@property
|
2923
|
+
def Duration(self):
|
2924
|
+
"""总时长
|
2925
|
+
:rtype: int
|
2926
|
+
"""
|
2927
|
+
return self._Duration
|
2928
|
+
|
2929
|
+
@Duration.setter
|
2930
|
+
def Duration(self, Duration):
|
2931
|
+
self._Duration = Duration
|
2932
|
+
|
2933
|
+
@property
|
2934
|
+
def FileFormat(self):
|
2935
|
+
"""文件格式
|
2936
|
+
:rtype: str
|
2937
|
+
"""
|
2938
|
+
return self._FileFormat
|
2939
|
+
|
2940
|
+
@FileFormat.setter
|
2941
|
+
def FileFormat(self, FileFormat):
|
2942
|
+
self._FileFormat = FileFormat
|
2943
|
+
|
2944
|
+
@property
|
2945
|
+
def RecordUrl(self):
|
2946
|
+
"""流url
|
2947
|
+
:rtype: str
|
2948
|
+
"""
|
2949
|
+
return self._RecordUrl
|
2950
|
+
|
2951
|
+
@RecordUrl.setter
|
2952
|
+
def RecordUrl(self, RecordUrl):
|
2953
|
+
self._RecordUrl = RecordUrl
|
2954
|
+
|
2955
|
+
@property
|
2956
|
+
def RecordSize(self):
|
2957
|
+
"""流大小
|
2958
|
+
:rtype: int
|
2959
|
+
"""
|
2960
|
+
return self._RecordSize
|
2961
|
+
|
2962
|
+
@RecordSize.setter
|
2963
|
+
def RecordSize(self, RecordSize):
|
2964
|
+
self._RecordSize = RecordSize
|
2965
|
+
|
2966
|
+
@property
|
2967
|
+
def VideoId(self):
|
2968
|
+
"""流ID
|
2969
|
+
:rtype: str
|
2970
|
+
"""
|
2971
|
+
return self._VideoId
|
2972
|
+
|
2973
|
+
@VideoId.setter
|
2974
|
+
def VideoId(self, VideoId):
|
2975
|
+
self._VideoId = VideoId
|
2976
|
+
|
2977
|
+
@property
|
2978
|
+
def TaskId(self):
|
2979
|
+
"""任务Id
|
2980
|
+
:rtype: str
|
2981
|
+
"""
|
2982
|
+
return self._TaskId
|
2983
|
+
|
2984
|
+
@TaskId.setter
|
2985
|
+
def TaskId(self, TaskId):
|
2986
|
+
self._TaskId = TaskId
|
2987
|
+
|
2988
|
+
|
2989
|
+
def _deserialize(self, params):
|
2990
|
+
self._StartTime = params.get("StartTime")
|
2991
|
+
self._StopTime = params.get("StopTime")
|
2992
|
+
self._Duration = params.get("Duration")
|
2993
|
+
self._FileFormat = params.get("FileFormat")
|
2994
|
+
self._RecordUrl = params.get("RecordUrl")
|
2995
|
+
self._RecordSize = params.get("RecordSize")
|
2996
|
+
self._VideoId = params.get("VideoId")
|
2997
|
+
self._TaskId = params.get("TaskId")
|
2998
|
+
memeber_set = set(params.keys())
|
2999
|
+
for name, value in vars(self).items():
|
3000
|
+
property_name = name[1:]
|
3001
|
+
if property_name in memeber_set:
|
3002
|
+
memeber_set.remove(property_name)
|
3003
|
+
if len(memeber_set) > 0:
|
3004
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3005
|
+
|
3006
|
+
|
3007
|
+
|
2867
3008
|
class DeleteAppCustomContentRequest(AbstractModel):
|
2868
3009
|
"""DeleteAppCustomContent请求参数结构体
|
2869
3010
|
|
@@ -5233,6 +5374,135 @@ class DescribeQuestionListResponse(AbstractModel):
|
|
5233
5374
|
self._RequestId = params.get("RequestId")
|
5234
5375
|
|
5235
5376
|
|
5377
|
+
class DescribeRecordRequest(AbstractModel):
|
5378
|
+
"""DescribeRecord请求参数结构体
|
5379
|
+
|
5380
|
+
"""
|
5381
|
+
|
5382
|
+
def __init__(self):
|
5383
|
+
r"""
|
5384
|
+
:param _SdkAppId: 学校ID
|
5385
|
+
:type SdkAppId: int
|
5386
|
+
:param _RoomId: 房间ID
|
5387
|
+
:type RoomId: int
|
5388
|
+
"""
|
5389
|
+
self._SdkAppId = None
|
5390
|
+
self._RoomId = None
|
5391
|
+
|
5392
|
+
@property
|
5393
|
+
def SdkAppId(self):
|
5394
|
+
"""学校ID
|
5395
|
+
:rtype: int
|
5396
|
+
"""
|
5397
|
+
return self._SdkAppId
|
5398
|
+
|
5399
|
+
@SdkAppId.setter
|
5400
|
+
def SdkAppId(self, SdkAppId):
|
5401
|
+
self._SdkAppId = SdkAppId
|
5402
|
+
|
5403
|
+
@property
|
5404
|
+
def RoomId(self):
|
5405
|
+
"""房间ID
|
5406
|
+
:rtype: int
|
5407
|
+
"""
|
5408
|
+
return self._RoomId
|
5409
|
+
|
5410
|
+
@RoomId.setter
|
5411
|
+
def RoomId(self, RoomId):
|
5412
|
+
self._RoomId = RoomId
|
5413
|
+
|
5414
|
+
|
5415
|
+
def _deserialize(self, params):
|
5416
|
+
self._SdkAppId = params.get("SdkAppId")
|
5417
|
+
self._RoomId = params.get("RoomId")
|
5418
|
+
memeber_set = set(params.keys())
|
5419
|
+
for name, value in vars(self).items():
|
5420
|
+
property_name = name[1:]
|
5421
|
+
if property_name in memeber_set:
|
5422
|
+
memeber_set.remove(property_name)
|
5423
|
+
if len(memeber_set) > 0:
|
5424
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5425
|
+
|
5426
|
+
|
5427
|
+
|
5428
|
+
class DescribeRecordResponse(AbstractModel):
|
5429
|
+
"""DescribeRecord返回参数结构体
|
5430
|
+
|
5431
|
+
"""
|
5432
|
+
|
5433
|
+
def __init__(self):
|
5434
|
+
r"""
|
5435
|
+
:param _SchoolId: 学校ID
|
5436
|
+
:type SchoolId: int
|
5437
|
+
:param _ClassId: 课堂ID
|
5438
|
+
:type ClassId: int
|
5439
|
+
:param _RecordInfo: 录制信息
|
5440
|
+
:type RecordInfo: list of CustomRecordInfo
|
5441
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5442
|
+
:type RequestId: str
|
5443
|
+
"""
|
5444
|
+
self._SchoolId = None
|
5445
|
+
self._ClassId = None
|
5446
|
+
self._RecordInfo = None
|
5447
|
+
self._RequestId = None
|
5448
|
+
|
5449
|
+
@property
|
5450
|
+
def SchoolId(self):
|
5451
|
+
"""学校ID
|
5452
|
+
:rtype: int
|
5453
|
+
"""
|
5454
|
+
return self._SchoolId
|
5455
|
+
|
5456
|
+
@SchoolId.setter
|
5457
|
+
def SchoolId(self, SchoolId):
|
5458
|
+
self._SchoolId = SchoolId
|
5459
|
+
|
5460
|
+
@property
|
5461
|
+
def ClassId(self):
|
5462
|
+
"""课堂ID
|
5463
|
+
:rtype: int
|
5464
|
+
"""
|
5465
|
+
return self._ClassId
|
5466
|
+
|
5467
|
+
@ClassId.setter
|
5468
|
+
def ClassId(self, ClassId):
|
5469
|
+
self._ClassId = ClassId
|
5470
|
+
|
5471
|
+
@property
|
5472
|
+
def RecordInfo(self):
|
5473
|
+
"""录制信息
|
5474
|
+
:rtype: list of CustomRecordInfo
|
5475
|
+
"""
|
5476
|
+
return self._RecordInfo
|
5477
|
+
|
5478
|
+
@RecordInfo.setter
|
5479
|
+
def RecordInfo(self, RecordInfo):
|
5480
|
+
self._RecordInfo = RecordInfo
|
5481
|
+
|
5482
|
+
@property
|
5483
|
+
def RequestId(self):
|
5484
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5485
|
+
:rtype: str
|
5486
|
+
"""
|
5487
|
+
return self._RequestId
|
5488
|
+
|
5489
|
+
@RequestId.setter
|
5490
|
+
def RequestId(self, RequestId):
|
5491
|
+
self._RequestId = RequestId
|
5492
|
+
|
5493
|
+
|
5494
|
+
def _deserialize(self, params):
|
5495
|
+
self._SchoolId = params.get("SchoolId")
|
5496
|
+
self._ClassId = params.get("ClassId")
|
5497
|
+
if params.get("RecordInfo") is not None:
|
5498
|
+
self._RecordInfo = []
|
5499
|
+
for item in params.get("RecordInfo"):
|
5500
|
+
obj = CustomRecordInfo()
|
5501
|
+
obj._deserialize(item)
|
5502
|
+
self._RecordInfo.append(obj)
|
5503
|
+
self._RequestId = params.get("RequestId")
|
5504
|
+
|
5505
|
+
|
5236
5506
|
class DescribeRecordStreamRequest(AbstractModel):
|
5237
5507
|
"""DescribeRecordStream请求参数结构体
|
5238
5508
|
|
@@ -5548,7 +5818,7 @@ class DescribeRoomResponse(AbstractModel):
|
|
5548
5818
|
:type SdkAppId: int
|
5549
5819
|
:param _AudienceType: 观看类型。互动观看 (默认)
|
5550
5820
|
:type AudienceType: int
|
5551
|
-
:param _Resolution:
|
5821
|
+
:param _Resolution: 头像区域,摄像头视频画面的分辨率。可以有如下取值:
|
5552
5822
|
1 标清
|
5553
5823
|
2 高清
|
5554
5824
|
3 全高清
|
@@ -5724,7 +5994,7 @@ video 纯视频
|
|
5724
5994
|
|
5725
5995
|
@property
|
5726
5996
|
def Resolution(self):
|
5727
|
-
"""
|
5997
|
+
"""头像区域,摄像头视频画面的分辨率。可以有如下取值:
|
5728
5998
|
1 标清
|
5729
5999
|
2 高清
|
5730
6000
|
3 全高清
|
@@ -10742,7 +11012,10 @@ class RoomInfo(AbstractModel):
|
|
10742
11012
|
:type StartTime: int
|
10743
11013
|
:param _EndTime: 预定的房间结束时间,unix时间戳。
|
10744
11014
|
:type EndTime: int
|
10745
|
-
:param _Resolution:
|
11015
|
+
:param _Resolution: 头像区域,摄像头视频画面的分辨率。可以有如下取值:
|
11016
|
+
1 标清
|
11017
|
+
2 高清
|
11018
|
+
3 全高清
|
10746
11019
|
:type Resolution: int
|
10747
11020
|
:param _MaxMicNumber: 设置房间/课堂同时最大可与老师进行连麦互动的人数,该参数支持正式上课/开播前调用修改房间修改。小班课取值范围[0,16],大班课取值范围[0,1],当取值为0时表示当前课堂/直播,不支持连麦互动。
|
10748
11021
|
:type MaxMicNumber: int
|
@@ -10861,7 +11134,10 @@ class RoomInfo(AbstractModel):
|
|
10861
11134
|
|
10862
11135
|
@property
|
10863
11136
|
def Resolution(self):
|
10864
|
-
"""
|
11137
|
+
"""头像区域,摄像头视频画面的分辨率。可以有如下取值:
|
11138
|
+
1 标清
|
11139
|
+
2 高清
|
11140
|
+
3 全高清
|
10865
11141
|
:rtype: int
|
10866
11142
|
"""
|
10867
11143
|
return self._Resolution
|
@@ -12491,6 +12767,100 @@ class SingleStreamInfo(AbstractModel):
|
|
12491
12767
|
|
12492
12768
|
|
12493
12769
|
|
12770
|
+
class StartRecordRequest(AbstractModel):
|
12771
|
+
"""StartRecord请求参数结构体
|
12772
|
+
|
12773
|
+
"""
|
12774
|
+
|
12775
|
+
def __init__(self):
|
12776
|
+
r"""
|
12777
|
+
:param _SdkAppId: 学校ID
|
12778
|
+
:type SdkAppId: int
|
12779
|
+
:param _RoomId: 房间ID
|
12780
|
+
:type RoomId: int
|
12781
|
+
"""
|
12782
|
+
self._SdkAppId = None
|
12783
|
+
self._RoomId = None
|
12784
|
+
|
12785
|
+
@property
|
12786
|
+
def SdkAppId(self):
|
12787
|
+
"""学校ID
|
12788
|
+
:rtype: int
|
12789
|
+
"""
|
12790
|
+
return self._SdkAppId
|
12791
|
+
|
12792
|
+
@SdkAppId.setter
|
12793
|
+
def SdkAppId(self, SdkAppId):
|
12794
|
+
self._SdkAppId = SdkAppId
|
12795
|
+
|
12796
|
+
@property
|
12797
|
+
def RoomId(self):
|
12798
|
+
"""房间ID
|
12799
|
+
:rtype: int
|
12800
|
+
"""
|
12801
|
+
return self._RoomId
|
12802
|
+
|
12803
|
+
@RoomId.setter
|
12804
|
+
def RoomId(self, RoomId):
|
12805
|
+
self._RoomId = RoomId
|
12806
|
+
|
12807
|
+
|
12808
|
+
def _deserialize(self, params):
|
12809
|
+
self._SdkAppId = params.get("SdkAppId")
|
12810
|
+
self._RoomId = params.get("RoomId")
|
12811
|
+
memeber_set = set(params.keys())
|
12812
|
+
for name, value in vars(self).items():
|
12813
|
+
property_name = name[1:]
|
12814
|
+
if property_name in memeber_set:
|
12815
|
+
memeber_set.remove(property_name)
|
12816
|
+
if len(memeber_set) > 0:
|
12817
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12818
|
+
|
12819
|
+
|
12820
|
+
|
12821
|
+
class StartRecordResponse(AbstractModel):
|
12822
|
+
"""StartRecord返回参数结构体
|
12823
|
+
|
12824
|
+
"""
|
12825
|
+
|
12826
|
+
def __init__(self):
|
12827
|
+
r"""
|
12828
|
+
:param _TaskId: 任务ID
|
12829
|
+
:type TaskId: str
|
12830
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12831
|
+
:type RequestId: str
|
12832
|
+
"""
|
12833
|
+
self._TaskId = None
|
12834
|
+
self._RequestId = None
|
12835
|
+
|
12836
|
+
@property
|
12837
|
+
def TaskId(self):
|
12838
|
+
"""任务ID
|
12839
|
+
:rtype: str
|
12840
|
+
"""
|
12841
|
+
return self._TaskId
|
12842
|
+
|
12843
|
+
@TaskId.setter
|
12844
|
+
def TaskId(self, TaskId):
|
12845
|
+
self._TaskId = TaskId
|
12846
|
+
|
12847
|
+
@property
|
12848
|
+
def RequestId(self):
|
12849
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12850
|
+
:rtype: str
|
12851
|
+
"""
|
12852
|
+
return self._RequestId
|
12853
|
+
|
12854
|
+
@RequestId.setter
|
12855
|
+
def RequestId(self, RequestId):
|
12856
|
+
self._RequestId = RequestId
|
12857
|
+
|
12858
|
+
|
12859
|
+
def _deserialize(self, params):
|
12860
|
+
self._TaskId = params.get("TaskId")
|
12861
|
+
self._RequestId = params.get("RequestId")
|
12862
|
+
|
12863
|
+
|
12494
12864
|
class StartRoomRequest(AbstractModel):
|
12495
12865
|
"""StartRoom请求参数结构体
|
12496
12866
|
|
@@ -12555,6 +12925,100 @@ class StartRoomResponse(AbstractModel):
|
|
12555
12925
|
self._RequestId = params.get("RequestId")
|
12556
12926
|
|
12557
12927
|
|
12928
|
+
class StopRecordRequest(AbstractModel):
|
12929
|
+
"""StopRecord请求参数结构体
|
12930
|
+
|
12931
|
+
"""
|
12932
|
+
|
12933
|
+
def __init__(self):
|
12934
|
+
r"""
|
12935
|
+
:param _SdkAppId: 学校ID
|
12936
|
+
:type SdkAppId: int
|
12937
|
+
:param _RoomId: 房间ID
|
12938
|
+
:type RoomId: int
|
12939
|
+
:param _TaskId: 任务ID
|
12940
|
+
:type TaskId: str
|
12941
|
+
"""
|
12942
|
+
self._SdkAppId = None
|
12943
|
+
self._RoomId = None
|
12944
|
+
self._TaskId = None
|
12945
|
+
|
12946
|
+
@property
|
12947
|
+
def SdkAppId(self):
|
12948
|
+
"""学校ID
|
12949
|
+
:rtype: int
|
12950
|
+
"""
|
12951
|
+
return self._SdkAppId
|
12952
|
+
|
12953
|
+
@SdkAppId.setter
|
12954
|
+
def SdkAppId(self, SdkAppId):
|
12955
|
+
self._SdkAppId = SdkAppId
|
12956
|
+
|
12957
|
+
@property
|
12958
|
+
def RoomId(self):
|
12959
|
+
"""房间ID
|
12960
|
+
:rtype: int
|
12961
|
+
"""
|
12962
|
+
return self._RoomId
|
12963
|
+
|
12964
|
+
@RoomId.setter
|
12965
|
+
def RoomId(self, RoomId):
|
12966
|
+
self._RoomId = RoomId
|
12967
|
+
|
12968
|
+
@property
|
12969
|
+
def TaskId(self):
|
12970
|
+
"""任务ID
|
12971
|
+
:rtype: str
|
12972
|
+
"""
|
12973
|
+
return self._TaskId
|
12974
|
+
|
12975
|
+
@TaskId.setter
|
12976
|
+
def TaskId(self, TaskId):
|
12977
|
+
self._TaskId = TaskId
|
12978
|
+
|
12979
|
+
|
12980
|
+
def _deserialize(self, params):
|
12981
|
+
self._SdkAppId = params.get("SdkAppId")
|
12982
|
+
self._RoomId = params.get("RoomId")
|
12983
|
+
self._TaskId = params.get("TaskId")
|
12984
|
+
memeber_set = set(params.keys())
|
12985
|
+
for name, value in vars(self).items():
|
12986
|
+
property_name = name[1:]
|
12987
|
+
if property_name in memeber_set:
|
12988
|
+
memeber_set.remove(property_name)
|
12989
|
+
if len(memeber_set) > 0:
|
12990
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12991
|
+
|
12992
|
+
|
12993
|
+
|
12994
|
+
class StopRecordResponse(AbstractModel):
|
12995
|
+
"""StopRecord返回参数结构体
|
12996
|
+
|
12997
|
+
"""
|
12998
|
+
|
12999
|
+
def __init__(self):
|
13000
|
+
r"""
|
13001
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13002
|
+
:type RequestId: str
|
13003
|
+
"""
|
13004
|
+
self._RequestId = None
|
13005
|
+
|
13006
|
+
@property
|
13007
|
+
def RequestId(self):
|
13008
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13009
|
+
:rtype: str
|
13010
|
+
"""
|
13011
|
+
return self._RequestId
|
13012
|
+
|
13013
|
+
@RequestId.setter
|
13014
|
+
def RequestId(self, RequestId):
|
13015
|
+
self._RequestId = RequestId
|
13016
|
+
|
13017
|
+
|
13018
|
+
def _deserialize(self, params):
|
13019
|
+
self._RequestId = params.get("RequestId")
|
13020
|
+
|
13021
|
+
|
12558
13022
|
class TextMarkConfig(AbstractModel):
|
12559
13023
|
"""文字水印配置
|
12560
13024
|
|
@@ -50,6 +50,9 @@ FAILEDOPERATION_CANNOTBEDELETEDISSUED = 'FailedOperation.CannotBeDeletedIssued'
|
|
50
50
|
# 免费证书申请1小时内不允许删除。
|
51
51
|
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = 'FailedOperation.CannotBeDeletedWithinHour'
|
52
52
|
|
53
|
+
# 导播台绑定了预付费套餐包。
|
54
|
+
FAILEDOPERATION_CASTERBINDED = 'FailedOperation.CasterBinded'
|
55
|
+
|
53
56
|
# 导播台不存在。
|
54
57
|
FAILEDOPERATION_CASTERNOTFOUND = 'FailedOperation.CasterNotFound'
|
55
58
|
|
@@ -119,6 +122,9 @@ FAILEDOPERATION_HASNOTLIVINGSTREAM = 'FailedOperation.HasNotLivingStream'
|
|
119
122
|
# 域名数量超过限制(100个)。
|
120
123
|
FAILEDOPERATION_HOSTOUTLIMIT = 'FailedOperation.HostOutLimit'
|
121
124
|
|
125
|
+
# 输入源不活跃。
|
126
|
+
FAILEDOPERATION_INPUTISNOTACTIVE = 'FailedOperation.InputIsNotActive'
|
127
|
+
|
122
128
|
# 禁止监播c流。
|
123
129
|
FAILEDOPERATION_INPUTSTREAMMIXTYPENOTACCESSIBLE = 'FailedOperation.InputStreamMixTypeNotAccessible'
|
124
130
|
|
@@ -158,6 +164,9 @@ FAILEDOPERATION_NOREALNAMEAUTH = 'FailedOperation.NoRealNameAuth'
|
|
158
164
|
# 找不到记录。
|
159
165
|
FAILEDOPERATION_NOTFOUND = 'FailedOperation.NotFound'
|
160
166
|
|
167
|
+
# 账户被停服。
|
168
|
+
FAILEDOPERATION_OUTOFSERVICE = 'FailedOperation.OutOfService'
|
169
|
+
|
161
170
|
# 父域名已添加。
|
162
171
|
FAILEDOPERATION_PARENTDOMAINADDED = 'FailedOperation.ParentDomainAdded'
|
163
172
|
|
@@ -182,6 +191,9 @@ FAILEDOPERATION_SDKNOPACKAGE = 'FailedOperation.SdkNoPackage'
|
|
182
191
|
# 启动监播任务失败。
|
183
192
|
FAILEDOPERATION_STARTTASKFAILED = 'FailedOperation.StartTaskFailed'
|
184
193
|
|
194
|
+
# 停止导播台主监、预监任务失败,可能是在同一时间操作了同一个导播台任务(如同时启动和停止)
|
195
|
+
FAILEDOPERATION_STOPCASTERTASKFAILED = 'FailedOperation.StopCasterTaskFailed'
|
196
|
+
|
185
197
|
# 停止监播任务失败。
|
186
198
|
FAILEDOPERATION_STOPTASKFAILED = 'FailedOperation.StopTaskFailed'
|
187
199
|
|
@@ -533,6 +545,9 @@ RESOURCEINSUFFICIENT = 'ResourceInsufficient'
|
|
533
545
|
# 资源不存在。
|
534
546
|
RESOURCENOTFOUND = 'ResourceNotFound'
|
535
547
|
|
548
|
+
# 导播台不存在。
|
549
|
+
RESOURCENOTFOUND_CASTERNOTEXISTS = 'ResourceNotFound.CasterNotExists'
|
550
|
+
|
536
551
|
# 日志下载 URL 不存在。
|
537
552
|
RESOURCENOTFOUND_CDNLOGEMPTY = 'ResourceNotFound.CdnLogEmpty'
|
538
553
|
|