tencentcloud-sdk-python-iotexplorer 3.0.1401__tar.gz → 3.0.1405__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.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/tencentcloud/iotexplorer/v20190423/models.py +306 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1405/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1401/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1401 → tencentcloud-sdk-python-iotexplorer-3.0.1405}/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.1405"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -256,6 +256,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
256
256
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
257
|
|
|
258
258
|
|
|
259
|
+
def CreateAISearchTaskAsync(self, request):
|
|
260
|
+
"""创建视频语义异步搜索任务
|
|
261
|
+
|
|
262
|
+
:param request: Request instance for CreateAISearchTaskAsync.
|
|
263
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateAISearchTaskAsyncRequest`
|
|
264
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateAISearchTaskAsyncResponse`
|
|
265
|
+
|
|
266
|
+
"""
|
|
267
|
+
try:
|
|
268
|
+
params = request._serialize()
|
|
269
|
+
headers = request.headers
|
|
270
|
+
body = self.call("CreateAISearchTaskAsync", params, headers=headers)
|
|
271
|
+
response = json.loads(body)
|
|
272
|
+
model = models.CreateAISearchTaskAsyncResponse()
|
|
273
|
+
model._deserialize(response["Response"])
|
|
274
|
+
return model
|
|
275
|
+
except Exception as e:
|
|
276
|
+
if isinstance(e, TencentCloudSDKException):
|
|
277
|
+
raise
|
|
278
|
+
else:
|
|
279
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
|
+
|
|
281
|
+
|
|
259
282
|
def CreateBatchProduction(self, request):
|
|
260
283
|
"""用于新建批量生产设备
|
|
261
284
|
|
|
@@ -969,6 +992,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
969
992
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
970
993
|
|
|
971
994
|
|
|
995
|
+
def DescribeAISearchTaskAsync(self, request):
|
|
996
|
+
"""获取视频语义异步搜索任务详情
|
|
997
|
+
|
|
998
|
+
:param request: Request instance for DescribeAISearchTaskAsync.
|
|
999
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeAISearchTaskAsyncRequest`
|
|
1000
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeAISearchTaskAsyncResponse`
|
|
1001
|
+
|
|
1002
|
+
"""
|
|
1003
|
+
try:
|
|
1004
|
+
params = request._serialize()
|
|
1005
|
+
headers = request.headers
|
|
1006
|
+
body = self.call("DescribeAISearchTaskAsync", params, headers=headers)
|
|
1007
|
+
response = json.loads(body)
|
|
1008
|
+
model = models.DescribeAISearchTaskAsyncResponse()
|
|
1009
|
+
model._deserialize(response["Response"])
|
|
1010
|
+
return model
|
|
1011
|
+
except Exception as e:
|
|
1012
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1013
|
+
raise
|
|
1014
|
+
else:
|
|
1015
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1016
|
+
|
|
1017
|
+
|
|
972
1018
|
def DescribeActivateDevice(self, request):
|
|
973
1019
|
"""获取设备激活详情
|
|
974
1020
|
|
|
@@ -18,6 +18,77 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
class AISearchInfo(AbstractModel):
|
|
22
|
+
"""AI视频搜索结果结构体。
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _Summary: 基于搜索结果的总结
|
|
29
|
+
:type Summary: str
|
|
30
|
+
:param _Targets: 视频结果集
|
|
31
|
+
:type Targets: list of TargetInfo
|
|
32
|
+
:param _VideoURL: 视频回放URL
|
|
33
|
+
:type VideoURL: str
|
|
34
|
+
"""
|
|
35
|
+
self._Summary = None
|
|
36
|
+
self._Targets = None
|
|
37
|
+
self._VideoURL = None
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def Summary(self):
|
|
41
|
+
"""基于搜索结果的总结
|
|
42
|
+
:rtype: str
|
|
43
|
+
"""
|
|
44
|
+
return self._Summary
|
|
45
|
+
|
|
46
|
+
@Summary.setter
|
|
47
|
+
def Summary(self, Summary):
|
|
48
|
+
self._Summary = Summary
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def Targets(self):
|
|
52
|
+
"""视频结果集
|
|
53
|
+
:rtype: list of TargetInfo
|
|
54
|
+
"""
|
|
55
|
+
return self._Targets
|
|
56
|
+
|
|
57
|
+
@Targets.setter
|
|
58
|
+
def Targets(self, Targets):
|
|
59
|
+
self._Targets = Targets
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
def VideoURL(self):
|
|
63
|
+
"""视频回放URL
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._VideoURL
|
|
67
|
+
|
|
68
|
+
@VideoURL.setter
|
|
69
|
+
def VideoURL(self, VideoURL):
|
|
70
|
+
self._VideoURL = VideoURL
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def _deserialize(self, params):
|
|
74
|
+
self._Summary = params.get("Summary")
|
|
75
|
+
if params.get("Targets") is not None:
|
|
76
|
+
self._Targets = []
|
|
77
|
+
for item in params.get("Targets"):
|
|
78
|
+
obj = TargetInfo()
|
|
79
|
+
obj._deserialize(item)
|
|
80
|
+
self._Targets.append(obj)
|
|
81
|
+
self._VideoURL = params.get("VideoURL")
|
|
82
|
+
memeber_set = set(params.keys())
|
|
83
|
+
for name, value in vars(self).items():
|
|
84
|
+
property_name = name[1:]
|
|
85
|
+
if property_name in memeber_set:
|
|
86
|
+
memeber_set.remove(property_name)
|
|
87
|
+
if len(memeber_set) > 0:
|
|
88
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
21
92
|
class ActivateDeviceInfo(AbstractModel):
|
|
22
93
|
"""设备激活详情信息
|
|
23
94
|
|
|
@@ -3011,6 +3082,145 @@ class CountDataInfo(AbstractModel):
|
|
|
3011
3082
|
|
|
3012
3083
|
|
|
3013
3084
|
|
|
3085
|
+
class CreateAISearchTaskAsyncRequest(AbstractModel):
|
|
3086
|
+
"""CreateAISearchTaskAsync请求参数结构体
|
|
3087
|
+
|
|
3088
|
+
"""
|
|
3089
|
+
|
|
3090
|
+
def __init__(self):
|
|
3091
|
+
r"""
|
|
3092
|
+
:param _ProductId: 产品ID
|
|
3093
|
+
:type ProductId: str
|
|
3094
|
+
:param _DeviceName: 设备名称
|
|
3095
|
+
:type DeviceName: str
|
|
3096
|
+
:param _Query: 自然语言查询
|
|
3097
|
+
:type Query: str
|
|
3098
|
+
:param _SummaryLang: 搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH
|
|
3099
|
+
:type SummaryLang: str
|
|
3100
|
+
:param _ChannelId: 通道ID
|
|
3101
|
+
:type ChannelId: int
|
|
3102
|
+
"""
|
|
3103
|
+
self._ProductId = None
|
|
3104
|
+
self._DeviceName = None
|
|
3105
|
+
self._Query = None
|
|
3106
|
+
self._SummaryLang = None
|
|
3107
|
+
self._ChannelId = None
|
|
3108
|
+
|
|
3109
|
+
@property
|
|
3110
|
+
def ProductId(self):
|
|
3111
|
+
"""产品ID
|
|
3112
|
+
:rtype: str
|
|
3113
|
+
"""
|
|
3114
|
+
return self._ProductId
|
|
3115
|
+
|
|
3116
|
+
@ProductId.setter
|
|
3117
|
+
def ProductId(self, ProductId):
|
|
3118
|
+
self._ProductId = ProductId
|
|
3119
|
+
|
|
3120
|
+
@property
|
|
3121
|
+
def DeviceName(self):
|
|
3122
|
+
"""设备名称
|
|
3123
|
+
:rtype: str
|
|
3124
|
+
"""
|
|
3125
|
+
return self._DeviceName
|
|
3126
|
+
|
|
3127
|
+
@DeviceName.setter
|
|
3128
|
+
def DeviceName(self, DeviceName):
|
|
3129
|
+
self._DeviceName = DeviceName
|
|
3130
|
+
|
|
3131
|
+
@property
|
|
3132
|
+
def Query(self):
|
|
3133
|
+
"""自然语言查询
|
|
3134
|
+
:rtype: str
|
|
3135
|
+
"""
|
|
3136
|
+
return self._Query
|
|
3137
|
+
|
|
3138
|
+
@Query.setter
|
|
3139
|
+
def Query(self, Query):
|
|
3140
|
+
self._Query = Query
|
|
3141
|
+
|
|
3142
|
+
@property
|
|
3143
|
+
def SummaryLang(self):
|
|
3144
|
+
"""搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH
|
|
3145
|
+
:rtype: str
|
|
3146
|
+
"""
|
|
3147
|
+
return self._SummaryLang
|
|
3148
|
+
|
|
3149
|
+
@SummaryLang.setter
|
|
3150
|
+
def SummaryLang(self, SummaryLang):
|
|
3151
|
+
self._SummaryLang = SummaryLang
|
|
3152
|
+
|
|
3153
|
+
@property
|
|
3154
|
+
def ChannelId(self):
|
|
3155
|
+
"""通道ID
|
|
3156
|
+
:rtype: int
|
|
3157
|
+
"""
|
|
3158
|
+
return self._ChannelId
|
|
3159
|
+
|
|
3160
|
+
@ChannelId.setter
|
|
3161
|
+
def ChannelId(self, ChannelId):
|
|
3162
|
+
self._ChannelId = ChannelId
|
|
3163
|
+
|
|
3164
|
+
|
|
3165
|
+
def _deserialize(self, params):
|
|
3166
|
+
self._ProductId = params.get("ProductId")
|
|
3167
|
+
self._DeviceName = params.get("DeviceName")
|
|
3168
|
+
self._Query = params.get("Query")
|
|
3169
|
+
self._SummaryLang = params.get("SummaryLang")
|
|
3170
|
+
self._ChannelId = params.get("ChannelId")
|
|
3171
|
+
memeber_set = set(params.keys())
|
|
3172
|
+
for name, value in vars(self).items():
|
|
3173
|
+
property_name = name[1:]
|
|
3174
|
+
if property_name in memeber_set:
|
|
3175
|
+
memeber_set.remove(property_name)
|
|
3176
|
+
if len(memeber_set) > 0:
|
|
3177
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3178
|
+
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
class CreateAISearchTaskAsyncResponse(AbstractModel):
|
|
3182
|
+
"""CreateAISearchTaskAsync返回参数结构体
|
|
3183
|
+
|
|
3184
|
+
"""
|
|
3185
|
+
|
|
3186
|
+
def __init__(self):
|
|
3187
|
+
r"""
|
|
3188
|
+
:param _TaskId: 任务ID
|
|
3189
|
+
:type TaskId: str
|
|
3190
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3191
|
+
:type RequestId: str
|
|
3192
|
+
"""
|
|
3193
|
+
self._TaskId = None
|
|
3194
|
+
self._RequestId = None
|
|
3195
|
+
|
|
3196
|
+
@property
|
|
3197
|
+
def TaskId(self):
|
|
3198
|
+
"""任务ID
|
|
3199
|
+
:rtype: str
|
|
3200
|
+
"""
|
|
3201
|
+
return self._TaskId
|
|
3202
|
+
|
|
3203
|
+
@TaskId.setter
|
|
3204
|
+
def TaskId(self, TaskId):
|
|
3205
|
+
self._TaskId = TaskId
|
|
3206
|
+
|
|
3207
|
+
@property
|
|
3208
|
+
def RequestId(self):
|
|
3209
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3210
|
+
:rtype: str
|
|
3211
|
+
"""
|
|
3212
|
+
return self._RequestId
|
|
3213
|
+
|
|
3214
|
+
@RequestId.setter
|
|
3215
|
+
def RequestId(self, RequestId):
|
|
3216
|
+
self._RequestId = RequestId
|
|
3217
|
+
|
|
3218
|
+
|
|
3219
|
+
def _deserialize(self, params):
|
|
3220
|
+
self._TaskId = params.get("TaskId")
|
|
3221
|
+
self._RequestId = params.get("RequestId")
|
|
3222
|
+
|
|
3223
|
+
|
|
3014
3224
|
class CreateBatchProductionRequest(AbstractModel):
|
|
3015
3225
|
"""CreateBatchProduction请求参数结构体
|
|
3016
3226
|
|
|
@@ -7043,6 +7253,102 @@ class DeleteTopicRuleResponse(AbstractModel):
|
|
|
7043
7253
|
self._RequestId = params.get("RequestId")
|
|
7044
7254
|
|
|
7045
7255
|
|
|
7256
|
+
class DescribeAISearchTaskAsyncRequest(AbstractModel):
|
|
7257
|
+
"""DescribeAISearchTaskAsync请求参数结构体
|
|
7258
|
+
|
|
7259
|
+
"""
|
|
7260
|
+
|
|
7261
|
+
def __init__(self):
|
|
7262
|
+
r"""
|
|
7263
|
+
:param _TaskId: 任务ID
|
|
7264
|
+
:type TaskId: str
|
|
7265
|
+
"""
|
|
7266
|
+
self._TaskId = None
|
|
7267
|
+
|
|
7268
|
+
@property
|
|
7269
|
+
def TaskId(self):
|
|
7270
|
+
"""任务ID
|
|
7271
|
+
:rtype: str
|
|
7272
|
+
"""
|
|
7273
|
+
return self._TaskId
|
|
7274
|
+
|
|
7275
|
+
@TaskId.setter
|
|
7276
|
+
def TaskId(self, TaskId):
|
|
7277
|
+
self._TaskId = TaskId
|
|
7278
|
+
|
|
7279
|
+
|
|
7280
|
+
def _deserialize(self, params):
|
|
7281
|
+
self._TaskId = params.get("TaskId")
|
|
7282
|
+
memeber_set = set(params.keys())
|
|
7283
|
+
for name, value in vars(self).items():
|
|
7284
|
+
property_name = name[1:]
|
|
7285
|
+
if property_name in memeber_set:
|
|
7286
|
+
memeber_set.remove(property_name)
|
|
7287
|
+
if len(memeber_set) > 0:
|
|
7288
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7289
|
+
|
|
7290
|
+
|
|
7291
|
+
|
|
7292
|
+
class DescribeAISearchTaskAsyncResponse(AbstractModel):
|
|
7293
|
+
"""DescribeAISearchTaskAsync返回参数结构体
|
|
7294
|
+
|
|
7295
|
+
"""
|
|
7296
|
+
|
|
7297
|
+
def __init__(self):
|
|
7298
|
+
r"""
|
|
7299
|
+
:param _Status: 状态。0-初始状态;1-正在处理;2-处理失败;3-成功
|
|
7300
|
+
:type Status: int
|
|
7301
|
+
:param _Data: 任务处理结果数据
|
|
7302
|
+
:type Data: :class:`tencentcloud.iotexplorer.v20190423.models.AISearchInfo`
|
|
7303
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7304
|
+
:type RequestId: str
|
|
7305
|
+
"""
|
|
7306
|
+
self._Status = None
|
|
7307
|
+
self._Data = None
|
|
7308
|
+
self._RequestId = None
|
|
7309
|
+
|
|
7310
|
+
@property
|
|
7311
|
+
def Status(self):
|
|
7312
|
+
"""状态。0-初始状态;1-正在处理;2-处理失败;3-成功
|
|
7313
|
+
:rtype: int
|
|
7314
|
+
"""
|
|
7315
|
+
return self._Status
|
|
7316
|
+
|
|
7317
|
+
@Status.setter
|
|
7318
|
+
def Status(self, Status):
|
|
7319
|
+
self._Status = Status
|
|
7320
|
+
|
|
7321
|
+
@property
|
|
7322
|
+
def Data(self):
|
|
7323
|
+
"""任务处理结果数据
|
|
7324
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.AISearchInfo`
|
|
7325
|
+
"""
|
|
7326
|
+
return self._Data
|
|
7327
|
+
|
|
7328
|
+
@Data.setter
|
|
7329
|
+
def Data(self, Data):
|
|
7330
|
+
self._Data = Data
|
|
7331
|
+
|
|
7332
|
+
@property
|
|
7333
|
+
def RequestId(self):
|
|
7334
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7335
|
+
:rtype: str
|
|
7336
|
+
"""
|
|
7337
|
+
return self._RequestId
|
|
7338
|
+
|
|
7339
|
+
@RequestId.setter
|
|
7340
|
+
def RequestId(self, RequestId):
|
|
7341
|
+
self._RequestId = RequestId
|
|
7342
|
+
|
|
7343
|
+
|
|
7344
|
+
def _deserialize(self, params):
|
|
7345
|
+
self._Status = params.get("Status")
|
|
7346
|
+
if params.get("Data") is not None:
|
|
7347
|
+
self._Data = AISearchInfo()
|
|
7348
|
+
self._Data._deserialize(params.get("Data"))
|
|
7349
|
+
self._RequestId = params.get("RequestId")
|
|
7350
|
+
|
|
7351
|
+
|
|
7046
7352
|
class DescribeActivateDeviceRequest(AbstractModel):
|
|
7047
7353
|
"""DescribeActivateDevice请求参数结构体
|
|
7048
7354
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1405
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1401
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|