tencentcloud-sdk-python-iotexplorer 3.0.1447__tar.gz → 3.0.1450__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.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +115 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/iotexplorer/v20190423/models.py +1014 -47
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1450/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1447/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1447 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/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.1450,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -672,6 +672,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
672
672
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
673
673
|
|
|
674
674
|
|
|
675
|
+
def CreateTWeTalkProductConfig(self, request):
|
|
676
|
+
"""用于配置TWeTalk服务连接产品配置信息。
|
|
677
|
+
|
|
678
|
+
:param request: Request instance for CreateTWeTalkProductConfig.
|
|
679
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeTalkProductConfigRequest`
|
|
680
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeTalkProductConfigResponse`
|
|
681
|
+
|
|
682
|
+
"""
|
|
683
|
+
try:
|
|
684
|
+
params = request._serialize()
|
|
685
|
+
headers = request.headers
|
|
686
|
+
body = self.call("CreateTWeTalkProductConfig", params, headers=headers)
|
|
687
|
+
response = json.loads(body)
|
|
688
|
+
model = models.CreateTWeTalkProductConfigResponse()
|
|
689
|
+
model._deserialize(response["Response"])
|
|
690
|
+
return model
|
|
691
|
+
except Exception as e:
|
|
692
|
+
if isinstance(e, TencentCloudSDKException):
|
|
693
|
+
raise
|
|
694
|
+
else:
|
|
695
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
696
|
+
|
|
697
|
+
|
|
675
698
|
def CreateTopicPolicy(self, request):
|
|
676
699
|
"""本接口(CreateTopicPolicy)用于创建一个Topic
|
|
677
700
|
|
|
@@ -2215,6 +2238,52 @@ class IotexplorerClient(AbstractClient):
|
|
|
2215
2238
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2216
2239
|
|
|
2217
2240
|
|
|
2241
|
+
def DescribeTWeSeeRecognitionTask(self, request):
|
|
2242
|
+
"""查询 TWeSee 语义理解任务
|
|
2243
|
+
|
|
2244
|
+
:param request: Request instance for DescribeTWeSeeRecognitionTask.
|
|
2245
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeSeeRecognitionTaskRequest`
|
|
2246
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeSeeRecognitionTaskResponse`
|
|
2247
|
+
|
|
2248
|
+
"""
|
|
2249
|
+
try:
|
|
2250
|
+
params = request._serialize()
|
|
2251
|
+
headers = request.headers
|
|
2252
|
+
body = self.call("DescribeTWeSeeRecognitionTask", params, headers=headers)
|
|
2253
|
+
response = json.loads(body)
|
|
2254
|
+
model = models.DescribeTWeSeeRecognitionTaskResponse()
|
|
2255
|
+
model._deserialize(response["Response"])
|
|
2256
|
+
return model
|
|
2257
|
+
except Exception as e:
|
|
2258
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2259
|
+
raise
|
|
2260
|
+
else:
|
|
2261
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
def DescribeTWeTalkProductConfig(self, request):
|
|
2265
|
+
"""用于获取TWeTalk服务连接产品配置信息。
|
|
2266
|
+
|
|
2267
|
+
:param request: Request instance for DescribeTWeTalkProductConfig.
|
|
2268
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeTalkProductConfigRequest`
|
|
2269
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeTalkProductConfigResponse`
|
|
2270
|
+
|
|
2271
|
+
"""
|
|
2272
|
+
try:
|
|
2273
|
+
params = request._serialize()
|
|
2274
|
+
headers = request.headers
|
|
2275
|
+
body = self.call("DescribeTWeTalkProductConfig", params, headers=headers)
|
|
2276
|
+
response = json.loads(body)
|
|
2277
|
+
model = models.DescribeTWeTalkProductConfigResponse()
|
|
2278
|
+
model._deserialize(response["Response"])
|
|
2279
|
+
return model
|
|
2280
|
+
except Exception as e:
|
|
2281
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2282
|
+
raise
|
|
2283
|
+
else:
|
|
2284
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2285
|
+
|
|
2286
|
+
|
|
2218
2287
|
def DescribeTopicPolicy(self, request):
|
|
2219
2288
|
"""本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
|
2220
2289
|
|
|
@@ -2767,6 +2836,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2767
2836
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2768
2837
|
|
|
2769
2838
|
|
|
2839
|
+
def GetTWeTalkProductConfigList(self, request):
|
|
2840
|
+
"""用于获取TWeTalk服务连接产品配置信息列表。
|
|
2841
|
+
|
|
2842
|
+
:param request: Request instance for GetTWeTalkProductConfigList.
|
|
2843
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeTalkProductConfigListRequest`
|
|
2844
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeTalkProductConfigListResponse`
|
|
2845
|
+
|
|
2846
|
+
"""
|
|
2847
|
+
try:
|
|
2848
|
+
params = request._serialize()
|
|
2849
|
+
headers = request.headers
|
|
2850
|
+
body = self.call("GetTWeTalkProductConfigList", params, headers=headers)
|
|
2851
|
+
response = json.loads(body)
|
|
2852
|
+
model = models.GetTWeTalkProductConfigListResponse()
|
|
2853
|
+
model._deserialize(response["Response"])
|
|
2854
|
+
return model
|
|
2855
|
+
except Exception as e:
|
|
2856
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2857
|
+
raise
|
|
2858
|
+
else:
|
|
2859
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2860
|
+
|
|
2861
|
+
|
|
2770
2862
|
def GetTopicRuleList(self, request):
|
|
2771
2863
|
"""获取规则列表
|
|
2772
2864
|
|
|
@@ -3342,6 +3434,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
3342
3434
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3343
3435
|
|
|
3344
3436
|
|
|
3437
|
+
def ModifyTWeTalkProductConfig(self, request):
|
|
3438
|
+
"""用于修改TWeTalk服务连接产品配置信息。
|
|
3439
|
+
|
|
3440
|
+
:param request: Request instance for ModifyTWeTalkProductConfig.
|
|
3441
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyTWeTalkProductConfigRequest`
|
|
3442
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyTWeTalkProductConfigResponse`
|
|
3443
|
+
|
|
3444
|
+
"""
|
|
3445
|
+
try:
|
|
3446
|
+
params = request._serialize()
|
|
3447
|
+
headers = request.headers
|
|
3448
|
+
body = self.call("ModifyTWeTalkProductConfig", params, headers=headers)
|
|
3449
|
+
response = json.loads(body)
|
|
3450
|
+
model = models.ModifyTWeTalkProductConfigResponse()
|
|
3451
|
+
model._deserialize(response["Response"])
|
|
3452
|
+
return model
|
|
3453
|
+
except Exception as e:
|
|
3454
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3455
|
+
raise
|
|
3456
|
+
else:
|
|
3457
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3458
|
+
|
|
3459
|
+
|
|
3345
3460
|
def ModifyTopicPolicy(self, request):
|
|
3346
3461
|
"""本接口(UpdateTopicPolicy)用于更新Topic信息
|
|
3347
3462
|
|
|
@@ -6128,6 +6128,130 @@ class CreateTWeSeeRecognitionTaskResponse(AbstractModel):
|
|
|
6128
6128
|
self._RequestId = params.get("RequestId")
|
|
6129
6129
|
|
|
6130
6130
|
|
|
6131
|
+
class CreateTWeTalkProductConfigRequest(AbstractModel):
|
|
6132
|
+
"""CreateTWeTalkProductConfig请求参数结构体
|
|
6133
|
+
|
|
6134
|
+
"""
|
|
6135
|
+
|
|
6136
|
+
def __init__(self):
|
|
6137
|
+
r"""
|
|
6138
|
+
:param _ProductId: 产品ID
|
|
6139
|
+
:type ProductId: str
|
|
6140
|
+
:param _SystemPrompt: 系统提示词
|
|
6141
|
+
:type SystemPrompt: str
|
|
6142
|
+
:param _GreetingMessage: 欢迎语
|
|
6143
|
+
:type GreetingMessage: str
|
|
6144
|
+
:param _VoiceType: 音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
|
6145
|
+
:type VoiceType: int
|
|
6146
|
+
:param _TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
|
6147
|
+
:type TargetLanguage: str
|
|
6148
|
+
"""
|
|
6149
|
+
self._ProductId = None
|
|
6150
|
+
self._SystemPrompt = None
|
|
6151
|
+
self._GreetingMessage = None
|
|
6152
|
+
self._VoiceType = None
|
|
6153
|
+
self._TargetLanguage = None
|
|
6154
|
+
|
|
6155
|
+
@property
|
|
6156
|
+
def ProductId(self):
|
|
6157
|
+
"""产品ID
|
|
6158
|
+
:rtype: str
|
|
6159
|
+
"""
|
|
6160
|
+
return self._ProductId
|
|
6161
|
+
|
|
6162
|
+
@ProductId.setter
|
|
6163
|
+
def ProductId(self, ProductId):
|
|
6164
|
+
self._ProductId = ProductId
|
|
6165
|
+
|
|
6166
|
+
@property
|
|
6167
|
+
def SystemPrompt(self):
|
|
6168
|
+
"""系统提示词
|
|
6169
|
+
:rtype: str
|
|
6170
|
+
"""
|
|
6171
|
+
return self._SystemPrompt
|
|
6172
|
+
|
|
6173
|
+
@SystemPrompt.setter
|
|
6174
|
+
def SystemPrompt(self, SystemPrompt):
|
|
6175
|
+
self._SystemPrompt = SystemPrompt
|
|
6176
|
+
|
|
6177
|
+
@property
|
|
6178
|
+
def GreetingMessage(self):
|
|
6179
|
+
"""欢迎语
|
|
6180
|
+
:rtype: str
|
|
6181
|
+
"""
|
|
6182
|
+
return self._GreetingMessage
|
|
6183
|
+
|
|
6184
|
+
@GreetingMessage.setter
|
|
6185
|
+
def GreetingMessage(self, GreetingMessage):
|
|
6186
|
+
self._GreetingMessage = GreetingMessage
|
|
6187
|
+
|
|
6188
|
+
@property
|
|
6189
|
+
def VoiceType(self):
|
|
6190
|
+
"""音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
|
6191
|
+
:rtype: int
|
|
6192
|
+
"""
|
|
6193
|
+
return self._VoiceType
|
|
6194
|
+
|
|
6195
|
+
@VoiceType.setter
|
|
6196
|
+
def VoiceType(self, VoiceType):
|
|
6197
|
+
self._VoiceType = VoiceType
|
|
6198
|
+
|
|
6199
|
+
@property
|
|
6200
|
+
def TargetLanguage(self):
|
|
6201
|
+
"""支持的语言,zh-中文;en-英文;默认zh
|
|
6202
|
+
:rtype: str
|
|
6203
|
+
"""
|
|
6204
|
+
return self._TargetLanguage
|
|
6205
|
+
|
|
6206
|
+
@TargetLanguage.setter
|
|
6207
|
+
def TargetLanguage(self, TargetLanguage):
|
|
6208
|
+
self._TargetLanguage = TargetLanguage
|
|
6209
|
+
|
|
6210
|
+
|
|
6211
|
+
def _deserialize(self, params):
|
|
6212
|
+
self._ProductId = params.get("ProductId")
|
|
6213
|
+
self._SystemPrompt = params.get("SystemPrompt")
|
|
6214
|
+
self._GreetingMessage = params.get("GreetingMessage")
|
|
6215
|
+
self._VoiceType = params.get("VoiceType")
|
|
6216
|
+
self._TargetLanguage = params.get("TargetLanguage")
|
|
6217
|
+
memeber_set = set(params.keys())
|
|
6218
|
+
for name, value in vars(self).items():
|
|
6219
|
+
property_name = name[1:]
|
|
6220
|
+
if property_name in memeber_set:
|
|
6221
|
+
memeber_set.remove(property_name)
|
|
6222
|
+
if len(memeber_set) > 0:
|
|
6223
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6224
|
+
|
|
6225
|
+
|
|
6226
|
+
|
|
6227
|
+
class CreateTWeTalkProductConfigResponse(AbstractModel):
|
|
6228
|
+
"""CreateTWeTalkProductConfig返回参数结构体
|
|
6229
|
+
|
|
6230
|
+
"""
|
|
6231
|
+
|
|
6232
|
+
def __init__(self):
|
|
6233
|
+
r"""
|
|
6234
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6235
|
+
:type RequestId: str
|
|
6236
|
+
"""
|
|
6237
|
+
self._RequestId = None
|
|
6238
|
+
|
|
6239
|
+
@property
|
|
6240
|
+
def RequestId(self):
|
|
6241
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6242
|
+
:rtype: str
|
|
6243
|
+
"""
|
|
6244
|
+
return self._RequestId
|
|
6245
|
+
|
|
6246
|
+
@RequestId.setter
|
|
6247
|
+
def RequestId(self, RequestId):
|
|
6248
|
+
self._RequestId = RequestId
|
|
6249
|
+
|
|
6250
|
+
|
|
6251
|
+
def _deserialize(self, params):
|
|
6252
|
+
self._RequestId = params.get("RequestId")
|
|
6253
|
+
|
|
6254
|
+
|
|
6131
6255
|
class CreateTopicPolicyRequest(AbstractModel):
|
|
6132
6256
|
"""CreateTopicPolicy请求参数结构体
|
|
6133
6257
|
|
|
@@ -14829,6 +14953,202 @@ class DescribeTWeSeeConfigResponse(AbstractModel):
|
|
|
14829
14953
|
self._RequestId = params.get("RequestId")
|
|
14830
14954
|
|
|
14831
14955
|
|
|
14956
|
+
class DescribeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
14957
|
+
"""DescribeTWeSeeRecognitionTask请求参数结构体
|
|
14958
|
+
|
|
14959
|
+
"""
|
|
14960
|
+
|
|
14961
|
+
def __init__(self):
|
|
14962
|
+
r"""
|
|
14963
|
+
:param _TaskId: 任务 ID
|
|
14964
|
+
:type TaskId: str
|
|
14965
|
+
:param _FileURLExpireTime: 下载 URL 的过期时间。
|
|
14966
|
+
|
|
14967
|
+
若传入该参数,则响应中将包含所有文件的下载 URL
|
|
14968
|
+
:type FileURLExpireTime: int
|
|
14969
|
+
"""
|
|
14970
|
+
self._TaskId = None
|
|
14971
|
+
self._FileURLExpireTime = None
|
|
14972
|
+
|
|
14973
|
+
@property
|
|
14974
|
+
def TaskId(self):
|
|
14975
|
+
"""任务 ID
|
|
14976
|
+
:rtype: str
|
|
14977
|
+
"""
|
|
14978
|
+
return self._TaskId
|
|
14979
|
+
|
|
14980
|
+
@TaskId.setter
|
|
14981
|
+
def TaskId(self, TaskId):
|
|
14982
|
+
self._TaskId = TaskId
|
|
14983
|
+
|
|
14984
|
+
@property
|
|
14985
|
+
def FileURLExpireTime(self):
|
|
14986
|
+
"""下载 URL 的过期时间。
|
|
14987
|
+
|
|
14988
|
+
若传入该参数,则响应中将包含所有文件的下载 URL
|
|
14989
|
+
:rtype: int
|
|
14990
|
+
"""
|
|
14991
|
+
return self._FileURLExpireTime
|
|
14992
|
+
|
|
14993
|
+
@FileURLExpireTime.setter
|
|
14994
|
+
def FileURLExpireTime(self, FileURLExpireTime):
|
|
14995
|
+
self._FileURLExpireTime = FileURLExpireTime
|
|
14996
|
+
|
|
14997
|
+
|
|
14998
|
+
def _deserialize(self, params):
|
|
14999
|
+
self._TaskId = params.get("TaskId")
|
|
15000
|
+
self._FileURLExpireTime = params.get("FileURLExpireTime")
|
|
15001
|
+
memeber_set = set(params.keys())
|
|
15002
|
+
for name, value in vars(self).items():
|
|
15003
|
+
property_name = name[1:]
|
|
15004
|
+
if property_name in memeber_set:
|
|
15005
|
+
memeber_set.remove(property_name)
|
|
15006
|
+
if len(memeber_set) > 0:
|
|
15007
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15008
|
+
|
|
15009
|
+
|
|
15010
|
+
|
|
15011
|
+
class DescribeTWeSeeRecognitionTaskResponse(AbstractModel):
|
|
15012
|
+
"""DescribeTWeSeeRecognitionTask返回参数结构体
|
|
15013
|
+
|
|
15014
|
+
"""
|
|
15015
|
+
|
|
15016
|
+
def __init__(self):
|
|
15017
|
+
r"""
|
|
15018
|
+
:param _TaskInfo: 任务信息
|
|
15019
|
+
:type TaskInfo: :class:`tencentcloud.iotexplorer.v20190423.models.VisionRecognitionTask`
|
|
15020
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15021
|
+
:type RequestId: str
|
|
15022
|
+
"""
|
|
15023
|
+
self._TaskInfo = None
|
|
15024
|
+
self._RequestId = None
|
|
15025
|
+
|
|
15026
|
+
@property
|
|
15027
|
+
def TaskInfo(self):
|
|
15028
|
+
"""任务信息
|
|
15029
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionRecognitionTask`
|
|
15030
|
+
"""
|
|
15031
|
+
return self._TaskInfo
|
|
15032
|
+
|
|
15033
|
+
@TaskInfo.setter
|
|
15034
|
+
def TaskInfo(self, TaskInfo):
|
|
15035
|
+
self._TaskInfo = TaskInfo
|
|
15036
|
+
|
|
15037
|
+
@property
|
|
15038
|
+
def RequestId(self):
|
|
15039
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15040
|
+
:rtype: str
|
|
15041
|
+
"""
|
|
15042
|
+
return self._RequestId
|
|
15043
|
+
|
|
15044
|
+
@RequestId.setter
|
|
15045
|
+
def RequestId(self, RequestId):
|
|
15046
|
+
self._RequestId = RequestId
|
|
15047
|
+
|
|
15048
|
+
|
|
15049
|
+
def _deserialize(self, params):
|
|
15050
|
+
if params.get("TaskInfo") is not None:
|
|
15051
|
+
self._TaskInfo = VisionRecognitionTask()
|
|
15052
|
+
self._TaskInfo._deserialize(params.get("TaskInfo"))
|
|
15053
|
+
self._RequestId = params.get("RequestId")
|
|
15054
|
+
|
|
15055
|
+
|
|
15056
|
+
class DescribeTWeTalkProductConfigRequest(AbstractModel):
|
|
15057
|
+
"""DescribeTWeTalkProductConfig请求参数结构体
|
|
15058
|
+
|
|
15059
|
+
"""
|
|
15060
|
+
|
|
15061
|
+
def __init__(self):
|
|
15062
|
+
r"""
|
|
15063
|
+
:param _ProductId: 产品ID
|
|
15064
|
+
:type ProductId: str
|
|
15065
|
+
:param _TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
|
15066
|
+
:type TargetLanguage: str
|
|
15067
|
+
"""
|
|
15068
|
+
self._ProductId = None
|
|
15069
|
+
self._TargetLanguage = None
|
|
15070
|
+
|
|
15071
|
+
@property
|
|
15072
|
+
def ProductId(self):
|
|
15073
|
+
"""产品ID
|
|
15074
|
+
:rtype: str
|
|
15075
|
+
"""
|
|
15076
|
+
return self._ProductId
|
|
15077
|
+
|
|
15078
|
+
@ProductId.setter
|
|
15079
|
+
def ProductId(self, ProductId):
|
|
15080
|
+
self._ProductId = ProductId
|
|
15081
|
+
|
|
15082
|
+
@property
|
|
15083
|
+
def TargetLanguage(self):
|
|
15084
|
+
"""支持的语言,zh-中文;en-英文;默认zh
|
|
15085
|
+
:rtype: str
|
|
15086
|
+
"""
|
|
15087
|
+
return self._TargetLanguage
|
|
15088
|
+
|
|
15089
|
+
@TargetLanguage.setter
|
|
15090
|
+
def TargetLanguage(self, TargetLanguage):
|
|
15091
|
+
self._TargetLanguage = TargetLanguage
|
|
15092
|
+
|
|
15093
|
+
|
|
15094
|
+
def _deserialize(self, params):
|
|
15095
|
+
self._ProductId = params.get("ProductId")
|
|
15096
|
+
self._TargetLanguage = params.get("TargetLanguage")
|
|
15097
|
+
memeber_set = set(params.keys())
|
|
15098
|
+
for name, value in vars(self).items():
|
|
15099
|
+
property_name = name[1:]
|
|
15100
|
+
if property_name in memeber_set:
|
|
15101
|
+
memeber_set.remove(property_name)
|
|
15102
|
+
if len(memeber_set) > 0:
|
|
15103
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15104
|
+
|
|
15105
|
+
|
|
15106
|
+
|
|
15107
|
+
class DescribeTWeTalkProductConfigResponse(AbstractModel):
|
|
15108
|
+
"""DescribeTWeTalkProductConfig返回参数结构体
|
|
15109
|
+
|
|
15110
|
+
"""
|
|
15111
|
+
|
|
15112
|
+
def __init__(self):
|
|
15113
|
+
r"""
|
|
15114
|
+
:param _Data: 配置信息
|
|
15115
|
+
:type Data: :class:`tencentcloud.iotexplorer.v20190423.models.TalkProductConfigInfo`
|
|
15116
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15117
|
+
:type RequestId: str
|
|
15118
|
+
"""
|
|
15119
|
+
self._Data = None
|
|
15120
|
+
self._RequestId = None
|
|
15121
|
+
|
|
15122
|
+
@property
|
|
15123
|
+
def Data(self):
|
|
15124
|
+
"""配置信息
|
|
15125
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.TalkProductConfigInfo`
|
|
15126
|
+
"""
|
|
15127
|
+
return self._Data
|
|
15128
|
+
|
|
15129
|
+
@Data.setter
|
|
15130
|
+
def Data(self, Data):
|
|
15131
|
+
self._Data = Data
|
|
15132
|
+
|
|
15133
|
+
@property
|
|
15134
|
+
def RequestId(self):
|
|
15135
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15136
|
+
:rtype: str
|
|
15137
|
+
"""
|
|
15138
|
+
return self._RequestId
|
|
15139
|
+
|
|
15140
|
+
@RequestId.setter
|
|
15141
|
+
def RequestId(self, RequestId):
|
|
15142
|
+
self._RequestId = RequestId
|
|
15143
|
+
|
|
15144
|
+
|
|
15145
|
+
def _deserialize(self, params):
|
|
15146
|
+
if params.get("Data") is not None:
|
|
15147
|
+
self._Data = TalkProductConfigInfo()
|
|
15148
|
+
self._Data._deserialize(params.get("Data"))
|
|
15149
|
+
self._RequestId = params.get("RequestId")
|
|
15150
|
+
|
|
15151
|
+
|
|
14832
15152
|
class DescribeTopicPolicyRequest(AbstractModel):
|
|
14833
15153
|
"""DescribeTopicPolicy请求参数结构体
|
|
14834
15154
|
|
|
@@ -19739,17 +20059,161 @@ class GetTWeCallActiveStatusResponse(AbstractModel):
|
|
|
19739
20059
|
self._RequestId = params.get("RequestId")
|
|
19740
20060
|
|
|
19741
20061
|
|
|
19742
|
-
class
|
|
19743
|
-
"""
|
|
20062
|
+
class GetTWeTalkProductConfigListRequest(AbstractModel):
|
|
20063
|
+
"""GetTWeTalkProductConfigList请求参数结构体
|
|
19744
20064
|
|
|
19745
20065
|
"""
|
|
19746
20066
|
|
|
19747
20067
|
def __init__(self):
|
|
19748
20068
|
r"""
|
|
19749
|
-
:param
|
|
19750
|
-
:type
|
|
19751
|
-
:param
|
|
19752
|
-
:type
|
|
20069
|
+
:param _ProductId: 产品ID
|
|
20070
|
+
:type ProductId: str
|
|
20071
|
+
:param _TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
|
20072
|
+
:type TargetLanguage: str
|
|
20073
|
+
:param _Offset: 页码
|
|
20074
|
+
:type Offset: int
|
|
20075
|
+
:param _Limit: 偏移量,10-100
|
|
20076
|
+
:type Limit: int
|
|
20077
|
+
"""
|
|
20078
|
+
self._ProductId = None
|
|
20079
|
+
self._TargetLanguage = None
|
|
20080
|
+
self._Offset = None
|
|
20081
|
+
self._Limit = None
|
|
20082
|
+
|
|
20083
|
+
@property
|
|
20084
|
+
def ProductId(self):
|
|
20085
|
+
"""产品ID
|
|
20086
|
+
:rtype: str
|
|
20087
|
+
"""
|
|
20088
|
+
return self._ProductId
|
|
20089
|
+
|
|
20090
|
+
@ProductId.setter
|
|
20091
|
+
def ProductId(self, ProductId):
|
|
20092
|
+
self._ProductId = ProductId
|
|
20093
|
+
|
|
20094
|
+
@property
|
|
20095
|
+
def TargetLanguage(self):
|
|
20096
|
+
""" 支持的语言,zh-中文;en-英文;默认zh
|
|
20097
|
+
:rtype: str
|
|
20098
|
+
"""
|
|
20099
|
+
return self._TargetLanguage
|
|
20100
|
+
|
|
20101
|
+
@TargetLanguage.setter
|
|
20102
|
+
def TargetLanguage(self, TargetLanguage):
|
|
20103
|
+
self._TargetLanguage = TargetLanguage
|
|
20104
|
+
|
|
20105
|
+
@property
|
|
20106
|
+
def Offset(self):
|
|
20107
|
+
"""页码
|
|
20108
|
+
:rtype: int
|
|
20109
|
+
"""
|
|
20110
|
+
return self._Offset
|
|
20111
|
+
|
|
20112
|
+
@Offset.setter
|
|
20113
|
+
def Offset(self, Offset):
|
|
20114
|
+
self._Offset = Offset
|
|
20115
|
+
|
|
20116
|
+
@property
|
|
20117
|
+
def Limit(self):
|
|
20118
|
+
"""偏移量,10-100
|
|
20119
|
+
:rtype: int
|
|
20120
|
+
"""
|
|
20121
|
+
return self._Limit
|
|
20122
|
+
|
|
20123
|
+
@Limit.setter
|
|
20124
|
+
def Limit(self, Limit):
|
|
20125
|
+
self._Limit = Limit
|
|
20126
|
+
|
|
20127
|
+
|
|
20128
|
+
def _deserialize(self, params):
|
|
20129
|
+
self._ProductId = params.get("ProductId")
|
|
20130
|
+
self._TargetLanguage = params.get("TargetLanguage")
|
|
20131
|
+
self._Offset = params.get("Offset")
|
|
20132
|
+
self._Limit = params.get("Limit")
|
|
20133
|
+
memeber_set = set(params.keys())
|
|
20134
|
+
for name, value in vars(self).items():
|
|
20135
|
+
property_name = name[1:]
|
|
20136
|
+
if property_name in memeber_set:
|
|
20137
|
+
memeber_set.remove(property_name)
|
|
20138
|
+
if len(memeber_set) > 0:
|
|
20139
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20140
|
+
|
|
20141
|
+
|
|
20142
|
+
|
|
20143
|
+
class GetTWeTalkProductConfigListResponse(AbstractModel):
|
|
20144
|
+
"""GetTWeTalkProductConfigList返回参数结构体
|
|
20145
|
+
|
|
20146
|
+
"""
|
|
20147
|
+
|
|
20148
|
+
def __init__(self):
|
|
20149
|
+
r"""
|
|
20150
|
+
:param _Data: 配置信息列表
|
|
20151
|
+
:type Data: list of TalkProductConfigInfo
|
|
20152
|
+
:param _Total: 总数
|
|
20153
|
+
:type Total: int
|
|
20154
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20155
|
+
:type RequestId: str
|
|
20156
|
+
"""
|
|
20157
|
+
self._Data = None
|
|
20158
|
+
self._Total = None
|
|
20159
|
+
self._RequestId = None
|
|
20160
|
+
|
|
20161
|
+
@property
|
|
20162
|
+
def Data(self):
|
|
20163
|
+
"""配置信息列表
|
|
20164
|
+
:rtype: list of TalkProductConfigInfo
|
|
20165
|
+
"""
|
|
20166
|
+
return self._Data
|
|
20167
|
+
|
|
20168
|
+
@Data.setter
|
|
20169
|
+
def Data(self, Data):
|
|
20170
|
+
self._Data = Data
|
|
20171
|
+
|
|
20172
|
+
@property
|
|
20173
|
+
def Total(self):
|
|
20174
|
+
"""总数
|
|
20175
|
+
:rtype: int
|
|
20176
|
+
"""
|
|
20177
|
+
return self._Total
|
|
20178
|
+
|
|
20179
|
+
@Total.setter
|
|
20180
|
+
def Total(self, Total):
|
|
20181
|
+
self._Total = Total
|
|
20182
|
+
|
|
20183
|
+
@property
|
|
20184
|
+
def RequestId(self):
|
|
20185
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20186
|
+
:rtype: str
|
|
20187
|
+
"""
|
|
20188
|
+
return self._RequestId
|
|
20189
|
+
|
|
20190
|
+
@RequestId.setter
|
|
20191
|
+
def RequestId(self, RequestId):
|
|
20192
|
+
self._RequestId = RequestId
|
|
20193
|
+
|
|
20194
|
+
|
|
20195
|
+
def _deserialize(self, params):
|
|
20196
|
+
if params.get("Data") is not None:
|
|
20197
|
+
self._Data = []
|
|
20198
|
+
for item in params.get("Data"):
|
|
20199
|
+
obj = TalkProductConfigInfo()
|
|
20200
|
+
obj._deserialize(item)
|
|
20201
|
+
self._Data.append(obj)
|
|
20202
|
+
self._Total = params.get("Total")
|
|
20203
|
+
self._RequestId = params.get("RequestId")
|
|
20204
|
+
|
|
20205
|
+
|
|
20206
|
+
class GetTopicRuleListRequest(AbstractModel):
|
|
20207
|
+
"""GetTopicRuleList请求参数结构体
|
|
20208
|
+
|
|
20209
|
+
"""
|
|
20210
|
+
|
|
20211
|
+
def __init__(self):
|
|
20212
|
+
r"""
|
|
20213
|
+
:param _PageNum: 请求的页数
|
|
20214
|
+
:type PageNum: int
|
|
20215
|
+
:param _PageSize: 分页的大小
|
|
20216
|
+
:type PageSize: int
|
|
19753
20217
|
"""
|
|
19754
20218
|
self._PageNum = None
|
|
19755
20219
|
self._PageSize = None
|
|
@@ -25006,6 +25470,130 @@ class ModifyTWeSeeConfigResponse(AbstractModel):
|
|
|
25006
25470
|
self._RequestId = params.get("RequestId")
|
|
25007
25471
|
|
|
25008
25472
|
|
|
25473
|
+
class ModifyTWeTalkProductConfigRequest(AbstractModel):
|
|
25474
|
+
"""ModifyTWeTalkProductConfig请求参数结构体
|
|
25475
|
+
|
|
25476
|
+
"""
|
|
25477
|
+
|
|
25478
|
+
def __init__(self):
|
|
25479
|
+
r"""
|
|
25480
|
+
:param _ProductId: 产品ID
|
|
25481
|
+
:type ProductId: str
|
|
25482
|
+
:param _SystemPrompt: 系统提示词
|
|
25483
|
+
:type SystemPrompt: str
|
|
25484
|
+
:param _GreetingMessage: 欢迎语
|
|
25485
|
+
:type GreetingMessage: str
|
|
25486
|
+
:param _VoiceType: 音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
|
25487
|
+
:type VoiceType: int
|
|
25488
|
+
:param _TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
|
25489
|
+
:type TargetLanguage: str
|
|
25490
|
+
"""
|
|
25491
|
+
self._ProductId = None
|
|
25492
|
+
self._SystemPrompt = None
|
|
25493
|
+
self._GreetingMessage = None
|
|
25494
|
+
self._VoiceType = None
|
|
25495
|
+
self._TargetLanguage = None
|
|
25496
|
+
|
|
25497
|
+
@property
|
|
25498
|
+
def ProductId(self):
|
|
25499
|
+
"""产品ID
|
|
25500
|
+
:rtype: str
|
|
25501
|
+
"""
|
|
25502
|
+
return self._ProductId
|
|
25503
|
+
|
|
25504
|
+
@ProductId.setter
|
|
25505
|
+
def ProductId(self, ProductId):
|
|
25506
|
+
self._ProductId = ProductId
|
|
25507
|
+
|
|
25508
|
+
@property
|
|
25509
|
+
def SystemPrompt(self):
|
|
25510
|
+
"""系统提示词
|
|
25511
|
+
:rtype: str
|
|
25512
|
+
"""
|
|
25513
|
+
return self._SystemPrompt
|
|
25514
|
+
|
|
25515
|
+
@SystemPrompt.setter
|
|
25516
|
+
def SystemPrompt(self, SystemPrompt):
|
|
25517
|
+
self._SystemPrompt = SystemPrompt
|
|
25518
|
+
|
|
25519
|
+
@property
|
|
25520
|
+
def GreetingMessage(self):
|
|
25521
|
+
"""欢迎语
|
|
25522
|
+
:rtype: str
|
|
25523
|
+
"""
|
|
25524
|
+
return self._GreetingMessage
|
|
25525
|
+
|
|
25526
|
+
@GreetingMessage.setter
|
|
25527
|
+
def GreetingMessage(self, GreetingMessage):
|
|
25528
|
+
self._GreetingMessage = GreetingMessage
|
|
25529
|
+
|
|
25530
|
+
@property
|
|
25531
|
+
def VoiceType(self):
|
|
25532
|
+
"""音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
|
25533
|
+
:rtype: int
|
|
25534
|
+
"""
|
|
25535
|
+
return self._VoiceType
|
|
25536
|
+
|
|
25537
|
+
@VoiceType.setter
|
|
25538
|
+
def VoiceType(self, VoiceType):
|
|
25539
|
+
self._VoiceType = VoiceType
|
|
25540
|
+
|
|
25541
|
+
@property
|
|
25542
|
+
def TargetLanguage(self):
|
|
25543
|
+
"""支持的语言,zh-中文;en-英文;默认zh
|
|
25544
|
+
:rtype: str
|
|
25545
|
+
"""
|
|
25546
|
+
return self._TargetLanguage
|
|
25547
|
+
|
|
25548
|
+
@TargetLanguage.setter
|
|
25549
|
+
def TargetLanguage(self, TargetLanguage):
|
|
25550
|
+
self._TargetLanguage = TargetLanguage
|
|
25551
|
+
|
|
25552
|
+
|
|
25553
|
+
def _deserialize(self, params):
|
|
25554
|
+
self._ProductId = params.get("ProductId")
|
|
25555
|
+
self._SystemPrompt = params.get("SystemPrompt")
|
|
25556
|
+
self._GreetingMessage = params.get("GreetingMessage")
|
|
25557
|
+
self._VoiceType = params.get("VoiceType")
|
|
25558
|
+
self._TargetLanguage = params.get("TargetLanguage")
|
|
25559
|
+
memeber_set = set(params.keys())
|
|
25560
|
+
for name, value in vars(self).items():
|
|
25561
|
+
property_name = name[1:]
|
|
25562
|
+
if property_name in memeber_set:
|
|
25563
|
+
memeber_set.remove(property_name)
|
|
25564
|
+
if len(memeber_set) > 0:
|
|
25565
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25566
|
+
|
|
25567
|
+
|
|
25568
|
+
|
|
25569
|
+
class ModifyTWeTalkProductConfigResponse(AbstractModel):
|
|
25570
|
+
"""ModifyTWeTalkProductConfig返回参数结构体
|
|
25571
|
+
|
|
25572
|
+
"""
|
|
25573
|
+
|
|
25574
|
+
def __init__(self):
|
|
25575
|
+
r"""
|
|
25576
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25577
|
+
:type RequestId: str
|
|
25578
|
+
"""
|
|
25579
|
+
self._RequestId = None
|
|
25580
|
+
|
|
25581
|
+
@property
|
|
25582
|
+
def RequestId(self):
|
|
25583
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25584
|
+
:rtype: str
|
|
25585
|
+
"""
|
|
25586
|
+
return self._RequestId
|
|
25587
|
+
|
|
25588
|
+
@RequestId.setter
|
|
25589
|
+
def RequestId(self, RequestId):
|
|
25590
|
+
self._RequestId = RequestId
|
|
25591
|
+
|
|
25592
|
+
|
|
25593
|
+
def _deserialize(self, params):
|
|
25594
|
+
self._RequestId = params.get("RequestId")
|
|
25595
|
+
|
|
25596
|
+
|
|
25009
25597
|
class ModifyTopicPolicyRequest(AbstractModel):
|
|
25010
25598
|
"""ModifyTopicPolicy请求参数结构体
|
|
25011
25599
|
|
|
@@ -28937,52 +29525,35 @@ class TWeCallLicenseInfo(AbstractModel):
|
|
|
28937
29525
|
|
|
28938
29526
|
|
|
28939
29527
|
|
|
28940
|
-
class
|
|
28941
|
-
"""
|
|
29528
|
+
class TalkProductConfigInfo(AbstractModel):
|
|
29529
|
+
"""Talk配置信息描述。
|
|
28942
29530
|
|
|
28943
29531
|
"""
|
|
28944
29532
|
|
|
28945
29533
|
def __init__(self):
|
|
28946
29534
|
r"""
|
|
28947
|
-
:param _Id: 视频唯一ID
|
|
28948
|
-
:type Id: str
|
|
28949
29535
|
:param _ProductId: 产品ID
|
|
28950
29536
|
:type ProductId: str
|
|
28951
|
-
:param
|
|
28952
|
-
:type
|
|
28953
|
-
:param
|
|
28954
|
-
:type
|
|
28955
|
-
:param
|
|
28956
|
-
:type
|
|
28957
|
-
:param
|
|
28958
|
-
:type
|
|
28959
|
-
:param
|
|
28960
|
-
:type
|
|
28961
|
-
:param
|
|
28962
|
-
:type
|
|
28963
|
-
:param _Thumbnail: 缩略图路径
|
|
28964
|
-
:type Thumbnail: str
|
|
29537
|
+
:param _TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
|
29538
|
+
:type TargetLanguage: str
|
|
29539
|
+
:param _SystemPrompt: 系统提示词
|
|
29540
|
+
:type SystemPrompt: str
|
|
29541
|
+
:param _GreetingMessage: 欢迎语
|
|
29542
|
+
:type GreetingMessage: str
|
|
29543
|
+
:param _VoiceType: 音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
|
29544
|
+
:type VoiceType: int
|
|
29545
|
+
:param _CreateTime: 创建时间
|
|
29546
|
+
:type CreateTime: int
|
|
29547
|
+
:param _UpdateTime: 更新时间
|
|
29548
|
+
:type UpdateTime: int
|
|
28965
29549
|
"""
|
|
28966
|
-
self._Id = None
|
|
28967
29550
|
self._ProductId = None
|
|
28968
|
-
self.
|
|
28969
|
-
self.
|
|
28970
|
-
self.
|
|
28971
|
-
self.
|
|
28972
|
-
self.
|
|
28973
|
-
self.
|
|
28974
|
-
self._Thumbnail = None
|
|
28975
|
-
|
|
28976
|
-
@property
|
|
28977
|
-
def Id(self):
|
|
28978
|
-
"""视频唯一ID
|
|
28979
|
-
:rtype: str
|
|
28980
|
-
"""
|
|
28981
|
-
return self._Id
|
|
28982
|
-
|
|
28983
|
-
@Id.setter
|
|
28984
|
-
def Id(self, Id):
|
|
28985
|
-
self._Id = Id
|
|
29551
|
+
self._TargetLanguage = None
|
|
29552
|
+
self._SystemPrompt = None
|
|
29553
|
+
self._GreetingMessage = None
|
|
29554
|
+
self._VoiceType = None
|
|
29555
|
+
self._CreateTime = None
|
|
29556
|
+
self._UpdateTime = None
|
|
28986
29557
|
|
|
28987
29558
|
@property
|
|
28988
29559
|
def ProductId(self):
|
|
@@ -28996,13 +29567,156 @@ class TargetInfo(AbstractModel):
|
|
|
28996
29567
|
self._ProductId = ProductId
|
|
28997
29568
|
|
|
28998
29569
|
@property
|
|
28999
|
-
def
|
|
29000
|
-
"""
|
|
29570
|
+
def TargetLanguage(self):
|
|
29571
|
+
"""支持的语言,zh-中文;en-英文;默认zh
|
|
29001
29572
|
:rtype: str
|
|
29002
29573
|
"""
|
|
29003
|
-
return self.
|
|
29574
|
+
return self._TargetLanguage
|
|
29004
29575
|
|
|
29005
|
-
@
|
|
29576
|
+
@TargetLanguage.setter
|
|
29577
|
+
def TargetLanguage(self, TargetLanguage):
|
|
29578
|
+
self._TargetLanguage = TargetLanguage
|
|
29579
|
+
|
|
29580
|
+
@property
|
|
29581
|
+
def SystemPrompt(self):
|
|
29582
|
+
""" 系统提示词
|
|
29583
|
+
:rtype: str
|
|
29584
|
+
"""
|
|
29585
|
+
return self._SystemPrompt
|
|
29586
|
+
|
|
29587
|
+
@SystemPrompt.setter
|
|
29588
|
+
def SystemPrompt(self, SystemPrompt):
|
|
29589
|
+
self._SystemPrompt = SystemPrompt
|
|
29590
|
+
|
|
29591
|
+
@property
|
|
29592
|
+
def GreetingMessage(self):
|
|
29593
|
+
"""欢迎语
|
|
29594
|
+
:rtype: str
|
|
29595
|
+
"""
|
|
29596
|
+
return self._GreetingMessage
|
|
29597
|
+
|
|
29598
|
+
@GreetingMessage.setter
|
|
29599
|
+
def GreetingMessage(self, GreetingMessage):
|
|
29600
|
+
self._GreetingMessage = GreetingMessage
|
|
29601
|
+
|
|
29602
|
+
@property
|
|
29603
|
+
def VoiceType(self):
|
|
29604
|
+
"""音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
|
29605
|
+
:rtype: int
|
|
29606
|
+
"""
|
|
29607
|
+
return self._VoiceType
|
|
29608
|
+
|
|
29609
|
+
@VoiceType.setter
|
|
29610
|
+
def VoiceType(self, VoiceType):
|
|
29611
|
+
self._VoiceType = VoiceType
|
|
29612
|
+
|
|
29613
|
+
@property
|
|
29614
|
+
def CreateTime(self):
|
|
29615
|
+
"""创建时间
|
|
29616
|
+
:rtype: int
|
|
29617
|
+
"""
|
|
29618
|
+
return self._CreateTime
|
|
29619
|
+
|
|
29620
|
+
@CreateTime.setter
|
|
29621
|
+
def CreateTime(self, CreateTime):
|
|
29622
|
+
self._CreateTime = CreateTime
|
|
29623
|
+
|
|
29624
|
+
@property
|
|
29625
|
+
def UpdateTime(self):
|
|
29626
|
+
"""更新时间
|
|
29627
|
+
:rtype: int
|
|
29628
|
+
"""
|
|
29629
|
+
return self._UpdateTime
|
|
29630
|
+
|
|
29631
|
+
@UpdateTime.setter
|
|
29632
|
+
def UpdateTime(self, UpdateTime):
|
|
29633
|
+
self._UpdateTime = UpdateTime
|
|
29634
|
+
|
|
29635
|
+
|
|
29636
|
+
def _deserialize(self, params):
|
|
29637
|
+
self._ProductId = params.get("ProductId")
|
|
29638
|
+
self._TargetLanguage = params.get("TargetLanguage")
|
|
29639
|
+
self._SystemPrompt = params.get("SystemPrompt")
|
|
29640
|
+
self._GreetingMessage = params.get("GreetingMessage")
|
|
29641
|
+
self._VoiceType = params.get("VoiceType")
|
|
29642
|
+
self._CreateTime = params.get("CreateTime")
|
|
29643
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
29644
|
+
memeber_set = set(params.keys())
|
|
29645
|
+
for name, value in vars(self).items():
|
|
29646
|
+
property_name = name[1:]
|
|
29647
|
+
if property_name in memeber_set:
|
|
29648
|
+
memeber_set.remove(property_name)
|
|
29649
|
+
if len(memeber_set) > 0:
|
|
29650
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
29651
|
+
|
|
29652
|
+
|
|
29653
|
+
|
|
29654
|
+
class TargetInfo(AbstractModel):
|
|
29655
|
+
"""视频语义搜索结果
|
|
29656
|
+
|
|
29657
|
+
"""
|
|
29658
|
+
|
|
29659
|
+
def __init__(self):
|
|
29660
|
+
r"""
|
|
29661
|
+
:param _Id: 视频唯一ID
|
|
29662
|
+
:type Id: str
|
|
29663
|
+
:param _ProductId: 产品ID
|
|
29664
|
+
:type ProductId: str
|
|
29665
|
+
:param _DeviceName: 设备名称
|
|
29666
|
+
:type DeviceName: str
|
|
29667
|
+
:param _StartTimeMs: 视频起始时间(毫秒级Unix时间戳)
|
|
29668
|
+
:type StartTimeMs: int
|
|
29669
|
+
:param _EndTimeMs: 视频结束时间(毫秒级Unix时间戳)
|
|
29670
|
+
:type EndTimeMs: int
|
|
29671
|
+
:param _EventId: 用户自定义事件ID,后续扩展使用
|
|
29672
|
+
:type EventId: str
|
|
29673
|
+
:param _Summary: 视频内容摘要
|
|
29674
|
+
:type Summary: str
|
|
29675
|
+
:param _ChannelId: 通道ID
|
|
29676
|
+
:type ChannelId: int
|
|
29677
|
+
:param _Thumbnail: 缩略图路径
|
|
29678
|
+
:type Thumbnail: str
|
|
29679
|
+
"""
|
|
29680
|
+
self._Id = None
|
|
29681
|
+
self._ProductId = None
|
|
29682
|
+
self._DeviceName = None
|
|
29683
|
+
self._StartTimeMs = None
|
|
29684
|
+
self._EndTimeMs = None
|
|
29685
|
+
self._EventId = None
|
|
29686
|
+
self._Summary = None
|
|
29687
|
+
self._ChannelId = None
|
|
29688
|
+
self._Thumbnail = None
|
|
29689
|
+
|
|
29690
|
+
@property
|
|
29691
|
+
def Id(self):
|
|
29692
|
+
"""视频唯一ID
|
|
29693
|
+
:rtype: str
|
|
29694
|
+
"""
|
|
29695
|
+
return self._Id
|
|
29696
|
+
|
|
29697
|
+
@Id.setter
|
|
29698
|
+
def Id(self, Id):
|
|
29699
|
+
self._Id = Id
|
|
29700
|
+
|
|
29701
|
+
@property
|
|
29702
|
+
def ProductId(self):
|
|
29703
|
+
"""产品ID
|
|
29704
|
+
:rtype: str
|
|
29705
|
+
"""
|
|
29706
|
+
return self._ProductId
|
|
29707
|
+
|
|
29708
|
+
@ProductId.setter
|
|
29709
|
+
def ProductId(self, ProductId):
|
|
29710
|
+
self._ProductId = ProductId
|
|
29711
|
+
|
|
29712
|
+
@property
|
|
29713
|
+
def DeviceName(self):
|
|
29714
|
+
"""设备名称
|
|
29715
|
+
:rtype: str
|
|
29716
|
+
"""
|
|
29717
|
+
return self._DeviceName
|
|
29718
|
+
|
|
29719
|
+
@DeviceName.setter
|
|
29006
29720
|
def DeviceName(self, DeviceName):
|
|
29007
29721
|
self._DeviceName = DeviceName
|
|
29008
29722
|
|
|
@@ -30697,6 +31411,259 @@ class VisionRecognitionResult(AbstractModel):
|
|
|
30697
31411
|
|
|
30698
31412
|
|
|
30699
31413
|
|
|
31414
|
+
class VisionRecognitionTask(AbstractModel):
|
|
31415
|
+
"""TWeSee 语义理解任务信息
|
|
31416
|
+
|
|
31417
|
+
"""
|
|
31418
|
+
|
|
31419
|
+
def __init__(self):
|
|
31420
|
+
r"""
|
|
31421
|
+
:param _TaskId: 云存 AI 服务任务 ID
|
|
31422
|
+
:type TaskId: str
|
|
31423
|
+
:param _ProductId: 产品 ID
|
|
31424
|
+
:type ProductId: str
|
|
31425
|
+
:param _DeviceName: 设备名称
|
|
31426
|
+
:type DeviceName: str
|
|
31427
|
+
:param _ChannelId: 通道 ID
|
|
31428
|
+
:type ChannelId: int
|
|
31429
|
+
:param _StartTime: 对应云存视频的起始时间(秒级 UNIX 时间戳)
|
|
31430
|
+
:type StartTime: int
|
|
31431
|
+
:param _StartTimeMs: 对应云存视频的起始时间(毫秒级 UNIX 时间戳)
|
|
31432
|
+
:type StartTimeMs: int
|
|
31433
|
+
:param _EndTime: 对应云存视频的结束时间(秒级 UNIX 时间戳)
|
|
31434
|
+
:type EndTime: int
|
|
31435
|
+
:param _EndTimeMs: 对应云存视频的结束时间(毫秒级 UNIX 时间戳)
|
|
31436
|
+
:type EndTimeMs: int
|
|
31437
|
+
:param _Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
|
31438
|
+
:type Status: int
|
|
31439
|
+
:param _Result: 任务结果
|
|
31440
|
+
:type Result: :class:`tencentcloud.iotexplorer.v20190423.models.VisionRecognitionResult`
|
|
31441
|
+
:param _CreateTime: 创建时间
|
|
31442
|
+
:type CreateTime: int
|
|
31443
|
+
:param _UpdateTime: 最后更新时间
|
|
31444
|
+
:type UpdateTime: int
|
|
31445
|
+
:param _CustomId: 自定义任务 ID
|
|
31446
|
+
:type CustomId: str
|
|
31447
|
+
:param _Files: 任务输出文件列表
|
|
31448
|
+
:type Files: list of str
|
|
31449
|
+
:param _FilesInfo: 任务输出文件信息列表
|
|
31450
|
+
:type FilesInfo: list of CloudStorageAIServiceTaskFileInfo
|
|
31451
|
+
"""
|
|
31452
|
+
self._TaskId = None
|
|
31453
|
+
self._ProductId = None
|
|
31454
|
+
self._DeviceName = None
|
|
31455
|
+
self._ChannelId = None
|
|
31456
|
+
self._StartTime = None
|
|
31457
|
+
self._StartTimeMs = None
|
|
31458
|
+
self._EndTime = None
|
|
31459
|
+
self._EndTimeMs = None
|
|
31460
|
+
self._Status = None
|
|
31461
|
+
self._Result = None
|
|
31462
|
+
self._CreateTime = None
|
|
31463
|
+
self._UpdateTime = None
|
|
31464
|
+
self._CustomId = None
|
|
31465
|
+
self._Files = None
|
|
31466
|
+
self._FilesInfo = None
|
|
31467
|
+
|
|
31468
|
+
@property
|
|
31469
|
+
def TaskId(self):
|
|
31470
|
+
"""云存 AI 服务任务 ID
|
|
31471
|
+
:rtype: str
|
|
31472
|
+
"""
|
|
31473
|
+
return self._TaskId
|
|
31474
|
+
|
|
31475
|
+
@TaskId.setter
|
|
31476
|
+
def TaskId(self, TaskId):
|
|
31477
|
+
self._TaskId = TaskId
|
|
31478
|
+
|
|
31479
|
+
@property
|
|
31480
|
+
def ProductId(self):
|
|
31481
|
+
"""产品 ID
|
|
31482
|
+
:rtype: str
|
|
31483
|
+
"""
|
|
31484
|
+
return self._ProductId
|
|
31485
|
+
|
|
31486
|
+
@ProductId.setter
|
|
31487
|
+
def ProductId(self, ProductId):
|
|
31488
|
+
self._ProductId = ProductId
|
|
31489
|
+
|
|
31490
|
+
@property
|
|
31491
|
+
def DeviceName(self):
|
|
31492
|
+
"""设备名称
|
|
31493
|
+
:rtype: str
|
|
31494
|
+
"""
|
|
31495
|
+
return self._DeviceName
|
|
31496
|
+
|
|
31497
|
+
@DeviceName.setter
|
|
31498
|
+
def DeviceName(self, DeviceName):
|
|
31499
|
+
self._DeviceName = DeviceName
|
|
31500
|
+
|
|
31501
|
+
@property
|
|
31502
|
+
def ChannelId(self):
|
|
31503
|
+
"""通道 ID
|
|
31504
|
+
:rtype: int
|
|
31505
|
+
"""
|
|
31506
|
+
return self._ChannelId
|
|
31507
|
+
|
|
31508
|
+
@ChannelId.setter
|
|
31509
|
+
def ChannelId(self, ChannelId):
|
|
31510
|
+
self._ChannelId = ChannelId
|
|
31511
|
+
|
|
31512
|
+
@property
|
|
31513
|
+
def StartTime(self):
|
|
31514
|
+
"""对应云存视频的起始时间(秒级 UNIX 时间戳)
|
|
31515
|
+
:rtype: int
|
|
31516
|
+
"""
|
|
31517
|
+
return self._StartTime
|
|
31518
|
+
|
|
31519
|
+
@StartTime.setter
|
|
31520
|
+
def StartTime(self, StartTime):
|
|
31521
|
+
self._StartTime = StartTime
|
|
31522
|
+
|
|
31523
|
+
@property
|
|
31524
|
+
def StartTimeMs(self):
|
|
31525
|
+
"""对应云存视频的起始时间(毫秒级 UNIX 时间戳)
|
|
31526
|
+
:rtype: int
|
|
31527
|
+
"""
|
|
31528
|
+
return self._StartTimeMs
|
|
31529
|
+
|
|
31530
|
+
@StartTimeMs.setter
|
|
31531
|
+
def StartTimeMs(self, StartTimeMs):
|
|
31532
|
+
self._StartTimeMs = StartTimeMs
|
|
31533
|
+
|
|
31534
|
+
@property
|
|
31535
|
+
def EndTime(self):
|
|
31536
|
+
"""对应云存视频的结束时间(秒级 UNIX 时间戳)
|
|
31537
|
+
:rtype: int
|
|
31538
|
+
"""
|
|
31539
|
+
return self._EndTime
|
|
31540
|
+
|
|
31541
|
+
@EndTime.setter
|
|
31542
|
+
def EndTime(self, EndTime):
|
|
31543
|
+
self._EndTime = EndTime
|
|
31544
|
+
|
|
31545
|
+
@property
|
|
31546
|
+
def EndTimeMs(self):
|
|
31547
|
+
"""对应云存视频的结束时间(毫秒级 UNIX 时间戳)
|
|
31548
|
+
:rtype: int
|
|
31549
|
+
"""
|
|
31550
|
+
return self._EndTimeMs
|
|
31551
|
+
|
|
31552
|
+
@EndTimeMs.setter
|
|
31553
|
+
def EndTimeMs(self, EndTimeMs):
|
|
31554
|
+
self._EndTimeMs = EndTimeMs
|
|
31555
|
+
|
|
31556
|
+
@property
|
|
31557
|
+
def Status(self):
|
|
31558
|
+
"""任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
|
31559
|
+
:rtype: int
|
|
31560
|
+
"""
|
|
31561
|
+
return self._Status
|
|
31562
|
+
|
|
31563
|
+
@Status.setter
|
|
31564
|
+
def Status(self, Status):
|
|
31565
|
+
self._Status = Status
|
|
31566
|
+
|
|
31567
|
+
@property
|
|
31568
|
+
def Result(self):
|
|
31569
|
+
"""任务结果
|
|
31570
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionRecognitionResult`
|
|
31571
|
+
"""
|
|
31572
|
+
return self._Result
|
|
31573
|
+
|
|
31574
|
+
@Result.setter
|
|
31575
|
+
def Result(self, Result):
|
|
31576
|
+
self._Result = Result
|
|
31577
|
+
|
|
31578
|
+
@property
|
|
31579
|
+
def CreateTime(self):
|
|
31580
|
+
"""创建时间
|
|
31581
|
+
:rtype: int
|
|
31582
|
+
"""
|
|
31583
|
+
return self._CreateTime
|
|
31584
|
+
|
|
31585
|
+
@CreateTime.setter
|
|
31586
|
+
def CreateTime(self, CreateTime):
|
|
31587
|
+
self._CreateTime = CreateTime
|
|
31588
|
+
|
|
31589
|
+
@property
|
|
31590
|
+
def UpdateTime(self):
|
|
31591
|
+
"""最后更新时间
|
|
31592
|
+
:rtype: int
|
|
31593
|
+
"""
|
|
31594
|
+
return self._UpdateTime
|
|
31595
|
+
|
|
31596
|
+
@UpdateTime.setter
|
|
31597
|
+
def UpdateTime(self, UpdateTime):
|
|
31598
|
+
self._UpdateTime = UpdateTime
|
|
31599
|
+
|
|
31600
|
+
@property
|
|
31601
|
+
def CustomId(self):
|
|
31602
|
+
"""自定义任务 ID
|
|
31603
|
+
:rtype: str
|
|
31604
|
+
"""
|
|
31605
|
+
return self._CustomId
|
|
31606
|
+
|
|
31607
|
+
@CustomId.setter
|
|
31608
|
+
def CustomId(self, CustomId):
|
|
31609
|
+
self._CustomId = CustomId
|
|
31610
|
+
|
|
31611
|
+
@property
|
|
31612
|
+
def Files(self):
|
|
31613
|
+
"""任务输出文件列表
|
|
31614
|
+
:rtype: list of str
|
|
31615
|
+
"""
|
|
31616
|
+
return self._Files
|
|
31617
|
+
|
|
31618
|
+
@Files.setter
|
|
31619
|
+
def Files(self, Files):
|
|
31620
|
+
self._Files = Files
|
|
31621
|
+
|
|
31622
|
+
@property
|
|
31623
|
+
def FilesInfo(self):
|
|
31624
|
+
"""任务输出文件信息列表
|
|
31625
|
+
:rtype: list of CloudStorageAIServiceTaskFileInfo
|
|
31626
|
+
"""
|
|
31627
|
+
return self._FilesInfo
|
|
31628
|
+
|
|
31629
|
+
@FilesInfo.setter
|
|
31630
|
+
def FilesInfo(self, FilesInfo):
|
|
31631
|
+
self._FilesInfo = FilesInfo
|
|
31632
|
+
|
|
31633
|
+
|
|
31634
|
+
def _deserialize(self, params):
|
|
31635
|
+
self._TaskId = params.get("TaskId")
|
|
31636
|
+
self._ProductId = params.get("ProductId")
|
|
31637
|
+
self._DeviceName = params.get("DeviceName")
|
|
31638
|
+
self._ChannelId = params.get("ChannelId")
|
|
31639
|
+
self._StartTime = params.get("StartTime")
|
|
31640
|
+
self._StartTimeMs = params.get("StartTimeMs")
|
|
31641
|
+
self._EndTime = params.get("EndTime")
|
|
31642
|
+
self._EndTimeMs = params.get("EndTimeMs")
|
|
31643
|
+
self._Status = params.get("Status")
|
|
31644
|
+
if params.get("Result") is not None:
|
|
31645
|
+
self._Result = VisionRecognitionResult()
|
|
31646
|
+
self._Result._deserialize(params.get("Result"))
|
|
31647
|
+
self._CreateTime = params.get("CreateTime")
|
|
31648
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
31649
|
+
self._CustomId = params.get("CustomId")
|
|
31650
|
+
self._Files = params.get("Files")
|
|
31651
|
+
if params.get("FilesInfo") is not None:
|
|
31652
|
+
self._FilesInfo = []
|
|
31653
|
+
for item in params.get("FilesInfo"):
|
|
31654
|
+
obj = CloudStorageAIServiceTaskFileInfo()
|
|
31655
|
+
obj._deserialize(item)
|
|
31656
|
+
self._FilesInfo.append(obj)
|
|
31657
|
+
memeber_set = set(params.keys())
|
|
31658
|
+
for name, value in vars(self).items():
|
|
31659
|
+
property_name = name[1:]
|
|
31660
|
+
if property_name in memeber_set:
|
|
31661
|
+
memeber_set.remove(property_name)
|
|
31662
|
+
if len(memeber_set) > 0:
|
|
31663
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
31664
|
+
|
|
31665
|
+
|
|
31666
|
+
|
|
30700
31667
|
class VisionSummaryConfig(AbstractModel):
|
|
30701
31668
|
"""视频摘要配置
|
|
30702
31669
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1450
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1447
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|