Skip to content

Commit eb2e055

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for billing-Python-2022-01-01-online-962-2025_02_12_14_11_50
1 parent 431e60a commit eb2e055

12 files changed

+773
-8
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.123",
3-
"meta_commit": "77fbf550bccfecee9231f7f7777625bfd3746b14"
2+
"lasted": "1.0.124",
3+
"meta_commit": "7d149bf80d596c13f7baef3f667e59d4ed7b70f1"
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.123"
6+
VERSION = "1.0.124"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkbilling/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
from volcenginesdkbilling.models.list_resource_packages_response import ListResourcePackagesResponse
7979
from volcenginesdkbilling.models.list_split_bill_detail_request import ListSplitBillDetailRequest
8080
from volcenginesdkbilling.models.list_split_bill_detail_response import ListSplitBillDetailResponse
81+
from volcenginesdkbilling.models.order_fail_refund_info_for_get_order_output import OrderFailRefundInfoForGetOrderOutput
82+
from volcenginesdkbilling.models.order_fail_refund_info_for_list_order_product_details_output import OrderFailRefundInfoForListOrderProductDetailsOutput
83+
from volcenginesdkbilling.models.order_fail_refund_info_for_list_orders_output import OrderFailRefundInfoForListOrdersOutput
8184
from volcenginesdkbilling.models.order_info_for_get_order_output import OrderInfoForGetOrderOutput
8285
from volcenginesdkbilling.models.order_info_for_list_orders_output import OrderInfoForListOrdersOutput
8386
from volcenginesdkbilling.models.order_product_info_for_list_order_product_details_output import OrderProductInfoForListOrderProductDetailsOutput

