tencentcloud-sdk-python-iss 3.0.1218__tar.gz → 3.0.1259__tar.gz
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-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/setup.py +1 -1
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/tencentcloud/iss/v20230517/errorcodes.py +9 -0
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/tencentcloud/iss/v20230517/iss_client.py +24 -1
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/tencentcloud/iss/v20230517/models.py +280 -12
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/tencentcloud_sdk_python_iss.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iss-3.0.1259/tencentcloud_sdk_python_iss.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iss-3.0.1218/tencentcloud_sdk_python_iss.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/README.rst +0 -0
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/tencentcloud/iss/__init__.py +0 -0
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/tencentcloud/iss/v20230517/__init__.py +0 -0
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/tencentcloud_sdk_python_iss.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/tencentcloud_sdk_python_iss.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iss-3.0.1218 → tencentcloud-sdk-python-iss-3.0.1259}/tencentcloud_sdk_python_iss.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-iss',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1259"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iss SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -68,6 +68,9 @@ INVALIDPARAMETER_INVALIDLIFERULEPARAM = 'InvalidParameter.InvalidLifeRuleParam'
|
|
|
68
68
|
# 无效的组织参数
|
|
69
69
|
INVALIDPARAMETER_INVALIDORGANIZATIONPARAM = 'InvalidParameter.InvalidOrganizationParam'
|
|
70
70
|
|
|
71
|
+
# 无效的输入参数
|
|
72
|
+
INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'
|
|
73
|
+
|
|
71
74
|
# 参数格式不对或缺少参数
|
|
72
75
|
INVALIDPARAMETER_INVALIDPARAMETERFORMAT = 'InvalidParameter.InvalidParameterFormat'
|
|
73
76
|
|
|
@@ -278,6 +281,9 @@ INVALIDPARAMETERVALUE_INVALIDRTMPAPPNAME = 'InvalidParameterValue.InvalidRTMPApp
|
|
|
278
281
|
# 无效的RTMP推流StreamName
|
|
279
282
|
INVALIDPARAMETERVALUE_INVALIDRTMPSTREAMNAME = 'InvalidParameterValue.InvalidRTMPStreamName'
|
|
280
283
|
|
|
284
|
+
# 无效的录像补录参数
|
|
285
|
+
INVALIDPARAMETERVALUE_INVALIDREPAIRMODE = 'InvalidParameterValue.InvalidRepairMode'
|
|
286
|
+
|
|
281
287
|
# 无效的取回模式
|
|
282
288
|
INVALIDPARAMETERVALUE_INVALIDRETRIEVALMODE = 'InvalidParameterValue.InvalidRetrievalMode'
|
|
283
289
|
|
|
@@ -320,6 +326,9 @@ INVALIDPARAMETERVALUE_INVALIDUSERPARAM = 'InvalidParameterValue.InvalidUserParam
|
|
|
320
326
|
# 无效的用户名,长度或内容不符合规则
|
|
321
327
|
INVALIDPARAMETERVALUE_INVALIDUSERNAME = 'InvalidParameterValue.InvalidUsername'
|
|
322
328
|
|
|
329
|
+
# 开启录像补录热存不能小于3天
|
|
330
|
+
INVALIDPARAMETERVALUE_LIMITREPAIRTRANSITION = 'InvalidParameterValue.LimitRepairTransition'
|
|
331
|
+
|
|
323
332
|
# 时间不能跨天
|
|
324
333
|
INVALIDPARAMETERVALUE_NONSAMEDAY = 'InvalidParameterValue.NonSameDay'
|
|
325
334
|
|
|
@@ -259,6 +259,29 @@ class IssClient(AbstractClient):
|
|
|
259
259
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
260
260
|
|
|
261
261
|
|
|
262
|
+
def CallISAPI(self, request):
|
|
263
|
+
"""本接口可基于海康ISUP 5.0协议实现透传ISAPI的请求数据,调用接口前需确保设备采用ISUP协议成功注册至本平台
|
|
264
|
+
|
|
265
|
+
:param request: Request instance for CallISAPI.
|
|
266
|
+
:type request: :class:`tencentcloud.iss.v20230517.models.CallISAPIRequest`
|
|
267
|
+
:rtype: :class:`tencentcloud.iss.v20230517.models.CallISAPIResponse`
|
|
268
|
+
|
|
269
|
+
"""
|
|
270
|
+
try:
|
|
271
|
+
params = request._serialize()
|
|
272
|
+
headers = request.headers
|
|
273
|
+
body = self.call("CallISAPI", params, headers=headers)
|
|
274
|
+
response = json.loads(body)
|
|
275
|
+
model = models.CallISAPIResponse()
|
|
276
|
+
model._deserialize(response["Response"])
|
|
277
|
+
return model
|
|
278
|
+
except Exception as e:
|
|
279
|
+
if isinstance(e, TencentCloudSDKException):
|
|
280
|
+
raise
|
|
281
|
+
else:
|
|
282
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
283
|
+
|
|
284
|
+
|
|
262
285
|
def CheckDomain(self, request):
|
|
263
286
|
"""用于检测域名是否备案。
|
|
264
287
|
|
|
@@ -1641,7 +1664,7 @@ class IssClient(AbstractClient):
|
|
|
1641
1664
|
|
|
1642
1665
|
|
|
1643
1666
|
def RefreshDeviceChannel(self, request):
|
|
1644
|
-
"""
|
|
1667
|
+
"""用于同步国标设备的通道(接口调用后,触发向设备请求通道列表,新增的通道入库,设备上已删除的通道需自行删除、后台不自动删除)。
|
|
1645
1668
|
|
|
1646
1669
|
:param request: Request instance for RefreshDeviceChannel.
|
|
1647
1670
|
:type request: :class:`tencentcloud.iss.v20230517.models.RefreshDeviceChannelRequest`
|
|
@@ -1026,7 +1026,7 @@ class AddOrganizationRequest(AbstractModel):
|
|
|
1026
1026
|
|
|
1027
1027
|
def __init__(self):
|
|
1028
1028
|
r"""
|
|
1029
|
-
:param _Name:
|
|
1029
|
+
:param _Name: 组织名称(仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过64位,且组织名称不能重复)
|
|
1030
1030
|
:type Name: str
|
|
1031
1031
|
:param _ParentId: 组织父节点 ID(从查询组织接口DescribeOrganization中获取,填0代表根组织)
|
|
1032
1032
|
:type ParentId: str
|
|
@@ -1634,6 +1634,8 @@ class AddRecordPlanRequest(AbstractModel):
|
|
|
1634
1634
|
:type Channels: list of ChannelInfo
|
|
1635
1635
|
:param _OrganizationId: 添加组织目录下所有设备通道,Json数组,可以为空,通道总数量不超过5000个(包括Channel字段的数量)
|
|
1636
1636
|
:type OrganizationId: list of str
|
|
1637
|
+
:param _RepairMode: 录像补录模式(0:不启用,1:启用),无该字段,默认不启用
|
|
1638
|
+
:type RepairMode: int
|
|
1637
1639
|
"""
|
|
1638
1640
|
self._PlanName = None
|
|
1639
1641
|
self._TemplateId = None
|
|
@@ -1642,6 +1644,7 @@ class AddRecordPlanRequest(AbstractModel):
|
|
|
1642
1644
|
self._StreamType = None
|
|
1643
1645
|
self._Channels = None
|
|
1644
1646
|
self._OrganizationId = None
|
|
1647
|
+
self._RepairMode = None
|
|
1645
1648
|
|
|
1646
1649
|
@property
|
|
1647
1650
|
def PlanName(self):
|
|
@@ -1699,6 +1702,14 @@ class AddRecordPlanRequest(AbstractModel):
|
|
|
1699
1702
|
def OrganizationId(self, OrganizationId):
|
|
1700
1703
|
self._OrganizationId = OrganizationId
|
|
1701
1704
|
|
|
1705
|
+
@property
|
|
1706
|
+
def RepairMode(self):
|
|
1707
|
+
return self._RepairMode
|
|
1708
|
+
|
|
1709
|
+
@RepairMode.setter
|
|
1710
|
+
def RepairMode(self, RepairMode):
|
|
1711
|
+
self._RepairMode = RepairMode
|
|
1712
|
+
|
|
1702
1713
|
|
|
1703
1714
|
def _deserialize(self, params):
|
|
1704
1715
|
self._PlanName = params.get("PlanName")
|
|
@@ -1715,6 +1726,7 @@ class AddRecordPlanRequest(AbstractModel):
|
|
|
1715
1726
|
obj._deserialize(item)
|
|
1716
1727
|
self._Channels.append(obj)
|
|
1717
1728
|
self._OrganizationId = params.get("OrganizationId")
|
|
1729
|
+
self._RepairMode = params.get("RepairMode")
|
|
1718
1730
|
memeber_set = set(params.keys())
|
|
1719
1731
|
for name, value in vars(self).items():
|
|
1720
1732
|
property_name = name[1:]
|
|
@@ -1901,7 +1913,7 @@ class AddRecordRetrieveTaskRequest(AbstractModel):
|
|
|
1901
1913
|
|
|
1902
1914
|
def __init__(self):
|
|
1903
1915
|
r"""
|
|
1904
|
-
:param _TaskName: 任务名称,仅支持中文、英文、数字、_、-,长度不超过32
|
|
1916
|
+
:param _TaskName: 任务名称,仅支持中文、英文、数字、_、-,长度不超过32个字符,名称全局唯一,不能为空,不能重复
|
|
1905
1917
|
:type TaskName: str
|
|
1906
1918
|
:param _StartTime: 取回录像的开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天
|
|
1907
1919
|
:type StartTime: int
|
|
@@ -2408,7 +2420,7 @@ class AddUserDeviceRequest(AbstractModel):
|
|
|
2408
2420
|
|
|
2409
2421
|
def __init__(self):
|
|
2410
2422
|
r"""
|
|
2411
|
-
:param _Name:
|
|
2423
|
+
:param _Name: 设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)
|
|
2412
2424
|
:type Name: str
|
|
2413
2425
|
:param _AccessProtocol: 设备接入协议(1:RTMP,2:GB,3:GW,4:IVCP)
|
|
2414
2426
|
:type AccessProtocol: int
|
|
@@ -2420,9 +2432,9 @@ class AddUserDeviceRequest(AbstractModel):
|
|
|
2420
2432
|
:type ClusterId: str
|
|
2421
2433
|
:param _TransportProtocol: 设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)
|
|
2422
2434
|
:type TransportProtocol: int
|
|
2423
|
-
:param _Password:
|
|
2435
|
+
:param _Password: 设备密码(国标,网关设备必填,长度为1-64个字符)
|
|
2424
2436
|
:type Password: str
|
|
2425
|
-
:param _Description:
|
|
2437
|
+
:param _Description: 设备描述,长度不超过128个字符
|
|
2426
2438
|
:type Description: str
|
|
2427
2439
|
:param _GatewayId: 设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)
|
|
2428
2440
|
:type GatewayId: str
|
|
@@ -2436,9 +2448,9 @@ class AddUserDeviceRequest(AbstractModel):
|
|
|
2436
2448
|
:type Username: str
|
|
2437
2449
|
:param _SNCode: 设备 SN,仅IVCP 协议设备需要
|
|
2438
2450
|
:type SNCode: str
|
|
2439
|
-
:param _AppName: RTMP推流地址自定义AppName(仅RTMP
|
|
2451
|
+
:param _AppName: RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)
|
|
2440
2452
|
:type AppName: str
|
|
2441
|
-
:param _StreamName: RTMP推流地址自定义StreamName(仅RTMP
|
|
2453
|
+
:param _StreamName: RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)
|
|
2442
2454
|
:type StreamName: str
|
|
2443
2455
|
"""
|
|
2444
2456
|
self._Name = None
|
|
@@ -2755,7 +2767,7 @@ class BatchOperateDeviceRequest(AbstractModel):
|
|
|
2755
2767
|
r"""
|
|
2756
2768
|
:param _DeviceIds: 设备 ID 数组(从获取设备列表接口ListDevices中获取)
|
|
2757
2769
|
:type DeviceIds: list of str
|
|
2758
|
-
:param _Cmd: 操作命令(enable:启用;disable:禁用;delete:删除;upgrade:固件升级;reset:恢复出厂设置;reboot:重启)
|
|
2770
|
+
:param _Cmd: 操作命令(enable:启用;disable:禁用;delete:删除;sync:同步设备通道;upgrade:固件升级;reset:恢复出厂设置;reboot:重启)
|
|
2759
2771
|
:type Cmd: str
|
|
2760
2772
|
"""
|
|
2761
2773
|
self._DeviceIds = None
|
|
@@ -2939,6 +2951,102 @@ class BodyAIResultInfo(AbstractModel):
|
|
|
2939
2951
|
|
|
2940
2952
|
|
|
2941
2953
|
|
|
2954
|
+
class CallISAPIRequest(AbstractModel):
|
|
2955
|
+
"""CallISAPI请求参数结构体
|
|
2956
|
+
|
|
2957
|
+
"""
|
|
2958
|
+
|
|
2959
|
+
def __init__(self):
|
|
2960
|
+
r"""
|
|
2961
|
+
:param _DeviceId: 设备ID
|
|
2962
|
+
:type DeviceId: str
|
|
2963
|
+
:param _Url: url 资源
|
|
2964
|
+
:type Url: str
|
|
2965
|
+
:param _InputData: 输入参数
|
|
2966
|
+
:type InputData: str
|
|
2967
|
+
"""
|
|
2968
|
+
self._DeviceId = None
|
|
2969
|
+
self._Url = None
|
|
2970
|
+
self._InputData = None
|
|
2971
|
+
|
|
2972
|
+
@property
|
|
2973
|
+
def DeviceId(self):
|
|
2974
|
+
return self._DeviceId
|
|
2975
|
+
|
|
2976
|
+
@DeviceId.setter
|
|
2977
|
+
def DeviceId(self, DeviceId):
|
|
2978
|
+
self._DeviceId = DeviceId
|
|
2979
|
+
|
|
2980
|
+
@property
|
|
2981
|
+
def Url(self):
|
|
2982
|
+
return self._Url
|
|
2983
|
+
|
|
2984
|
+
@Url.setter
|
|
2985
|
+
def Url(self, Url):
|
|
2986
|
+
self._Url = Url
|
|
2987
|
+
|
|
2988
|
+
@property
|
|
2989
|
+
def InputData(self):
|
|
2990
|
+
return self._InputData
|
|
2991
|
+
|
|
2992
|
+
@InputData.setter
|
|
2993
|
+
def InputData(self, InputData):
|
|
2994
|
+
self._InputData = InputData
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
def _deserialize(self, params):
|
|
2998
|
+
self._DeviceId = params.get("DeviceId")
|
|
2999
|
+
self._Url = params.get("Url")
|
|
3000
|
+
self._InputData = params.get("InputData")
|
|
3001
|
+
memeber_set = set(params.keys())
|
|
3002
|
+
for name, value in vars(self).items():
|
|
3003
|
+
property_name = name[1:]
|
|
3004
|
+
if property_name in memeber_set:
|
|
3005
|
+
memeber_set.remove(property_name)
|
|
3006
|
+
if len(memeber_set) > 0:
|
|
3007
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3008
|
+
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
class CallISAPIResponse(AbstractModel):
|
|
3012
|
+
"""CallISAPI返回参数结构体
|
|
3013
|
+
|
|
3014
|
+
"""
|
|
3015
|
+
|
|
3016
|
+
def __init__(self):
|
|
3017
|
+
r"""
|
|
3018
|
+
:param _Data: 返回数据
|
|
3019
|
+
:type Data: :class:`tencentcloud.iss.v20230517.models.ISAPIOutputData`
|
|
3020
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3021
|
+
:type RequestId: str
|
|
3022
|
+
"""
|
|
3023
|
+
self._Data = None
|
|
3024
|
+
self._RequestId = None
|
|
3025
|
+
|
|
3026
|
+
@property
|
|
3027
|
+
def Data(self):
|
|
3028
|
+
return self._Data
|
|
3029
|
+
|
|
3030
|
+
@Data.setter
|
|
3031
|
+
def Data(self, Data):
|
|
3032
|
+
self._Data = Data
|
|
3033
|
+
|
|
3034
|
+
@property
|
|
3035
|
+
def RequestId(self):
|
|
3036
|
+
return self._RequestId
|
|
3037
|
+
|
|
3038
|
+
@RequestId.setter
|
|
3039
|
+
def RequestId(self, RequestId):
|
|
3040
|
+
self._RequestId = RequestId
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
def _deserialize(self, params):
|
|
3044
|
+
if params.get("Data") is not None:
|
|
3045
|
+
self._Data = ISAPIOutputData()
|
|
3046
|
+
self._Data._deserialize(params.get("Data"))
|
|
3047
|
+
self._RequestId = params.get("RequestId")
|
|
3048
|
+
|
|
3049
|
+
|
|
2942
3050
|
class CarAIResultInfo(AbstractModel):
|
|
2943
3051
|
"""车辆车牌识别结果信息
|
|
2944
3052
|
|
|
@@ -5161,6 +5269,9 @@ class DescribeDeviceData(AbstractModel):
|
|
|
5161
5269
|
:param _StreamName: RTMP推流地址自定义streamName
|
|
5162
5270
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5163
5271
|
:type StreamName: str
|
|
5272
|
+
:param _SilentFrameSwitch: 是否开启静音帧(0:关闭;1 开启)
|
|
5273
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5274
|
+
:type SilentFrameSwitch: int
|
|
5164
5275
|
"""
|
|
5165
5276
|
self._DeviceId = None
|
|
5166
5277
|
self._Code = None
|
|
@@ -5192,6 +5303,7 @@ class DescribeDeviceData(AbstractModel):
|
|
|
5192
5303
|
self._SubscribeSwitch = None
|
|
5193
5304
|
self._AppName = None
|
|
5194
5305
|
self._StreamName = None
|
|
5306
|
+
self._SilentFrameSwitch = None
|
|
5195
5307
|
|
|
5196
5308
|
@property
|
|
5197
5309
|
def DeviceId(self):
|
|
@@ -5433,6 +5545,14 @@ class DescribeDeviceData(AbstractModel):
|
|
|
5433
5545
|
def StreamName(self, StreamName):
|
|
5434
5546
|
self._StreamName = StreamName
|
|
5435
5547
|
|
|
5548
|
+
@property
|
|
5549
|
+
def SilentFrameSwitch(self):
|
|
5550
|
+
return self._SilentFrameSwitch
|
|
5551
|
+
|
|
5552
|
+
@SilentFrameSwitch.setter
|
|
5553
|
+
def SilentFrameSwitch(self, SilentFrameSwitch):
|
|
5554
|
+
self._SilentFrameSwitch = SilentFrameSwitch
|
|
5555
|
+
|
|
5436
5556
|
|
|
5437
5557
|
def _deserialize(self, params):
|
|
5438
5558
|
self._DeviceId = params.get("DeviceId")
|
|
@@ -5465,6 +5585,7 @@ class DescribeDeviceData(AbstractModel):
|
|
|
5465
5585
|
self._SubscribeSwitch = params.get("SubscribeSwitch")
|
|
5466
5586
|
self._AppName = params.get("AppName")
|
|
5467
5587
|
self._StreamName = params.get("StreamName")
|
|
5588
|
+
self._SilentFrameSwitch = params.get("SilentFrameSwitch")
|
|
5468
5589
|
memeber_set = set(params.keys())
|
|
5469
5590
|
for name, value in vars(self).items():
|
|
5470
5591
|
property_name = name[1:]
|
|
@@ -7391,11 +7512,14 @@ class DescribeRecordFileRequest(AbstractModel):
|
|
|
7391
7512
|
:type StartTime: int
|
|
7392
7513
|
:param _EndTime: 检索结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天
|
|
7393
7514
|
:type EndTime: int
|
|
7515
|
+
:param _WithUrl: 是否携带每个时间段的播放url
|
|
7516
|
+
:type WithUrl: bool
|
|
7394
7517
|
"""
|
|
7395
7518
|
self._DeviceId = None
|
|
7396
7519
|
self._ChannelId = None
|
|
7397
7520
|
self._StartTime = None
|
|
7398
7521
|
self._EndTime = None
|
|
7522
|
+
self._WithUrl = None
|
|
7399
7523
|
|
|
7400
7524
|
@property
|
|
7401
7525
|
def DeviceId(self):
|
|
@@ -7429,12 +7553,21 @@ class DescribeRecordFileRequest(AbstractModel):
|
|
|
7429
7553
|
def EndTime(self, EndTime):
|
|
7430
7554
|
self._EndTime = EndTime
|
|
7431
7555
|
|
|
7556
|
+
@property
|
|
7557
|
+
def WithUrl(self):
|
|
7558
|
+
return self._WithUrl
|
|
7559
|
+
|
|
7560
|
+
@WithUrl.setter
|
|
7561
|
+
def WithUrl(self, WithUrl):
|
|
7562
|
+
self._WithUrl = WithUrl
|
|
7563
|
+
|
|
7432
7564
|
|
|
7433
7565
|
def _deserialize(self, params):
|
|
7434
7566
|
self._DeviceId = params.get("DeviceId")
|
|
7435
7567
|
self._ChannelId = params.get("ChannelId")
|
|
7436
7568
|
self._StartTime = params.get("StartTime")
|
|
7437
7569
|
self._EndTime = params.get("EndTime")
|
|
7570
|
+
self._WithUrl = params.get("WithUrl")
|
|
7438
7571
|
memeber_set = set(params.keys())
|
|
7439
7572
|
for name, value in vars(self).items():
|
|
7440
7573
|
property_name = name[1:]
|
|
@@ -8576,6 +8709,14 @@ class DescribeVideoDownloadUrlRequest(AbstractModel):
|
|
|
8576
8709
|
:type IsRespActualTime: bool
|
|
8577
8710
|
:param _IsInternal: 是否返回内网下载URL,默认是false,返回公网下载URL,true则返回内网下载URL
|
|
8578
8711
|
:type IsInternal: bool
|
|
8712
|
+
:param _Expires: 设置URL的有效期, 最小值是1秒, 最大值是86400秒, 不设置的话, 默认是600秒
|
|
8713
|
+
:type Expires: int
|
|
8714
|
+
:param _IsSupportG711: 下载的MP4文件是否支持G711音频编码.
|
|
8715
|
+
注意: 如果云端录像中的音频编码为AAC, 那么下载的MP4默认是支持AAC编码的
|
|
8716
|
+
如果云端录像中的音频编码为G711且 IsSupportG711设置为true时, 下载的MP4是支持G711音频编码
|
|
8717
|
+
如果云端录像中的音频编码为G711且 IsSupportG711设置为false时, 下载的MP4是不支持G711音频编码
|
|
8718
|
+
该参数只对FileType为mp4才有效, 不设置的话, 默认是false
|
|
8719
|
+
:type IsSupportG711: bool
|
|
8579
8720
|
"""
|
|
8580
8721
|
self._ChannelId = None
|
|
8581
8722
|
self._BeginTime = None
|
|
@@ -8583,6 +8724,8 @@ class DescribeVideoDownloadUrlRequest(AbstractModel):
|
|
|
8583
8724
|
self._FileType = None
|
|
8584
8725
|
self._IsRespActualTime = None
|
|
8585
8726
|
self._IsInternal = None
|
|
8727
|
+
self._Expires = None
|
|
8728
|
+
self._IsSupportG711 = None
|
|
8586
8729
|
|
|
8587
8730
|
@property
|
|
8588
8731
|
def ChannelId(self):
|
|
@@ -8632,6 +8775,22 @@ class DescribeVideoDownloadUrlRequest(AbstractModel):
|
|
|
8632
8775
|
def IsInternal(self, IsInternal):
|
|
8633
8776
|
self._IsInternal = IsInternal
|
|
8634
8777
|
|
|
8778
|
+
@property
|
|
8779
|
+
def Expires(self):
|
|
8780
|
+
return self._Expires
|
|
8781
|
+
|
|
8782
|
+
@Expires.setter
|
|
8783
|
+
def Expires(self, Expires):
|
|
8784
|
+
self._Expires = Expires
|
|
8785
|
+
|
|
8786
|
+
@property
|
|
8787
|
+
def IsSupportG711(self):
|
|
8788
|
+
return self._IsSupportG711
|
|
8789
|
+
|
|
8790
|
+
@IsSupportG711.setter
|
|
8791
|
+
def IsSupportG711(self, IsSupportG711):
|
|
8792
|
+
self._IsSupportG711 = IsSupportG711
|
|
8793
|
+
|
|
8635
8794
|
|
|
8636
8795
|
def _deserialize(self, params):
|
|
8637
8796
|
self._ChannelId = params.get("ChannelId")
|
|
@@ -8640,6 +8799,8 @@ class DescribeVideoDownloadUrlRequest(AbstractModel):
|
|
|
8640
8799
|
self._FileType = params.get("FileType")
|
|
8641
8800
|
self._IsRespActualTime = params.get("IsRespActualTime")
|
|
8642
8801
|
self._IsInternal = params.get("IsInternal")
|
|
8802
|
+
self._Expires = params.get("Expires")
|
|
8803
|
+
self._IsSupportG711 = params.get("IsSupportG711")
|
|
8643
8804
|
memeber_set = set(params.keys())
|
|
8644
8805
|
for name, value in vars(self).items():
|
|
8645
8806
|
property_name = name[1:]
|
|
@@ -9087,6 +9248,40 @@ class GatewaysData(AbstractModel):
|
|
|
9087
9248
|
|
|
9088
9249
|
|
|
9089
9250
|
|
|
9251
|
+
class ISAPIOutputData(AbstractModel):
|
|
9252
|
+
"""ISUP智能安全接入 API返回数据
|
|
9253
|
+
|
|
9254
|
+
"""
|
|
9255
|
+
|
|
9256
|
+
def __init__(self):
|
|
9257
|
+
r"""
|
|
9258
|
+
:param _OutputData: 输出参数
|
|
9259
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9260
|
+
:type OutputData: str
|
|
9261
|
+
"""
|
|
9262
|
+
self._OutputData = None
|
|
9263
|
+
|
|
9264
|
+
@property
|
|
9265
|
+
def OutputData(self):
|
|
9266
|
+
return self._OutputData
|
|
9267
|
+
|
|
9268
|
+
@OutputData.setter
|
|
9269
|
+
def OutputData(self, OutputData):
|
|
9270
|
+
self._OutputData = OutputData
|
|
9271
|
+
|
|
9272
|
+
|
|
9273
|
+
def _deserialize(self, params):
|
|
9274
|
+
self._OutputData = params.get("OutputData")
|
|
9275
|
+
memeber_set = set(params.keys())
|
|
9276
|
+
for name, value in vars(self).items():
|
|
9277
|
+
property_name = name[1:]
|
|
9278
|
+
if property_name in memeber_set:
|
|
9279
|
+
memeber_set.remove(property_name)
|
|
9280
|
+
if len(memeber_set) > 0:
|
|
9281
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9282
|
+
|
|
9283
|
+
|
|
9284
|
+
|
|
9090
9285
|
class LifeCycleData(AbstractModel):
|
|
9091
9286
|
"""生命周期,云文件生命周期设置,管理文件冷、热存储的时间
|
|
9092
9287
|
|
|
@@ -12407,6 +12602,8 @@ class RecordPlanBaseInfo(AbstractModel):
|
|
|
12407
12602
|
:type Status: int
|
|
12408
12603
|
:param _ChannelCount: 通道总数
|
|
12409
12604
|
:type ChannelCount: int
|
|
12605
|
+
:param _RepairMode: 录像补录模式(0:不启用,1:启用)
|
|
12606
|
+
:type RepairMode: int
|
|
12410
12607
|
"""
|
|
12411
12608
|
self._PlanId = None
|
|
12412
12609
|
self._PlanName = None
|
|
@@ -12416,6 +12613,7 @@ class RecordPlanBaseInfo(AbstractModel):
|
|
|
12416
12613
|
self._LifeCycle = None
|
|
12417
12614
|
self._Status = None
|
|
12418
12615
|
self._ChannelCount = None
|
|
12616
|
+
self._RepairMode = None
|
|
12419
12617
|
|
|
12420
12618
|
@property
|
|
12421
12619
|
def PlanId(self):
|
|
@@ -12481,6 +12679,14 @@ class RecordPlanBaseInfo(AbstractModel):
|
|
|
12481
12679
|
def ChannelCount(self, ChannelCount):
|
|
12482
12680
|
self._ChannelCount = ChannelCount
|
|
12483
12681
|
|
|
12682
|
+
@property
|
|
12683
|
+
def RepairMode(self):
|
|
12684
|
+
return self._RepairMode
|
|
12685
|
+
|
|
12686
|
+
@RepairMode.setter
|
|
12687
|
+
def RepairMode(self, RepairMode):
|
|
12688
|
+
self._RepairMode = RepairMode
|
|
12689
|
+
|
|
12484
12690
|
|
|
12485
12691
|
def _deserialize(self, params):
|
|
12486
12692
|
self._PlanId = params.get("PlanId")
|
|
@@ -12493,6 +12699,7 @@ class RecordPlanBaseInfo(AbstractModel):
|
|
|
12493
12699
|
self._LifeCycle._deserialize(params.get("LifeCycle"))
|
|
12494
12700
|
self._Status = params.get("Status")
|
|
12495
12701
|
self._ChannelCount = params.get("ChannelCount")
|
|
12702
|
+
self._RepairMode = params.get("RepairMode")
|
|
12496
12703
|
memeber_set = set(params.keys())
|
|
12497
12704
|
for name, value in vars(self).items():
|
|
12498
12705
|
property_name = name[1:]
|
|
@@ -12523,12 +12730,15 @@ class RecordPlanChannelInfo(AbstractModel):
|
|
|
12523
12730
|
:param _OrganizationName: 所属组织名称
|
|
12524
12731
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12525
12732
|
:type OrganizationName: str
|
|
12733
|
+
:param _AccessProtocol: 通道所属设备的接入协议类型
|
|
12734
|
+
:type AccessProtocol: int
|
|
12526
12735
|
"""
|
|
12527
12736
|
self._DeviceId = None
|
|
12528
12737
|
self._DeviceName = None
|
|
12529
12738
|
self._ChannelId = None
|
|
12530
12739
|
self._ChannelName = None
|
|
12531
12740
|
self._OrganizationName = None
|
|
12741
|
+
self._AccessProtocol = None
|
|
12532
12742
|
|
|
12533
12743
|
@property
|
|
12534
12744
|
def DeviceId(self):
|
|
@@ -12570,6 +12780,14 @@ class RecordPlanChannelInfo(AbstractModel):
|
|
|
12570
12780
|
def OrganizationName(self, OrganizationName):
|
|
12571
12781
|
self._OrganizationName = OrganizationName
|
|
12572
12782
|
|
|
12783
|
+
@property
|
|
12784
|
+
def AccessProtocol(self):
|
|
12785
|
+
return self._AccessProtocol
|
|
12786
|
+
|
|
12787
|
+
@AccessProtocol.setter
|
|
12788
|
+
def AccessProtocol(self, AccessProtocol):
|
|
12789
|
+
self._AccessProtocol = AccessProtocol
|
|
12790
|
+
|
|
12573
12791
|
|
|
12574
12792
|
def _deserialize(self, params):
|
|
12575
12793
|
self._DeviceId = params.get("DeviceId")
|
|
@@ -12577,6 +12795,7 @@ class RecordPlanChannelInfo(AbstractModel):
|
|
|
12577
12795
|
self._ChannelId = params.get("ChannelId")
|
|
12578
12796
|
self._ChannelName = params.get("ChannelName")
|
|
12579
12797
|
self._OrganizationName = params.get("OrganizationName")
|
|
12798
|
+
self._AccessProtocol = params.get("AccessProtocol")
|
|
12580
12799
|
memeber_set = set(params.keys())
|
|
12581
12800
|
for name, value in vars(self).items():
|
|
12582
12801
|
property_name = name[1:]
|
|
@@ -12608,6 +12827,8 @@ class RecordPlanOptData(AbstractModel):
|
|
|
12608
12827
|
:param _StreamType: 码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义
|
|
12609
12828
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12610
12829
|
:type StreamType: str
|
|
12830
|
+
:param _RepairMode: 录像补录模式(0:不启用,1:启用)
|
|
12831
|
+
:type RepairMode: int
|
|
12611
12832
|
"""
|
|
12612
12833
|
self._PlanId = None
|
|
12613
12834
|
self._PlanName = None
|
|
@@ -12615,6 +12836,7 @@ class RecordPlanOptData(AbstractModel):
|
|
|
12615
12836
|
self._Describe = None
|
|
12616
12837
|
self._LifeCycle = None
|
|
12617
12838
|
self._StreamType = None
|
|
12839
|
+
self._RepairMode = None
|
|
12618
12840
|
|
|
12619
12841
|
@property
|
|
12620
12842
|
def PlanId(self):
|
|
@@ -12664,6 +12886,14 @@ class RecordPlanOptData(AbstractModel):
|
|
|
12664
12886
|
def StreamType(self, StreamType):
|
|
12665
12887
|
self._StreamType = StreamType
|
|
12666
12888
|
|
|
12889
|
+
@property
|
|
12890
|
+
def RepairMode(self):
|
|
12891
|
+
return self._RepairMode
|
|
12892
|
+
|
|
12893
|
+
@RepairMode.setter
|
|
12894
|
+
def RepairMode(self, RepairMode):
|
|
12895
|
+
self._RepairMode = RepairMode
|
|
12896
|
+
|
|
12667
12897
|
|
|
12668
12898
|
def _deserialize(self, params):
|
|
12669
12899
|
self._PlanId = params.get("PlanId")
|
|
@@ -12674,6 +12904,7 @@ class RecordPlanOptData(AbstractModel):
|
|
|
12674
12904
|
self._LifeCycle = LifeCycleData()
|
|
12675
12905
|
self._LifeCycle._deserialize(params.get("LifeCycle"))
|
|
12676
12906
|
self._StreamType = params.get("StreamType")
|
|
12907
|
+
self._RepairMode = params.get("RepairMode")
|
|
12677
12908
|
memeber_set = set(params.keys())
|
|
12678
12909
|
for name, value in vars(self).items():
|
|
12679
12910
|
property_name = name[1:]
|
|
@@ -13120,9 +13351,13 @@ class RecordTimeLine(AbstractModel):
|
|
|
13120
13351
|
:type Begin: int
|
|
13121
13352
|
:param _End: 时间片段结束时间,UTC秒数,例如:1662114146
|
|
13122
13353
|
:type End: int
|
|
13354
|
+
:param _HlsUrl: 对应时间片段的播放url
|
|
13355
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13356
|
+
:type HlsUrl: str
|
|
13123
13357
|
"""
|
|
13124
13358
|
self._Begin = None
|
|
13125
13359
|
self._End = None
|
|
13360
|
+
self._HlsUrl = None
|
|
13126
13361
|
|
|
13127
13362
|
@property
|
|
13128
13363
|
def Begin(self):
|
|
@@ -13140,10 +13375,19 @@ class RecordTimeLine(AbstractModel):
|
|
|
13140
13375
|
def End(self, End):
|
|
13141
13376
|
self._End = End
|
|
13142
13377
|
|
|
13378
|
+
@property
|
|
13379
|
+
def HlsUrl(self):
|
|
13380
|
+
return self._HlsUrl
|
|
13381
|
+
|
|
13382
|
+
@HlsUrl.setter
|
|
13383
|
+
def HlsUrl(self, HlsUrl):
|
|
13384
|
+
self._HlsUrl = HlsUrl
|
|
13385
|
+
|
|
13143
13386
|
|
|
13144
13387
|
def _deserialize(self, params):
|
|
13145
13388
|
self._Begin = params.get("Begin")
|
|
13146
13389
|
self._End = params.get("End")
|
|
13390
|
+
self._HlsUrl = params.get("HlsUrl")
|
|
13147
13391
|
memeber_set = set(params.keys())
|
|
13148
13392
|
for name, value in vars(self).items():
|
|
13149
13393
|
property_name = name[1:]
|
|
@@ -14960,7 +15204,7 @@ class UpdateOrganizationRequest(AbstractModel):
|
|
|
14960
15204
|
r"""
|
|
14961
15205
|
:param _OrganizationId: 组织ID(从查询组织接口DescribeOrganization中获取)
|
|
14962
15206
|
:type OrganizationId: str
|
|
14963
|
-
:param _Name:
|
|
15207
|
+
:param _Name: 组织名称,支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过64位,且组织名称不能重复
|
|
14964
15208
|
:type Name: str
|
|
14965
15209
|
"""
|
|
14966
15210
|
self._OrganizationId = None
|
|
@@ -15674,6 +15918,8 @@ class UpdateRecordPlanData(AbstractModel):
|
|
|
15674
15918
|
:type Del: list of str
|
|
15675
15919
|
:param _OrganizationId: 组织目录ID,添加组织目录下所有设备通道,Json数组,可以为空,并且通道总数量不超过5000个(包括Add字段通道数量)
|
|
15676
15920
|
:type OrganizationId: list of str
|
|
15921
|
+
:param _RepairMode: 录像补录模式(0:不启用,1:启用)
|
|
15922
|
+
:type RepairMode: int
|
|
15677
15923
|
"""
|
|
15678
15924
|
self._PlanName = None
|
|
15679
15925
|
self._TemplateId = None
|
|
@@ -15683,6 +15929,7 @@ class UpdateRecordPlanData(AbstractModel):
|
|
|
15683
15929
|
self._Add = None
|
|
15684
15930
|
self._Del = None
|
|
15685
15931
|
self._OrganizationId = None
|
|
15932
|
+
self._RepairMode = None
|
|
15686
15933
|
|
|
15687
15934
|
@property
|
|
15688
15935
|
def PlanName(self):
|
|
@@ -15748,6 +15995,14 @@ class UpdateRecordPlanData(AbstractModel):
|
|
|
15748
15995
|
def OrganizationId(self, OrganizationId):
|
|
15749
15996
|
self._OrganizationId = OrganizationId
|
|
15750
15997
|
|
|
15998
|
+
@property
|
|
15999
|
+
def RepairMode(self):
|
|
16000
|
+
return self._RepairMode
|
|
16001
|
+
|
|
16002
|
+
@RepairMode.setter
|
|
16003
|
+
def RepairMode(self, RepairMode):
|
|
16004
|
+
self._RepairMode = RepairMode
|
|
16005
|
+
|
|
15751
16006
|
|
|
15752
16007
|
def _deserialize(self, params):
|
|
15753
16008
|
self._PlanName = params.get("PlanName")
|
|
@@ -15765,6 +16020,7 @@ class UpdateRecordPlanData(AbstractModel):
|
|
|
15765
16020
|
self._Add.append(obj)
|
|
15766
16021
|
self._Del = params.get("Del")
|
|
15767
16022
|
self._OrganizationId = params.get("OrganizationId")
|
|
16023
|
+
self._RepairMode = params.get("RepairMode")
|
|
15768
16024
|
memeber_set = set(params.keys())
|
|
15769
16025
|
for name, value in vars(self).items():
|
|
15770
16026
|
property_name = name[1:]
|
|
@@ -16006,13 +16262,13 @@ class UpdateUserDeviceRequest(AbstractModel):
|
|
|
16006
16262
|
r"""
|
|
16007
16263
|
:param _DeviceId: 设备ID(从获取设备列表接口ListDevices中获取)
|
|
16008
16264
|
:type DeviceId: str
|
|
16009
|
-
:param _Name:
|
|
16265
|
+
:param _Name: 设备名称(仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位)
|
|
16010
16266
|
:type Name: str
|
|
16011
16267
|
:param _TransportProtocol: 设备流传输协议,仅国标设备有效,填0则不做更改(1:UDP,2:TCP)
|
|
16012
16268
|
:type TransportProtocol: int
|
|
16013
|
-
:param _Password:
|
|
16269
|
+
:param _Password: 设备密码(仅国标,网关设备支持,长度不超过 64 位)
|
|
16014
16270
|
:type Password: str
|
|
16015
|
-
:param _Description:
|
|
16271
|
+
:param _Description: 设备描述(长度不超过128位)
|
|
16016
16272
|
:type Description: str
|
|
16017
16273
|
:param _Ip: 设备接入Ip(仅网关接入支持)
|
|
16018
16274
|
:type Ip: str
|
|
@@ -16026,6 +16282,8 @@ class UpdateUserDeviceRequest(AbstractModel):
|
|
|
16026
16282
|
:type AudioSwitch: int
|
|
16027
16283
|
:param _SubscribeSwitch: 订阅开关(0:关闭;1:开启)默认开启,开启状态下会订阅设备通道变化,仅国标NVR设备有效
|
|
16028
16284
|
:type SubscribeSwitch: int
|
|
16285
|
+
:param _SilentFrameSwitch: 是否开启静音帧(0:关闭;1 开启)
|
|
16286
|
+
:type SilentFrameSwitch: int
|
|
16029
16287
|
"""
|
|
16030
16288
|
self._DeviceId = None
|
|
16031
16289
|
self._Name = None
|
|
@@ -16038,6 +16296,7 @@ class UpdateUserDeviceRequest(AbstractModel):
|
|
|
16038
16296
|
self._ProtocolType = None
|
|
16039
16297
|
self._AudioSwitch = None
|
|
16040
16298
|
self._SubscribeSwitch = None
|
|
16299
|
+
self._SilentFrameSwitch = None
|
|
16041
16300
|
|
|
16042
16301
|
@property
|
|
16043
16302
|
def DeviceId(self):
|
|
@@ -16127,6 +16386,14 @@ class UpdateUserDeviceRequest(AbstractModel):
|
|
|
16127
16386
|
def SubscribeSwitch(self, SubscribeSwitch):
|
|
16128
16387
|
self._SubscribeSwitch = SubscribeSwitch
|
|
16129
16388
|
|
|
16389
|
+
@property
|
|
16390
|
+
def SilentFrameSwitch(self):
|
|
16391
|
+
return self._SilentFrameSwitch
|
|
16392
|
+
|
|
16393
|
+
@SilentFrameSwitch.setter
|
|
16394
|
+
def SilentFrameSwitch(self, SilentFrameSwitch):
|
|
16395
|
+
self._SilentFrameSwitch = SilentFrameSwitch
|
|
16396
|
+
|
|
16130
16397
|
|
|
16131
16398
|
def _deserialize(self, params):
|
|
16132
16399
|
self._DeviceId = params.get("DeviceId")
|
|
@@ -16140,6 +16407,7 @@ class UpdateUserDeviceRequest(AbstractModel):
|
|
|
16140
16407
|
self._ProtocolType = params.get("ProtocolType")
|
|
16141
16408
|
self._AudioSwitch = params.get("AudioSwitch")
|
|
16142
16409
|
self._SubscribeSwitch = params.get("SubscribeSwitch")
|
|
16410
|
+
self._SilentFrameSwitch = params.get("SilentFrameSwitch")
|
|
16143
16411
|
memeber_set = set(params.keys())
|
|
16144
16412
|
for name, value in vars(self).items():
|
|
16145
16413
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1259
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1218
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|