tencentcloud-sdk-python-iotexplorer 3.0.1187__tar.gz → 3.0.1224__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-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/tencentcloud/iotexplorer/v20190423/errorcodes.py +18 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +47 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/tencentcloud/iotexplorer/v20190423/models.py +533 -31
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1224/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1187/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1187 → tencentcloud-sdk-python-iotexplorer-3.0.1224}/tencentcloud_sdk_python_iotexplorer.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-iotexplorer',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1224"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -26,9 +26,15 @@ FAILEDOPERATION_ACTIONUNREACHABLE = 'FailedOperation.ActionUnreachable'
|
|
|
26
26
|
# 广播任务正在执行。
|
|
27
27
|
FAILEDOPERATION_BROADCASTTASKISRUNNING = 'FailedOperation.BroadcastTaskIsRunning'
|
|
28
28
|
|
|
29
|
+
# 云存 AI 套餐生效时长不能超过当前云存套餐生效时长
|
|
30
|
+
FAILEDOPERATION_CLOUDSTORAGEAIPACKAGEEXPIRETIMEEXCEEDED = 'FailedOperation.CloudStorageAIPackageExpireTimeExceeded'
|
|
31
|
+
|
|
29
32
|
# 产品未开通视频AI分析服务
|
|
30
33
|
FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = 'FailedOperation.CloudStorageAIServiceNotEnabled'
|
|
31
34
|
|
|
35
|
+
# 需先开通云存套餐
|
|
36
|
+
FAILEDOPERATION_CLOUDSTORAGEPACKAGEREQUIRED = 'FailedOperation.CloudStoragePackageRequired'
|
|
37
|
+
|
|
32
38
|
# 设备已经被禁用。
|
|
33
39
|
FAILEDOPERATION_DEVICEALREADYDISABLED = 'FailedOperation.DeviceAlreadyDisabled'
|
|
34
40
|
|
|
@@ -47,6 +53,9 @@ FAILEDOPERATION_DEVICEOFFLINE = 'FailedOperation.DeviceOffline'
|
|
|
47
53
|
# 存在其他升级任务。
|
|
48
54
|
FAILEDOPERATION_OTHERUPDATETASKEXIST = 'FailedOperation.OtherUpdateTaskExist'
|
|
49
55
|
|
|
56
|
+
# 产品未开通 IoT Video 服务
|
|
57
|
+
FAILEDOPERATION_PRODUCTIOTVIDEOSERVICENOTENABLED = 'FailedOperation.ProductIotVideoServiceNotEnabled'
|
|
58
|
+
|
|
50
59
|
# 产品尚未发布。
|
|
51
60
|
FAILEDOPERATION_PRODUCTNOTRELEASED = 'FailedOperation.ProductNotReleased'
|
|
52
61
|
|
|
@@ -137,6 +146,9 @@ INVALIDPARAMETERVALUE_APPNOTEXISTS = 'InvalidParameterValue.AppNotExists'
|
|
|
137
146
|
# 检查第三方URL超时或失败。
|
|
138
147
|
INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = 'InvalidParameterValue.CheckForwardURLFail'
|
|
139
148
|
|
|
149
|
+
# 指定的云存 AI 套餐不存在
|
|
150
|
+
INVALIDPARAMETERVALUE_CLOUDSTORAGEAIPACKAGEIDNOTEXIST = 'InvalidParameterValue.CloudStorageAIPackageIdNotExist'
|
|
151
|
+
|
|
140
152
|
# 创建的设备名已存在。
|
|
141
153
|
INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = 'InvalidParameterValue.DeviceAlreadyExist'
|
|
142
154
|
|
|
@@ -491,6 +503,12 @@ UNSUPPORTEDOPERATION_BINDSEXISTUNDERFENCE = 'UnsupportedOperation.BindsExistUnde
|
|
|
491
503
|
# 存在重复的绑定关系。
|
|
492
504
|
UNSUPPORTEDOPERATION_CANNOTREBINDFAMILY = 'UnsupportedOperation.CannotReBindFamily'
|
|
493
505
|
|
|
506
|
+
# 云存套餐与云存 AI 套餐时长不匹配
|
|
507
|
+
UNSUPPORTEDOPERATION_CLOUDSTORAGEPACKAGETIMEMISMATCH = 'UnsupportedOperation.CloudStoragePackageTimeMismatch'
|
|
508
|
+
|
|
509
|
+
# 云存套餐与云存 AI 套餐类型不匹配
|
|
510
|
+
UNSUPPORTEDOPERATION_CLOUDSTORAGEPACKAGETYPEMISMATCH = 'UnsupportedOperation.CloudStoragePackageTypeMismatch'
|
|
511
|
+
|
|
494
512
|
# 创建的设备已经存在。
|
|
495
513
|
UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = 'UnsupportedOperation.DeviceDupKeyExist'
|
|
496
514
|
|
|
@@ -279,6 +279,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
279
279
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
280
|
|
|
281
281
|
|
|
282
|
+
def CreateCloudStorageAIService(self, request):
|
|
283
|
+
"""开通设备云存AI分析服务
|
|
284
|
+
|
|
285
|
+
:param request: Request instance for CreateCloudStorageAIService.
|
|
286
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceRequest`
|
|
287
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceResponse`
|
|
288
|
+
|
|
289
|
+
"""
|
|
290
|
+
try:
|
|
291
|
+
params = request._serialize()
|
|
292
|
+
headers = request.headers
|
|
293
|
+
body = self.call("CreateCloudStorageAIService", params, headers=headers)
|
|
294
|
+
response = json.loads(body)
|
|
295
|
+
model = models.CreateCloudStorageAIServiceResponse()
|
|
296
|
+
model._deserialize(response["Response"])
|
|
297
|
+
return model
|
|
298
|
+
except Exception as e:
|
|
299
|
+
if isinstance(e, TencentCloudSDKException):
|
|
300
|
+
raise
|
|
301
|
+
else:
|
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
|
+
|
|
304
|
+
|
|
282
305
|
def CreateDevice(self, request):
|
|
283
306
|
"""创建设备
|
|
284
307
|
|
|
@@ -2534,7 +2557,7 @@ class IotexplorerClient(AbstractClient):
|
|
|
2534
2557
|
|
|
2535
2558
|
|
|
2536
2559
|
def ModifyCloudStorageAIService(self, request):
|
|
2537
|
-
"""修改指定设备的云存 AI
|
|
2560
|
+
"""修改指定设备的云存 AI 服务参数配置
|
|
2538
2561
|
|
|
2539
2562
|
:param request: Request instance for ModifyCloudStorageAIService.
|
|
2540
2563
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyCloudStorageAIServiceRequest`
|
|
@@ -3016,6 +3039,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
3016
3039
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3017
3040
|
|
|
3018
3041
|
|
|
3042
|
+
def ResetCloudStorageAIService(self, request):
|
|
3043
|
+
"""重置指定设备的云存 AI 服务
|
|
3044
|
+
|
|
3045
|
+
:param request: Request instance for ResetCloudStorageAIService.
|
|
3046
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ResetCloudStorageAIServiceRequest`
|
|
3047
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.ResetCloudStorageAIServiceResponse`
|
|
3048
|
+
|
|
3049
|
+
"""
|
|
3050
|
+
try:
|
|
3051
|
+
params = request._serialize()
|
|
3052
|
+
headers = request.headers
|
|
3053
|
+
body = self.call("ResetCloudStorageAIService", params, headers=headers)
|
|
3054
|
+
response = json.loads(body)
|
|
3055
|
+
model = models.ResetCloudStorageAIServiceResponse()
|
|
3056
|
+
model._deserialize(response["Response"])
|
|
3057
|
+
return model
|
|
3058
|
+
except Exception as e:
|
|
3059
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3060
|
+
raise
|
|
3061
|
+
else:
|
|
3062
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3063
|
+
|
|
3064
|
+
|
|
3019
3065
|
def ResetCloudStorageEvent(self, request):
|
|
3020
3066
|
"""重置云存事件
|
|
3021
3067
|
|
|
@@ -90,10 +90,18 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
|
|
|
90
90
|
:param _DeviceList: 设备激活返回数据
|
|
91
91
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
92
92
|
:type DeviceList: list of DeviceActiveResult
|
|
93
|
+
:param _FailureList: 设备激活失败返回数据
|
|
94
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
95
|
+
:type FailureList: list of DeviceActiveResult
|
|
96
|
+
:param _SuccessList: 设备激活成功返回数据
|
|
97
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
98
|
+
:type SuccessList: list of DeviceActiveResult
|
|
93
99
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
94
100
|
:type RequestId: str
|
|
95
101
|
"""
|
|
96
102
|
self._DeviceList = None
|
|
103
|
+
self._FailureList = None
|
|
104
|
+
self._SuccessList = None
|
|
97
105
|
self._RequestId = None
|
|
98
106
|
|
|
99
107
|
@property
|
|
@@ -104,6 +112,22 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
|
|
|
104
112
|
def DeviceList(self, DeviceList):
|
|
105
113
|
self._DeviceList = DeviceList
|
|
106
114
|
|
|
115
|
+
@property
|
|
116
|
+
def FailureList(self):
|
|
117
|
+
return self._FailureList
|
|
118
|
+
|
|
119
|
+
@FailureList.setter
|
|
120
|
+
def FailureList(self, FailureList):
|
|
121
|
+
self._FailureList = FailureList
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def SuccessList(self):
|
|
125
|
+
return self._SuccessList
|
|
126
|
+
|
|
127
|
+
@SuccessList.setter
|
|
128
|
+
def SuccessList(self, SuccessList):
|
|
129
|
+
self._SuccessList = SuccessList
|
|
130
|
+
|
|
107
131
|
@property
|
|
108
132
|
def RequestId(self):
|
|
109
133
|
return self._RequestId
|
|
@@ -120,6 +144,18 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
|
|
|
120
144
|
obj = DeviceActiveResult()
|
|
121
145
|
obj._deserialize(item)
|
|
122
146
|
self._DeviceList.append(obj)
|
|
147
|
+
if params.get("FailureList") is not None:
|
|
148
|
+
self._FailureList = []
|
|
149
|
+
for item in params.get("FailureList"):
|
|
150
|
+
obj = DeviceActiveResult()
|
|
151
|
+
obj._deserialize(item)
|
|
152
|
+
self._FailureList.append(obj)
|
|
153
|
+
if params.get("SuccessList") is not None:
|
|
154
|
+
self._SuccessList = []
|
|
155
|
+
for item in params.get("SuccessList"):
|
|
156
|
+
obj = DeviceActiveResult()
|
|
157
|
+
obj._deserialize(item)
|
|
158
|
+
self._SuccessList.append(obj)
|
|
123
159
|
self._RequestId = params.get("RequestId")
|
|
124
160
|
|
|
125
161
|
|
|
@@ -275,7 +311,7 @@ class AssignTWeCallLicenseRequest(AbstractModel):
|
|
|
275
311
|
:type PkgType: int
|
|
276
312
|
:param _MiniProgramAppId: appId
|
|
277
313
|
:type MiniProgramAppId: str
|
|
278
|
-
:param _DeductNum: License
|
|
314
|
+
:param _DeductNum: License数,只支持50,500,1000,5000,10000,20000,50000
|
|
279
315
|
:type DeductNum: int
|
|
280
316
|
"""
|
|
281
317
|
self._PkgType = None
|
|
@@ -1202,6 +1238,53 @@ class CallDeviceActionSyncResponse(AbstractModel):
|
|
|
1202
1238
|
self._RequestId = params.get("RequestId")
|
|
1203
1239
|
|
|
1204
1240
|
|
|
1241
|
+
class CamTag(AbstractModel):
|
|
1242
|
+
"""标签数据结构
|
|
1243
|
+
|
|
1244
|
+
"""
|
|
1245
|
+
|
|
1246
|
+
def __init__(self):
|
|
1247
|
+
r"""
|
|
1248
|
+
:param _TagKey: 标签键
|
|
1249
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1250
|
+
:type TagKey: str
|
|
1251
|
+
:param _TagValue: 标签值
|
|
1252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1253
|
+
:type TagValue: str
|
|
1254
|
+
"""
|
|
1255
|
+
self._TagKey = None
|
|
1256
|
+
self._TagValue = None
|
|
1257
|
+
|
|
1258
|
+
@property
|
|
1259
|
+
def TagKey(self):
|
|
1260
|
+
return self._TagKey
|
|
1261
|
+
|
|
1262
|
+
@TagKey.setter
|
|
1263
|
+
def TagKey(self, TagKey):
|
|
1264
|
+
self._TagKey = TagKey
|
|
1265
|
+
|
|
1266
|
+
@property
|
|
1267
|
+
def TagValue(self):
|
|
1268
|
+
return self._TagValue
|
|
1269
|
+
|
|
1270
|
+
@TagValue.setter
|
|
1271
|
+
def TagValue(self, TagValue):
|
|
1272
|
+
self._TagValue = TagValue
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
def _deserialize(self, params):
|
|
1276
|
+
self._TagKey = params.get("TagKey")
|
|
1277
|
+
self._TagValue = params.get("TagValue")
|
|
1278
|
+
memeber_set = set(params.keys())
|
|
1279
|
+
for name, value in vars(self).items():
|
|
1280
|
+
property_name = name[1:]
|
|
1281
|
+
if property_name in memeber_set:
|
|
1282
|
+
memeber_set.remove(property_name)
|
|
1283
|
+
if len(memeber_set) > 0:
|
|
1284
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1205
1288
|
class CancelAssignTWeCallLicenseRequest(AbstractModel):
|
|
1206
1289
|
"""CancelAssignTWeCallLicense请求参数结构体
|
|
1207
1290
|
|
|
@@ -1373,7 +1456,7 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
|
1373
1456
|
:type ChannelId: int
|
|
1374
1457
|
:param _ServiceType: 云存 AI 服务类型。可能取值:
|
|
1375
1458
|
|
|
1376
|
-
- `
|
|
1459
|
+
- `RealtimeObjectDetect`:目标检测
|
|
1377
1460
|
- `Highlight`:视频浓缩
|
|
1378
1461
|
:type ServiceType: str
|
|
1379
1462
|
:param _StartTime: 对应云存视频的起始时间
|
|
@@ -1390,6 +1473,8 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
|
1390
1473
|
:type CreateTime: int
|
|
1391
1474
|
:param _UpdateTime: 最后更新时间
|
|
1392
1475
|
:type UpdateTime: int
|
|
1476
|
+
:param _CustomId: 自定义任务 ID
|
|
1477
|
+
:type CustomId: str
|
|
1393
1478
|
"""
|
|
1394
1479
|
self._TaskId = None
|
|
1395
1480
|
self._ProductId = None
|
|
@@ -1403,6 +1488,7 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
|
1403
1488
|
self._Files = None
|
|
1404
1489
|
self._CreateTime = None
|
|
1405
1490
|
self._UpdateTime = None
|
|
1491
|
+
self._CustomId = None
|
|
1406
1492
|
|
|
1407
1493
|
@property
|
|
1408
1494
|
def TaskId(self):
|
|
@@ -1500,6 +1586,14 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
|
1500
1586
|
def UpdateTime(self, UpdateTime):
|
|
1501
1587
|
self._UpdateTime = UpdateTime
|
|
1502
1588
|
|
|
1589
|
+
@property
|
|
1590
|
+
def CustomId(self):
|
|
1591
|
+
return self._CustomId
|
|
1592
|
+
|
|
1593
|
+
@CustomId.setter
|
|
1594
|
+
def CustomId(self, CustomId):
|
|
1595
|
+
self._CustomId = CustomId
|
|
1596
|
+
|
|
1503
1597
|
|
|
1504
1598
|
def _deserialize(self, params):
|
|
1505
1599
|
self._TaskId = params.get("TaskId")
|
|
@@ -1514,6 +1608,7 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
|
1514
1608
|
self._Files = params.get("Files")
|
|
1515
1609
|
self._CreateTime = params.get("CreateTime")
|
|
1516
1610
|
self._UpdateTime = params.get("UpdateTime")
|
|
1611
|
+
self._CustomId = params.get("CustomId")
|
|
1517
1612
|
memeber_set = set(params.keys())
|
|
1518
1613
|
for name, value in vars(self).items():
|
|
1519
1614
|
property_name = name[1:]
|
|
@@ -2059,6 +2154,137 @@ class CreateBatchProductionResponse(AbstractModel):
|
|
|
2059
2154
|
self._RequestId = params.get("RequestId")
|
|
2060
2155
|
|
|
2061
2156
|
|
|
2157
|
+
class CreateCloudStorageAIServiceRequest(AbstractModel):
|
|
2158
|
+
"""CreateCloudStorageAIService请求参数结构体
|
|
2159
|
+
|
|
2160
|
+
"""
|
|
2161
|
+
|
|
2162
|
+
def __init__(self):
|
|
2163
|
+
r"""
|
|
2164
|
+
:param _ProductId: 产品 ID
|
|
2165
|
+
:type ProductId: str
|
|
2166
|
+
:param _DeviceName: 设备名称
|
|
2167
|
+
:type DeviceName: str
|
|
2168
|
+
:param _PackageId: 云存 AI 套餐 ID。可选值:
|
|
2169
|
+
|
|
2170
|
+
- `1m_low_od`:低功耗目标检测月套餐
|
|
2171
|
+
- `1y_low_od`:低功耗目标检测年套餐
|
|
2172
|
+
- `1m_ev_od`:事件目标检测月套餐
|
|
2173
|
+
- `1y_ev_od`:事件目标检测年套餐
|
|
2174
|
+
- `1m_ft_od`:全时目标检测月套餐
|
|
2175
|
+
- `1y_ft_od`:全时目标检测年套餐
|
|
2176
|
+
- `1m_low_hl`:低功耗视频浓缩月套餐
|
|
2177
|
+
- `1y_low_hl`:低功耗视频浓缩年套餐
|
|
2178
|
+
- `1m_ev_hl`:事件视频浓缩月套餐
|
|
2179
|
+
- `1y_ev_hl`:事件视频浓缩年套餐
|
|
2180
|
+
- `1m_ft_hl`:全时视频浓缩月套餐
|
|
2181
|
+
- `1y_ft_hl`:全时视频浓缩年套餐
|
|
2182
|
+
:type PackageId: str
|
|
2183
|
+
:param _ChannelId: 通道 ID
|
|
2184
|
+
:type ChannelId: int
|
|
2185
|
+
:param _OrderId: 订单 ID
|
|
2186
|
+
:type OrderId: str
|
|
2187
|
+
"""
|
|
2188
|
+
self._ProductId = None
|
|
2189
|
+
self._DeviceName = None
|
|
2190
|
+
self._PackageId = None
|
|
2191
|
+
self._ChannelId = None
|
|
2192
|
+
self._OrderId = None
|
|
2193
|
+
|
|
2194
|
+
@property
|
|
2195
|
+
def ProductId(self):
|
|
2196
|
+
return self._ProductId
|
|
2197
|
+
|
|
2198
|
+
@ProductId.setter
|
|
2199
|
+
def ProductId(self, ProductId):
|
|
2200
|
+
self._ProductId = ProductId
|
|
2201
|
+
|
|
2202
|
+
@property
|
|
2203
|
+
def DeviceName(self):
|
|
2204
|
+
return self._DeviceName
|
|
2205
|
+
|
|
2206
|
+
@DeviceName.setter
|
|
2207
|
+
def DeviceName(self, DeviceName):
|
|
2208
|
+
self._DeviceName = DeviceName
|
|
2209
|
+
|
|
2210
|
+
@property
|
|
2211
|
+
def PackageId(self):
|
|
2212
|
+
return self._PackageId
|
|
2213
|
+
|
|
2214
|
+
@PackageId.setter
|
|
2215
|
+
def PackageId(self, PackageId):
|
|
2216
|
+
self._PackageId = PackageId
|
|
2217
|
+
|
|
2218
|
+
@property
|
|
2219
|
+
def ChannelId(self):
|
|
2220
|
+
return self._ChannelId
|
|
2221
|
+
|
|
2222
|
+
@ChannelId.setter
|
|
2223
|
+
def ChannelId(self, ChannelId):
|
|
2224
|
+
self._ChannelId = ChannelId
|
|
2225
|
+
|
|
2226
|
+
@property
|
|
2227
|
+
def OrderId(self):
|
|
2228
|
+
return self._OrderId
|
|
2229
|
+
|
|
2230
|
+
@OrderId.setter
|
|
2231
|
+
def OrderId(self, OrderId):
|
|
2232
|
+
self._OrderId = OrderId
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
def _deserialize(self, params):
|
|
2236
|
+
self._ProductId = params.get("ProductId")
|
|
2237
|
+
self._DeviceName = params.get("DeviceName")
|
|
2238
|
+
self._PackageId = params.get("PackageId")
|
|
2239
|
+
self._ChannelId = params.get("ChannelId")
|
|
2240
|
+
self._OrderId = params.get("OrderId")
|
|
2241
|
+
memeber_set = set(params.keys())
|
|
2242
|
+
for name, value in vars(self).items():
|
|
2243
|
+
property_name = name[1:]
|
|
2244
|
+
if property_name in memeber_set:
|
|
2245
|
+
memeber_set.remove(property_name)
|
|
2246
|
+
if len(memeber_set) > 0:
|
|
2247
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2248
|
+
|
|
2249
|
+
|
|
2250
|
+
|
|
2251
|
+
class CreateCloudStorageAIServiceResponse(AbstractModel):
|
|
2252
|
+
"""CreateCloudStorageAIService返回参数结构体
|
|
2253
|
+
|
|
2254
|
+
"""
|
|
2255
|
+
|
|
2256
|
+
def __init__(self):
|
|
2257
|
+
r"""
|
|
2258
|
+
:param _OrderId: 订单 ID
|
|
2259
|
+
:type OrderId: str
|
|
2260
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2261
|
+
:type RequestId: str
|
|
2262
|
+
"""
|
|
2263
|
+
self._OrderId = None
|
|
2264
|
+
self._RequestId = None
|
|
2265
|
+
|
|
2266
|
+
@property
|
|
2267
|
+
def OrderId(self):
|
|
2268
|
+
return self._OrderId
|
|
2269
|
+
|
|
2270
|
+
@OrderId.setter
|
|
2271
|
+
def OrderId(self, OrderId):
|
|
2272
|
+
self._OrderId = OrderId
|
|
2273
|
+
|
|
2274
|
+
@property
|
|
2275
|
+
def RequestId(self):
|
|
2276
|
+
return self._RequestId
|
|
2277
|
+
|
|
2278
|
+
@RequestId.setter
|
|
2279
|
+
def RequestId(self, RequestId):
|
|
2280
|
+
self._RequestId = RequestId
|
|
2281
|
+
|
|
2282
|
+
|
|
2283
|
+
def _deserialize(self, params):
|
|
2284
|
+
self._OrderId = params.get("OrderId")
|
|
2285
|
+
self._RequestId = params.get("RequestId")
|
|
2286
|
+
|
|
2287
|
+
|
|
2062
2288
|
class CreateDeviceRequest(AbstractModel):
|
|
2063
2289
|
"""CreateDevice请求参数结构体
|
|
2064
2290
|
|
|
@@ -4671,7 +4897,7 @@ class DescribeCloudStorageAIServiceCallbackRequest(AbstractModel):
|
|
|
4671
4897
|
|
|
4672
4898
|
def __init__(self):
|
|
4673
4899
|
r"""
|
|
4674
|
-
:param _ProductId: 产品ID
|
|
4900
|
+
:param _ProductId: 产品 ID
|
|
4675
4901
|
:type ProductId: str
|
|
4676
4902
|
"""
|
|
4677
4903
|
self._ProductId = None
|
|
@@ -4767,13 +4993,12 @@ class DescribeCloudStorageAIServiceRequest(AbstractModel):
|
|
|
4767
4993
|
|
|
4768
4994
|
def __init__(self):
|
|
4769
4995
|
r"""
|
|
4770
|
-
:param _ProductId: 产品ID
|
|
4996
|
+
:param _ProductId: 产品 ID
|
|
4771
4997
|
:type ProductId: str
|
|
4772
4998
|
:param _DeviceName: 设备名称
|
|
4773
4999
|
:type DeviceName: str
|
|
4774
5000
|
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
4775
|
-
|
|
4776
|
-
- `PackageDetect`:包裹检测
|
|
5001
|
+
- `RealtimeObjectDetect`:目标检测
|
|
4777
5002
|
- `Highlight`:视频浓缩
|
|
4778
5003
|
:type ServiceType: str
|
|
4779
5004
|
"""
|
|
@@ -4827,20 +5052,71 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4827
5052
|
|
|
4828
5053
|
def __init__(self):
|
|
4829
5054
|
r"""
|
|
4830
|
-
:param
|
|
5055
|
+
:param _Type: 云存 AI 套餐类型。可能取值:
|
|
5056
|
+
|
|
5057
|
+
- `1`:全时套餐
|
|
5058
|
+
- `2`:事件套餐
|
|
5059
|
+
- `3`:低功耗套餐
|
|
5060
|
+
:type Type: int
|
|
5061
|
+
:param _Status: 云存 AI 套餐生效状态。可能取值:
|
|
5062
|
+
|
|
5063
|
+
- `0`:未开通或已过期
|
|
5064
|
+
- `1`:生效中
|
|
5065
|
+
:type Status: int
|
|
5066
|
+
:param _ExpireTime: 云存 AI 套餐过期时间 UNIX 时间戳
|
|
5067
|
+
:type ExpireTime: int
|
|
5068
|
+
:param _UserId: 用户 ID
|
|
5069
|
+
:type UserId: str
|
|
5070
|
+
:param _Enabled: 视频分析启用状态
|
|
4831
5071
|
:type Enabled: bool
|
|
4832
|
-
:param
|
|
4833
|
-
:type ROI: str
|
|
4834
|
-
:param _Config: 云存 AI 服务的配置参数
|
|
5072
|
+
:param _Config: 视频分析配置参数
|
|
4835
5073
|
:type Config: str
|
|
5074
|
+
:param _ROI: 视频分析识别区域
|
|
5075
|
+
:type ROI: str
|
|
4836
5076
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4837
5077
|
:type RequestId: str
|
|
4838
5078
|
"""
|
|
5079
|
+
self._Type = None
|
|
5080
|
+
self._Status = None
|
|
5081
|
+
self._ExpireTime = None
|
|
5082
|
+
self._UserId = None
|
|
4839
5083
|
self._Enabled = None
|
|
4840
|
-
self._ROI = None
|
|
4841
5084
|
self._Config = None
|
|
5085
|
+
self._ROI = None
|
|
4842
5086
|
self._RequestId = None
|
|
4843
5087
|
|
|
5088
|
+
@property
|
|
5089
|
+
def Type(self):
|
|
5090
|
+
return self._Type
|
|
5091
|
+
|
|
5092
|
+
@Type.setter
|
|
5093
|
+
def Type(self, Type):
|
|
5094
|
+
self._Type = Type
|
|
5095
|
+
|
|
5096
|
+
@property
|
|
5097
|
+
def Status(self):
|
|
5098
|
+
return self._Status
|
|
5099
|
+
|
|
5100
|
+
@Status.setter
|
|
5101
|
+
def Status(self, Status):
|
|
5102
|
+
self._Status = Status
|
|
5103
|
+
|
|
5104
|
+
@property
|
|
5105
|
+
def ExpireTime(self):
|
|
5106
|
+
return self._ExpireTime
|
|
5107
|
+
|
|
5108
|
+
@ExpireTime.setter
|
|
5109
|
+
def ExpireTime(self, ExpireTime):
|
|
5110
|
+
self._ExpireTime = ExpireTime
|
|
5111
|
+
|
|
5112
|
+
@property
|
|
5113
|
+
def UserId(self):
|
|
5114
|
+
return self._UserId
|
|
5115
|
+
|
|
5116
|
+
@UserId.setter
|
|
5117
|
+
def UserId(self, UserId):
|
|
5118
|
+
self._UserId = UserId
|
|
5119
|
+
|
|
4844
5120
|
@property
|
|
4845
5121
|
def Enabled(self):
|
|
4846
5122
|
return self._Enabled
|
|
@@ -4849,14 +5125,6 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4849
5125
|
def Enabled(self, Enabled):
|
|
4850
5126
|
self._Enabled = Enabled
|
|
4851
5127
|
|
|
4852
|
-
@property
|
|
4853
|
-
def ROI(self):
|
|
4854
|
-
return self._ROI
|
|
4855
|
-
|
|
4856
|
-
@ROI.setter
|
|
4857
|
-
def ROI(self, ROI):
|
|
4858
|
-
self._ROI = ROI
|
|
4859
|
-
|
|
4860
5128
|
@property
|
|
4861
5129
|
def Config(self):
|
|
4862
5130
|
return self._Config
|
|
@@ -4865,6 +5133,14 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4865
5133
|
def Config(self, Config):
|
|
4866
5134
|
self._Config = Config
|
|
4867
5135
|
|
|
5136
|
+
@property
|
|
5137
|
+
def ROI(self):
|
|
5138
|
+
return self._ROI
|
|
5139
|
+
|
|
5140
|
+
@ROI.setter
|
|
5141
|
+
def ROI(self, ROI):
|
|
5142
|
+
self._ROI = ROI
|
|
5143
|
+
|
|
4868
5144
|
@property
|
|
4869
5145
|
def RequestId(self):
|
|
4870
5146
|
return self._RequestId
|
|
@@ -4875,9 +5151,13 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
4875
5151
|
|
|
4876
5152
|
|
|
4877
5153
|
def _deserialize(self, params):
|
|
5154
|
+
self._Type = params.get("Type")
|
|
5155
|
+
self._Status = params.get("Status")
|
|
5156
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
5157
|
+
self._UserId = params.get("UserId")
|
|
4878
5158
|
self._Enabled = params.get("Enabled")
|
|
4879
|
-
self._ROI = params.get("ROI")
|
|
4880
5159
|
self._Config = params.get("Config")
|
|
5160
|
+
self._ROI = params.get("ROI")
|
|
4881
5161
|
self._RequestId = params.get("RequestId")
|
|
4882
5162
|
|
|
4883
5163
|
|
|
@@ -4965,7 +5245,7 @@ class DescribeCloudStorageAIServiceTasksRequest(AbstractModel):
|
|
|
4965
5245
|
:param _DeviceName: 设备名称
|
|
4966
5246
|
:type DeviceName: str
|
|
4967
5247
|
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
4968
|
-
- `
|
|
5248
|
+
- `RealtimeObjectDetect`:目标检测
|
|
4969
5249
|
- `Highlight`:视频浓缩
|
|
4970
5250
|
:type ServiceType: str
|
|
4971
5251
|
:param _Limit: 分页拉取数量
|
|
@@ -4979,9 +5259,9 @@ class DescribeCloudStorageAIServiceTasksRequest(AbstractModel):
|
|
|
4979
5259
|
- `3`:成功且结果非空
|
|
4980
5260
|
- `4`:执行中
|
|
4981
5261
|
:type Status: int
|
|
4982
|
-
:param _UserId: 用户ID
|
|
5262
|
+
:param _UserId: 用户 ID
|
|
4983
5263
|
:type UserId: str
|
|
4984
|
-
:param _ChannelId: 通道ID
|
|
5264
|
+
:param _ChannelId: 通道 ID
|
|
4985
5265
|
:type ChannelId: int
|
|
4986
5266
|
"""
|
|
4987
5267
|
self._ProductId = None
|
|
@@ -9419,7 +9699,7 @@ class DescribeProductCloudStorageAIServiceRequest(AbstractModel):
|
|
|
9419
9699
|
|
|
9420
9700
|
def __init__(self):
|
|
9421
9701
|
r"""
|
|
9422
|
-
:param _ProductId: 产品ID
|
|
9702
|
+
:param _ProductId: 产品 ID
|
|
9423
9703
|
:type ProductId: str
|
|
9424
9704
|
"""
|
|
9425
9705
|
self._ProductId = None
|
|
@@ -9923,10 +10203,14 @@ class DescribeTopicRuleResponse(AbstractModel):
|
|
|
9923
10203
|
:param _Rule: 规则描述。
|
|
9924
10204
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9925
10205
|
:type Rule: :class:`tencentcloud.iotexplorer.v20190423.models.TopicRule`
|
|
10206
|
+
:param _CamTag: 规则绑定的标签
|
|
10207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10208
|
+
:type CamTag: list of CamTag
|
|
9926
10209
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9927
10210
|
:type RequestId: str
|
|
9928
10211
|
"""
|
|
9929
10212
|
self._Rule = None
|
|
10213
|
+
self._CamTag = None
|
|
9930
10214
|
self._RequestId = None
|
|
9931
10215
|
|
|
9932
10216
|
@property
|
|
@@ -9937,6 +10221,14 @@ class DescribeTopicRuleResponse(AbstractModel):
|
|
|
9937
10221
|
def Rule(self, Rule):
|
|
9938
10222
|
self._Rule = Rule
|
|
9939
10223
|
|
|
10224
|
+
@property
|
|
10225
|
+
def CamTag(self):
|
|
10226
|
+
return self._CamTag
|
|
10227
|
+
|
|
10228
|
+
@CamTag.setter
|
|
10229
|
+
def CamTag(self, CamTag):
|
|
10230
|
+
self._CamTag = CamTag
|
|
10231
|
+
|
|
9940
10232
|
@property
|
|
9941
10233
|
def RequestId(self):
|
|
9942
10234
|
return self._RequestId
|
|
@@ -9950,6 +10242,12 @@ class DescribeTopicRuleResponse(AbstractModel):
|
|
|
9950
10242
|
if params.get("Rule") is not None:
|
|
9951
10243
|
self._Rule = TopicRule()
|
|
9952
10244
|
self._Rule._deserialize(params.get("Rule"))
|
|
10245
|
+
if params.get("CamTag") is not None:
|
|
10246
|
+
self._CamTag = []
|
|
10247
|
+
for item in params.get("CamTag"):
|
|
10248
|
+
obj = CamTag()
|
|
10249
|
+
obj._deserialize(item)
|
|
10250
|
+
self._CamTag.append(obj)
|
|
9953
10251
|
self._RequestId = params.get("RequestId")
|
|
9954
10252
|
|
|
9955
10253
|
|
|
@@ -9969,10 +10267,14 @@ class DeviceActiveResult(AbstractModel):
|
|
|
9969
10267
|
:param _ErrCode: 设备激活状态,0:激活成功;9800020:设备数超出限制;9800040:资源包类型和设备类型不匹配;9800039:资源包余额不足;9800037:激活码序号已使用;9800038:设备有效期超出限制;
|
|
9970
10268
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9971
10269
|
:type ErrCode: int
|
|
10270
|
+
:param _ExpireTime: 过期时间
|
|
10271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10272
|
+
:type ExpireTime: int
|
|
9972
10273
|
"""
|
|
9973
10274
|
self._ModelId = None
|
|
9974
10275
|
self._Sn = None
|
|
9975
10276
|
self._ErrCode = None
|
|
10277
|
+
self._ExpireTime = None
|
|
9976
10278
|
|
|
9977
10279
|
@property
|
|
9978
10280
|
def ModelId(self):
|
|
@@ -9998,11 +10300,20 @@ class DeviceActiveResult(AbstractModel):
|
|
|
9998
10300
|
def ErrCode(self, ErrCode):
|
|
9999
10301
|
self._ErrCode = ErrCode
|
|
10000
10302
|
|
|
10303
|
+
@property
|
|
10304
|
+
def ExpireTime(self):
|
|
10305
|
+
return self._ExpireTime
|
|
10306
|
+
|
|
10307
|
+
@ExpireTime.setter
|
|
10308
|
+
def ExpireTime(self, ExpireTime):
|
|
10309
|
+
self._ExpireTime = ExpireTime
|
|
10310
|
+
|
|
10001
10311
|
|
|
10002
10312
|
def _deserialize(self, params):
|
|
10003
10313
|
self._ModelId = params.get("ModelId")
|
|
10004
10314
|
self._Sn = params.get("Sn")
|
|
10005
10315
|
self._ErrCode = params.get("ErrCode")
|
|
10316
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
10006
10317
|
memeber_set = set(params.keys())
|
|
10007
10318
|
for name, value in vars(self).items():
|
|
10008
10319
|
property_name = name[1:]
|
|
@@ -11519,6 +11830,55 @@ class FenceEventItem(AbstractModel):
|
|
|
11519
11830
|
|
|
11520
11831
|
|
|
11521
11832
|
|
|
11833
|
+
class Filter(AbstractModel):
|
|
11834
|
+
"""描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
|
11835
|
+
|
|
11836
|
+
- 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
11837
|
+
|
|
11838
|
+
- 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
|
11839
|
+
|
|
11840
|
+
"""
|
|
11841
|
+
|
|
11842
|
+
def __init__(self):
|
|
11843
|
+
r"""
|
|
11844
|
+
:param _Name: 需要过滤的字段
|
|
11845
|
+
:type Name: str
|
|
11846
|
+
:param _Values: 字段的过滤的一个或多个值
|
|
11847
|
+
:type Values: list of str
|
|
11848
|
+
"""
|
|
11849
|
+
self._Name = None
|
|
11850
|
+
self._Values = None
|
|
11851
|
+
|
|
11852
|
+
@property
|
|
11853
|
+
def Name(self):
|
|
11854
|
+
return self._Name
|
|
11855
|
+
|
|
11856
|
+
@Name.setter
|
|
11857
|
+
def Name(self, Name):
|
|
11858
|
+
self._Name = Name
|
|
11859
|
+
|
|
11860
|
+
@property
|
|
11861
|
+
def Values(self):
|
|
11862
|
+
return self._Values
|
|
11863
|
+
|
|
11864
|
+
@Values.setter
|
|
11865
|
+
def Values(self, Values):
|
|
11866
|
+
self._Values = Values
|
|
11867
|
+
|
|
11868
|
+
|
|
11869
|
+
def _deserialize(self, params):
|
|
11870
|
+
self._Name = params.get("Name")
|
|
11871
|
+
self._Values = params.get("Values")
|
|
11872
|
+
memeber_set = set(params.keys())
|
|
11873
|
+
for name, value in vars(self).items():
|
|
11874
|
+
property_name = name[1:]
|
|
11875
|
+
if property_name in memeber_set:
|
|
11876
|
+
memeber_set.remove(property_name)
|
|
11877
|
+
if len(memeber_set) > 0:
|
|
11878
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11879
|
+
|
|
11880
|
+
|
|
11881
|
+
|
|
11522
11882
|
class FirmwareInfo(AbstractModel):
|
|
11523
11883
|
"""设备固件详细信息
|
|
11524
11884
|
|
|
@@ -12312,6 +12672,8 @@ class GetDeviceListRequest(AbstractModel):
|
|
|
12312
12672
|
:type DeviceName: str
|
|
12313
12673
|
:param _ProjectId: 项目ID。产品 ID 为 -1 时,该参数必填
|
|
12314
12674
|
:type ProjectId: str
|
|
12675
|
+
:param _Filters: 每次请求的Filters的上限为10,Filter.Values的上限为1。
|
|
12676
|
+
:type Filters: list of Filter
|
|
12315
12677
|
"""
|
|
12316
12678
|
self._ProductId = None
|
|
12317
12679
|
self._Offset = None
|
|
@@ -12319,6 +12681,7 @@ class GetDeviceListRequest(AbstractModel):
|
|
|
12319
12681
|
self._FirmwareVersion = None
|
|
12320
12682
|
self._DeviceName = None
|
|
12321
12683
|
self._ProjectId = None
|
|
12684
|
+
self._Filters = None
|
|
12322
12685
|
|
|
12323
12686
|
@property
|
|
12324
12687
|
def ProductId(self):
|
|
@@ -12368,6 +12731,14 @@ class GetDeviceListRequest(AbstractModel):
|
|
|
12368
12731
|
def ProjectId(self, ProjectId):
|
|
12369
12732
|
self._ProjectId = ProjectId
|
|
12370
12733
|
|
|
12734
|
+
@property
|
|
12735
|
+
def Filters(self):
|
|
12736
|
+
return self._Filters
|
|
12737
|
+
|
|
12738
|
+
@Filters.setter
|
|
12739
|
+
def Filters(self, Filters):
|
|
12740
|
+
self._Filters = Filters
|
|
12741
|
+
|
|
12371
12742
|
|
|
12372
12743
|
def _deserialize(self, params):
|
|
12373
12744
|
self._ProductId = params.get("ProductId")
|
|
@@ -12376,6 +12747,12 @@ class GetDeviceListRequest(AbstractModel):
|
|
|
12376
12747
|
self._FirmwareVersion = params.get("FirmwareVersion")
|
|
12377
12748
|
self._DeviceName = params.get("DeviceName")
|
|
12378
12749
|
self._ProjectId = params.get("ProjectId")
|
|
12750
|
+
if params.get("Filters") is not None:
|
|
12751
|
+
self._Filters = []
|
|
12752
|
+
for item in params.get("Filters"):
|
|
12753
|
+
obj = Filter()
|
|
12754
|
+
obj._deserialize(item)
|
|
12755
|
+
self._Filters.append(obj)
|
|
12379
12756
|
memeber_set = set(params.keys())
|
|
12380
12757
|
for name, value in vars(self).items():
|
|
12381
12758
|
property_name = name[1:]
|
|
@@ -15093,7 +15470,7 @@ class ModifyCloudStorageAIServiceCallbackRequest(AbstractModel):
|
|
|
15093
15470
|
|
|
15094
15471
|
def __init__(self):
|
|
15095
15472
|
r"""
|
|
15096
|
-
:param _ProductId: 产品ID
|
|
15473
|
+
:param _ProductId: 产品 ID
|
|
15097
15474
|
:type ProductId: str
|
|
15098
15475
|
:param _Type: 推送类型。可选值:
|
|
15099
15476
|
- `http`:HTTP 回调
|
|
@@ -15188,19 +15565,19 @@ class ModifyCloudStorageAIServiceRequest(AbstractModel):
|
|
|
15188
15565
|
|
|
15189
15566
|
def __init__(self):
|
|
15190
15567
|
r"""
|
|
15191
|
-
:param _ProductId: 产品ID
|
|
15568
|
+
:param _ProductId: 产品 ID
|
|
15192
15569
|
:type ProductId: str
|
|
15193
15570
|
:param _DeviceName: 设备名称
|
|
15194
15571
|
:type DeviceName: str
|
|
15195
15572
|
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
15196
|
-
- `
|
|
15573
|
+
- `RealtimeObjectDetect`:目标检测
|
|
15197
15574
|
- `Highlight`:视频浓缩
|
|
15198
15575
|
:type ServiceType: str
|
|
15199
|
-
:param _Enabled:
|
|
15576
|
+
:param _Enabled: 视频分析启用状态
|
|
15200
15577
|
:type Enabled: bool
|
|
15201
|
-
:param _ROI:
|
|
15578
|
+
:param _ROI: 视频分析识别区域
|
|
15202
15579
|
:type ROI: str
|
|
15203
|
-
:param _Config:
|
|
15580
|
+
:param _Config: 视频分析配置参数
|
|
15204
15581
|
:type Config: str
|
|
15205
15582
|
"""
|
|
15206
15583
|
self._ProductId = None
|
|
@@ -15928,7 +16305,7 @@ class ModifyProductCloudStorageAIServiceRequest(AbstractModel):
|
|
|
15928
16305
|
|
|
15929
16306
|
def __init__(self):
|
|
15930
16307
|
r"""
|
|
15931
|
-
:param _ProductId: 产品ID
|
|
16308
|
+
:param _ProductId: 产品 ID
|
|
15932
16309
|
:type ProductId: str
|
|
15933
16310
|
:param _Enabled: 开通状态
|
|
15934
16311
|
:type Enabled: bool
|
|
@@ -18360,6 +18737,114 @@ class RemoveUserByRoomIdFromTRTCResponse(AbstractModel):
|
|
|
18360
18737
|
self._RequestId = params.get("RequestId")
|
|
18361
18738
|
|
|
18362
18739
|
|
|
18740
|
+
class ResetCloudStorageAIServiceRequest(AbstractModel):
|
|
18741
|
+
"""ResetCloudStorageAIService请求参数结构体
|
|
18742
|
+
|
|
18743
|
+
"""
|
|
18744
|
+
|
|
18745
|
+
def __init__(self):
|
|
18746
|
+
r"""
|
|
18747
|
+
:param _ProductId: 产品 ID
|
|
18748
|
+
:type ProductId: str
|
|
18749
|
+
:param _DeviceName: 设备名称
|
|
18750
|
+
:type DeviceName: str
|
|
18751
|
+
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
18752
|
+
- `RealtimeObjectDetect`:目标检测
|
|
18753
|
+
- `Highlight`:视频浓缩
|
|
18754
|
+
:type ServiceType: str
|
|
18755
|
+
:param _ChannelId: 通道 ID
|
|
18756
|
+
:type ChannelId: int
|
|
18757
|
+
:param _UserId: 用户 ID
|
|
18758
|
+
:type UserId: str
|
|
18759
|
+
"""
|
|
18760
|
+
self._ProductId = None
|
|
18761
|
+
self._DeviceName = None
|
|
18762
|
+
self._ServiceType = None
|
|
18763
|
+
self._ChannelId = None
|
|
18764
|
+
self._UserId = None
|
|
18765
|
+
|
|
18766
|
+
@property
|
|
18767
|
+
def ProductId(self):
|
|
18768
|
+
return self._ProductId
|
|
18769
|
+
|
|
18770
|
+
@ProductId.setter
|
|
18771
|
+
def ProductId(self, ProductId):
|
|
18772
|
+
self._ProductId = ProductId
|
|
18773
|
+
|
|
18774
|
+
@property
|
|
18775
|
+
def DeviceName(self):
|
|
18776
|
+
return self._DeviceName
|
|
18777
|
+
|
|
18778
|
+
@DeviceName.setter
|
|
18779
|
+
def DeviceName(self, DeviceName):
|
|
18780
|
+
self._DeviceName = DeviceName
|
|
18781
|
+
|
|
18782
|
+
@property
|
|
18783
|
+
def ServiceType(self):
|
|
18784
|
+
return self._ServiceType
|
|
18785
|
+
|
|
18786
|
+
@ServiceType.setter
|
|
18787
|
+
def ServiceType(self, ServiceType):
|
|
18788
|
+
self._ServiceType = ServiceType
|
|
18789
|
+
|
|
18790
|
+
@property
|
|
18791
|
+
def ChannelId(self):
|
|
18792
|
+
return self._ChannelId
|
|
18793
|
+
|
|
18794
|
+
@ChannelId.setter
|
|
18795
|
+
def ChannelId(self, ChannelId):
|
|
18796
|
+
self._ChannelId = ChannelId
|
|
18797
|
+
|
|
18798
|
+
@property
|
|
18799
|
+
def UserId(self):
|
|
18800
|
+
return self._UserId
|
|
18801
|
+
|
|
18802
|
+
@UserId.setter
|
|
18803
|
+
def UserId(self, UserId):
|
|
18804
|
+
self._UserId = UserId
|
|
18805
|
+
|
|
18806
|
+
|
|
18807
|
+
def _deserialize(self, params):
|
|
18808
|
+
self._ProductId = params.get("ProductId")
|
|
18809
|
+
self._DeviceName = params.get("DeviceName")
|
|
18810
|
+
self._ServiceType = params.get("ServiceType")
|
|
18811
|
+
self._ChannelId = params.get("ChannelId")
|
|
18812
|
+
self._UserId = params.get("UserId")
|
|
18813
|
+
memeber_set = set(params.keys())
|
|
18814
|
+
for name, value in vars(self).items():
|
|
18815
|
+
property_name = name[1:]
|
|
18816
|
+
if property_name in memeber_set:
|
|
18817
|
+
memeber_set.remove(property_name)
|
|
18818
|
+
if len(memeber_set) > 0:
|
|
18819
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18820
|
+
|
|
18821
|
+
|
|
18822
|
+
|
|
18823
|
+
class ResetCloudStorageAIServiceResponse(AbstractModel):
|
|
18824
|
+
"""ResetCloudStorageAIService返回参数结构体
|
|
18825
|
+
|
|
18826
|
+
"""
|
|
18827
|
+
|
|
18828
|
+
def __init__(self):
|
|
18829
|
+
r"""
|
|
18830
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18831
|
+
:type RequestId: str
|
|
18832
|
+
"""
|
|
18833
|
+
self._RequestId = None
|
|
18834
|
+
|
|
18835
|
+
@property
|
|
18836
|
+
def RequestId(self):
|
|
18837
|
+
return self._RequestId
|
|
18838
|
+
|
|
18839
|
+
@RequestId.setter
|
|
18840
|
+
def RequestId(self, RequestId):
|
|
18841
|
+
self._RequestId = RequestId
|
|
18842
|
+
|
|
18843
|
+
|
|
18844
|
+
def _deserialize(self, params):
|
|
18845
|
+
self._RequestId = params.get("RequestId")
|
|
18846
|
+
|
|
18847
|
+
|
|
18363
18848
|
class ResetCloudStorageEventRequest(AbstractModel):
|
|
18364
18849
|
"""ResetCloudStorageEvent请求参数结构体
|
|
18365
18850
|
|
|
@@ -18737,6 +19222,8 @@ class SearchStudioProductRequest(AbstractModel):
|
|
|
18737
19222
|
:type DevStatus: str
|
|
18738
19223
|
:param _ProductId: 产品ID
|
|
18739
19224
|
:type ProductId: str
|
|
19225
|
+
:param _Filters: 每次请求的Filters的上限为10,Filter.Values的上限为1。
|
|
19226
|
+
:type Filters: list of Filter
|
|
18740
19227
|
"""
|
|
18741
19228
|
self._ProjectId = None
|
|
18742
19229
|
self._ProductName = None
|
|
@@ -18744,6 +19231,7 @@ class SearchStudioProductRequest(AbstractModel):
|
|
|
18744
19231
|
self._Offset = None
|
|
18745
19232
|
self._DevStatus = None
|
|
18746
19233
|
self._ProductId = None
|
|
19234
|
+
self._Filters = None
|
|
18747
19235
|
|
|
18748
19236
|
@property
|
|
18749
19237
|
def ProjectId(self):
|
|
@@ -18793,6 +19281,14 @@ class SearchStudioProductRequest(AbstractModel):
|
|
|
18793
19281
|
def ProductId(self, ProductId):
|
|
18794
19282
|
self._ProductId = ProductId
|
|
18795
19283
|
|
|
19284
|
+
@property
|
|
19285
|
+
def Filters(self):
|
|
19286
|
+
return self._Filters
|
|
19287
|
+
|
|
19288
|
+
@Filters.setter
|
|
19289
|
+
def Filters(self, Filters):
|
|
19290
|
+
self._Filters = Filters
|
|
19291
|
+
|
|
18796
19292
|
|
|
18797
19293
|
def _deserialize(self, params):
|
|
18798
19294
|
self._ProjectId = params.get("ProjectId")
|
|
@@ -18801,6 +19297,12 @@ class SearchStudioProductRequest(AbstractModel):
|
|
|
18801
19297
|
self._Offset = params.get("Offset")
|
|
18802
19298
|
self._DevStatus = params.get("DevStatus")
|
|
18803
19299
|
self._ProductId = params.get("ProductId")
|
|
19300
|
+
if params.get("Filters") is not None:
|
|
19301
|
+
self._Filters = []
|
|
19302
|
+
for item in params.get("Filters"):
|
|
19303
|
+
obj = Filter()
|
|
19304
|
+
obj._deserialize(item)
|
|
19305
|
+
self._Filters.append(obj)
|
|
18804
19306
|
memeber_set = set(params.keys())
|
|
18805
19307
|
for name, value in vars(self).items():
|
|
18806
19308
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1224
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1187
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|