Skip to content

Commit 01eef50

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for billing-Python-2022-01-01-online-1467-2025_08_21_10_43_07
1 parent 7562fdd commit 01eef50

File tree

5 files changed

+32
-6
lines changed

5 files changed

+32
-6
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "4.0.11",
3-
"meta_commit": "7fb9a36e60874a2464bf34408ac0a7f5291aea0d"
2+
"lasted": "4.0.12",
3+
"meta_commit": "acf97e707393345c3ae4ba7f4e4829f0abfc32ba"
44
}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup, find_packages # noqa: H301
44

55
NAME = "volcengine-python-sdk"
6-
VERSION = "4.0.11"
6+
VERSION = "4.0.12"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkbilling/models/list_for_list_coupons_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class ListForListCouponsOutput(object):
4747
'remaining_amount': 'float',
4848
'remark': 'str',
4949
'status': 'int',
50+
'total_amount': 'float',
5051
'usage_limit': 'int'
5152
}
5253

@@ -65,10 +66,11 @@ class ListForListCouponsOutput(object):
6566
'remaining_amount': 'RemainingAmount',
6667
'remark': 'Remark',
6768
'status': 'Status',
69+
'total_amount': 'TotalAmount',
6870
'usage_limit': 'UsageLimit'
6971
}
7072

71-
def __init__(self, account_id=None, acquire_time=None, amount_limit=None, assigned_owner_id_list=None, begin_time=None, coupon_id=None, coupon_name=None, expired_time=None, order_type_limit=None, pay_type_limit=None, product_limit_list=None, remaining_amount=None, remark=None, status=None, usage_limit=None, _configuration=None): # noqa: E501
73+
def __init__(self, account_id=None, acquire_time=None, amount_limit=None, assigned_owner_id_list=None, begin_time=None, coupon_id=None, coupon_name=None, expired_time=None, order_type_limit=None, pay_type_limit=None, product_limit_list=None, remaining_amount=None, remark=None, status=None, total_amount=None, usage_limit=None, _configuration=None): # noqa: E501
7274
"""ListForListCouponsOutput - a model defined in Swagger""" # noqa: E501
7375
if _configuration is None:
7476
_configuration = Configuration()
@@ -88,6 +90,7 @@ def __init__(self, account_id=None, acquire_time=None, amount_limit=None, assign
8890
self._remaining_amount = None
8991
self._remark = None
9092
self._status = None
93+
self._total_amount = None
9194
self._usage_limit = None
9295
self.discriminator = None
9396

@@ -119,6 +122,8 @@ def __init__(self, account_id=None, acquire_time=None, amount_limit=None, assign
119122
self.remark = remark
120123
if status is not None:
121124
self.status = status
125+
if total_amount is not None:
126+
self.total_amount = total_amount
122127
if usage_limit is not None:
123128
self.usage_limit = usage_limit
124129

@@ -416,6 +421,27 @@ def status(self, status):
416421

417422
self._status = status
418423

424+
@property
425+
def total_amount(self):
426+
"""Gets the total_amount of this ListForListCouponsOutput. # noqa: E501
427+
428+
429+
:return: The total_amount of this ListForListCouponsOutput. # noqa: E501
430+
:rtype: float
431+
"""
432+
return self._total_amount
433+
434+
@total_amount.setter
435+
def total_amount(self, total_amount):
436+
"""Sets the total_amount of this ListForListCouponsOutput.
437+
438+
439+
:param total_amount: The total_amount of this ListForListCouponsOutput. # noqa: E501
440+
:type: float
441+
"""
442+
443+
self._total_amount = total_amount
444+
419445
@property
420446
def usage_limit(self):
421447
"""Gets the usage_limit of this ListForListCouponsOutput. # noqa: E501

volcenginesdkcore/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6767
self.default_headers[header_name] = header_value
6868
self.cookie = cookie
6969
# Set default User-Agent.
70-
self.user_agent = 'volcstack-python-sdk/4.0.11'
70+
self.user_agent = 'volcstack-python-sdk/4.0.12'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def to_debug_report(self):
267267
"OS: {env}\n" \
268268
"Python Version: {pyversion}\n" \
269269
"Version of the API: 0.1.0\n" \
270-
"SDK Package Version: 4.0.11".\
270+
"SDK Package Version: 4.0.12".\
271271
format(env=sys.platform, pyversion=sys.version)
272272

273273
@property

0 commit comments

Comments
 (0)