volcengine-python-sdk 4.0.25__py2.py3-none-any.whl → 4.0.26__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.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/RECORD +76 -11
- volcenginesdkbilling/__init__.py +65 -0
- volcenginesdkbilling/api/billing_api.py +1662 -13
- volcenginesdkbilling/models/__init__.py +65 -0
- volcenginesdkbilling/models/billing_mode_info_list_for_list_budget_filter_billing_mode_output.py +149 -0
- volcenginesdkbilling/models/budget_alert_message_detail_list_for_query_budget_detail_output.py +279 -0
- volcenginesdkbilling/models/budget_alert_message_for_create_budget_input.py +201 -0
- volcenginesdkbilling/models/budget_alert_message_for_update_budget_input.py +201 -0
- volcenginesdkbilling/models/budget_alert_rule_for_create_budget_input.py +215 -0
- volcenginesdkbilling/models/budget_alert_rule_for_update_budget_input.py +215 -0
- volcenginesdkbilling/models/budget_alert_rule_list_for_query_budget_detail_output.py +201 -0
- volcenginesdkbilling/models/budget_amount_for_create_budget_input.py +175 -0
- volcenginesdkbilling/models/budget_amount_for_update_budget_input.py +175 -0
- volcenginesdkbilling/models/budget_amount_list_for_list_budget_amount_by_budget_id_output.py +253 -0
- volcenginesdkbilling/models/budget_for_create_budget_input.py +274 -0
- volcenginesdkbilling/models/budget_for_query_budget_detail_output.py +253 -0
- volcenginesdkbilling/models/budget_for_update_budget_input.py +274 -0
- volcenginesdkbilling/models/budget_list_for_list_budget_output.py +357 -0
- volcenginesdkbilling/models/budget_range_billing_mode_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_for_create_budget_input.py +331 -0
- volcenginesdkbilling/models/budget_range_for_update_budget_input.py +331 -0
- volcenginesdkbilling/models/budget_range_info_for_query_budget_detail_output.py +331 -0
- volcenginesdkbilling/models/budget_range_owner_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_payer_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_product_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_region_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_subject_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_zone_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/create_budget_request.py +227 -0
- volcenginesdkbilling/models/create_budget_response.py +123 -0
- volcenginesdkbilling/models/delete_budget_request.py +124 -0
- volcenginesdkbilling/models/delete_budget_response.py +95 -0
- volcenginesdkbilling/models/list_budget_amount_by_budget_id_request.py +124 -0
- volcenginesdkbilling/models/list_budget_amount_by_budget_id_response.py +123 -0
- volcenginesdkbilling/models/list_budget_filter_billing_mode_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_billing_mode_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_owner_id_request.py +95 -0
- volcenginesdkbilling/models/list_budget_filter_owner_id_response.py +123 -0
- volcenginesdkbilling/models/list_budget_filter_payer_id_request.py +95 -0
- volcenginesdkbilling/models/list_budget_filter_payer_id_response.py +123 -0
- volcenginesdkbilling/models/list_budget_filter_product_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_product_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_project_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_project_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_region_code_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_region_code_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_subject_info_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_subject_info_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_tag_key_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_tag_key_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_tag_value_request.py +178 -0
- volcenginesdkbilling/models/list_budget_filter_tag_value_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_zone_code_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_zone_code_response.py +201 -0
- volcenginesdkbilling/models/list_budget_request.py +302 -0
- volcenginesdkbilling/models/list_budget_response.py +201 -0
- volcenginesdkbilling/models/list_for_list_budget_filter_owner_id_output.py +149 -0
- volcenginesdkbilling/models/list_for_list_budget_filter_payer_id_output.py +149 -0
- volcenginesdkbilling/models/list_for_list_budget_filter_product_output.py +149 -0
- volcenginesdkbilling/models/list_recipient_information_request.py +151 -0
- volcenginesdkbilling/models/list_recipient_information_response.py +201 -0
- volcenginesdkbilling/models/query_budget_detail_request.py +124 -0
- volcenginesdkbilling/models/query_budget_detail_response.py +201 -0
- volcenginesdkbilling/models/recipient_information_list_for_list_recipient_information_output.py +201 -0
- volcenginesdkbilling/models/region_info_list_for_list_budget_filter_region_code_output.py +149 -0
- volcenginesdkbilling/models/subject_info_list_for_list_budget_filter_subject_info_output.py +149 -0
- volcenginesdkbilling/models/update_budget_request.py +254 -0
- volcenginesdkbilling/models/update_budget_response.py +95 -0
- volcenginesdkbilling/models/zone_info_list_for_list_budget_filter_zone_code_output.py +149 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/licenses/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,331 @@
|
|
|
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 BudgetRangeInfoForQueryBudgetDetailOutput(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
|
+
'budget_range_billing_mode': 'list[BudgetRangeBillingModeForQueryBudgetDetailOutput]',
|
|
37
|
+
'budget_range_owner': 'list[BudgetRangeOwnerForQueryBudgetDetailOutput]',
|
|
38
|
+
'budget_range_payer': 'list[BudgetRangePayerForQueryBudgetDetailOutput]',
|
|
39
|
+
'budget_range_product': 'list[BudgetRangeProductForQueryBudgetDetailOutput]',
|
|
40
|
+
'budget_range_project': 'list[str]',
|
|
41
|
+
'budget_range_region': 'list[BudgetRangeRegionForQueryBudgetDetailOutput]',
|
|
42
|
+
'budget_range_subject': 'list[BudgetRangeSubjectForQueryBudgetDetailOutput]',
|
|
43
|
+
'budget_range_tag': 'list[str]',
|
|
44
|
+
'budget_range_zone': 'list[BudgetRangeZoneForQueryBudgetDetailOutput]'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
attribute_map = {
|
|
48
|
+
'budget_range_billing_mode': 'BudgetRangeBillingMode',
|
|
49
|
+
'budget_range_owner': 'BudgetRangeOwner',
|
|
50
|
+
'budget_range_payer': 'BudgetRangePayer',
|
|
51
|
+
'budget_range_product': 'BudgetRangeProduct',
|
|
52
|
+
'budget_range_project': 'BudgetRangeProject',
|
|
53
|
+
'budget_range_region': 'BudgetRangeRegion',
|
|
54
|
+
'budget_range_subject': 'BudgetRangeSubject',
|
|
55
|
+
'budget_range_tag': 'BudgetRangeTag',
|
|
56
|
+
'budget_range_zone': 'BudgetRangeZone'
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
def __init__(self, budget_range_billing_mode=None, budget_range_owner=None, budget_range_payer=None, budget_range_product=None, budget_range_project=None, budget_range_region=None, budget_range_subject=None, budget_range_tag=None, budget_range_zone=None, _configuration=None): # noqa: E501
|
|
60
|
+
"""BudgetRangeInfoForQueryBudgetDetailOutput - a model defined in Swagger""" # noqa: E501
|
|
61
|
+
if _configuration is None:
|
|
62
|
+
_configuration = Configuration()
|
|
63
|
+
self._configuration = _configuration
|
|
64
|
+
|
|
65
|
+
self._budget_range_billing_mode = None
|
|
66
|
+
self._budget_range_owner = None
|
|
67
|
+
self._budget_range_payer = None
|
|
68
|
+
self._budget_range_product = None
|
|
69
|
+
self._budget_range_project = None
|
|
70
|
+
self._budget_range_region = None
|
|
71
|
+
self._budget_range_subject = None
|
|
72
|
+
self._budget_range_tag = None
|
|
73
|
+
self._budget_range_zone = None
|
|
74
|
+
self.discriminator = None
|
|
75
|
+
|
|
76
|
+
if budget_range_billing_mode is not None:
|
|
77
|
+
self.budget_range_billing_mode = budget_range_billing_mode
|
|
78
|
+
if budget_range_owner is not None:
|
|
79
|
+
self.budget_range_owner = budget_range_owner
|
|
80
|
+
if budget_range_payer is not None:
|
|
81
|
+
self.budget_range_payer = budget_range_payer
|
|
82
|
+
if budget_range_product is not None:
|
|
83
|
+
self.budget_range_product = budget_range_product
|
|
84
|
+
if budget_range_project is not None:
|
|
85
|
+
self.budget_range_project = budget_range_project
|
|
86
|
+
if budget_range_region is not None:
|
|
87
|
+
self.budget_range_region = budget_range_region
|
|
88
|
+
if budget_range_subject is not None:
|
|
89
|
+
self.budget_range_subject = budget_range_subject
|
|
90
|
+
if budget_range_tag is not None:
|
|
91
|
+
self.budget_range_tag = budget_range_tag
|
|
92
|
+
if budget_range_zone is not None:
|
|
93
|
+
self.budget_range_zone = budget_range_zone
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def budget_range_billing_mode(self):
|
|
97
|
+
"""Gets the budget_range_billing_mode of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:return: The budget_range_billing_mode of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
101
|
+
:rtype: list[BudgetRangeBillingModeForQueryBudgetDetailOutput]
|
|
102
|
+
"""
|
|
103
|
+
return self._budget_range_billing_mode
|
|
104
|
+
|
|
105
|
+
@budget_range_billing_mode.setter
|
|
106
|
+
def budget_range_billing_mode(self, budget_range_billing_mode):
|
|
107
|
+
"""Sets the budget_range_billing_mode of this BudgetRangeInfoForQueryBudgetDetailOutput.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:param budget_range_billing_mode: The budget_range_billing_mode of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
111
|
+
:type: list[BudgetRangeBillingModeForQueryBudgetDetailOutput]
|
|
112
|
+
"""
|
|
113
|
+
|
|
114
|
+
self._budget_range_billing_mode = budget_range_billing_mode
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def budget_range_owner(self):
|
|
118
|
+
"""Gets the budget_range_owner of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:return: The budget_range_owner of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
122
|
+
:rtype: list[BudgetRangeOwnerForQueryBudgetDetailOutput]
|
|
123
|
+
"""
|
|
124
|
+
return self._budget_range_owner
|
|
125
|
+
|
|
126
|
+
@budget_range_owner.setter
|
|
127
|
+
def budget_range_owner(self, budget_range_owner):
|
|
128
|
+
"""Sets the budget_range_owner of this BudgetRangeInfoForQueryBudgetDetailOutput.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:param budget_range_owner: The budget_range_owner of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
132
|
+
:type: list[BudgetRangeOwnerForQueryBudgetDetailOutput]
|
|
133
|
+
"""
|
|
134
|
+
|
|
135
|
+
self._budget_range_owner = budget_range_owner
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def budget_range_payer(self):
|
|
139
|
+
"""Gets the budget_range_payer of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:return: The budget_range_payer of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
143
|
+
:rtype: list[BudgetRangePayerForQueryBudgetDetailOutput]
|
|
144
|
+
"""
|
|
145
|
+
return self._budget_range_payer
|
|
146
|
+
|
|
147
|
+
@budget_range_payer.setter
|
|
148
|
+
def budget_range_payer(self, budget_range_payer):
|
|
149
|
+
"""Sets the budget_range_payer of this BudgetRangeInfoForQueryBudgetDetailOutput.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
:param budget_range_payer: The budget_range_payer of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
153
|
+
:type: list[BudgetRangePayerForQueryBudgetDetailOutput]
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
self._budget_range_payer = budget_range_payer
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def budget_range_product(self):
|
|
160
|
+
"""Gets the budget_range_product of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:return: The budget_range_product of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
164
|
+
:rtype: list[BudgetRangeProductForQueryBudgetDetailOutput]
|
|
165
|
+
"""
|
|
166
|
+
return self._budget_range_product
|
|
167
|
+
|
|
168
|
+
@budget_range_product.setter
|
|
169
|
+
def budget_range_product(self, budget_range_product):
|
|
170
|
+
"""Sets the budget_range_product of this BudgetRangeInfoForQueryBudgetDetailOutput.
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
:param budget_range_product: The budget_range_product of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
174
|
+
:type: list[BudgetRangeProductForQueryBudgetDetailOutput]
|
|
175
|
+
"""
|
|
176
|
+
|
|
177
|
+
self._budget_range_product = budget_range_product
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def budget_range_project(self):
|
|
181
|
+
"""Gets the budget_range_project of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:return: The budget_range_project of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
185
|
+
:rtype: list[str]
|
|
186
|
+
"""
|
|
187
|
+
return self._budget_range_project
|
|
188
|
+
|
|
189
|
+
@budget_range_project.setter
|
|
190
|
+
def budget_range_project(self, budget_range_project):
|
|
191
|
+
"""Sets the budget_range_project of this BudgetRangeInfoForQueryBudgetDetailOutput.
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
:param budget_range_project: The budget_range_project of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
195
|
+
:type: list[str]
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
self._budget_range_project = budget_range_project
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
def budget_range_region(self):
|
|
202
|
+
"""Gets the budget_range_region of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:return: The budget_range_region of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
206
|
+
:rtype: list[BudgetRangeRegionForQueryBudgetDetailOutput]
|
|
207
|
+
"""
|
|
208
|
+
return self._budget_range_region
|
|
209
|
+
|
|
210
|
+
@budget_range_region.setter
|
|
211
|
+
def budget_range_region(self, budget_range_region):
|
|
212
|
+
"""Sets the budget_range_region of this BudgetRangeInfoForQueryBudgetDetailOutput.
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
:param budget_range_region: The budget_range_region of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
216
|
+
:type: list[BudgetRangeRegionForQueryBudgetDetailOutput]
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
self._budget_range_region = budget_range_region
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
def budget_range_subject(self):
|
|
223
|
+
"""Gets the budget_range_subject of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:return: The budget_range_subject of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
227
|
+
:rtype: list[BudgetRangeSubjectForQueryBudgetDetailOutput]
|
|
228
|
+
"""
|
|
229
|
+
return self._budget_range_subject
|
|
230
|
+
|
|
231
|
+
@budget_range_subject.setter
|
|
232
|
+
def budget_range_subject(self, budget_range_subject):
|
|
233
|
+
"""Sets the budget_range_subject of this BudgetRangeInfoForQueryBudgetDetailOutput.
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
:param budget_range_subject: The budget_range_subject of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
237
|
+
:type: list[BudgetRangeSubjectForQueryBudgetDetailOutput]
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
self._budget_range_subject = budget_range_subject
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
def budget_range_tag(self):
|
|
244
|
+
"""Gets the budget_range_tag of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:return: The budget_range_tag of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
248
|
+
:rtype: list[str]
|
|
249
|
+
"""
|
|
250
|
+
return self._budget_range_tag
|
|
251
|
+
|
|
252
|
+
@budget_range_tag.setter
|
|
253
|
+
def budget_range_tag(self, budget_range_tag):
|
|
254
|
+
"""Sets the budget_range_tag of this BudgetRangeInfoForQueryBudgetDetailOutput.
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
:param budget_range_tag: The budget_range_tag of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
258
|
+
:type: list[str]
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
self._budget_range_tag = budget_range_tag
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def budget_range_zone(self):
|
|
265
|
+
"""Gets the budget_range_zone of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
:return: The budget_range_zone of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
269
|
+
:rtype: list[BudgetRangeZoneForQueryBudgetDetailOutput]
|
|
270
|
+
"""
|
|
271
|
+
return self._budget_range_zone
|
|
272
|
+
|
|
273
|
+
@budget_range_zone.setter
|
|
274
|
+
def budget_range_zone(self, budget_range_zone):
|
|
275
|
+
"""Sets the budget_range_zone of this BudgetRangeInfoForQueryBudgetDetailOutput.
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:param budget_range_zone: The budget_range_zone of this BudgetRangeInfoForQueryBudgetDetailOutput. # noqa: E501
|
|
279
|
+
:type: list[BudgetRangeZoneForQueryBudgetDetailOutput]
|
|
280
|
+
"""
|
|
281
|
+
|
|
282
|
+
self._budget_range_zone = budget_range_zone
|
|
283
|
+
|
|
284
|
+
def to_dict(self):
|
|
285
|
+
"""Returns the model properties as a dict"""
|
|
286
|
+
result = {}
|
|
287
|
+
|
|
288
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
289
|
+
value = getattr(self, attr)
|
|
290
|
+
if isinstance(value, list):
|
|
291
|
+
result[attr] = list(map(
|
|
292
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
293
|
+
value
|
|
294
|
+
))
|
|
295
|
+
elif hasattr(value, "to_dict"):
|
|
296
|
+
result[attr] = value.to_dict()
|
|
297
|
+
elif isinstance(value, dict):
|
|
298
|
+
result[attr] = dict(map(
|
|
299
|
+
lambda item: (item[0], item[1].to_dict())
|
|
300
|
+
if hasattr(item[1], "to_dict") else item,
|
|
301
|
+
value.items()
|
|
302
|
+
))
|
|
303
|
+
else:
|
|
304
|
+
result[attr] = value
|
|
305
|
+
if issubclass(BudgetRangeInfoForQueryBudgetDetailOutput, dict):
|
|
306
|
+
for key, value in self.items():
|
|
307
|
+
result[key] = value
|
|
308
|
+
|
|
309
|
+
return result
|
|
310
|
+
|
|
311
|
+
def to_str(self):
|
|
312
|
+
"""Returns the string representation of the model"""
|
|
313
|
+
return pprint.pformat(self.to_dict())
|
|
314
|
+
|
|
315
|
+
def __repr__(self):
|
|
316
|
+
"""For `print` and `pprint`"""
|
|
317
|
+
return self.to_str()
|
|
318
|
+
|
|
319
|
+
def __eq__(self, other):
|
|
320
|
+
"""Returns true if both objects are equal"""
|
|
321
|
+
if not isinstance(other, BudgetRangeInfoForQueryBudgetDetailOutput):
|
|
322
|
+
return False
|
|
323
|
+
|
|
324
|
+
return self.to_dict() == other.to_dict()
|
|
325
|
+
|
|
326
|
+
def __ne__(self, other):
|
|
327
|
+
"""Returns true if both objects are not equal"""
|
|
328
|
+
if not isinstance(other, BudgetRangeInfoForQueryBudgetDetailOutput):
|
|
329
|
+
return True
|
|
330
|
+
|
|
331
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
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 BudgetRangeOwnerForQueryBudgetDetailOutput(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
|
+
'owner_id': 'int',
|
|
37
|
+
'owner_user_name': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'owner_id': 'OwnerID',
|
|
42
|
+
'owner_user_name': 'OwnerUserName'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, owner_id=None, owner_user_name=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""BudgetRangeOwnerForQueryBudgetDetailOutput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._owner_id = None
|
|
52
|
+
self._owner_user_name = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if owner_id is not None:
|
|
56
|
+
self.owner_id = owner_id
|
|
57
|
+
if owner_user_name is not None:
|
|
58
|
+
self.owner_user_name = owner_user_name
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def owner_id(self):
|
|
62
|
+
"""Gets the owner_id of this BudgetRangeOwnerForQueryBudgetDetailOutput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The owner_id of this BudgetRangeOwnerForQueryBudgetDetailOutput. # noqa: E501
|
|
66
|
+
:rtype: int
|
|
67
|
+
"""
|
|
68
|
+
return self._owner_id
|
|
69
|
+
|
|
70
|
+
@owner_id.setter
|
|
71
|
+
def owner_id(self, owner_id):
|
|
72
|
+
"""Sets the owner_id of this BudgetRangeOwnerForQueryBudgetDetailOutput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param owner_id: The owner_id of this BudgetRangeOwnerForQueryBudgetDetailOutput. # noqa: E501
|
|
76
|
+
:type: int
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._owner_id = owner_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def owner_user_name(self):
|
|
83
|
+
"""Gets the owner_user_name of this BudgetRangeOwnerForQueryBudgetDetailOutput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The owner_user_name of this BudgetRangeOwnerForQueryBudgetDetailOutput. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._owner_user_name
|
|
90
|
+
|
|
91
|
+
@owner_user_name.setter
|
|
92
|
+
def owner_user_name(self, owner_user_name):
|
|
93
|
+
"""Sets the owner_user_name of this BudgetRangeOwnerForQueryBudgetDetailOutput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param owner_user_name: The owner_user_name of this BudgetRangeOwnerForQueryBudgetDetailOutput. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._owner_user_name = owner_user_name
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(BudgetRangeOwnerForQueryBudgetDetailOutput, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, BudgetRangeOwnerForQueryBudgetDetailOutput):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, BudgetRangeOwnerForQueryBudgetDetailOutput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
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 BudgetRangePayerForQueryBudgetDetailOutput(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
|
+
'payer_id': 'int',
|
|
37
|
+
'payer_user_name': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'payer_id': 'PayerID',
|
|
42
|
+
'payer_user_name': 'PayerUserName'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, payer_id=None, payer_user_name=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""BudgetRangePayerForQueryBudgetDetailOutput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._payer_id = None
|
|
52
|
+
self._payer_user_name = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if payer_id is not None:
|
|
56
|
+
self.payer_id = payer_id
|
|
57
|
+
if payer_user_name is not None:
|
|
58
|
+
self.payer_user_name = payer_user_name
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def payer_id(self):
|
|
62
|
+
"""Gets the payer_id of this BudgetRangePayerForQueryBudgetDetailOutput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The payer_id of this BudgetRangePayerForQueryBudgetDetailOutput. # noqa: E501
|
|
66
|
+
:rtype: int
|
|
67
|
+
"""
|
|
68
|
+
return self._payer_id
|
|
69
|
+
|
|
70
|
+
@payer_id.setter
|
|
71
|
+
def payer_id(self, payer_id):
|
|
72
|
+
"""Sets the payer_id of this BudgetRangePayerForQueryBudgetDetailOutput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param payer_id: The payer_id of this BudgetRangePayerForQueryBudgetDetailOutput. # noqa: E501
|
|
76
|
+
:type: int
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._payer_id = payer_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def payer_user_name(self):
|
|
83
|
+
"""Gets the payer_user_name of this BudgetRangePayerForQueryBudgetDetailOutput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The payer_user_name of this BudgetRangePayerForQueryBudgetDetailOutput. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._payer_user_name
|
|
90
|
+
|
|
91
|
+
@payer_user_name.setter
|
|
92
|
+
def payer_user_name(self, payer_user_name):
|
|
93
|
+
"""Sets the payer_user_name of this BudgetRangePayerForQueryBudgetDetailOutput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param payer_user_name: The payer_user_name of this BudgetRangePayerForQueryBudgetDetailOutput. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._payer_user_name = payer_user_name
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(BudgetRangePayerForQueryBudgetDetailOutput, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, BudgetRangePayerForQueryBudgetDetailOutput):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, BudgetRangePayerForQueryBudgetDetailOutput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|