tencentcloud-sdk-python 3.0.970__py2.py3-none-any.whl → 3.0.972__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apigateway/v20180808/models.py +27 -2
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +2 -2
- tencentcloud/bma/v20221115/models.py +25 -0
- tencentcloud/cdwch/v20200915/cdwch_client.py +92 -0
- tencentcloud/cdwch/v20200915/models.py +481 -0
- tencentcloud/ckafka/v20190819/models.py +105 -0
- tencentcloud/csip/v20221121/models.py +13 -0
- tencentcloud/cvm/v20170312/cvm_client.py +4 -4
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cwp/v20180228/models.py +24 -0
- tencentcloud/cynosdb/v20190107/models.py +2 -2
- tencentcloud/dbbrain/v20210527/models.py +24 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +46 -0
- tencentcloud/dsgc/v20190723/models.py +530 -14
- tencentcloud/ess/v20201111/models.py +1 -1
- tencentcloud/faceid/v20180301/models.py +33 -1
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/oceanus/v20190422/models.py +130 -0
- tencentcloud/ses/v20201002/errorcodes.py +2 -2
- tencentcloud/trtc/v20190722/models.py +2 -1
- tencentcloud/tsf/v20180326/models.py +2 -2
- tencentcloud/vod/v20180717/models.py +96 -0
- tencentcloud/vpc/v20170312/models.py +210 -13
- tencentcloud/vpc/v20170312/vpc_client.py +48 -0
- tencentcloud/waf/v20180125/errorcodes.py +6 -0
- tencentcloud/waf/v20180125/models.py +8758 -5573
- tencentcloud/waf/v20180125/waf_client.py +462 -0
- tencentcloud/wedata/v20210820/models.py +13 -0
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.970.dist-info → tencentcloud_sdk_python-3.0.972.dist-info}/top_level.txt +0 -0
|
@@ -3267,6 +3267,9 @@ class GetEidResultResponse(AbstractModel):
|
|
|
3267
3267
|
:param _IntentionQuestionResult: 意愿核身问答模式相关信息。若未使用意愿核身问答模式功能,该字段返回值可以不处理。
|
|
3268
3268
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3269
3269
|
:type IntentionQuestionResult: :class:`tencentcloud.faceid.v20180301.models.IntentionQuestionResult`
|
|
3270
|
+
:param _IntentionActionResult: 意愿核身点头确认模式的结果信息,若未使用该意愿核身功能,该字段返回值可以不处理。
|
|
3271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3272
|
+
:type IntentionActionResult: :class:`tencentcloud.faceid.v20180301.models.IntentionActionResult`
|
|
3270
3273
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3271
3274
|
:type RequestId: str
|
|
3272
3275
|
"""
|
|
@@ -3276,6 +3279,7 @@ class GetEidResultResponse(AbstractModel):
|
|
|
3276
3279
|
self._EidInfo = None
|
|
3277
3280
|
self._IntentionVerifyData = None
|
|
3278
3281
|
self._IntentionQuestionResult = None
|
|
3282
|
+
self._IntentionActionResult = None
|
|
3279
3283
|
self._RequestId = None
|
|
3280
3284
|
|
|
3281
3285
|
@property
|
|
@@ -3326,6 +3330,14 @@ class GetEidResultResponse(AbstractModel):
|
|
|
3326
3330
|
def IntentionQuestionResult(self, IntentionQuestionResult):
|
|
3327
3331
|
self._IntentionQuestionResult = IntentionQuestionResult
|
|
3328
3332
|
|
|
3333
|
+
@property
|
|
3334
|
+
def IntentionActionResult(self):
|
|
3335
|
+
return self._IntentionActionResult
|
|
3336
|
+
|
|
3337
|
+
@IntentionActionResult.setter
|
|
3338
|
+
def IntentionActionResult(self, IntentionActionResult):
|
|
3339
|
+
self._IntentionActionResult = IntentionActionResult
|
|
3340
|
+
|
|
3329
3341
|
@property
|
|
3330
3342
|
def RequestId(self):
|
|
3331
3343
|
return self._RequestId
|
|
@@ -3354,6 +3366,9 @@ class GetEidResultResponse(AbstractModel):
|
|
|
3354
3366
|
if params.get("IntentionQuestionResult") is not None:
|
|
3355
3367
|
self._IntentionQuestionResult = IntentionQuestionResult()
|
|
3356
3368
|
self._IntentionQuestionResult._deserialize(params.get("IntentionQuestionResult"))
|
|
3369
|
+
if params.get("IntentionActionResult") is not None:
|
|
3370
|
+
self._IntentionActionResult = IntentionActionResult()
|
|
3371
|
+
self._IntentionActionResult._deserialize(params.get("IntentionActionResult"))
|
|
3357
3372
|
self._RequestId = params.get("RequestId")
|
|
3358
3373
|
|
|
3359
3374
|
|
|
@@ -3374,12 +3389,14 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3374
3389
|
:type InputType: str
|
|
3375
3390
|
:param _UseIntentionVerify: 是否使用意愿核身,默认不使用。注意:如开启使用,则计费标签按【意愿核身】计费标签计价;如不开启,则计费标签按【E证通】计费标签计价,价格详见:[价格说明](https://cloud.tencent.com/document/product/1007/56804)。
|
|
3376
3391
|
:type UseIntentionVerify: bool
|
|
3377
|
-
:param _IntentionMode: 意愿核身模式。枚举值:1(
|
|
3392
|
+
:param _IntentionMode: 意愿核身模式。枚举值:1( 语音朗读模式),2(语音问答模式) ,3(点头确认模式)。默认值为1。
|
|
3378
3393
|
:type IntentionMode: str
|
|
3379
3394
|
:param _IntentionVerifyText: 意愿核身朗读模式使用的文案,若未使用意愿核身朗读功能,该字段无需传入。默认为空,最长可接受120的字符串长度。
|
|
3380
3395
|
:type IntentionVerifyText: str
|
|
3381
3396
|
:param _IntentionQuestions: 意愿核身问答模式的配置列表。当前仅支持一个问答。
|
|
3382
3397
|
:type IntentionQuestions: list of IntentionQuestion
|
|
3398
|
+
:param _IntentionActions: 意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。默认为空,最长可接受150的字符串长度。
|
|
3399
|
+
:type IntentionActions: list of IntentionActionConfig
|
|
3383
3400
|
:param _IntentionRecognition: 意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。
|
|
3384
3401
|
:type IntentionRecognition: bool
|
|
3385
3402
|
:param _IsSupportHMTResidentPermitOCR: 是否支持港澳台居住证识别
|
|
@@ -3390,6 +3407,7 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3390
3407
|
self._IntentionMode = None
|
|
3391
3408
|
self._IntentionVerifyText = None
|
|
3392
3409
|
self._IntentionQuestions = None
|
|
3410
|
+
self._IntentionActions = None
|
|
3393
3411
|
self._IntentionRecognition = None
|
|
3394
3412
|
self._IsSupportHMTResidentPermitOCR = None
|
|
3395
3413
|
|
|
@@ -3433,6 +3451,14 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3433
3451
|
def IntentionQuestions(self, IntentionQuestions):
|
|
3434
3452
|
self._IntentionQuestions = IntentionQuestions
|
|
3435
3453
|
|
|
3454
|
+
@property
|
|
3455
|
+
def IntentionActions(self):
|
|
3456
|
+
return self._IntentionActions
|
|
3457
|
+
|
|
3458
|
+
@IntentionActions.setter
|
|
3459
|
+
def IntentionActions(self, IntentionActions):
|
|
3460
|
+
self._IntentionActions = IntentionActions
|
|
3461
|
+
|
|
3436
3462
|
@property
|
|
3437
3463
|
def IntentionRecognition(self):
|
|
3438
3464
|
return self._IntentionRecognition
|
|
@@ -3461,6 +3487,12 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3461
3487
|
obj = IntentionQuestion()
|
|
3462
3488
|
obj._deserialize(item)
|
|
3463
3489
|
self._IntentionQuestions.append(obj)
|
|
3490
|
+
if params.get("IntentionActions") is not None:
|
|
3491
|
+
self._IntentionActions = []
|
|
3492
|
+
for item in params.get("IntentionActions"):
|
|
3493
|
+
obj = IntentionActionConfig()
|
|
3494
|
+
obj._deserialize(item)
|
|
3495
|
+
self._IntentionActions.append(obj)
|
|
3464
3496
|
self._IntentionRecognition = params.get("IntentionRecognition")
|
|
3465
3497
|
self._IsSupportHMTResidentPermitOCR = params.get("IsSupportHMTResidentPermitOCR")
|
|
3466
3498
|
memeber_set = set(params.keys())
|
|
@@ -2352,7 +2352,7 @@ class LighthouseClient(AbstractClient):
|
|
|
2352
2352
|
|
|
2353
2353
|
def ResetInstancesPassword(self, request):
|
|
2354
2354
|
"""本接口(ResetInstancesPassword)用于将实例操作系统的密码重置为用户指定的密码。
|
|
2355
|
-
*
|
|
2355
|
+
* 只修改管理员账号的密码。实例的操作系统不同,管理员账号也会不一样(Windows 为 Administrator,Ubuntu 为 ubuntu ,其它系统为 root)。
|
|
2356
2356
|
* 支持批量操作。将多个实例操作系统的密码重置为相同的密码。每次请求批量实例的上限为 100。
|
|
2357
2357
|
* 建议对运行中的实例先手动关机,然后再进行密码重置。如实例处于运行中状态,本接口操作过程中会对实例进行关机操作,尝试正常关机失败后进行强制关机。
|
|
2358
2358
|
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeInstances 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
|
|
@@ -353,6 +353,15 @@ class Cluster(AbstractModel):
|
|
|
353
353
|
:param _ClusterSessions: session集群信息
|
|
354
354
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
355
355
|
:type ClusterSessions: list of ClusterSession
|
|
356
|
+
:param _ArchGeneration: V3版本 = 2
|
|
357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
358
|
+
:type ArchGeneration: int
|
|
359
|
+
:param _ClusterType: 0:TKE, 1:EKS
|
|
360
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
361
|
+
:type ClusterType: int
|
|
362
|
+
:param _Orders: 订单信息
|
|
363
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
364
|
+
:type Orders: list of Order
|
|
356
365
|
"""
|
|
357
366
|
self._ClusterId = None
|
|
358
367
|
self._Name = None
|
|
@@ -390,6 +399,9 @@ class Cluster(AbstractModel):
|
|
|
390
399
|
self._PayMode = None
|
|
391
400
|
self._IsNeedManageNode = None
|
|
392
401
|
self._ClusterSessions = None
|
|
402
|
+
self._ArchGeneration = None
|
|
403
|
+
self._ClusterType = None
|
|
404
|
+
self._Orders = None
|
|
393
405
|
|
|
394
406
|
@property
|
|
395
407
|
def ClusterId(self):
|
|
@@ -679,6 +691,30 @@ class Cluster(AbstractModel):
|
|
|
679
691
|
def ClusterSessions(self, ClusterSessions):
|
|
680
692
|
self._ClusterSessions = ClusterSessions
|
|
681
693
|
|
|
694
|
+
@property
|
|
695
|
+
def ArchGeneration(self):
|
|
696
|
+
return self._ArchGeneration
|
|
697
|
+
|
|
698
|
+
@ArchGeneration.setter
|
|
699
|
+
def ArchGeneration(self, ArchGeneration):
|
|
700
|
+
self._ArchGeneration = ArchGeneration
|
|
701
|
+
|
|
702
|
+
@property
|
|
703
|
+
def ClusterType(self):
|
|
704
|
+
return self._ClusterType
|
|
705
|
+
|
|
706
|
+
@ClusterType.setter
|
|
707
|
+
def ClusterType(self, ClusterType):
|
|
708
|
+
self._ClusterType = ClusterType
|
|
709
|
+
|
|
710
|
+
@property
|
|
711
|
+
def Orders(self):
|
|
712
|
+
return self._Orders
|
|
713
|
+
|
|
714
|
+
@Orders.setter
|
|
715
|
+
def Orders(self, Orders):
|
|
716
|
+
self._Orders = Orders
|
|
717
|
+
|
|
682
718
|
|
|
683
719
|
def _deserialize(self, params):
|
|
684
720
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -739,6 +775,14 @@ class Cluster(AbstractModel):
|
|
|
739
775
|
obj = ClusterSession()
|
|
740
776
|
obj._deserialize(item)
|
|
741
777
|
self._ClusterSessions.append(obj)
|
|
778
|
+
self._ArchGeneration = params.get("ArchGeneration")
|
|
779
|
+
self._ClusterType = params.get("ClusterType")
|
|
780
|
+
if params.get("Orders") is not None:
|
|
781
|
+
self._Orders = []
|
|
782
|
+
for item in params.get("Orders"):
|
|
783
|
+
obj = Order()
|
|
784
|
+
obj._deserialize(item)
|
|
785
|
+
self._Orders.append(obj)
|
|
742
786
|
memeber_set = set(params.keys())
|
|
743
787
|
for name, value in vars(self).items():
|
|
744
788
|
property_name = name[1:]
|
|
@@ -5921,6 +5965,92 @@ class NodeConfig(AbstractModel):
|
|
|
5921
5965
|
|
|
5922
5966
|
|
|
5923
5967
|
|
|
5968
|
+
class Order(AbstractModel):
|
|
5969
|
+
"""集群购买、扩缩容、续费订单信息
|
|
5970
|
+
|
|
5971
|
+
"""
|
|
5972
|
+
|
|
5973
|
+
def __init__(self):
|
|
5974
|
+
r"""
|
|
5975
|
+
:param _Type: 创建、续费、扩缩容 1 2 3
|
|
5976
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5977
|
+
:type Type: int
|
|
5978
|
+
:param _AutoRenewFlag: 自动续费 1
|
|
5979
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5980
|
+
:type AutoRenewFlag: int
|
|
5981
|
+
:param _OperateUin: 操作人的UIN
|
|
5982
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5983
|
+
:type OperateUin: str
|
|
5984
|
+
:param _ComputeCu: 最终集群的CU数量
|
|
5985
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5986
|
+
:type ComputeCu: int
|
|
5987
|
+
:param _OrderTime: 订单的时间
|
|
5988
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5989
|
+
:type OrderTime: str
|
|
5990
|
+
"""
|
|
5991
|
+
self._Type = None
|
|
5992
|
+
self._AutoRenewFlag = None
|
|
5993
|
+
self._OperateUin = None
|
|
5994
|
+
self._ComputeCu = None
|
|
5995
|
+
self._OrderTime = None
|
|
5996
|
+
|
|
5997
|
+
@property
|
|
5998
|
+
def Type(self):
|
|
5999
|
+
return self._Type
|
|
6000
|
+
|
|
6001
|
+
@Type.setter
|
|
6002
|
+
def Type(self, Type):
|
|
6003
|
+
self._Type = Type
|
|
6004
|
+
|
|
6005
|
+
@property
|
|
6006
|
+
def AutoRenewFlag(self):
|
|
6007
|
+
return self._AutoRenewFlag
|
|
6008
|
+
|
|
6009
|
+
@AutoRenewFlag.setter
|
|
6010
|
+
def AutoRenewFlag(self, AutoRenewFlag):
|
|
6011
|
+
self._AutoRenewFlag = AutoRenewFlag
|
|
6012
|
+
|
|
6013
|
+
@property
|
|
6014
|
+
def OperateUin(self):
|
|
6015
|
+
return self._OperateUin
|
|
6016
|
+
|
|
6017
|
+
@OperateUin.setter
|
|
6018
|
+
def OperateUin(self, OperateUin):
|
|
6019
|
+
self._OperateUin = OperateUin
|
|
6020
|
+
|
|
6021
|
+
@property
|
|
6022
|
+
def ComputeCu(self):
|
|
6023
|
+
return self._ComputeCu
|
|
6024
|
+
|
|
6025
|
+
@ComputeCu.setter
|
|
6026
|
+
def ComputeCu(self, ComputeCu):
|
|
6027
|
+
self._ComputeCu = ComputeCu
|
|
6028
|
+
|
|
6029
|
+
@property
|
|
6030
|
+
def OrderTime(self):
|
|
6031
|
+
return self._OrderTime
|
|
6032
|
+
|
|
6033
|
+
@OrderTime.setter
|
|
6034
|
+
def OrderTime(self, OrderTime):
|
|
6035
|
+
self._OrderTime = OrderTime
|
|
6036
|
+
|
|
6037
|
+
|
|
6038
|
+
def _deserialize(self, params):
|
|
6039
|
+
self._Type = params.get("Type")
|
|
6040
|
+
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
|
6041
|
+
self._OperateUin = params.get("OperateUin")
|
|
6042
|
+
self._ComputeCu = params.get("ComputeCu")
|
|
6043
|
+
self._OrderTime = params.get("OrderTime")
|
|
6044
|
+
memeber_set = set(params.keys())
|
|
6045
|
+
for name, value in vars(self).items():
|
|
6046
|
+
property_name = name[1:]
|
|
6047
|
+
if property_name in memeber_set:
|
|
6048
|
+
memeber_set.remove(property_name)
|
|
6049
|
+
if len(memeber_set) > 0:
|
|
6050
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6051
|
+
|
|
6052
|
+
|
|
6053
|
+
|
|
5924
6054
|
class Property(AbstractModel):
|
|
5925
6055
|
"""系统配置属性
|
|
5926
6056
|
|
|
@@ -50,7 +50,7 @@ FAILEDOPERATION_INSUFFICIENTBALANCE = 'FailedOperation.InsufficientBalance'
|
|
|
50
50
|
# 套餐包额度不足。
|
|
51
51
|
FAILEDOPERATION_INSUFFICIENTQUOTA = 'FailedOperation.InsufficientQuota'
|
|
52
52
|
|
|
53
|
-
#
|
|
53
|
+
# 不支持的附件名称,请检查附件名称是否含有特殊字符,详情请参考[附录附件说明](https://cloud.tencent.com/document/product/1288/51951)。
|
|
54
54
|
FAILEDOPERATION_INVALIDATTACHNAME = 'FailedOperation.InvalidAttachName'
|
|
55
55
|
|
|
56
56
|
# 超过查询限制,Limit最大支持100。
|
|
@@ -89,7 +89,7 @@ FAILEDOPERATION_SERVICENOTAVAILABLE = 'FailedOperation.ServiceNotAvailable'
|
|
|
89
89
|
# 模板内容太大,请减少模板内容。
|
|
90
90
|
FAILEDOPERATION_TEMPLATECONTENTTOOLARGE = 'FailedOperation.TemplateContentToolarge'
|
|
91
91
|
|
|
92
|
-
#
|
|
92
|
+
# 因触发了对应的收件服务商限制,邮件推送平台会对该服务商发信暂停10分钟,10分钟后自动解除。
|
|
93
93
|
FAILEDOPERATION_TEMPORARYBLOCKED = 'FailedOperation.TemporaryBlocked'
|
|
94
94
|
|
|
95
95
|
# 附件数量太多,单封邮件最多支持10个附件。
|
|
@@ -3745,7 +3745,8 @@ class DismissRoomByStrRoomIdRequest(AbstractModel):
|
|
|
3745
3745
|
r"""
|
|
3746
3746
|
:param _SdkAppId: TRTC的SDKAppId。
|
|
3747
3747
|
:type SdkAppId: int
|
|
3748
|
-
:param _RoomId:
|
|
3748
|
+
:param _RoomId: 字符串类型房间号。
|
|
3749
|
+
本接口仅支持解散字符串类型房间号,如需解散数字类型房间号,请使用:DismissRoom
|
|
3749
3750
|
:type RoomId: str
|
|
3750
3751
|
"""
|
|
3751
3752
|
self._SdkAppId = None
|
|
@@ -42286,7 +42286,7 @@ class UnitRuleItem(AbstractModel):
|
|
|
42286
42286
|
:param _UnitRuleTagList: 规则标签列表
|
|
42287
42287
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
42288
42288
|
:type UnitRuleTagList: list of UnitRuleTag
|
|
42289
|
-
:param _ItemIndex:
|
|
42289
|
+
:param _ItemIndex: 规则项索引
|
|
42290
42290
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
42291
42291
|
:type ItemIndex: int
|
|
42292
42292
|
:param _CreatedTime: 创建时间
|
|
@@ -42441,7 +42441,7 @@ class UnitRuleTag(AbstractModel):
|
|
|
42441
42441
|
|
|
42442
42442
|
def __init__(self):
|
|
42443
42443
|
r"""
|
|
42444
|
-
:param _TagType: 标签类型 : U(用户标签)
|
|
42444
|
+
:param _TagType: 标签类型 : U(用户标签)/S(系统标签)
|
|
42445
42445
|
:type TagType: str
|
|
42446
42446
|
:param _TagField: 标签名
|
|
42447
42447
|
:type TagField: str
|
|
@@ -42700,6 +42700,8 @@ class ProductInstance(AbstractModel):
|
|
|
42700
42700
|
:type BindStatus: int
|
|
42701
42701
|
:param _ProductInstanceResourceSet: 预付费资源包实例中包含的资源包列表。
|
|
42702
42702
|
:type ProductInstanceResourceSet: list of ProductInstanceRecource
|
|
42703
|
+
:param _ResourceSet: 预付费资源包实例中包含的资源包列表。
|
|
42704
|
+
:type ResourceSet: list of ProductInstanceResource
|
|
42703
42705
|
:param _ProductInstanceStatus: 资源包实例的状态,取值有:
|
|
42704
42706
|
<li>Effective:生效,可用于计费抵扣。</li>
|
|
42705
42707
|
<li>Isolated:隔离,不可用于计费抵扣。</li>
|
|
@@ -42722,6 +42724,7 @@ class ProductInstance(AbstractModel):
|
|
|
42722
42724
|
self._LastConsumeDate = None
|
|
42723
42725
|
self._BindStatus = None
|
|
42724
42726
|
self._ProductInstanceResourceSet = None
|
|
42727
|
+
self._ResourceSet = None
|
|
42725
42728
|
self._ProductInstanceStatus = None
|
|
42726
42729
|
self._RefundStatus = None
|
|
42727
42730
|
self._RenewStatus = None
|
|
@@ -42776,12 +42779,24 @@ class ProductInstance(AbstractModel):
|
|
|
42776
42779
|
|
|
42777
42780
|
@property
|
|
42778
42781
|
def ProductInstanceResourceSet(self):
|
|
42782
|
+
warnings.warn("parameter `ProductInstanceResourceSet` is deprecated", DeprecationWarning)
|
|
42783
|
+
|
|
42779
42784
|
return self._ProductInstanceResourceSet
|
|
42780
42785
|
|
|
42781
42786
|
@ProductInstanceResourceSet.setter
|
|
42782
42787
|
def ProductInstanceResourceSet(self, ProductInstanceResourceSet):
|
|
42788
|
+
warnings.warn("parameter `ProductInstanceResourceSet` is deprecated", DeprecationWarning)
|
|
42789
|
+
|
|
42783
42790
|
self._ProductInstanceResourceSet = ProductInstanceResourceSet
|
|
42784
42791
|
|
|
42792
|
+
@property
|
|
42793
|
+
def ResourceSet(self):
|
|
42794
|
+
return self._ResourceSet
|
|
42795
|
+
|
|
42796
|
+
@ResourceSet.setter
|
|
42797
|
+
def ResourceSet(self, ResourceSet):
|
|
42798
|
+
self._ResourceSet = ResourceSet
|
|
42799
|
+
|
|
42785
42800
|
@property
|
|
42786
42801
|
def ProductInstanceStatus(self):
|
|
42787
42802
|
return self._ProductInstanceStatus
|
|
@@ -42820,6 +42835,12 @@ class ProductInstance(AbstractModel):
|
|
|
42820
42835
|
obj = ProductInstanceRecource()
|
|
42821
42836
|
obj._deserialize(item)
|
|
42822
42837
|
self._ProductInstanceResourceSet.append(obj)
|
|
42838
|
+
if params.get("ResourceSet") is not None:
|
|
42839
|
+
self._ResourceSet = []
|
|
42840
|
+
for item in params.get("ResourceSet"):
|
|
42841
|
+
obj = ProductInstanceResource()
|
|
42842
|
+
obj._deserialize(item)
|
|
42843
|
+
self._ResourceSet.append(obj)
|
|
42823
42844
|
self._ProductInstanceStatus = params.get("ProductInstanceStatus")
|
|
42824
42845
|
self._RefundStatus = params.get("RefundStatus")
|
|
42825
42846
|
self._RenewStatus = params.get("RenewStatus")
|
|
@@ -42908,6 +42929,81 @@ class ProductInstanceRecource(AbstractModel):
|
|
|
42908
42929
|
|
|
42909
42930
|
|
|
42910
42931
|
|
|
42932
|
+
class ProductInstanceResource(AbstractModel):
|
|
42933
|
+
"""资源包中包含的资源。
|
|
42934
|
+
|
|
42935
|
+
"""
|
|
42936
|
+
|
|
42937
|
+
def __init__(self):
|
|
42938
|
+
r"""
|
|
42939
|
+
:param _ResourceType: 资源类型。
|
|
42940
|
+
<li>Storage:存储资源包。</li>
|
|
42941
|
+
<li>Traffic:流量资源包。</li>
|
|
42942
|
+
<li>Transcode:普通转码资源包。</li>
|
|
42943
|
+
<li>TESHD:极速高清转码资源包。</li>
|
|
42944
|
+
<li>Review:音视频审核转码资源包。</li>
|
|
42945
|
+
<li>MediaProcess:媒体处理时长资源包。</li>
|
|
42946
|
+
:type ResourceType: str
|
|
42947
|
+
:param _Amount: 资源包额度。
|
|
42948
|
+
<li>音视频存储资源包,单位为字节。</li>
|
|
42949
|
+
<li>音视频转码资源包,单位为秒。</li>
|
|
42950
|
+
<li>音视频审核资源包,单位为秒。</li>
|
|
42951
|
+
<li>音视频极速高清资源包,单位为秒。</li>
|
|
42952
|
+
<li>音视频加速资源包,单位为字节。</li>
|
|
42953
|
+
<li>媒体处理时长资源包,单位为秒。</li>
|
|
42954
|
+
:type Amount: int
|
|
42955
|
+
:param _Left: 资源包余量。
|
|
42956
|
+
<li>音视频存储资源包,单位为字节。</li>
|
|
42957
|
+
<li>音视频转码资源包,单位为秒。</li>
|
|
42958
|
+
<li>音视频审核资源包,单位为秒。</li>
|
|
42959
|
+
<li>音视频极速高清资源包,单位为秒。</li>
|
|
42960
|
+
<li>音视频加速资源包,单位为字节。</li>
|
|
42961
|
+
<li>媒体处理时长资源包,单位为秒。</li>
|
|
42962
|
+
:type Left: int
|
|
42963
|
+
"""
|
|
42964
|
+
self._ResourceType = None
|
|
42965
|
+
self._Amount = None
|
|
42966
|
+
self._Left = None
|
|
42967
|
+
|
|
42968
|
+
@property
|
|
42969
|
+
def ResourceType(self):
|
|
42970
|
+
return self._ResourceType
|
|
42971
|
+
|
|
42972
|
+
@ResourceType.setter
|
|
42973
|
+
def ResourceType(self, ResourceType):
|
|
42974
|
+
self._ResourceType = ResourceType
|
|
42975
|
+
|
|
42976
|
+
@property
|
|
42977
|
+
def Amount(self):
|
|
42978
|
+
return self._Amount
|
|
42979
|
+
|
|
42980
|
+
@Amount.setter
|
|
42981
|
+
def Amount(self, Amount):
|
|
42982
|
+
self._Amount = Amount
|
|
42983
|
+
|
|
42984
|
+
@property
|
|
42985
|
+
def Left(self):
|
|
42986
|
+
return self._Left
|
|
42987
|
+
|
|
42988
|
+
@Left.setter
|
|
42989
|
+
def Left(self, Left):
|
|
42990
|
+
self._Left = Left
|
|
42991
|
+
|
|
42992
|
+
|
|
42993
|
+
def _deserialize(self, params):
|
|
42994
|
+
self._ResourceType = params.get("ResourceType")
|
|
42995
|
+
self._Amount = params.get("Amount")
|
|
42996
|
+
self._Left = params.get("Left")
|
|
42997
|
+
memeber_set = set(params.keys())
|
|
42998
|
+
for name, value in vars(self).items():
|
|
42999
|
+
property_name = name[1:]
|
|
43000
|
+
if property_name in memeber_set:
|
|
43001
|
+
memeber_set.remove(property_name)
|
|
43002
|
+
if len(memeber_set) > 0:
|
|
43003
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
43004
|
+
|
|
43005
|
+
|
|
43006
|
+
|
|
42911
43007
|
class ProhibitedAsrReviewTemplateInfo(AbstractModel):
|
|
42912
43008
|
"""语音违禁任务控制参数
|
|
42913
43009
|
|