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,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 ListForListBudgetFilterOwnerIDOutput(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ 'owner_id': 'int',
37
+ 'owner_user_name': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'owner_id': 'OwnerID',
42
+ 'owner_user_name': 'OwnerUserName'
43
+ }
44
+
45
+ def __init__(self, owner_id=None, owner_user_name=None, _configuration=None): # noqa: E501
46
+ """ListForListBudgetFilterOwnerIDOutput - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._owner_id = None
52
+ self._owner_user_name = None
53
+ self.discriminator = None
54
+
55
+ if owner_id is not None:
56
+ self.owner_id = owner_id
57
+ if owner_user_name is not None:
58
+ self.owner_user_name = owner_user_name
59
+
60
+ @property
61
+ def owner_id(self):
62
+ """Gets the owner_id of this ListForListBudgetFilterOwnerIDOutput. # noqa: E501
63
+
64
+
65
+ :return: The owner_id of this ListForListBudgetFilterOwnerIDOutput. # noqa: E501
66
+ :rtype: int
67
+ """
68
+ return self._owner_id
69
+
70
+ @owner_id.setter
71
+ def owner_id(self, owner_id):
72
+ """Sets the owner_id of this ListForListBudgetFilterOwnerIDOutput.
73
+
74
+
75
+ :param owner_id: The owner_id of this ListForListBudgetFilterOwnerIDOutput. # noqa: E501
76
+ :type: int
77
+ """
78
+
79
+ self._owner_id = owner_id
80
+
81
+ @property
82
+ def owner_user_name(self):
83
+ """Gets the owner_user_name of this ListForListBudgetFilterOwnerIDOutput. # noqa: E501
84
+
85
+
86
+ :return: The owner_user_name of this ListForListBudgetFilterOwnerIDOutput. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._owner_user_name
90
+
91
+ @owner_user_name.setter
92
+ def owner_user_name(self, owner_user_name):
93
+ """Sets the owner_user_name of this ListForListBudgetFilterOwnerIDOutput.
94
+
95
+
96
+ :param owner_user_name: The owner_user_name of this ListForListBudgetFilterOwnerIDOutput. # noqa: E501
97
+ :type: str
98
+ """
99
+
100
+ self._owner_user_name = owner_user_name
101
+
102
+ def to_dict(self):
103
+ """Returns the model properties as a dict"""
104
+ result = {}
105
+
106
+ for attr, _ in six.iteritems(self.swagger_types):
107
+ value = getattr(self, attr)
108
+ if isinstance(value, list):
109
+ result[attr] = list(map(
110
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
+ value
112
+ ))
113
+ elif hasattr(value, "to_dict"):
114
+ result[attr] = value.to_dict()
115
+ elif isinstance(value, dict):
116
+ result[attr] = dict(map(
117
+ lambda item: (item[0], item[1].to_dict())
118
+ if hasattr(item[1], "to_dict") else item,
119
+ value.items()
120
+ ))
121
+ else:
122
+ result[attr] = value
123
+ if issubclass(ListForListBudgetFilterOwnerIDOutput, 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, ListForListBudgetFilterOwnerIDOutput):
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, ListForListBudgetFilterOwnerIDOutput):
147
+ return True
148
+
149
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,149 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ billing
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: common-version
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from volcenginesdkcore.configuration import Configuration
20
+
21
+
22
+ class ListForListBudgetFilterPayerIDOutput(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ 'payer_id': 'int',
37
+ 'payer_user_name': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'payer_id': 'PayerID',
42
+ 'payer_user_name': 'PayerUserName'
43
+ }
44
+
45
+ def __init__(self, payer_id=None, payer_user_name=None, _configuration=None): # noqa: E501
46
+ """ListForListBudgetFilterPayerIDOutput - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._payer_id = None
52
+ self._payer_user_name = None
53
+ self.discriminator = None
54
+
55
+ if payer_id is not None:
56
+ self.payer_id = payer_id
57
+ if payer_user_name is not None:
58
+ self.payer_user_name = payer_user_name
59
+
60
+ @property
61
+ def payer_id(self):
62
+ """Gets the payer_id of this ListForListBudgetFilterPayerIDOutput. # noqa: E501
63
+
64
+
65
+ :return: The payer_id of this ListForListBudgetFilterPayerIDOutput. # noqa: E501
66
+ :rtype: int
67
+ """
68
+ return self._payer_id
69
+
70
+ @payer_id.setter
71
+ def payer_id(self, payer_id):
72
+ """Sets the payer_id of this ListForListBudgetFilterPayerIDOutput.
73
+
74
+
75
+ :param payer_id: The payer_id of this ListForListBudgetFilterPayerIDOutput. # noqa: E501
76
+ :type: int
77
+ """
78
+
79
+ self._payer_id = payer_id
80
+
81
+ @property
82
+ def payer_user_name(self):
83
+ """Gets the payer_user_name of this ListForListBudgetFilterPayerIDOutput. # noqa: E501
84
+
85
+
86
+ :return: The payer_user_name of this ListForListBudgetFilterPayerIDOutput. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._payer_user_name
90
+
91
+ @payer_user_name.setter
92
+ def payer_user_name(self, payer_user_name):
93
+ """Sets the payer_user_name of this ListForListBudgetFilterPayerIDOutput.
94
+
95
+
96
+ :param payer_user_name: The payer_user_name of this ListForListBudgetFilterPayerIDOutput. # noqa: E501
97
+ :type: str
98
+ """
99
+
100
+ self._payer_user_name = payer_user_name
101
+
102
+ def to_dict(self):
103
+ """Returns the model properties as a dict"""
104
+ result = {}
105
+
106
+ for attr, _ in six.iteritems(self.swagger_types):
107
+ value = getattr(self, attr)
108
+ if isinstance(value, list):
109
+ result[attr] = list(map(
110
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
+ value
112
+ ))
113
+ elif hasattr(value, "to_dict"):
114
+ result[attr] = value.to_dict()
115
+ elif isinstance(value, dict):
116
+ result[attr] = dict(map(
117
+ lambda item: (item[0], item[1].to_dict())
118
+ if hasattr(item[1], "to_dict") else item,
119
+ value.items()
120
+ ))
121
+ else:
122
+ result[attr] = value
123
+ if issubclass(ListForListBudgetFilterPayerIDOutput, 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, ListForListBudgetFilterPayerIDOutput):
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, ListForListBudgetFilterPayerIDOutput):
147
+ return True
148
+
149
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,149 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ billing
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: common-version
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from volcenginesdkcore.configuration import Configuration
20
+
21
+
22
+ class ListForListBudgetFilterProductOutput(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
+ 'product_code': 'str',
37
+ 'product_name': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'product_code': 'ProductCode',
42
+ 'product_name': 'ProductName'
43
+ }
44
+
45
+ def __init__(self, product_code=None, product_name=None, _configuration=None): # noqa: E501
46
+ """ListForListBudgetFilterProductOutput - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._product_code = None
52
+ self._product_name = None
53
+ self.discriminator = None
54
+
55
+ if product_code is not None:
56
+ self.product_code = product_code
57
+ if product_name is not None:
58
+ self.product_name = product_name
59
+
60
+ @property
61
+ def product_code(self):
62
+ """Gets the product_code of this ListForListBudgetFilterProductOutput. # noqa: E501
63
+
64
+
65
+ :return: The product_code of this ListForListBudgetFilterProductOutput. # noqa: E501
66
+ :rtype: str
67
+ """
68
+ return self._product_code
69
+
70
+ @product_code.setter
71
+ def product_code(self, product_code):
72
+ """Sets the product_code of this ListForListBudgetFilterProductOutput.
73
+
74
+
75
+ :param product_code: The product_code of this ListForListBudgetFilterProductOutput. # noqa: E501
76
+ :type: str
77
+ """
78
+
79
+ self._product_code = product_code
80
+
81
+ @property
82
+ def product_name(self):
83
+ """Gets the product_name of this ListForListBudgetFilterProductOutput. # noqa: E501
84
+
85
+
86
+ :return: The product_name of this ListForListBudgetFilterProductOutput. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._product_name
90
+
91
+ @product_name.setter
92
+ def product_name(self, product_name):
93
+ """Sets the product_name of this ListForListBudgetFilterProductOutput.
94
+
95
+
96
+ :param product_name: The product_name of this ListForListBudgetFilterProductOutput. # noqa: E501
97
+ :type: str
98
+ """
99
+
100
+ self._product_name = product_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(ListForListBudgetFilterProductOutput, 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, ListForListBudgetFilterProductOutput):
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, ListForListBudgetFilterProductOutput):
147
+ return True
148
+
149
+ 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 ListRecipientInformationRequest(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
+ """ListRecipientInformationRequest - 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 ListRecipientInformationRequest. # noqa: E501
61
+
62
+
63
+ :return: The limit of this ListRecipientInformationRequest. # 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 ListRecipientInformationRequest.
71
+
72
+
73
+ :param limit: The limit of this ListRecipientInformationRequest. # 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 ListRecipientInformationRequest. # noqa: E501
84
+
85
+
86
+ :return: The offset of this ListRecipientInformationRequest. # 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 ListRecipientInformationRequest.
94
+
95
+
96
+ :param offset: The offset of this ListRecipientInformationRequest. # 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(ListRecipientInformationRequest, 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, ListRecipientInformationRequest):
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, ListRecipientInformationRequest):
149
+ return True
150
+
151
+ return self.to_dict() != other.to_dict()