tencentcloud-sdk-python-iotexplorer 3.0.1448__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.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/iotexplorer/v20190423/models.py +614 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → 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.1448/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → tencentcloud-sdk-python-iotexplorer-3.0.1450}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1448 → 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
|
|
|
@@ -2238,6 +2261,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2238
2261
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2239
2262
|
|
|
2240
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
|
+
|
|
2241
2287
|
def DescribeTopicPolicy(self, request):
|
|
2242
2288
|
"""本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
|
2243
2289
|
|
|
@@ -2790,6 +2836,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2790
2836
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2791
2837
|
|
|
2792
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
|
+
|
|
2793
2862
|
def GetTopicRuleList(self, request):
|
|
2794
2863
|
"""获取规则列表
|
|
2795
2864
|
|
|
@@ -3365,6 +3434,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
3365
3434
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3366
3435
|
|
|
3367
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
|
+
|
|
3368
3460
|
def ModifyTopicPolicy(self, request):
|
|
3369
3461
|
"""本接口(UpdateTopicPolicy)用于更新Topic信息
|
|
3370
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
|
|
|
@@ -14929,6 +15053,102 @@ class DescribeTWeSeeRecognitionTaskResponse(AbstractModel):
|
|
|
14929
15053
|
self._RequestId = params.get("RequestId")
|
|
14930
15054
|
|
|
14931
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
|
+
|
|
14932
15152
|
class DescribeTopicPolicyRequest(AbstractModel):
|
|
14933
15153
|
"""DescribeTopicPolicy请求参数结构体
|
|
14934
15154
|
|
|
@@ -19839,6 +20059,150 @@ class GetTWeCallActiveStatusResponse(AbstractModel):
|
|
|
19839
20059
|
self._RequestId = params.get("RequestId")
|
|
19840
20060
|
|
|
19841
20061
|
|
|
20062
|
+
class GetTWeTalkProductConfigListRequest(AbstractModel):
|
|
20063
|
+
"""GetTWeTalkProductConfigList请求参数结构体
|
|
20064
|
+
|
|
20065
|
+
"""
|
|
20066
|
+
|
|
20067
|
+
def __init__(self):
|
|
20068
|
+
r"""
|
|
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
|
+
|
|
19842
20206
|
class GetTopicRuleListRequest(AbstractModel):
|
|
19843
20207
|
"""GetTopicRuleList请求参数结构体
|
|
19844
20208
|
|
|
@@ -25106,6 +25470,130 @@ class ModifyTWeSeeConfigResponse(AbstractModel):
|
|
|
25106
25470
|
self._RequestId = params.get("RequestId")
|
|
25107
25471
|
|
|
25108
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
|
+
|
|
25109
25597
|
class ModifyTopicPolicyRequest(AbstractModel):
|
|
25110
25598
|
"""ModifyTopicPolicy请求参数结构体
|
|
25111
25599
|
|
|
@@ -29037,6 +29525,132 @@ class TWeCallLicenseInfo(AbstractModel):
|
|
|
29037
29525
|
|
|
29038
29526
|
|
|
29039
29527
|
|
|
29528
|
+
class TalkProductConfigInfo(AbstractModel):
|
|
29529
|
+
"""Talk配置信息描述。
|
|
29530
|
+
|
|
29531
|
+
"""
|
|
29532
|
+
|
|
29533
|
+
def __init__(self):
|
|
29534
|
+
r"""
|
|
29535
|
+
:param _ProductId: 产品ID
|
|
29536
|
+
:type ProductId: 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
|
|
29549
|
+
"""
|
|
29550
|
+
self._ProductId = None
|
|
29551
|
+
self._TargetLanguage = None
|
|
29552
|
+
self._SystemPrompt = None
|
|
29553
|
+
self._GreetingMessage = None
|
|
29554
|
+
self._VoiceType = None
|
|
29555
|
+
self._CreateTime = None
|
|
29556
|
+
self._UpdateTime = None
|
|
29557
|
+
|
|
29558
|
+
@property
|
|
29559
|
+
def ProductId(self):
|
|
29560
|
+
"""产品ID
|
|
29561
|
+
:rtype: str
|
|
29562
|
+
"""
|
|
29563
|
+
return self._ProductId
|
|
29564
|
+
|
|
29565
|
+
@ProductId.setter
|
|
29566
|
+
def ProductId(self, ProductId):
|
|
29567
|
+
self._ProductId = ProductId
|
|
29568
|
+
|
|
29569
|
+
@property
|
|
29570
|
+
def TargetLanguage(self):
|
|
29571
|
+
"""支持的语言,zh-中文;en-英文;默认zh
|
|
29572
|
+
:rtype: str
|
|
29573
|
+
"""
|
|
29574
|
+
return self._TargetLanguage
|
|
29575
|
+
|
|
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
|
+
|
|
29040
29654
|
class TargetInfo(AbstractModel):
|
|
29041
29655
|
"""视频语义搜索结果
|
|
29042
29656
|
|
|
@@ -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.1448
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|