volcenginesdkbilling/models/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474
from volcenginesdkbilling.models.list_resource_packages_response import ListResourcePackagesResponse
7575
from volcenginesdkbilling.models.list_split_bill_detail_request import ListSplitBillDetailRequest
7676
from volcenginesdkbilling.models.list_split_bill_detail_response import ListSplitBillDetailResponse
77+
from volcenginesdkbilling.models.order_fail_refund_info_for_get_order_output import OrderFailRefundInfoForGetOrderOutput
78+
from volcenginesdkbilling.models.order_fail_refund_info_for_list_order_product_details_output import OrderFailRefundInfoForListOrderProductDetailsOutput
79+
from volcenginesdkbilling.models.order_fail_refund_info_for_list_orders_output import OrderFailRefundInfoForListOrdersOutput
7780
from volcenginesdkbilling.models.order_info_for_get_order_output import OrderInfoForGetOrderOutput
7881
from volcenginesdkbilling.models.order_info_for_list_orders_output import OrderInfoForListOrdersOutput
7982
from volcenginesdkbilling.models.order_product_info_for_list_order_product_details_output import OrderProductInfoForListOrderProductDetailsOutput
Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
# coding: utf-8
2+
3+
"""
4+
billing
5+
6+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7+
8+
OpenAPI spec version: common-version
9+
10+
Generated by: https://github.com/swagger-api/swagger-codegen.git
11+
"""
12+
13+
14+
import pprint
15+
import re # noqa: F401
16+
17+
import six
18+
19+
from volcenginesdkcore.configuration import Configuration
20+
21+
22+
class OrderFailRefundInfoForGetOrderOutput(object):
23+
"""NOTE: This class is auto generated by the swagger code generator program.
24+
25+
Do not edit the class manually.
26+
"""
27+
28+
"""
29+
Attributes:
30+
swagger_types (dict): The key is attribute name
31+
and the value is attribute type.
32+
attribute_map (dict): The key is attribute name
33+
and the value is json key in definition.
34+
"""
35+
swagger_types = {
36+
'coupon_amount': 'str',
37+
'discount_amount': 'str',
38+
'original_amount': 'str',
39+
'paid_amount': 'str',
40+
'payable_amount': 'str'
41+
}
42+
43+
attribute_map = {
44+
'coupon_amount': 'CouponAmount',
45+
'discount_amount': 'DiscountAmount',
46+
'original_amount': 'OriginalAmount',
47+
'paid_amount': 'PaidAmount',
48+
'payable_amount': 'PayableAmount'
49+
}
50+
51+
def __init__(self, coupon_amount=None, discount_amount=None, original_amount=None, paid_amount=None, payable_amount=None, _configuration=None): # noqa: E501
52+
"""OrderFailRefundInfoForGetOrderOutput - a model defined in Swagger""" # noqa: E501
53+
if _configuration is None:
54+
_configuration = Configuration()
55+
self._configuration = _configuration
56+
57+
self._coupon_amount = None
58+
self._discount_amount = None
59+
self._original_amount = None
60+
self._paid_amount = None
61+
self._payable_amount = None
62+
self.discriminator = None
63+
64+
if coupon_amount is not None:
65+
self.coupon_amount = coupon_amount
66+
if discount_amount is not None:
67+
self.discount_amount = discount_amount
68+
if original_amount is not None:
69+
self.original_amount = original_amount
70+
if paid_amount is not None:
71+
self.paid_amount = paid_amount
72+
if payable_amount is not None:
73+
self.payable_amount = payable_amount
74+
75+
@property
76+
def coupon_amount(self):
77+
"""Gets the coupon_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
78+
79+
80+
:return: The coupon_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
81+
:rtype: str
82+
"""
83+
return self._coupon_amount
84+
85+
@coupon_amount.setter
86+
def coupon_amount(self, coupon_amount):
87+
"""Sets the coupon_amount of this OrderFailRefundInfoForGetOrderOutput.
88+
89+
90+
:param coupon_amount: The coupon_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
91+
:type: str
92+
"""
93+
94+
self._coupon_amount = coupon_amount
95+
96+
@property
97+
def discount_amount(self):
98+
"""Gets the discount_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
99+
100+
101+
:return: The discount_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
102+
:rtype: str
103+
"""
104+
return self._discount_amount
105+
106+
@discount_amount.setter
107+
def discount_amount(self, discount_amount):
108+
"""Sets the discount_amount of this OrderFailRefundInfoForGetOrderOutput.
109+
110+
111+
:param discount_amount: The discount_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
112+
:type: str
113+
"""
114+
115+
self._discount_amount = discount_amount
116+
117+
@property
118+
def original_amount(self):
119+
"""Gets the original_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
120+
121+
122+
:return: The original_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
123+
:rtype: str
124+
"""
125+
return self._original_amount
126+
127+
@original_amount.setter
128+
def original_amount(self, original_amount):
129+
"""Sets the original_amount of this OrderFailRefundInfoForGetOrderOutput.
130+
131+
132+
:param original_amount: The original_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
133+
:type: str
134+
"""
135+
136+
self._original_amount = original_amount
137+
138+
@property
139+
def paid_amount(self):
140+
"""Gets the paid_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
141+
142+
143+
:return: The paid_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
144+
:rtype: str
145+
"""
146+
return self._paid_amount
147+
148+
@paid_amount.setter
149+
def paid_amount(self, paid_amount):
150+
"""Sets the paid_amount of this OrderFailRefundInfoForGetOrderOutput.
151+
152+
153+
:param paid_amount: The paid_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
154+
:type: str
155+
"""
156+
157+
self._paid_amount = paid_amount
158+
159+
@property
160+
def payable_amount(self):
161+
"""Gets the payable_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
162+
163+
164+
:return: The payable_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
165+
:rtype: str
166+
"""
167+
return self._payable_amount
168+
169+
@payable_amount.setter
170+
def payable_amount(self, payable_amount):
171+
"""Sets the payable_amount of this OrderFailRefundInfoForGetOrderOutput.
172+
173+
174+
:param payable_amount: The payable_amount of this OrderFailRefundInfoForGetOrderOutput. # noqa: E501
175+
:type: str
176+
"""
177+
178+
self._payable_amount = payable_amount
179+
180+
def to_dict(self):
181+
"""Returns the model properties as a dict"""
182+
result = {}
183+
184+
for attr, _ in six.iteritems(self.swagger_types):
185+
value = getattr(self, attr)
186+
if isinstance(value, list):
187+
result[attr] = list(map(
188+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
189+
value
190+
))
191+
elif hasattr(value, "to_dict"):
192+
result[attr] = value.to_dict()
193+
elif isinstance(value, dict):
194+
result[attr] = dict(map(
195+
lambda item: (item[0], item[1].to_dict())
196+
if hasattr(item[1], "to_dict") else item,
197+
value.items()
198+
))
199+
else:
200+
result[attr] = value
201+
if issubclass(OrderFailRefundInfoForGetOrderOutput, dict):
202+
for key, value in self.items():
203+
result[key] = value
204+
205+
return result
206+
207+
def to_str(self):
208+
"""Returns the string representation of the model"""
209+
return pprint.pformat(self.to_dict())
210+
211+
def __repr__(self):
212+
"""For `print` and `pprint`"""
213+
return self.to_str()
214+
215+
def __eq__(self, other):
216+
"""Returns true if both objects are equal"""
217+
if not isinstance(other, OrderFailRefundInfoForGetOrderOutput):
218+
return False
219+
220+
return self.to_dict() == other.to_dict()
221+
222+
def __ne__(self, other):
223+
"""Returns true if both objects are not equal"""
224+
if not isinstance(other, OrderFailRefundInfoForGetOrderOutput):
225+
return True
226+
227+
return self.to_dict() != other.to_dict()

0 commit comments

Comments
 (0)