tencentcloud-sdk-python-billing 3.1.36__tar.gz → 3.1.38__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.36 → tencentcloud_sdk_python_billing-3.1.38}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/setup.py +1 -1
  3. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/tencentcloud/billing/v20180709/billing_client.py +25 -0
  5. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/tencentcloud/billing/v20180709/billing_client_async.py +20 -0
  6. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/tencentcloud/billing/v20180709/models.py +430 -0
  7. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/tencentcloud_sdk_python_billing.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_billing-3.1.38/tencentcloud_sdk_python_billing.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_billing-3.1.36/tencentcloud_sdk_python_billing.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/README.rst +0 -0
  11. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/tencentcloud/billing/__init__.py +0 -0
  13. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/tencentcloud/billing/v20180709/__init__.py +0 -0
  14. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/tencentcloud/billing/v20180709/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/tencentcloud_sdk_python_billing.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/tencentcloud_sdk_python_billing.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_billing-3.1.36 → tencentcloud_sdk_python_billing-3.1.38}/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.36
3
+ Version: 3.1.38
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.36
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.38
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.36,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.38,<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.36'
17
+ __version__ = '3.1.38'
@@ -1298,6 +1298,31 @@ class BillingClient(AbstractClient):
1298
1298
  raise TencentCloudSDKException(type(e).__name__, str(e))
1299
1299
 
1300
1300
 
1301
+ def DescribeRenewInstances(self, request):
1302
+ r"""注意事项:
1303
+ 1、本接口支持查询已接入续费管理页的包年包月实例,包括运行中、已隔离(部分产品不支持)
1304
+ 2、子用户使用该接口时,应具备QcloudFinanceRenewManageFullAccess权限策略。
1305
+
1306
+ :param request: Request instance for DescribeRenewInstances.
1307
+ :type request: :class:`tencentcloud.billing.v20180709.models.DescribeRenewInstancesRequest`
1308
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DescribeRenewInstancesResponse`
1309
+
1310
+ """
1311
+ try:
1312
+ params = request._serialize()
1313
+ headers = request.headers
1314
+ body = self.call("DescribeRenewInstances", params, headers=headers)
1315
+ response = json.loads(body)
1316
+ model = models.DescribeRenewInstancesResponse()
1317
+ model._deserialize(response["Response"])
1318
+ return model
1319
+ except Exception as e:
1320
+ if isinstance(e, TencentCloudSDKException):
1321
+ raise
1322
+ else:
1323
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1324
+
1325
+
1301
1326
  def DescribeSavingPlanResourceInfo(self, request):
