tencentcloud-sdk-python-billing 3.1.14__tar.gz → 3.1.19__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/setup.py +1 -1
  3. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/tencentcloud/billing/v20180709/billing_client.py +23 -0
  5. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/tencentcloud/billing/v20180709/billing_client_async.py +18 -0
  6. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/tencentcloud/billing/v20180709/models.py +298 -6
  7. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/tencentcloud_sdk_python_billing.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_billing-3.1.19/tencentcloud_sdk_python_billing.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_billing-3.1.14/tencentcloud_sdk_python_billing.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/README.rst +0 -0
  11. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/tencentcloud/billing/__init__.py +0 -0
  13. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/tencentcloud/billing/v20180709/__init__.py +0 -0
  14. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/tencentcloud/billing/v20180709/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/tencentcloud_sdk_python_billing.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/tencentcloud_sdk_python_billing.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_billing-3.1.14 → tencentcloud_sdk_python_billing-3.1.19}/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.14
3
+ Version: 3.1.19
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.14
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.19
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.14,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.19,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Billing SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.14'
17
+ __version__ = '3.1.19'
@@ -1114,6 +1114,29 @@ class BillingClient(AbstractClient):
1114
1114
  raise TencentCloudSDKException(type(e).__name__, str(e))
1115
1115
 
1116
1116
 
1117
+ def DescribeCostSummaryByTag(self, request):
1118
+ r"""获取按标签汇总消耗详情
1119
+
1120
+ :param request: Request instance for DescribeCostSummaryByTag.
1121
+ :type request: :class:`tencentcloud.billing.v20180709.models.DescribeCostSummaryByTagRequest`
1122
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DescribeCostSummaryByTagResponse`
1123
+
1124
+ """
1125
+ try:
1126
+ params = request._serialize()
1127
+ headers = request.headers
1128
+ body = self.call("DescribeCostSummaryByTag", params, headers=headers)
1129
+ response = json.loads(body)
1130
+ model = models.DescribeCostSummaryByTagResponse()
1131
+ model._deserialize(response["Response"])
1132
+ return model
1133
+ except Exception as e:
1134
+ if isinstance(e, TencentCloudSDKException):
1135
+ raise
1136
+ else:
1137
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1138
+
1139
+
1117
1140
  def DescribeDealsByCond(self, request):
1118
1141
  r"""查询订单
1119
1142
 
@@ -878,6 +878,24 @@ class BillingClient(AbstractClient):
878
878
 
879
879
  return await self.call_and_deserialize(**kwargs)
880
880
 
881
+ async def DescribeCostSummaryByTag(
882
+ self,
883
+ request: models.DescribeCostSummaryByTagRequest,
884
+ opts: Dict = None,
885
+ ) -> models.DescribeCostSummaryByTagResponse:
886
+ """
887
+ 获取按标签汇总消耗详情
888
+ """
889
+
890
+ kwargs = {}
891
+ kwargs["action"] = "DescribeCostSummaryByTag"
892
+ kwargs["params"] = request._serialize()
893
+ kwargs["resp_cls"] = models.DescribeCostSummaryByTagResponse
894
+ kwargs["headers"] = request.headers
895
+ kwargs["opts"] = opts or {}
896
+
897
+ return await self.call_and_deserialize(**kwargs)
898
+
881
899
  async def DescribeDealsByCond(
882
900
  self,
883
901
  request: models.DescribeDealsByCondRequest,
@@ -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: 周期开始时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通成本分析后,且距今 24 个月内的数据。
23989
+ :param _BeginTime: 周期开始时间,查询粒度为天级别,需传入时分秒参数,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通消耗账单后,且距今 18 个月内的数据。
23925
23990
  :type BeginTime: str
23926
- :param _EndTime: 周期结束时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通成本分析后,且距今 24 个月内的数据。
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字段无效。不能早于开通成本分析的月份,最多可拉取24个月内的数据。
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"""周期开始时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通成本分析后,且距今 24 个月内的数据。
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"""周期结束时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通成本分析后,且距今 24 个月内的数据。
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字段无效。不能早于开通成本分析的月份,最多可拉取24个月内的数据。
24073
+ r"""月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通消耗账单的月份,最多可拉取18个月内的数据。
24009
24074
  :rtype: str
