tencentcloud-sdk-python 3.1.120__py2.py3-none-any.whl → 3.1.121__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ai3d/v20250513/models.py +55 -10
- tencentcloud/billing/v20180709/models.py +101 -56
- tencentcloud/cam/v20190116/cam_client.py +23 -0
- tencentcloud/cam/v20190116/cam_client_async.py +18 -0
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +315 -0
- tencentcloud/cdb/v20170320/models.py +42 -46
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/emr/v20190103/models.py +1016 -55
- tencentcloud/hai/v20230812/models.py +53 -0
- tencentcloud/lkeap/v20240522/models.py +25 -22
- tencentcloud/mna/v20210119/models.py +146 -154
- tencentcloud/ocr/v20181119/models.py +0 -248
- tencentcloud/ocr/v20181119/ocr_client.py +0 -24
- tencentcloud/ocr/v20181119/ocr_client_async.py +0 -19
- tencentcloud/tke/v20180525/models.py +23 -10
- tencentcloud/tmt/v20180321/models.py +15 -0
- tencentcloud/vdb/v20230616/models.py +77 -98
- tencentcloud/waf/v20180125/models.py +125 -4
- {tencentcloud_sdk_python-3.1.120.dist-info → tencentcloud_sdk_python-3.1.121.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.120.dist-info → tencentcloud_sdk_python-3.1.121.dist-info}/RECORD +25 -25
- {tencentcloud_sdk_python-3.1.120.dist-info → tencentcloud_sdk_python-3.1.121.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.120.dist-info → tencentcloud_sdk_python-3.1.121.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.120.dist-info → tencentcloud_sdk_python-3.1.121.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1061,14 +1061,14 @@ class QueryHunyuan3DPartJobRequest(AbstractModel):
|
|
|
1061
1061
|
|
|
1062
1062
|
def __init__(self):
|
|
1063
1063
|
r"""
|
|
1064
|
-
:param _JobId:
|
|
1064
|
+
:param _JobId: <p>任务ID。</p>
|
|
1065
1065
|
:type JobId: str
|
|
1066
1066
|
"""
|
|
1067
1067
|
self._JobId = None
|
|
1068
1068
|
|
|
1069
1069
|
@property
|
|
1070
1070
|
def JobId(self):
|
|
1071
|
-
r"""
|
|
1071
|
+
r"""<p>任务ID。</p>
|
|
1072
1072
|
:rtype: str
|
|
1073
1073
|
"""
|
|
1074
1074
|
return self._JobId
|
|
@@ -1097,14 +1097,16 @@ class QueryHunyuan3DPartJobResponse(AbstractModel):
|
|
|
1097
1097
|
|
|
1098
1098
|
def __init__(self):
|
|
1099
1099
|
r"""
|
|
1100
|
-
:param _Status:
|
|
1100
|
+
:param _Status: <p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功 示例值:RUN。</p>
|
|
1101
1101
|
:type Status: str
|
|
1102
|
-
:param _ErrorCode:
|
|
1102
|
+
:param _ErrorCode: <p>错误码。</p>
|
|
1103
1103
|
:type ErrorCode: str
|
|
1104
|
-
:param _ErrorMessage:
|
|
1104
|
+
:param _ErrorMessage: <p>错误信息。</p>
|
|
1105
1105
|
:type ErrorMessage: str
|
|
1106
|
-
:param _ResultFile3Ds:
|
|
1106
|
+
:param _ResultFile3Ds: <p>生成文件的URL地址,有效期1天。</p>
|
|
1107
1107
|
:type ResultFile3Ds: list of File3D
|
|
1108
|
+
:param _PartSegmentationInfo: <p>是否分步骤进行组件生成;<br>开启后,输入原始模型后,可生成带分割信息的模型以及分割数据,可对此信息编辑后再传入带有分割信息的模型和分割数据进行编辑后的组件生成;<br>此参数默认关闭。</p>
|
|
1109
|
+
:type PartSegmentationInfo: str
|
|
1108
1110
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1109
1111
|
:type RequestId: str
|
|
1110
1112
|
"""
|
|
@@ -1112,11 +1114,12 @@ class QueryHunyuan3DPartJobResponse(AbstractModel):
|
|
|
1112
1114
|
self._ErrorCode = None
|
|
1113
1115
|
self._ErrorMessage = None
|
|
1114
1116
|
self._ResultFile3Ds = None
|
|
1117
|
+
self._PartSegmentationInfo = None
|
|
1115
1118
|
self._RequestId = None
|
|
1116
1119
|
|
|
1117
1120
|
@property
|
|
1118
1121
|
def Status(self):
|
|
1119
|
-
r"""
|
|
1122
|
+
r"""<p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功 示例值:RUN。</p>
|
|
1120
1123
|
:rtype: str
|
|
1121
1124
|
"""
|
|
1122
1125
|
return self._Status
|
|
@@ -1127,7 +1130,7 @@ class QueryHunyuan3DPartJobResponse(AbstractModel):
|
|
|
1127
1130
|
|
|
1128
1131
|
@property
|
|
1129
1132
|
def ErrorCode(self):
|
|
1130
|
-
r"""
|
|
1133
|
+
r"""<p>错误码。</p>
|
|
1131
1134
|
:rtype: str
|
|
1132
1135
|
"""
|
|
1133
1136
|
return self._ErrorCode
|
|
@@ -1138,7 +1141,7 @@ class QueryHunyuan3DPartJobResponse(AbstractModel):
|
|
|
1138
1141
|
|
|
1139
1142
|
@property
|
|
1140
1143
|
def ErrorMessage(self):
|
|
1141
|
-
r"""
|
|
1144
|
+
r"""<p>错误信息。</p>
|
|
1142
1145
|
:rtype: str
|
|
1143
1146
|
"""
|
|
1144
1147
|
return self._ErrorMessage
|
|
@@ -1149,7 +1152,7 @@ class QueryHunyuan3DPartJobResponse(AbstractModel):
|
|
|
1149
1152
|
|
|
1150
1153
|
@property
|
|
1151
1154
|
def ResultFile3Ds(self):
|
|
1152
|
-
r"""
|
|
1155
|
+
r"""<p>生成文件的URL地址,有效期1天。</p>
|
|
1153
1156
|
:rtype: list of File3D
|
|
1154
1157
|
"""
|
|
1155
1158
|
return self._ResultFile3Ds
|
|
@@ -1158,6 +1161,17 @@ class QueryHunyuan3DPartJobResponse(AbstractModel):
|
|
|
1158
1161
|
def ResultFile3Ds(self, ResultFile3Ds):
|
|
1159
1162
|
self._ResultFile3Ds = ResultFile3Ds
|
|
1160
1163
|
|
|
1164
|
+
@property
|
|
1165
|
+
def PartSegmentationInfo(self):
|
|
1166
|
+
r"""<p>是否分步骤进行组件生成;<br>开启后,输入原始模型后,可生成带分割信息的模型以及分割数据,可对此信息编辑后再传入带有分割信息的模型和分割数据进行编辑后的组件生成;<br>此参数默认关闭。</p>
|
|
1167
|
+
:rtype: str
|
|
1168
|
+
"""
|
|
1169
|
+
return self._PartSegmentationInfo
|
|
1170
|
+
|
|
1171
|
+
@PartSegmentationInfo.setter
|
|
1172
|
+
def PartSegmentationInfo(self, PartSegmentationInfo):
|
|
1173
|
+
self._PartSegmentationInfo = PartSegmentationInfo
|
|
1174
|
+
|
|
1161
1175
|
@property
|
|
1162
1176
|
def RequestId(self):
|
|
1163
1177
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1180,6 +1194,7 @@ class QueryHunyuan3DPartJobResponse(AbstractModel):
|
|
|
1180
1194
|
obj = File3D()
|
|
1181
1195
|
obj._deserialize(item)
|
|
1182
1196
|
self._ResultFile3Ds.append(obj)
|
|
1197
|
+
self._PartSegmentationInfo = params.get("PartSegmentationInfo")
|
|
1183
1198
|
self._RequestId = params.get("RequestId")
|
|
1184
1199
|
|
|
1185
1200
|
|
|
@@ -1578,9 +1593,15 @@ class SubmitHunyuan3DPartJobRequest(AbstractModel):
|
|
|
1578
1593
|
:type File: :class:`tencentcloud.ai3d.v20250513.models.InputFile3D`
|
|
1579
1594
|
:param _Model: <p>组件生成模型版本,默认为1.5</p><p>枚举值:</p><ul><li>1.5: 1.5模型</li></ul><p>默认值:1.5</p>
|
|
1580
1595
|
:type Model: str
|
|
1596
|
+
:param _PartSegmentationInfo: <p>是否分步骤进行组件生成;<br>开启后,输入原始模型后,可生成带分割信息的模型以及分割数据,可对此信息编辑后再传入带有分割信息的模型和分割数据进行编辑后的组件生成;<br>此参数默认关闭。</p>
|
|
1597
|
+
:type PartSegmentationInfo: str
|
|
1598
|
+
:param _EnableStagedGeneration: <p>是否开启后处理,开启后将只输出一个模型链接,默认关闭。 (开启此接口后,需额外增加20积分)</p>
|
|
1599
|
+
:type EnableStagedGeneration: bool
|
|
1581
1600
|
"""
|
|
1582
1601
|
self._File = None
|
|
1583
1602
|
self._Model = None
|
|
1603
|
+
self._PartSegmentationInfo = None
|
|
1604
|
+
self._EnableStagedGeneration = None
|
|
1584
1605
|
|
|
1585
1606
|
@property
|
|
1586
1607
|
def File(self):
|
|
@@ -1604,12 +1625,36 @@ class SubmitHunyuan3DPartJobRequest(AbstractModel):
|
|
|
1604
1625
|
def Model(self, Model):
|
|
1605
1626
|
self._Model = Model
|
|
1606
1627
|
|
|
1628
|
+
@property
|
|
1629
|
+
def PartSegmentationInfo(self):
|
|
1630
|
+
r"""<p>是否分步骤进行组件生成;<br>开启后,输入原始模型后,可生成带分割信息的模型以及分割数据,可对此信息编辑后再传入带有分割信息的模型和分割数据进行编辑后的组件生成;<br>此参数默认关闭。</p>
|
|
1631
|
+
:rtype: str
|
|
1632
|
+
"""
|
|
1633
|
+
return self._PartSegmentationInfo
|
|
1634
|
+
|
|
1635
|
+
@PartSegmentationInfo.setter
|
|
1636
|
+
def PartSegmentationInfo(self, PartSegmentationInfo):
|
|
1637
|
+
self._PartSegmentationInfo = PartSegmentationInfo
|
|
1638
|
+
|
|
1639
|
+
@property
|
|
1640
|
+
def EnableStagedGeneration(self):
|
|
1641
|
+
r"""<p>是否开启后处理,开启后将只输出一个模型链接,默认关闭。 (开启此接口后,需额外增加20积分)</p>
|
|
1642
|
+
:rtype: bool
|
|
1643
|
+
"""
|
|
1644
|
+
return self._EnableStagedGeneration
|
|
1645
|
+
|
|
1646
|
+
@EnableStagedGeneration.setter
|
|
1647
|
+
def EnableStagedGeneration(self, EnableStagedGeneration):
|
|
1648
|
+
self._EnableStagedGeneration = EnableStagedGeneration
|
|
1649
|
+
|
|
1607
1650
|
|
|
1608
1651
|
def _deserialize(self, params):
|
|
1609
1652
|
if params.get("File") is not None:
|
|
1610
1653
|
self._File = InputFile3D()
|
|
1611
1654
|
self._File._deserialize(params.get("File"))
|
|
1612
1655
|
self._Model = params.get("Model")
|
|
1656
|
+
self._PartSegmentationInfo = params.get("PartSegmentationInfo")
|
|
1657
|
+
self._EnableStagedGeneration = params.get("EnableStagedGeneration")
|
|
1613
1658
|
memeber_set = set(params.keys())
|
|
1614
1659
|
for name, value in vars(self).items():
|
|
1615
1660
|
property_name = name[1:]
|
|
@@ -14115,30 +14115,34 @@ class CostComponentSet(AbstractModel):
|
|
|
14115
14115
|
|
|
14116
14116
|
def __init__(self):
|
|
14117
14117
|
r"""
|
|
14118
|
-
:param _ComponentCodeName:
|
|
14118
|
+
:param _ComponentCodeName: <p>组件类型名称</p>
|
|
14119
14119
|
:type ComponentCodeName: str
|
|
14120
|
-
:param _ItemCodeName:
|
|
14120
|
+
:param _ItemCodeName: <p>组件名称</p>
|
|
14121
14121
|
:type ItemCodeName: str
|
|
14122
|
-
:param _SinglePrice:
|
|
14122
|
+
:param _SinglePrice: <p>刊例价</p>
|
|
14123
14123
|
:type SinglePrice: str
|
|
14124
|
-
:param _PriceUnit:
|
|
14124
|
+
:param _PriceUnit: <p>刊例价单位</p>
|
|
14125
14125
|
:type PriceUnit: str
|
|
14126
|
-
:param _UsedAmount:
|
|
14126
|
+
:param _UsedAmount: <p>用量</p>
|
|
14127
14127
|
:type UsedAmount: str
|
|
14128
|
-
:param _UsedAmountUnit:
|
|
14128
|
+
:param _UsedAmountUnit: <p>用量单位</p>
|
|
14129
14129
|
:type UsedAmountUnit: str
|
|
14130
|
-
:param _Cost:
|
|
14130
|
+
:param _Cost: <p>原价</p>
|
|
14131
14131
|
:type Cost: str
|
|
14132
|
-
:param _Discount:
|
|
14132
|
+
:param _Discount: <p>折扣</p>
|
|
14133
14133
|
:type Discount: str
|
|
14134
|
-
:param _RealCost:
|
|
14134
|
+
:param _RealCost: <p>折后价</p>
|
|
14135
14135
|
:type RealCost: str
|
|
14136
|
-
:param _VoucherPayAmount:
|
|
14136
|
+
:param _VoucherPayAmount: <p>代金券支付金额</p>
|
|
14137
14137
|
:type VoucherPayAmount: str
|
|
14138
|
-
:param _CashPayAmount:
|
|
14138
|
+
:param _CashPayAmount: <p>现金支付金额</p>
|
|
14139
14139
|
:type CashPayAmount: str
|
|
14140
|
-
:param _IncentivePayAmount:
|
|
14140
|
+
:param _IncentivePayAmount: <p>赠送金支付金额</p>
|
|
14141
14141
|
:type IncentivePayAmount: str
|
|
14142
|
+
:param _ComponentCode: <p>组件类型code</p>
|
|
14143
|
+
:type ComponentCode: str
|
|
14144
|
+
:param _ItemCode: <p>组件名称code</p>
|
|
14145
|
+
:type ItemCode: str
|
|
14142
14146
|
"""
|
|
14143
14147
|
self._ComponentCodeName = None
|
|
14144
14148
|
self._ItemCodeName = None
|
|
@@ -14152,10 +14156,12 @@ class CostComponentSet(AbstractModel):
|
|
|
14152
14156
|
self._VoucherPayAmount = None
|
|
14153
14157
|
self._CashPayAmount = None
|
|
14154
14158
|
self._IncentivePayAmount = None
|
|
14159
|
+
self._ComponentCode = None
|
|
14160
|
+
self._ItemCode = None
|
|
14155
14161
|
|
|
14156
14162
|
@property
|
|
14157
14163
|
def ComponentCodeName(self):
|
|
14158
|
-
r"""
|
|
14164
|
+
r"""<p>组件类型名称</p>
|
|
14159
14165
|
:rtype: str
|
|
14160
14166
|
"""
|
|
14161
14167
|
return self._ComponentCodeName
|
|
@@ -14166,7 +14172,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14166
14172
|
|
|
14167
14173
|
@property
|
|
14168
14174
|
def ItemCodeName(self):
|
|
14169
|
-
r"""
|
|
14175
|
+
r"""<p>组件名称</p>
|
|
14170
14176
|
:rtype: str
|
|
14171
14177
|
"""
|
|
14172
14178
|
return self._ItemCodeName
|
|
@@ -14177,7 +14183,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14177
14183
|
|
|
14178
14184
|
@property
|
|
14179
14185
|
def SinglePrice(self):
|
|
14180
|
-
r"""
|
|
14186
|
+
r"""<p>刊例价</p>
|
|
14181
14187
|
:rtype: str
|
|
14182
14188
|
"""
|
|
14183
14189
|
return self._SinglePrice
|
|
@@ -14188,7 +14194,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14188
14194
|
|
|
14189
14195
|
@property
|
|
14190
14196
|
def PriceUnit(self):
|
|
14191
|
-
r"""
|
|
14197
|
+
r"""<p>刊例价单位</p>
|
|
14192
14198
|
:rtype: str
|
|
14193
14199
|
"""
|
|
14194
14200
|
return self._PriceUnit
|
|
@@ -14199,7 +14205,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14199
14205
|
|
|
14200
14206
|
@property
|
|
14201
14207
|
def UsedAmount(self):
|
|
14202
|
-
r"""
|
|
14208
|
+
r"""<p>用量</p>
|
|
14203
14209
|
:rtype: str
|
|
14204
14210
|
"""
|
|
14205
14211
|
return self._UsedAmount
|
|
@@ -14210,7 +14216,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14210
14216
|
|
|
14211
14217
|
@property
|
|
14212
14218
|
def UsedAmountUnit(self):
|
|
14213
|
-
r"""
|
|
14219
|
+
r"""<p>用量单位</p>
|
|
14214
14220
|
:rtype: str
|
|
14215
14221
|
"""
|
|
14216
14222
|
return self._UsedAmountUnit
|
|
@@ -14221,7 +14227,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14221
14227
|
|
|
14222
14228
|
@property
|
|
14223
14229
|
def Cost(self):
|
|
14224
|
-
r"""
|
|
14230
|
+
r"""<p>原价</p>
|
|
14225
14231
|
:rtype: str
|
|
14226
14232
|
"""
|
|
14227
14233
|
return self._Cost
|
|
@@ -14232,7 +14238,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14232
14238
|
|
|
14233
14239
|
@property
|
|
14234
14240
|
def Discount(self):
|
|
14235
|
-
r"""
|
|
14241
|
+
r"""<p>折扣</p>
|
|
14236
14242
|
:rtype: str
|
|
14237
14243
|
"""
|
|
14238
14244
|
return self._Discount
|
|
@@ -14243,7 +14249,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14243
14249
|
|
|
14244
14250
|
@property
|
|
14245
14251
|
def RealCost(self):
|
|
14246
|
-
r"""
|
|
14252
|
+
r"""<p>折后价</p>
|
|
14247
14253
|
:rtype: str
|
|
14248
14254
|
"""
|
|
14249
14255
|
return self._RealCost
|
|
@@ -14254,7 +14260,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14254
14260
|
|
|
14255
14261
|
@property
|
|
14256
14262
|
def VoucherPayAmount(self):
|
|
14257
|
-
r"""
|
|
14263
|
+
r"""<p>代金券支付金额</p>
|
|
14258
14264
|
:rtype: str
|
|
14259
14265
|
"""
|
|
14260
14266
|
return self._VoucherPayAmount
|
|
@@ -14265,7 +14271,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14265
14271
|
|
|
14266
14272
|
@property
|
|
14267
14273
|
def CashPayAmount(self):
|
|
14268
|
-
r"""
|
|
14274
|
+
r"""<p>现金支付金额</p>
|
|
14269
14275
|
:rtype: str
|
|
14270
14276
|
"""
|
|
14271
14277
|
return self._CashPayAmount
|
|
@@ -14276,7 +14282,7 @@ class CostComponentSet(AbstractModel):
|
|
|
14276
14282
|
|
|
14277
14283
|
@property
|
|
14278
14284
|
def IncentivePayAmount(self):
|
|
14279
|
-
r"""
|
|
14285
|
+
r"""<p>赠送金支付金额</p>
|
|
14280
14286
|
:rtype: str
|
|
14281
14287
|
"""
|
|
14282
14288
|
return self._IncentivePayAmount
|
|
@@ -14285,6 +14291,28 @@ class CostComponentSet(AbstractModel):
|
|
|
14285
14291
|
def IncentivePayAmount(self, IncentivePayAmount):
|
|
14286
14292
|
self._IncentivePayAmount = IncentivePayAmount
|
|
14287
14293
|
|
|
14294
|
+
@property
|
|
14295
|
+
def ComponentCode(self):
|
|
14296
|
+
r"""<p>组件类型code</p>
|
|
14297
|
+
:rtype: str
|
|
14298
|
+
"""
|
|
14299
|
+
return self._ComponentCode
|
|
14300
|
+
|
|
14301
|
+
@ComponentCode.setter
|
|
14302
|
+
def ComponentCode(self, ComponentCode):
|
|
14303
|
+
self._ComponentCode = ComponentCode
|
|
14304
|
+
|
|
14305
|
+
@property
|
|
14306
|
+
def ItemCode(self):
|
|
14307
|
+
r"""<p>组件名称code</p>
|
|
14308
|
+
:rtype: str
|
|
14309
|
+
"""
|
|
14310
|
+
return self._ItemCode
|
|
14311
|
+
|
|
14312
|
+
@ItemCode.setter
|
|
14313
|
+
def ItemCode(self, ItemCode):
|
|
14314
|
+
self._ItemCode = ItemCode
|
|
14315
|
+
|
|
14288
14316
|
|
|
14289
14317
|
def _deserialize(self, params):
|
|
14290
14318
|
self._ComponentCodeName = params.get("ComponentCodeName")
|
|
@@ -14299,6 +14327,8 @@ class CostComponentSet(AbstractModel):
|
|
|
14299
14327
|
self._VoucherPayAmount = params.get("VoucherPayAmount")
|
|
14300
14328
|
self._CashPayAmount = params.get("CashPayAmount")
|
|
14301
14329
|
self._IncentivePayAmount = params.get("IncentivePayAmount")
|
|
14330
|
+
self._ComponentCode = params.get("ComponentCode")
|
|
14331
|
+
self._ItemCode = params.get("ItemCode")
|
|
14302
14332
|
memeber_set = set(params.keys())
|
|
14303
14333
|
for name, value in vars(self).items():
|
|
14304
14334
|
property_name = name[1:]
|
|
@@ -14356,6 +14386,8 @@ class CostDetail(AbstractModel):
|
|
|
14356
14386
|
:type OwnerUin: str
|
|
14357
14387
|
:param _PayTime: <p>扣费时间:结算扣费时间</p>
|
|
14358
14388
|
:type PayTime: str
|
|
14389
|
+
:param _BusinessCode: <p>产品名称code</p>
|
|
14390
|
+
:type BusinessCode: str
|
|
14359
14391
|
"""
|
|
14360
14392
|
self._PayerUin = None
|
|
14361
14393
|
self._BusinessCodeName = None
|
|
@@ -14377,6 +14409,7 @@ class CostDetail(AbstractModel):
|
|
|
14377
14409
|
self._OperateUin = None
|
|
14378
14410
|
self._OwnerUin = None
|
|
14379
14411
|
self._PayTime = None
|
|
14412
|
+
self._BusinessCode = None
|
|
14380
14413
|
|
|
14381
14414
|
@property
|
|
14382
14415
|
def PayerUin(self):
|
|
@@ -14598,6 +14631,17 @@ class CostDetail(AbstractModel):
|
|
|
14598
14631
|
def PayTime(self, PayTime):
|
|
14599
14632
|
self._PayTime = PayTime
|
|
14600
14633
|
|
|
14634
|
+
@property
|
|
14635
|
+
def BusinessCode(self):
|
|
14636
|
+
r"""<p>产品名称code</p>
|
|
14637
|
+
:rtype: str
|
|
14638
|
+
"""
|
|
14639
|
+
return self._BusinessCode
|
|
14640
|
+
|
|
14641
|
+
@BusinessCode.setter
|
|
14642
|
+
def BusinessCode(self, BusinessCode):
|
|
14643
|
+
self._BusinessCode = BusinessCode
|
|
14644
|
+
|
|
14601
14645
|
|
|
14602
14646
|
def _deserialize(self, params):
|
|
14603
14647
|
self._PayerUin = params.get("PayerUin")
|
|
@@ -14630,6 +14674,7 @@ class CostDetail(AbstractModel):
|
|
|
14630
14674
|
self._OperateUin = params.get("OperateUin")
|
|
14631
14675
|
self._OwnerUin = params.get("OwnerUin")
|
|
14632
14676
|
self._PayTime = params.get("PayTime")
|
|
14677
|
+
self._BusinessCode = params.get("BusinessCode")
|
|
14633
14678
|
memeber_set = set(params.keys())
|
|
14634
14679
|
for name, value in vars(self).items():
|
|
14635
14680
|
property_name = name[1:]
|
|
@@ -16668,14 +16713,14 @@ class DescribeAccountBalanceRequest(AbstractModel):
|
|
|
16668
16713
|
|
|
16669
16714
|
def __init__(self):
|
|
16670
16715
|
r"""
|
|
16671
|
-
:param _TempCredit:
|
|
16716
|
+
:param _TempCredit: <p>是否查询临时额度</p>
|
|
16672
16717
|
:type TempCredit: bool
|
|
16673
16718
|
"""
|
|
16674
16719
|
self._TempCredit = None
|
|
16675
16720
|
|
|
16676
16721
|
@property
|
|
16677
16722
|
def TempCredit(self):
|
|
16678
|
-
r"""
|
|
16723
|
+
r"""<p>是否查询临时额度</p>
|
|
16679
16724
|
:rtype: bool
|
|
16680
16725
|
"""
|
|
16681
16726
|
return self._TempCredit
|
|
@@ -16704,35 +16749,35 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16704
16749
|
|
|
16705
16750
|
def __init__(self):
|
|
16706
16751
|
r"""
|
|
16707
|
-
:param _Balance:
|
|
16752
|
+
:param _Balance: <p>接口做过变更,为兼容老接口,本字段与RealBalance相同,为当前真实可用余额,单位 分</p>
|
|
16708
16753
|
:type Balance: int
|
|
16709
|
-
:param _Uin:
|
|
16754
|
+
:param _Uin: <p>查询的用户Uin</p>
|
|
16710
16755
|
:type Uin: int
|
|
16711
|
-
:param _RealBalance:
|
|
16756
|
+
:param _RealBalance: <p>当前真实可用余额,单位 分。RealBalance=CashAccountBalance+IncomeIntoAccountBalance+PresentAccountBalance-FreezeAmount-OweAmount</p><p>单位:分</p>
|
|
16712
16757
|
:type RealBalance: float
|
|
16713
|
-
:param _CashAccountBalance:
|
|
16758
|
+
:param _CashAccountBalance: <p>现金账户余额,单位 分</p>
|
|
16714
16759
|
:type CashAccountBalance: float
|
|
16715
|
-
:param _IncomeIntoAccountBalance:
|
|
16760
|
+
:param _IncomeIntoAccountBalance: <p>收益转入账户余额,单位 分</p>
|
|
16716
16761
|
:type IncomeIntoAccountBalance: float
|
|
16717
|
-
:param _PresentAccountBalance:
|
|
16762
|
+
:param _PresentAccountBalance: <p>赠送账户余额,单位 分</p>
|
|
16718
16763
|
:type PresentAccountBalance: float
|
|
16719
|
-
:param _FreezeAmount:
|
|
16764
|
+
:param _FreezeAmount: <p>冻结金额,单位 分</p>
|
|
16720
16765
|
:type FreezeAmount: float
|
|
16721
|
-
:param _OweAmount:
|
|
16766
|
+
:param _OweAmount: <p>欠费金额,单位 分</p>
|
|
16722
16767
|
:type OweAmount: float
|
|
16723
|
-
:param _IsAllowArrears:
|
|
16768
|
+
:param _IsAllowArrears: <p>是否允许欠费消费</p>
|
|
16724
16769
|
:type IsAllowArrears: bool
|
|
16725
|
-
:param _IsCreditLimited:
|
|
16770
|
+
:param _IsCreditLimited: <p>是否限制信用额度</p>
|
|
16726
16771
|
:type IsCreditLimited: bool
|
|
16727
|
-
:param _CreditAmount:
|
|
16772
|
+
:param _CreditAmount: <p>信用额度,单位 分</p>
|
|
16728
16773
|
:type CreditAmount: float
|
|
16729
|
-
:param _CreditBalance:
|
|
16774
|
+
:param _CreditBalance: <p>可用信用额度,单位 分。CreditBalance=CashAccountBalance+IncomeIntoAccountBalance+PresentAccountBalance+CreditAmount-OweAmount</p><p>单位:分</p>
|
|
16730
16775
|
:type CreditBalance: float
|
|
16731
|
-
:param _RealCreditBalance:
|
|
16776
|
+
:param _RealCreditBalance: <p>真实可用信用额度,单位 分。RealCreditBalance=CreditBalance-FreezeAmount</p><p>单位:分</p>
|
|
16732
16777
|
:type RealCreditBalance: float
|
|
16733
|
-
:param _TempCredit:
|
|
16778
|
+
:param _TempCredit: <p>临时额度,单位 分</p>
|
|
16734
16779
|
:type TempCredit: float
|
|
16735
|
-
:param _TempAmountInfoList:
|
|
16780
|
+
:param _TempAmountInfoList: <p>临时额度详情</p>
|
|
16736
16781
|
:type TempAmountInfoList: list of UinTempAmountModel
|
|
16737
16782
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16738
16783
|
:type RequestId: str
|
|
@@ -16756,7 +16801,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16756
16801
|
|
|
16757
16802
|
@property
|
|
16758
16803
|
def Balance(self):
|
|
16759
|
-
r"""
|
|
16804
|
+
r"""<p>接口做过变更,为兼容老接口,本字段与RealBalance相同,为当前真实可用余额,单位 分</p>
|
|
16760
16805
|
:rtype: int
|
|
16761
16806
|
"""
|
|
16762
16807
|
return self._Balance
|
|
@@ -16767,7 +16812,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16767
16812
|
|
|
16768
16813
|
@property
|
|
16769
16814
|
def Uin(self):
|
|
16770
|
-
r"""
|
|
16815
|
+
r"""<p>查询的用户Uin</p>
|
|
16771
16816
|
:rtype: int
|
|
16772
16817
|
"""
|
|
16773
16818
|
return self._Uin
|
|
@@ -16778,7 +16823,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16778
16823
|
|
|
16779
16824
|
@property
|
|
16780
16825
|
def RealBalance(self):
|
|
16781
|
-
r"""
|
|
16826
|
+
r"""<p>当前真实可用余额,单位 分。RealBalance=CashAccountBalance+IncomeIntoAccountBalance+PresentAccountBalance-FreezeAmount-OweAmount</p><p>单位:分</p>
|
|
16782
16827
|
:rtype: float
|
|
16783
16828
|
"""
|
|
16784
16829
|
return self._RealBalance
|
|
@@ -16789,7 +16834,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16789
16834
|
|
|
16790
16835
|
@property
|
|
16791
16836
|
def CashAccountBalance(self):
|
|
16792
|
-
r"""
|
|
16837
|
+
r"""<p>现金账户余额,单位 分</p>
|
|
16793
16838
|
:rtype: float
|
|
16794
16839
|
"""
|
|
16795
16840
|
return self._CashAccountBalance
|
|
@@ -16800,7 +16845,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16800
16845
|
|
|
16801
16846
|
@property
|
|
16802
16847
|
def IncomeIntoAccountBalance(self):
|
|
16803
|
-
r"""
|
|
16848
|
+
r"""<p>收益转入账户余额,单位 分</p>
|
|
16804
16849
|
:rtype: float
|
|
16805
16850
|
"""
|
|
16806
16851
|
return self._IncomeIntoAccountBalance
|
|
@@ -16811,7 +16856,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16811
16856
|
|
|
16812
16857
|
@property
|
|
16813
16858
|
def PresentAccountBalance(self):
|
|
16814
|
-
r"""
|
|
16859
|
+
r"""<p>赠送账户余额,单位 分</p>
|
|
16815
16860
|
:rtype: float
|
|
16816
16861
|
"""
|
|
16817
16862
|
return self._PresentAccountBalance
|
|
@@ -16822,7 +16867,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16822
16867
|
|
|
16823
16868
|
@property
|
|
16824
16869
|
def FreezeAmount(self):
|
|
16825
|
-
r"""
|
|
16870
|
+
r"""<p>冻结金额,单位 分</p>
|
|
16826
16871
|
:rtype: float
|
|
16827
16872
|
"""
|
|
16828
16873
|
return self._FreezeAmount
|
|
@@ -16833,7 +16878,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16833
16878
|
|
|
16834
16879
|
@property
|
|
16835
16880
|
def OweAmount(self):
|
|
16836
|
-
r"""
|
|
16881
|
+
r"""<p>欠费金额,单位 分</p>
|
|
16837
16882
|
:rtype: float
|
|
16838
16883
|
"""
|
|
16839
16884
|
return self._OweAmount
|
|
@@ -16846,7 +16891,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16846
16891
|
def IsAllowArrears(self):
|
|
16847
16892
|
warnings.warn("parameter `IsAllowArrears` is deprecated", DeprecationWarning)
|
|
16848
16893
|
|
|
16849
|
-
r"""
|
|
16894
|
+
r"""<p>是否允许欠费消费</p>
|
|
16850
16895
|
:rtype: bool
|
|
16851
16896
|
"""
|
|
16852
16897
|
return self._IsAllowArrears
|
|
@@ -16861,7 +16906,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16861
16906
|
def IsCreditLimited(self):
|
|
16862
16907
|
warnings.warn("parameter `IsCreditLimited` is deprecated", DeprecationWarning)
|
|
16863
16908
|
|
|
16864
|
-
r"""
|
|
16909
|
+
r"""<p>是否限制信用额度</p>
|
|
16865
16910
|
:rtype: bool
|
|
16866
16911
|
"""
|
|
16867
16912
|
return self._IsCreditLimited
|
|
@@ -16874,7 +16919,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16874
16919
|
|
|
16875
16920
|
@property
|
|
16876
16921
|
def CreditAmount(self):
|
|
16877
|
-
r"""
|
|
16922
|
+
r"""<p>信用额度,单位 分</p>
|
|
16878
16923
|
:rtype: float
|
|
16879
16924
|
"""
|
|
16880
16925
|
return self._CreditAmount
|
|
@@ -16885,7 +16930,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16885
16930
|
|
|
16886
16931
|
@property
|
|
16887
16932
|
def CreditBalance(self):
|
|
16888
|
-
r"""
|
|
16933
|
+
r"""<p>可用信用额度,单位 分。CreditBalance=CashAccountBalance+IncomeIntoAccountBalance+PresentAccountBalance+CreditAmount-OweAmount</p><p>单位:分</p>
|
|
16889
16934
|
:rtype: float
|
|
16890
16935
|
"""
|
|
16891
16936
|
return self._CreditBalance
|
|
@@ -16896,7 +16941,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16896
16941
|
|
|
16897
16942
|
@property
|
|
16898
16943
|
def RealCreditBalance(self):
|
|
16899
|
-
r"""
|
|
16944
|
+
r"""<p>真实可用信用额度,单位 分。RealCreditBalance=CreditBalance-FreezeAmount</p><p>单位:分</p>
|
|
16900
16945
|
:rtype: float
|
|
16901
16946
|
"""
|
|
16902
16947
|
return self._RealCreditBalance
|
|
@@ -16907,7 +16952,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16907
16952
|
|
|
16908
16953
|
@property
|
|
16909
16954
|
def TempCredit(self):
|
|
16910
|
-
r"""
|
|
16955
|
+
r"""<p>临时额度,单位 分</p>
|
|
16911
16956
|
:rtype: float
|
|
16912
16957
|
"""
|
|
16913
16958
|
return self._TempCredit
|
|
@@ -16918,7 +16963,7 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16918
16963
|
|
|
16919
16964
|
@property
|
|
16920
16965
|
def TempAmountInfoList(self):
|
|
16921
|
-
r"""
|
|
16966
|
+
r"""<p>临时额度详情</p>
|
|
16922
16967
|
:rtype: list of UinTempAmountModel
|
|
16923
16968
|
"""
|
|
16924
16969
|
return self._TempAmountInfoList
|
|
@@ -1361,6 +1361,29 @@ class CamClient(AbstractClient):
|
|
|
1361
1361
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1362
1362
|
|
|
1363
1363
|
|
|
1364
|
+
def ListAccounts(self, request):
|
|
1365
|
+
r"""查询所有账号列表
|
|
1366
|
+
|
|
1367
|
+
:param request: Request instance for ListAccounts.
|
|
1368
|
+
:type request: :class:`tencentcloud.cam.v20190116.models.ListAccountsRequest`
|
|
1369
|
+
:rtype: :class:`tencentcloud.cam.v20190116.models.ListAccountsResponse`
|
|
1370
|
+
|
|
1371
|
+
"""
|
|
1372
|
+
try:
|
|
1373
|
+
params = request._serialize()
|
|
1374
|
+
headers = request.headers
|
|
1375
|
+
body = self.call("ListAccounts", params, headers=headers)
|
|
1376
|
+
response = json.loads(body)
|
|
1377
|
+
model = models.ListAccountsResponse()
|
|
1378
|
+
model._deserialize(response["Response"])
|
|
1379
|
+
return model
|
|
1380
|
+
except Exception as e:
|
|
1381
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1382
|
+
raise
|
|
1383
|
+
else:
|
|
1384
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1385
|
+
|
|
1386
|
+
|
|
1364
1387
|
def ListAttachedGroupPolicies(self, request):
|
|
1365
1388
|
r"""本接口(ListAttachedGroupPolicies)可用于查询用户组关联的策略列表。
|
|
1366
1389
|
|
|
@@ -1070,6 +1070,24 @@ class CamClient(AbstractClient):
|
|
|
1070
1070
|
|
|
1071
1071
|
return await self.call_and_deserialize(**kwargs)
|
|
1072
1072
|
|
|
1073
|
+
async def ListAccounts(
|
|
1074
|
+
self,
|
|
1075
|
+
request: models.ListAccountsRequest,
|
|
1076
|
+
opts: Dict = None,
|
|
1077
|
+
) -> models.ListAccountsResponse:
|
|
1078
|
+
"""
|
|
1079
|
+
查询所有账号列表
|
|
1080
|
+
"""
|
|
1081
|
+
|
|
1082
|
+
kwargs = {}
|
|
1083
|
+
kwargs["action"] = "ListAccounts"
|
|
1084
|
+
kwargs["params"] = request._serialize()
|
|
1085
|
+
kwargs["resp_cls"] = models.ListAccountsResponse
|
|
1086
|
+
kwargs["headers"] = request.headers
|
|
1087
|
+
kwargs["opts"] = opts or {}
|
|
1088
|
+
|
|
1089
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1090
|
+
|
|
1073
1091
|
async def ListAttachedGroupPolicies(
|
|
1074
1092
|
self,
|
|
1075
1093
|
request: models.ListAttachedGroupPoliciesRequest,
|
|
@@ -176,6 +176,9 @@ INVALIDPARAMETER_OPERATEPOLICIESOVERLIMIT = 'InvalidParameter.OperatePoliciesOve
|
|
|
176
176
|
# 当前角色仅支持企业管理员操作,如需修改,请联系企业管理员。
|
|
177
177
|
INVALIDPARAMETER_ORGANIZATIONROLEOPERATEERROR = 'InvalidParameter.OrganizationRoleOperateError'
|
|
178
178
|
|
|
179
|
+
# 无效的pageToken
|
|
180
|
+
INVALIDPARAMETER_PAGINATIONTOKENINVALID = 'InvalidParameter.PaginationTokenInvalid'
|
|
181
|
+
|
|
179
182
|
# 非法入参。
|
|
180
183
|
INVALIDPARAMETER_PARAMERROR = 'InvalidParameter.ParamError'
|
|
181
184
|
|