huaweicloudsdkmrs 3.1.70__py2.py3-none-any.whl → 3.1.72__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. huaweicloudsdkmrs/v1/__init__.py +9 -0
  2. huaweicloudsdkmrs/v1/model/__init__.py +9 -0
  3. huaweicloudsdkmrs/v1/model/component_external_datasource.py +144 -0
  4. huaweicloudsdkmrs/v1/model/flavor_lists.py +173 -0
  5. huaweicloudsdkmrs/v1/model/node_constraint.py +376 -0
  6. huaweicloudsdkmrs/v1/model/node_constraints.py +315 -0
  7. huaweicloudsdkmrs/v1/model/role_deploy_meta.py +637 -0
  8. huaweicloudsdkmrs/v1/model/show_mrs_version_metadata_request.py +143 -0
  9. huaweicloudsdkmrs/v1/model/show_mrs_version_metadata_response.py +456 -0
  10. huaweicloudsdkmrs/v1/model/version_component.py +434 -0
  11. huaweicloudsdkmrs/v1/model/version_constraint.py +169 -0
  12. huaweicloudsdkmrs/v1/mrs_async_client.py +75 -0
  13. huaweicloudsdkmrs/v1/mrs_client.py +75 -0
  14. huaweicloudsdkmrs/v1/region/mrs_region.py +3 -0
  15. huaweicloudsdkmrs/v2/__init__.py +15 -0
  16. huaweicloudsdkmrs/v2/model/__init__.py +15 -0
  17. huaweicloudsdkmrs/v2/model/auto_scaling_policy_delete_req.py +142 -0
  18. huaweicloudsdkmrs/v2/model/auto_scaling_policy_info.py +257 -0
  19. huaweicloudsdkmrs/v2/model/auto_scaling_policy_v2.py +11 -12
  20. huaweicloudsdkmrs/v2/model/create_auto_scaling_policy_request.py +139 -0
  21. huaweicloudsdkmrs/v2/model/create_auto_scaling_policy_response.py +85 -0
  22. huaweicloudsdkmrs/v2/model/delete_auto_scaling_policy_request.py +139 -0
  23. huaweicloudsdkmrs/v2/model/delete_auto_scaling_policy_response.py +85 -0
  24. huaweicloudsdkmrs/v2/model/modify_default_tags_request_body.py +114 -0
  25. huaweicloudsdkmrs/v2/model/show_tag_quota_request.py +143 -0
  26. huaweicloudsdkmrs/v2/model/show_tag_quota_response.py +145 -0
  27. huaweicloudsdkmrs/v2/model/show_tag_status_request.py +114 -0
  28. huaweicloudsdkmrs/v2/model/show_tag_status_response.py +145 -0
  29. huaweicloudsdkmrs/v2/model/switch_cluster_tags_request.py +139 -0
  30. huaweicloudsdkmrs/v2/model/switch_cluster_tags_response.py +85 -0
  31. huaweicloudsdkmrs/v2/model/update_auto_scaling_policy_request.py +139 -0
  32. huaweicloudsdkmrs/v2/model/update_auto_scaling_policy_response.py +85 -0
  33. huaweicloudsdkmrs/v2/mrs_async_client.py +400 -0
  34. huaweicloudsdkmrs/v2/mrs_client.py +400 -0
  35. huaweicloudsdkmrs/v2/region/mrs_region.py +3 -0
  36. {huaweicloudsdkmrs-3.1.70.dist-info → huaweicloudsdkmrs-3.1.72.dist-info}/METADATA +2 -2
  37. {huaweicloudsdkmrs-3.1.70.dist-info → huaweicloudsdkmrs-3.1.72.dist-info}/RECORD +40 -16
  38. {huaweicloudsdkmrs-3.1.70.dist-info → huaweicloudsdkmrs-3.1.72.dist-info}/LICENSE +0 -0
  39. {huaweicloudsdkmrs-3.1.70.dist-info → huaweicloudsdkmrs-3.1.72.dist-info}/WHEEL +0 -0
  40. {huaweicloudsdkmrs-3.1.70.dist-info → huaweicloudsdkmrs-3.1.72.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,143 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowMrsVersionMetadataRequest:
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
+ 'version_name': 'str',
21
+ 'cluster_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'version_name': 'version_name',
26
+ 'cluster_id': 'cluster_id'
27
+ }
28
+
29
+ def __init__(self, version_name=None, cluster_id=None):
30
+ """ShowMrsVersionMetadataRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param version_name: 集群版本。例如“MRS 3.1.0”。如果请求客户端不支持自动转义,则需要将空格转义为%20,例如“MRS%203.1.0”。
35
+ :type version_name: str
36
+ :param cluster_id: 集群ID。如果指定集群ID,则获取该集群做过补丁更新的最新版本元数据。
37
+ :type cluster_id: str
38
+ """
39
+
40
+
41
+
42
+ self._version_name = None
43
+ self._cluster_id = None
44
+ self.discriminator = None
45
+
46
+ self.version_name = version_name
47
+ if cluster_id is not None:
48
+ self.cluster_id = cluster_id
49
+
50
+ @property
51
+ def version_name(self):
52
+ """Gets the version_name of this ShowMrsVersionMetadataRequest.
53
+
54
+ 集群版本。例如“MRS 3.1.0”。如果请求客户端不支持自动转义,则需要将空格转义为%20,例如“MRS%203.1.0”。
55
+
56
+ :return: The version_name of this ShowMrsVersionMetadataRequest.
57
+ :rtype: str
58
+ """
59
+ return self._version_name
60
+
61
+ @version_name.setter
62
+ def version_name(self, version_name):
63
+ """Sets the version_name of this ShowMrsVersionMetadataRequest.
64
+
65
+ 集群版本。例如“MRS 3.1.0”。如果请求客户端不支持自动转义,则需要将空格转义为%20,例如“MRS%203.1.0”。
66
+
67
+ :param version_name: The version_name of this ShowMrsVersionMetadataRequest.
68
+ :type version_name: str
69
+ """
70
+ self._version_name = version_name
71
+
72
+ @property
73
+ def cluster_id(self):
74
+ """Gets the cluster_id of this ShowMrsVersionMetadataRequest.
75
+
76
+ 集群ID。如果指定集群ID,则获取该集群做过补丁更新的最新版本元数据。
77
+
78
+ :return: The cluster_id of this ShowMrsVersionMetadataRequest.
79
+ :rtype: str
80
+ """
81
+ return self._cluster_id
82
+
83
+ @cluster_id.setter
84
+ def cluster_id(self, cluster_id):
85
+ """Sets the cluster_id of this ShowMrsVersionMetadataRequest.
86
+
87
+ 集群ID。如果指定集群ID,则获取该集群做过补丁更新的最新版本元数据。
88
+
89
+ :param cluster_id: The cluster_id of this ShowMrsVersionMetadataRequest.
90
+ :type cluster_id: str
91
+ """
92
+ self._cluster_id = cluster_id
93
+
94
+ def to_dict(self):
95
+ """Returns the model properties as a dict"""
96
+ result = {}
97
+
98
+ for attr, _ in six.iteritems(self.openapi_types):
99
+ value = getattr(self, attr)
100
+ if isinstance(value, list):
101
+ result[attr] = list(map(
102
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
103
+ value
104
+ ))
105
+ elif hasattr(value, "to_dict"):
106
+ result[attr] = value.to_dict()
107
+ elif isinstance(value, dict):
108
+ result[attr] = dict(map(
109
+ lambda item: (item[0], item[1].to_dict())
110
+ if hasattr(item[1], "to_dict") else item,
111
+ value.items()
112
+ ))
113
+ else:
114
+ if attr in self.sensitive_list:
115
+ result[attr] = "****"
116
+ else:
117
+ result[attr] = value
118
+
119
+ return result
120
+
121
+ def to_str(self):
122
+ """Returns the string representation of the model"""
123
+ import simplejson as json
124
+ if six.PY2:
125
+ import sys
126
+ reload(sys)
127
+ sys.setdefaultencoding("utf-8")
128
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
129
+
130
+ def __repr__(self):
131
+ """For `print`"""
132
+ return self.to_str()
133
+
134
+ def __eq__(self, other):
135
+ """Returns true if both objects are equal"""
136
+ if not isinstance(other, ShowMrsVersionMetadataRequest):
137
+ return False
138
+
139
+ return self.__dict__ == other.__dict__
140
+
141
+ def __ne__(self, other):
142
+ """Returns true if both objects are not equal"""
143
+ return not self == other
@@ -0,0 +1,456 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ShowMrsVersionMetadataResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'other': 'dict(str, object)',
22
+ 'name': 'str',
23
+ 'template_type': 'str',
24
+ 'image_id': 'str',
25
+ 'status': 'str',
26
+ 'features': 'list[str]',
27
+ 'cluster_types': 'list[str]',
28
+ 'version_type': 'str',
29
+ 'components': 'list[VersionComponent]',
30
+ 'resource_requirement': 'list[str]',
31
+ 'constraints': 'VersionConstraint',
32
+ 'flavors': 'FlavorLists',
33
+ 'role_deploy_meta': 'list[RoleDeployMeta]'
34
+ }
35
+
36
+ attribute_map = {
37
+ 'other': 'other',
38
+ 'name': 'name',
39
+ 'template_type': 'template_type',
40
+ 'image_id': 'image_id',
41
+ 'status': 'status',
42
+ 'features': 'features',
43
+ 'cluster_types': 'cluster_types',
44
+ 'version_type': 'version_type',
45
+ 'components': 'components',
46
+ 'resource_requirement': 'resource_requirement',
47
+ 'constraints': 'constraints',
48
+ 'flavors': 'flavors',
49
+ 'role_deploy_meta': 'role_deploy_meta'
50
+ }
51
+
52
+ def __init__(self, other=None, name=None, template_type=None, image_id=None, status=None, features=None, cluster_types=None, version_type=None, components=None, resource_requirement=None, constraints=None, flavors=None, role_deploy_meta=None):
53
+ """ShowMrsVersionMetadataResponse
54
+
55
+ The model defined in huaweicloud sdk
56
+
57
+ :param other: 其他
58
+ :type other: dict(str, object)
59
+ :param name: 镜像版本名称
60
+ :type name: str
61
+ :param template_type: 模板类型
62
+ :type template_type: str
63
+ :param image_id: 镜像ID
64
+ :type image_id: str
65
+ :param status: 版本状态
66
+ :type status: str
67
+ :param features: 特性列表
68
+ :type features: list[str]
69
+ :param cluster_types: 集群类型列表
70
+ :type cluster_types: list[str]
71
+ :param version_type: 版本类型
72
+ :type version_type: str
73
+ :param components: 组件列表
74
+ :type components: list[:class:`huaweicloudsdkmrs.v1.VersionComponent`]
75
+ :param resource_requirement: 版本所需的ip等资源说明
76
+ :type resource_requirement: list[str]
77
+ :param constraints:
78
+ :type constraints: :class:`huaweicloudsdkmrs.v1.VersionConstraint`
79
+ :param flavors:
80
+ :type flavors: :class:`huaweicloudsdkmrs.v1.FlavorLists`
81
+ :param role_deploy_meta: 版本组件实例角色部署策略
82
+ :type role_deploy_meta: list[:class:`huaweicloudsdkmrs.v1.RoleDeployMeta`]
83
+ """
84
+
85
+ super(ShowMrsVersionMetadataResponse, self).__init__()
86
+
87
+ self._other = None
88
+ self._name = None
89
+ self._template_type = None
90
+ self._image_id = None
91
+ self._status = None
92
+ self._features = None
93
+ self._cluster_types = None
94
+ self._version_type = None
95
+ self._components = None
96
+ self._resource_requirement = None
97
+ self._constraints = None
98
+ self._flavors = None
99
+ self._role_deploy_meta = None
100
+ self.discriminator = None
101
+
102
+ if other is not None:
103
+ self.other = other
104
+ if name is not None:
105
+ self.name = name
106
+ if template_type is not None:
107
+ self.template_type = template_type
108
+ if image_id is not None:
109
+ self.image_id = image_id
110
+ if status is not None:
111
+ self.status = status
112
+ if features is not None:
113
+ self.features = features
114
+ if cluster_types is not None:
115
+ self.cluster_types = cluster_types
116
+ if version_type is not None:
117
+ self.version_type = version_type
118
+ if components is not None:
119
+ self.components = components
120
+ if resource_requirement is not None:
121
+ self.resource_requirement = resource_requirement
122
+ if constraints is not None:
123
+ self.constraints = constraints
124
+ if flavors is not None:
125
+ self.flavors = flavors
126
+ if role_deploy_meta is not None:
127
+ self.role_deploy_meta = role_deploy_meta
128
+
129
+ @property
130
+ def other(self):
131
+ """Gets the other of this ShowMrsVersionMetadataResponse.
132
+
133
+ 其他
134
+
135
+ :return: The other of this ShowMrsVersionMetadataResponse.
136
+ :rtype: dict(str, object)
137
+ """
138
+ return self._other
139
+
140
+ @other.setter
141
+ def other(self, other):
142
+ """Sets the other of this ShowMrsVersionMetadataResponse.
143
+
144
+ 其他
145
+
146
+ :param other: The other of this ShowMrsVersionMetadataResponse.
147
+ :type other: dict(str, object)
148
+ """
149
+ self._other = other
150
+
151
+ @property
152
+ def name(self):
153
+ """Gets the name of this ShowMrsVersionMetadataResponse.
154
+
155
+ 镜像版本名称
156
+
157
+ :return: The name of this ShowMrsVersionMetadataResponse.
158
+ :rtype: str
159
+ """
160
+ return self._name
161
+
162
+ @name.setter
163
+ def name(self, name):
164
+ """Sets the name of this ShowMrsVersionMetadataResponse.
165
+
166
+ 镜像版本名称
167
+
168
+ :param name: The name of this ShowMrsVersionMetadataResponse.
169
+ :type name: str
170
+ """
171
+ self._name = name
172
+
173
+ @property
174
+ def template_type(self):
175
+ """Gets the template_type of this ShowMrsVersionMetadataResponse.
176
+
177
+ 模板类型
178
+
179
+ :return: The template_type of this ShowMrsVersionMetadataResponse.
180
+ :rtype: str
181
+ """
182
+ return self._template_type
183
+
184
+ @template_type.setter
185
+ def template_type(self, template_type):
186
+ """Sets the template_type of this ShowMrsVersionMetadataResponse.
187
+
188
+ 模板类型
189
+
190
+ :param template_type: The template_type of this ShowMrsVersionMetadataResponse.
191
+ :type template_type: str
192
+ """
193
+ self._template_type = template_type
194
+
195
+ @property
196
+ def image_id(self):
197
+ """Gets the image_id of this ShowMrsVersionMetadataResponse.
198
+
199
+ 镜像ID
200
+
201
+ :return: The image_id of this ShowMrsVersionMetadataResponse.
202
+ :rtype: str
203
+ """
204
+ return self._image_id
205
+
206
+ @image_id.setter
207
+ def image_id(self, image_id):
208
+ """Sets the image_id of this ShowMrsVersionMetadataResponse.
209
+
210
+ 镜像ID
211
+
212
+ :param image_id: The image_id of this ShowMrsVersionMetadataResponse.
213
+ :type image_id: str
214
+ """
215
+ self._image_id = image_id
216
+
217
+ @property
218
+ def status(self):
219
+ """Gets the status of this ShowMrsVersionMetadataResponse.
220
+
221
+ 版本状态
222
+
223
+ :return: The status of this ShowMrsVersionMetadataResponse.
224
+ :rtype: str
225
+ """
226
+ return self._status
227
+
228
+ @status.setter
229
+ def status(self, status):
230
+ """Sets the status of this ShowMrsVersionMetadataResponse.
231
+
232
+ 版本状态
233
+
234
+ :param status: The status of this ShowMrsVersionMetadataResponse.
235
+ :type status: str
236
+ """
237
+ self._status = status
238
+
239
+ @property
240
+ def features(self):
241
+ """Gets the features of this ShowMrsVersionMetadataResponse.
242
+
243
+ 特性列表
244
+
245
+ :return: The features of this ShowMrsVersionMetadataResponse.
246
+ :rtype: list[str]
247
+ """
248
+ return self._features
249
+
250
+ @features.setter
251
+ def features(self, features):
252
+ """Sets the features of this ShowMrsVersionMetadataResponse.
253
+
254
+ 特性列表
255
+
256
+ :param features: The features of this ShowMrsVersionMetadataResponse.
257
+ :type features: list[str]
258
+ """
259
+ self._features = features
260
+
261
+ @property
262
+ def cluster_types(self):
263
+ """Gets the cluster_types of this ShowMrsVersionMetadataResponse.
264
+
265
+ 集群类型列表
266
+
267
+ :return: The cluster_types of this ShowMrsVersionMetadataResponse.
268
+ :rtype: list[str]
269
+ """
270
+ return self._cluster_types
271
+
272
+ @cluster_types.setter
273
+ def cluster_types(self, cluster_types):
274
+ """Sets the cluster_types of this ShowMrsVersionMetadataResponse.
275
+
276
+ 集群类型列表
277
+
278
+ :param cluster_types: The cluster_types of this ShowMrsVersionMetadataResponse.
279
+ :type cluster_types: list[str]
280
+ """
281
+ self._cluster_types = cluster_types
282
+
283
+ @property
284
+ def version_type(self):
285
+ """Gets the version_type of this ShowMrsVersionMetadataResponse.
286
+
287
+ 版本类型
288
+
289
+ :return: The version_type of this ShowMrsVersionMetadataResponse.
290
+ :rtype: str
291
+ """
292
+ return self._version_type
293
+
294
+ @version_type.setter
295
+ def version_type(self, version_type):
296
+ """Sets the version_type of this ShowMrsVersionMetadataResponse.
297
+
298
+ 版本类型
299
+
300
+ :param version_type: The version_type of this ShowMrsVersionMetadataResponse.
301
+ :type version_type: str
302
+ """
303
+ self._version_type = version_type
304
+
305
+ @property
306
+ def components(self):
307
+ """Gets the components of this ShowMrsVersionMetadataResponse.
308
+
309
+ 组件列表
310
+
311
+ :return: The components of this ShowMrsVersionMetadataResponse.
312
+ :rtype: list[:class:`huaweicloudsdkmrs.v1.VersionComponent`]
313
+ """
314
+ return self._components
315
+
316
+ @components.setter
317
+ def components(self, components):
318
+ """Sets the components of this ShowMrsVersionMetadataResponse.
319
+
320
+ 组件列表
321
+
322
+ :param components: The components of this ShowMrsVersionMetadataResponse.
323
+ :type components: list[:class:`huaweicloudsdkmrs.v1.VersionComponent`]
324
+ """
325
+ self._components = components
326
+
327
+ @property
328
+ def resource_requirement(self):
329
+ """Gets the resource_requirement of this ShowMrsVersionMetadataResponse.
330
+
331
+ 版本所需的ip等资源说明
332
+
333
+ :return: The resource_requirement of this ShowMrsVersionMetadataResponse.
334
+ :rtype: list[str]
335
+ """
336
+ return self._resource_requirement
337
+
338
+ @resource_requirement.setter
339
+ def resource_requirement(self, resource_requirement):
340
+ """Sets the resource_requirement of this ShowMrsVersionMetadataResponse.
341
+
342
+ 版本所需的ip等资源说明
343
+
344
+ :param resource_requirement: The resource_requirement of this ShowMrsVersionMetadataResponse.
345
+ :type resource_requirement: list[str]
346
+ """
347
+ self._resource_requirement = resource_requirement
348
+
349
+ @property
350
+ def constraints(self):
351
+ """Gets the constraints of this ShowMrsVersionMetadataResponse.
352
+
353
+ :return: The constraints of this ShowMrsVersionMetadataResponse.
354
+ :rtype: :class:`huaweicloudsdkmrs.v1.VersionConstraint`
355
+ """
356
+ return self._constraints
357
+
358
+ @constraints.setter
359
+ def constraints(self, constraints):
360
+ """Sets the constraints of this ShowMrsVersionMetadataResponse.
361
+
362
+ :param constraints: The constraints of this ShowMrsVersionMetadataResponse.
363
+ :type constraints: :class:`huaweicloudsdkmrs.v1.VersionConstraint`
364
+ """
365
+ self._constraints = constraints
366
+
367
+ @property
368
+ def flavors(self):
369
+ """Gets the flavors of this ShowMrsVersionMetadataResponse.
370
+
371
+ :return: The flavors of this ShowMrsVersionMetadataResponse.
372
+ :rtype: :class:`huaweicloudsdkmrs.v1.FlavorLists`
373
+ """
374
+ return self._flavors
375
+
376
+ @flavors.setter
377
+ def flavors(self, flavors):
378
+ """Sets the flavors of this ShowMrsVersionMetadataResponse.
379
+
380
+ :param flavors: The flavors of this ShowMrsVersionMetadataResponse.
381
+ :type flavors: :class:`huaweicloudsdkmrs.v1.FlavorLists`
382
+ """
383
+ self._flavors = flavors
384
+
385
+ @property
386
+ def role_deploy_meta(self):
387
+ """Gets the role_deploy_meta of this ShowMrsVersionMetadataResponse.
388
+
389
+ 版本组件实例角色部署策略
390
+
391
+ :return: The role_deploy_meta of this ShowMrsVersionMetadataResponse.
392
+ :rtype: list[:class:`huaweicloudsdkmrs.v1.RoleDeployMeta`]
393
+ """
394
+ return self._role_deploy_meta
395
+
396
+ @role_deploy_meta.setter
397
+ def role_deploy_meta(self, role_deploy_meta):
398
+ """Sets the role_deploy_meta of this ShowMrsVersionMetadataResponse.
399
+
400
+ 版本组件实例角色部署策略
401
+
402
+ :param role_deploy_meta: The role_deploy_meta of this ShowMrsVersionMetadataResponse.
403
+ :type role_deploy_meta: list[:class:`huaweicloudsdkmrs.v1.RoleDeployMeta`]
404
+ """
405
+ self._role_deploy_meta = role_deploy_meta
406
+
407
+ def to_dict(self):
408
+ """Returns the model properties as a dict"""
409
+ result = {}
410
+
411
+ for attr, _ in six.iteritems(self.openapi_types):
412
+ value = getattr(self, attr)
413
+ if isinstance(value, list):
414
+ result[attr] = list(map(
415
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
416
+ value
417
+ ))
418
+ elif hasattr(value, "to_dict"):
419
+ result[attr] = value.to_dict()
420
+ elif isinstance(value, dict):
421
+ result[attr] = dict(map(
422
+ lambda item: (item[0], item[1].to_dict())
423
+ if hasattr(item[1], "to_dict") else item,
424
+ value.items()
425
+ ))
426
+ else:
427
+ if attr in self.sensitive_list:
428
+ result[attr] = "****"
429
+ else:
430
+ result[attr] = value
431
+
432
+ return result
433
+
434
+ def to_str(self):
435
+ """Returns the string representation of the model"""
436
+ import simplejson as json
437
+ if six.PY2:
438
+ import sys
439
+ reload(sys)
440
+ sys.setdefaultencoding("utf-8")
441
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
442
+
443
+ def __repr__(self):
444
+ """For `print`"""
445
+ return self.to_str()
446
+
447
+ def __eq__(self, other):
448
+ """Returns true if both objects are equal"""
449
+ if not isinstance(other, ShowMrsVersionMetadataResponse):
450
+ return False
451
+
452
+ return self.__dict__ == other.__dict__
453
+
454
+ def __ne__(self, other):
455
+ """Returns true if both objects are not equal"""
456
+ return not self == other