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,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 ListBudgetFilterSubjectInfoRequest(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
+ """ListBudgetFilterSubjectInfoRequest - 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 ListBudgetFilterSubjectInfoRequest. # noqa: E501
61
+
62
+
63
+ :return: The limit of this ListBudgetFilterSubjectInfoRequest. # 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 ListBudgetFilterSubjectInfoRequest.
71
+
72
+
73
+ :param limit: The limit of this ListBudgetFilterSubjectInfoRequest. # 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 ListBudgetFilterSubjectInfoRequest. # noqa: E501
84
+
85
+
86
+ :return: The offset of this ListBudgetFilterSubjectInfoRequest. # 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 ListBudgetFilterSubjectInfoRequest.
94
+
95
+
96
+ :param offset: The offset of this ListBudgetFilterSubjectInfoRequest. # 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(ListBudgetFilterSubjectInfoRequest, 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, ListBudgetFilterSubjectInfoRequest):
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, ListBudgetFilterSubjectInfoRequest):
149
+ return True
150
+
151
+ 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 ListBudgetFilterSubjectInfoResponse(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
+ 'subject_info_list': 'list[SubjectInfoListForListBudgetFilterSubjectInfoOutput]',
39
+ 'total': 'int'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'limit': 'Limit',
44
+ 'offset': 'Offset',
45
+ 'subject_info_list': 'SubjectInfoList',
46
+ 'total': 'Total'
47
+ }
48
+
49
+ def __init__(self, limit=None, offset=None, subject_info_list=None, total=None, _configuration=None): # noqa: E501
50
+ """ListBudgetFilterSubjectInfoResponse - 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._offset = None
57
+ self._subject_info_list = None
58
+ self._total = None
59
+ self.discriminator = None
60
+
61
+ if limit is not None:
62
+ self.limit = limit
63
+ if offset is not None:
64
+ self.offset = offset
65
+ if subject_info_list is not None:
66
+ self.subject_info_list = subject_info_list
67
+ if total is not None:
68
+ self.total = total
69
+
70
+ @property
71
+ def limit(self):
72
+ """Gets the limit of this ListBudgetFilterSubjectInfoResponse. # noqa: E501
73
+
74
+
75
+ :return: The limit of this ListBudgetFilterSubjectInfoResponse. # 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 ListBudgetFilterSubjectInfoResponse.
83
+
84
+
85
+ :param limit: The limit of this ListBudgetFilterSubjectInfoResponse. # noqa: E501
86
+ :type: int
87
+ """
88
+
89
+ self._limit = limit
90
+
91
+ @property
92
+ def offset(self):
93
+ """Gets the offset of this ListBudgetFilterSubjectInfoResponse. # noqa: E501
94
+
95
+
96
+ :return: The offset of this ListBudgetFilterSubjectInfoResponse. # noqa: E501
97
+ :rtype: int
98
+ """
99
+ return self._offset
100
+
101
+ @offset.setter
102
+ def offset(self, offset):
103
+ """Sets the offset of this ListBudgetFilterSubjectInfoResponse.
104
+
105
+
106
+ :param offset: The offset of this ListBudgetFilterSubjectInfoResponse. # noqa: E501
107
+ :type: int
108
+ """
109
+
110
+ self._offset = offset
111
+
112
+ @property
113
+ def subject_info_list(self):
114
+ """Gets the subject_info_list of this ListBudgetFilterSubjectInfoResponse. # noqa: E501
115
+
116
+
117
+ :return: The subject_info_list of this ListBudgetFilterSubjectInfoResponse. # noqa: E501
118
+ :rtype: list[SubjectInfoListForListBudgetFilterSubjectInfoOutput]
119
+ """
120
+ return self._subject_info_list
121
+
122
+ @subject_info_list.setter
123
+ def subject_info_list(self, subject_info_list):
124
+ """Sets the subject_info_list of this ListBudgetFilterSubjectInfoResponse.
125
+
126
+
127
+ :param subject_info_list: The subject_info_list of this ListBudgetFilterSubjectInfoResponse. # noqa: E501
128
+ :type: list[SubjectInfoListForListBudgetFilterSubjectInfoOutput]
129
+ """
130
+
131
+ self._subject_info_list = subject_info_list
132
+
133
+ @property
134
+ def total(self):
135
+ """Gets the total of this ListBudgetFilterSubjectInfoResponse. # noqa: E501
136
+
137
+
138
+ :return: The total of this ListBudgetFilterSubjectInfoResponse. # 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 ListBudgetFilterSubjectInfoResponse.
146
+
147
+
148
+ :param total: The total of this ListBudgetFilterSubjectInfoResponse. # 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(ListBudgetFilterSubjectInfoResponse, 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, ListBudgetFilterSubjectInfoResponse):
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, ListBudgetFilterSubjectInfoResponse):
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 ListBudgetFilterTagKeyRequest(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
+ """ListBudgetFilterTagKeyRequest - 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 ListBudgetFilterTagKeyRequest. # noqa: E501
61
+
62
+
63
+ :return: The limit of this ListBudgetFilterTagKeyRequest. # 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 ListBudgetFilterTagKeyRequest.
71
+
72
+
73
+ :param limit: The limit of this ListBudgetFilterTagKeyRequest. # 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 ListBudgetFilterTagKeyRequest. # noqa: E501
84
+
85
+
86
+ :return: The offset of this ListBudgetFilterTagKeyRequest. # 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 ListBudgetFilterTagKeyRequest.
94
+
95
+
96
+ :param offset: The offset of this ListBudgetFilterTagKeyRequest. # 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(ListBudgetFilterTagKeyRequest, 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, ListBudgetFilterTagKeyRequest):
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, ListBudgetFilterTagKeyRequest):
149
+ return True
150
+
151
+ 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 ListBudgetFilterTagKeyResponse(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
+ """ListBudgetFilterTagKeyResponse - 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 ListBudgetFilterTagKeyResponse. # noqa: E501
73
+
74
+
75
+ :return: The limit of this ListBudgetFilterTagKeyResponse. # 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 ListBudgetFilterTagKeyResponse.
83
+
84
+
85
+ :param limit: The limit of this ListBudgetFilterTagKeyResponse. # noqa: E501
86
+ :type: int
87
+ """
88
+
89
+ self._limit = limit
90
+
91
+ @property
92
+ def list(self):
93
+ """Gets the list of this ListBudgetFilterTagKeyResponse. # noqa: E501
94
+
95
+
96
+ :return: The list of this ListBudgetFilterTagKeyResponse. # 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 ListBudgetFilterTagKeyResponse.
104
+
105
+
106
+ :param list: The list of this ListBudgetFilterTagKeyResponse. # 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 ListBudgetFilterTagKeyResponse. # noqa: E501
115
+
116
+
117
+ :return: The offset of this ListBudgetFilterTagKeyResponse. # 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 ListBudgetFilterTagKeyResponse.
125
+
126
+
127
+ :param offset: The offset of this ListBudgetFilterTagKeyResponse. # noqa: E501
128
+ :type: int
129
+ """
130
+
131
+ self._offset = offset
132
+
133
+ @property
134
+ def total(self):
135
+ """Gets the total of this ListBudgetFilterTagKeyResponse. # noqa: E501
136
+
137
+
138
+ :return: The total of this ListBudgetFilterTagKeyResponse. # 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 ListBudgetFilterTagKeyResponse.
146
+
147
+
148
+ :param total: The total of this ListBudgetFilterTagKeyResponse. # 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(ListBudgetFilterTagKeyResponse, 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, ListBudgetFilterTagKeyResponse):
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, ListBudgetFilterTagKeyResponse):
199
+ return True
200
+
201
+ return self.to_dict() != other.to_dict()