tencentcloud-sdk-python 3.0.1274__py2.py3-none-any.whl → 3.0.1275__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.
Files changed (35) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apigateway/v20180808/apigateway_client.py +46 -0
  3. tencentcloud/apigateway/v20180808/models.py +362 -0
  4. tencentcloud/autoscaling/v20180419/models.py +13 -11
  5. tencentcloud/bi/v20220105/bi_client.py +46 -0
  6. tencentcloud/bi/v20220105/errorcodes.py +3 -0
  7. tencentcloud/bi/v20220105/models.py +701 -24
  8. tencentcloud/billing/v20180709/models.py +105 -34
  9. tencentcloud/cam/v20190116/models.py +2 -2
  10. tencentcloud/cdwch/v20200915/errorcodes.py +6 -0
  11. tencentcloud/cloudhsm/v20191112/models.py +10 -170
  12. tencentcloud/cls/v20201016/cls_client.py +1 -1
  13. tencentcloud/cls/v20201016/models.py +10 -4
  14. tencentcloud/config/v20220802/config_client.py +46 -0
  15. tencentcloud/config/v20220802/models.py +664 -0
  16. tencentcloud/ess/v20201111/models.py +2 -2
  17. tencentcloud/essbasic/v20210526/models.py +2 -2
  18. tencentcloud/gwlb/v20240906/models.py +2 -2
  19. tencentcloud/hunyuan/v20230901/models.py +4 -4
  20. tencentcloud/ivld/v20210903/errorcodes.py +2 -2
  21. tencentcloud/lcic/v20220817/lcic_client.py +46 -0
  22. tencentcloud/lcic/v20220817/models.py +492 -4
  23. tencentcloud/lke/v20231130/lke_client.py +1 -1
  24. tencentcloud/mps/v20190612/models.py +0 -2
  25. tencentcloud/ocr/v20181119/models.py +103 -1987
  26. tencentcloud/ocr/v20181119/ocr_client.py +0 -167
  27. tencentcloud/organization/v20210331/models.py +2 -330
  28. tencentcloud/trtc/v20190722/errorcodes.py +15 -0
  29. tencentcloud/trtc/v20190722/models.py +218 -0
  30. tencentcloud/trtc/v20190722/trtc_client.py +47 -0
  31. {tencentcloud_sdk_python-3.0.1274.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/METADATA +1 -1
  32. {tencentcloud_sdk_python-3.0.1274.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/RECORD +35 -35
  33. {tencentcloud_sdk_python-3.0.1274.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/LICENSE +0 -0
  34. {tencentcloud_sdk_python-3.0.1274.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/WHEEL +0 -0
  35. {tencentcloud_sdk_python-3.0.1274.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/top_level.txt +0 -0
@@ -11881,7 +11881,7 @@ class Component(AbstractModel):
11881
11881
  <b>参数样例</b>:`{"Rotate":-30,"RotateRelation":"Component_Id1"}`
11882
11882
 
11883
11883
  <font color="red">签署印章透明度功能设置,</font>当ComponentType为SIGN_SIGNATURE、SIGN_SEAL、SIGN_PAGING_SEAL、SIGN_LEGAL_PERSON_SEAL时,可以通过以下参数设置签署印章的透明度:
11884
- <ul><li> <b>Opacity</b>:印章透明度,支持范围:0-1,0.7表示70%的透明度,1表示无透明度</li></ul>
11884
+ <ul><li> <b>Opacity</b>:印章透明度,支持范围:0.6-1,0.7表示70%的透明度,1表示无透明度</li></ul>
11885
11885
  <b>参数样例</b>:`{"Opacity":0.7}`
11886
11886
 
11887
11887
  <font color="red">关键字模式下支持关键字找不到的情况下不进行报错的设置</font>
@@ -12231,7 +12231,7 @@ class Component(AbstractModel):
12231
12231
  <b>参数样例</b>:`{"Rotate":-30,"RotateRelation":"Component_Id1"}`
12232
12232
 
12233
12233
  <font color="red">签署印章透明度功能设置,</font>当ComponentType为SIGN_SIGNATURE、SIGN_SEAL、SIGN_PAGING_SEAL、SIGN_LEGAL_PERSON_SEAL时,可以通过以下参数设置签署印章的透明度:
12234
- <ul><li> <b>Opacity</b>:印章透明度,支持范围:0-1,0.7表示70%的透明度,1表示无透明度</li></ul>
12234
+ <ul><li> <b>Opacity</b>:印章透明度,支持范围:0.6-1,0.7表示70%的透明度,1表示无透明度</li></ul>
12235
12235
  <b>参数样例</b>:`{"Opacity":0.7}`
12236
12236
 
12237
12237
  <font color="red">关键字模式下支持关键字找不到的情况下不进行报错的设置</font>
@@ -2850,7 +2850,7 @@ class TargetGroupHealthCheck(AbstractModel):
2850
2850
  - PING: icmp
2851
2851
  - TCP: tcp
2852
2852
  :type Protocol: str
2853
- :param _Port: 健康检查端口,探测协议未tcp时,该参数必填。
2853
+ :param _Port: 健康检查端口,探测协议为tcp时,该参数必填。
2854
2854
 
2855
2855
  :type Port: int
2856
2856
  :param _Timeout: 健康检查超时时间。 默认为2秒。 可配置范围:2 - 30秒。
@@ -2897,7 +2897,7 @@ class TargetGroupHealthCheck(AbstractModel):
2897
2897
 
2898
2898
  @property
2899
2899
  def Port(self):
2900
- """健康检查端口,探测协议未tcp时,该参数必填。
2900
+ """健康检查端口,探测协议为tcp时,该参数必填。
2901
2901
 
2902
2902
  :rtype: int
2903
2903
  """
@@ -89,7 +89,7 @@ class ChatCompletionsRequest(AbstractModel):
89
89
 
90
90
  def __init__(self):
91
91
  r"""
92
- :param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large。
92
+ :param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large、 hunyuan-large-longcontext、 hunyuan-turbo-vision
93
93
  各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。
94
94
 
95
95
  注意:
@@ -192,7 +192,7 @@ class ChatCompletionsRequest(AbstractModel):
192
192
 
193
193
  @property
194
194
  def Model(self):
195
- """模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large。
195
+ """模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large、 hunyuan-large-longcontext、 hunyuan-turbo-vision
196
196
  各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。
197
197
 
198
198
  注意:
@@ -2809,7 +2809,7 @@ class Message(AbstractModel):
2809
2809
  :type Role: str
2810
2810
  :param _Content: 文本内容
2811
2811
  :type Content: str
2812
- :param _Contents: 多种类型内容(目前支持图片和文本),仅 hunyuan-vision 模型支持
2812
+ :param _Contents: 多种类型内容(目前支持图片和文本),仅 hunyuan-vision 和 hunyuan-turbo-vision 模型支持
2813
2813
  注意:此字段可能返回 null,表示取不到有效值。
2814
2814
  :type Contents: list of Content
2815
2815
  :param _ToolCallId: 当role为tool时传入,标识具体的函数调用
@@ -2853,7 +2853,7 @@ class Message(AbstractModel):
2853
2853
 
2854
2854
  @property
2855
2855
  def Contents(self):
2856
- """多种类型内容(目前支持图片和文本),仅 hunyuan-vision 模型支持
2856
+ """多种类型内容(目前支持图片和文本),仅 hunyuan-vision 和 hunyuan-turbo-vision 模型支持
2857
2857
  注意:此字段可能返回 null,表示取不到有效值。
2858
2858
  :rtype: list of Content
2859
2859
  """
@@ -110,7 +110,7 @@ FAILEDOPERATION_NOFACEINIMAGE = 'FailedOperation.NoFaceInImage'
110
110
  # 计费开通失败。
111
111
  FAILEDOPERATION_OPENCHARGEFAILED = 'FailedOperation.OpenChargeFailed'
112
112
 
113
- # 人脸库中存在相似的人脸: %!s(MISSING)。
113
+ # 人脸库中存在相似的人脸。
114
114
  FAILEDOPERATION_PERSONDUPLICATED = 'FailedOperation.PersonDuplicated'
115
115
 
116
116
  # 人脸图片不属于已知人物。
@@ -212,7 +212,7 @@ INVALIDPARAMETER_INVALIDPAGENUMBER = 'InvalidParameter.InvalidPageNumber'
212
212
  # 分页大小不合法。
213
213
  INVALIDPARAMETER_INVALIDPAGESIZE = 'InvalidParameter.InvalidPageSize'
214
214
 
215
- # 输入字段 %!s(MISSING) 不合法。
215
+ # 输入字段不合法。
216
216
  INVALIDPARAMETER_INVALIDPARAM = 'InvalidParameter.InvalidParam'
217
217
 
218
218
  # 人物ID不合法。
@@ -764,6 +764,29 @@ class LcicClient(AbstractClient):
764
764
  raise TencentCloudSDKException(type(e).__name__, str(e))
765
765
 
766
766
 
767
+ def DescribeMarquee(self, request):
768
+ """查询跑马灯配置
769
+
770
+ :param request: Request instance for DescribeMarquee.
771
+ :type request: :class:`tencentcloud.lcic.v20220817.models.DescribeMarqueeRequest`
772
+ :rtype: :class:`tencentcloud.lcic.v20220817.models.DescribeMarqueeResponse`
773
+
774
+ """
775
+ try:
776
+ params = request._serialize()
777
+ headers = request.headers
778
+ body = self.call("DescribeMarquee", params, headers=headers)
779
+ response = json.loads(body)
780
+ model = models.DescribeMarqueeResponse()
781
+ model._deserialize(response["Response"])
782
+ return model
783
+ except Exception as e:
784
+ if isinstance(e, TencentCloudSDKException):
785
+ raise
786
+ else:
787
+ raise TencentCloudSDKException(type(e).__name__, str(e))
788
+
789
+
767
790
  def DescribeQuestionList(self, request):
768
791
  """获取房间提问列表
769
792
 
@@ -1387,6 +1410,29 @@ class LcicClient(AbstractClient):
1387
1410
  raise TencentCloudSDKException(type(e).__name__, str(e))
1388
1411
 
1389
1412
 
1413
+ def SetMarquee(self, request):
1414
+ """设置跑马灯参数设置
1415
+
1416
+ :param request: Request instance for SetMarquee.
1417
+ :type request: :class:`tencentcloud.lcic.v20220817.models.SetMarqueeRequest`
1418
+ :rtype: :class:`tencentcloud.lcic.v20220817.models.SetMarqueeResponse`
1419
+
1420
+ """
1421
+ try:
1422
+ params = request._serialize()
1423
+ headers = request.headers
1424
+ body = self.call("SetMarquee", params, headers=headers)
1425
+ response = json.loads(body)
1426
+ model = models.SetMarqueeResponse()
1427
+ model._deserialize(response["Response"])
1428
+ return model
1429
+ except Exception as e:
1430
+ if isinstance(e, TencentCloudSDKException):
1431
+ raise
1432
+ else:
1433
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1434
+
1435
+
1390
1436
  def SetWatermark(self, request):
1391
1437
  """设置水印
1392
1438
 
@@ -5243,6 +5243,250 @@ class DescribeGroupResponse(AbstractModel):
5243
5243
  self._RequestId = params.get("RequestId")
5244
5244
 
5245
5245
 
5246
+ class DescribeMarqueeRequest(AbstractModel):
5247
+ """DescribeMarquee请求参数结构体
5248
+
5249
+ """
5250
+
5251
+ def __init__(self):
5252
+ r"""
5253
+ :param _SdkAppId: 学校ID
5254
+ :type SdkAppId: int
5255
+ :param _RoomId: 房间号
5256
+ :type RoomId: int
5257
+ """
5258
+ self._SdkAppId = None
5259
+ self._RoomId = None
5260
+
5261
+ @property
5262
+ def SdkAppId(self):
5263
+ """学校ID
5264
+ :rtype: int
5265
+ """
5266
+ return self._SdkAppId
5267
+
5268
+ @SdkAppId.setter
5269
+ def SdkAppId(self, SdkAppId):
5270
+ self._SdkAppId = SdkAppId
5271
+
5272
+ @property
5273
+ def RoomId(self):
5274
+ """房间号
5275
+ :rtype: int
5276
+ """
5277
+ return self._RoomId
5278
+
5279
+ @RoomId.setter
5280
+ def RoomId(self, RoomId):
5281
+ self._RoomId = RoomId
5282
+
5283
+
5284
+ def _deserialize(self, params):
5285
+ self._SdkAppId = params.get("SdkAppId")
5286
+ self._RoomId = params.get("RoomId")
5287
+ memeber_set = set(params.keys())
5288
+ for name, value in vars(self).items():
5289
+ property_name = name[1:]
5290
+ if property_name in memeber_set:
5291
+ memeber_set.remove(property_name)
5292
+ if len(memeber_set) > 0:
5293
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5294
+
5295
+
5296
+
5297
+ class DescribeMarqueeResponse(AbstractModel):
5298
+ """DescribeMarquee返回参数结构体
5299
+
5300
+ """
5301
+
5302
+ def __init__(self):
5303
+ r"""
5304
+ :param _MarqueeType: 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)
5305
+ :type MarqueeType: int
5306
+ :param _Content: 固定值内容(当MarqueeType=1或5,则展示固定值内容)
5307
+ :type Content: str
5308
+ :param _FontSize: 字体大小(数字,像素单位,范围:10到24)
5309
+ :type FontSize: int
5310
+ :param _FontWeight: 字体粗细:1为粗体,0为细体
5311
+ :type FontWeight: int
5312
+ :param _FontColor: 字体颜色(十六进制颜色值)
5313
+ :type FontColor: str
5314
+ :param _FontOpacity: 字体透明度(数字,范围 0.0 到 1.0)
5315
+ :type FontOpacity: float
5316
+ :param _BackgroundColor: 背景颜色(十六进制颜色值)
5317
+ :type BackgroundColor: str
5318
+ :param _BackgroundOpacity: 背景透明度(数字,范围 0.0 到 1.0)
5319
+ :type BackgroundOpacity: float
5320
+ :param _DisplayMode: 显示方式:1为滚动,2为闪烁
5321
+ :type DisplayMode: int
5322
+ :param _Duration: 停留时长(秒,整数,范围 1~10)
5323
+ :type Duration: int
5324
+ :param _MarqueeCount: 跑马灯个数:目前仅支持1或2, 对应显示单排或双排
5325
+ :type MarqueeCount: int
5326
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5327
+ :type RequestId: str
5328
+ """
5329
+ self._MarqueeType = None
5330
+ self._Content = None
5331
+ self._FontSize = None
5332
+ self._FontWeight = None
5333
+ self._FontColor = None
5334
+ self._FontOpacity = None
5335
+ self._BackgroundColor = None
5336
+ self._BackgroundOpacity = None
5337
+ self._DisplayMode = None
5338
+ self._Duration = None
5339
+ self._MarqueeCount = None
5340
+ self._RequestId = None
5341
+
5342
+ @property
5343
+ def MarqueeType(self):
5344
+ """ 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)
5345
+ :rtype: int
5346
+ """
5347
+ return self._MarqueeType
5348
+
5349
+ @MarqueeType.setter
5350
+ def MarqueeType(self, MarqueeType):
5351
+ self._MarqueeType = MarqueeType
5352
+
5353
+ @property
5354
+ def Content(self):
5355
+ """固定值内容(当MarqueeType=1或5,则展示固定值内容)
5356
+ :rtype: str
5357
+ """
5358
+ return self._Content
5359
+
5360
+ @Content.setter
5361
+ def Content(self, Content):
5362
+ self._Content = Content
5363
+
5364
+ @property
5365
+ def FontSize(self):
5366
+ """字体大小(数字,像素单位,范围:10到24)
5367
+ :rtype: int
5368
+ """
5369
+ return self._FontSize
5370
+
5371
+ @FontSize.setter
5372
+ def FontSize(self, FontSize):
5373
+ self._FontSize = FontSize
5374
+
5375
+ @property
5376
+ def FontWeight(self):
5377
+ """字体粗细:1为粗体,0为细体
5378
+ :rtype: int
5379
+ """
5380
+ return self._FontWeight
5381
+
5382
+ @FontWeight.setter
5383
+ def FontWeight(self, FontWeight):
5384
+ self._FontWeight = FontWeight
5385
+
5386
+ @property
5387
+ def FontColor(self):
5388
+ """字体颜色(十六进制颜色值)
5389
+ :rtype: str
5390
+ """
5391
+ return self._FontColor
5392
+
5393
+ @FontColor.setter
5394
+ def FontColor(self, FontColor):
5395
+ self._FontColor = FontColor
5396
+
5397
+ @property
5398
+ def FontOpacity(self):
5399
+ """字体透明度(数字,范围 0.0 到 1.0)
5400
+ :rtype: float
5401
+ """
5402
+ return self._FontOpacity
5403
+
5404
+ @FontOpacity.setter
5405
+ def FontOpacity(self, FontOpacity):
5406
+ self._FontOpacity = FontOpacity
5407
+
5408
+ @property
5409
+ def BackgroundColor(self):
5410
+ """背景颜色(十六进制颜色值)
5411
+ :rtype: str
5412
+ """
5413
+ return self._BackgroundColor
5414
+
5415
+ @BackgroundColor.setter
5416
+ def BackgroundColor(self, BackgroundColor):
5417
+ self._BackgroundColor = BackgroundColor
5418
+
5419
+ @property
5420
+ def BackgroundOpacity(self):
5421
+ """背景透明度(数字,范围 0.0 到 1.0)
5422
+ :rtype: float
5423
+ """
5424
+ return self._BackgroundOpacity
5425
+
5426
+ @BackgroundOpacity.setter
5427
+ def BackgroundOpacity(self, BackgroundOpacity):
5428
+ self._BackgroundOpacity = BackgroundOpacity
5429
+
5430
+ @property
5431
+ def DisplayMode(self):
5432
+ """显示方式:1为滚动,2为闪烁
5433
+ :rtype: int
5434
+ """
5435
+ return self._DisplayMode
5436
+
5437
+ @DisplayMode.setter
5438
+ def DisplayMode(self, DisplayMode):
5439
+ self._DisplayMode = DisplayMode
5440
+
5441
+ @property
5442
+ def Duration(self):
5443
+ """停留时长(秒,整数,范围 1~10)
5444
+ :rtype: int
5445
+ """
5446
+ return self._Duration
5447
+
5448
+ @Duration.setter
5449
+ def Duration(self, Duration):
5450
+ self._Duration = Duration
5451
+
5452
+ @property
5453
+ def MarqueeCount(self):
5454
+ """跑马灯个数:目前仅支持1或2, 对应显示单排或双排
5455
+ :rtype: int
5456
+ """
5457
+ return self._MarqueeCount
5458
+
5459
+ @MarqueeCount.setter
5460
+ def MarqueeCount(self, MarqueeCount):
5461
+ self._MarqueeCount = MarqueeCount
5462
+
5463
+ @property
5464
+ def RequestId(self):
5465
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5466
+ :rtype: str
5467
+ """
5468
+ return self._RequestId
5469
+
5470
+ @RequestId.setter
5471
+ def RequestId(self, RequestId):
5472
+ self._RequestId = RequestId
5473
+
5474
+
5475
+ def _deserialize(self, params):
5476
+ self._MarqueeType = params.get("MarqueeType")
5477
+ self._Content = params.get("Content")
5478
+ self._FontSize = params.get("FontSize")
5479
+ self._FontWeight = params.get("FontWeight")
5480
+ self._FontColor = params.get("FontColor")
5481
+ self._FontOpacity = params.get("FontOpacity")
5482
+ self._BackgroundColor = params.get("BackgroundColor")
5483
+ self._BackgroundOpacity = params.get("BackgroundOpacity")
5484
+ self._DisplayMode = params.get("DisplayMode")
5485
+ self._Duration = params.get("Duration")
5486
+ self._MarqueeCount = params.get("MarqueeCount")
5487
+ self._RequestId = params.get("RequestId")
5488
+
5489
+
5246
5490
  class DescribeQuestionListRequest(AbstractModel):
5247
5491
  """DescribeQuestionList请求参数结构体
5248
5492
 
@@ -6993,9 +7237,9 @@ class DescribeUserRequest(AbstractModel):
6993
7237
 
6994
7238
  def __init__(self):
6995
7239
  r"""
6996
- :param _UserId: 用户Id。
7240
+ :param _UserId: 用户id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询。
6997
7241
  :type UserId: str
6998
- :param _OriginId: 客户端用户 id,如果未指定则为用户 id。
7242
+ :param _OriginId: 用户在客户系统的Id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询(UserId不为空时,OriginId不生效)。
6999
7243
  :type OriginId: str
7000
7244
  """
7001
7245
  self._UserId = None
@@ -7003,7 +7247,7 @@ class DescribeUserRequest(AbstractModel):
7003
7247
 
7004
7248
  @property
7005
7249
  def UserId(self):
7006
- """用户Id。
7250
+ """用户id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询。
7007
7251
  :rtype: str
7008
7252
  """
7009
7253
  return self._UserId
@@ -7014,7 +7258,7 @@ class DescribeUserRequest(AbstractModel):
7014
7258
 
7015
7259
  @property
7016
7260
  def OriginId(self):
7017
- """客户端用户 id,如果未指定则为用户 id。
7261
+ """用户在客户系统的Id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询(UserId不为空时,OriginId不生效)。
7018
7262
  :rtype: str
7019
7263
  """
7020
7264
  return self._OriginId
@@ -12347,6 +12591,250 @@ class SetAppCustomContentResponse(AbstractModel):
12347
12591
  self._RequestId = params.get("RequestId")
12348
12592
 
12349
12593
 
12594
+ class SetMarqueeRequest(AbstractModel):
12595
+ """SetMarquee请求参数结构体
12596
+
12597
+ """
12598
+
12599
+ def __init__(self):
12600
+ r"""
12601
+ :param _SdkAppId: 学校ID
12602
+ :type SdkAppId: int
12603
+ :param _RoomId: 房间号
12604
+ :type RoomId: int
12605
+ :param _MarqueeType: 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)
12606
+ :type MarqueeType: int
12607
+ :param _DisplayMode: 显示方式:1为滚动,2为闪烁
12608
+ :type DisplayMode: int
12609
+ :param _Content: 固定值内容(当MarqueeType=1或5,则展示固定值内容)
12610
+ :type Content: str
12611
+ :param _FontSize: 字体大小(数字,像素单位,范围:10到24)。
12612
+ :type FontSize: int
12613
+ :param _FontWeight: 字体粗细:1为粗体,0为细体
12614
+ :type FontWeight: int
12615
+ :param _FontColor: 字体颜色(十六进制颜色值,例如:#00FF00(绿色))
12616
+ :type FontColor: str
12617
+ :param _FontOpacity: 字体透明度(数字,范围 0.0 到 1.0)
12618
+ :type FontOpacity: float
12619
+ :param _BackgroundColor: 背景颜色(十六进制颜色值,例如:#FFFF00(黄色))
12620
+ :type BackgroundColor: str
12621
+ :param _BackgroundOpacity: 背景透明度(数字,范围 0.0 到 1.0)
12622
+ :type BackgroundOpacity: float
12623
+ :param _Duration: 跑马灯文字移动/闪烁指定像素所需时间,范围:1-10;数值越小,跑马灯滚动/闪烁速度越快
12624
+ :type Duration: int
12625
+ :param _MarqueeCount: 跑马灯个数:目前仅支持1或2, 对应显示单排或双排
12626
+ :type MarqueeCount: int
12627
+ """
12628
+ self._SdkAppId = None
12629
+ self._RoomId = None
12630
+ self._MarqueeType = None
12631
+ self._DisplayMode = None
12632
+ self._Content = None
12633
+ self._FontSize = None
12634
+ self._FontWeight = None
12635
+ self._FontColor = None
12636
+ self._FontOpacity = None
12637
+ self._BackgroundColor = None
12638
+ self._BackgroundOpacity = None
12639
+ self._Duration = None
12640
+ self._MarqueeCount = None
12641
+
12642
+ @property
12643
+ def SdkAppId(self):
12644
+ """学校ID
12645
+ :rtype: int
12646
+ """
12647
+ return self._SdkAppId
12648
+
12649
+ @SdkAppId.setter
12650
+ def SdkAppId(self, SdkAppId):
12651
+ self._SdkAppId = SdkAppId
12652
+
12653
+ @property
12654
+ def RoomId(self):
12655
+ """房间号
12656
+ :rtype: int
12657
+ """
12658
+ return self._RoomId
12659
+
12660
+ @RoomId.setter
12661
+ def RoomId(self, RoomId):
12662
+ self._RoomId = RoomId
12663
+
12664
+ @property
12665
+ def MarqueeType(self):
12666
+ """ 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)
12667
+ :rtype: int
12668
+ """
12669
+ return self._MarqueeType
12670
+
12671
+ @MarqueeType.setter
12672
+ def MarqueeType(self, MarqueeType):
12673
+ self._MarqueeType = MarqueeType
12674
+
12675
+ @property
12676
+ def DisplayMode(self):
12677
+ """显示方式:1为滚动,2为闪烁
12678
+ :rtype: int
12679
+ """
12680
+ return self._DisplayMode
12681
+
12682
+ @DisplayMode.setter
12683
+ def DisplayMode(self, DisplayMode):
12684
+ self._DisplayMode = DisplayMode
12685
+
12686
+ @property
12687
+ def Content(self):
12688
+ """固定值内容(当MarqueeType=1或5,则展示固定值内容)
12689
+ :rtype: str
12690
+ """
12691
+ return self._Content
12692
+
12693
+ @Content.setter
12694
+ def Content(self, Content):
12695
+ self._Content = Content
12696
+
12697
+ @property
12698
+ def FontSize(self):
12699
+ """字体大小(数字,像素单位,范围:10到24)。
12700
+ :rtype: int
12701
+ """
12702
+ return self._FontSize
12703
+
12704
+ @FontSize.setter
12705
+ def FontSize(self, FontSize):
12706
+ self._FontSize = FontSize
12707
+
12708
+ @property
12709
+ def FontWeight(self):
12710
+ """字体粗细:1为粗体,0为细体
12711
+ :rtype: int
12712
+ """
12713
+ return self._FontWeight
12714
+
12715
+ @FontWeight.setter
12716
+ def FontWeight(self, FontWeight):
12717
+ self._FontWeight = FontWeight
12718
+
12719
+ @property
12720
+ def FontColor(self):
12721
+ """字体颜色(十六进制颜色值,例如:#00FF00(绿色))
12722
+ :rtype: str
12723
+ """
12724
+ return self._FontColor
12725
+
12726
+ @FontColor.setter
12727
+ def FontColor(self, FontColor):
12728
+ self._FontColor = FontColor
12729
+
12730
+ @property
12731
+ def FontOpacity(self):
12732
+ """字体透明度(数字,范围 0.0 到 1.0)
12733
+ :rtype: float
12734
+ """
12735
+ return self._FontOpacity
12736
+
12737
+ @FontOpacity.setter
12738
+ def FontOpacity(self, FontOpacity):
12739
+ self._FontOpacity = FontOpacity
12740
+
12741
+ @property
12742
+ def BackgroundColor(self):
12743
+ """背景颜色(十六进制颜色值,例如:#FFFF00(黄色))
12744
+ :rtype: str
12745
+ """
12746
+ return self._BackgroundColor
12747
+
12748
+ @BackgroundColor.setter
12749
+ def BackgroundColor(self, BackgroundColor):
12750
+ self._BackgroundColor = BackgroundColor
12751
+
12752
+ @property
12753
+ def BackgroundOpacity(self):
12754
+ """背景透明度(数字,范围 0.0 到 1.0)
12755
+ :rtype: float
12756
+ """
12757
+ return self._BackgroundOpacity
12758
+
12759
+ @BackgroundOpacity.setter
12760
+ def BackgroundOpacity(self, BackgroundOpacity):
12761
+ self._BackgroundOpacity = BackgroundOpacity
12762
+
12763
+ @property
12764
+ def Duration(self):
12765
+ """跑马灯文字移动/闪烁指定像素所需时间,范围:1-10;数值越小,跑马灯滚动/闪烁速度越快
12766
+ :rtype: int
12767
+ """
12768
+ return self._Duration
12769
+
12770
+ @Duration.setter
12771
+ def Duration(self, Duration):
12772
+ self._Duration = Duration
12773
+
12774
+ @property
12775
+ def MarqueeCount(self):
12776
+ """跑马灯个数:目前仅支持1或2, 对应显示单排或双排
12777
+ :rtype: int
12778
+ """
12779
+ return self._MarqueeCount
12780
+
12781
+ @MarqueeCount.setter
12782
+ def MarqueeCount(self, MarqueeCount):
12783
+ self._MarqueeCount = MarqueeCount
12784
+
12785
+
12786
+ def _deserialize(self, params):
12787
+ self._SdkAppId = params.get("SdkAppId")
12788
+ self._RoomId = params.get("RoomId")
12789
+ self._MarqueeType = params.get("MarqueeType")
12790
+ self._DisplayMode = params.get("DisplayMode")
12791
+ self._Content = params.get("Content")
12792
+ self._FontSize = params.get("FontSize")
12793
+ self._FontWeight = params.get("FontWeight")
12794
+ self._FontColor = params.get("FontColor")
12795
+ self._FontOpacity = params.get("FontOpacity")
12796
+ self._BackgroundColor = params.get("BackgroundColor")
12797
+ self._BackgroundOpacity = params.get("BackgroundOpacity")
12798
+ self._Duration = params.get("Duration")
12799
+ self._MarqueeCount = params.get("MarqueeCount")
12800
+ memeber_set = set(params.keys())
12801
+ for name, value in vars(self).items():
12802
+ property_name = name[1:]
12803
+ if property_name in memeber_set:
12804
+ memeber_set.remove(property_name)
12805
+ if len(memeber_set) > 0:
12806
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12807
+
12808
+
12809
+
12810
+ class SetMarqueeResponse(AbstractModel):
12811
+ """SetMarquee返回参数结构体
12812
+
12813
+ """
12814
+
12815
+ def __init__(self):
12816
+ r"""
12817
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12818
+ :type RequestId: str
12819
+ """
12820
+ self._RequestId = None
12821
+
12822
+ @property
12823
+ def RequestId(self):
12824
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12825
+ :rtype: str
12826
+ """
12827
+ return self._RequestId
12828
+
12829
+ @RequestId.setter
12830
+ def RequestId(self, RequestId):
12831
+ self._RequestId = RequestId
12832
+
12833
+
12834
+ def _deserialize(self, params):
12835
+ self._RequestId = params.get("RequestId")
12836
+
12837
+
12350
12838
  class SetWatermarkRequest(AbstractModel):
12351
12839
  """SetWatermark请求参数结构体
12352
12840
 
@@ -2014,7 +2014,7 @@ class LkeClient(AbstractClient):
2014
2014
 
2015
2015
 
2016
2016
  def RunReRank(self, request):
2017
- """重排序
2017
+ """基于知识引擎精调模型技术的rerank模型,支持对多路召回的结果进行重排序,根据query与切片内容的相关性,按分数由高到低对切片进行排序,并输出对应的打分结果。
2018
2018
 
2019
2019
  :param request: Request instance for RunReRank.
2020
2020
  :type request: :class:`tencentcloud.lke.v20231130.models.RunReRankRequest`