tencentcloud-sdk-python-billing 3.1.14__tar.gz → 3.1.18__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/setup.py +1 -1
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud/billing/v20180709/models.py +152 -6
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud_sdk_python_billing.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_billing-3.1.18/tencentcloud_sdk_python_billing.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_billing-3.1.14/tencentcloud_sdk_python_billing.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/README.rst +0 -0
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/setup.cfg +0 -0
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud/billing/__init__.py +0 -0
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud/billing/v20180709/__init__.py +0 -0
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud/billing/v20180709/billing_client.py +0 -0
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud/billing/v20180709/billing_client_async.py +0 -0
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud/billing/v20180709/errorcodes.py +0 -0
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud_sdk_python_billing.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud_sdk_python_billing.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/tencentcloud_sdk_python_billing.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-billing
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.18
|
|
4
4
|
Summary: Tencent Cloud Billing SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.18
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-billing',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.18,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Billing SDK for Python',
|
|
@@ -16310,6 +16310,36 @@ class DescribeAccountBalanceRequest(AbstractModel):
|
|
|
16310
16310
|
|
|
16311
16311
|
"""
|
|
16312
16312
|
|
|
16313
|
+
def __init__(self):
|
|
16314
|
+
r"""
|
|
16315
|
+
:param _TempCredit: 是否查询临时额度
|
|
16316
|
+
:type TempCredit: bool
|
|
16317
|
+
"""
|
|
16318
|
+
self._TempCredit = None
|
|
16319
|
+
|
|
16320
|
+
@property
|
|
16321
|
+
def TempCredit(self):
|
|
16322
|
+
r"""是否查询临时额度
|
|
16323
|
+
:rtype: bool
|
|
16324
|
+
"""
|
|
16325
|
+
return self._TempCredit
|
|
16326
|
+
|
|
16327
|
+
@TempCredit.setter
|
|
16328
|
+
def TempCredit(self, TempCredit):
|
|
16329
|
+
self._TempCredit = TempCredit
|
|
16330
|
+
|
|
16331
|
+
|
|
16332
|
+
def _deserialize(self, params):
|
|
16333
|
+
self._TempCredit = params.get("TempCredit")
|
|
16334
|
+
memeber_set = set(params.keys())
|
|
16335
|
+
for name, value in vars(self).items():
|
|
16336
|
+
property_name = name[1:]
|
|
16337
|
+
if property_name in memeber_set:
|
|
16338
|
+
memeber_set.remove(property_name)
|
|
16339
|
+
if len(memeber_set) > 0:
|
|
16340
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16341
|
+
|
|
16342
|
+
|
|
16313
16343
|
|
|
16314
16344
|
class DescribeAccountBalanceResponse(AbstractModel):
|
|
16315
16345
|
r"""DescribeAccountBalance返回参数结构体
|
|
@@ -16344,6 +16374,10 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16344
16374
|
:type CreditBalance: float
|
|
16345
16375
|
:param _RealCreditBalance: 真实可用信用额度,单位 分
|
|
16346
16376
|
:type RealCreditBalance: float
|
|
16377
|
+
:param _TempCredit: 临时额度,单位 分
|
|
16378
|
+
:type TempCredit: float
|
|
16379
|
+
:param _TempAmountInfoList: 临时额度详情
|
|
16380
|
+
:type TempAmountInfoList: list of UinTempAmountModel
|
|
16347
16381
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16348
16382
|
:type RequestId: str
|
|
16349
16383
|
"""
|
|
@@ -16360,6 +16394,8 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16360
16394
|
self._CreditAmount = None
|
|
16361
16395
|
self._CreditBalance = None
|
|
16362
16396
|
self._RealCreditBalance = None
|
|
16397
|
+
self._TempCredit = None
|
|
16398
|
+
self._TempAmountInfoList = None
|
|
16363
16399
|
self._RequestId = None
|
|
16364
16400
|
|
|
16365
16401
|
@property
|
|
@@ -16513,6 +16549,28 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16513
16549
|
def RealCreditBalance(self, RealCreditBalance):
|
|
16514
16550
|
self._RealCreditBalance = RealCreditBalance
|
|
16515
16551
|
|
|
16552
|
+
@property
|
|
16553
|
+
def TempCredit(self):
|
|
16554
|
+
r"""临时额度,单位 分
|
|
16555
|
+
:rtype: float
|
|
16556
|
+
"""
|
|
16557
|
+
return self._TempCredit
|
|
16558
|
+
|
|
16559
|
+
@TempCredit.setter
|
|
16560
|
+
def TempCredit(self, TempCredit):
|
|
16561
|
+
self._TempCredit = TempCredit
|
|
16562
|
+
|
|
16563
|
+
@property
|
|
16564
|
+
def TempAmountInfoList(self):
|
|
16565
|
+
r"""临时额度详情
|
|
16566
|
+
:rtype: list of UinTempAmountModel
|
|
16567
|
+
"""
|
|
16568
|
+
return self._TempAmountInfoList
|
|
16569
|
+
|
|
16570
|
+
@TempAmountInfoList.setter
|
|
16571
|
+
def TempAmountInfoList(self, TempAmountInfoList):
|
|
16572
|
+
self._TempAmountInfoList = TempAmountInfoList
|
|
16573
|
+
|
|
16516
16574
|
@property
|
|
16517
16575
|
def RequestId(self):
|
|
16518
16576
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -16539,6 +16597,13 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
16539
16597
|
self._CreditAmount = params.get("CreditAmount")
|
|
16540
16598
|
self._CreditBalance = params.get("CreditBalance")
|
|
16541
16599
|
self._RealCreditBalance = params.get("RealCreditBalance")
|
|
16600
|
+
self._TempCredit = params.get("TempCredit")
|
|
16601
|
+
if params.get("TempAmountInfoList") is not None:
|
|
16602
|
+
self._TempAmountInfoList = []
|
|
16603
|
+
for item in params.get("TempAmountInfoList"):
|
|
16604
|
+
obj = UinTempAmountModel()
|
|
16605
|
+
obj._deserialize(item)
|
|
16606
|
+
self._TempAmountInfoList.append(obj)
|
|
16542
16607
|
self._RequestId = params.get("RequestId")
|
|
16543
16608
|
|
|
16544
16609
|
|
|
@@ -23921,14 +23986,14 @@ class DescribeCostDetailRequest(AbstractModel):
|
|
|
23921
23986
|
:type Limit: int
|
|
23922
23987
|
:param _Offset: 偏移量
|
|
23923
23988
|
:type Offset: int
|
|
23924
|
-
:param _BeginTime:
|
|
23989
|
+
:param _BeginTime: 周期开始时间,查询粒度为天级别,需传入时分秒参数,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通消耗账单后,且距今 18 个月内的数据。
|
|
23925
23990
|
:type BeginTime: str
|
|
23926
|
-
:param _EndTime:
|
|
23991
|
+
:param _EndTime: 周期结束时间,查询粒度为天级别,需传入时分秒参数,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通消耗账单后,且距今 18 个月内的数据。
|
|
23927
23992
|
:type EndTime: str
|
|
23928
23993
|
:param _NeedRecordNum: 是否需要访问列表的总记录数,用于前端分页
|
|
23929
23994
|
1-表示需要, 0-表示不需要
|
|
23930
23995
|
:type NeedRecordNum: int
|
|
23931
|
-
:param _Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month
|
|
23996
|
+
:param _Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通消耗账单的月份,最多可拉取18个月内的数据。
|
|
23932
23997
|
:type Month: str
|
|
23933
23998
|
:param _ProductCode: 查询指定产品信息
|
|
23934
23999
|
:type ProductCode: str
|
|
@@ -23971,7 +24036,7 @@ class DescribeCostDetailRequest(AbstractModel):
|
|
|
23971
24036
|
|
|
23972
24037
|
@property
|
|
23973
24038
|
def BeginTime(self):
|
|
23974
|
-
r"""
|
|
24039
|
+
r"""周期开始时间,查询粒度为天级别,需传入时分秒参数,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通消耗账单后,且距今 18 个月内的数据。
|
|
23975
24040
|
:rtype: str
|
|
23976
24041
|
"""
|
|
23977
24042
|
return self._BeginTime
|
|
@@ -23982,7 +24047,7 @@ class DescribeCostDetailRequest(AbstractModel):
|
|
|
23982
24047
|
|
|
23983
24048
|
@property
|
|
23984
24049
|
def EndTime(self):
|
|
23985
|
-
r"""
|
|
24050
|
+
r"""周期结束时间,查询粒度为天级别,需传入时分秒参数,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通消耗账单后,且距今 18 个月内的数据。
|
|
23986
24051
|
:rtype: str
|
|
23987
24052
|
"""
|
|
23988
24053
|
return self._EndTime
|
|
@@ -24005,7 +24070,7 @@ class DescribeCostDetailRequest(AbstractModel):
|
|
|
24005
24070
|
|
|
24006
24071
|
@property
|
|
24007
24072
|
def Month(self):
|
|
24008
|
-
r"""月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month
|
|
24073
|
+
r"""月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通消耗账单的月份,最多可拉取18个月内的数据。
|
|
24009
24074
|
:rtype: str
|
|
24010
24075
|
"""
|
|
24011
24076
|
return self._Month
|
|
@@ -31215,6 +31280,87 @@ class TagsForm(AbstractModel):
|
|
|
31215
31280
|
|
|
31216
31281
|
|
|
31217
31282
|
|
|
31283
|
+
class UinTempAmountModel(AbstractModel):
|
|
31284
|
+
r"""临时额度详情
|
|
31285
|
+
|
|
31286
|
+
"""
|
|
31287
|
+
|
|
31288
|
+
def __init__(self):
|
|
31289
|
+
r"""
|
|
31290
|
+
:param _Uin: 用户uin
|
|
31291
|
+
:type Uin: str
|
|
31292
|
+
:param _TempAmount: 临时额度
|
|
31293
|
+
:type TempAmount: float
|
|
31294
|
+
:param _StartTime: 开始时间
|
|
31295
|
+
:type StartTime: str
|
|
31296
|
+
:param _EndTime: 结束时间
|
|
31297
|
+
:type EndTime: str
|
|
31298
|
+
"""
|
|
31299
|
+
self._Uin = None
|
|
31300
|
+
self._TempAmount = None
|
|
31301
|
+
self._StartTime = None
|
|
31302
|
+
self._EndTime = None
|
|
31303
|
+
|
|
31304
|
+
@property
|
|
31305
|
+
def Uin(self):
|
|
31306
|
+
r"""用户uin
|
|
31307
|
+
:rtype: str
|
|
31308
|
+
"""
|
|
31309
|
+
return self._Uin
|
|
31310
|
+
|
|
31311
|
+
@Uin.setter
|
|
31312
|
+
def Uin(self, Uin):
|
|
31313
|
+
self._Uin = Uin
|
|
31314
|
+
|
|
31315
|
+
@property
|
|
31316
|
+
def TempAmount(self):
|
|
31317
|
+
r"""临时额度
|
|
31318
|
+
:rtype: float
|
|
31319
|
+
"""
|
|
31320
|
+
return self._TempAmount
|
|
31321
|
+
|
|
31322
|
+
@TempAmount.setter
|
|
31323
|
+
def TempAmount(self, TempAmount):
|
|
31324
|
+
self._TempAmount = TempAmount
|
|
31325
|
+
|
|
31326
|
+
@property
|
|
31327
|
+
def StartTime(self):
|
|
31328
|
+
r"""开始时间
|
|
31329
|
+
:rtype: str
|
|
31330
|
+
"""
|
|
31331
|
+
return self._StartTime
|
|
31332
|
+
|
|
31333
|
+
@StartTime.setter
|
|
31334
|
+
def StartTime(self, StartTime):
|
|
31335
|
+
self._StartTime = StartTime
|
|
31336
|
+
|
|
31337
|
+
@property
|
|
31338
|
+
def EndTime(self):
|
|
31339
|
+
r"""结束时间
|
|
31340
|
+
:rtype: str
|
|
31341
|
+
"""
|
|
31342
|
+
return self._EndTime
|
|
31343
|
+
|
|
31344
|
+
@EndTime.setter
|
|
31345
|
+
def EndTime(self, EndTime):
|
|
31346
|
+
self._EndTime = EndTime
|
|
31347
|
+
|
|
31348
|
+
|
|
31349
|
+
def _deserialize(self, params):
|
|
31350
|
+
self._Uin = params.get("Uin")
|
|
31351
|
+
self._TempAmount = params.get("TempAmount")
|
|
31352
|
+
self._StartTime = params.get("StartTime")
|
|
31353
|
+
self._EndTime = params.get("EndTime")
|
|
31354
|
+
memeber_set = set(params.keys())
|
|
31355
|
+
for name, value in vars(self).items():
|
|
31356
|
+
property_name = name[1:]
|
|
31357
|
+
if property_name in memeber_set:
|
|
31358
|
+
memeber_set.remove(property_name)
|
|
31359
|
+
if len(memeber_set) > 0:
|
|
31360
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
31361
|
+
|
|
31362
|
+
|
|
31363
|
+
|
|
31218
31364
|
class UsageDetails(AbstractModel):
|
|
31219
31365
|
r"""购买商品信息
|
|
31220
31366
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-billing
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.18
|
|
4
4
|
Summary: Tencent Cloud Billing SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.18
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.18
|
tencentcloud_sdk_python_billing-3.1.14/tencentcloud_sdk_python_billing.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.14
|
{tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.18}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|