huaweicloudsdkoctopus 3.1.155__py2.py3-none-any.whl → 3.1.156__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.
Files changed (82) hide show
  1. huaweicloudsdkoctopus/v2/__init__.py +72 -0
  2. huaweicloudsdkoctopus/v2/model/__init__.py +72 -0
  3. huaweicloudsdkoctopus/v2/model/alg_image_create_srlz.py +350 -0
  4. huaweicloudsdkoctopus/v2/model/alg_image_list_srlz.py +266 -0
  5. huaweicloudsdkoctopus/v2/model/algorithm_create_srlz.py +399 -0
  6. huaweicloudsdkoctopus/v2/model/algorithm_list_srlz.py +266 -0
  7. huaweicloudsdkoctopus/v2/model/batch_config_abc_info_srlz.py +142 -0
  8. huaweicloudsdkoctopus/v2/model/batch_config_evaluation_info_srlz.py +142 -0
  9. huaweicloudsdkoctopus/v2/model/batch_config_image_info_srlz.py +198 -0
  10. huaweicloudsdkoctopus/v2/model/batch_config_msg_notify_srlz.py +115 -0
  11. huaweicloudsdkoctopus/v2/model/batch_config_scenario_srlz.py +173 -0
  12. huaweicloudsdkoctopus/v2/model/batch_config_srlz.py +806 -0
  13. huaweicloudsdkoctopus/v2/model/batch_srlz.py +604 -0
  14. huaweicloudsdkoctopus/v2/model/build_create_srlz.py +115 -0
  15. huaweicloudsdkoctopus/v2/model/build_update_srlz.py +143 -0
  16. huaweicloudsdkoctopus/v2/model/category_f62_enum.py +89 -0
  17. huaweicloudsdkoctopus/v2/model/compilation_create_srlz.py +255 -0
  18. huaweicloudsdkoctopus/v2/model/compilation_update_srlz.py +311 -0
  19. huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_request.py +111 -0
  20. huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_response.py +361 -0
  21. huaweicloudsdkoctopus/v2/model/create_sim_algorithms_request.py +111 -0
  22. huaweicloudsdkoctopus/v2/model/create_sim_algorithms_response.py +404 -0
  23. huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_request.py +111 -0
  24. huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_response.py +819 -0
  25. huaweicloudsdkoctopus/v2/model/create_sim_extensions_request.py +111 -0
  26. huaweicloudsdkoctopus/v2/model/create_sim_extensions_response.py +314 -0
  27. huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_request.py +114 -0
  28. huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_response.py +85 -0
  29. huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_request.py +114 -0
  30. huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_response.py +85 -0
  31. huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_request.py +114 -0
  32. huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_response.py +85 -0
  33. huaweicloudsdkoctopus/v2/model/delete_sim_batches_request.py +114 -0
  34. huaweicloudsdkoctopus/v2/model/delete_sim_batches_response.py +85 -0
  35. huaweicloudsdkoctopus/v2/model/delete_sim_extensions_request.py +114 -0
  36. huaweicloudsdkoctopus/v2/model/delete_sim_extensions_response.py +85 -0
  37. huaweicloudsdkoctopus/v2/model/extension_srlz.py +353 -0
  38. huaweicloudsdkoctopus/v2/model/extensions_create_srlz.py +306 -0
  39. huaweicloudsdkoctopus/v2/model/extensions_list_srlz.py +291 -0
  40. huaweicloudsdkoctopus/v2/model/file_nested_srlz.py +279 -0
  41. huaweicloudsdkoctopus/v2/model/file_retrieve_srlz.py +310 -0
  42. huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_request.py +339 -0
  43. huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_response.py +185 -0
  44. huaweicloudsdkoctopus/v2/model/list_sim_algorithms_request.py +281 -0
  45. huaweicloudsdkoctopus/v2/model/list_sim_algorithms_response.py +185 -0
  46. huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_request.py +625 -0
  47. huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_response.py +185 -0
  48. huaweicloudsdkoctopus/v2/model/list_sim_batches_request.py +426 -0
  49. huaweicloudsdkoctopus/v2/model/list_sim_batches_response.py +185 -0
  50. huaweicloudsdkoctopus/v2/model/list_sim_extensions_request.py +202 -0
  51. huaweicloudsdkoctopus/v2/model/list_sim_extensions_response.py +185 -0
  52. huaweicloudsdkoctopus/v2/model/patched_alg_image_update_srlz.py +302 -0
  53. huaweicloudsdkoctopus/v2/model/patched_algorithm_update_srlz.py +796 -0
  54. huaweicloudsdkoctopus/v2/model/record_mode_enum.py +88 -0
  55. huaweicloudsdkoctopus/v2/model/run_image_status_enum.py +91 -0
  56. huaweicloudsdkoctopus/v2/model/run_srlz.py +254 -0
  57. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_request.py +114 -0
  58. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_response.py +361 -0
  59. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_request.py +114 -0
  60. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_response.py +377 -0
  61. huaweicloudsdkoctopus/v2/model/show_sim_batch_config_request.py +114 -0
  62. huaweicloudsdkoctopus/v2/model/show_sim_batch_config_response.py +819 -0
  63. huaweicloudsdkoctopus/v2/model/show_sim_extension_request.py +110 -0
  64. huaweicloudsdkoctopus/v2/model/show_sim_extension_response.py +353 -0
  65. huaweicloudsdkoctopus/v2/model/status6a7_enum.py +106 -0
  66. huaweicloudsdkoctopus/v2/model/type87e_enum.py +88 -0
  67. huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_request.py +139 -0
  68. huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_response.py +303 -0
  69. huaweicloudsdkoctopus/v2/model/update_sim_algorithms_request.py +139 -0
  70. huaweicloudsdkoctopus/v2/model/update_sim_algorithms_response.py +431 -0
  71. huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_request.py +138 -0
  72. huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_response.py +85 -0
  73. huaweicloudsdkoctopus/v2/model/update_sim_extensions_request.py +139 -0
  74. huaweicloudsdkoctopus/v2/model/update_sim_extensions_response.py +356 -0
  75. huaweicloudsdkoctopus/v2/octopus_async_client.py +1679 -150
  76. huaweicloudsdkoctopus/v2/octopus_client.py +1679 -150
  77. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/METADATA +2 -2
  78. huaweicloudsdkoctopus-3.1.156.dist-info/RECORD +126 -0
  79. huaweicloudsdkoctopus-3.1.155.dist-info/RECORD +0 -54
  80. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/LICENSE +0 -0
  81. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/WHEEL +0 -0
  82. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,266 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class AlgorithmListSrlz:
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
+ 'url': 'str',
21
+ 'id': 'int',
22
+ 'updated_at': 'float',
23
+ 'created_at': 'float',
24
+ 'category': 'CategoryF62Enum',
25
+ 'name': 'str',
26
+ 'description': 'str'
27
+ }
28
+
29
+ attribute_map = {
30
+ 'url': 'url',
31
+ 'id': 'id',
32
+ 'updated_at': 'updated_at',
33
+ 'created_at': 'created_at',
34
+ 'category': 'category',
35
+ 'name': 'name',
36
+ 'description': 'description'
37
+ }
38
+
39
+ def __init__(self, url=None, id=None, updated_at=None, created_at=None, category=None, name=None, description=None):
40
+ r"""AlgorithmListSrlz
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param url:
45
+ :type url: str
46
+ :param id:
47
+ :type id: int
48
+ :param updated_at:
49
+ :type updated_at: float
50
+ :param created_at:
51
+ :type created_at: float
52
+ :param category: 算法类型 * `code` - Code * `artifact` - Artifact * `image` - Image
53
+ :type category: :class:`huaweicloudsdkoctopus.v2.CategoryF62Enum`
54
+ :param name: 名称
55
+ :type name: str
56
+ :param description: 描述
57
+ :type description: str
58
+ """
59
+
60
+
61
+
62
+ self._url = None
63
+ self._id = None
64
+ self._updated_at = None
65
+ self._created_at = None
66
+ self._category = None
67
+ self._name = None
68
+ self._description = None
69
+ self.discriminator = None
70
+
71
+ self.url = url
72
+ self.id = id
73
+ self.updated_at = updated_at
74
+ self.created_at = created_at
75
+ self.category = category
76
+ self.name = name
77
+ self.description = description
78
+
79
+ @property
80
+ def url(self):
81
+ r"""Gets the url of this AlgorithmListSrlz.
82
+
83
+ :return: The url of this AlgorithmListSrlz.
84
+ :rtype: str
85
+ """
86
+ return self._url
87
+
88
+ @url.setter
89
+ def url(self, url):
90
+ r"""Sets the url of this AlgorithmListSrlz.
91
+
92
+ :param url: The url of this AlgorithmListSrlz.
93
+ :type url: str
94
+ """
95
+ self._url = url
96
+
97
+ @property
98
+ def id(self):
99
+ r"""Gets the id of this AlgorithmListSrlz.
100
+
101
+ :return: The id of this AlgorithmListSrlz.
102
+ :rtype: int
103
+ """
104
+ return self._id
105
+
106
+ @id.setter
107
+ def id(self, id):
108
+ r"""Sets the id of this AlgorithmListSrlz.
109
+
110
+ :param id: The id of this AlgorithmListSrlz.
111
+ :type id: int
112
+ """
113
+ self._id = id
114
+
115
+ @property
116
+ def updated_at(self):
117
+ r"""Gets the updated_at of this AlgorithmListSrlz.
118
+
119
+ :return: The updated_at of this AlgorithmListSrlz.
120
+ :rtype: float
121
+ """
122
+ return self._updated_at
123
+
124
+ @updated_at.setter
125
+ def updated_at(self, updated_at):
126
+ r"""Sets the updated_at of this AlgorithmListSrlz.
127
+
128
+ :param updated_at: The updated_at of this AlgorithmListSrlz.
129
+ :type updated_at: float
130
+ """
131
+ self._updated_at = updated_at
132
+
133
+ @property
134
+ def created_at(self):
135
+ r"""Gets the created_at of this AlgorithmListSrlz.
136
+
137
+ :return: The created_at of this AlgorithmListSrlz.
138
+ :rtype: float
139
+ """
140
+ return self._created_at
141
+
142
+ @created_at.setter
143
+ def created_at(self, created_at):
144
+ r"""Sets the created_at of this AlgorithmListSrlz.
145
+
146
+ :param created_at: The created_at of this AlgorithmListSrlz.
147
+ :type created_at: float
148
+ """
149
+ self._created_at = created_at
150
+
151
+ @property
152
+ def category(self):
153
+ r"""Gets the category of this AlgorithmListSrlz.
154
+
155
+ 算法类型 * `code` - Code * `artifact` - Artifact * `image` - Image
156
+
157
+ :return: The category of this AlgorithmListSrlz.
158
+ :rtype: :class:`huaweicloudsdkoctopus.v2.CategoryF62Enum`
159
+ """
160
+ return self._category
161
+
162
+ @category.setter
163
+ def category(self, category):
164
+ r"""Sets the category of this AlgorithmListSrlz.
165
+
166
+ 算法类型 * `code` - Code * `artifact` - Artifact * `image` - Image
167
+
168
+ :param category: The category of this AlgorithmListSrlz.
169
+ :type category: :class:`huaweicloudsdkoctopus.v2.CategoryF62Enum`
170
+ """
171
+ self._category = category
172
+
173
+ @property
174
+ def name(self):
175
+ r"""Gets the name of this AlgorithmListSrlz.
176
+
177
+ 名称
178
+
179
+ :return: The name of this AlgorithmListSrlz.
180
+ :rtype: str
181
+ """
182
+ return self._name
183
+
184
+ @name.setter
185
+ def name(self, name):
186
+ r"""Sets the name of this AlgorithmListSrlz.
187
+
188
+ 名称
189
+
190
+ :param name: The name of this AlgorithmListSrlz.
191
+ :type name: str
192
+ """
193
+ self._name = name
194
+
195
+ @property
196
+ def description(self):
197
+ r"""Gets the description of this AlgorithmListSrlz.
198
+
199
+ 描述
200
+
201
+ :return: The description of this AlgorithmListSrlz.
202
+ :rtype: str
203
+ """
204
+ return self._description
205
+
206
+ @description.setter
207
+ def description(self, description):
208
+ r"""Sets the description of this AlgorithmListSrlz.
209
+
210
+ 描述
211
+
212
+ :param description: The description of this AlgorithmListSrlz.
213
+ :type description: str
214
+ """
215
+ self._description = description
216
+
217
+ def to_dict(self):
218
+ """Returns the model properties as a dict"""
219
+ result = {}
220
+
221
+ for attr, _ in six.iteritems(self.openapi_types):
222
+ value = getattr(self, attr)
223
+ if isinstance(value, list):
224
+ result[attr] = list(map(
225
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
226
+ value
227
+ ))
228
+ elif hasattr(value, "to_dict"):
229
+ result[attr] = value.to_dict()
230
+ elif isinstance(value, dict):
231
+ result[attr] = dict(map(
232
+ lambda item: (item[0], item[1].to_dict())
233
+ if hasattr(item[1], "to_dict") else item,
234
+ value.items()
235
+ ))
236
+ else:
237
+ if attr in self.sensitive_list:
238
+ result[attr] = "****"
239
+ else:
240
+ result[attr] = value
241
+
242
+ return result
243
+
244
+ def to_str(self):
245
+ """Returns the string representation of the model"""
246
+ import simplejson as json
247
+ if six.PY2:
248
+ import sys
249
+ reload(sys)
250
+ sys.setdefaultencoding("utf-8")
251
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
252
+
253
+ def __repr__(self):
254
+ """For `print`"""
255
+ return self.to_str()
256
+
257
+ def __eq__(self, other):
258
+ """Returns true if both objects are equal"""
259
+ if not isinstance(other, AlgorithmListSrlz):
260
+ return False
261
+
262
+ return self.__dict__ == other.__dict__
263
+
264
+ def __ne__(self, other):
265
+ """Returns true if both objects are not equal"""
266
+ return not self == other
@@ -0,0 +1,142 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class BatchConfigABCInfoSrlz:
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': 'int',
21
+ 'name': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'id': 'id',
26
+ 'name': 'name'
27
+ }
28
+
29
+ def __init__(self, id=None, name=None):
30
+ r"""BatchConfigABCInfoSrlz
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param id: 项目id
35
+ :type id: int
36
+ :param name: 项目名称
37
+ :type name: str
38
+ """
39
+
40
+
41
+
42
+ self._id = None
43
+ self._name = None
44
+ self.discriminator = None
45
+
46
+ self.id = id
47
+ self.name = name
48
+
49
+ @property
50
+ def id(self):
51
+ r"""Gets the id of this BatchConfigABCInfoSrlz.
52
+
53
+ 项目id
54
+
55
+ :return: The id of this BatchConfigABCInfoSrlz.
56
+ :rtype: int
57
+ """
58
+ return self._id
59
+
60
+ @id.setter
61
+ def id(self, id):
62
+ r"""Sets the id of this BatchConfigABCInfoSrlz.
63
+
64
+ 项目id
65
+
66
+ :param id: The id of this BatchConfigABCInfoSrlz.
67
+ :type id: int
68
+ """
69
+ self._id = id
70
+
71
+ @property
72
+ def name(self):
73
+ r"""Gets the name of this BatchConfigABCInfoSrlz.
74
+
75
+ 项目名称
76
+
77
+ :return: The name of this BatchConfigABCInfoSrlz.
78
+ :rtype: str
79
+ """
80
+ return self._name
81
+
82
+ @name.setter
83
+ def name(self, name):
84
+ r"""Sets the name of this BatchConfigABCInfoSrlz.
85
+
86
+ 项目名称
87
+
88
+ :param name: The name of this BatchConfigABCInfoSrlz.
89
+ :type name: str
90
+ """
91
+ self._name = name
92
+
93
+ def to_dict(self):
94
+ """Returns the model properties as a dict"""
95
+ result = {}
96
+
97
+ for attr, _ in six.iteritems(self.openapi_types):
98
+ value = getattr(self, attr)
99
+ if isinstance(value, list):
100
+ result[attr] = list(map(
101
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
102
+ value
103
+ ))
104
+ elif hasattr(value, "to_dict"):
105
+ result[attr] = value.to_dict()
106
+ elif isinstance(value, dict):
107
+ result[attr] = dict(map(
108
+ lambda item: (item[0], item[1].to_dict())
109
+ if hasattr(item[1], "to_dict") else item,
110
+ value.items()
111
+ ))
112
+ else:
113
+ if attr in self.sensitive_list:
114
+ result[attr] = "****"
115
+ else:
116
+ result[attr] = value
117
+
118
+ return result
119
+
120
+ def to_str(self):
121
+ """Returns the string representation of the model"""
122
+ import simplejson as json
123
+ if six.PY2:
124
+ import sys
125
+ reload(sys)
126
+ sys.setdefaultencoding("utf-8")
127
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
128
+
129
+ def __repr__(self):
130
+ """For `print`"""
131
+ return self.to_str()
132
+
133
+ def __eq__(self, other):
134
+ """Returns true if both objects are equal"""
135
+ if not isinstance(other, BatchConfigABCInfoSrlz):
136
+ return False
137
+
138
+ return self.__dict__ == other.__dict__
139
+
140
+ def __ne__(self, other):
141
+ """Returns true if both objects are not equal"""
142
+ return not self == other
@@ -0,0 +1,142 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class BatchConfigEvaluationInfoSrlz:
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
+ 'image': 'BatchConfigImageInfoSrlz',
21
+ 'config': 'BatchConfigABCInfoSrlz'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'image': 'image',
26
+ 'config': 'config'
27
+ }
28
+
29
+ def __init__(self, image=None, config=None):
30
+ r"""BatchConfigEvaluationInfoSrlz
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param image: 镜像信息
35
+ :type image: :class:`huaweicloudsdkoctopus.v2.BatchConfigImageInfoSrlz`
36
+ :param config: 内置评测配置信息
37
+ :type config: :class:`huaweicloudsdkoctopus.v2.BatchConfigABCInfoSrlz`
38
+ """
39
+
40
+
41
+
42
+ self._image = None
43
+ self._config = None
44
+ self.discriminator = None
45
+
46
+ self.image = image
47
+ self.config = config
48
+
49
+ @property
50
+ def image(self):
51
+ r"""Gets the image of this BatchConfigEvaluationInfoSrlz.
52
+
53
+ 镜像信息
54
+
55
+ :return: The image of this BatchConfigEvaluationInfoSrlz.
56
+ :rtype: :class:`huaweicloudsdkoctopus.v2.BatchConfigImageInfoSrlz`
57
+ """
58
+ return self._image
59
+
60
+ @image.setter
61
+ def image(self, image):
62
+ r"""Sets the image of this BatchConfigEvaluationInfoSrlz.
63
+
64
+ 镜像信息
65
+
66
+ :param image: The image of this BatchConfigEvaluationInfoSrlz.
67
+ :type image: :class:`huaweicloudsdkoctopus.v2.BatchConfigImageInfoSrlz`
68
+ """
69
+ self._image = image
70
+
71
+ @property
72
+ def config(self):
73
+ r"""Gets the config of this BatchConfigEvaluationInfoSrlz.
74
+
75
+ 内置评测配置信息
76
+
77
+ :return: The config of this BatchConfigEvaluationInfoSrlz.
78
+ :rtype: :class:`huaweicloudsdkoctopus.v2.BatchConfigABCInfoSrlz`
79
+ """
80
+ return self._config
81
+
82
+ @config.setter
83
+ def config(self, config):
84
+ r"""Sets the config of this BatchConfigEvaluationInfoSrlz.
85
+
86
+ 内置评测配置信息
87
+
88
+ :param config: The config of this BatchConfigEvaluationInfoSrlz.
89
+ :type config: :class:`huaweicloudsdkoctopus.v2.BatchConfigABCInfoSrlz`
90
+ """
91
+ self._config = config
92
+
93
+ def to_dict(self):
94
+ """Returns the model properties as a dict"""
95
+ result = {}
96
+
97
+ for attr, _ in six.iteritems(self.openapi_types):
98
+ value = getattr(self, attr)
99
+ if isinstance(value, list):
100
+ result[attr] = list(map(
101
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
102
+ value
103
+ ))
104
+ elif hasattr(value, "to_dict"):
105
+ result[attr] = value.to_dict()
106
+ elif isinstance(value, dict):
107
+ result[attr] = dict(map(
108
+ lambda item: (item[0], item[1].to_dict())
109
+ if hasattr(item[1], "to_dict") else item,
110
+ value.items()
111
+ ))
112
+ else:
113
+ if attr in self.sensitive_list:
114
+ result[attr] = "****"
115
+ else:
116
+ result[attr] = value
117
+
118
+ return result
119
+
120
+ def to_str(self):
121
+ """Returns the string representation of the model"""
122
+ import simplejson as json
123
+ if six.PY2:
124
+ import sys
125
+ reload(sys)
126
+ sys.setdefaultencoding("utf-8")
127
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
128
+
129
+ def __repr__(self):
130
+ """For `print`"""
131
+ return self.to_str()
132
+
133
+ def __eq__(self, other):
134
+ """Returns true if both objects are equal"""
135
+ if not isinstance(other, BatchConfigEvaluationInfoSrlz):
136
+ return False
137
+
138
+ return self.__dict__ == other.__dict__
139
+
140
+ def __ne__(self, other):
141
+ """Returns true if both objects are not equal"""
142
+ return not self == other