1302
1327
  r"""查询节省计划详情
1303
1328
 
@@ -1022,6 +1022,26 @@ class BillingClient(AbstractClient):
1022
1022
 
1023
1023
  return await self.call_and_deserialize(**kwargs)
1024
1024
 
1025
+ async def DescribeRenewInstances(
1026
+ self,
1027
+ request: models.DescribeRenewInstancesRequest,
1028
+ opts: Dict = None,
1029
+ ) -> models.DescribeRenewInstancesResponse:
1030
+ """
1031
+ 注意事项:
1032
+ 1、本接口支持查询已接入续费管理页的包年包月实例,包括运行中、已隔离(部分产品不支持)
1033
+ 2、子用户使用该接口时,应具备QcloudFinanceRenewManageFullAccess权限策略。
1034
+ """
1035
+
1036
+ kwargs = {}
1037
+ kwargs["action"] = "DescribeRenewInstances"
1038
+ kwargs["params"] = request._serialize()
1039
+ kwargs["resp_cls"] = models.DescribeRenewInstancesResponse
1040
+ kwargs["headers"] = request.headers
1041
+ kwargs["opts"] = opts or {}
1042
+
1043
+ return await self.call_and_deserialize(**kwargs)
1044
+
1025
1045
  async def DescribeSavingPlanResourceInfo(
1026
1046
  self,
1027
1047
  request: models.DescribeSavingPlanResourceInfoRequest,
@@ -27471,6 +27471,207 @@ class DescribeGatherRuleDetailResponse(AbstractModel):
27471
27471
  self._RequestId = params.get("RequestId")
27472
27472
 
27473
27473
 
27474
+ class DescribeRenewInstancesRequest(AbstractModel):
27475
+ r"""DescribeRenewInstances请求参数结构体
27476
+
27477
+ """
27478
+
27479
+ def __init__(self):
27480
+ r"""
27481
+ :param _MaxResults: 每页的最大实例条数。 取值范围:1~100。
27482
+ :type MaxResults: int
27483
+ :param _NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。
27484
+ :type NextToken: str
27485
+ :param _Reverse: 获取实例的排序方向。枚举值如下:
27486
+ false=正序(默认)
27487
+ true=倒序
27488
+ :type Reverse: bool
27489
+ :param _RenewFlagList: 续费标识。多个值用英文逗号分隔。枚举值如下:
27490
+ NOTIFY_AND_MANUAL_RENEW:手动续费
27491
+ NOTIFY_AND_AUTO_RENEW:自动续费
27492
+ DISABLE_NOTIFY_AND_MANUAL_RENEW:到期不续
27493
+ :type RenewFlagList: list of str
27494
+ :param _InstanceIdList: 实例ID。多个ID用英文逗号分隔,最多不超过100个。
27495
+ :type InstanceIdList: list of str
27496
+ :param _ExpireTimeStart: 到期时间段起,格式为yyyy-MM-dd HH:mm:ss。
27497
+ :type ExpireTimeStart: str
27498
+ :param _ExpireTimeEnd: 到期时间段止,格式为yyyy-MM-dd HH:mm:ss。
27499
+ :type ExpireTimeEnd: str
27500
+ """
27501
+ self._MaxResults = None
27502
+ self._NextToken = None
27503
+ self._Reverse = None
27504
+ self._RenewFlagList = None
27505
+ self._InstanceIdList = None
27506
+ self._ExpireTimeStart = None
27507
+ self._ExpireTimeEnd = None
27508
+
27509
+ @property
27510
+ def MaxResults(self):
27511
+ r"""每页的最大实例条数。 取值范围:1~100。
27512
+ :rtype: int
27513
+ """
27514
+ return self._MaxResults
27515
+
27516
+ @MaxResults.setter
27517
+ def MaxResults(self, MaxResults):
27518
+ self._MaxResults = MaxResults
27519
+
27520
+ @property
27521
+ def NextToken(self):
27522
+ r"""查询返回结果下一页的令牌。首次调用 API 不需要NextToken。
27523
+ :rtype: str
27524
+ """
27525
+ return self._NextToken
27526
+
27527
+ @NextToken.setter
27528
+ def NextToken(self, NextToken):
27529
+ self._NextToken = NextToken
27530
+
27531
+ @property
27532
+ def Reverse(self):
27533
+ r"""获取实例的排序方向。枚举值如下:
27534
+ false=正序(默认)
27535
+ true=倒序
27536
+ :rtype: bool
27537
+ """
27538
+ return self._Reverse
27539
+
27540
+ @Reverse.setter
27541
+ def Reverse(self, Reverse):
27542
+ self._Reverse = Reverse
27543
+
27544
+ @property
27545
+ def RenewFlagList(self):
27546
+ r"""续费标识。多个值用英文逗号分隔。枚举值如下:
27547
+ NOTIFY_AND_MANUAL_RENEW:手动续费
27548
+ NOTIFY_AND_AUTO_RENEW:自动续费
27549
+ DISABLE_NOTIFY_AND_MANUAL_RENEW:到期不续
27550
+ :rtype: list of str
27551
+ """
27552
+ return self._RenewFlagList
27553
+
27554
+ @RenewFlagList.setter
27555
+ def RenewFlagList(self, RenewFlagList):
27556
+ self._RenewFlagList = RenewFlagList
27557
+
27558
+ @property
27559
+ def InstanceIdList(self):
27560
+ r"""实例ID。多个ID用英文逗号分隔,最多不超过100个。
27561
+ :rtype: list of str
27562
+ """
27563
+ return self._InstanceIdList
27564
+
27565
+ @InstanceIdList.setter
27566
+ def InstanceIdList(self, InstanceIdList):
27567
+ self._InstanceIdList = InstanceIdList
27568
+
27569
+ @property
27570
+ def ExpireTimeStart(self):
27571
+ r"""到期时间段起,格式为yyyy-MM-dd HH:mm:ss。
27572
+ :rtype: str
27573
+ """
27574
+ return self._ExpireTimeStart
27575
+
27576
+ @ExpireTimeStart.setter
27577
+ def ExpireTimeStart(self, ExpireTimeStart):
27578
+ self._ExpireTimeStart = ExpireTimeStart
27579
+
27580
+ @property
27581
+ def ExpireTimeEnd(self):
27582
+ r"""到期时间段止,格式为yyyy-MM-dd HH:mm:ss。
27583
+ :rtype: str
27584
+ """
27585
+ return self._ExpireTimeEnd
27586
+
27587
+ @ExpireTimeEnd.setter
27588
+ def ExpireTimeEnd(self, ExpireTimeEnd):
27589
+ self._ExpireTimeEnd = ExpireTimeEnd
27590
+
27591
+
27592
+ def _deserialize(self, params):
27593
+ self._MaxResults = params.get("MaxResults")
27594
+ self._NextToken = params.get("NextToken")
27595
+ self._Reverse = params.get("Reverse")
27596
+ self._RenewFlagList = params.get("RenewFlagList")
27597
+ self._InstanceIdList = params.get("InstanceIdList")
27598
+ self._ExpireTimeStart = params.get("ExpireTimeStart")
27599
+ self._ExpireTimeEnd = params.get("ExpireTimeEnd")
27600
+ memeber_set = set(params.keys())
27601
+ for name, value in vars(self).items():
27602
+ property_name = name[1:]
27603
+ if property_name in memeber_set:
27604
+ memeber_set.remove(property_name)
27605
+ if len(memeber_set) > 0:
27606
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
27607
+
27608
+
27609
+
27610
+ class DescribeRenewInstancesResponse(AbstractModel):
27611
+ r"""DescribeRenewInstances返回参数结构体
27612
+
27613
+ """
27614
+
27615
+ def __init__(self):
27616
+ r"""
27617
+ :param _InstanceList: 实例汇总列表。
27618
+ :type InstanceList: list of RenewInstance
27619
+ :param _NextToken: 查询返回结果下一页的令牌。
27620
+ 注意:此字段可能返回 null,表示取不到有效值。
27621
+ :type NextToken: str
27622
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
27623
+ :type RequestId: str
27624
+ """
27625
+ self._InstanceList = None
27626
+ self._NextToken = None
27627
+ self._RequestId = None
27628
+
27629
+ @property
27630
+ def InstanceList(self):
27631
+ r"""实例汇总列表。
27632
+ :rtype: list of RenewInstance
27633
+ """
27634
+ return self._InstanceList
27635
+
27636
+ @InstanceList.setter
27637
+ def InstanceList(self, InstanceList):
27638
+ self._InstanceList = InstanceList
27639
+
27640
+ @property
27641
+ def NextToken(self):
27642
+ r"""查询返回结果下一页的令牌。
27643
+ 注意:此字段可能返回 null,表示取不到有效值。
27644
+ :rtype: str
27645
+ """
27646
+ return self._NextToken
27647
+
27648
+ @NextToken.setter
27649
+ def NextToken(self, NextToken):
27650
+ self._NextToken = NextToken
27651
+
27652
+ @property
27653
+ def RequestId(self):
27654
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
27655
+ :rtype: str
27656
+ """
27657
+ return self._RequestId
27658
+
27659
+ @RequestId.setter
27660
+ def RequestId(self, RequestId):
27661
+ self._RequestId = RequestId
27662
+
27663
+
27664
+ def _deserialize(self, params):
27665
+ if params.get("InstanceList") is not None:
27666
+ self._InstanceList = []
27667
+ for item in params.get("InstanceList"):
27668
+ obj = RenewInstance()
27669
+ obj._deserialize(item)
27670
+ self._InstanceList.append(obj)
27671
+ self._NextToken = params.get("NextToken")
27672
+ self._RequestId = params.get("RequestId")
27673
+
27674
+
27474
27675
  class DescribeSavingPlanResourceInfoRequest(AbstractModel):
