tencentcloud-sdk-python-intl-en 3.0.1132__py2.py3-none-any.whl → 3.0.1133__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-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +25 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +219 -0
- {tencentcloud_sdk_python_intl_en-3.0.1132.dist-info → tencentcloud_sdk_python_intl_en-3.0.1133.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1132.dist-info → tencentcloud_sdk_python_intl_en-3.0.1133.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_intl_en-3.0.1132.dist-info → tencentcloud_sdk_python_intl_en-3.0.1133.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1132.dist-info → tencentcloud_sdk_python_intl_en-3.0.1133.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -572,6 +572,31 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
572
572
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
573
573
|
|
|
574
574
|
|
|
575
|
+
def QueryCustomerBillingQuota(self, request):
|
|
576
|
+
"""Description: This API is used for a sub-customer to real-time query its own total credit and remaining credit in USD.
|
|
577
|
+
|
|
578
|
+
Callable roles: Sub-customer
|
|
579
|
+
|
|
580
|
+
:param request: Request instance for QueryCustomerBillingQuota.
|
|
581
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryCustomerBillingQuotaRequest`
|
|
582
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryCustomerBillingQuotaResponse`
|
|
583
|
+
|
|
584
|
+
"""
|
|
585
|
+
try:
|
|
586
|
+
params = request._serialize()
|
|
587
|
+
headers = request.headers
|
|
588
|
+
body = self.call("QueryCustomerBillingQuota", params, headers=headers)
|
|
589
|
+
response = json.loads(body)
|
|
590
|
+
model = models.QueryCustomerBillingQuotaResponse()
|
|
591
|
+
model._deserialize(response["Response"])
|
|
592
|
+
return model
|
|
593
|
+
except Exception as e:
|
|
594
|
+
if isinstance(e, TencentCloudSDKException):
|
|
595
|
+
raise
|
|
596
|
+
else:
|
|
597
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
598
|
+
|
|
599
|
+
|
|
575
600
|
def QueryCustomersCredit(self, request):
|
|
576
601
|
"""This API is used for a partner to the credits and basic information of cutomers.
|
|
577
602
|
|
|
@@ -4828,6 +4828,225 @@ class QueryCreditQuotaResponse(AbstractModel):
|
|
|
4828
4828
|
self._RequestId = params.get("RequestId")
|
|
4829
4829
|
|
|
4830
4830
|
|
|
4831
|
+
class QueryCustomerBillingQuotaData(AbstractModel):
|
|
4832
|
+
"""Sub-customer credit balance data
|
|
4833
|
+
|
|
4834
|
+
"""
|
|
4835
|
+
|
|
4836
|
+
def __init__(self):
|
|
4837
|
+
r"""
|
|
4838
|
+
:param _TotalCredit: Total credit limit (unit: cny), accurate down to two decimal places.
|
|
4839
|
+
:type TotalCredit: float
|
|
4840
|
+
:param _RemainingCredit: Remaining credit limit (unit: cny), accurate down to two decimal places.
|
|
4841
|
+
:type RemainingCredit: float
|
|
4842
|
+
:param _RemainingVoucher: Remaining total voucher amount (unit: cny), accurate down to two decimal places.
|
|
4843
|
+
:type RemainingVoucher: float
|
|
4844
|
+
:param _Force: Forced status
|
|
4845
|
+
.
|
|
4846
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
4847
|
+
:type Force: int
|
|
4848
|
+
:param _PrepayFrozen: Prepaid frozen amount.
|
|
4849
|
+
:type PrepayFrozen: float
|
|
4850
|
+
:param _PostpayFrozen: Postpaid frozen amount.
|
|
4851
|
+
:type PostpayFrozen: float
|
|
4852
|
+
"""
|
|
4853
|
+
self._TotalCredit = None
|
|
4854
|
+
self._RemainingCredit = None
|
|
4855
|
+
self._RemainingVoucher = None
|
|
4856
|
+
self._Force = None
|
|
4857
|
+
self._PrepayFrozen = None
|
|
4858
|
+
self._PostpayFrozen = None
|
|
4859
|
+
|
|
4860
|
+
@property
|
|
4861
|
+
def TotalCredit(self):
|
|
4862
|
+
"""Total credit limit (unit: cny), accurate down to two decimal places.
|
|
4863
|
+
:rtype: float
|
|
4864
|
+
"""
|
|
4865
|
+
return self._TotalCredit
|
|
4866
|
+
|
|
4867
|
+
@TotalCredit.setter
|
|
4868
|
+
def TotalCredit(self, TotalCredit):
|
|
4869
|
+
self._TotalCredit = TotalCredit
|
|
4870
|
+
|
|
4871
|
+
@property
|
|
4872
|
+
def RemainingCredit(self):
|
|
4873
|
+
"""Remaining credit limit (unit: cny), accurate down to two decimal places.
|
|
4874
|
+
:rtype: float
|
|
4875
|
+
"""
|
|
4876
|
+
return self._RemainingCredit
|
|
4877
|
+
|
|
4878
|
+
@RemainingCredit.setter
|
|
4879
|
+
def RemainingCredit(self, RemainingCredit):
|
|
4880
|
+
self._RemainingCredit = RemainingCredit
|
|
4881
|
+
|
|
4882
|
+
@property
|
|
4883
|
+
def RemainingVoucher(self):
|
|
4884
|
+
"""Remaining total voucher amount (unit: cny), accurate down to two decimal places.
|
|
4885
|
+
:rtype: float
|
|
4886
|
+
"""
|
|
4887
|
+
return self._RemainingVoucher
|
|
4888
|
+
|
|
4889
|
+
@RemainingVoucher.setter
|
|
4890
|
+
def RemainingVoucher(self, RemainingVoucher):
|
|
4891
|
+
self._RemainingVoucher = RemainingVoucher
|
|
4892
|
+
|
|
4893
|
+
@property
|
|
4894
|
+
def Force(self):
|
|
4895
|
+
"""Forced status
|
|
4896
|
+
.
|
|
4897
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
4898
|
+
:rtype: int
|
|
4899
|
+
"""
|
|
4900
|
+
return self._Force
|
|
4901
|
+
|
|
4902
|
+
@Force.setter
|
|
4903
|
+
def Force(self, Force):
|
|
4904
|
+
self._Force = Force
|
|
4905
|
+
|
|
4906
|
+
@property
|
|
4907
|
+
def PrepayFrozen(self):
|
|
4908
|
+
"""Prepaid frozen amount.
|
|
4909
|
+
:rtype: float
|
|
4910
|
+
"""
|
|
4911
|
+
return self._PrepayFrozen
|
|
4912
|
+
|
|
4913
|
+
@PrepayFrozen.setter
|
|
4914
|
+
def PrepayFrozen(self, PrepayFrozen):
|
|
4915
|
+
self._PrepayFrozen = PrepayFrozen
|
|
4916
|
+
|
|
4917
|
+
@property
|
|
4918
|
+
def PostpayFrozen(self):
|
|
4919
|
+
"""Postpaid frozen amount.
|
|
4920
|
+
:rtype: float
|
|
4921
|
+
"""
|
|
4922
|
+
return self._PostpayFrozen
|
|
4923
|
+
|
|
4924
|
+
@PostpayFrozen.setter
|
|
4925
|
+
def PostpayFrozen(self, PostpayFrozen):
|
|
4926
|
+
self._PostpayFrozen = PostpayFrozen
|
|
4927
|
+
|
|
4928
|
+
|
|
4929
|
+
def _deserialize(self, params):
|
|
4930
|
+
self._TotalCredit = params.get("TotalCredit")
|
|
4931
|
+
self._RemainingCredit = params.get("RemainingCredit")
|
|
4932
|
+
self._RemainingVoucher = params.get("RemainingVoucher")
|
|
4933
|
+
self._Force = params.get("Force")
|
|
4934
|
+
self._PrepayFrozen = params.get("PrepayFrozen")
|
|
4935
|
+
self._PostpayFrozen = params.get("PostpayFrozen")
|
|
4936
|
+
memeber_set = set(params.keys())
|
|
4937
|
+
for name, value in vars(self).items():
|
|
4938
|
+
property_name = name[1:]
|
|
4939
|
+
if property_name in memeber_set:
|
|
4940
|
+
memeber_set.remove(property_name)
|
|
4941
|
+
if len(memeber_set) > 0:
|
|
4942
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4943
|
+
|
|
4944
|
+
|
|
4945
|
+
|
|
4946
|
+
class QueryCustomerBillingQuotaRequest(AbstractModel):
|
|
4947
|
+
"""QueryCustomerBillingQuota request structure.
|
|
4948
|
+
|
|
4949
|
+
"""
|
|
4950
|
+
|
|
4951
|
+
def __init__(self):
|
|
4952
|
+
r"""
|
|
4953
|
+
:param _EventId: Event id, used to tag the request event, usually a random number.
|
|
4954
|
+
:type EventId: int
|
|
4955
|
+
:param _ComponentName: Source of the request.
|
|
4956
|
+
:type ComponentName: str
|
|
4957
|
+
"""
|
|
4958
|
+
self._EventId = None
|
|
4959
|
+
self._ComponentName = None
|
|
4960
|
+
|
|
4961
|
+
@property
|
|
4962
|
+
def EventId(self):
|
|
4963
|
+
warnings.warn("parameter `EventId` is deprecated", DeprecationWarning)
|
|
4964
|
+
|
|
4965
|
+
"""Event id, used to tag the request event, usually a random number.
|
|
4966
|
+
:rtype: int
|
|
4967
|
+
"""
|
|
4968
|
+
return self._EventId
|
|
4969
|
+
|
|
4970
|
+
@EventId.setter
|
|
4971
|
+
def EventId(self, EventId):
|
|
4972
|
+
warnings.warn("parameter `EventId` is deprecated", DeprecationWarning)
|
|
4973
|
+
|
|
4974
|
+
self._EventId = EventId
|
|
4975
|
+
|
|
4976
|
+
@property
|
|
4977
|
+
def ComponentName(self):
|
|
4978
|
+
warnings.warn("parameter `ComponentName` is deprecated", DeprecationWarning)
|
|
4979
|
+
|
|
4980
|
+
"""Source of the request.
|
|
4981
|
+
:rtype: str
|
|
4982
|
+
"""
|
|
4983
|
+
return self._ComponentName
|
|
4984
|
+
|
|
4985
|
+
@ComponentName.setter
|
|
4986
|
+
def ComponentName(self, ComponentName):
|
|
4987
|
+
warnings.warn("parameter `ComponentName` is deprecated", DeprecationWarning)
|
|
4988
|
+
|
|
4989
|
+
self._ComponentName = ComponentName
|
|
4990
|
+
|
|
4991
|
+
|
|
4992
|
+
def _deserialize(self, params):
|
|
4993
|
+
self._EventId = params.get("EventId")
|
|
4994
|
+
self._ComponentName = params.get("ComponentName")
|
|
4995
|
+
memeber_set = set(params.keys())
|
|
4996
|
+
for name, value in vars(self).items():
|
|
4997
|
+
property_name = name[1:]
|
|
4998
|
+
if property_name in memeber_set:
|
|
4999
|
+
memeber_set.remove(property_name)
|
|
5000
|
+
if len(memeber_set) > 0:
|
|
5001
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5002
|
+
|
|
5003
|
+
|
|
5004
|
+
|
|
5005
|
+
class QueryCustomerBillingQuotaResponse(AbstractModel):
|
|
5006
|
+
"""QueryCustomerBillingQuota response structure.
|
|
5007
|
+
|
|
5008
|
+
"""
|
|
5009
|
+
|
|
5010
|
+
def __init__(self):
|
|
5011
|
+
r"""
|
|
5012
|
+
:param _Data: Limit data.
|
|
5013
|
+
:type Data: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryCustomerBillingQuotaData`
|
|
5014
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5015
|
+
:type RequestId: str
|
|
5016
|
+
"""
|
|
5017
|
+
self._Data = None
|
|
5018
|
+
self._RequestId = None
|
|
5019
|
+
|
|
5020
|
+
@property
|
|
5021
|
+
def Data(self):
|
|
5022
|
+
"""Limit data.
|
|
5023
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryCustomerBillingQuotaData`
|
|
5024
|
+
"""
|
|
5025
|
+
return self._Data
|
|
5026
|
+
|
|
5027
|
+
@Data.setter
|
|
5028
|
+
def Data(self, Data):
|
|
5029
|
+
self._Data = Data
|
|
5030
|
+
|
|
5031
|
+
@property
|
|
5032
|
+
def RequestId(self):
|
|
5033
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5034
|
+
:rtype: str
|
|
5035
|
+
"""
|
|
5036
|
+
return self._RequestId
|
|
5037
|
+
|
|
5038
|
+
@RequestId.setter
|
|
5039
|
+
def RequestId(self, RequestId):
|
|
5040
|
+
self._RequestId = RequestId
|
|
5041
|
+
|
|
5042
|
+
|
|
5043
|
+
def _deserialize(self, params):
|
|
5044
|
+
if params.get("Data") is not None:
|
|
5045
|
+
self._Data = QueryCustomerBillingQuotaData()
|
|
5046
|
+
self._Data._deserialize(params.get("Data"))
|
|
5047
|
+
self._RequestId = params.get("RequestId")
|
|
5048
|
+
|
|
5049
|
+
|
|
4831
5050
|
class QueryCustomersCreditData(AbstractModel):
|
|
4832
5051
|
"""Complex type of output parameters for querying customer's credit
|
|
4833
5052
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=w0f0kHHR9j909CouFNhUrYcAUkooK_qq6UJiFGI4ucs,630
|
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
|
|
@@ -323,8 +323,8 @@ tencentcloud/ims/v20201229/models.py,sha256=Sfna_x1BytKq04dX2wwI9wbXDh9N4JPyS6WD
|
|
|
323
323
|
tencentcloud/intlpartnersmgt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
324
324
|
tencentcloud/intlpartnersmgt/v20220928/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
325
325
|
tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256=G9y1MiiDR13Gzkshs3rEi8CZiUueBH2TnjjxCgBGJr8,6967
|
|
326
|
-
tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=
|
|
327
|
-
tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=
|
|
326
|
+
tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=eJpf_rep4yl9Fl7yvUhbavRfSXSev9OTsEWNKGlyaVg,35838
|
|
327
|
+
tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=TbgPnlQR46UlOMbnl1NQC2F3E9UWcncHpNKcV5bxKTg,219644
|
|
328
328
|
tencentcloud/iotcloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
329
329
|
tencentcloud/iotcloud/v20210408/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
330
330
|
tencentcloud/iotcloud/v20210408/errorcodes.py,sha256=ot2acVUWnZ1XbJLkM4K-jT_Gw5TQD53TtZwnfFzJJ9Y,5887
|
|
@@ -619,7 +619,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
619
619
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
620
620
|
tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
|
|
621
621
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
|
|
622
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
623
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
624
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
625
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
622
|
+
tencentcloud_sdk_python_intl_en-3.0.1133.dist-info/METADATA,sha256=GeZSW7WnSPM10f_KSho-qNM1fQnflhDzug0DA6knpcg,1628
|
|
623
|
+
tencentcloud_sdk_python_intl_en-3.0.1133.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
624
|
+
tencentcloud_sdk_python_intl_en-3.0.1133.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
625
|
+
tencentcloud_sdk_python_intl_en-3.0.1133.dist-info/RECORD,,
|
|
File without changes
|