24010
24075
  """
24011
24076
  return self._Month
@@ -25338,6 +25403,152 @@ class DescribeCostSummaryByResourceResponse(AbstractModel):
25338
25403
  self._RequestId = params.get("RequestId")
25339
25404
 
25340
25405
 
25406
+ class DescribeCostSummaryByTagRequest(AbstractModel):
25407
+ r"""DescribeCostSummaryByTag请求参数结构体
25408
+
25409
+ """
25410
+
25411
+ def __init__(self):
25412
+ r"""
25413
+ :param _BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2025-12,EndTime 为 2025-12,查询结果是 2025 年 12 月数据。
25414
+ :type BeginTime: str
25415
+ :param _EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2025-12,EndTime 为 2025-12,查询结果是 2025 年 12 月数据。
25416
+ :type EndTime: str
25417
+ :param _TagKey: 分账标签键,用户自定义
25418
+ :type TagKey: str
25419
+ """
25420
+ self._BeginTime = None
25421
+ self._EndTime = None
25422
+ self._TagKey = None
25423
+
25424
+ @property
25425
+ def BeginTime(self):
25426
+ r"""目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2025-12,EndTime 为 2025-12,查询结果是 2025 年 12 月数据。
25427
+ :rtype: str
25428
+ """
25429
+ return self._BeginTime
25430
+
25431
+ @BeginTime.setter
25432
+ def BeginTime(self, BeginTime):
25433
+ self._BeginTime = BeginTime
25434
+
25435
+ @property
25436
+ def EndTime(self):
25437
+ r"""目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2025-12,EndTime 为 2025-12,查询结果是 2025 年 12 月数据。
25438
+ :rtype: str
25439
+ """
25440
+ return self._EndTime
25441
+
25442
+ @EndTime.setter
25443
+ def EndTime(self, EndTime):
25444
+ self._EndTime = EndTime
25445
+
25446
+ @property
25447
+ def TagKey(self):
25448
+ r"""分账标签键,用户自定义
25449
+ :rtype: str
25450
+ """
25451
+ return self._TagKey
25452
+
25453
+ @TagKey.setter
25454
+ def TagKey(self, TagKey):
25455
+ self._TagKey = TagKey
25456
+
25457
+
25458
+ def _deserialize(self, params):
25459
+ self._BeginTime = params.get("BeginTime")
25460
+ self._EndTime = params.get("EndTime")
25461
+ self._TagKey = params.get("TagKey")
25462
+ memeber_set = set(params.keys())
25463
+ for name, value in vars(self).items():
25464
+ property_name = name[1:]
25465
+ if property_name in memeber_set:
25466
+ memeber_set.remove(property_name)
25467
+ if len(memeber_set) > 0:
25468
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
25469
+
25470
+
25471
+
25472
+ class DescribeCostSummaryByTagResponse(AbstractModel):
25473
+ r"""DescribeCostSummaryByTag返回参数结构体
25474
+
25475
+ """
25476
+
25477
+ def __init__(self):
25478
+ r"""
25479
+ :param _Ready: 数据是否准备好,0准备中,1已就绪。
25480
+ :type Ready: int
25481
+ :param _SummaryOverview: 各标签值消耗分布详情
25482
+ :type SummaryOverview: list of TagSummaryOverviewItem
25483
+ :param _SummaryTotal: 总计
25484
+ :type SummaryTotal: :class:`tencentcloud.billing.v20180709.models.SummaryTotal`
25485
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
25486
+ :type RequestId: str
25487
+ """
25488
+ self._Ready = None
25489
+ self._SummaryOverview = None
25490
+ self._SummaryTotal = None
25491
+ self._RequestId = None
25492
+
25493
+ @property
25494
+ def Ready(self):
25495
+ r"""数据是否准备好,0准备中,1已就绪。
25496
+ :rtype: int
25497
+ """
25498
+ return self._Ready
25499
+
25500
+ @Ready.setter
25501
+ def Ready(self, Ready):
25502
+ self._Ready = Ready
25503
+
25504
+ @property
25505
+ def SummaryOverview(self):
25506
+ r"""各标签值消耗分布详情
25507
+ :rtype: list of TagSummaryOverviewItem
25508
+ """
25509
+ return self._SummaryOverview
25510
+
25511
+ @SummaryOverview.setter
25512
+ def SummaryOverview(self, SummaryOverview):
25513
+ self._SummaryOverview = SummaryOverview
25514
+
25515
+ @property
25516
+ def SummaryTotal(self):
25517
+ r"""总计
25518
+ :rtype: :class:`tencentcloud.billing.v20180709.models.SummaryTotal`
25519
+ """
25520
+ return self._SummaryTotal
25521
+
25522
+ @SummaryTotal.setter
25523
+ def SummaryTotal(self, SummaryTotal):
25524
+ self._SummaryTotal = SummaryTotal
25525
+
25526
+ @property
25527
+ def RequestId(self):
25528
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
25529
+ :rtype: str
25530
+ """
25531
+ return self._RequestId
25532
+
25533
+ @RequestId.setter
25534
+ def RequestId(self, RequestId):
25535
+ self._RequestId = RequestId
25536
+
25537
+
25538
+ def _deserialize(self, params):
25539
+ self._Ready = params.get("Ready")
25540
+ if params.get("SummaryOverview") is not None:
25541
+ self._SummaryOverview = []
25542
+ for item in params.get("SummaryOverview"):
25543
+ obj = TagSummaryOverviewItem()
25544
+ obj._deserialize(item)
25545
+ self._SummaryOverview.append(obj)
25546
+ if params.get("SummaryTotal") is not None:
25547
+ self._SummaryTotal = SummaryTotal()
25548
+ self._SummaryTotal._deserialize(params.get("SummaryTotal"))
25549
+ self._RequestId = params.get("RequestId")
25550
+
25551
+
25341
25552
  class DescribeDealsByCondRequest(AbstractModel):
