byteplus-python-sdk-v2 3.0.62__py2.py3-none-any.whl → 3.0.63__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.
- {byteplus_python_sdk_v2-3.0.62.dist-info → byteplus_python_sdk_v2-3.0.63.dist-info}/METADATA +1 -1
- {byteplus_python_sdk_v2-3.0.62.dist-info → byteplus_python_sdk_v2-3.0.63.dist-info}/RECORD +58 -30
- {byteplus_python_sdk_v2-3.0.62.dist-info → byteplus_python_sdk_v2-3.0.63.dist-info}/WHEEL +1 -1
- byteplussdkcore/api_client.py +1 -1
- byteplussdkcore/configuration.py +1 -1
- byteplussdkecopartner/__init__.py +10 -0
- byteplussdkecopartner/api/eco_partner_api.py +291 -0
- byteplussdkecopartner/models/__init__.py +10 -0
- byteplussdkecopartner/models/download_bill_request.py +129 -0
- byteplussdkredis/models/configure_node_for_create_enterprise_db_instance_input.py → byteplussdkecopartner/models/download_bill_response.py +23 -23
- byteplussdkecopartner/models/file_for_download_bill_output.py +175 -0
- byteplussdkecopartner/models/initiate_bill_generation_request.py +190 -0
- byteplussdkecopartner/models/initiate_bill_generation_response.py +253 -0
- byteplussdkecopartner/models/item_for_list_billing_items_output.py +461 -0
- byteplussdkecopartner/models/list_billing_items_request.py +240 -0
- byteplussdkecopartner/models/list_billing_items_response.py +253 -0
- byteplussdkecopartner/models/task_for_download_bill_output.py +409 -0
- byteplussdkecopartner/models/total_for_list_billing_items_output.py +305 -0
- byteplussdkredis/__init__.py +6 -4
- byteplussdkredis/api/redis_api.py +97 -97
- byteplussdkredis/models/__init__.py +6 -4
- byteplussdkredis/models/describe_planned_event_impact_detail_request.py +124 -0
- byteplussdkredis/models/describe_planned_event_impact_detail_response.py +123 -0
- byteplussdkredis/models/impact_for_describe_planned_event_impact_detail_output.py +149 -0
- byteplussdkredis/models/impact_item_for_describe_planned_event_impact_detail_output.py +201 -0
- byteplussdkredis/models/impact_summary_for_describe_planned_events_output.py +201 -0
- byteplussdkredis/models/involved_node_for_describe_planned_event_impact_detail_output.py +201 -0
- byteplussdkredis/models/planned_event_for_describe_planned_events_output.py +79 -1
- byteplussdkresourcecenter/__init__.py +16 -0
- byteplussdkresourcecenter/api/resourcecenter_api.py +485 -0
- byteplussdkresourcecenter/models/__init__.py +16 -0
- byteplussdkresourcecenter/models/create_query_request.py +11 -3
- byteplussdkresourcecenter/models/execute_multi_account_sql_query_request.py +211 -0
- byteplussdkresourcecenter/models/execute_multi_account_sql_query_response.py +149 -0
- byteplussdkresourcecenter/models/execute_sql_query_request.py +9 -0
- byteplussdkresourcecenter/models/execute_sql_query_response.py +29 -3
- byteplussdkresourcecenter/models/get_multi_account_resource_center_status_response.py +15 -15
- byteplussdkresourcecenter/models/get_multi_account_resource_description_request.py +204 -0
- byteplussdkresourcecenter/models/get_multi_account_resource_description_response.py +461 -0
- byteplussdkresourcecenter/models/get_resource_description_request.py +177 -0
- byteplussdkresourcecenter/models/get_resource_description_response.py +461 -0
- byteplussdkresourcecenter/models/list_multi_account_resource_relationships_request.py +262 -0
- byteplussdkresourcecenter/models/list_multi_account_resource_relationships_response.py +149 -0
- byteplussdkresourcecenter/models/list_resource_relationships_request.py +235 -0
- byteplussdkresourcecenter/models/list_resource_relationships_response.py +149 -0
- byteplussdkresourcecenter/models/related_type_name_for_list_resource_types_output.py +149 -0
- byteplussdkresourcecenter/models/resource_relationship_for_list_multi_account_resource_relationships_output.py +227 -0
- byteplussdkresourcecenter/models/resource_relationship_for_list_resource_relationships_output.py +227 -0
- byteplussdkresourcecenter/models/resource_type_for_list_resource_types_output.py +55 -3
- byteplussdkresourcecenter/models/scope_for_execute_multi_account_sql_query_input.py +175 -0
- byteplussdkresourcecenter/models/search_multi_account_resources_request.py +20 -0
- byteplussdkresourcecenter/models/search_resources_request.py +6 -0
- byteplussdkredis/models/create_enterprise_db_instance_response.py → byteplussdkresourcecenter/models/tag_for_get_multi_account_resource_description_output.py +35 -35
- byteplussdkredis/models/tag_for_create_enterprise_db_instance_input.py → byteplussdkresourcecenter/models/tag_for_get_resource_description_output.py +14 -14
- byteplussdkresourcecenter/models/update_query_request.py +9 -0
- byteplussdkredis/models/create_enterprise_db_instance_request.py +0 -625
- {byteplus_python_sdk_v2-3.0.62.dist-info → byteplus_python_sdk_v2-3.0.63.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.62.dist-info → byteplus_python_sdk_v2-3.0.63.dist-info}/licenses/NOTICE.md +0 -0
- {byteplus_python_sdk_v2-3.0.62.dist-info → byteplus_python_sdk_v2-3.0.63.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
eco_partner
|
|
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 byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class InitiateBillGenerationResponse(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
|
+
'account_id': 'int',
|
|
37
|
+
'bill_period': 'str',
|
|
38
|
+
'bill_type': 'str',
|
|
39
|
+
'created_at': 'str',
|
|
40
|
+
'status': 'str',
|
|
41
|
+
'task_id': 'str'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'account_id': 'AccountId',
|
|
46
|
+
'bill_period': 'BillPeriod',
|
|
47
|
+
'bill_type': 'BillType',
|
|
48
|
+
'created_at': 'CreatedAt',
|
|
49
|
+
'status': 'Status',
|
|
50
|
+
'task_id': 'TaskId'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, account_id=None, bill_period=None, bill_type=None, created_at=None, status=None, task_id=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""InitiateBillGenerationResponse - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._account_id = None
|
|
60
|
+
self._bill_period = None
|
|
61
|
+
self._bill_type = None
|
|
62
|
+
self._created_at = None
|
|
63
|
+
self._status = None
|
|
64
|
+
self._task_id = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if account_id is not None:
|
|
68
|
+
self.account_id = account_id
|
|
69
|
+
if bill_period is not None:
|
|
70
|
+
self.bill_period = bill_period
|
|
71
|
+
if bill_type is not None:
|
|
72
|
+
self.bill_type = bill_type
|
|
73
|
+
if created_at is not None:
|
|
74
|
+
self.created_at = created_at
|
|
75
|
+
if status is not None:
|
|
76
|
+
self.status = status
|
|
77
|
+
if task_id is not None:
|
|
78
|
+
self.task_id = task_id
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def account_id(self):
|
|
82
|
+
"""Gets the account_id of this InitiateBillGenerationResponse. # noqa: E501
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:return: The account_id of this InitiateBillGenerationResponse. # noqa: E501
|
|
86
|
+
:rtype: int
|
|
87
|
+
"""
|
|
88
|
+
return self._account_id
|
|
89
|
+
|
|
90
|
+
@account_id.setter
|
|
91
|
+
def account_id(self, account_id):
|
|
92
|
+
"""Sets the account_id of this InitiateBillGenerationResponse.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param account_id: The account_id of this InitiateBillGenerationResponse. # noqa: E501
|
|
96
|
+
:type: int
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
self._account_id = account_id
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def bill_period(self):
|
|
103
|
+
"""Gets the bill_period of this InitiateBillGenerationResponse. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The bill_period of this InitiateBillGenerationResponse. # noqa: E501
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._bill_period
|
|
110
|
+
|
|
111
|
+
@bill_period.setter
|
|
112
|
+
def bill_period(self, bill_period):
|
|
113
|
+
"""Sets the bill_period of this InitiateBillGenerationResponse.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param bill_period: The bill_period of this InitiateBillGenerationResponse. # noqa: E501
|
|
117
|
+
:type: str
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._bill_period = bill_period
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def bill_type(self):
|
|
124
|
+
"""Gets the bill_type of this InitiateBillGenerationResponse. # noqa: E501
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:return: The bill_type of this InitiateBillGenerationResponse. # noqa: E501
|
|
128
|
+
:rtype: str
|
|
129
|
+
"""
|
|
130
|
+
return self._bill_type
|
|
131
|
+
|
|
132
|
+
@bill_type.setter
|
|
133
|
+
def bill_type(self, bill_type):
|
|
134
|
+
"""Sets the bill_type of this InitiateBillGenerationResponse.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:param bill_type: The bill_type of this InitiateBillGenerationResponse. # noqa: E501
|
|
138
|
+
:type: str
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
self._bill_type = bill_type
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def created_at(self):
|
|
145
|
+
"""Gets the created_at of this InitiateBillGenerationResponse. # noqa: E501
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:return: The created_at of this InitiateBillGenerationResponse. # noqa: E501
|
|
149
|
+
:rtype: str
|
|
150
|
+
"""
|
|
151
|
+
return self._created_at
|
|
152
|
+
|
|
153
|
+
@created_at.setter
|
|
154
|
+
def created_at(self, created_at):
|
|
155
|
+
"""Sets the created_at of this InitiateBillGenerationResponse.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:param created_at: The created_at of this InitiateBillGenerationResponse. # noqa: E501
|
|
159
|
+
:type: str
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
self._created_at = created_at
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def status(self):
|
|
166
|
+
"""Gets the status of this InitiateBillGenerationResponse. # noqa: E501
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:return: The status of this InitiateBillGenerationResponse. # noqa: E501
|
|
170
|
+
:rtype: str
|
|
171
|
+
"""
|
|
172
|
+
return self._status
|
|
173
|
+
|
|
174
|
+
@status.setter
|
|
175
|
+
def status(self, status):
|
|
176
|
+
"""Sets the status of this InitiateBillGenerationResponse.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:param status: The status of this InitiateBillGenerationResponse. # noqa: E501
|
|
180
|
+
:type: str
|
|
181
|
+
"""
|
|
182
|
+
|
|
183
|
+
self._status = status
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
def task_id(self):
|
|
187
|
+
"""Gets the task_id of this InitiateBillGenerationResponse. # noqa: E501
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
:return: The task_id of this InitiateBillGenerationResponse. # noqa: E501
|
|
191
|
+
:rtype: str
|
|
192
|
+
"""
|
|
193
|
+
return self._task_id
|
|
194
|
+
|
|
195
|
+
@task_id.setter
|
|
196
|
+
def task_id(self, task_id):
|
|
197
|
+
"""Sets the task_id of this InitiateBillGenerationResponse.
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:param task_id: The task_id of this InitiateBillGenerationResponse. # noqa: E501
|
|
201
|
+
:type: str
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
self._task_id = task_id
|
|
205
|
+
|
|
206
|
+
def to_dict(self):
|
|
207
|
+
"""Returns the model properties as a dict"""
|
|
208
|
+
result = {}
|
|
209
|
+
|
|
210
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
211
|
+
value = getattr(self, attr)
|
|
212
|
+
if isinstance(value, list):
|
|
213
|
+
result[attr] = list(map(
|
|
214
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
215
|
+
value
|
|
216
|
+
))
|
|
217
|
+
elif hasattr(value, "to_dict"):
|
|
218
|
+
result[attr] = value.to_dict()
|
|
219
|
+
elif isinstance(value, dict):
|
|
220
|
+
result[attr] = dict(map(
|
|
221
|
+
lambda item: (item[0], item[1].to_dict())
|
|
222
|
+
if hasattr(item[1], "to_dict") else item,
|
|
223
|
+
value.items()
|
|
224
|
+
))
|
|
225
|
+
else:
|
|
226
|
+
result[attr] = value
|
|
227
|
+
if issubclass(InitiateBillGenerationResponse, dict):
|
|
228
|
+
for key, value in self.items():
|
|
229
|
+
result[key] = value
|
|
230
|
+
|
|
231
|
+
return result
|
|
232
|
+
|
|
233
|
+
def to_str(self):
|
|
234
|
+
"""Returns the string representation of the model"""
|
|
235
|
+
return pprint.pformat(self.to_dict())
|
|
236
|
+
|
|
237
|
+
def __repr__(self):
|
|
238
|
+
"""For `print` and `pprint`"""
|
|
239
|
+
return self.to_str()
|
|
240
|
+
|
|
241
|
+
def __eq__(self, other):
|
|
242
|
+
"""Returns true if both objects are equal"""
|
|
243
|
+
if not isinstance(other, InitiateBillGenerationResponse):
|
|
244
|
+
return False
|
|
245
|
+
|
|
246
|
+
return self.to_dict() == other.to_dict()
|
|
247
|
+
|
|
248
|
+
def __ne__(self, other):
|
|
249
|
+
"""Returns true if both objects are not equal"""
|
|
250
|
+
if not isinstance(other, InitiateBillGenerationResponse):
|
|
251
|
+
return True
|
|
252
|
+
|
|
253
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
eco_partner
|
|
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 byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ItemForListBillingItemsOutput(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
|
+
'count': 'str',
|
|
37
|
+
'coupon_amount': 'str',
|
|
38
|
+
'currency': 'str',
|
|
39
|
+
'discount_bill_amount': 'str',
|
|
40
|
+
'element': 'str',
|
|
41
|
+
'element_code': 'str',
|
|
42
|
+
'element_codes': 'list[str]',
|
|
43
|
+
'original_bill_amount': 'str',
|
|
44
|
+
'paid_amount': 'str',
|
|
45
|
+
'payable_amount': 'str',
|
|
46
|
+
'product': 'str',
|
|
47
|
+
'settle_payable_amount': 'str',
|
|
48
|
+
'settlement_currency': 'str',
|
|
49
|
+
'unit': 'str'
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
attribute_map = {
|
|
53
|
+
'count': 'Count',
|
|
54
|
+
'coupon_amount': 'CouponAmount',
|
|
55
|
+
'currency': 'Currency',
|
|
56
|
+
'discount_bill_amount': 'DiscountBillAmount',
|
|
57
|
+
'element': 'Element',
|
|
58
|
+
'element_code': 'ElementCode',
|
|
59
|
+
'element_codes': 'ElementCodes',
|
|
60
|
+
'original_bill_amount': 'OriginalBillAmount',
|
|
61
|
+
'paid_amount': 'PaidAmount',
|
|
62
|
+
'payable_amount': 'PayableAmount',
|
|
63
|
+
'product': 'Product',
|
|
64
|
+
'settle_payable_amount': 'SettlePayableAmount',
|
|
65
|
+
'settlement_currency': 'SettlementCurrency',
|
|
66
|
+
'unit': 'Unit'
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
def __init__(self, count=None, coupon_amount=None, currency=None, discount_bill_amount=None, element=None, element_code=None, element_codes=None, original_bill_amount=None, paid_amount=None, payable_amount=None, product=None, settle_payable_amount=None, settlement_currency=None, unit=None, _configuration=None): # noqa: E501
|
|
70
|
+
"""ItemForListBillingItemsOutput - a model defined in Swagger""" # noqa: E501
|
|
71
|
+
if _configuration is None:
|
|
72
|
+
_configuration = Configuration()
|
|
73
|
+
self._configuration = _configuration
|
|
74
|
+
|
|
75
|
+
self._count = None
|
|
76
|
+
self._coupon_amount = None
|
|
77
|
+
self._currency = None
|
|
78
|
+
self._discount_bill_amount = None
|
|
79
|
+
self._element = None
|
|
80
|
+
self._element_code = None
|
|
81
|
+
self._element_codes = None
|
|
82
|
+
self._original_bill_amount = None
|
|
83
|
+
self._paid_amount = None
|
|
84
|
+
self._payable_amount = None
|
|
85
|
+
self._product = None
|
|
86
|
+
self._settle_payable_amount = None
|
|
87
|
+
self._settlement_currency = None
|
|
88
|
+
self._unit = None
|
|
89
|
+
self.discriminator = None
|
|
90
|
+
|
|
91
|
+
if count is not None:
|
|
92
|
+
self.count = count
|
|
93
|
+
if coupon_amount is not None:
|
|
94
|
+
self.coupon_amount = coupon_amount
|
|
95
|
+
if currency is not None:
|
|
96
|
+
self.currency = currency
|
|
97
|
+
if discount_bill_amount is not None:
|
|
98
|
+
self.discount_bill_amount = discount_bill_amount
|
|
99
|
+
if element is not None:
|
|
100
|
+
self.element = element
|
|
101
|
+
if element_code is not None:
|
|
102
|
+
self.element_code = element_code
|
|
103
|
+
if element_codes is not None:
|
|
104
|
+
self.element_codes = element_codes
|
|
105
|
+
if original_bill_amount is not None:
|
|
106
|
+
self.original_bill_amount = original_bill_amount
|
|
107
|
+
if paid_amount is not None:
|
|
108
|
+
self.paid_amount = paid_amount
|
|
109
|
+
if payable_amount is not None:
|
|
110
|
+
self.payable_amount = payable_amount
|
|
111
|
+
if product is not None:
|
|
112
|
+
self.product = product
|
|
113
|
+
if settle_payable_amount is not None:
|
|
114
|
+
self.settle_payable_amount = settle_payable_amount
|
|
115
|
+
if settlement_currency is not None:
|
|
116
|
+
self.settlement_currency = settlement_currency
|
|
117
|
+
if unit is not None:
|
|
118
|
+
self.unit = unit
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def count(self):
|
|
122
|
+
"""Gets the count of this ItemForListBillingItemsOutput. # noqa: E501
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
:return: The count of this ItemForListBillingItemsOutput. # noqa: E501
|
|
126
|
+
:rtype: str
|
|
127
|
+
"""
|
|
128
|
+
return self._count
|
|
129
|
+
|
|
130
|
+
@count.setter
|
|
131
|
+
def count(self, count):
|
|
132
|
+
"""Sets the count of this ItemForListBillingItemsOutput.
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:param count: The count of this ItemForListBillingItemsOutput. # noqa: E501
|
|
136
|
+
:type: str
|
|
137
|
+
"""
|
|
138
|
+
|
|
139
|
+
self._count = count
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
def coupon_amount(self):
|
|
143
|
+
"""Gets the coupon_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
:return: The coupon_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
147
|
+
:rtype: str
|
|
148
|
+
"""
|
|
149
|
+
return self._coupon_amount
|
|
150
|
+
|
|
151
|
+
@coupon_amount.setter
|
|
152
|
+
def coupon_amount(self, coupon_amount):
|
|
153
|
+
"""Sets the coupon_amount of this ItemForListBillingItemsOutput.
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:param coupon_amount: The coupon_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
157
|
+
:type: str
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
self._coupon_amount = coupon_amount
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
def currency(self):
|
|
164
|
+
"""Gets the currency of this ItemForListBillingItemsOutput. # noqa: E501
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
:return: The currency of this ItemForListBillingItemsOutput. # noqa: E501
|
|
168
|
+
:rtype: str
|
|
169
|
+
"""
|
|
170
|
+
return self._currency
|
|
171
|
+
|
|
172
|
+
@currency.setter
|
|
173
|
+
def currency(self, currency):
|
|
174
|
+
"""Sets the currency of this ItemForListBillingItemsOutput.
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
:param currency: The currency of this ItemForListBillingItemsOutput. # noqa: E501
|
|
178
|
+
:type: str
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
self._currency = currency
|
|
182
|
+
|
|
183
|
+
@property
|
|
184
|
+
def discount_bill_amount(self):
|
|
185
|
+
"""Gets the discount_bill_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
:return: The discount_bill_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
189
|
+
:rtype: str
|
|
190
|
+
"""
|
|
191
|
+
return self._discount_bill_amount
|
|
192
|
+
|
|
193
|
+
@discount_bill_amount.setter
|
|
194
|
+
def discount_bill_amount(self, discount_bill_amount):
|
|
195
|
+
"""Sets the discount_bill_amount of this ItemForListBillingItemsOutput.
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
:param discount_bill_amount: The discount_bill_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
199
|
+
:type: str
|
|
200
|
+
"""
|
|
201
|
+
|
|
202
|
+
self._discount_bill_amount = discount_bill_amount
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
def element(self):
|
|
206
|
+
"""Gets the element of this ItemForListBillingItemsOutput. # noqa: E501
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
:return: The element of this ItemForListBillingItemsOutput. # noqa: E501
|
|
210
|
+
:rtype: str
|
|
211
|
+
"""
|
|
212
|
+
return self._element
|
|
213
|
+
|
|
214
|
+
@element.setter
|
|
215
|
+
def element(self, element):
|
|
216
|
+
"""Sets the element of this ItemForListBillingItemsOutput.
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
:param element: The element of this ItemForListBillingItemsOutput. # noqa: E501
|
|
220
|
+
:type: str
|
|
221
|
+
"""
|
|
222
|
+
|
|
223
|
+
self._element = element
|
|
224
|
+
|
|
225
|
+
@property
|
|
226
|
+
def element_code(self):
|
|
227
|
+
"""Gets the element_code of this ItemForListBillingItemsOutput. # noqa: E501
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
:return: The element_code of this ItemForListBillingItemsOutput. # noqa: E501
|
|
231
|
+
:rtype: str
|
|
232
|
+
"""
|
|
233
|
+
return self._element_code
|
|
234
|
+
|
|
235
|
+
@element_code.setter
|
|
236
|
+
def element_code(self, element_code):
|
|
237
|
+
"""Sets the element_code of this ItemForListBillingItemsOutput.
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
:param element_code: The element_code of this ItemForListBillingItemsOutput. # noqa: E501
|
|
241
|
+
:type: str
|
|
242
|
+
"""
|
|
243
|
+
|
|
244
|
+
self._element_code = element_code
|
|
245
|
+
|
|
246
|
+
@property
|
|
247
|
+
def element_codes(self):
|
|
248
|
+
"""Gets the element_codes of this ItemForListBillingItemsOutput. # noqa: E501
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
:return: The element_codes of this ItemForListBillingItemsOutput. # noqa: E501
|
|
252
|
+
:rtype: list[str]
|
|
253
|
+
"""
|
|
254
|
+
return self._element_codes
|
|
255
|
+
|
|
256
|
+
@element_codes.setter
|
|
257
|
+
def element_codes(self, element_codes):
|
|
258
|
+
"""Sets the element_codes of this ItemForListBillingItemsOutput.
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
:param element_codes: The element_codes of this ItemForListBillingItemsOutput. # noqa: E501
|
|
262
|
+
:type: list[str]
|
|
263
|
+
"""
|
|
264
|
+
|
|
265
|
+
self._element_codes = element_codes
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
def original_bill_amount(self):
|
|
269
|
+
"""Gets the original_bill_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
:return: The original_bill_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
273
|
+
:rtype: str
|
|
274
|
+
"""
|
|
275
|
+
return self._original_bill_amount
|
|
276
|
+
|
|
277
|
+
@original_bill_amount.setter
|
|
278
|
+
def original_bill_amount(self, original_bill_amount):
|
|
279
|
+
"""Sets the original_bill_amount of this ItemForListBillingItemsOutput.
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
:param original_bill_amount: The original_bill_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
283
|
+
:type: str
|
|
284
|
+
"""
|
|
285
|
+
|
|
286
|
+
self._original_bill_amount = original_bill_amount
|
|
287
|
+
|
|
288
|
+
@property
|
|
289
|
+
def paid_amount(self):
|
|
290
|
+
"""Gets the paid_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
:return: The paid_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
294
|
+
:rtype: str
|
|
295
|
+
"""
|
|
296
|
+
return self._paid_amount
|
|
297
|
+
|
|
298
|
+
@paid_amount.setter
|
|
299
|
+
def paid_amount(self, paid_amount):
|
|
300
|
+
"""Sets the paid_amount of this ItemForListBillingItemsOutput.
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
:param paid_amount: The paid_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
304
|
+
:type: str
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
self._paid_amount = paid_amount
|
|
308
|
+
|
|
309
|
+
@property
|
|
310
|
+
def payable_amount(self):
|
|
311
|
+
"""Gets the payable_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
:return: The payable_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
315
|
+
:rtype: str
|
|
316
|
+
"""
|
|
317
|
+
return self._payable_amount
|
|
318
|
+
|
|
319
|
+
@payable_amount.setter
|
|
320
|
+
def payable_amount(self, payable_amount):
|
|
321
|
+
"""Sets the payable_amount of this ItemForListBillingItemsOutput.
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
:param payable_amount: The payable_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
325
|
+
:type: str
|
|
326
|
+
"""
|
|
327
|
+
|
|
328
|
+
self._payable_amount = payable_amount
|
|
329
|
+
|
|
330
|
+
@property
|
|
331
|
+
def product(self):
|
|
332
|
+
"""Gets the product of this ItemForListBillingItemsOutput. # noqa: E501
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
:return: The product of this ItemForListBillingItemsOutput. # noqa: E501
|
|
336
|
+
:rtype: str
|
|
337
|
+
"""
|
|
338
|
+
return self._product
|
|
339
|
+
|
|
340
|
+
@product.setter
|
|
341
|
+
def product(self, product):
|
|
342
|
+
"""Sets the product of this ItemForListBillingItemsOutput.
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
:param product: The product of this ItemForListBillingItemsOutput. # noqa: E501
|
|
346
|
+
:type: str
|
|
347
|
+
"""
|
|
348
|
+
|
|
349
|
+
self._product = product
|
|
350
|
+
|
|
351
|
+
@property
|
|
352
|
+
def settle_payable_amount(self):
|
|
353
|
+
"""Gets the settle_payable_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
:return: The settle_payable_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
357
|
+
:rtype: str
|
|
358
|
+
"""
|
|
359
|
+
return self._settle_payable_amount
|
|
360
|
+
|
|
361
|
+
@settle_payable_amount.setter
|
|
362
|
+
def settle_payable_amount(self, settle_payable_amount):
|
|
363
|
+
"""Sets the settle_payable_amount of this ItemForListBillingItemsOutput.
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
:param settle_payable_amount: The settle_payable_amount of this ItemForListBillingItemsOutput. # noqa: E501
|
|
367
|
+
:type: str
|
|
368
|
+
"""
|
|
369
|
+
|
|
370
|
+
self._settle_payable_amount = settle_payable_amount
|
|
371
|
+
|
|
372
|
+
@property
|
|
373
|
+
def settlement_currency(self):
|
|
374
|
+
"""Gets the settlement_currency of this ItemForListBillingItemsOutput. # noqa: E501
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
:return: The settlement_currency of this ItemForListBillingItemsOutput. # noqa: E501
|
|
378
|
+
:rtype: str
|
|
379
|
+
"""
|
|
380
|
+
return self._settlement_currency
|
|
381
|
+
|
|
382
|
+
@settlement_currency.setter
|
|
383
|
+
def settlement_currency(self, settlement_currency):
|
|
384
|
+
"""Sets the settlement_currency of this ItemForListBillingItemsOutput.
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
:param settlement_currency: The settlement_currency of this ItemForListBillingItemsOutput. # noqa: E501
|
|
388
|
+
:type: str
|
|
389
|
+
"""
|
|
390
|
+
|
|
391
|
+
self._settlement_currency = settlement_currency
|
|
392
|
+
|
|
393
|
+
@property
|
|
394
|
+
def unit(self):
|
|
395
|
+
"""Gets the unit of this ItemForListBillingItemsOutput. # noqa: E501
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
:return: The unit of this ItemForListBillingItemsOutput. # noqa: E501
|
|
399
|
+
:rtype: str
|
|
400
|
+
"""
|
|
401
|
+
return self._unit
|
|
402
|
+
|
|
403
|
+
@unit.setter
|
|
404
|
+
def unit(self, unit):
|
|
405
|
+
"""Sets the unit of this ItemForListBillingItemsOutput.
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
:param unit: The unit of this ItemForListBillingItemsOutput. # noqa: E501
|
|
409
|
+
:type: str
|
|
410
|
+
"""
|
|
411
|
+
|
|
412
|
+
self._unit = unit
|
|
413
|
+
|
|
414
|
+
def to_dict(self):
|
|
415
|
+
"""Returns the model properties as a dict"""
|
|
416
|
+
result = {}
|
|
417
|
+
|
|
418
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
419
|
+
value = getattr(self, attr)
|
|
420
|
+
if isinstance(value, list):
|
|
421
|
+
result[attr] = list(map(
|
|
422
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
423
|
+
value
|
|
424
|
+
))
|
|
425
|
+
elif hasattr(value, "to_dict"):
|
|
426
|
+
result[attr] = value.to_dict()
|
|
427
|
+
elif isinstance(value, dict):
|
|
428
|
+
result[attr] = dict(map(
|
|
429
|
+
lambda item: (item[0], item[1].to_dict())
|
|
430
|
+
if hasattr(item[1], "to_dict") else item,
|
|
431
|
+
value.items()
|
|
432
|
+
))
|
|
433
|
+
else:
|
|
434
|
+
result[attr] = value
|
|
435
|
+
if issubclass(ItemForListBillingItemsOutput, dict):
|
|
436
|
+
for key, value in self.items():
|
|
437
|
+
result[key] = value
|
|
438
|
+
|
|
439
|
+
return result
|
|
440
|
+
|
|
441
|
+
def to_str(self):
|
|
442
|
+
"""Returns the string representation of the model"""
|
|
443
|
+
return pprint.pformat(self.to_dict())
|
|
444
|
+
|
|
445
|
+
def __repr__(self):
|
|
446
|
+
"""For `print` and `pprint`"""
|
|
447
|
+
return self.to_str()
|
|
448
|
+
|
|
449
|
+
def __eq__(self, other):
|
|
450
|
+
"""Returns true if both objects are equal"""
|
|
451
|
+
if not isinstance(other, ItemForListBillingItemsOutput):
|
|
452
|
+
return False
|
|
453
|
+
|
|
454
|
+
return self.to_dict() == other.to_dict()
|
|
455
|
+
|
|
456
|
+
def __ne__(self, other):
|
|
457
|
+
"""Returns true if both objects are not equal"""
|
|
458
|
+
if not isinstance(other, ItemForListBillingItemsOutput):
|
|
459
|
+
return True
|
|
460
|
+
|
|
461
|
+
return self.to_dict() != other.to_dict()
|