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.

Files changed (76) hide show
  1. {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/RECORD +76 -11
  3. volcenginesdkbilling/__init__.py +65 -0
  4. volcenginesdkbilling/api/billing_api.py +1662 -13
  5. volcenginesdkbilling/models/__init__.py +65 -0
  6. volcenginesdkbilling/models/billing_mode_info_list_for_list_budget_filter_billing_mode_output.py +149 -0
  7. volcenginesdkbilling/models/budget_alert_message_detail_list_for_query_budget_detail_output.py +279 -0
  8. volcenginesdkbilling/models/budget_alert_message_for_create_budget_input.py +201 -0
  9. volcenginesdkbilling/models/budget_alert_message_for_update_budget_input.py +201 -0
  10. volcenginesdkbilling/models/budget_alert_rule_for_create_budget_input.py +215 -0
  11. volcenginesdkbilling/models/budget_alert_rule_for_update_budget_input.py +215 -0
  12. volcenginesdkbilling/models/budget_alert_rule_list_for_query_budget_detail_output.py +201 -0
  13. volcenginesdkbilling/models/budget_amount_for_create_budget_input.py +175 -0
  14. volcenginesdkbilling/models/budget_amount_for_update_budget_input.py +175 -0
  15. volcenginesdkbilling/models/budget_amount_list_for_list_budget_amount_by_budget_id_output.py +253 -0
  16. volcenginesdkbilling/models/budget_for_create_budget_input.py +274 -0
  17. volcenginesdkbilling/models/budget_for_query_budget_detail_output.py +253 -0
  18. volcenginesdkbilling/models/budget_for_update_budget_input.py +274 -0
  19. volcenginesdkbilling/models/budget_list_for_list_budget_output.py +357 -0
  20. volcenginesdkbilling/models/budget_range_billing_mode_for_query_budget_detail_output.py +149 -0
  21. volcenginesdkbilling/models/budget_range_for_create_budget_input.py +331 -0
  22. volcenginesdkbilling/models/budget_range_for_update_budget_input.py +331 -0
  23. volcenginesdkbilling/models/budget_range_info_for_query_budget_detail_output.py +331 -0
  24. volcenginesdkbilling/models/budget_range_owner_for_query_budget_detail_output.py +149 -0
  25. volcenginesdkbilling/models/budget_range_payer_for_query_budget_detail_output.py +149 -0
  26. volcenginesdkbilling/models/budget_range_product_for_query_budget_detail_output.py +149 -0
  27. volcenginesdkbilling/models/budget_range_region_for_query_budget_detail_output.py +149 -0
  28. volcenginesdkbilling/models/budget_range_subject_for_query_budget_detail_output.py +149 -0
  29. volcenginesdkbilling/models/budget_range_zone_for_query_budget_detail_output.py +149 -0
  30. volcenginesdkbilling/models/create_budget_request.py +227 -0
  31. volcenginesdkbilling/models/create_budget_response.py +123 -0
  32. volcenginesdkbilling/models/delete_budget_request.py +124 -0
  33. volcenginesdkbilling/models/delete_budget_response.py +95 -0
  34. volcenginesdkbilling/models/list_budget_amount_by_budget_id_request.py +124 -0
  35. volcenginesdkbilling/models/list_budget_amount_by_budget_id_response.py +123 -0
  36. volcenginesdkbilling/models/list_budget_filter_billing_mode_request.py +151 -0
  37. volcenginesdkbilling/models/list_budget_filter_billing_mode_response.py +201 -0
  38. volcenginesdkbilling/models/list_budget_filter_owner_id_request.py +95 -0
  39. volcenginesdkbilling/models/list_budget_filter_owner_id_response.py +123 -0
  40. volcenginesdkbilling/models/list_budget_filter_payer_id_request.py +95 -0
  41. volcenginesdkbilling/models/list_budget_filter_payer_id_response.py +123 -0
  42. volcenginesdkbilling/models/list_budget_filter_product_request.py +151 -0
  43. volcenginesdkbilling/models/list_budget_filter_product_response.py +201 -0
  44. volcenginesdkbilling/models/list_budget_filter_project_request.py +151 -0
  45. volcenginesdkbilling/models/list_budget_filter_project_response.py +201 -0
  46. volcenginesdkbilling/models/list_budget_filter_region_code_request.py +151 -0
  47. volcenginesdkbilling/models/list_budget_filter_region_code_response.py +201 -0
  48. volcenginesdkbilling/models/list_budget_filter_subject_info_request.py +151 -0
  49. volcenginesdkbilling/models/list_budget_filter_subject_info_response.py +201 -0
  50. volcenginesdkbilling/models/list_budget_filter_tag_key_request.py +151 -0
  51. volcenginesdkbilling/models/list_budget_filter_tag_key_response.py +201 -0
  52. volcenginesdkbilling/models/list_budget_filter_tag_value_request.py +178 -0
  53. volcenginesdkbilling/models/list_budget_filter_tag_value_response.py +201 -0
  54. volcenginesdkbilling/models/list_budget_filter_zone_code_request.py +151 -0
  55. volcenginesdkbilling/models/list_budget_filter_zone_code_response.py +201 -0
  56. volcenginesdkbilling/models/list_budget_request.py +302 -0
  57. volcenginesdkbilling/models/list_budget_response.py +201 -0
  58. volcenginesdkbilling/models/list_for_list_budget_filter_owner_id_output.py +149 -0
  59. volcenginesdkbilling/models/list_for_list_budget_filter_payer_id_output.py +149 -0
  60. volcenginesdkbilling/models/list_for_list_budget_filter_product_output.py +149 -0
  61. volcenginesdkbilling/models/list_recipient_information_request.py +151 -0
  62. volcenginesdkbilling/models/list_recipient_information_response.py +201 -0
  63. volcenginesdkbilling/models/query_budget_detail_request.py +124 -0
  64. volcenginesdkbilling/models/query_budget_detail_response.py +201 -0
  65. volcenginesdkbilling/models/recipient_information_list_for_list_recipient_information_output.py +201 -0
  66. volcenginesdkbilling/models/region_info_list_for_list_budget_filter_region_code_output.py +149 -0
  67. volcenginesdkbilling/models/subject_info_list_for_list_budget_filter_subject_info_output.py +149 -0
  68. volcenginesdkbilling/models/update_budget_request.py +254 -0
  69. volcenginesdkbilling/models/update_budget_response.py +95 -0
  70. volcenginesdkbilling/models/zone_info_list_for_list_budget_filter_zone_code_output.py +149 -0
  71. volcenginesdkcore/api_client.py +1 -1
  72. volcenginesdkcore/configuration.py +1 -1
  73. {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/WHEEL +0 -0
  74. {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/licenses/LICENSE.txt +0 -0
  75. {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/licenses/NOTICE.md +0 -0
  76. {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 BudgetRangeForCreateBudgetInput(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
+ 'billing_mode': 'list[str]',
37
+ 'owner_id': 'list[int]',
38
+ 'payer_id': 'list[int]',
39
+ 'product': 'list[str]',
40
+ 'project': 'list[str]',
41
+ 'region': 'list[str]',
42
+ 'subject_no': 'list[str]',
43
+ 'tag': 'list[str]',
44
+ 'zone': 'list[str]'
45
+ }
46
+
47
+ attribute_map = {
48
+ 'billing_mode': 'BillingMode',
49
+ 'owner_id': 'OwnerID',
50
+ 'payer_id': 'PayerID',
51
+ 'product': 'Product',
52
+ 'project': 'Project',
53
+ 'region': 'Region',
54
+ 'subject_no': 'SubjectNo',
55
+ 'tag': 'Tag',
56
+ 'zone': 'Zone'
57
+ }
58
+
59
+ def __init__(self, billing_mode=None, owner_id=None, payer_id=None, product=None, project=None, region=None, subject_no=None, tag=None, zone=None, _configuration=None): # noqa: E501
60
+ """BudgetRangeForCreateBudgetInput - a model defined in Swagger""" # noqa: E501
61
+ if _configuration is None:
62
+ _configuration = Configuration()
63
+ self._configuration = _configuration
64
+
65
+ self._billing_mode = None
66
+ self._owner_id = None
67
+ self._payer_id = None
68
+ self._product = None
69
+ self._project = None
70
+ self._region = None
71
+ self._subject_no = None
72
+ self._tag = None
73
+ self._zone = None
74
+ self.discriminator = None
75
+
76
+ if billing_mode is not None:
77
+ self.billing_mode = billing_mode
78
+ if owner_id is not None:
79
+ self.owner_id = owner_id
80
+ if payer_id is not None:
81
+ self.payer_id = payer_id
82
+ if product is not None:
83
+ self.product = product
84
+ if project is not None:
85
+ self.project = project
86
+ if region is not None:
87
+ self.region = region
88
+ if subject_no is not None:
89
+ self.subject_no = subject_no
90
+ if tag is not None:
91
+ self.tag = tag
92
+ if zone is not None:
93
+ self.zone = zone
94
+
95
+ @property
96
+ def billing_mode(self):
97
+ """Gets the billing_mode of this BudgetRangeForCreateBudgetInput. # noqa: E501
98
+
99
+
100
+ :return: The billing_mode of this BudgetRangeForCreateBudgetInput. # noqa: E501
101
+ :rtype: list[str]
102
+ """
103
+ return self._billing_mode
104
+
105
+ @billing_mode.setter
106
+ def billing_mode(self, billing_mode):
107
+ """Sets the billing_mode of this BudgetRangeForCreateBudgetInput.
108
+
109
+
110
+ :param billing_mode: The billing_mode of this BudgetRangeForCreateBudgetInput. # noqa: E501
111
+ :type: list[str]
112
+ """
113
+
114
+ self._billing_mode = billing_mode
115
+
116
+ @property
117
+ def owner_id(self):
118
+ """Gets the owner_id of this BudgetRangeForCreateBudgetInput. # noqa: E501
119
+
120
+
121
+ :return: The owner_id of this BudgetRangeForCreateBudgetInput. # noqa: E501
122
+ :rtype: list[int]
123
+ """
124
+ return self._owner_id
125
+
126
+ @owner_id.setter
127
+ def owner_id(self, owner_id):
128
+ """Sets the owner_id of this BudgetRangeForCreateBudgetInput.
129
+
130
+
131
+ :param owner_id: The owner_id of this BudgetRangeForCreateBudgetInput. # noqa: E501
132
+ :type: list[int]
133
+ """
134
+
135
+ self._owner_id = owner_id
136
+
137
+ @property
138
+ def payer_id(self):
139
+ """Gets the payer_id of this BudgetRangeForCreateBudgetInput. # noqa: E501
140
+
141
+
142
+ :return: The payer_id of this BudgetRangeForCreateBudgetInput. # noqa: E501
143
+ :rtype: list[int]
144
+ """
145
+ return self._payer_id
146
+
147
+ @payer_id.setter
148
+ def payer_id(self, payer_id):
149
+ """Sets the payer_id of this BudgetRangeForCreateBudgetInput.
150
+
151
+
152
+ :param payer_id: The payer_id of this BudgetRangeForCreateBudgetInput. # noqa: E501
153
+ :type: list[int]
154
+ """
155
+
156
+ self._payer_id = payer_id
157
+
158
+ @property
159
+ def product(self):
160
+ """Gets the product of this BudgetRangeForCreateBudgetInput. # noqa: E501
161
+
162
+
163
+ :return: The product of this BudgetRangeForCreateBudgetInput. # noqa: E501
164
+ :rtype: list[str]
165
+ """
166
+ return self._product
167
+
168
+ @product.setter
169
+ def product(self, product):
170
+ """Sets the product of this BudgetRangeForCreateBudgetInput.
171
+
172
+
173
+ :param product: The product of this BudgetRangeForCreateBudgetInput. # noqa: E501
174
+ :type: list[str]
175
+ """
176
+
177
+ self._product = product
178
+
179
+ @property
180
+ def project(self):
181
+ """Gets the project of this BudgetRangeForCreateBudgetInput. # noqa: E501
182
+
183
+
184
+ :return: The project of this BudgetRangeForCreateBudgetInput. # noqa: E501
185
+ :rtype: list[str]
186
+ """
187
+ return self._project
188
+
189
+ @project.setter
190
+ def project(self, project):
191
+ """Sets the project of this BudgetRangeForCreateBudgetInput.
192
+
193
+
194
+ :param project: The project of this BudgetRangeForCreateBudgetInput. # noqa: E501
195
+ :type: list[str]
196
+ """
197
+
198
+ self._project = project
199
+
200
+ @property
201
+ def region(self):
202
+ """Gets the region of this BudgetRangeForCreateBudgetInput. # noqa: E501
203
+
204
+
205
+ :return: The region of this BudgetRangeForCreateBudgetInput. # noqa: E501
206
+ :rtype: list[str]
207
+ """
208
+ return self._region
209
+
210
+ @region.setter
211
+ def region(self, region):
212
+ """Sets the region of this BudgetRangeForCreateBudgetInput.
213
+
214
+
215
+ :param region: The region of this BudgetRangeForCreateBudgetInput. # noqa: E501
216
+ :type: list[str]
217
+ """
218
+
219
+ self._region = region
220
+
221
+ @property
222
+ def subject_no(self):
223
+ """Gets the subject_no of this BudgetRangeForCreateBudgetInput. # noqa: E501
224
+
225
+
226
+ :return: The subject_no of this BudgetRangeForCreateBudgetInput. # noqa: E501
227
+ :rtype: list[str]
228
+ """
229
+ return self._subject_no
230
+
231
+ @subject_no.setter
232
+ def subject_no(self, subject_no):
233
+ """Sets the subject_no of this BudgetRangeForCreateBudgetInput.
234
+
235
+
236
+ :param subject_no: The subject_no of this BudgetRangeForCreateBudgetInput. # noqa: E501
237
+ :type: list[str]
238
+ """
239
+
240
+ self._subject_no = subject_no
241
+
242
+ @property
243
+ def tag(self):
244
+ """Gets the tag of this BudgetRangeForCreateBudgetInput. # noqa: E501
245
+
246
+
247
+ :return: The tag of this BudgetRangeForCreateBudgetInput. # noqa: E501
248
+ :rtype: list[str]
249
+ """
250
+ return self._tag
251
+
252
+ @tag.setter
253
+ def tag(self, tag):
254
+ """Sets the tag of this BudgetRangeForCreateBudgetInput.
255
+
256
+
257
+ :param tag: The tag of this BudgetRangeForCreateBudgetInput. # noqa: E501
258
+ :type: list[str]
259
+ """
260
+
261
+ self._tag = tag
262
+
263
+ @property
264
+ def zone(self):
265
+ """Gets the zone of this BudgetRangeForCreateBudgetInput. # noqa: E501
266
+
267
+
268
+ :return: The zone of this BudgetRangeForCreateBudgetInput. # noqa: E501
269
+ :rtype: list[str]
270
+ """
271
+ return self._zone
272
+
273
+ @zone.setter
274
+ def zone(self, zone):
275
+ """Sets the zone of this BudgetRangeForCreateBudgetInput.
276
+
277
+
278
+ :param zone: The zone of this BudgetRangeForCreateBudgetInput. # noqa: E501
279
+ :type: list[str]
280
+ """
281
+
282
+ self._zone = 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(BudgetRangeForCreateBudgetInput, 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, BudgetRangeForCreateBudgetInput):
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, BudgetRangeForCreateBudgetInput):
329
+ return True
330
+
331
+ return self.to_dict() != other.to_dict()
@@ -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 BudgetRangeForUpdateBudgetInput(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
+ 'billing_mode': 'list[str]',
37
+ 'owner_id': 'list[int]',
38
+ 'payer_id': 'list[int]',
39
+ 'product': 'list[str]',
40
+ 'project': 'list[str]',
41
+ 'region': 'list[str]',
42
+ 'subject_no': 'list[str]',
43
+ 'tag': 'list[str]',
44
+ 'zone': 'list[str]'
45
+ }
46
+
47
+ attribute_map = {
48
+ 'billing_mode': 'BillingMode',
49
+ 'owner_id': 'OwnerID',
50
+ 'payer_id': 'PayerID',
51
+ 'product': 'Product',
52
+ 'project': 'Project',
53
+ 'region': 'Region',
54
+ 'subject_no': 'SubjectNo',
55
+ 'tag': 'Tag',
56
+ 'zone': 'Zone'
57
+ }
58
+
59
+ def __init__(self, billing_mode=None, owner_id=None, payer_id=None, product=None, project=None, region=None, subject_no=None, tag=None, zone=None, _configuration=None): # noqa: E501
60
+ """BudgetRangeForUpdateBudgetInput - a model defined in Swagger""" # noqa: E501
61
+ if _configuration is None:
62
+ _configuration = Configuration()
63
+ self._configuration = _configuration
64
+
65
+ self._billing_mode = None
66
+ self._owner_id = None
67
+ self._payer_id = None
68
+ self._product = None
69
+ self._project = None
70
+ self._region = None
71
+ self._subject_no = None
72
+ self._tag = None
73
+ self._zone = None
74
+ self.discriminator = None
75
+
76
+ if billing_mode is not None:
77
+ self.billing_mode = billing_mode
78
+ if owner_id is not None:
79
+ self.owner_id = owner_id
80
+ if payer_id is not None:
81
+ self.payer_id = payer_id
82
+ if product is not None:
83
+ self.product = product
84
+ if project is not None:
85
+ self.project = project
86
+ if region is not None:
87
+ self.region = region
88
+ if subject_no is not None:
89
+ self.subject_no = subject_no
90
+ if tag is not None:
91
+ self.tag = tag
92
+ if zone is not None:
93
+ self.zone = zone
94
+
95
+ @property
96
+ def billing_mode(self):
97
+ """Gets the billing_mode of this BudgetRangeForUpdateBudgetInput. # noqa: E501
98
+
99
+
100
+ :return: The billing_mode of this BudgetRangeForUpdateBudgetInput. # noqa: E501
101
+ :rtype: list[str]
102
+ """
103
+ return self._billing_mode
104
+
105
+ @billing_mode.setter
106
+ def billing_mode(self, billing_mode):
107
+ """Sets the billing_mode of this BudgetRangeForUpdateBudgetInput.
108
+
109
+
110
+ :param billing_mode: The billing_mode of this BudgetRangeForUpdateBudgetInput. # noqa: E501
111
+ :type: list[str]
112
+ """
113
+
114
+ self._billing_mode = billing_mode
115
+
116
+ @property
117
+ def owner_id(self):
118
+ """Gets the owner_id of this BudgetRangeForUpdateBudgetInput. # noqa: E501
119
+
120
+
121
+ :return: The owner_id of this BudgetRangeForUpdateBudgetInput. # noqa: E501
122
+ :rtype: list[int]
123
+ """
124
+ return self._owner_id
125
+
126
+ @owner_id.setter
127
+ def owner_id(self, owner_id):
128
+ """Sets the owner_id of this BudgetRangeForUpdateBudgetInput.
129
+
130
+
131
+ :param owner_id: The owner_id of this BudgetRangeForUpdateBudgetInput. # noqa: E501
132
+ :type: list[int]
133
+ """
134
+
135
+ self._owner_id = owner_id
136
+
137
+ @property
138
+ def payer_id(self):
139
+ """Gets the payer_id of this BudgetRangeForUpdateBudgetInput. # noqa: E501
140
+
141
+
142
+ :return: The payer_id of this BudgetRangeForUpdateBudgetInput. # noqa: E501
143
+ :rtype: list[int]
144
+ """
145
+ return self._payer_id
146
+
147
+ @payer_id.setter
148
+ def payer_id(self, payer_id):
149
+ """Sets the payer_id of this BudgetRangeForUpdateBudgetInput.
150
+
151
+
152
+ :param payer_id: The payer_id of this BudgetRangeForUpdateBudgetInput. # noqa: E501
153
+ :type: list[int]
154
+ """
155
+
156
+ self._payer_id = payer_id
157
+
158
+ @property
159
+ def product(self):
160
+ """Gets the product of this BudgetRangeForUpdateBudgetInput. # noqa: E501
161
+
162
+
163
+ :return: The product of this BudgetRangeForUpdateBudgetInput. # noqa: E501
164
+ :rtype: list[str]
165
+ """
166
+ return self._product
167
+
168
+ @product.setter
169
+ def product(self, product):
170
+ """Sets the product of this BudgetRangeForUpdateBudgetInput.
171
+
172
+
173
+ :param product: The product of this BudgetRangeForUpdateBudgetInput. # noqa: E501
174
+ :type: list[str]
175
+ """
176
+
177
+ self._product = product
178
+
179
+ @property
180
+ def project(self):
181
+ """Gets the project of this BudgetRangeForUpdateBudgetInput. # noqa: E501
182
+
183
+
184
+ :return: The project of this BudgetRangeForUpdateBudgetInput. # noqa: E501
185
+ :rtype: list[str]
186
+ """
187
+ return self._project
188
+
189
+ @project.setter
190
+ def project(self, project):
191
+ """Sets the project of this BudgetRangeForUpdateBudgetInput.
192
+
193
+
194
+ :param project: The project of this BudgetRangeForUpdateBudgetInput. # noqa: E501
195
+ :type: list[str]
196
+ """
197
+
198
+ self._project = project
199
+
200
+ @property
201
+ def region(self):
202
+ """Gets the region of this BudgetRangeForUpdateBudgetInput. # noqa: E501
203
+
204
+
205
+ :return: The region of this BudgetRangeForUpdateBudgetInput. # noqa: E501
206
+ :rtype: list[str]
207
+ """
208
+ return self._region
209
+
210
+ @region.setter
211
+ def region(self, region):
212
+ """Sets the region of this BudgetRangeForUpdateBudgetInput.
213
+
214
+
215
+ :param region: The region of this BudgetRangeForUpdateBudgetInput. # noqa: E501
216
+ :type: list[str]
217
+ """
218
+
219
+ self._region = region
220
+
221
+ @property
222
+ def subject_no(self):
223
+ """Gets the subject_no of this BudgetRangeForUpdateBudgetInput. # noqa: E501
224
+
225
+
226
+ :return: The subject_no of this BudgetRangeForUpdateBudgetInput. # noqa: E501
227
+ :rtype: list[str]
228
+ """
229
+ return self._subject_no
230
+
231
+ @subject_no.setter
232
+ def subject_no(self, subject_no):
233
+ """Sets the subject_no of this BudgetRangeForUpdateBudgetInput.
234
+
235
+
236
+ :param subject_no: The subject_no of this BudgetRangeForUpdateBudgetInput. # noqa: E501
237
+ :type: list[str]
238
+ """
239
+
240
+ self._subject_no = subject_no
241
+
242
+ @property
243
+ def tag(self):
244
+ """Gets the tag of this BudgetRangeForUpdateBudgetInput. # noqa: E501
245
+
246
+
247
+ :return: The tag of this BudgetRangeForUpdateBudgetInput. # noqa: E501
248
+ :rtype: list[str]
249
+ """
250
+ return self._tag
251
+
252
+ @tag.setter
253
+ def tag(self, tag):
254
+ """Sets the tag of this BudgetRangeForUpdateBudgetInput.
255
+
256
+
257
+ :param tag: The tag of this BudgetRangeForUpdateBudgetInput. # noqa: E501
258
+ :type: list[str]
259
+ """
260
+
261
+ self._tag = tag
262
+
263
+ @property
264
+ def zone(self):
265
+ """Gets the zone of this BudgetRangeForUpdateBudgetInput. # noqa: E501
266
+
267
+
268
+ :return: The zone of this BudgetRangeForUpdateBudgetInput. # noqa: E501
269
+ :rtype: list[str]
270
+ """
271
+ return self._zone
272
+
273
+ @zone.setter
274
+ def zone(self, zone):
275
+ """Sets the zone of this BudgetRangeForUpdateBudgetInput.
276
+
277
+
278
+ :param zone: The zone of this BudgetRangeForUpdateBudgetInput. # noqa: E501
279
+ :type: list[str]
280
+ """
281
+
282
+ self._zone = 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(BudgetRangeForUpdateBudgetInput, 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, BudgetRangeForUpdateBudgetInput):
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, BudgetRangeForUpdateBudgetInput):
329
+ return True
330
+
331
+ return self.to_dict() != other.to_dict()