27475
27676
  r"""DescribeSavingPlanResourceInfo请求参数结构体
27476
27677
 
@@ -31352,6 +31553,235 @@ class RegionSummaryOverviewItem(AbstractModel):
31352
31553
 
31353
31554
 
31354
31555
 
31556
+ class RenewInstance(AbstractModel):
31557
+ r"""资源实例信息
31558
+
31559
+ """
31560
+
31561
+ def __init__(self):
31562
+ r"""
31563
+ :param _InstanceId: 实例ID
31564
+ :type InstanceId: str
31565
+ :param _ProductCode: 产品编码
31566
+ :type ProductCode: str
31567
+ :param _SubProductCode: 子产品编码
31568
+ :type SubProductCode: str
31569
+ :param _RegionCode: 地域编码
31570
+ 注意:此字段可能返回 null,表示取不到有效值。
31571
+ :type RegionCode: str
31572
+ :param _Status: 实例状态:
31573
+ NORMAL 正常,
31574
+ ISOLATED 已隔离
31575
+ 注意:此字段可能返回 null,表示取不到有效值。
31576
+ :type Status: str
31577
+ :param _RenewFlag: 续费标识:
31578
+ NOTIFY_AND_MANUAL_RENEW 手动续费,
31579
+ NOTIFY_AND_AUTO_RENEW 自动续费,
31580
+ DISABLE_NOTIFY_AND_MANUAL_RENEW 到期不续
31581
+ 注意:此字段可能返回 null,表示取不到有效值。
31582
+ :type RenewFlag: str
31583
+ :param _ExpireTime: 实例到期时间
31584
+ 注意:此字段可能返回 null,表示取不到有效值。
31585
+ :type ExpireTime: str
31586
+ :param _InstanceName: 实例别名:用户在控制台为实例设置的名称,如果未设置,则默认为空
31587
+ 注意:此字段可能返回 null,表示取不到有效值。
31588
+ :type InstanceName: str
31589
+ :param _ProductName: 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
31590
+ 注意:此字段可能返回 null,表示取不到有效值。
31591
+ :type ProductName: str
31592
+ :param _ProjectName: 项目名称:实例归属的项目,用户在控制台给实例自主分配项目,未分配则是默认项目
31593
+ 注意:此字段可能返回 null,表示取不到有效值。
31594
+ :type ProjectName: str
31595
+ :param _RenewPeriod: 自动续费周期长度
31596
+ 注意:此字段可能返回 null,表示取不到有效值。
31597
+ :type RenewPeriod: int
31598
+ :param _RenewPeriodUnit: 自动续费周期单位:y 年,m 月
31599
+ 注意:此字段可能返回 null,表示取不到有效值。
31600
+ :type RenewPeriodUnit: str
31601
+ """
31602
+ self._InstanceId = None
31603
+ self._ProductCode = None
31604
+ self._SubProductCode = None
31605
+ self._RegionCode = None
31606
+ self._Status = None
31607
+ self._RenewFlag = None
31608
+ self._ExpireTime = None
31609
+ self._InstanceName = None
31610
+ self._ProductName = None
31611
+ self._ProjectName = None
31612
+ self._RenewPeriod = None
31613
+ self._RenewPeriodUnit = None
31614
+
31615
+ @property
31616
+ def InstanceId(self):
31617
+ r"""实例ID
31618
+ :rtype: str
31619
+ """
31620
+ return self._InstanceId
31621
+
31622
+ @InstanceId.setter
31623
+ def InstanceId(self, InstanceId):
31624
+ self._InstanceId = InstanceId
31625
+
31626
+ @property
31627
+ def ProductCode(self):
31628
+ r"""产品编码
31629
+ :rtype: str
31630
+ """
31631
+ return self._ProductCode
31632
+
31633
+ @ProductCode.setter
31634
+ def ProductCode(self, ProductCode):
31635
+ self._ProductCode = ProductCode
31636
+
31637
+ @property
31638
+ def SubProductCode(self):
31639
+ r"""子产品编码
31640
+ :rtype: str
31641
+ """
31642
+ return self._SubProductCode
31643
+
31644
+ @SubProductCode.setter
31645
+ def SubProductCode(self, SubProductCode):
31646
+ self._SubProductCode = SubProductCode
31647
+
31648
+ @property
31649
+ def RegionCode(self):
31650
+ r"""地域编码
31651
+ 注意:此字段可能返回 null,表示取不到有效值。
31652
+ :rtype: str
31653
+ """
31654
+ return self._RegionCode
31655
+
31656
+ @RegionCode.setter
31657
+ def RegionCode(self, RegionCode):
31658
+ self._RegionCode = RegionCode
31659
+
31660
+ @property
31661
+ def Status(self):
31662
+ r"""实例状态:
31663
+ NORMAL 正常,
31664
+ ISOLATED 已隔离
31665
+ 注意:此字段可能返回 null,表示取不到有效值。
31666
+ :rtype: str
31667
+ """
31668
+ return self._Status
31669
+
31670
+ @Status.setter
31671
+ def Status(self, Status):
31672
+ self._Status = Status
31673
+
31674
+ @property
31675
+ def RenewFlag(self):
31676
+ r"""续费标识:
31677
+ NOTIFY_AND_MANUAL_RENEW 手动续费,
31678
+ NOTIFY_AND_AUTO_RENEW 自动续费,
31679
+ DISABLE_NOTIFY_AND_MANUAL_RENEW 到期不续
31680
+ 注意:此字段可能返回 null,表示取不到有效值。
31681
+ :rtype: str
31682
+ """
31683
+ return self._RenewFlag
31684
+
31685
+ @RenewFlag.setter
31686
+ def RenewFlag(self, RenewFlag):
31687
+ self._RenewFlag = RenewFlag
31688
+
31689
+ @property
31690
+ def ExpireTime(self):
31691
+ r"""实例到期时间
31692
+ 注意:此字段可能返回 null,表示取不到有效值。
31693
+ :rtype: str
31694
+ """
31695
+ return self._ExpireTime
31696
+
31697
+ @ExpireTime.setter
31698
+ def ExpireTime(self, ExpireTime):
31699
+ self._ExpireTime = ExpireTime
31700
+
31701
+ @property
31702
+ def InstanceName(self):
31703
+ r"""实例别名:用户在控制台为实例设置的名称,如果未设置,则默认为空
31704
+ 注意:此字段可能返回 null,表示取不到有效值。
31705
+ :rtype: str
31706
+ """
31707
+ return self._InstanceName
31708
+
31709
+ @InstanceName.setter
31710
+ def InstanceName(self, InstanceName):
31711
+ self._InstanceName = InstanceName
31712
+
31713
+ @property
31714
+ def ProductName(self):
31715
+ r"""产品名称:用户所采购的各类云产品,例如:云服务器 CVM
31716
+ 注意:此字段可能返回 null,表示取不到有效值。
31717
+ :rtype: str
31718
+ """
31719
+ return self._ProductName
31720
+
31721
+ @ProductName.setter
31722
+ def ProductName(self, ProductName):
31723
+ self._ProductName = ProductName
31724
+
31725
+ @property
31726
+ def ProjectName(self):
31727
+ r"""项目名称:实例归属的项目,用户在控制台给实例自主分配项目,未分配则是默认项目
31728
+ 注意:此字段可能返回 null,表示取不到有效值。
31729
+ :rtype: str
31730
+ """
31731
+ return self._ProjectName
31732
+
31733
+ @ProjectName.setter
31734
+ def ProjectName(self, ProjectName):
31735
+ self._ProjectName = ProjectName
31736
+
31737
+ @property
31738
+ def RenewPeriod(self):
31739
+ r"""自动续费周期长度
31740
+ 注意:此字段可能返回 null,表示取不到有效值。
31741
+ :rtype: int
31742
+ """
31743
+ return self._RenewPeriod
31744
+
31745
+ @RenewPeriod.setter
31746
+ def RenewPeriod(self, RenewPeriod):
31747
+ self._RenewPeriod = RenewPeriod
31748
+
31749
+ @property
31750
+ def RenewPeriodUnit(self):
31751
+ r"""自动续费周期单位:y 年,m 月
31752
+ 注意:此字段可能返回 null,表示取不到有效值。
31753
+ :rtype: str
31754
+ """
31755
+ return self._RenewPeriodUnit
31756
+
31757
+ @RenewPeriodUnit.setter
31758
+ def RenewPeriodUnit(self, RenewPeriodUnit):
31759
+ self._RenewPeriodUnit = RenewPeriodUnit
31760
+
31761
+
31762
+ def _deserialize(self, params):
31763
+ self._InstanceId = params.get("InstanceId")
31764
+ self._ProductCode = params.get("ProductCode")
31765
+ self._SubProductCode = params.get("SubProductCode")
31766
+ self._RegionCode = params.get("RegionCode")
31767
+ self._Status = params.get("Status")
31768
+ self._RenewFlag = params.get("RenewFlag")
31769
+ self._ExpireTime = params.get("ExpireTime")
31770
+ self._InstanceName = params.get("InstanceName")
31771
+ self._ProductName = params.get("ProductName")
31772
+ self._ProjectName = params.get("ProjectName")
31773
+ self._RenewPeriod = params.get("RenewPeriod")
31774
+ self._RenewPeriodUnit = params.get("RenewPeriodUnit")
31775
+ memeber_set = set(params.keys())
31776
+ for name, value in vars(self).items():
31777
+ property_name = name[1:]
31778
+ if property_name in memeber_set:
31779
+ memeber_set.remove(property_name)
31780
+ if len(memeber_set) > 0:
31781
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
31782
+
31783
+
31784
+
31355
31785
  class RenewInstanceRequest(AbstractModel):
31356
31786
  r"""RenewInstance请求参数结构体
31357
31787
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-billing
3
- Version: 3.1.36
3
+ Version: 3.1.38
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.36
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.38
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.38
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.36