huaweicloudsdkgaussdb 3.1.95__py2.py3-none-any.whl → 3.1.96__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.
- huaweicloudsdkgaussdb/v3/__init__.py +69 -0
- huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +1101 -66
- huaweicloudsdkgaussdb/v3/gaussdb_client.py +1101 -66
- huaweicloudsdkgaussdb/v3/model/__init__.py +69 -0
- huaweicloudsdkgaussdb/v3/model/check_star_rocks_resource_request.py +140 -0
- huaweicloudsdkgaussdb/v3/model/check_star_rocks_resource_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_database_user_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_database_user_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/create_starrocks_instance_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/create_starrocks_instance_response.py +141 -0
- huaweicloudsdkgaussdb/v3/model/delete_star_rocks_database_user_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/delete_star_rocks_database_user_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/delete_starrocks_instance_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/delete_starrocks_instance_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/htap_flavor_info_flavors.py +318 -0
- huaweicloudsdkgaussdb/v3/model/htap_instance_list_available_zones.py +173 -0
- huaweicloudsdkgaussdb/v3/model/htap_instance_list_instance_state.py +202 -0
- huaweicloudsdkgaussdb/v3/model/htap_instance_list_instances.py +832 -0
- huaweicloudsdkgaussdb/v3/model/htap_instance_list_network.py +173 -0
- huaweicloudsdkgaussdb/v3/model/htap_storage_type_storage_type.py +173 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_data_store_request.py +143 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_data_store_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_flavor_request.py +230 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_flavor_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_instance_info_request.py +143 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_instance_info_response.py +174 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_storage_type_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/list_htap_storage_type_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/list_starrocks_instance_info_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/list_starrocks_instance_info_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/param_group.py +144 -0
- huaweicloudsdkgaussdb/v3/model/query_action.py +318 -0
- huaweicloudsdkgaussdb/v3/model/readable_node_infos.py +173 -0
- huaweicloudsdkgaussdb/v3/model/resource_check.py +138 -0
- huaweicloudsdkgaussdb/v3/model/resource_check_resource.py +367 -0
- huaweicloudsdkgaussdb/v3/model/restart_starrocks_instance_request.py +143 -0
- huaweicloudsdkgaussdb/v3/model/restart_starrocks_instance_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/restart_starrocks_node_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/restart_starrocks_node_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/show_star_rocks_database_user_request.py +228 -0
- huaweicloudsdkgaussdb/v3/model/show_star_rocks_database_user_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/show_star_rocks_database_users_user_details.py +198 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance.py +538 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_engine.py +144 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_pay_info.py +231 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_tags_info.py +144 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_tags_info_sys_tags.py +144 -0
- huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_tags_info_tags.py +144 -0
- huaweicloudsdkgaussdb/v3/model/sr_data_stores_datastores.py +173 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request.py +459 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_be_volume.py +142 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_engine.py +142 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_fe_volume.py +142 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_ha.py +114 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_tags_info.py +114 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_create_request_tags_info_sys_tags.py +142 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_database_user_info.py +228 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_database_user_p_sinfo.py +201 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_database_user_p_winfo.py +142 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_datastore.py +173 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_groups.py +231 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_instances.py +1292 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_nodes.py +1006 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_ops_window.py +173 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_port_info.py +115 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_tags_info.py +144 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_tags_info_sys_tags.py +144 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_tags_info_tags.py +144 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_instance_info_volume.py +144 -0
- huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_password_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_password_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_permission_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/update_star_rocks_database_user_permission_response.py +116 -0
- {huaweicloudsdkgaussdb-3.1.95.dist-info → huaweicloudsdkgaussdb-3.1.96.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdb-3.1.95.dist-info → huaweicloudsdkgaussdb-3.1.96.dist-info}/RECORD +78 -9
- {huaweicloudsdkgaussdb-3.1.95.dist-info → huaweicloudsdkgaussdb-3.1.96.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdb-3.1.95.dist-info → huaweicloudsdkgaussdb-3.1.96.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdb-3.1.95.dist-info → huaweicloudsdkgaussdb-3.1.96.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,173 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class StarRocksInstanceInfoDatastore:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'id': 'str',
|
21
|
+
'type': 'str',
|
22
|
+
'version': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'id': 'id',
|
27
|
+
'type': 'type',
|
28
|
+
'version': 'version'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, id=None, type=None, version=None):
|
32
|
+
"""StarRocksInstanceInfoDatastore
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param id: 数据库ID。
|
37
|
+
:type id: str
|
38
|
+
:param type: 数据库类型。
|
39
|
+
:type type: str
|
40
|
+
:param version: 数据库版本。
|
41
|
+
:type version: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._id = None
|
47
|
+
self._type = None
|
48
|
+
self._version = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
if id is not None:
|
52
|
+
self.id = id
|
53
|
+
if type is not None:
|
54
|
+
self.type = type
|
55
|
+
if version is not None:
|
56
|
+
self.version = version
|
57
|
+
|
58
|
+
@property
|
59
|
+
def id(self):
|
60
|
+
"""Gets the id of this StarRocksInstanceInfoDatastore.
|
61
|
+
|
62
|
+
数据库ID。
|
63
|
+
|
64
|
+
:return: The id of this StarRocksInstanceInfoDatastore.
|
65
|
+
:rtype: str
|
66
|
+
"""
|
67
|
+
return self._id
|
68
|
+
|
69
|
+
@id.setter
|
70
|
+
def id(self, id):
|
71
|
+
"""Sets the id of this StarRocksInstanceInfoDatastore.
|
72
|
+
|
73
|
+
数据库ID。
|
74
|
+
|
75
|
+
:param id: The id of this StarRocksInstanceInfoDatastore.
|
76
|
+
:type id: str
|
77
|
+
"""
|
78
|
+
self._id = id
|
79
|
+
|
80
|
+
@property
|
81
|
+
def type(self):
|
82
|
+
"""Gets the type of this StarRocksInstanceInfoDatastore.
|
83
|
+
|
84
|
+
数据库类型。
|
85
|
+
|
86
|
+
:return: The type of this StarRocksInstanceInfoDatastore.
|
87
|
+
:rtype: str
|
88
|
+
"""
|
89
|
+
return self._type
|
90
|
+
|
91
|
+
@type.setter
|
92
|
+
def type(self, type):
|
93
|
+
"""Sets the type of this StarRocksInstanceInfoDatastore.
|
94
|
+
|
95
|
+
数据库类型。
|
96
|
+
|
97
|
+
:param type: The type of this StarRocksInstanceInfoDatastore.
|
98
|
+
:type type: str
|
99
|
+
"""
|
100
|
+
self._type = type
|
101
|
+
|
102
|
+
@property
|
103
|
+
def version(self):
|
104
|
+
"""Gets the version of this StarRocksInstanceInfoDatastore.
|
105
|
+
|
106
|
+
数据库版本。
|
107
|
+
|
108
|
+
:return: The version of this StarRocksInstanceInfoDatastore.
|
109
|
+
:rtype: str
|
110
|
+
"""
|
111
|
+
return self._version
|
112
|
+
|
113
|
+
@version.setter
|
114
|
+
def version(self, version):
|
115
|
+
"""Sets the version of this StarRocksInstanceInfoDatastore.
|
116
|
+
|
117
|
+
数据库版本。
|
118
|
+
|
119
|
+
:param version: The version of this StarRocksInstanceInfoDatastore.
|
120
|
+
:type version: str
|
121
|
+
"""
|
122
|
+
self._version = version
|
123
|
+
|
124
|
+
def to_dict(self):
|
125
|
+
"""Returns the model properties as a dict"""
|
126
|
+
result = {}
|
127
|
+
|
128
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
129
|
+
value = getattr(self, attr)
|
130
|
+
if isinstance(value, list):
|
131
|
+
result[attr] = list(map(
|
132
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
133
|
+
value
|
134
|
+
))
|
135
|
+
elif hasattr(value, "to_dict"):
|
136
|
+
result[attr] = value.to_dict()
|
137
|
+
elif isinstance(value, dict):
|
138
|
+
result[attr] = dict(map(
|
139
|
+
lambda item: (item[0], item[1].to_dict())
|
140
|
+
if hasattr(item[1], "to_dict") else item,
|
141
|
+
value.items()
|
142
|
+
))
|
143
|
+
else:
|
144
|
+
if attr in self.sensitive_list:
|
145
|
+
result[attr] = "****"
|
146
|
+
else:
|
147
|
+
result[attr] = value
|
148
|
+
|
149
|
+
return result
|
150
|
+
|
151
|
+
def to_str(self):
|
152
|
+
"""Returns the string representation of the model"""
|
153
|
+
import simplejson as json
|
154
|
+
if six.PY2:
|
155
|
+
import sys
|
156
|
+
reload(sys)
|
157
|
+
sys.setdefaultencoding("utf-8")
|
158
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
159
|
+
|
160
|
+
def __repr__(self):
|
161
|
+
"""For `print`"""
|
162
|
+
return self.to_str()
|
163
|
+
|
164
|
+
def __eq__(self, other):
|
165
|
+
"""Returns true if both objects are equal"""
|
166
|
+
if not isinstance(other, StarRocksInstanceInfoDatastore):
|
167
|
+
return False
|
168
|
+
|
169
|
+
return self.__dict__ == other.__dict__
|
170
|
+
|
171
|
+
def __ne__(self, other):
|
172
|
+
"""Returns true if both objects are not equal"""
|
173
|
+
return not self == other
|
@@ -0,0 +1,231 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class StarRocksInstanceInfoGroups:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'id': 'str',
|
21
|
+
'name': 'str',
|
22
|
+
'nodes': 'list[StarRocksInstanceInfoNodes]',
|
23
|
+
'group_type_name': 'str',
|
24
|
+
'group_node_type': 'str'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'id': 'id',
|
29
|
+
'name': 'name',
|
30
|
+
'nodes': 'nodes',
|
31
|
+
'group_type_name': 'group_type_name',
|
32
|
+
'group_node_type': 'group_node_type'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, id=None, name=None, nodes=None, group_type_name=None, group_node_type=None):
|
36
|
+
"""StarRocksInstanceInfoGroups
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param id: 分组ID。
|
41
|
+
:type id: str
|
42
|
+
:param name: 分组名。
|
43
|
+
:type name: str
|
44
|
+
:param nodes: 实例节点。
|
45
|
+
:type nodes: list[:class:`huaweicloudsdkgaussdb.v3.StarRocksInstanceInfoNodes`]
|
46
|
+
:param group_type_name: 实例分组类型名。
|
47
|
+
:type group_type_name: str
|
48
|
+
:param group_node_type: 实例分组节点类型。
|
49
|
+
:type group_node_type: str
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._id = None
|
55
|
+
self._name = None
|
56
|
+
self._nodes = None
|
57
|
+
self._group_type_name = None
|
58
|
+
self._group_node_type = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
if id is not None:
|
62
|
+
self.id = id
|
63
|
+
if name is not None:
|
64
|
+
self.name = name
|
65
|
+
if nodes is not None:
|
66
|
+
self.nodes = nodes
|
67
|
+
if group_type_name is not None:
|
68
|
+
self.group_type_name = group_type_name
|
69
|
+
if group_node_type is not None:
|
70
|
+
self.group_node_type = group_node_type
|
71
|
+
|
72
|
+
@property
|
73
|
+
def id(self):
|
74
|
+
"""Gets the id of this StarRocksInstanceInfoGroups.
|
75
|
+
|
76
|
+
分组ID。
|
77
|
+
|
78
|
+
:return: The id of this StarRocksInstanceInfoGroups.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._id
|
82
|
+
|
83
|
+
@id.setter
|
84
|
+
def id(self, id):
|
85
|
+
"""Sets the id of this StarRocksInstanceInfoGroups.
|
86
|
+
|
87
|
+
分组ID。
|
88
|
+
|
89
|
+
:param id: The id of this StarRocksInstanceInfoGroups.
|
90
|
+
:type id: str
|
91
|
+
"""
|
92
|
+
self._id = id
|
93
|
+
|
94
|
+
@property
|
95
|
+
def name(self):
|
96
|
+
"""Gets the name of this StarRocksInstanceInfoGroups.
|
97
|
+
|
98
|
+
分组名。
|
99
|
+
|
100
|
+
:return: The name of this StarRocksInstanceInfoGroups.
|
101
|
+
:rtype: str
|
102
|
+
"""
|
103
|
+
return self._name
|
104
|
+
|
105
|
+
@name.setter
|
106
|
+
def name(self, name):
|
107
|
+
"""Sets the name of this StarRocksInstanceInfoGroups.
|
108
|
+
|
109
|
+
分组名。
|
110
|
+
|
111
|
+
:param name: The name of this StarRocksInstanceInfoGroups.
|
112
|
+
:type name: str
|
113
|
+
"""
|
114
|
+
self._name = name
|
115
|
+
|
116
|
+
@property
|
117
|
+
def nodes(self):
|
118
|
+
"""Gets the nodes of this StarRocksInstanceInfoGroups.
|
119
|
+
|
120
|
+
实例节点。
|
121
|
+
|
122
|
+
:return: The nodes of this StarRocksInstanceInfoGroups.
|
123
|
+
:rtype: list[:class:`huaweicloudsdkgaussdb.v3.StarRocksInstanceInfoNodes`]
|
124
|
+
"""
|
125
|
+
return self._nodes
|
126
|
+
|
127
|
+
@nodes.setter
|
128
|
+
def nodes(self, nodes):
|
129
|
+
"""Sets the nodes of this StarRocksInstanceInfoGroups.
|
130
|
+
|
131
|
+
实例节点。
|
132
|
+
|
133
|
+
:param nodes: The nodes of this StarRocksInstanceInfoGroups.
|
134
|
+
:type nodes: list[:class:`huaweicloudsdkgaussdb.v3.StarRocksInstanceInfoNodes`]
|
135
|
+
"""
|
136
|
+
self._nodes = nodes
|
137
|
+
|
138
|
+
@property
|
139
|
+
def group_type_name(self):
|
140
|
+
"""Gets the group_type_name of this StarRocksInstanceInfoGroups.
|
141
|
+
|
142
|
+
实例分组类型名。
|
143
|
+
|
144
|
+
:return: The group_type_name of this StarRocksInstanceInfoGroups.
|
145
|
+
:rtype: str
|
146
|
+
"""
|
147
|
+
return self._group_type_name
|
148
|
+
|
149
|
+
@group_type_name.setter
|
150
|
+
def group_type_name(self, group_type_name):
|
151
|
+
"""Sets the group_type_name of this StarRocksInstanceInfoGroups.
|
152
|
+
|
153
|
+
实例分组类型名。
|
154
|
+
|
155
|
+
:param group_type_name: The group_type_name of this StarRocksInstanceInfoGroups.
|
156
|
+
:type group_type_name: str
|
157
|
+
"""
|
158
|
+
self._group_type_name = group_type_name
|
159
|
+
|
160
|
+
@property
|
161
|
+
def group_node_type(self):
|
162
|
+
"""Gets the group_node_type of this StarRocksInstanceInfoGroups.
|
163
|
+
|
164
|
+
实例分组节点类型。
|
165
|
+
|
166
|
+
:return: The group_node_type of this StarRocksInstanceInfoGroups.
|
167
|
+
:rtype: str
|
168
|
+
"""
|
169
|
+
return self._group_node_type
|
170
|
+
|
171
|
+
@group_node_type.setter
|
172
|
+
def group_node_type(self, group_node_type):
|
173
|
+
"""Sets the group_node_type of this StarRocksInstanceInfoGroups.
|
174
|
+
|
175
|
+
实例分组节点类型。
|
176
|
+
|
177
|
+
:param group_node_type: The group_node_type of this StarRocksInstanceInfoGroups.
|
178
|
+
:type group_node_type: str
|
179
|
+
"""
|
180
|
+
self._group_node_type = group_node_type
|
181
|
+
|
182
|
+
def to_dict(self):
|
183
|
+
"""Returns the model properties as a dict"""
|
184
|
+
result = {}
|
185
|
+
|
186
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
187
|
+
value = getattr(self, attr)
|
188
|
+
if isinstance(value, list):
|
189
|
+
result[attr] = list(map(
|
190
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
191
|
+
value
|
192
|
+
))
|
193
|
+
elif hasattr(value, "to_dict"):
|
194
|
+
result[attr] = value.to_dict()
|
195
|
+
elif isinstance(value, dict):
|
196
|
+
result[attr] = dict(map(
|
197
|
+
lambda item: (item[0], item[1].to_dict())
|
198
|
+
if hasattr(item[1], "to_dict") else item,
|
199
|
+
value.items()
|
200
|
+
))
|
201
|
+
else:
|
202
|
+
if attr in self.sensitive_list:
|
203
|
+
result[attr] = "****"
|
204
|
+
else:
|
205
|
+
result[attr] = value
|
206
|
+
|
207
|
+
return result
|
208
|
+
|
209
|
+
def to_str(self):
|
210
|
+
"""Returns the string representation of the model"""
|
211
|
+
import simplejson as json
|
212
|
+
if six.PY2:
|
213
|
+
import sys
|
214
|
+
reload(sys)
|
215
|
+
sys.setdefaultencoding("utf-8")
|
216
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
217
|
+
|
218
|
+
def __repr__(self):
|
219
|
+
"""For `print`"""
|
220
|
+
return self.to_str()
|
221
|
+
|
222
|
+
def __eq__(self, other):
|
223
|
+
"""Returns true if both objects are equal"""
|
224
|
+
if not isinstance(other, StarRocksInstanceInfoGroups):
|
225
|
+
return False
|
226
|
+
|
227
|
+
return self.__dict__ == other.__dict__
|
228
|
+
|
229
|
+
def __ne__(self, other):
|
230
|
+
"""Returns true if both objects are not equal"""
|
231
|
+
return not self == other
|