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,178 @@
|
|
|
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 ListBudgetFilterTagValueRequest(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
|
+
'limit': 'int',
|
|
37
|
+
'offset': 'int',
|
|
38
|
+
'tag_key': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'limit': 'Limit',
|
|
43
|
+
'offset': 'Offset',
|
|
44
|
+
'tag_key': 'TagKey'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, limit=None, offset=None, tag_key=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""ListBudgetFilterTagValueRequest - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._limit = None
|
|
54
|
+
self._offset = None
|
|
55
|
+
self._tag_key = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
self.limit = limit
|
|
59
|
+
self.offset = offset
|
|
60
|
+
self.tag_key = tag_key
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def limit(self):
|
|
64
|
+
"""Gets the limit of this ListBudgetFilterTagValueRequest. # noqa: E501
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
:return: The limit of this ListBudgetFilterTagValueRequest. # noqa: E501
|
|
68
|
+
:rtype: int
|
|
69
|
+
"""
|
|
70
|
+
return self._limit
|
|
71
|
+
|
|
72
|
+
@limit.setter
|
|
73
|
+
def limit(self, limit):
|
|
74
|
+
"""Sets the limit of this ListBudgetFilterTagValueRequest.
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
:param limit: The limit of this ListBudgetFilterTagValueRequest. # noqa: E501
|
|
78
|
+
:type: int
|
|
79
|
+
"""
|
|
80
|
+
if self._configuration.client_side_validation and limit is None:
|
|
81
|
+
raise ValueError("Invalid value for `limit`, must not be `None`") # noqa: E501
|
|
82
|
+
|
|
83
|
+
self._limit = limit
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def offset(self):
|
|
87
|
+
"""Gets the offset of this ListBudgetFilterTagValueRequest. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The offset of this ListBudgetFilterTagValueRequest. # noqa: E501
|
|
91
|
+
:rtype: int
|
|
92
|
+
"""
|
|
93
|
+
return self._offset
|
|
94
|
+
|
|
95
|
+
@offset.setter
|
|
96
|
+
def offset(self, offset):
|
|
97
|
+
"""Sets the offset of this ListBudgetFilterTagValueRequest.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param offset: The offset of this ListBudgetFilterTagValueRequest. # noqa: E501
|
|
101
|
+
:type: int
|
|
102
|
+
"""
|
|
103
|
+
if self._configuration.client_side_validation and offset is None:
|
|
104
|
+
raise ValueError("Invalid value for `offset`, must not be `None`") # noqa: E501
|
|
105
|
+
|
|
106
|
+
self._offset = offset
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def tag_key(self):
|
|
110
|
+
"""Gets the tag_key of this ListBudgetFilterTagValueRequest. # noqa: E501
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
:return: The tag_key of this ListBudgetFilterTagValueRequest. # noqa: E501
|
|
114
|
+
:rtype: str
|
|
115
|
+
"""
|
|
116
|
+
return self._tag_key
|
|
117
|
+
|
|
118
|
+
@tag_key.setter
|
|
119
|
+
def tag_key(self, tag_key):
|
|
120
|
+
"""Sets the tag_key of this ListBudgetFilterTagValueRequest.
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
:param tag_key: The tag_key of this ListBudgetFilterTagValueRequest. # noqa: E501
|
|
124
|
+
:type: str
|
|
125
|
+
"""
|
|
126
|
+
if self._configuration.client_side_validation and tag_key is None:
|
|
127
|
+
raise ValueError("Invalid value for `tag_key`, must not be `None`") # noqa: E501
|
|
128
|
+
|
|
129
|
+
self._tag_key = tag_key
|
|
130
|
+
|
|
131
|
+
def to_dict(self):
|
|
132
|
+
"""Returns the model properties as a dict"""
|
|
133
|
+
result = {}
|
|
134
|
+
|
|
135
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
136
|
+
value = getattr(self, attr)
|
|
137
|
+
if isinstance(value, list):
|
|
138
|
+
result[attr] = list(map(
|
|
139
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
140
|
+
value
|
|
141
|
+
))
|
|
142
|
+
elif hasattr(value, "to_dict"):
|
|
143
|
+
result[attr] = value.to_dict()
|
|
144
|
+
elif isinstance(value, dict):
|
|
145
|
+
result[attr] = dict(map(
|
|
146
|
+
lambda item: (item[0], item[1].to_dict())
|
|
147
|
+
if hasattr(item[1], "to_dict") else item,
|
|
148
|
+
value.items()
|
|
149
|
+
))
|
|
150
|
+
else:
|
|
151
|
+
result[attr] = value
|
|
152
|
+
if issubclass(ListBudgetFilterTagValueRequest, dict):
|
|
153
|
+
for key, value in self.items():
|
|
154
|
+
result[key] = value
|
|
155
|
+
|
|
156
|
+
return result
|
|
157
|
+
|
|
158
|
+
def to_str(self):
|
|
159
|
+
"""Returns the string representation of the model"""
|
|
160
|
+
return pprint.pformat(self.to_dict())
|
|
161
|
+
|
|
162
|
+
def __repr__(self):
|
|
163
|
+
"""For `print` and `pprint`"""
|
|
164
|
+
return self.to_str()
|
|
165
|
+
|
|
166
|
+
def __eq__(self, other):
|
|
167
|
+
"""Returns true if both objects are equal"""
|
|
168
|
+
if not isinstance(other, ListBudgetFilterTagValueRequest):
|
|
169
|
+
return False
|
|
170
|
+
|
|
171
|
+
return self.to_dict() == other.to_dict()
|
|
172
|
+
|
|
173
|
+
def __ne__(self, other):
|
|
174
|
+
"""Returns true if both objects are not equal"""
|
|
175
|
+
if not isinstance(other, ListBudgetFilterTagValueRequest):
|
|
176
|
+
return True
|
|
177
|
+
|
|
178
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,201 @@
|
|
|
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 ListBudgetFilterTagValueResponse(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
|
+
'limit': 'int',
|
|
37
|
+
'list': 'list[str]',
|
|
38
|
+
'offset': 'int',
|
|
39
|
+
'total': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'limit': 'Limit',
|
|
44
|
+
'list': 'List',
|
|
45
|
+
'offset': 'Offset',
|
|
46
|
+
'total': 'Total'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, limit=None, list=None, offset=None, total=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""ListBudgetFilterTagValueResponse - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._limit = None
|
|
56
|
+
self._list = None
|
|
57
|
+
self._offset = None
|
|
58
|
+
self._total = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if limit is not None:
|
|
62
|
+
self.limit = limit
|
|
63
|
+
if list is not None:
|
|
64
|
+
self.list = list
|
|
65
|
+
if offset is not None:
|
|
66
|
+
self.offset = offset
|
|
67
|
+
if total is not None:
|
|
68
|
+
self.total = total
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def limit(self):
|
|
72
|
+
"""Gets the limit of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The limit of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
76
|
+
:rtype: int
|
|
77
|
+
"""
|
|
78
|
+
return self._limit
|
|
79
|
+
|
|
80
|
+
@limit.setter
|
|
81
|
+
def limit(self, limit):
|
|
82
|
+
"""Sets the limit of this ListBudgetFilterTagValueResponse.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param limit: The limit of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
86
|
+
:type: int
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._limit = limit
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def list(self):
|
|
93
|
+
"""Gets the list of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The list of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
97
|
+
:rtype: list[str]
|
|
98
|
+
"""
|
|
99
|
+
return self._list
|
|
100
|
+
|
|
101
|
+
@list.setter
|
|
102
|
+
def list(self, list):
|
|
103
|
+
"""Sets the list of this ListBudgetFilterTagValueResponse.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param list: The list of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
107
|
+
:type: list[str]
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._list = list
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def offset(self):
|
|
114
|
+
"""Gets the offset of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The offset of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
118
|
+
:rtype: int
|
|
119
|
+
"""
|
|
120
|
+
return self._offset
|
|
121
|
+
|
|
122
|
+
@offset.setter
|
|
123
|
+
def offset(self, offset):
|
|
124
|
+
"""Sets the offset of this ListBudgetFilterTagValueResponse.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param offset: The offset of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
128
|
+
:type: int
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._offset = offset
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def total(self):
|
|
135
|
+
"""Gets the total of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The total of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
139
|
+
:rtype: int
|
|
140
|
+
"""
|
|
141
|
+
return self._total
|
|
142
|
+
|
|
143
|
+
@total.setter
|
|
144
|
+
def total(self, total):
|
|
145
|
+
"""Sets the total of this ListBudgetFilterTagValueResponse.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param total: The total of this ListBudgetFilterTagValueResponse. # noqa: E501
|
|
149
|
+
:type: int
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._total = total
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(ListBudgetFilterTagValueResponse, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, ListBudgetFilterTagValueResponse):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.to_dict() == other.to_dict()
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
if not isinstance(other, ListBudgetFilterTagValueResponse):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,151 @@
|
|
|
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 ListBudgetFilterZoneCodeRequest(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
|
+
'limit': 'int',
|
|
37
|
+
'offset': 'int'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'limit': 'Limit',
|
|
42
|
+
'offset': 'Offset'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, limit=None, offset=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""ListBudgetFilterZoneCodeRequest - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._limit = None
|
|
52
|
+
self._offset = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
self.limit = limit
|
|
56
|
+
self.offset = offset
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def limit(self):
|
|
60
|
+
"""Gets the limit of this ListBudgetFilterZoneCodeRequest. # noqa: E501
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
:return: The limit of this ListBudgetFilterZoneCodeRequest. # noqa: E501
|
|
64
|
+
:rtype: int
|
|
65
|
+
"""
|
|
66
|
+
return self._limit
|
|
67
|
+
|
|
68
|
+
@limit.setter
|
|
69
|
+
def limit(self, limit):
|
|
70
|
+
"""Sets the limit of this ListBudgetFilterZoneCodeRequest.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:param limit: The limit of this ListBudgetFilterZoneCodeRequest. # noqa: E501
|
|
74
|
+
:type: int
|
|
75
|
+
"""
|
|
76
|
+
if self._configuration.client_side_validation and limit is None:
|
|
77
|
+
raise ValueError("Invalid value for `limit`, must not be `None`") # noqa: E501
|
|
78
|
+
|
|
79
|
+
self._limit = limit
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def offset(self):
|
|
83
|
+
"""Gets the offset of this ListBudgetFilterZoneCodeRequest. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The offset of this ListBudgetFilterZoneCodeRequest. # noqa: E501
|
|
87
|
+
:rtype: int
|
|
88
|
+
"""
|
|
89
|
+
return self._offset
|
|
90
|
+
|
|
91
|
+
@offset.setter
|
|
92
|
+
def offset(self, offset):
|
|
93
|
+
"""Sets the offset of this ListBudgetFilterZoneCodeRequest.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param offset: The offset of this ListBudgetFilterZoneCodeRequest. # noqa: E501
|
|
97
|
+
:type: int
|
|
98
|
+
"""
|
|
99
|
+
if self._configuration.client_side_validation and offset is None:
|
|
100
|
+
raise ValueError("Invalid value for `offset`, must not be `None`") # noqa: E501
|
|
101
|
+
|
|
102
|
+
self._offset = offset
|
|
103
|
+
|
|
104
|
+
def to_dict(self):
|
|
105
|
+
"""Returns the model properties as a dict"""
|
|
106
|
+
result = {}
|
|
107
|
+
|
|
108
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
109
|
+
value = getattr(self, attr)
|
|
110
|
+
if isinstance(value, list):
|
|
111
|
+
result[attr] = list(map(
|
|
112
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
113
|
+
value
|
|
114
|
+
))
|
|
115
|
+
elif hasattr(value, "to_dict"):
|
|
116
|
+
result[attr] = value.to_dict()
|
|
117
|
+
elif isinstance(value, dict):
|
|
118
|
+
result[attr] = dict(map(
|
|
119
|
+
lambda item: (item[0], item[1].to_dict())
|
|
120
|
+
if hasattr(item[1], "to_dict") else item,
|
|
121
|
+
value.items()
|
|
122
|
+
))
|
|
123
|
+
else:
|
|
124
|
+
result[attr] = value
|
|
125
|
+
if issubclass(ListBudgetFilterZoneCodeRequest, dict):
|
|
126
|
+
for key, value in self.items():
|
|
127
|
+
result[key] = value
|
|
128
|
+
|
|
129
|
+
return result
|
|
130
|
+
|
|
131
|
+
def to_str(self):
|
|
132
|
+
"""Returns the string representation of the model"""
|
|
133
|
+
return pprint.pformat(self.to_dict())
|
|
134
|
+
|
|
135
|
+
def __repr__(self):
|
|
136
|
+
"""For `print` and `pprint`"""
|
|
137
|
+
return self.to_str()
|
|
138
|
+
|
|
139
|
+
def __eq__(self, other):
|
|
140
|
+
"""Returns true if both objects are equal"""
|
|
141
|
+
if not isinstance(other, ListBudgetFilterZoneCodeRequest):
|
|
142
|
+
return False
|
|
143
|
+
|
|
144
|
+
return self.to_dict() == other.to_dict()
|
|
145
|
+
|
|
146
|
+
def __ne__(self, other):
|
|
147
|
+
"""Returns true if both objects are not equal"""
|
|
148
|
+
if not isinstance(other, ListBudgetFilterZoneCodeRequest):
|
|
149
|
+
return True
|
|
150
|
+
|
|
151
|
+
return self.to_dict() != other.to_dict()
|