tencentcloud-sdk-python-svp 3.0.1490__tar.gz → 3.1.97__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_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/setup.py +2 -1
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/tencentcloud/svp/v20240125/models.py +70 -40
- tencentcloud_sdk_python_svp-3.1.97/tencentcloud/svp/v20240125/svp_client_async.py +116 -0
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/tencentcloud_sdk_python_svp.egg-info/PKG-INFO +2 -2
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/tencentcloud_sdk_python_svp.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_svp-3.1.97/tencentcloud_sdk_python_svp.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_svp-3.0.1490/tencentcloud_sdk_python_svp.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/README.rst +0 -0
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/setup.cfg +0 -0
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/tencentcloud/svp/__init__.py +0 -0
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/tencentcloud/svp/v20240125/__init__.py +0 -0
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/tencentcloud/svp/v20240125/errorcodes.py +0 -0
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/tencentcloud/svp/v20240125/svp_client.py +0 -0
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/tencentcloud_sdk_python_svp.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_svp-3.0.1490 → tencentcloud_sdk_python_svp-3.1.97}/tencentcloud_sdk_python_svp.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-svp
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.97
|
|
4
4
|
Summary: Tencent Cloud Svp 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.97
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-svp',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.97,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Svp SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -25,24 +25,26 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
25
25
|
|
|
26
26
|
def __init__(self):
|
|
27
27
|
r"""
|
|
28
|
-
:param _RegionId:
|
|
28
|
+
:param _RegionId: <p>地域编码</p>
|
|
29
29
|
:type RegionId: int
|
|
30
|
-
:param _ZoneId:
|
|
30
|
+
:param _ZoneId: <p>区域编码</p>
|
|
31
31
|
:type ZoneId: int
|
|
32
|
-
:param _PrePayType:
|
|
32
|
+
:param _PrePayType: <p>预付费类型</p><p>枚举值:</p><ul><li>1: 全预费</li><li>2: 部分预付</li><li>3: 不预付</li></ul>
|
|
33
33
|
:type PrePayType: str
|
|
34
|
-
:param _TimeSpan:
|
|
34
|
+
:param _TimeSpan: <p>时长</p>
|
|
35
35
|
:type TimeSpan: int
|
|
36
|
-
:param _TimeUnit:
|
|
36
|
+
:param _TimeUnit: <p>时长单位</p>
|
|
37
37
|
:type TimeUnit: str
|
|
38
|
-
:param _CommodityCode:
|
|
38
|
+
:param _CommodityCode: <p>商品唯一标识</p>
|
|
39
39
|
:type CommodityCode: str
|
|
40
|
-
:param _PromiseUseAmount:
|
|
40
|
+
:param _PromiseUseAmount: <p>承诺时长内的小额金额(单位:元)</p>
|
|
41
41
|
:type PromiseUseAmount: int
|
|
42
|
-
:param _SpecifyEffectTime:
|
|
42
|
+
:param _SpecifyEffectTime: <p>节省计划的指定生效时间,若不传则为当前下单时间。传参数格式:"2023-10-01 00:00:00",仅支持指定日期的0点时刻</p>
|
|
43
43
|
:type SpecifyEffectTime: str
|
|
44
|
-
:param _ClientToken:
|
|
44
|
+
:param _ClientToken: <p>可重入ID</p>
|
|
45
45
|
:type ClientToken: str
|
|
46
|
+
:param _CommitmentPeriod: <p>节省计划结算类型</p><p>枚举值:</p><ul><li>1: 小时结算包</li><li>2: 日结算包</li><li>3: 月结算包</li></ul><p>默认值:1</p><p>不填写是默认是小时结算包</p>
|
|
47
|
+
:type CommitmentPeriod: int
|
|
46
48
|
"""
|
|
47
49
|
self._RegionId = None
|
|
48
50
|
self._ZoneId = None
|
|
@@ -53,10 +55,11 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
53
55
|
self._PromiseUseAmount = None
|
|
54
56
|
self._SpecifyEffectTime = None
|
|
55
57
|
self._ClientToken = None
|
|
58
|
+
self._CommitmentPeriod = None
|
|
56
59
|
|
|
57
60
|
@property
|
|
58
61
|
def RegionId(self):
|
|
59
|
-
r"""
|
|
62
|
+
r"""<p>地域编码</p>
|
|
60
63
|
:rtype: int
|
|
61
64
|
"""
|
|
62
65
|
return self._RegionId
|
|
@@ -67,7 +70,7 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
67
70
|
|
|
68
71
|
@property
|
|
69
72
|
def ZoneId(self):
|
|
70
|
-
r"""
|
|
73
|
+
r"""<p>区域编码</p>
|
|
71
74
|
:rtype: int
|
|
72
75
|
"""
|
|
73
76
|
return self._ZoneId
|
|
@@ -78,7 +81,7 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
78
81
|
|
|
79
82
|
@property
|
|
80
83
|
def PrePayType(self):
|
|
81
|
-
r"""
|
|
84
|
+
r"""<p>预付费类型</p><p>枚举值:</p><ul><li>1: 全预费</li><li>2: 部分预付</li><li>3: 不预付</li></ul>
|
|
82
85
|
:rtype: str
|
|
83
86
|
"""
|
|
84
87
|
return self._PrePayType
|
|
@@ -89,7 +92,7 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
89
92
|
|
|
90
93
|
@property
|
|
91
94
|
def TimeSpan(self):
|
|
92
|
-
r"""
|
|
95
|
+
r"""<p>时长</p>
|
|
93
96
|
:rtype: int
|
|
94
97
|
"""
|
|
95
98
|
return self._TimeSpan
|
|
@@ -100,7 +103,7 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
100
103
|
|
|
101
104
|
@property
|
|
102
105
|
def TimeUnit(self):
|
|
103
|
-
r"""
|
|
106
|
+
r"""<p>时长单位</p>
|
|
104
107
|
:rtype: str
|
|
105
108
|
"""
|
|
106
109
|
return self._TimeUnit
|
|
@@ -111,7 +114,7 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
111
114
|
|
|
112
115
|
@property
|
|
113
116
|
def CommodityCode(self):
|
|
114
|
-
r"""
|
|
117
|
+
r"""<p>商品唯一标识</p>
|
|
115
118
|
:rtype: str
|
|
116
119
|
"""
|
|
117
120
|
return self._CommodityCode
|
|
@@ -122,7 +125,7 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
122
125
|
|
|
123
126
|
@property
|
|
124
127
|
def PromiseUseAmount(self):
|
|
125
|
-
r"""
|
|
128
|
+
r"""<p>承诺时长内的小额金额(单位:元)</p>
|
|
126
129
|
:rtype: int
|
|
127
130
|
"""
|
|
128
131
|
return self._PromiseUseAmount
|
|
@@ -133,7 +136,7 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
133
136
|
|
|
134
137
|
@property
|
|
135
138
|
def SpecifyEffectTime(self):
|
|
136
|
-
r"""
|
|
139
|
+
r"""<p>节省计划的指定生效时间,若不传则为当前下单时间。传参数格式:"2023-10-01 00:00:00",仅支持指定日期的0点时刻</p>
|
|
137
140
|
:rtype: str
|
|
138
141
|
"""
|
|
139
142
|
return self._SpecifyEffectTime
|
|
@@ -144,7 +147,7 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
144
147
|
|
|
145
148
|
@property
|
|
146
149
|
def ClientToken(self):
|
|
147
|
-
r"""
|
|
150
|
+
r"""<p>可重入ID</p>
|
|
148
151
|
:rtype: str
|
|
149
152
|
"""
|
|
150
153
|
return self._ClientToken
|
|
@@ -153,6 +156,17 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
153
156
|
def ClientToken(self, ClientToken):
|
|
154
157
|
self._ClientToken = ClientToken
|
|
155
158
|
|
|
159
|
+
@property
|
|
160
|
+
def CommitmentPeriod(self):
|
|
161
|
+
r"""<p>节省计划结算类型</p><p>枚举值:</p><ul><li>1: 小时结算包</li><li>2: 日结算包</li><li>3: 月结算包</li></ul><p>默认值:1</p><p>不填写是默认是小时结算包</p>
|
|
162
|
+
:rtype: int
|
|
163
|
+
"""
|
|
164
|
+
return self._CommitmentPeriod
|
|
165
|
+
|
|
166
|
+
@CommitmentPeriod.setter
|
|
167
|
+
def CommitmentPeriod(self, CommitmentPeriod):
|
|
168
|
+
self._CommitmentPeriod = CommitmentPeriod
|
|
169
|
+
|
|
156
170
|
|
|
157
171
|
def _deserialize(self, params):
|
|
158
172
|
self._RegionId = params.get("RegionId")
|
|
@@ -164,6 +178,7 @@ class CreateSavingPlanOrderRequest(AbstractModel):
|
|
|
164
178
|
self._PromiseUseAmount = params.get("PromiseUseAmount")
|
|
165
179
|
self._SpecifyEffectTime = params.get("SpecifyEffectTime")
|
|
166
180
|
self._ClientToken = params.get("ClientToken")
|
|
181
|
+
self._CommitmentPeriod = params.get("CommitmentPeriod")
|
|
167
182
|
memeber_set = set(params.keys())
|
|
168
183
|
for name, value in vars(self).items():
|
|
169
184
|
property_name = name[1:]
|
|
@@ -181,7 +196,7 @@ class CreateSavingPlanOrderResponse(AbstractModel):
|
|
|
181
196
|
|
|
182
197
|
def __init__(self):
|
|
183
198
|
r"""
|
|
184
|
-
:param _BigDealId:
|
|
199
|
+
:param _BigDealId: <p>订单号</p>
|
|
185
200
|
:type BigDealId: str
|
|
186
201
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
187
202
|
:type RequestId: str
|
|
@@ -191,7 +206,7 @@ class CreateSavingPlanOrderResponse(AbstractModel):
|
|
|
191
206
|
|
|
192
207
|
@property
|
|
193
208
|
def BigDealId(self):
|
|
194
|
-
r"""
|
|
209
|
+
r"""<p>订单号</p>
|
|
195
210
|
:rtype: str
|
|
196
211
|
"""
|
|
197
212
|
return self._BigDealId
|
|
@@ -1791,27 +1806,30 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1791
1806
|
|
|
1792
1807
|
def __init__(self):
|
|
1793
1808
|
r"""
|
|
1794
|
-
:param
|
|
1809
|
+
:param _SpId: <p>节省计划资源id</p>
|
|
1810
|
+
:type SpId: str
|
|
1811
|
+
:param _SpType: <p>节省计划类型</p>
|
|
1795
1812
|
:type SpType: str
|
|
1796
|
-
:param _Status:
|
|
1813
|
+
:param _Status: <p>节省计划状态</p>枚举值:<ul><li> 1: 生效</li><li> 2: 失效 </li><li> 3: 作废</li></ul>
|
|
1797
1814
|
:type Status: int
|
|
1798
|
-
:param _DeductAmount:
|
|
1815
|
+
:param _DeductAmount: <p>累计抵扣的金额(单位:元)</p>
|
|
1799
1816
|
:type DeductAmount: str
|
|
1800
|
-
:param _PromiseAmount:
|
|
1817
|
+
:param _PromiseAmount: <p>累计承诺消费金额(单位:元)</p>
|
|
1801
1818
|
:type PromiseAmount: str
|
|
1802
|
-
:param _NetSavings:
|
|
1819
|
+
:param _NetSavings: <p>累计净节省金额(单位:元)</p>
|
|
1803
1820
|
:type NetSavings: str
|
|
1804
|
-
:param _UtilizationRate:
|
|
1821
|
+
:param _UtilizationRate: <p>使用率</p>
|
|
1805
1822
|
:type UtilizationRate: float
|
|
1806
|
-
:param _LossAmount:
|
|
1823
|
+
:param _LossAmount: <p>累计流失金额(单位:元)</p>
|
|
1807
1824
|
:type LossAmount: str
|
|
1808
|
-
:param _DosageAmount:
|
|
1825
|
+
:param _DosageAmount: <p>累计按量计费预期金额(单位:元)</p>
|
|
1809
1826
|
:type DosageAmount: str
|
|
1810
|
-
:param _CostAmount:
|
|
1827
|
+
:param _CostAmount: <p>累计成本金额(单位:元)</p>
|
|
1811
1828
|
:type CostAmount: str
|
|
1812
|
-
:param _Region:
|
|
1829
|
+
:param _Region: <p>地域</p>
|
|
1813
1830
|
:type Region: list of str
|
|
1814
1831
|
"""
|
|
1832
|
+
self._SpId = None
|
|
1815
1833
|
self._SpType = None
|
|
1816
1834
|
self._Status = None
|
|
1817
1835
|
self._DeductAmount = None
|
|
@@ -1823,9 +1841,20 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1823
1841
|
self._CostAmount = None
|
|
1824
1842
|
self._Region = None
|
|
1825
1843
|
|
|
1844
|
+
@property
|
|
1845
|
+
def SpId(self):
|
|
1846
|
+
r"""<p>节省计划资源id</p>
|
|
1847
|
+
:rtype: str
|
|
1848
|
+
"""
|
|
1849
|
+
return self._SpId
|
|
1850
|
+
|
|
1851
|
+
@SpId.setter
|
|
1852
|
+
def SpId(self, SpId):
|
|
1853
|
+
self._SpId = SpId
|
|
1854
|
+
|
|
1826
1855
|
@property
|
|
1827
1856
|
def SpType(self):
|
|
1828
|
-
r"""
|
|
1857
|
+
r"""<p>节省计划类型</p>
|
|
1829
1858
|
:rtype: str
|
|
1830
1859
|
"""
|
|
1831
1860
|
return self._SpType
|
|
@@ -1836,7 +1865,7 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1836
1865
|
|
|
1837
1866
|
@property
|
|
1838
1867
|
def Status(self):
|
|
1839
|
-
r"""
|
|
1868
|
+
r"""<p>节省计划状态</p>枚举值:<ul><li> 1: 生效</li><li> 2: 失效 </li><li> 3: 作废</li></ul>
|
|
1840
1869
|
:rtype: int
|
|
1841
1870
|
"""
|
|
1842
1871
|
return self._Status
|
|
@@ -1847,7 +1876,7 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1847
1876
|
|
|
1848
1877
|
@property
|
|
1849
1878
|
def DeductAmount(self):
|
|
1850
|
-
r"""
|
|
1879
|
+
r"""<p>累计抵扣的金额(单位:元)</p>
|
|
1851
1880
|
:rtype: str
|
|
1852
1881
|
"""
|
|
1853
1882
|
return self._DeductAmount
|
|
@@ -1858,7 +1887,7 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1858
1887
|
|
|
1859
1888
|
@property
|
|
1860
1889
|
def PromiseAmount(self):
|
|
1861
|
-
r"""
|
|
1890
|
+
r"""<p>累计承诺消费金额(单位:元)</p>
|
|
1862
1891
|
:rtype: str
|
|
1863
1892
|
"""
|
|
1864
1893
|
return self._PromiseAmount
|
|
@@ -1869,7 +1898,7 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1869
1898
|
|
|
1870
1899
|
@property
|
|
1871
1900
|
def NetSavings(self):
|
|
1872
|
-
r"""
|
|
1901
|
+
r"""<p>累计净节省金额(单位:元)</p>
|
|
1873
1902
|
:rtype: str
|
|
1874
1903
|
"""
|
|
1875
1904
|
return self._NetSavings
|
|
@@ -1880,7 +1909,7 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1880
1909
|
|
|
1881
1910
|
@property
|
|
1882
1911
|
def UtilizationRate(self):
|
|
1883
|
-
r"""
|
|
1912
|
+
r"""<p>使用率</p>
|
|
1884
1913
|
:rtype: float
|
|
1885
1914
|
"""
|
|
1886
1915
|
return self._UtilizationRate
|
|
@@ -1891,7 +1920,7 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1891
1920
|
|
|
1892
1921
|
@property
|
|
1893
1922
|
def LossAmount(self):
|
|
1894
|
-
r"""
|
|
1923
|
+
r"""<p>累计流失金额(单位:元)</p>
|
|
1895
1924
|
:rtype: str
|
|
1896
1925
|
"""
|
|
1897
1926
|
return self._LossAmount
|
|
@@ -1902,7 +1931,7 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1902
1931
|
|
|
1903
1932
|
@property
|
|
1904
1933
|
def DosageAmount(self):
|
|
1905
|
-
r"""
|
|
1934
|
+
r"""<p>累计按量计费预期金额(单位:元)</p>
|
|
1906
1935
|
:rtype: str
|
|
1907
1936
|
"""
|
|
1908
1937
|
return self._DosageAmount
|
|
@@ -1913,7 +1942,7 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1913
1942
|
|
|
1914
1943
|
@property
|
|
1915
1944
|
def CostAmount(self):
|
|
1916
|
-
r"""
|
|
1945
|
+
r"""<p>累计成本金额(单位:元)</p>
|
|
1917
1946
|
:rtype: str
|
|
1918
1947
|
"""
|
|
1919
1948
|
return self._CostAmount
|
|
@@ -1924,7 +1953,7 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1924
1953
|
|
|
1925
1954
|
@property
|
|
1926
1955
|
def Region(self):
|
|
1927
|
-
r"""
|
|
1956
|
+
r"""<p>地域</p>
|
|
1928
1957
|
:rtype: list of str
|
|
1929
1958
|
"""
|
|
1930
1959
|
return self._Region
|
|
@@ -1935,6 +1964,7 @@ class SavingPlanUsageDetail(AbstractModel):
|
|
|
1935
1964
|
|
|
1936
1965
|
|
|
1937
1966
|
def _deserialize(self, params):
|
|
1967
|
+
self._SpId = params.get("SpId")
|
|
1938
1968
|
self._SpType = params.get("SpType")
|
|
1939
1969
|
self._Status = params.get("Status")
|
|
1940
1970
|
self._DeductAmount = params.get("DeductAmount")
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.svp.v20240125 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class SvpClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2024-01-25'
|
|
25
|
+
_endpoint = 'svp.tencentcloudapi.com'
|
|
26
|
+
_service = 'svp'
|
|
27
|
+
|
|
28
|
+
async def CreateSavingPlanOrder(
|
|
29
|
+
self,
|
|
30
|
+
request: models.CreateSavingPlanOrderRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.CreateSavingPlanOrderResponse:
|
|
33
|
+
"""
|
|
34
|
+
创建节省计划订单
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "CreateSavingPlanOrder"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.CreateSavingPlanOrderResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def DescribeSavingPlanCoverage(
|
|
47
|
+
self,
|
|
48
|
+
request: models.DescribeSavingPlanCoverageRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.DescribeSavingPlanCoverageResponse:
|
|
51
|
+
"""
|
|
52
|
+
查询当前用户节省计划覆盖率明细数据,如无特别说明,金额单位均为元(国内站)或者美元(国际站)。
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "DescribeSavingPlanCoverage"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.DescribeSavingPlanCoverageResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def DescribeSavingPlanDeduct(
|
|
65
|
+
self,
|
|
66
|
+
request: models.DescribeSavingPlanDeductRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.DescribeSavingPlanDeductResponse:
|
|
69
|
+
"""
|
|
70
|
+
查询节省计划抵扣明细
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "DescribeSavingPlanDeduct"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.DescribeSavingPlanDeductResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def DescribeSavingPlanOverview(
|
|
83
|
+
self,
|
|
84
|
+
request: models.DescribeSavingPlanOverviewRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.DescribeSavingPlanOverviewResponse:
|
|
87
|
+
"""
|
|
88
|
+
查用当前用户明细节省计划总览查询时段内的使用情况
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "DescribeSavingPlanOverview"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.DescribeSavingPlanOverviewResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def DescribeSavingPlanUsage(
|
|
101
|
+
self,
|
|
102
|
+
request: models.DescribeSavingPlanUsageRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.DescribeSavingPlanUsageResponse:
|
|
105
|
+
"""
|
|
106
|
+
查用当前用户明细节省计划查询时段内的使用情况
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "DescribeSavingPlanUsage"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.DescribeSavingPlanUsageResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-svp
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.97
|
|
4
4
|
Summary: Tencent Cloud Svp 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.97
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -7,6 +7,7 @@ tencentcloud/svp/v20240125/__init__.py
|
|
|
7
7
|
tencentcloud/svp/v20240125/errorcodes.py
|
|
8
8
|
tencentcloud/svp/v20240125/models.py
|
|
9
9
|
tencentcloud/svp/v20240125/svp_client.py
|
|
10
|
+
tencentcloud/svp/v20240125/svp_client_async.py
|
|
10
11
|
tencentcloud_sdk_python_svp.egg-info/PKG-INFO
|
|
11
12
|
tencentcloud_sdk_python_svp.egg-info/SOURCES.txt
|
|
12
13
|
tencentcloud_sdk_python_svp.egg-info/dependency_links.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.97
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1490
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|