tencentcloud-sdk-python 3.0.1307__py2.py3-none-any.whl → 3.0.1309__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 (34) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/asr/v20190614/models.py +4 -0
  3. tencentcloud/bi/v20220105/models.py +124 -2
  4. tencentcloud/cdwdoris/v20211228/models.py +84 -82
  5. tencentcloud/cfg/v20210820/models.py +45 -0
  6. tencentcloud/cwp/v20180228/cwp_client.py +0 -50
  7. tencentcloud/cwp/v20180228/models.py +0 -717
  8. tencentcloud/dbbrain/v20210527/models.py +15 -0
  9. tencentcloud/dlc/v20210125/errorcodes.py +3 -0
  10. tencentcloud/dlc/v20210125/models.py +6 -6
  11. tencentcloud/essbasic/v20210526/essbasic_client.py +28 -0
  12. tencentcloud/essbasic/v20210526/models.py +209 -0
  13. tencentcloud/hunyuan/v20230901/models.py +19 -0
  14. tencentcloud/lke/v20231130/models.py +1413 -48
  15. tencentcloud/ocr/v20181119/models.py +352 -0
  16. tencentcloud/ocr/v20181119/ocr_client.py +23 -0
  17. tencentcloud/rum/v20210622/models.py +168 -32
  18. tencentcloud/scf/v20180416/models.py +4 -4
  19. tencentcloud/ssl/v20191205/models.py +81 -0
  20. tencentcloud/ssl/v20191205/ssl_client.py +23 -0
  21. tencentcloud/tccatalog/__init__.py +0 -0
  22. tencentcloud/tccatalog/v20241024/__init__.py +0 -0
  23. tencentcloud/tccatalog/v20241024/errorcodes.py +36 -0
  24. tencentcloud/tccatalog/v20241024/models.py +917 -0
  25. tencentcloud/tccatalog/v20241024/tccatalog_client.py +118 -0
  26. tencentcloud/tdmq/v20200217/models.py +2 -2
  27. tencentcloud/teo/v20220901/errorcodes.py +3 -0
  28. tencentcloud/teo/v20220901/models.py +5864 -351
  29. tencentcloud/teo/v20220901/teo_client.py +144 -6
  30. {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/METADATA +1 -1
  31. {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/RECORD +34 -29
  32. {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/LICENSE +0 -0
  33. {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/WHEEL +0 -0
  34. {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/top_level.txt +0 -0
@@ -7262,6 +7262,8 @@ class DescribeRedisTopHotKeysRequest(AbstractModel):
7262
7262
  :type InstanceNodeIds: list of str
7263
7263
  :param _Limit: top 数目,默认为20,最大值为100。
7264
7264
  :type Limit: int
7265
+ :param _Offset: 偏移量,默认为0。
7266
+ :type Offset: int
7265
7267
  """
7266
7268
  self._InstanceId = None
7267
7269
  self._StartTime = None
@@ -7269,6 +7271,7 @@ class DescribeRedisTopHotKeysRequest(AbstractModel):
7269
7271
  self._Product = None
7270
7272
  self._InstanceNodeIds = None
7271
7273
  self._Limit = None
7274
+ self._Offset = None
7272
7275
 
7273
7276
  @property
7274
7277
  def InstanceId(self):
@@ -7336,6 +7339,17 @@ class DescribeRedisTopHotKeysRequest(AbstractModel):
7336
7339
  def Limit(self, Limit):
7337
7340
  self._Limit = Limit
7338
7341
 
7342
+ @property
7343
+ def Offset(self):
7344
+ """偏移量,默认为0。
7345
+ :rtype: int
7346
+ """
7347
+ return self._Offset
7348
+
7349
+ @Offset.setter
7350
+ def Offset(self, Offset):
7351
+ self._Offset = Offset
7352
+
7339
7353
 
7340
7354
  def _deserialize(self, params):
7341
7355
  self._InstanceId = params.get("InstanceId")
@@ -7344,6 +7358,7 @@ class DescribeRedisTopHotKeysRequest(AbstractModel):
7344
7358
  self._Product = params.get("Product")
7345
7359
  self._InstanceNodeIds = params.get("InstanceNodeIds")
7346
7360
  self._Limit = params.get("Limit")
7361
+ self._Offset = params.get("Offset")
7347
7362
  memeber_set = set(params.keys())
7348
7363
  for name, value in vars(self).items():
7349
7364
  property_name = name[1:]
@@ -500,6 +500,9 @@ MISSINGPARAMETER = 'MissingParameter'
500
500
  # 操作被拒绝。
501
501
  OPERATIONDENIED = 'OperationDenied'
502
502
 
503
+ # 地域错误
504
+ REGIONERROR = 'RegionError'
505
+
503
506
  # 资源被占用。
504
507
  RESOURCEINUSE = 'ResourceInUse'
505
508
 
@@ -31446,11 +31446,11 @@ class TPartition(AbstractModel):
31446
31446
  :type Type: str
31447
31447
  :param _Comment: 字段描述
31448
31448
  :type Comment: str
31449
- :param _PartitionType: 分区类型
31449
+ :param _PartitionType: 分区类型(已废弃)
31450
31450
  :type PartitionType: str
31451
- :param _PartitionFormat: 分区格式
31451
+ :param _PartitionFormat: 分区格式(已废弃)
31452
31452
  :type PartitionFormat: str
31453
- :param _PartitionDot: 分区分隔数
31453
+ :param _PartitionDot: 分区分隔数(已废弃)
31454
31454
  :type PartitionDot: int
31455
31455
  :param _Transform: 分区转换策略
31456
31456
  :type Transform: str
@@ -31501,7 +31501,7 @@ class TPartition(AbstractModel):
31501
31501
 
31502
31502
  @property
31503
31503
  def PartitionType(self):
31504
- """分区类型
31504
+ """分区类型(已废弃)
31505
31505
  :rtype: str
31506
31506
  """
31507
31507
  return self._PartitionType
@@ -31512,7 +31512,7 @@ class TPartition(AbstractModel):
31512
31512
 
31513
31513
  @property
31514
31514
  def PartitionFormat(self):
31515
- """分区格式
31515
+ """分区格式(已废弃)
31516
31516
  :rtype: str
31517
31517
  """
31518
31518
  return self._PartitionFormat
@@ -31523,7 +31523,7 @@ class TPartition(AbstractModel):
31523
31523
 
31524
31524
  @property
31525
31525
  def PartitionDot(self):
31526
- """分区分隔数
31526
+ """分区分隔数(已废弃)
31527
31527
  :rtype: int
31528
31528
  """
31529
31529
  return self._PartitionDot
@@ -1655,6 +1655,34 @@ class EssbasicClient(AbstractClient):
1655
1655
  raise TencentCloudSDKException(type(e).__name__, str(e))
1656
1656
 
1657
1657
 
1658
+ def CreateBatchOrganizationAuthorizationUrl(self, request):
1659
+ """此接口用于获取企业批量认证链接-单链接包含多条认证流。
1660
+
1661
+ 前提条件:已调用 [CreateBatchOrganizationRegistrationTasks创建子企业批量认证链接任务接口](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks) 和[查询子企业批量认证链接DescribeBatchOrganizationRegistrationUrls](https://qian.tencent.com/developers/partnerApis/accounts/DescribeBatchOrganizationRegistrationUrls) 确保认证任务已经完成。
1662
+
1663
+ 异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间。
1664
+ 此链接包含多条认证流程,使用该链接可以批量的对企业进行认证。
1665
+
1666
+ :param request: Request instance for CreateBatchOrganizationAuthorizationUrl.
1667
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.CreateBatchOrganizationAuthorizationUrlRequest`
1668
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.CreateBatchOrganizationAuthorizationUrlResponse`
1669
+
1670
+ """
1671
+ try:
1672
+ params = request._serialize()
1673
+ headers = request.headers
1674
+ body = self.call("CreateBatchOrganizationAuthorizationUrl", params, headers=headers)
1675
+ response = json.loads(body)
1676
+ model = models.CreateBatchOrganizationAuthorizationUrlResponse()
1677
+ model._deserialize(response["Response"])
1678
+ return model
1679
+ except Exception as e:
1680
+ if isinstance(e, TencentCloudSDKException):
1681
+ raise
1682
+ else:
1683
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1684
+
1685
+
1658
1686
  def CreateBatchOrganizationRegistrationTasks(self, request):
1659
1687
  """该接口用于批量创建企业认证链接, 可以支持PC浏览器,H5和小程序三种途径。
1660
1688
  此接口为异步提交任务接口,需要与[查询子企业批量认证链接](https://qcloudimg.tencent-cloud.cn/raw/1d3737991b2a3be78002bd78a47d6917.png)配合使用,整体流程如下图。
@@ -13336,6 +13336,215 @@ class CreateBatchInitOrganizationUrlResponse(AbstractModel):
13336
13336
  self._RequestId = params.get("RequestId")
13337
13337
 
13338
13338
 
13339
+ class CreateBatchOrganizationAuthorizationUrlRequest(AbstractModel):
13340
+ """CreateBatchOrganizationAuthorizationUrl请求参数结构体
13341
+
13342
+ """
13343
+
13344
+ def __init__(self):
13345
+ r"""
13346
+ :param _Agent: 应用相关信息。 此接口Agent.AppId 必填。
13347
+ :type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
13348
+ :param _AdminName: 组织机构超管姓名。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 AdminName 保持一致。
13349
+ :type AdminName: str
13350
+ :param _AdminMobile: 组织机构超管手机号。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 Admin Mobile保持一致。
13351
+ :type AdminMobile: str
13352
+ :param _SubTaskIds: 企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口 查询企业批量认证链接 DescribeBatchOrganizationRegistrationUrls 获得。此参数需与超管个人三要素(AdminName,AdminMobile,AdminIdCardNumber)配合使用。若 SubTaskId 不属于传入的超级管理员,将进行筛选。
13353
+ :type SubTaskIds: list of str
13354
+ :param _AdminIdCardType: 组织机构超管证件类型支持以下类型
13355
+ - ID_CARD : 居民身份证 (默认值)
13356
+ - HONGKONG_AND_MACAO : 港澳居民来往内地通行证
13357
+ - HONGKONG_MACAO_AND_TAIWAN : 港澳台居民居住证(格式同居民身份证)
13358
+ 此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 AdminIdCardType保持一致。
13359
+ :type AdminIdCardType: str
13360
+ :param _AdminIdCardNumber: 组织机构超管证件号。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 AdminIdCardNumber保持一致。
13361
+ :type AdminIdCardNumber: str
13362
+ :param _Endpoint: 要跳转的链接类型<ul><li> **HTTP**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li><li>**HTTP_SHORT_URL**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链</li><li>**APP**: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li><li>**QR_CODE**: 跳转电子签小程序的http_url的二维码形式, 可以在页面展示适合此类型</li></ul>
13363
+ :type Endpoint: str
13364
+ """
13365
+ self._Agent = None
13366
+ self._AdminName = None
13367
+ self._AdminMobile = None
13368
+ self._SubTaskIds = None
13369
+ self._AdminIdCardType = None
13370
+ self._AdminIdCardNumber = None
13371
+ self._Endpoint = None
13372
+
13373
+ @property
13374
+ def Agent(self):
13375
+ """应用相关信息。 此接口Agent.AppId 必填。
13376
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.Agent`
13377
+ """
13378
+ return self._Agent
13379
+
13380
+ @Agent.setter
13381
+ def Agent(self, Agent):
13382
+ self._Agent = Agent
13383
+
13384
+ @property
13385
+ def AdminName(self):
13386
+ """组织机构超管姓名。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 AdminName 保持一致。
13387
+ :rtype: str
13388
+ """
13389
+ return self._AdminName
13390
+
13391
+ @AdminName.setter
13392
+ def AdminName(self, AdminName):
13393
+ self._AdminName = AdminName
13394
+
13395
+ @property
13396
+ def AdminMobile(self):
13397
+ """组织机构超管手机号。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 Admin Mobile保持一致。
13398
+ :rtype: str
13399
+ """
13400
+ return self._AdminMobile
13401
+
13402
+ @AdminMobile.setter
13403
+ def AdminMobile(self, AdminMobile):
13404
+ self._AdminMobile = AdminMobile
13405
+
13406
+ @property
13407
+ def SubTaskIds(self):
13408
+ """企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口 查询企业批量认证链接 DescribeBatchOrganizationRegistrationUrls 获得。此参数需与超管个人三要素(AdminName,AdminMobile,AdminIdCardNumber)配合使用。若 SubTaskId 不属于传入的超级管理员,将进行筛选。
13409
+ :rtype: list of str
13410
+ """
13411
+ return self._SubTaskIds
13412
+
13413
+ @SubTaskIds.setter
13414
+ def SubTaskIds(self, SubTaskIds):
13415
+ self._SubTaskIds = SubTaskIds
13416
+
13417
+ @property
13418
+ def AdminIdCardType(self):
13419
+ """组织机构超管证件类型支持以下类型
13420
+ - ID_CARD : 居民身份证 (默认值)
13421
+ - HONGKONG_AND_MACAO : 港澳居民来往内地通行证
13422
+ - HONGKONG_MACAO_AND_TAIWAN : 港澳台居民居住证(格式同居民身份证)
13423
+ 此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 AdminIdCardType保持一致。
13424
+ :rtype: str
13425
+ """
13426
+ return self._AdminIdCardType
13427
+
13428
+ @AdminIdCardType.setter
13429
+ def AdminIdCardType(self, AdminIdCardType):
13430
+ self._AdminIdCardType = AdminIdCardType
13431
+
13432
+ @property
13433
+ def AdminIdCardNumber(self):
13434
+ """组织机构超管证件号。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 AdminIdCardNumber保持一致。
13435
+ :rtype: str
13436
+ """
13437
+ return self._AdminIdCardNumber
13438
+
13439
+ @AdminIdCardNumber.setter
13440
+ def AdminIdCardNumber(self, AdminIdCardNumber):
13441
+ self._AdminIdCardNumber = AdminIdCardNumber
13442
+
13443
+ @property
13444
+ def Endpoint(self):
13445
+ """要跳转的链接类型<ul><li> **HTTP**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li><li>**HTTP_SHORT_URL**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链</li><li>**APP**: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li><li>**QR_CODE**: 跳转电子签小程序的http_url的二维码形式, 可以在页面展示适合此类型</li></ul>
13446
+ :rtype: str
13447
+ """
13448
+ return self._Endpoint
13449
+
13450
+ @Endpoint.setter
13451
+ def Endpoint(self, Endpoint):
13452
+ self._Endpoint = Endpoint
13453
+
13454
+
13455
+ def _deserialize(self, params):
13456
+ if params.get("Agent") is not None:
13457
+ self._Agent = Agent()
13458
+ self._Agent._deserialize(params.get("Agent"))
13459
+ self._AdminName = params.get("AdminName")
13460
+ self._AdminMobile = params.get("AdminMobile")
13461
+ self._SubTaskIds = params.get("SubTaskIds")
13462
+ self._AdminIdCardType = params.get("AdminIdCardType")
13463
+ self._AdminIdCardNumber = params.get("AdminIdCardNumber")
13464
+ self._Endpoint = params.get("Endpoint")
13465
+ memeber_set = set(params.keys())
13466
+ for name, value in vars(self).items():
13467
+ property_name = name[1:]
13468
+ if property_name in memeber_set:
13469
+ memeber_set.remove(property_name)
13470
+ if len(memeber_set) > 0:
13471
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13472
+
13473
+
13474
+
13475
+ class CreateBatchOrganizationAuthorizationUrlResponse(AbstractModel):
13476
+ """CreateBatchOrganizationAuthorizationUrl返回参数结构体
13477
+
13478
+ """
13479
+
13480
+ def __init__(self):
13481
+ r"""
13482
+ :param _AuthUrl: 批量企业注册链接-单链接包含多条认证流,根据Endpoint的不同设置,返回不同的链接地址。失效时间:7天跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表<table> <thead> <tr> <th>Endpoint</th> <th>示例</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>HTTP</td> <td>https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?to=AUTHORIZATION_ENTERPRISE_FOR_BATCH_SUBMIT&shortKey=yDCHHURDfBxSB2rj2Bfa</td> <td>7天</td> </tr> <tr> <td>HTTP_SHORT_URL</td> <td>https://test.essurl.cn/8gDKUBAWK8</td> <td>7天</td> </tr> <tr> <td>APP</td> <td>pages/guide/index?to=AUTHORIZATION_ENTERPRISE_FOR_BATCH_SUBMIT&shortKey=yDCHpURDfR6iEkdpsDde</td> <td>7天</td> </tr><tr> <td>QR_CODE</td> <td>https://dyn.test.ess.tencent.cn/imgs/qrcode_urls/authorization_enterprise_for_batch_submit/yDCHHUUckpbdauq9UEjnoFDCCumAMmv1.png</td> <td>7天</td> </tr> </tbody> </table>注: `1.创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义`
13483
+ :type AuthUrl: str
13484
+ :param _ErrorMessages: 认证流认证失败信息
13485
+ :type ErrorMessages: list of str
13486
+ :param _ExpireTime: 链接过期时间,为 7 天后,创建时间,格式为Unix标准时间戳(秒)。
13487
+ :type ExpireTime: int
13488
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13489
+ :type RequestId: str
13490
+ """
13491
+ self._AuthUrl = None
13492
+ self._ErrorMessages = None
13493
+ self._ExpireTime = None
13494
+ self._RequestId = None
13495
+
13496
+ @property
13497
+ def AuthUrl(self):
13498
+ """批量企业注册链接-单链接包含多条认证流,根据Endpoint的不同设置,返回不同的链接地址。失效时间:7天跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表<table> <thead> <tr> <th>Endpoint</th> <th>示例</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>HTTP</td> <td>https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?to=AUTHORIZATION_ENTERPRISE_FOR_BATCH_SUBMIT&shortKey=yDCHHURDfBxSB2rj2Bfa</td> <td>7天</td> </tr> <tr> <td>HTTP_SHORT_URL</td> <td>https://test.essurl.cn/8gDKUBAWK8</td> <td>7天</td> </tr> <tr> <td>APP</td> <td>pages/guide/index?to=AUTHORIZATION_ENTERPRISE_FOR_BATCH_SUBMIT&shortKey=yDCHpURDfR6iEkdpsDde</td> <td>7天</td> </tr><tr> <td>QR_CODE</td> <td>https://dyn.test.ess.tencent.cn/imgs/qrcode_urls/authorization_enterprise_for_batch_submit/yDCHHUUckpbdauq9UEjnoFDCCumAMmv1.png</td> <td>7天</td> </tr> </tbody> </table>注: `1.创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义`
13499
+ :rtype: str
13500
+ """
13501
+ return self._AuthUrl
13502
+
13503
+ @AuthUrl.setter
13504
+ def AuthUrl(self, AuthUrl):
13505
+ self._AuthUrl = AuthUrl
13506
+
13507
+ @property
13508
+ def ErrorMessages(self):
13509
+ """认证流认证失败信息
13510
+ :rtype: list of str
13511
+ """
13512
+ return self._ErrorMessages
13513
+
13514
+ @ErrorMessages.setter
13515
+ def ErrorMessages(self, ErrorMessages):
13516
+ self._ErrorMessages = ErrorMessages
13517
+
13518
+ @property
13519
+ def ExpireTime(self):
13520
+ """链接过期时间,为 7 天后,创建时间,格式为Unix标准时间戳(秒)。
13521
+ :rtype: int
13522
+ """
13523
+ return self._ExpireTime
13524
+
13525
+ @ExpireTime.setter
13526
+ def ExpireTime(self, ExpireTime):
13527
+ self._ExpireTime = ExpireTime
13528
+
13529
+ @property
13530
+ def RequestId(self):
13531
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13532
+ :rtype: str
13533
+ """
13534
+ return self._RequestId
13535
+
13536
+ @RequestId.setter
13537
+ def RequestId(self, RequestId):
13538
+ self._RequestId = RequestId
13539
+
13540
+
13541
+ def _deserialize(self, params):
13542
+ self._AuthUrl = params.get("AuthUrl")
13543
+ self._ErrorMessages = params.get("ErrorMessages")
13544
+ self._ExpireTime = params.get("ExpireTime")
13545
+ self._RequestId = params.get("RequestId")
13546
+
13547
+
13339
13548
  class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
13340
13549
  """CreateBatchOrganizationRegistrationTasks请求参数结构体
13341
13550
 
@@ -647,6 +647,8 @@ class ChatCompletionsResponse(AbstractModel):
647
647
 
648
648
  @property
649
649
  def ModerationLevel(self):
650
+ warnings.warn("parameter `ModerationLevel` is deprecated", DeprecationWarning)
651
+
650
652
  """多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。
651
653
  :rtype: str
652
654
  """
@@ -654,6 +656,8 @@ class ChatCompletionsResponse(AbstractModel):
654
656
 
655
657
  @ModerationLevel.setter
656
658
  def ModerationLevel(self, ModerationLevel):
659
+ warnings.warn("parameter `ModerationLevel` is deprecated", DeprecationWarning)
660
+
657
661
  self._ModerationLevel = ModerationLevel
658
662
 
659
663
  @property
@@ -1048,11 +1052,14 @@ tool_calls 标识函数调用。
1048
1052
  :type Message: :class:`tencentcloud.hunyuan.v20230901.models.Message`
1049
1053
  :param _Index: 索引值,流式调用时使用该字段。
1050
1054
  :type Index: int
1055
+ :param _ModerationLevel: 多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。
1056
+ :type ModerationLevel: str
1051
1057
  """
1052
1058
  self._FinishReason = None
1053
1059
  self._Delta = None
1054
1060
  self._Message = None
1055
1061
  self._Index = None
1062
+ self._ModerationLevel = None
1056
1063
 
1057
1064
  @property
1058
1065
  def FinishReason(self):
@@ -1103,6 +1110,17 @@ tool_calls 标识函数调用。
1103
1110
  def Index(self, Index):
1104
1111
  self._Index = Index
1105
1112
 
1113
+ @property
1114
+ def ModerationLevel(self):
1115
+ """多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。
1116
+ :rtype: str
1117
+ """
1118
+ return self._ModerationLevel
1119
+
1120
+ @ModerationLevel.setter
1121
+ def ModerationLevel(self, ModerationLevel):
1122
+ self._ModerationLevel = ModerationLevel
1123
+
1106
1124
 
1107
1125
  def _deserialize(self, params):
1108
1126
  self._FinishReason = params.get("FinishReason")
@@ -1113,6 +1131,7 @@ tool_calls 标识函数调用。
1113
1131
  self._Message = Message()
1114
1132
  self._Message._deserialize(params.get("Message"))
1115
1133
  self._Index = params.get("Index")
1134
+ self._ModerationLevel = params.get("ModerationLevel")
1116
1135
  memeber_set = set(params.keys())
1117
1136
  for name, value in vars(self).items():
1118
1137
  property_name = name[1:]