Skip to content

Commit 0310052

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for billing-Python-2022-01-01-online-772-2024_11_14_14_27_14
1 parent 2c976f3 commit 0310052

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": "1.0.108",
3-
"meta_commit": "8039d218891edbb271041a50e524ba8d2f662b13"
2+
"lasted": "1.0.109",
3+
"meta_commit": "7c9734ca2992e9e896a94cefe12625fd4eafb108"
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 = "1.0.108"
6+
VERSION = "1.0.109"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkbilling/models/list_for_list_bill_detail_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class ListForListBillDetailOutput(object):
6464
'expense_end_time': 'str',
6565
'factor': 'str',
6666
'factor_code': 'str',
67+
'formula': 'str',
6768
'instance_name': 'str',
6869
'instance_no': 'str',
6970
'market_price': 'str',
@@ -138,6 +139,7 @@ class ListForListBillDetailOutput(object):
138139
'expense_end_time': 'ExpenseEndTime',
139140
'factor': 'Factor',
140141
'factor_code': 'FactorCode',
142+
'formula': 'Formula',
141143
'instance_name': 'InstanceName',
142144
'instance_no': 'InstanceNo',
143145
'market_price': 'MarketPrice',
@@ -180,7 +182,7 @@ class ListForListBillDetailOutput(object):
180182
'zone_code': 'ZoneCode'
181183
}
182184

183-
def __init__(self, bill_category=None, bill_detail_id=None, bill_id=None, bill_period=None, billing_function=None, billing_method_code=None, billing_mode=None, busi_period=None, business_mode=None, config_name=None, configuration_code=None, count=None, coupon_amount=None, credit_carried_amount=None, currency=None, deduction_count=None, deduction_use_duration=None, discount_bill_amount=None, discount_biz_billing_function=None, discount_biz_measure_interval=None, discount_biz_unit_price=None, discount_biz_unit_price_interval=None, effective_factor=None, element=None, element_code=None, expand_field=None, expense_begin_time=None, expense_date=None, expense_end_time=None, factor=None, factor_code=None, instance_name=None, instance_no=None, market_price=None, measure_interval=None, original_bill_amount=None, owner_customer_name=None, owner_id=None, owner_user_name=None, paid_amount=None, payable_amount=None, payer_customer_name=None, payer_id=None, payer_user_name=None, preferential_bill_amount=None, price=None, price_interval=None, price_unit=None, product=None, product_zh=None, project=None, project_display_name=None, region=None, region_code=None, reservation_instance=None, round_amount=None, seller_customer_name=None, seller_id=None, seller_user_name=None, selling_mode=None, settlement_type=None, solution_zh=None, subject_name=None, tag=None, trade_time=None, unit=None, unpaid_amount=None, use_duration=None, use_duration_unit=None, zone=None, zone_code=None, _configuration=None): # noqa: E501
185+
def __init__(self, bill_category=None, bill_detail_id=None, bill_id=None, bill_period=None, billing_function=None, billing_method_code=None, billing_mode=None, busi_period=None, business_mode=None, config_name=None, configuration_code=None, count=None, coupon_amount=None, credit_carried_amount=None, currency=None, deduction_count=None, deduction_use_duration=None, discount_bill_amount=None, discount_biz_billing_function=None, discount_biz_measure_interval=None, discount_biz_unit_price=None, discount_biz_unit_price_interval=None, effective_factor=None, element=None, element_code=None, expand_field=None, expense_begin_time=None, expense_date=None, expense_end_time=None, factor=None, factor_code=None, formula=None, instance_name=None, instance_no=None, market_price=None, measure_interval=None, original_bill_amount=None, owner_customer_name=None, owner_id=None, owner_user_name=None, paid_amount=None, payable_amount=None, payer_customer_name=None, payer_id=None, payer_user_name=None, preferential_bill_amount=None, price=None, price_interval=None, price_unit=None, product=None, product_zh=None, project=None, project_display_name=None, region=None, region_code=None, reservation_instance=None, round_amount=None, seller_customer_name=None, seller_id=None, seller_user_name=None, selling_mode=None, settlement_type=None, solution_zh=None, subject_name=None, tag=None, trade_time=None, unit=None, unpaid_amount=None, use_duration=None, use_duration_unit=None, zone=None, zone_code=None, _configuration=None): # noqa: E501
184186
"""ListForListBillDetailOutput - a model defined in Swagger""" # noqa: E501
185187
if _configuration is None:
186188
_configuration = Configuration()
@@ -217,6 +219,7 @@ def __init__(self, bill_category=None, bill_detail_id=None, bill_id=None, bill_p
217219
self._expense_end_time = None
218220
self._factor = None
219221
self._factor_code = None
222+
self._formula = None
220223
self._instance_name = None
221224
self._instance_no = None
222225
self._market_price = None
@@ -321,6 +324,8 @@ def __init__(self, bill_category=None, bill_detail_id=None, bill_id=None, bill_p
321324
self.factor = factor
322325
if factor_code is not None:
323326
self.factor_code = factor_code
327+
if formula is not None:
328+
self.formula = formula
324329
if instance_name is not None:
325330
self.instance_name = instance_name
326331
if instance_no is not None:
@@ -1053,6 +1058,27 @@ def factor_code(self, factor_code):
10531058

10541059
self._factor_code = factor_code
10551060

1061+
@property
1062+
def formula(self):
1063+
"""Gets the formula of this ListForListBillDetailOutput. # noqa: E501
1064+
1065+
1066+
:return: The formula of this ListForListBillDetailOutput. # noqa: E501
1067+
:rtype: str
1068+
"""
1069+
return self._formula
1070+
1071+
@formula.setter
1072+
def formula(self, formula):
1073+
"""Sets the formula of this ListForListBillDetailOutput.
1074+
1075+
1076+
:param formula: The formula of this ListForListBillDetailOutput. # noqa: E501
1077+
:type: str
1078+
"""
1079+
1080+
self._formula = formula
1081+
10561082
@property
10571083
def instance_name(self):
10581084
"""Gets the instance_name of this ListForListBillDetailOutput. # 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/1.0.108'
70+
self.user_agent = 'volcstack-python-sdk/1.0.109'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
def __del__(self):

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,5 @@ def to_debug_report(self):
221221
"OS: {env}\n"\
222222
"Python Version: {pyversion}\n"\
223223
"Version of the API: 0.1.0\n"\
224-
"SDK Package Version: 1.0.108".\
224+
"SDK Package Version: 1.0.109".\
225225
format(env=sys.platform, pyversion=sys.version)

0 commit comments

Comments
 (0)