25342
25553
  r"""DescribeDealsByCond请求参数结构体
25343
25554
 
@@ -31215,6 +31426,87 @@ class TagsForm(AbstractModel):
31215
31426
 
31216
31427
 
31217
31428
 
31429
+ class UinTempAmountModel(AbstractModel):
31430
+ r"""临时额度详情
31431
+
31432
+ """
31433
+
31434
+ def __init__(self):
31435
+ r"""
31436
+ :param _Uin: 用户uin
31437
+ :type Uin: str
31438
+ :param _TempAmount: 临时额度
31439
+ :type TempAmount: float
31440
+ :param _StartTime: 开始时间
31441
+ :type StartTime: str
31442
+ :param _EndTime: 结束时间
31443
+ :type EndTime: str
31444
+ """
31445
+ self._Uin = None
31446
+ self._TempAmount = None
31447
+ self._StartTime = None
31448
+ self._EndTime = None
31449
+
31450
+ @property
31451
+ def Uin(self):
31452
+ r"""用户uin
31453
+ :rtype: str
31454
+ """
31455
+ return self._Uin
31456
+
31457
+ @Uin.setter
31458
+ def Uin(self, Uin):
31459
+ self._Uin = Uin
31460
+
31461
+ @property
31462
+ def TempAmount(self):
31463
+ r"""临时额度
31464
+ :rtype: float
31465
+ """
31466
+ return self._TempAmount
31467
+
31468
+ @TempAmount.setter
31469
+ def TempAmount(self, TempAmount):
31470
+ self._TempAmount = TempAmount
31471
+
31472
+ @property
31473
+ def StartTime(self):
31474
+ r"""开始时间
31475
+ :rtype: str
31476
+ """
31477
+ return self._StartTime
31478
+
31479
+ @StartTime.setter
31480
+ def StartTime(self, StartTime):
31481
+ self._StartTime = StartTime
31482
+
31483
+ @property
31484
+ def EndTime(self):
31485
+ r"""结束时间
31486
+ :rtype: str
31487
+ """
31488
+ return self._EndTime
31489
+
31490
+ @EndTime.setter
31491
+ def EndTime(self, EndTime):
31492
+ self._EndTime = EndTime
31493
+
31494
+
31495
+ def _deserialize(self, params):
31496
+ self._Uin = params.get("Uin")
31497
+ self._TempAmount = params.get("TempAmount")
31498
+ self._StartTime = params.get("StartTime")
31499
+ self._EndTime = params.get("EndTime")
31500
+ memeber_set = set(params.keys())
31501
+ for name, value in vars(self).items():
31502
+ property_name = name[1:]
31503
+ if property_name in memeber_set:
31504
+ memeber_set.remove(property_name)
31505
+ if len(memeber_set) > 0:
31506
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
31507
+
31508
+
31509
+
31218
31510
  class UsageDetails(AbstractModel):
31219
31511
  r"""购买商品信息
31220
31512
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-billing
3
- Version: 3.1.14
3
+ Version: 3.1.19
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.14
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.19
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.19
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.14