tencentcloud-sdk-python-iotexplorer 3.1.45__py2.py3-none-any.whl → 3.1.57__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/iotexplorer/v20190423/iotexplorer_client.py +70 -1
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +55 -1
- tencentcloud/iotexplorer/v20190423/models.py +849 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.45.dist-info → tencentcloud_sdk_python_iotexplorer-3.1.57.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_iotexplorer-3.1.57.dist-info/RECORD +11 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.45.dist-info → tencentcloud_sdk_python_iotexplorer-3.1.57.dist-info}/WHEEL +1 -1
- tencentcloud_sdk_python_iotexplorer-3.1.45.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_iotexplorer-3.1.45.dist-info → tencentcloud_sdk_python_iotexplorer-3.1.57.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -49,6 +49,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def ActivateTWeTalk(self, request):
|
|
53
|
+
r"""TWeTalk设备激活接口。
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for ActivateTWeTalk.
|
|
56
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ActivateTWeTalkRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.ActivateTWeTalkResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("ActivateTWeTalk", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.ActivateTWeTalkResponse()
|
|
66
|
+
model._deserialize(response["Response"])
|
|
67
|
+
return model
|
|
68
|
+
except Exception as e:
|
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
|
70
|
+
raise
|
|
71
|
+
else:
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
|
+
|
|
74
|
+
|
|
52
75
|
def BatchCreateTWeSeeRecognitionTask(self, request):
|
|
53
76
|
r"""批量同步执行 TWeSee 语义理解任务
|
|
54
77
|
|
|
@@ -3223,6 +3246,52 @@ class IotexplorerClient(AbstractClient):
|
|
|
3223
3246
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3224
3247
|
|
|
3225
3248
|
|
|
3249
|
+
def GetTWeTalkActiveRecordList(self, request):
|
|
3250
|
+
r"""TWeTalk消耗账单明细。
|
|
3251
|
+
|
|
3252
|
+
:param request: Request instance for GetTWeTalkActiveRecordList.
|
|
3253
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeTalkActiveRecordListRequest`
|
|
3254
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeTalkActiveRecordListResponse`
|
|
3255
|
+
|
|
3256
|
+
"""
|
|
3257
|
+
try:
|
|
3258
|
+
params = request._serialize()
|
|
3259
|
+
headers = request.headers
|
|
3260
|
+
body = self.call("GetTWeTalkActiveRecordList", params, headers=headers)
|
|
3261
|
+
response = json.loads(body)
|
|
3262
|
+
model = models.GetTWeTalkActiveRecordListResponse()
|
|
3263
|
+
model._deserialize(response["Response"])
|
|
3264
|
+
return model
|
|
3265
|
+
except Exception as e:
|
|
3266
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3267
|
+
raise
|
|
3268
|
+
else:
|
|
3269
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3270
|
+
|
|
3271
|
+
|
|
3272
|
+
def GetTWeTalkActiveStatus(self, request):
|
|
3273
|
+
r"""查询TWeTalk设备激活状态。
|
|
3274
|
+
|
|
3275
|
+
:param request: Request instance for GetTWeTalkActiveStatus.
|
|
3276
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeTalkActiveStatusRequest`
|
|
3277
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeTalkActiveStatusResponse`
|
|
3278
|
+
|
|
3279
|
+
"""
|
|
3280
|
+
try:
|
|
3281
|
+
params = request._serialize()
|
|
3282
|
+
headers = request.headers
|
|
3283
|
+
body = self.call("GetTWeTalkActiveStatus", params, headers=headers)
|
|
3284
|
+
response = json.loads(body)
|
|
3285
|
+
model = models.GetTWeTalkActiveStatusResponse()
|
|
3286
|
+
model._deserialize(response["Response"])
|
|
3287
|
+
return model
|
|
3288
|
+
except Exception as e:
|
|
3289
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3290
|
+
raise
|
|
3291
|
+
else:
|
|
3292
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3293
|
+
|
|
3294
|
+
|
|
3226
3295
|
def GetTWeTalkProductConfigList(self, request):
|
|
3227
3296
|
r"""用于获取TWeTalk服务连接产品配置信息列表。
|
|
3228
3297
|
|
|
@@ -3431,7 +3500,7 @@ class IotexplorerClient(AbstractClient):
|
|
|
3431
3500
|
|
|
3432
3501
|
|
|
3433
3502
|
def InvokeTWeSeeRecognitionTaskWithFile(self, request):
|
|
3434
|
-
r"""
|
|
3503
|
+
r"""上传文件并同步执行 TWeSee 语义理解任务
|
|
3435
3504
|
|
|
3436
3505
|
:param request: Request instance for InvokeTWeSeeRecognitionTaskWithFile.
|
|
3437
3506
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.InvokeTWeSeeRecognitionTaskWithFileRequest`
|
|
@@ -43,6 +43,24 @@ class IotexplorerClient(AbstractClient):
|
|
|
43
43
|
|
|
44
44
|
return await self.call_and_deserialize(**kwargs)
|
|
45
45
|
|
|
46
|
+
async def ActivateTWeTalk(
|
|
47
|
+
self,
|
|
48
|
+
request: models.ActivateTWeTalkRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.ActivateTWeTalkResponse:
|
|
51
|
+
"""
|
|
52
|
+
TWeTalk设备激活接口。
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "ActivateTWeTalk"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.ActivateTWeTalkResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
46
64
|
async def BatchCreateTWeSeeRecognitionTask(
|
|
47
65
|
self,
|
|
48
66
|
request: models.BatchCreateTWeSeeRecognitionTaskRequest,
|
|
@@ -2527,6 +2545,42 @@ class IotexplorerClient(AbstractClient):
|
|
|
2527
2545
|
|
|
2528
2546
|
return await self.call_and_deserialize(**kwargs)
|
|
2529
2547
|
|
|
2548
|
+
async def GetTWeTalkActiveRecordList(
|
|
2549
|
+
self,
|
|
2550
|
+
request: models.GetTWeTalkActiveRecordListRequest,
|
|
2551
|
+
opts: Dict = None,
|
|
2552
|
+
) -> models.GetTWeTalkActiveRecordListResponse:
|
|
2553
|
+
"""
|
|
2554
|
+
TWeTalk消耗账单明细。
|
|
2555
|
+
"""
|
|
2556
|
+
|
|
2557
|
+
kwargs = {}
|
|
2558
|
+
kwargs["action"] = "GetTWeTalkActiveRecordList"
|
|
2559
|
+
kwargs["params"] = request._serialize()
|
|
2560
|
+
kwargs["resp_cls"] = models.GetTWeTalkActiveRecordListResponse
|
|
2561
|
+
kwargs["headers"] = request.headers
|
|
2562
|
+
kwargs["opts"] = opts or {}
|
|
2563
|
+
|
|
2564
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2565
|
+
|
|
2566
|
+
async def GetTWeTalkActiveStatus(
|
|
2567
|
+
self,
|
|
2568
|
+
request: models.GetTWeTalkActiveStatusRequest,
|
|
2569
|
+
opts: Dict = None,
|
|
2570
|
+
) -> models.GetTWeTalkActiveStatusResponse:
|
|
2571
|
+
"""
|
|
2572
|
+
查询TWeTalk设备激活状态。
|
|
2573
|
+
"""
|
|
2574
|
+
|
|
2575
|
+
kwargs = {}
|
|
2576
|
+
kwargs["action"] = "GetTWeTalkActiveStatus"
|
|
2577
|
+
kwargs["params"] = request._serialize()
|
|
2578
|
+
kwargs["resp_cls"] = models.GetTWeTalkActiveStatusResponse
|
|
2579
|
+
kwargs["headers"] = request.headers
|
|
2580
|
+
kwargs["opts"] = opts or {}
|
|
2581
|
+
|
|
2582
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2583
|
+
|
|
2530
2584
|
async def GetTWeTalkProductConfigList(
|
|
2531
2585
|
self,
|
|
2532
2586
|
request: models.GetTWeTalkProductConfigListRequest,
|
|
@@ -2695,7 +2749,7 @@ class IotexplorerClient(AbstractClient):
|
|
|
2695
2749
|
opts: Dict = None,
|
|
2696
2750
|
) -> models.InvokeTWeSeeRecognitionTaskWithFileResponse:
|
|
2697
2751
|
"""
|
|
2698
|
-
|
|
2752
|
+
上传文件并同步执行 TWeSee 语义理解任务
|
|
2699
2753
|
"""
|
|
2700
2754
|
|
|
2701
2755
|
kwargs = {}
|
|
@@ -358,6 +358,125 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
|
|
|
358
358
|
self._RequestId = params.get("RequestId")
|
|
359
359
|
|
|
360
360
|
|
|
361
|
+
class ActivateTWeTalkRequest(AbstractModel):
|
|
362
|
+
r"""ActivateTWeTalk请求参数结构体
|
|
363
|
+
|
|
364
|
+
"""
|
|
365
|
+
|
|
366
|
+
def __init__(self):
|
|
367
|
+
r"""
|
|
368
|
+
:param _ServiceType: TWeTalk类型:1-基础版;2-高级版;3-多模态;
|
|
369
|
+
:type ServiceType: int
|
|
370
|
+
:param _DeviceIds: 设备列表, 产品ID_设备名;
|
|
371
|
+
:type DeviceIds: list of str
|
|
372
|
+
"""
|
|
373
|
+
self._ServiceType = None
|
|
374
|
+
self._DeviceIds = None
|
|
375
|
+
|
|
376
|
+
@property
|
|
377
|
+
def ServiceType(self):
|
|
378
|
+
r"""TWeTalk类型:1-基础版;2-高级版;3-多模态;
|
|
379
|
+
:rtype: int
|
|
380
|
+
"""
|
|
381
|
+
return self._ServiceType
|
|
382
|
+
|
|
383
|
+
@ServiceType.setter
|
|
384
|
+
def ServiceType(self, ServiceType):
|
|
385
|
+
self._ServiceType = ServiceType
|
|
386
|
+
|
|
387
|
+
@property
|
|
388
|
+
def DeviceIds(self):
|
|
389
|
+
r"""设备列表, 产品ID_设备名;
|
|
390
|
+
:rtype: list of str
|
|
391
|
+
"""
|
|
392
|
+
return self._DeviceIds
|
|
393
|
+
|
|
394
|
+
@DeviceIds.setter
|
|
395
|
+
def DeviceIds(self, DeviceIds):
|
|
396
|
+
self._DeviceIds = DeviceIds
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
def _deserialize(self, params):
|
|
400
|
+
self._ServiceType = params.get("ServiceType")
|
|
401
|
+
self._DeviceIds = params.get("DeviceIds")
|
|
402
|
+
memeber_set = set(params.keys())
|
|
403
|
+
for name, value in vars(self).items():
|
|
404
|
+
property_name = name[1:]
|
|
405
|
+
if property_name in memeber_set:
|
|
406
|
+
memeber_set.remove(property_name)
|
|
407
|
+
if len(memeber_set) > 0:
|
|
408
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
class ActivateTWeTalkResponse(AbstractModel):
|
|
413
|
+
r"""ActivateTWeTalk返回参数结构体
|
|
414
|
+
|
|
415
|
+
"""
|
|
416
|
+
|
|
417
|
+
def __init__(self):
|
|
418
|
+
r"""
|
|
419
|
+
:param _FailureRecords: 设备激活失败返回数据
|
|
420
|
+
:type FailureRecords: list of TalkActivationInfo
|
|
421
|
+
:param _SuccessRecords: 设备激活成功返回数据
|
|
422
|
+
:type SuccessRecords: list of TalkActivationInfo
|
|
423
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
424
|
+
:type RequestId: str
|
|
425
|
+
"""
|
|
426
|
+
self._FailureRecords = None
|
|
427
|
+
self._SuccessRecords = None
|
|
428
|
+
self._RequestId = None
|
|
429
|
+
|
|
430
|
+
@property
|
|
431
|
+
def FailureRecords(self):
|
|
432
|
+
r"""设备激活失败返回数据
|
|
433
|
+
:rtype: list of TalkActivationInfo
|
|
434
|
+
"""
|
|
435
|
+
return self._FailureRecords
|
|
436
|
+
|
|
437
|
+
@FailureRecords.setter
|
|
438
|
+
def FailureRecords(self, FailureRecords):
|
|
439
|
+
self._FailureRecords = FailureRecords
|
|
440
|
+
|
|
441
|
+
@property
|
|
442
|
+
def SuccessRecords(self):
|
|
443
|
+
r"""设备激活成功返回数据
|
|
444
|
+
:rtype: list of TalkActivationInfo
|
|
445
|
+
"""
|
|
446
|
+
return self._SuccessRecords
|
|
447
|
+
|
|
448
|
+
@SuccessRecords.setter
|
|
449
|
+
def SuccessRecords(self, SuccessRecords):
|
|
450
|
+
self._SuccessRecords = SuccessRecords
|
|
451
|
+
|
|
452
|
+
@property
|
|
453
|
+
def RequestId(self):
|
|
454
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
455
|
+
:rtype: str
|
|
456
|
+
"""
|
|
457
|
+
return self._RequestId
|
|
458
|
+
|
|
459
|
+
@RequestId.setter
|
|
460
|
+
def RequestId(self, RequestId):
|
|
461
|
+
self._RequestId = RequestId
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
def _deserialize(self, params):
|
|
465
|
+
if params.get("FailureRecords") is not None:
|
|
466
|
+
self._FailureRecords = []
|
|
467
|
+
for item in params.get("FailureRecords"):
|
|
468
|
+
obj = TalkActivationInfo()
|
|
469
|
+
obj._deserialize(item)
|
|
470
|
+
self._FailureRecords.append(obj)
|
|
471
|
+
if params.get("SuccessRecords") is not None:
|
|
472
|
+
self._SuccessRecords = []
|
|
473
|
+
for item in params.get("SuccessRecords"):
|
|
474
|
+
obj = TalkActivationInfo()
|
|
475
|
+
obj._deserialize(item)
|
|
476
|
+
self._SuccessRecords.append(obj)
|
|
477
|
+
self._RequestId = params.get("RequestId")
|
|
478
|
+
|
|
479
|
+
|
|
361
480
|
class AppDeviceInfo(AbstractModel):
|
|
362
481
|
r"""云api直接绑定设备出参
|
|
363
482
|
|
|
@@ -7275,6 +7394,12 @@ class CreateTWeTalkAIBotRequest(AbstractModel):
|
|
|
7275
7394
|
:type InstanceId: str
|
|
7276
7395
|
:param _CustomTools: 自定义工具配置,最多可创建10个
|
|
7277
7396
|
:type CustomTools: str
|
|
7397
|
+
:param _WebhookTools: WebHook工具配置(JSON字符串格式)
|
|
7398
|
+
:type WebhookTools: str
|
|
7399
|
+
:param _BotType: 智能体模板类型
|
|
7400
|
+
:type BotType: str
|
|
7401
|
+
:param _RAGConfig: 知识库相关配置(JSON字符串格式)
|
|
7402
|
+
:type RAGConfig: str
|
|
7278
7403
|
"""
|
|
7279
7404
|
self._Name = None
|
|
7280
7405
|
self._Description = None
|
|
@@ -7285,6 +7410,9 @@ class CreateTWeTalkAIBotRequest(AbstractModel):
|
|
|
7285
7410
|
self._AgentConfig = None
|
|
7286
7411
|
self._InstanceId = None
|
|
7287
7412
|
self._CustomTools = None
|
|
7413
|
+
self._WebhookTools = None
|
|
7414
|
+
self._BotType = None
|
|
7415
|
+
self._RAGConfig = None
|
|
7288
7416
|
|
|
7289
7417
|
@property
|
|
7290
7418
|
def Name(self):
|
|
@@ -7385,6 +7513,39 @@ class CreateTWeTalkAIBotRequest(AbstractModel):
|
|
|
7385
7513
|
def CustomTools(self, CustomTools):
|
|
7386
7514
|
self._CustomTools = CustomTools
|
|
7387
7515
|
|
|
7516
|
+
@property
|
|
7517
|
+
def WebhookTools(self):
|
|
7518
|
+
r"""WebHook工具配置(JSON字符串格式)
|
|
7519
|
+
:rtype: str
|
|
7520
|
+
"""
|
|
7521
|
+
return self._WebhookTools
|
|
7522
|
+
|
|
7523
|
+
@WebhookTools.setter
|
|
7524
|
+
def WebhookTools(self, WebhookTools):
|
|
7525
|
+
self._WebhookTools = WebhookTools
|
|
7526
|
+
|
|
7527
|
+
@property
|
|
7528
|
+
def BotType(self):
|
|
7529
|
+
r"""智能体模板类型
|
|
7530
|
+
:rtype: str
|
|
7531
|
+
"""
|
|
7532
|
+
return self._BotType
|
|
7533
|
+
|
|
7534
|
+
@BotType.setter
|
|
7535
|
+
def BotType(self, BotType):
|
|
7536
|
+
self._BotType = BotType
|
|
7537
|
+
|
|
7538
|
+
@property
|
|
7539
|
+
def RAGConfig(self):
|
|
7540
|
+
r"""知识库相关配置(JSON字符串格式)
|
|
7541
|
+
:rtype: str
|
|
7542
|
+
"""
|
|
7543
|
+
return self._RAGConfig
|
|
7544
|
+
|
|
7545
|
+
@RAGConfig.setter
|
|
7546
|
+
def RAGConfig(self, RAGConfig):
|
|
7547
|
+
self._RAGConfig = RAGConfig
|
|
7548
|
+
|
|
7388
7549
|
|
|
7389
7550
|
def _deserialize(self, params):
|
|
7390
7551
|
self._Name = params.get("Name")
|
|
@@ -7404,6 +7565,9 @@ class CreateTWeTalkAIBotRequest(AbstractModel):
|
|
|
7404
7565
|
self._AgentConfig._deserialize(params.get("AgentConfig"))
|
|
7405
7566
|
self._InstanceId = params.get("InstanceId")
|
|
7406
7567
|
self._CustomTools = params.get("CustomTools")
|
|
7568
|
+
self._WebhookTools = params.get("WebhookTools")
|
|
7569
|
+
self._BotType = params.get("BotType")
|
|
7570
|
+
self._RAGConfig = params.get("RAGConfig")
|
|
7407
7571
|
memeber_set = set(params.keys())
|
|
7408
7572
|
for name, value in vars(self).items():
|
|
7409
7573
|
property_name = name[1:]
|
|
@@ -23423,6 +23587,283 @@ class GetTWeTalkAIBotListResponse(AbstractModel):
|
|
|
23423
23587
|
self._RequestId = params.get("RequestId")
|
|
23424
23588
|
|
|
23425
23589
|
|
|
23590
|
+
class GetTWeTalkActiveRecordListRequest(AbstractModel):
|
|
23591
|
+
r"""GetTWeTalkActiveRecordList请求参数结构体
|
|
23592
|
+
|
|
23593
|
+
"""
|
|
23594
|
+
|
|
23595
|
+
def __init__(self):
|
|
23596
|
+
r"""
|
|
23597
|
+
:param _StartTime: 最早的时间。
|
|
23598
|
+
:type StartTime: int
|
|
23599
|
+
:param _EndTime: 查询的最晚时间。
|
|
23600
|
+
跟StartTime形成时间段,用于查询时间段中的记录。
|
|
23601
|
+
:type EndTime: int
|
|
23602
|
+
:param _Offset: 偏移量,默认为0。
|
|
23603
|
+
:type Offset: int
|
|
23604
|
+
:param _Limit: 分页的大小。
|
|
23605
|
+
默认为10,最大不超过500。
|
|
23606
|
+
:type Limit: int
|
|
23607
|
+
:param _ProductId: 产品ID
|
|
23608
|
+
:type ProductId: str
|
|
23609
|
+
:param _DeviceName: 设备名称
|
|
23610
|
+
:type DeviceName: str
|
|
23611
|
+
:param _ServiceType: TWeTalk类型:1-基础版;2-高级版;3-多模态;
|
|
23612
|
+
:type ServiceType: list of int
|
|
23613
|
+
"""
|
|
23614
|
+
self._StartTime = None
|
|
23615
|
+
self._EndTime = None
|
|
23616
|
+
self._Offset = None
|
|
23617
|
+
self._Limit = None
|
|
23618
|
+
self._ProductId = None
|
|
23619
|
+
self._DeviceName = None
|
|
23620
|
+
self._ServiceType = None
|
|
23621
|
+
|
|
23622
|
+
@property
|
|
23623
|
+
def StartTime(self):
|
|
23624
|
+
r"""最早的时间。
|
|
23625
|
+
:rtype: int
|
|
23626
|
+
"""
|
|
23627
|
+
return self._StartTime
|
|
23628
|
+
|
|
23629
|
+
@StartTime.setter
|
|
23630
|
+
def StartTime(self, StartTime):
|
|
23631
|
+
self._StartTime = StartTime
|
|
23632
|
+
|
|
23633
|
+
@property
|
|
23634
|
+
def EndTime(self):
|
|
23635
|
+
r"""查询的最晚时间。
|
|
23636
|
+
跟StartTime形成时间段,用于查询时间段中的记录。
|
|
23637
|
+
:rtype: int
|
|
23638
|
+
"""
|
|
23639
|
+
return self._EndTime
|
|
23640
|
+
|
|
23641
|
+
@EndTime.setter
|
|
23642
|
+
def EndTime(self, EndTime):
|
|
23643
|
+
self._EndTime = EndTime
|
|
23644
|
+
|
|
23645
|
+
@property
|
|
23646
|
+
def Offset(self):
|
|
23647
|
+
r"""偏移量,默认为0。
|
|
23648
|
+
:rtype: int
|
|
23649
|
+
"""
|
|
23650
|
+
return self._Offset
|
|
23651
|
+
|
|
23652
|
+
@Offset.setter
|
|
23653
|
+
def Offset(self, Offset):
|
|
23654
|
+
self._Offset = Offset
|
|
23655
|
+
|
|
23656
|
+
@property
|
|
23657
|
+
def Limit(self):
|
|
23658
|
+
r"""分页的大小。
|
|
23659
|
+
默认为10,最大不超过500。
|
|
23660
|
+
:rtype: int
|
|
23661
|
+
"""
|
|
23662
|
+
return self._Limit
|
|
23663
|
+
|
|
23664
|
+
@Limit.setter
|
|
23665
|
+
def Limit(self, Limit):
|
|
23666
|
+
self._Limit = Limit
|
|
23667
|
+
|
|
23668
|
+
@property
|
|
23669
|
+
def ProductId(self):
|
|
23670
|
+
r"""产品ID
|
|
23671
|
+
:rtype: str
|
|
23672
|
+
"""
|
|
23673
|
+
return self._ProductId
|
|
23674
|
+
|
|
23675
|
+
@ProductId.setter
|
|
23676
|
+
def ProductId(self, ProductId):
|
|
23677
|
+
self._ProductId = ProductId
|
|
23678
|
+
|
|
23679
|
+
@property
|
|
23680
|
+
def DeviceName(self):
|
|
23681
|
+
r"""设备名称
|
|
23682
|
+
:rtype: str
|
|
23683
|
+
"""
|
|
23684
|
+
return self._DeviceName
|
|
23685
|
+
|
|
23686
|
+
@DeviceName.setter
|
|
23687
|
+
def DeviceName(self, DeviceName):
|
|
23688
|
+
self._DeviceName = DeviceName
|
|
23689
|
+
|
|
23690
|
+
@property
|
|
23691
|
+
def ServiceType(self):
|
|
23692
|
+
r"""TWeTalk类型:1-基础版;2-高级版;3-多模态;
|
|
23693
|
+
:rtype: list of int
|
|
23694
|
+
"""
|
|
23695
|
+
return self._ServiceType
|
|
23696
|
+
|
|
23697
|
+
@ServiceType.setter
|
|
23698
|
+
def ServiceType(self, ServiceType):
|
|
23699
|
+
self._ServiceType = ServiceType
|
|
23700
|
+
|
|
23701
|
+
|
|
23702
|
+
def _deserialize(self, params):
|
|
23703
|
+
self._StartTime = params.get("StartTime")
|
|
23704
|
+
self._EndTime = params.get("EndTime")
|
|
23705
|
+
self._Offset = params.get("Offset")
|
|
23706
|
+
self._Limit = params.get("Limit")
|
|
23707
|
+
self._ProductId = params.get("ProductId")
|
|
23708
|
+
self._DeviceName = params.get("DeviceName")
|
|
23709
|
+
self._ServiceType = params.get("ServiceType")
|
|
23710
|
+
memeber_set = set(params.keys())
|
|
23711
|
+
for name, value in vars(self).items():
|
|
23712
|
+
property_name = name[1:]
|
|
23713
|
+
if property_name in memeber_set:
|
|
23714
|
+
memeber_set.remove(property_name)
|
|
23715
|
+
if len(memeber_set) > 0:
|
|
23716
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23717
|
+
|
|
23718
|
+
|
|
23719
|
+
|
|
23720
|
+
class GetTWeTalkActiveRecordListResponse(AbstractModel):
|
|
23721
|
+
r"""GetTWeTalkActiveRecordList返回参数结构体
|
|
23722
|
+
|
|
23723
|
+
"""
|
|
23724
|
+
|
|
23725
|
+
def __init__(self):
|
|
23726
|
+
r"""
|
|
23727
|
+
:param _ActiveRecords: 设备激活记录列表。
|
|
23728
|
+
:type ActiveRecords: list of TalkActivateRecordLogInfo
|
|
23729
|
+
:param _Total: 数据总数量。
|
|
23730
|
+
:type Total: int
|
|
23731
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23732
|
+
:type RequestId: str
|
|
23733
|
+
"""
|
|
23734
|
+
self._ActiveRecords = None
|
|
23735
|
+
self._Total = None
|
|
23736
|
+
self._RequestId = None
|
|
23737
|
+
|
|
23738
|
+
@property
|
|
23739
|
+
def ActiveRecords(self):
|
|
23740
|
+
r"""设备激活记录列表。
|
|
23741
|
+
:rtype: list of TalkActivateRecordLogInfo
|
|
23742
|
+
"""
|
|
23743
|
+
return self._ActiveRecords
|
|
23744
|
+
|
|
23745
|
+
@ActiveRecords.setter
|
|
23746
|
+
def ActiveRecords(self, ActiveRecords):
|
|
23747
|
+
self._ActiveRecords = ActiveRecords
|
|
23748
|
+
|
|
23749
|
+
@property
|
|
23750
|
+
def Total(self):
|
|
23751
|
+
r"""数据总数量。
|
|
23752
|
+
:rtype: int
|
|
23753
|
+
"""
|
|
23754
|
+
return self._Total
|
|
23755
|
+
|
|
23756
|
+
@Total.setter
|
|
23757
|
+
def Total(self, Total):
|
|
23758
|
+
self._Total = Total
|
|
23759
|
+
|
|
23760
|
+
@property
|
|
23761
|
+
def RequestId(self):
|
|
23762
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23763
|
+
:rtype: str
|
|
23764
|
+
"""
|
|
23765
|
+
return self._RequestId
|
|
23766
|
+
|
|
23767
|
+
@RequestId.setter
|
|
23768
|
+
def RequestId(self, RequestId):
|
|
23769
|
+
self._RequestId = RequestId
|
|
23770
|
+
|
|
23771
|
+
|
|
23772
|
+
def _deserialize(self, params):
|
|
23773
|
+
if params.get("ActiveRecords") is not None:
|
|
23774
|
+
self._ActiveRecords = []
|
|
23775
|
+
for item in params.get("ActiveRecords"):
|
|
23776
|
+
obj = TalkActivateRecordLogInfo()
|
|
23777
|
+
obj._deserialize(item)
|
|
23778
|
+
self._ActiveRecords.append(obj)
|
|
23779
|
+
self._Total = params.get("Total")
|
|
23780
|
+
self._RequestId = params.get("RequestId")
|
|
23781
|
+
|
|
23782
|
+
|
|
23783
|
+
class GetTWeTalkActiveStatusRequest(AbstractModel):
|
|
23784
|
+
r"""GetTWeTalkActiveStatus请求参数结构体
|
|
23785
|
+
|
|
23786
|
+
"""
|
|
23787
|
+
|
|
23788
|
+
def __init__(self):
|
|
23789
|
+
r"""
|
|
23790
|
+
:param _DeviceIds: 设备列表, 产品ID_设备名称
|
|
23791
|
+
:type DeviceIds: list of str
|
|
23792
|
+
"""
|
|
23793
|
+
self._DeviceIds = None
|
|
23794
|
+
|
|
23795
|
+
@property
|
|
23796
|
+
def DeviceIds(self):
|
|
23797
|
+
r"""设备列表, 产品ID_设备名称
|
|
23798
|
+
:rtype: list of str
|
|
23799
|
+
"""
|
|
23800
|
+
return self._DeviceIds
|
|
23801
|
+
|
|
23802
|
+
@DeviceIds.setter
|
|
23803
|
+
def DeviceIds(self, DeviceIds):
|
|
23804
|
+
self._DeviceIds = DeviceIds
|
|
23805
|
+
|
|
23806
|
+
|
|
23807
|
+
def _deserialize(self, params):
|
|
23808
|
+
self._DeviceIds = params.get("DeviceIds")
|
|
23809
|
+
memeber_set = set(params.keys())
|
|
23810
|
+
for name, value in vars(self).items():
|
|
23811
|
+
property_name = name[1:]
|
|
23812
|
+
if property_name in memeber_set:
|
|
23813
|
+
memeber_set.remove(property_name)
|
|
23814
|
+
if len(memeber_set) > 0:
|
|
23815
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23816
|
+
|
|
23817
|
+
|
|
23818
|
+
|
|
23819
|
+
class GetTWeTalkActiveStatusResponse(AbstractModel):
|
|
23820
|
+
r"""GetTWeTalkActiveStatus返回参数结构体
|
|
23821
|
+
|
|
23822
|
+
"""
|
|
23823
|
+
|
|
23824
|
+
def __init__(self):
|
|
23825
|
+
r"""
|
|
23826
|
+
:param _TalkActivationRecords: 激活状态
|
|
23827
|
+
:type TalkActivationRecords: list of TalkActivationStatusInfo
|
|
23828
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23829
|
+
:type RequestId: str
|
|
23830
|
+
"""
|
|
23831
|
+
self._TalkActivationRecords = None
|
|
23832
|
+
self._RequestId = None
|
|
23833
|
+
|
|
23834
|
+
@property
|
|
23835
|
+
def TalkActivationRecords(self):
|
|
23836
|
+
r"""激活状态
|
|
23837
|
+
:rtype: list of TalkActivationStatusInfo
|
|
23838
|
+
"""
|
|
23839
|
+
return self._TalkActivationRecords
|
|
23840
|
+
|
|
23841
|
+
@TalkActivationRecords.setter
|
|
23842
|
+
def TalkActivationRecords(self, TalkActivationRecords):
|
|
23843
|
+
self._TalkActivationRecords = TalkActivationRecords
|
|
23844
|
+
|
|
23845
|
+
@property
|
|
23846
|
+
def RequestId(self):
|
|
23847
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23848
|
+
:rtype: str
|
|
23849
|
+
"""
|
|
23850
|
+
return self._RequestId
|
|
23851
|
+
|
|
23852
|
+
@RequestId.setter
|
|
23853
|
+
def RequestId(self, RequestId):
|
|
23854
|
+
self._RequestId = RequestId
|
|
23855
|
+
|
|
23856
|
+
|
|
23857
|
+
def _deserialize(self, params):
|
|
23858
|
+
if params.get("TalkActivationRecords") is not None:
|
|
23859
|
+
self._TalkActivationRecords = []
|
|
23860
|
+
for item in params.get("TalkActivationRecords"):
|
|
23861
|
+
obj = TalkActivationStatusInfo()
|
|
23862
|
+
obj._deserialize(item)
|
|
23863
|
+
self._TalkActivationRecords.append(obj)
|
|
23864
|
+
self._RequestId = params.get("RequestId")
|
|
23865
|
+
|
|
23866
|
+
|
|
23426
23867
|
class GetTWeTalkProductConfigListRequest(AbstractModel):
|
|
23427
23868
|
r"""GetTWeTalkProductConfigList请求参数结构体
|
|
23428
23869
|
|
|
@@ -29801,6 +30242,12 @@ class ModifyTWeTalkAIBotRequest(AbstractModel):
|
|
|
29801
30242
|
:type AgentConfig: :class:`tencentcloud.iotexplorer.v20190423.models.TalkAgentConfigInfo`
|
|
29802
30243
|
:param _CustomTools: 自定义工具配置,最多可创建10个
|
|
29803
30244
|
:type CustomTools: str
|
|
30245
|
+
:param _WebhookTools: WebHook工具配置(JSON字符串格式)
|
|
30246
|
+
:type WebhookTools: str
|
|
30247
|
+
:param _BotType: 智能体模板类型
|
|
30248
|
+
:type BotType: str
|
|
30249
|
+
:param _RAGConfig: 知识库相关配置(JSON字符串格式)
|
|
30250
|
+
:type RAGConfig: str
|
|
29804
30251
|
"""
|
|
29805
30252
|
self._BotId = None
|
|
29806
30253
|
self._Name = None
|
|
@@ -29811,6 +30258,9 @@ class ModifyTWeTalkAIBotRequest(AbstractModel):
|
|
|
29811
30258
|
self._TTSConfig = None
|
|
29812
30259
|
self._AgentConfig = None
|
|
29813
30260
|
self._CustomTools = None
|
|
30261
|
+
self._WebhookTools = None
|
|
30262
|
+
self._BotType = None
|
|
30263
|
+
self._RAGConfig = None
|
|
29814
30264
|
|
|
29815
30265
|
@property
|
|
29816
30266
|
def BotId(self):
|
|
@@ -29911,6 +30361,39 @@ class ModifyTWeTalkAIBotRequest(AbstractModel):
|
|
|
29911
30361
|
def CustomTools(self, CustomTools):
|
|
29912
30362
|
self._CustomTools = CustomTools
|
|
29913
30363
|
|
|
30364
|
+
@property
|
|
30365
|
+
def WebhookTools(self):
|
|
30366
|
+
r"""WebHook工具配置(JSON字符串格式)
|
|
30367
|
+
:rtype: str
|
|
30368
|
+
"""
|
|
30369
|
+
return self._WebhookTools
|
|
30370
|
+
|
|
30371
|
+
@WebhookTools.setter
|
|
30372
|
+
def WebhookTools(self, WebhookTools):
|
|
30373
|
+
self._WebhookTools = WebhookTools
|
|
30374
|
+
|
|
30375
|
+
@property
|
|
30376
|
+
def BotType(self):
|
|
30377
|
+
r"""智能体模板类型
|
|
30378
|
+
:rtype: str
|
|
30379
|
+
"""
|
|
30380
|
+
return self._BotType
|
|
30381
|
+
|
|
30382
|
+
@BotType.setter
|
|
30383
|
+
def BotType(self, BotType):
|
|
30384
|
+
self._BotType = BotType
|
|
30385
|
+
|
|
30386
|
+
@property
|
|
30387
|
+
def RAGConfig(self):
|
|
30388
|
+
r"""知识库相关配置(JSON字符串格式)
|
|
30389
|
+
:rtype: str
|
|
30390
|
+
"""
|
|
30391
|
+
return self._RAGConfig
|
|
30392
|
+
|
|
30393
|
+
@RAGConfig.setter
|
|
30394
|
+
def RAGConfig(self, RAGConfig):
|
|
30395
|
+
self._RAGConfig = RAGConfig
|
|
30396
|
+
|
|
29914
30397
|
|
|
29915
30398
|
def _deserialize(self, params):
|
|
29916
30399
|
self._BotId = params.get("BotId")
|
|
@@ -29930,6 +30413,9 @@ class ModifyTWeTalkAIBotRequest(AbstractModel):
|
|
|
29930
30413
|
self._AgentConfig = TalkAgentConfigInfo()
|
|
29931
30414
|
self._AgentConfig._deserialize(params.get("AgentConfig"))
|
|
29932
30415
|
self._CustomTools = params.get("CustomTools")
|
|
30416
|
+
self._WebhookTools = params.get("WebhookTools")
|
|
30417
|
+
self._BotType = params.get("BotType")
|
|
30418
|
+
self._RAGConfig = params.get("RAGConfig")
|
|
29933
30419
|
memeber_set = set(params.keys())
|
|
29934
30420
|
for name, value in vars(self).items():
|
|
29935
30421
|
property_name = name[1:]
|
|
@@ -34448,6 +34934,12 @@ class TalkAIBotInfo(AbstractModel):
|
|
|
34448
34934
|
:type BoundProducts: list of TalkProductInfo
|
|
34449
34935
|
:param _CustomTools: 自定义工具列表,最多可创建10个
|
|
34450
34936
|
:type CustomTools: str
|
|
34937
|
+
:param _WebhookTools: WebHook工具配置(JSON字符串格式)
|
|
34938
|
+
:type WebhookTools: str
|
|
34939
|
+
:param _BotType: 智能体模板类型
|
|
34940
|
+
:type BotType: str
|
|
34941
|
+
:param _RAGConfig: 知识库相关配置(JSON字符串格式)
|
|
34942
|
+
:type RAGConfig: str
|
|
34451
34943
|
"""
|
|
34452
34944
|
self._Uin = None
|
|
34453
34945
|
self._AppId = None
|
|
@@ -34465,6 +34957,9 @@ class TalkAIBotInfo(AbstractModel):
|
|
|
34465
34957
|
self._UpdateTime = None
|
|
34466
34958
|
self._BoundProducts = None
|
|
34467
34959
|
self._CustomTools = None
|
|
34960
|
+
self._WebhookTools = None
|
|
34961
|
+
self._BotType = None
|
|
34962
|
+
self._RAGConfig = None
|
|
34468
34963
|
|
|
34469
34964
|
@property
|
|
34470
34965
|
def Uin(self):
|
|
@@ -34646,6 +35141,39 @@ class TalkAIBotInfo(AbstractModel):
|
|
|
34646
35141
|
def CustomTools(self, CustomTools):
|
|
34647
35142
|
self._CustomTools = CustomTools
|
|
34648
35143
|
|
|
35144
|
+
@property
|
|
35145
|
+
def WebhookTools(self):
|
|
35146
|
+
r"""WebHook工具配置(JSON字符串格式)
|
|
35147
|
+
:rtype: str
|
|
35148
|
+
"""
|
|
35149
|
+
return self._WebhookTools
|
|
35150
|
+
|
|
35151
|
+
@WebhookTools.setter
|
|
35152
|
+
def WebhookTools(self, WebhookTools):
|
|
35153
|
+
self._WebhookTools = WebhookTools
|
|
35154
|
+
|
|
35155
|
+
@property
|
|
35156
|
+
def BotType(self):
|
|
35157
|
+
r"""智能体模板类型
|
|
35158
|
+
:rtype: str
|
|
35159
|
+
"""
|
|
35160
|
+
return self._BotType
|
|
35161
|
+
|
|
35162
|
+
@BotType.setter
|
|
35163
|
+
def BotType(self, BotType):
|
|
35164
|
+
self._BotType = BotType
|
|
35165
|
+
|
|
35166
|
+
@property
|
|
35167
|
+
def RAGConfig(self):
|
|
35168
|
+
r"""知识库相关配置(JSON字符串格式)
|
|
35169
|
+
:rtype: str
|
|
35170
|
+
"""
|
|
35171
|
+
return self._RAGConfig
|
|
35172
|
+
|
|
35173
|
+
@RAGConfig.setter
|
|
35174
|
+
def RAGConfig(self, RAGConfig):
|
|
35175
|
+
self._RAGConfig = RAGConfig
|
|
35176
|
+
|
|
34649
35177
|
|
|
34650
35178
|
def _deserialize(self, params):
|
|
34651
35179
|
self._Uin = params.get("Uin")
|
|
@@ -34679,6 +35207,282 @@ class TalkAIBotInfo(AbstractModel):
|
|
|
34679
35207
|
obj._deserialize(item)
|
|
34680
35208
|
self._BoundProducts.append(obj)
|
|
34681
35209
|
self._CustomTools = params.get("CustomTools")
|
|
35210
|
+
self._WebhookTools = params.get("WebhookTools")
|
|
35211
|
+
self._BotType = params.get("BotType")
|
|
35212
|
+
self._RAGConfig = params.get("RAGConfig")
|
|
35213
|
+
memeber_set = set(params.keys())
|
|
35214
|
+
for name, value in vars(self).items():
|
|
35215
|
+
property_name = name[1:]
|
|
35216
|
+
if property_name in memeber_set:
|
|
35217
|
+
memeber_set.remove(property_name)
|
|
35218
|
+
if len(memeber_set) > 0:
|
|
35219
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35220
|
+
|
|
35221
|
+
|
|
35222
|
+
|
|
35223
|
+
class TalkActivateRecordLogInfo(AbstractModel):
|
|
35224
|
+
r"""Talk激活审计信息。
|
|
35225
|
+
|
|
35226
|
+
"""
|
|
35227
|
+
|
|
35228
|
+
def __init__(self):
|
|
35229
|
+
r"""
|
|
35230
|
+
:param _ProductId: 产品ID
|
|
35231
|
+
:type ProductId: str
|
|
35232
|
+
:param _DeviceName: 设备名称
|
|
35233
|
+
:type DeviceName: str
|
|
35234
|
+
:param _ActiveTime: 激活时间,秒级时间戳
|
|
35235
|
+
:type ActiveTime: int
|
|
35236
|
+
:param _ExpireTime: 过期时间,秒级时间戳
|
|
35237
|
+
:type ExpireTime: int
|
|
35238
|
+
:param _ServiceType: TWeTalk类型:1-基础版;2-高级版;3-多模态;
|
|
35239
|
+
:type ServiceType: int
|
|
35240
|
+
:param _Status: 状态: 0-未激活, 1-已激活, 2-已过期, 3-已作废
|
|
35241
|
+
:type Status: int
|
|
35242
|
+
:param _ErrorMsg: 错误信息
|
|
35243
|
+
:type ErrorMsg: str
|
|
35244
|
+
"""
|
|
35245
|
+
self._ProductId = None
|
|
35246
|
+
self._DeviceName = None
|
|
35247
|
+
self._ActiveTime = None
|
|
35248
|
+
self._ExpireTime = None
|
|
35249
|
+
self._ServiceType = None
|
|
35250
|
+
self._Status = None
|
|
35251
|
+
self._ErrorMsg = None
|
|
35252
|
+
|
|
35253
|
+
@property
|
|
35254
|
+
def ProductId(self):
|
|
35255
|
+
r"""产品ID
|
|
35256
|
+
:rtype: str
|
|
35257
|
+
"""
|
|
35258
|
+
return self._ProductId
|
|
35259
|
+
|
|
35260
|
+
@ProductId.setter
|
|
35261
|
+
def ProductId(self, ProductId):
|
|
35262
|
+
self._ProductId = ProductId
|
|
35263
|
+
|
|
35264
|
+
@property
|
|
35265
|
+
def DeviceName(self):
|
|
35266
|
+
r"""设备名称
|
|
35267
|
+
:rtype: str
|
|
35268
|
+
"""
|
|
35269
|
+
return self._DeviceName
|
|
35270
|
+
|
|
35271
|
+
@DeviceName.setter
|
|
35272
|
+
def DeviceName(self, DeviceName):
|
|
35273
|
+
self._DeviceName = DeviceName
|
|
35274
|
+
|
|
35275
|
+
@property
|
|
35276
|
+
def ActiveTime(self):
|
|
35277
|
+
r"""激活时间,秒级时间戳
|
|
35278
|
+
:rtype: int
|
|
35279
|
+
"""
|
|
35280
|
+
return self._ActiveTime
|
|
35281
|
+
|
|
35282
|
+
@ActiveTime.setter
|
|
35283
|
+
def ActiveTime(self, ActiveTime):
|
|
35284
|
+
self._ActiveTime = ActiveTime
|
|
35285
|
+
|
|
35286
|
+
@property
|
|
35287
|
+
def ExpireTime(self):
|
|
35288
|
+
r"""过期时间,秒级时间戳
|
|
35289
|
+
:rtype: int
|
|
35290
|
+
"""
|
|
35291
|
+
return self._ExpireTime
|
|
35292
|
+
|
|
35293
|
+
@ExpireTime.setter
|
|
35294
|
+
def ExpireTime(self, ExpireTime):
|
|
35295
|
+
self._ExpireTime = ExpireTime
|
|
35296
|
+
|
|
35297
|
+
@property
|
|
35298
|
+
def ServiceType(self):
|
|
35299
|
+
r"""TWeTalk类型:1-基础版;2-高级版;3-多模态;
|
|
35300
|
+
:rtype: int
|
|
35301
|
+
"""
|
|
35302
|
+
return self._ServiceType
|
|
35303
|
+
|
|
35304
|
+
@ServiceType.setter
|
|
35305
|
+
def ServiceType(self, ServiceType):
|
|
35306
|
+
self._ServiceType = ServiceType
|
|
35307
|
+
|
|
35308
|
+
@property
|
|
35309
|
+
def Status(self):
|
|
35310
|
+
r"""状态: 0-未激活, 1-已激活, 2-已过期, 3-已作废
|
|
35311
|
+
:rtype: int
|
|
35312
|
+
"""
|
|
35313
|
+
return self._Status
|
|
35314
|
+
|
|
35315
|
+
@Status.setter
|
|
35316
|
+
def Status(self, Status):
|
|
35317
|
+
self._Status = Status
|
|
35318
|
+
|
|
35319
|
+
@property
|
|
35320
|
+
def ErrorMsg(self):
|
|
35321
|
+
r"""错误信息
|
|
35322
|
+
:rtype: str
|
|
35323
|
+
"""
|
|
35324
|
+
return self._ErrorMsg
|
|
35325
|
+
|
|
35326
|
+
@ErrorMsg.setter
|
|
35327
|
+
def ErrorMsg(self, ErrorMsg):
|
|
35328
|
+
self._ErrorMsg = ErrorMsg
|
|
35329
|
+
|
|
35330
|
+
|
|
35331
|
+
def _deserialize(self, params):
|
|
35332
|
+
self._ProductId = params.get("ProductId")
|
|
35333
|
+
self._DeviceName = params.get("DeviceName")
|
|
35334
|
+
self._ActiveTime = params.get("ActiveTime")
|
|
35335
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
35336
|
+
self._ServiceType = params.get("ServiceType")
|
|
35337
|
+
self._Status = params.get("Status")
|
|
35338
|
+
self._ErrorMsg = params.get("ErrorMsg")
|
|
35339
|
+
memeber_set = set(params.keys())
|
|
35340
|
+
for name, value in vars(self).items():
|
|
35341
|
+
property_name = name[1:]
|
|
35342
|
+
if property_name in memeber_set:
|
|
35343
|
+
memeber_set.remove(property_name)
|
|
35344
|
+
if len(memeber_set) > 0:
|
|
35345
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35346
|
+
|
|
35347
|
+
|
|
35348
|
+
|
|
35349
|
+
class TalkActivationInfo(AbstractModel):
|
|
35350
|
+
r"""Talk设备激活信息。
|
|
35351
|
+
|
|
35352
|
+
"""
|
|
35353
|
+
|
|
35354
|
+
def __init__(self):
|
|
35355
|
+
r"""
|
|
35356
|
+
:param _DeviceId: 设备ID,产品ID_设备名称
|
|
35357
|
+
:type DeviceId: str
|
|
35358
|
+
:param _ErrCode: 设备激活状态,0:激活成功;60001:激活码类型不匹配;60002:激活码数量不足;60003:设备不存在;60004:产品不存在;60005:权限不足;60006:设备已激活;60007:无效的参数;60008:系统错误;60009:产品不是码音视频类型
|
|
35359
|
+
:type ErrCode: int
|
|
35360
|
+
:param _ErrMessage: 激活错误信息
|
|
35361
|
+
:type ErrMessage: str
|
|
35362
|
+
:param _ExpireTime: 过期时间,秒级时间戳
|
|
35363
|
+
:type ExpireTime: int
|
|
35364
|
+
"""
|
|
35365
|
+
self._DeviceId = None
|
|
35366
|
+
self._ErrCode = None
|
|
35367
|
+
self._ErrMessage = None
|
|
35368
|
+
self._ExpireTime = None
|
|
35369
|
+
|
|
35370
|
+
@property
|
|
35371
|
+
def DeviceId(self):
|
|
35372
|
+
r"""设备ID,产品ID_设备名称
|
|
35373
|
+
:rtype: str
|
|
35374
|
+
"""
|
|
35375
|
+
return self._DeviceId
|
|
35376
|
+
|
|
35377
|
+
@DeviceId.setter
|
|
35378
|
+
def DeviceId(self, DeviceId):
|
|
35379
|
+
self._DeviceId = DeviceId
|
|
35380
|
+
|
|
35381
|
+
@property
|
|
35382
|
+
def ErrCode(self):
|
|
35383
|
+
r"""设备激活状态,0:激活成功;60001:激活码类型不匹配;60002:激活码数量不足;60003:设备不存在;60004:产品不存在;60005:权限不足;60006:设备已激活;60007:无效的参数;60008:系统错误;60009:产品不是码音视频类型
|
|
35384
|
+
:rtype: int
|
|
35385
|
+
"""
|
|
35386
|
+
return self._ErrCode
|
|
35387
|
+
|
|
35388
|
+
@ErrCode.setter
|
|
35389
|
+
def ErrCode(self, ErrCode):
|
|
35390
|
+
self._ErrCode = ErrCode
|
|
35391
|
+
|
|
35392
|
+
@property
|
|
35393
|
+
def ErrMessage(self):
|
|
35394
|
+
r"""激活错误信息
|
|
35395
|
+
:rtype: str
|
|
35396
|
+
"""
|
|
35397
|
+
return self._ErrMessage
|
|
35398
|
+
|
|
35399
|
+
@ErrMessage.setter
|
|
35400
|
+
def ErrMessage(self, ErrMessage):
|
|
35401
|
+
self._ErrMessage = ErrMessage
|
|
35402
|
+
|
|
35403
|
+
@property
|
|
35404
|
+
def ExpireTime(self):
|
|
35405
|
+
r"""过期时间,秒级时间戳
|
|
35406
|
+
:rtype: int
|
|
35407
|
+
"""
|
|
35408
|
+
return self._ExpireTime
|
|
35409
|
+
|
|
35410
|
+
@ExpireTime.setter
|
|
35411
|
+
def ExpireTime(self, ExpireTime):
|
|
35412
|
+
self._ExpireTime = ExpireTime
|
|
35413
|
+
|
|
35414
|
+
|
|
35415
|
+
def _deserialize(self, params):
|
|
35416
|
+
self._DeviceId = params.get("DeviceId")
|
|
35417
|
+
self._ErrCode = params.get("ErrCode")
|
|
35418
|
+
self._ErrMessage = params.get("ErrMessage")
|
|
35419
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
35420
|
+
memeber_set = set(params.keys())
|
|
35421
|
+
for name, value in vars(self).items():
|
|
35422
|
+
property_name = name[1:]
|
|
35423
|
+
if property_name in memeber_set:
|
|
35424
|
+
memeber_set.remove(property_name)
|
|
35425
|
+
if len(memeber_set) > 0:
|
|
35426
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35427
|
+
|
|
35428
|
+
|
|
35429
|
+
|
|
35430
|
+
class TalkActivationStatusInfo(AbstractModel):
|
|
35431
|
+
r"""Talk激活状态响应定义。
|
|
35432
|
+
|
|
35433
|
+
"""
|
|
35434
|
+
|
|
35435
|
+
def __init__(self):
|
|
35436
|
+
r"""
|
|
35437
|
+
:param _DeviceId: 设备ID,产品ID_设备名称
|
|
35438
|
+
:type DeviceId: str
|
|
35439
|
+
:param _ExpireTime: 过期时间,秒级时间戳
|
|
35440
|
+
:type ExpireTime: int
|
|
35441
|
+
:param _ServiceType: TWeTalk类型:1-基础版;2-高级版;3-多模态;
|
|
35442
|
+
:type ServiceType: int
|
|
35443
|
+
"""
|
|
35444
|
+
self._DeviceId = None
|
|
35445
|
+
self._ExpireTime = None
|
|
35446
|
+
self._ServiceType = None
|
|
35447
|
+
|
|
35448
|
+
@property
|
|
35449
|
+
def DeviceId(self):
|
|
35450
|
+
r"""设备ID,产品ID_设备名称
|
|
35451
|
+
:rtype: str
|
|
35452
|
+
"""
|
|
35453
|
+
return self._DeviceId
|
|
35454
|
+
|
|
35455
|
+
@DeviceId.setter
|
|
35456
|
+
def DeviceId(self, DeviceId):
|
|
35457
|
+
self._DeviceId = DeviceId
|
|
35458
|
+
|
|
35459
|
+
@property
|
|
35460
|
+
def ExpireTime(self):
|
|
35461
|
+
r"""过期时间,秒级时间戳
|
|
35462
|
+
:rtype: int
|
|
35463
|
+
"""
|
|
35464
|
+
return self._ExpireTime
|
|
35465
|
+
|
|
35466
|
+
@ExpireTime.setter
|
|
35467
|
+
def ExpireTime(self, ExpireTime):
|
|
35468
|
+
self._ExpireTime = ExpireTime
|
|
35469
|
+
|
|
35470
|
+
@property
|
|
35471
|
+
def ServiceType(self):
|
|
35472
|
+
r"""TWeTalk类型:1-基础版;2-高级版;3-多模态;
|
|
35473
|
+
:rtype: int
|
|
35474
|
+
"""
|
|
35475
|
+
return self._ServiceType
|
|
35476
|
+
|
|
35477
|
+
@ServiceType.setter
|
|
35478
|
+
def ServiceType(self, ServiceType):
|
|
35479
|
+
self._ServiceType = ServiceType
|
|
35480
|
+
|
|
35481
|
+
|
|
35482
|
+
def _deserialize(self, params):
|
|
35483
|
+
self._DeviceId = params.get("DeviceId")
|
|
35484
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
35485
|
+
self._ServiceType = params.get("ServiceType")
|
|
34682
35486
|
memeber_set = set(params.keys())
|
|
34683
35487
|
for name, value in vars(self).items():
|
|
34684
35488
|
property_name = name[1:]
|
|
@@ -34724,6 +35528,12 @@ class TalkAgentConfigInfo(AbstractModel):
|
|
|
34724
35528
|
:type DefaultVoiceType: int
|
|
34725
35529
|
:param _FastVoiceType: 复刻音色
|
|
34726
35530
|
:type FastVoiceType: str
|
|
35531
|
+
:param _SubtitleCallbackUrl: 实时字幕回调地址,支持HTTP/HTTPS
|
|
35532
|
+
:type SubtitleCallbackUrl: str
|
|
35533
|
+
:param _SubtitleCallbackSignKey: 回调签名密钥,最大32字符,用于HMAC SHA256签名
|
|
35534
|
+
:type SubtitleCallbackSignKey: str
|
|
35535
|
+
:param _SubtitleCallbackTimeout: 字幕推送超时时间(秒),参考TRTC规范
|
|
35536
|
+
:type SubtitleCallbackTimeout: int
|
|
34727
35537
|
"""
|
|
34728
35538
|
self._SessionTimeout = None
|
|
34729
35539
|
self._InterruptionEnabled = None
|
|
@@ -34739,6 +35549,9 @@ class TalkAgentConfigInfo(AbstractModel):
|
|
|
34739
35549
|
self._GreetingMessage = None
|
|
34740
35550
|
self._DefaultVoiceType = None
|
|
34741
35551
|
self._FastVoiceType = None
|
|
35552
|
+
self._SubtitleCallbackUrl = None
|
|
35553
|
+
self._SubtitleCallbackSignKey = None
|
|
35554
|
+
self._SubtitleCallbackTimeout = None
|
|
34742
35555
|
|
|
34743
35556
|
@property
|
|
34744
35557
|
def SessionTimeout(self):
|
|
@@ -34894,6 +35707,39 @@ class TalkAgentConfigInfo(AbstractModel):
|
|
|
34894
35707
|
def FastVoiceType(self, FastVoiceType):
|
|
34895
35708
|
self._FastVoiceType = FastVoiceType
|
|
34896
35709
|
|
|
35710
|
+
@property
|
|
35711
|
+
def SubtitleCallbackUrl(self):
|
|
35712
|
+
r"""实时字幕回调地址,支持HTTP/HTTPS
|
|
35713
|
+
:rtype: str
|
|
35714
|
+
"""
|
|
35715
|
+
return self._SubtitleCallbackUrl
|
|
35716
|
+
|
|
35717
|
+
@SubtitleCallbackUrl.setter
|
|
35718
|
+
def SubtitleCallbackUrl(self, SubtitleCallbackUrl):
|
|
35719
|
+
self._SubtitleCallbackUrl = SubtitleCallbackUrl
|
|
35720
|
+
|
|
35721
|
+
@property
|
|
35722
|
+
def SubtitleCallbackSignKey(self):
|
|
35723
|
+
r"""回调签名密钥,最大32字符,用于HMAC SHA256签名
|
|
35724
|
+
:rtype: str
|
|
35725
|
+
"""
|
|
35726
|
+
return self._SubtitleCallbackSignKey
|
|
35727
|
+
|
|
35728
|
+
@SubtitleCallbackSignKey.setter
|
|
35729
|
+
def SubtitleCallbackSignKey(self, SubtitleCallbackSignKey):
|
|
35730
|
+
self._SubtitleCallbackSignKey = SubtitleCallbackSignKey
|
|
35731
|
+
|
|
35732
|
+
@property
|
|
35733
|
+
def SubtitleCallbackTimeout(self):
|
|
35734
|
+
r"""字幕推送超时时间(秒),参考TRTC规范
|
|
35735
|
+
:rtype: int
|
|
35736
|
+
"""
|
|
35737
|
+
return self._SubtitleCallbackTimeout
|
|
35738
|
+
|
|
35739
|
+
@SubtitleCallbackTimeout.setter
|
|
35740
|
+
def SubtitleCallbackTimeout(self, SubtitleCallbackTimeout):
|
|
35741
|
+
self._SubtitleCallbackTimeout = SubtitleCallbackTimeout
|
|
35742
|
+
|
|
34897
35743
|
|
|
34898
35744
|
def _deserialize(self, params):
|
|
34899
35745
|
self._SessionTimeout = params.get("SessionTimeout")
|
|
@@ -34912,6 +35758,9 @@ class TalkAgentConfigInfo(AbstractModel):
|
|
|
34912
35758
|
self._GreetingMessage = params.get("GreetingMessage")
|
|
34913
35759
|
self._DefaultVoiceType = params.get("DefaultVoiceType")
|
|
34914
35760
|
self._FastVoiceType = params.get("FastVoiceType")
|
|
35761
|
+
self._SubtitleCallbackUrl = params.get("SubtitleCallbackUrl")
|
|
35762
|
+
self._SubtitleCallbackSignKey = params.get("SubtitleCallbackSignKey")
|
|
35763
|
+
self._SubtitleCallbackTimeout = params.get("SubtitleCallbackTimeout")
|
|
34915
35764
|
memeber_set = set(params.keys())
|
|
34916
35765
|
for name, value in vars(self).items():
|
|
34917
35766
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.57
|
|
4
4
|
Summary: Tencent Cloud Iotexplorer SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.57
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=xaRzUsSt-PmlABF5G4N88Oix_hStqsvDvMvvk_DvB5Y,629
|
|
2
|
+
tencentcloud/iotexplorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/iotexplorer/v20190423/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/iotexplorer/v20190423/errorcodes.py,sha256=PiZSbZvPZk5zmTztttgWZrHJv9ZAdu54MxzPf2t-OlM,24838
|
|
5
|
+
tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=RGxPWMABLbUdnVb40PLdN6otlT9mTZkijsWgt0NsPK4,191320
|
|
6
|
+
tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py,sha256=F2tJMptNGqRm5TndPmE4ur6hwjYGdQZg5JbeoY-dVEg,126253
|
|
7
|
+
tencentcloud/iotexplorer/v20190423/models.py,sha256=nDwn5_BpReRXiMjWvbEqgarDAOq2HMTLiHf0cgA8ke0,1149547
|
|
8
|
+
tencentcloud_sdk_python_iotexplorer-3.1.57.dist-info/METADATA,sha256=rAr4KI0W0hbIqGvG1es5gGDBKh34Ud0oK-BN8npe_zs,1535
|
|
9
|
+
tencentcloud_sdk_python_iotexplorer-3.1.57.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_iotexplorer-3.1.57.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_iotexplorer-3.1.57.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=PJs7ULt1iWdiU7EFtDK1aEt01SAv7It1wcMLVkQ-PAA,629
|
|
2
|
-
tencentcloud/iotexplorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/iotexplorer/v20190423/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/iotexplorer/v20190423/errorcodes.py,sha256=PiZSbZvPZk5zmTztttgWZrHJv9ZAdu54MxzPf2t-OlM,24838
|
|
5
|
-
tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=nakpS_o9JD05XRa8R240A0EMw7yHRiqq_OvHnTaW2wA,188539
|
|
6
|
-
tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py,sha256=aP39OVTh_8dVwh8xHNNlLVsucO36poQMPx3mXNe2Tag,124429
|
|
7
|
-
tencentcloud/iotexplorer/v20190423/models.py,sha256=pWpqsl_ia7gClPj6tUaSh0nzwaqwWlvf6Ia-xKZTldQ,1123900
|
|
8
|
-
tencentcloud_sdk_python_iotexplorer-3.1.45.dist-info/METADATA,sha256=WVVEC3AkhyHWLdPXt3bFi9cFO4kBBgZorCoE-bK-vVM,1535
|
|
9
|
-
tencentcloud_sdk_python_iotexplorer-3.1.45.dist-info/WHEEL,sha256=I3glN-nznogni2CWkAvi6vPRkBhTbVeYvJZnIsln6uc,109
|
|
10
|
-
tencentcloud_sdk_python_iotexplorer-3.1.45.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_iotexplorer-3.1.45.dist-info/RECORD,,
|