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,254 @@
|
|
|
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 UpdateBudgetRequest(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': 'BudgetForUpdateBudgetInput',
|
|
37
|
+
'budget_alert_message': 'list[BudgetAlertMessageForUpdateBudgetInput]',
|
|
38
|
+
'budget_alert_rule': 'list[BudgetAlertRuleForUpdateBudgetInput]',
|
|
39
|
+
'budget_amount': 'list[BudgetAmountForUpdateBudgetInput]',
|
|
40
|
+
'budget_id': 'str',
|
|
41
|
+
'budget_range': 'BudgetRangeForUpdateBudgetInput'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'budget': 'Budget',
|
|
46
|
+
'budget_alert_message': 'BudgetAlertMessage',
|
|
47
|
+
'budget_alert_rule': 'BudgetAlertRule',
|
|
48
|
+
'budget_amount': 'BudgetAmount',
|
|
49
|
+
'budget_id': 'BudgetID',
|
|
50
|
+
'budget_range': 'BudgetRange'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, budget=None, budget_alert_message=None, budget_alert_rule=None, budget_amount=None, budget_id=None, budget_range=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""UpdateBudgetRequest - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._budget = None
|
|
60
|
+
self._budget_alert_message = None
|
|
61
|
+
self._budget_alert_rule = None
|
|
62
|
+
self._budget_amount = None
|
|
63
|
+
self._budget_id = None
|
|
64
|
+
self._budget_range = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if budget is not None:
|
|
68
|
+
self.budget = budget
|
|
69
|
+
if budget_alert_message is not None:
|
|
70
|
+
self.budget_alert_message = budget_alert_message
|
|
71
|
+
if budget_alert_rule is not None:
|
|
72
|
+
self.budget_alert_rule = budget_alert_rule
|
|
73
|
+
if budget_amount is not None:
|
|
74
|
+
self.budget_amount = budget_amount
|
|
75
|
+
self.budget_id = budget_id
|
|
76
|
+
if budget_range is not None:
|
|
77
|
+
self.budget_range = budget_range
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def budget(self):
|
|
81
|
+
"""Gets the budget of this UpdateBudgetRequest. # noqa: E501
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
:return: The budget of this UpdateBudgetRequest. # noqa: E501
|
|
85
|
+
:rtype: BudgetForUpdateBudgetInput
|
|
86
|
+
"""
|
|
87
|
+
return self._budget
|
|
88
|
+
|
|
89
|
+
@budget.setter
|
|
90
|
+
def budget(self, budget):
|
|
91
|
+
"""Sets the budget of this UpdateBudgetRequest.
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
:param budget: The budget of this UpdateBudgetRequest. # noqa: E501
|
|
95
|
+
:type: BudgetForUpdateBudgetInput
|
|
96
|
+
"""
|
|
97
|
+
|
|
98
|
+
self._budget = budget
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def budget_alert_message(self):
|
|
102
|
+
"""Gets the budget_alert_message of this UpdateBudgetRequest. # noqa: E501
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:return: The budget_alert_message of this UpdateBudgetRequest. # noqa: E501
|
|
106
|
+
:rtype: list[BudgetAlertMessageForUpdateBudgetInput]
|
|
107
|
+
"""
|
|
108
|
+
return self._budget_alert_message
|
|
109
|
+
|
|
110
|
+
@budget_alert_message.setter
|
|
111
|
+
def budget_alert_message(self, budget_alert_message):
|
|
112
|
+
"""Sets the budget_alert_message of this UpdateBudgetRequest.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
:param budget_alert_message: The budget_alert_message of this UpdateBudgetRequest. # noqa: E501
|
|
116
|
+
:type: list[BudgetAlertMessageForUpdateBudgetInput]
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
self._budget_alert_message = budget_alert_message
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def budget_alert_rule(self):
|
|
123
|
+
"""Gets the budget_alert_rule of this UpdateBudgetRequest. # noqa: E501
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:return: The budget_alert_rule of this UpdateBudgetRequest. # noqa: E501
|
|
127
|
+
:rtype: list[BudgetAlertRuleForUpdateBudgetInput]
|
|
128
|
+
"""
|
|
129
|
+
return self._budget_alert_rule
|
|
130
|
+
|
|
131
|
+
@budget_alert_rule.setter
|
|
132
|
+
def budget_alert_rule(self, budget_alert_rule):
|
|
133
|
+
"""Sets the budget_alert_rule of this UpdateBudgetRequest.
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
:param budget_alert_rule: The budget_alert_rule of this UpdateBudgetRequest. # noqa: E501
|
|
137
|
+
:type: list[BudgetAlertRuleForUpdateBudgetInput]
|
|
138
|
+
"""
|
|
139
|
+
|
|
140
|
+
self._budget_alert_rule = budget_alert_rule
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
def budget_amount(self):
|
|
144
|
+
"""Gets the budget_amount of this UpdateBudgetRequest. # noqa: E501
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
:return: The budget_amount of this UpdateBudgetRequest. # noqa: E501
|
|
148
|
+
:rtype: list[BudgetAmountForUpdateBudgetInput]
|
|
149
|
+
"""
|
|
150
|
+
return self._budget_amount
|
|
151
|
+
|
|
152
|
+
@budget_amount.setter
|
|
153
|
+
def budget_amount(self, budget_amount):
|
|
154
|
+
"""Sets the budget_amount of this UpdateBudgetRequest.
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
:param budget_amount: The budget_amount of this UpdateBudgetRequest. # noqa: E501
|
|
158
|
+
:type: list[BudgetAmountForUpdateBudgetInput]
|
|
159
|
+
"""
|
|
160
|
+
|
|
161
|
+
self._budget_amount = budget_amount
|
|
162
|
+
|
|
163
|
+
@property
|
|
164
|
+
def budget_id(self):
|
|
165
|
+
"""Gets the budget_id of this UpdateBudgetRequest. # noqa: E501
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:return: The budget_id of this UpdateBudgetRequest. # noqa: E501
|
|
169
|
+
:rtype: str
|
|
170
|
+
"""
|
|
171
|
+
return self._budget_id
|
|
172
|
+
|
|
173
|
+
@budget_id.setter
|
|
174
|
+
def budget_id(self, budget_id):
|
|
175
|
+
"""Sets the budget_id of this UpdateBudgetRequest.
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
:param budget_id: The budget_id of this UpdateBudgetRequest. # noqa: E501
|
|
179
|
+
:type: str
|
|
180
|
+
"""
|
|
181
|
+
if self._configuration.client_side_validation and budget_id is None:
|
|
182
|
+
raise ValueError("Invalid value for `budget_id`, must not be `None`") # noqa: E501
|
|
183
|
+
|
|
184
|
+
self._budget_id = budget_id
|
|
185
|
+
|
|
186
|
+
@property
|
|
187
|
+
def budget_range(self):
|
|
188
|
+
"""Gets the budget_range of this UpdateBudgetRequest. # noqa: E501
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
:return: The budget_range of this UpdateBudgetRequest. # noqa: E501
|
|
192
|
+
:rtype: BudgetRangeForUpdateBudgetInput
|
|
193
|
+
"""
|
|
194
|
+
return self._budget_range
|
|
195
|
+
|
|
196
|
+
@budget_range.setter
|
|
197
|
+
def budget_range(self, budget_range):
|
|
198
|
+
"""Sets the budget_range of this UpdateBudgetRequest.
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
:param budget_range: The budget_range of this UpdateBudgetRequest. # noqa: E501
|
|
202
|
+
:type: BudgetRangeForUpdateBudgetInput
|
|
203
|
+
"""
|
|
204
|
+
|
|
205
|
+
self._budget_range = budget_range
|
|
206
|
+
|
|
207
|
+
def to_dict(self):
|
|
208
|
+
"""Returns the model properties as a dict"""
|
|
209
|
+
result = {}
|
|
210
|
+
|
|
211
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
212
|
+
value = getattr(self, attr)
|
|
213
|
+
if isinstance(value, list):
|
|
214
|
+
result[attr] = list(map(
|
|
215
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
216
|
+
value
|
|
217
|
+
))
|
|
218
|
+
elif hasattr(value, "to_dict"):
|
|
219
|
+
result[attr] = value.to_dict()
|
|
220
|
+
elif isinstance(value, dict):
|
|
221
|
+
result[attr] = dict(map(
|
|
222
|
+
lambda item: (item[0], item[1].to_dict())
|
|
223
|
+
if hasattr(item[1], "to_dict") else item,
|
|
224
|
+
value.items()
|
|
225
|
+
))
|
|
226
|
+
else:
|
|
227
|
+
result[attr] = value
|
|
228
|
+
if issubclass(UpdateBudgetRequest, dict):
|
|
229
|
+
for key, value in self.items():
|
|
230
|
+
result[key] = value
|
|
231
|
+
|
|
232
|
+
return result
|
|
233
|
+
|
|
234
|
+
def to_str(self):
|
|
235
|
+
"""Returns the string representation of the model"""
|
|
236
|
+
return pprint.pformat(self.to_dict())
|
|
237
|
+
|
|
238
|
+
def __repr__(self):
|
|
239
|
+
"""For `print` and `pprint`"""
|
|
240
|
+
return self.to_str()
|
|
241
|
+
|
|
242
|
+
def __eq__(self, other):
|
|
243
|
+
"""Returns true if both objects are equal"""
|
|
244
|
+
if not isinstance(other, UpdateBudgetRequest):
|
|
245
|
+
return False
|
|
246
|
+
|
|
247
|
+
return self.to_dict() == other.to_dict()
|
|
248
|
+
|
|
249
|
+
def __ne__(self, other):
|
|
250
|
+
"""Returns true if both objects are not equal"""
|
|
251
|
+
if not isinstance(other, UpdateBudgetRequest):
|
|
252
|
+
return True
|
|
253
|
+
|
|
254
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,95 @@
|
|
|
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 UpdateBudgetResponse(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
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def __init__(self, _configuration=None): # noqa: E501
|
|
42
|
+
"""UpdateBudgetResponse - a model defined in Swagger""" # noqa: E501
|
|
43
|
+
if _configuration is None:
|
|
44
|
+
_configuration = Configuration()
|
|
45
|
+
self._configuration = _configuration
|
|
46
|
+
self.discriminator = None
|
|
47
|
+
|
|
48
|
+
def to_dict(self):
|
|
49
|
+
"""Returns the model properties as a dict"""
|
|
50
|
+
result = {}
|
|
51
|
+
|
|
52
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
53
|
+
value = getattr(self, attr)
|
|
54
|
+
if isinstance(value, list):
|
|
55
|
+
result[attr] = list(map(
|
|
56
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
57
|
+
value
|
|
58
|
+
))
|
|
59
|
+
elif hasattr(value, "to_dict"):
|
|
60
|
+
result[attr] = value.to_dict()
|
|
61
|
+
elif isinstance(value, dict):
|
|
62
|
+
result[attr] = dict(map(
|
|
63
|
+
lambda item: (item[0], item[1].to_dict())
|
|
64
|
+
if hasattr(item[1], "to_dict") else item,
|
|
65
|
+
value.items()
|
|
66
|
+
))
|
|
67
|
+
else:
|
|
68
|
+
result[attr] = value
|
|
69
|
+
if issubclass(UpdateBudgetResponse, dict):
|
|
70
|
+
for key, value in self.items():
|
|
71
|
+
result[key] = value
|
|
72
|
+
|
|
73
|
+
return result
|
|
74
|
+
|
|
75
|
+
def to_str(self):
|
|
76
|
+
"""Returns the string representation of the model"""
|
|
77
|
+
return pprint.pformat(self.to_dict())
|
|
78
|
+
|
|
79
|
+
def __repr__(self):
|
|
80
|
+
"""For `print` and `pprint`"""
|
|
81
|
+
return self.to_str()
|
|
82
|
+
|
|
83
|
+
def __eq__(self, other):
|
|
84
|
+
"""Returns true if both objects are equal"""
|
|
85
|
+
if not isinstance(other, UpdateBudgetResponse):
|
|
86
|
+
return False
|
|
87
|
+
|
|
88
|
+
return self.to_dict() == other.to_dict()
|
|
89
|
+
|
|
90
|
+
def __ne__(self, other):
|
|
91
|
+
"""Returns true if both objects are not equal"""
|
|
92
|
+
if not isinstance(other, UpdateBudgetResponse):
|
|
93
|
+
return True
|
|
94
|
+
|
|
95
|
+
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 ZoneInfoListForListBudgetFilterZoneCodeOutput(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
|
+
'region_zone_code': 'str',
|
|
37
|
+
'region_zone_name': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'region_zone_code': 'RegionZoneCode',
|
|
42
|
+
'region_zone_name': 'RegionZoneName'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, region_zone_code=None, region_zone_name=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""ZoneInfoListForListBudgetFilterZoneCodeOutput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._region_zone_code = None
|
|
52
|
+
self._region_zone_name = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if region_zone_code is not None:
|
|
56
|
+
self.region_zone_code = region_zone_code
|
|
57
|
+
if region_zone_name is not None:
|
|
58
|
+
self.region_zone_name = region_zone_name
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def region_zone_code(self):
|
|
62
|
+
"""Gets the region_zone_code of this ZoneInfoListForListBudgetFilterZoneCodeOutput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The region_zone_code of this ZoneInfoListForListBudgetFilterZoneCodeOutput. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._region_zone_code
|
|
69
|
+
|
|
70
|
+
@region_zone_code.setter
|
|
71
|
+
def region_zone_code(self, region_zone_code):
|
|
72
|
+
"""Sets the region_zone_code of this ZoneInfoListForListBudgetFilterZoneCodeOutput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param region_zone_code: The region_zone_code of this ZoneInfoListForListBudgetFilterZoneCodeOutput. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._region_zone_code = region_zone_code
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def region_zone_name(self):
|
|
83
|
+
"""Gets the region_zone_name of this ZoneInfoListForListBudgetFilterZoneCodeOutput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The region_zone_name of this ZoneInfoListForListBudgetFilterZoneCodeOutput. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._region_zone_name
|
|
90
|
+
|
|
91
|
+
@region_zone_name.setter
|
|
92
|
+
def region_zone_name(self, region_zone_name):
|
|
93
|
+
"""Sets the region_zone_name of this ZoneInfoListForListBudgetFilterZoneCodeOutput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param region_zone_name: The region_zone_name of this ZoneInfoListForListBudgetFilterZoneCodeOutput. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._region_zone_name = region_zone_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(ZoneInfoListForListBudgetFilterZoneCodeOutput, 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, ZoneInfoListForListBudgetFilterZoneCodeOutput):
|
|
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, ZoneInfoListForListBudgetFilterZoneCodeOutput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
volcenginesdkcore/api_client.py
CHANGED
|
@@ -64,7 +64,7 @@ class ApiClient(object):
|
|
|
64
64
|
self.default_headers[header_name] = header_value
|
|
65
65
|
self.cookie = cookie
|
|
66
66
|
# Set default User-Agent.
|
|
67
|
-
self.user_agent = 'volcstack-python-sdk/4.0.
|
|
67
|
+
self.user_agent = 'volcstack-python-sdk/4.0.26'
|
|
68
68
|
self.client_side_validation = configuration.client_side_validation
|
|
69
69
|
|
|
70
70
|
self.interceptor_chain = InterceptorChain()
|
|
@@ -272,7 +272,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
272
272
|
"OS: {env}\n" \
|
|
273
273
|
"Python Version: {pyversion}\n" \
|
|
274
274
|
"Version of the API: 0.1.0\n" \
|
|
275
|
-
"SDK Package Version: 4.0.
|
|
275
|
+
"SDK Package Version: 4.0.26".\
|
|
276
276
|
format(env=sys.platform, pyversion=sys.version)
|
|
277
277
|
|
|
278
278
|
@property
|
|
File without changes
|
|
File without changes
|
{volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/licenses/NOTICE.md
RENAMED
|
File without changes
|
{volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/top_level.txt
RENAMED
|
File without changes
|