huaweicloudsdkeihealth 3.1.94__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.
Files changed (60) hide show
  1. huaweicloudsdkeihealth/v1/__init__.py +44 -0
  2. huaweicloudsdkeihealth/v1/eihealth_async_client.py +1057 -52
  3. huaweicloudsdkeihealth/v1/eihealth_client.py +1057 -52
  4. huaweicloudsdkeihealth/v1/model/__init__.py +44 -0
  5. huaweicloudsdkeihealth/v1/model/add_drug_database_file_req.py +139 -0
  6. huaweicloudsdkeihealth/v1/model/add_drug_database_file_request.py +139 -0
  7. huaweicloudsdkeihealth/v1/model/add_drug_database_file_response.py +85 -0
  8. huaweicloudsdkeihealth/v1/model/bind_site_dto.py +30 -1
  9. huaweicloudsdkeihealth/v1/model/create_css_cluster_req.py +170 -0
  10. huaweicloudsdkeihealth/v1/model/create_css_cluster_request.py +111 -0
  11. huaweicloudsdkeihealth/v1/model/create_css_cluster_response.py +116 -0
  12. huaweicloudsdkeihealth/v1/model/create_database_req2.py +252 -0
  13. huaweicloudsdkeihealth/v1/model/create_drug_database_request.py +111 -0
  14. huaweicloudsdkeihealth/v1/model/create_drug_database_response.py +116 -0
  15. huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_req.py +198 -0
  16. huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_request.py +139 -0
  17. huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_response.py +116 -0
  18. huaweicloudsdkeihealth/v1/model/create_optm_job_req.py +30 -1
  19. huaweicloudsdkeihealth/v1/model/create_search_job_req.py +308 -0
  20. huaweicloudsdkeihealth/v1/model/create_search_job_request.py +139 -0
  21. huaweicloudsdkeihealth/v1/model/create_search_job_response.py +145 -0
  22. huaweicloudsdkeihealth/v1/model/css_cluster_dto.py +202 -0
  23. huaweicloudsdkeihealth/v1/model/database_file.py +167 -0
  24. huaweicloudsdkeihealth/v1/model/database_file_source.py +88 -0
  25. huaweicloudsdkeihealth/v1/model/delete_css_cluster_request.py +114 -0
  26. huaweicloudsdkeihealth/v1/model/delete_css_cluster_response.py +85 -0
  27. huaweicloudsdkeihealth/v1/model/delete_drug_database_request.py +114 -0
  28. huaweicloudsdkeihealth/v1/model/delete_drug_database_response.py +85 -0
  29. huaweicloudsdkeihealth/v1/model/detail_database_file.py +225 -0
  30. huaweicloudsdkeihealth/v1/model/download_data_req.py +61 -3
  31. huaweicloudsdkeihealth/v1/model/drug_database_dto.py +521 -0
  32. huaweicloudsdkeihealth/v1/model/get_archive_config_rsp.py +3 -32
  33. huaweicloudsdkeihealth/v1/model/list_css_cluster_request.py +144 -0
  34. huaweicloudsdkeihealth/v1/model/list_css_cluster_response.py +145 -0
  35. huaweicloudsdkeihealth/v1/model/list_drug_database_request.py +260 -0
  36. huaweicloudsdkeihealth/v1/model/list_drug_database_response.py +174 -0
  37. huaweicloudsdkeihealth/v1/model/list_term_tenant_css_cluster_request.py +144 -0
  38. huaweicloudsdkeihealth/v1/model/list_term_tenant_css_cluster_response.py +145 -0
  39. huaweicloudsdkeihealth/v1/model/search_type.py +88 -0
  40. huaweicloudsdkeihealth/v1/model/show_mol_batch_download_task_request.py +142 -0
  41. huaweicloudsdkeihealth/v1/model/show_mol_batch_download_task_response.py +174 -0
  42. huaweicloudsdkeihealth/v1/model/show_optm_job_response.py +30 -1
  43. huaweicloudsdkeihealth/v1/model/show_search_job_request.py +142 -0
  44. huaweicloudsdkeihealth/v1/model/show_search_job_response.py +340 -0
  45. huaweicloudsdkeihealth/v1/model/term_tenant_css_cluster_dto.py +173 -0
  46. huaweicloudsdkeihealth/v1/model/update_drug_database_req.py +114 -0
  47. huaweicloudsdkeihealth/v1/model/update_drug_database_request.py +139 -0
  48. huaweicloudsdkeihealth/v1/model/update_drug_database_response.py +85 -0
  49. huaweicloudsdkeihealth/v1/model/update_drug_job_req.py +115 -0
  50. huaweicloudsdkeihealth/v1/model/update_drug_job_request.py +167 -0
  51. huaweicloudsdkeihealth/v1/model/update_drug_job_response.py +85 -0
  52. huaweicloudsdkeihealth/v1/model/upload_data_request.py +1 -175
  53. huaweicloudsdkeihealth/v1/model/upload_data_request_body.py +177 -3
  54. huaweicloudsdkeihealth/v1/model/validate_css_connection_request.py +111 -0
  55. huaweicloudsdkeihealth/v1/model/validate_css_connection_response.py +145 -0
  56. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.96.dist-info}/METADATA +2 -2
  57. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.96.dist-info}/RECORD +60 -16
  58. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.96.dist-info}/LICENSE +0 -0
  59. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.96.dist-info}/WHEEL +0 -0
  60. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.96.dist-info}/top_level.txt +0 -0
@@ -18,45 +18,21 @@ class UploadDataRequest:
18
18
 
19
19
  openapi_types = {
20
20
  'eihealth_project_id': 'str',
21
- 'target_folder': 'str',
22
- 'part_number': 'int',
23
- 'total_part': 'int',
24
- 'multipart_id': 'str',
25
- 'file_name': 'str',
26
- 'md5': 'str',
27
21
  'body': 'UploadDataRequestBody'
28
22
  }
29
23
 
30
24
  attribute_map = {
31
25
  'eihealth_project_id': 'eihealth_project_id',
32
- 'target_folder': 'target_folder',
33
- 'part_number': 'part_number',
34
- 'total_part': 'total_part',
35
- 'multipart_id': 'multipart_id',
36
- 'file_name': 'file_name',
37
- 'md5': 'md5',
38
26
  'body': 'body'
39
27
  }
40
28
 
41
- def __init__(self, eihealth_project_id=None, target_folder=None, part_number=None, total_part=None, multipart_id=None, file_name=None, md5=None, body=None):
29
+ def __init__(self, eihealth_project_id=None, body=None):
42
30
  """UploadDataRequest
43
31
 
44
32
  The model defined in huaweicloud sdk
45
33
 
46
34
  :param eihealth_project_id: 平台项目ID,您可以在平台单击所需的项目名称,进入项目设置页面查看。
47
35
  :type eihealth_project_id: str
48
- :param target_folder: 目标文件夹
49
- :type target_folder: str
50
- :param part_number: 分段序号,表示第几个文件片段
51
- :type part_number: int
52
- :param total_part: 分段总数,上传的文件总共分成了几个片段
53
- :type total_part: int
54
- :param multipart_id: 分段上传任务id,除了第一个片段外,后续的片段都需要标识出任务id
55
- :type multipart_id: str
56
- :param file_name: 文件名称
57
- :type file_name: str
58
- :param md5: MD5
59
- :type md5: str
60
36
  :param body: Body of the UploadDataRequest
61
37
  :type body: :class:`huaweicloudsdkeihealth.v1.UploadDataRequestBody`
62
38
  """
@@ -64,28 +40,10 @@ class UploadDataRequest:
64
40
 
65
41
 
66
42
  self._eihealth_project_id = None
67
- self._target_folder = None
68
- self._part_number = None
69
- self._total_part = None
70
- self._multipart_id = None
71
- self._file_name = None
72
- self._md5 = None
73
43
  self._body = None
74
44
  self.discriminator = None
75
45
 
76
46
  self.eihealth_project_id = eihealth_project_id
77
- if target_folder is not None:
78
- self.target_folder = target_folder
79
- if part_number is not None:
80
- self.part_number = part_number
81
- if total_part is not None:
82
- self.total_part = total_part
83
- if multipart_id is not None:
84
- self.multipart_id = multipart_id
85
- if file_name is not None:
86
- self.file_name = file_name
87
- if md5 is not None:
88
- self.md5 = md5
89
47
  if body is not None:
90
48
  self.body = body
91
49
 
@@ -111,138 +69,6 @@ class UploadDataRequest:
111
69
  """
112
70
  self._eihealth_project_id = eihealth_project_id
113
71
 
114
- @property
115
- def target_folder(self):
116
- """Gets the target_folder of this UploadDataRequest.
117
-
118
- 目标文件夹
119
-
120
- :return: The target_folder of this UploadDataRequest.
121
- :rtype: str
122
- """
123
- return self._target_folder
124
-
125
- @target_folder.setter
126
- def target_folder(self, target_folder):
127
- """Sets the target_folder of this UploadDataRequest.
128
-
129
- 目标文件夹
130
-
131
- :param target_folder: The target_folder of this UploadDataRequest.
132
- :type target_folder: str
133
- """
134
- self._target_folder = target_folder
135
-
136
- @property
137
- def part_number(self):
138
- """Gets the part_number of this UploadDataRequest.
139
-
140
- 分段序号,表示第几个文件片段
141
-
142
- :return: The part_number of this UploadDataRequest.
143
- :rtype: int
144
- """
145
- return self._part_number
146
-
147
- @part_number.setter
148
- def part_number(self, part_number):
149
- """Sets the part_number of this UploadDataRequest.
150
-
151
- 分段序号,表示第几个文件片段
152
-
153
- :param part_number: The part_number of this UploadDataRequest.
154
- :type part_number: int
155
- """
156
- self._part_number = part_number
157
-
158
- @property
159
- def total_part(self):
160
- """Gets the total_part of this UploadDataRequest.
161
-
162
- 分段总数,上传的文件总共分成了几个片段
163
-
164
- :return: The total_part of this UploadDataRequest.
165
- :rtype: int
166
- """
167
- return self._total_part
168
-
169
- @total_part.setter
170
- def total_part(self, total_part):
171
- """Sets the total_part of this UploadDataRequest.
172
-
173
- 分段总数,上传的文件总共分成了几个片段
174
-
175
- :param total_part: The total_part of this UploadDataRequest.
176
- :type total_part: int
177
- """
178
- self._total_part = total_part
179
-
180
- @property
181
- def multipart_id(self):
182
- """Gets the multipart_id of this UploadDataRequest.
183
-
184
- 分段上传任务id,除了第一个片段外,后续的片段都需要标识出任务id
185
-
186
- :return: The multipart_id of this UploadDataRequest.
187
- :rtype: str
188
- """
189
- return self._multipart_id
190
-
191
- @multipart_id.setter
192
- def multipart_id(self, multipart_id):
193
- """Sets the multipart_id of this UploadDataRequest.
194
-
195
- 分段上传任务id,除了第一个片段外,后续的片段都需要标识出任务id
196
-
197
- :param multipart_id: The multipart_id of this UploadDataRequest.
198
- :type multipart_id: str
199
- """
200
- self._multipart_id = multipart_id
201
-
202
- @property
203
- def file_name(self):
204
- """Gets the file_name of this UploadDataRequest.
205
-
206
- 文件名称
207
-
208
- :return: The file_name of this UploadDataRequest.
209
- :rtype: str
210
- """
211
- return self._file_name
212
-
213
- @file_name.setter
214
- def file_name(self, file_name):
215
- """Sets the file_name of this UploadDataRequest.
216
-
217
- 文件名称
218
-
219
- :param file_name: The file_name of this UploadDataRequest.
220
- :type file_name: str
221
- """
222
- self._file_name = file_name
223
-
224
- @property
225
- def md5(self):
226
- """Gets the md5 of this UploadDataRequest.
227
-
228
- MD5
229
-
230
- :return: The md5 of this UploadDataRequest.
231
- :rtype: str
232
- """
233
- return self._md5
234
-
235
- @md5.setter
236
- def md5(self, md5):
237
- """Sets the md5 of this UploadDataRequest.
238
-
239
- MD5
240
-
241
- :param md5: The md5 of this UploadDataRequest.
242
- :type md5: str
243
- """
244
- self._md5 = md5
245
-
246
72
  @property
247
73
  def body(self):
248
74
  """Gets the body of this UploadDataRequest.
@@ -17,28 +17,70 @@ class UploadDataRequestBody:
17
17
  sensitive_list = []
18
18
 
19
19
  openapi_types = {
20
- 'file': 'file'
20
+ 'file': 'file',
21
+ 'target_folder': 'str',
22
+ 'part_number': 'str',
23
+ 'total_part': 'str',
24
+ 'multipart_id': 'str',
25
+ 'file_name': 'str',
26
+ 'md5': 'str'
21
27
  }
22
28
 
23
29
  attribute_map = {
24
- 'file': 'file'
30
+ 'file': 'file',
31
+ 'target_folder': 'target_folder',
32
+ 'part_number': 'part_number',
33
+ 'total_part': 'total_part',
34
+ 'multipart_id': 'multipart_id',
35
+ 'file_name': 'file_name',
36
+ 'md5': 'md5'
25
37
  }
26
38
 
27
- def __init__(self, file=None):
39
+ def __init__(self, file=None, target_folder=None, part_number=None, total_part=None, multipart_id=None, file_name=None, md5=None):
28
40
  """UploadDataRequestBody
29
41
 
30
42
  The model defined in huaweicloud sdk
31
43
 
32
44
  :param file: 文件流对象
33
45
  :type file: :class:`huaweicloudsdkcore.http.formdata.FormFile`
46
+ :param target_folder: 目标文件夹
47
+ :type target_folder: str
48
+ :param part_number: 分段序号,表示第几个文件片段
49
+ :type part_number: str
50
+ :param total_part: 分段总数,上传的文件总共分成了几个片段
51
+ :type total_part: str
52
+ :param multipart_id: 分段上传任务id,除了第一个片段外,后续的片段都需要标识出任务id
53
+ :type multipart_id: str
54
+ :param file_name: 文件名称
55
+ :type file_name: str
56
+ :param md5: MD5
57
+ :type md5: str
34
58
  """
35
59
 
36
60
 
37
61
 
38
62
  self._file = None
63
+ self._target_folder = None
64
+ self._part_number = None
65
+ self._total_part = None
66
+ self._multipart_id = None
67
+ self._file_name = None
68
+ self._md5 = None
39
69
  self.discriminator = None
40
70
 
41
71
  self.file = file
72
+ if target_folder is not None:
73
+ self.target_folder = target_folder
74
+ if part_number is not None:
75
+ self.part_number = part_number
76
+ if total_part is not None:
77
+ self.total_part = total_part
78
+ if multipart_id is not None:
79
+ self.multipart_id = multipart_id
80
+ if file_name is not None:
81
+ self.file_name = file_name
82
+ if md5 is not None:
83
+ self.md5 = md5
42
84
 
43
85
  @property
44
86
  def file(self):
@@ -62,6 +104,138 @@ class UploadDataRequestBody:
62
104
  """
63
105
  self._file = file
64
106
 
107
+ @property
108
+ def target_folder(self):
109
+ """Gets the target_folder of this UploadDataRequestBody.
110
+
111
+ 目标文件夹
112
+
113
+ :return: The target_folder of this UploadDataRequestBody.
114
+ :rtype: str
115
+ """
116
+ return self._target_folder
117
+
118
+ @target_folder.setter
119
+ def target_folder(self, target_folder):
120
+ """Sets the target_folder of this UploadDataRequestBody.
121
+
122
+ 目标文件夹
123
+
124
+ :param target_folder: The target_folder of this UploadDataRequestBody.
125
+ :type target_folder: str
126
+ """
127
+ self._target_folder = target_folder
128
+
129
+ @property
130
+ def part_number(self):
131
+ """Gets the part_number of this UploadDataRequestBody.
132
+
133
+ 分段序号,表示第几个文件片段
134
+
135
+ :return: The part_number of this UploadDataRequestBody.
136
+ :rtype: str
137
+ """
138
+ return self._part_number
139
+
140
+ @part_number.setter
141
+ def part_number(self, part_number):
142
+ """Sets the part_number of this UploadDataRequestBody.
143
+
144
+ 分段序号,表示第几个文件片段
145
+
146
+ :param part_number: The part_number of this UploadDataRequestBody.
147
+ :type part_number: str
148
+ """
149
+ self._part_number = part_number
150
+
151
+ @property
152
+ def total_part(self):
153
+ """Gets the total_part of this UploadDataRequestBody.
154
+
155
+ 分段总数,上传的文件总共分成了几个片段
156
+
157
+ :return: The total_part of this UploadDataRequestBody.
158
+ :rtype: str
159
+ """
160
+ return self._total_part
161
+
162
+ @total_part.setter
163
+ def total_part(self, total_part):
164
+ """Sets the total_part of this UploadDataRequestBody.
165
+
166
+ 分段总数,上传的文件总共分成了几个片段
167
+
168
+ :param total_part: The total_part of this UploadDataRequestBody.
169
+ :type total_part: str
170
+ """
171
+ self._total_part = total_part
172
+
173
+ @property
174
+ def multipart_id(self):
175
+ """Gets the multipart_id of this UploadDataRequestBody.
176
+
177
+ 分段上传任务id,除了第一个片段外,后续的片段都需要标识出任务id
178
+
179
+ :return: The multipart_id of this UploadDataRequestBody.
180
+ :rtype: str
181
+ """
182
+ return self._multipart_id
183
+
184
+ @multipart_id.setter
185
+ def multipart_id(self, multipart_id):
186
+ """Sets the multipart_id of this UploadDataRequestBody.
187
+
188
+ 分段上传任务id,除了第一个片段外,后续的片段都需要标识出任务id
189
+
190
+ :param multipart_id: The multipart_id of this UploadDataRequestBody.
191
+ :type multipart_id: str
192
+ """
193
+ self._multipart_id = multipart_id
194
+
195
+ @property
196
+ def file_name(self):
197
+ """Gets the file_name of this UploadDataRequestBody.
198
+
199
+ 文件名称
200
+
201
+ :return: The file_name of this UploadDataRequestBody.
202
+ :rtype: str
203
+ """
204
+ return self._file_name
205
+
206
+ @file_name.setter
207
+ def file_name(self, file_name):
208
+ """Sets the file_name of this UploadDataRequestBody.
209
+
210
+ 文件名称
211
+
212
+ :param file_name: The file_name of this UploadDataRequestBody.
213
+ :type file_name: str
214
+ """
215
+ self._file_name = file_name
216
+
217
+ @property
218
+ def md5(self):
219
+ """Gets the md5 of this UploadDataRequestBody.
220
+
221
+ MD5
222
+
223
+ :return: The md5 of this UploadDataRequestBody.
224
+ :rtype: str
225
+ """
226
+ return self._md5
227
+
228
+ @md5.setter
229
+ def md5(self, md5):
230
+ """Sets the md5 of this UploadDataRequestBody.
231
+
232
+ MD5
233
+
234
+ :param md5: The md5 of this UploadDataRequestBody.
235
+ :type md5: str
236
+ """
237
+ self._md5 = md5
238
+
65
239
  def to_dict(self):
66
240
  """Returns the model properties as a dict"""
67
241
  result = {}
@@ -0,0 +1,111 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ValidateCssConnectionRequest:
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
+ 'body': 'CreateCssClusterReq'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'body': 'body'
25
+ }
26
+
27
+ def __init__(self, body=None):
28
+ """ValidateCssConnectionRequest
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param body: Body of the ValidateCssConnectionRequest
33
+ :type body: :class:`huaweicloudsdkeihealth.v1.CreateCssClusterReq`
34
+ """
35
+
36
+
37
+
38
+ self._body = None
39
+ self.discriminator = None
40
+
41
+ if body is not None:
42
+ self.body = body
43
+
44
+ @property
45
+ def body(self):
46
+ """Gets the body of this ValidateCssConnectionRequest.
47
+
48
+ :return: The body of this ValidateCssConnectionRequest.
49
+ :rtype: :class:`huaweicloudsdkeihealth.v1.CreateCssClusterReq`
50
+ """
51
+ return self._body
52
+
53
+ @body.setter
54
+ def body(self, body):
55
+ """Sets the body of this ValidateCssConnectionRequest.
56
+
57
+ :param body: The body of this ValidateCssConnectionRequest.
58
+ :type body: :class:`huaweicloudsdkeihealth.v1.CreateCssClusterReq`
59
+ """
60
+ self._body = body
61
+
62
+ def to_dict(self):
63
+ """Returns the model properties as a dict"""
64
+ result = {}
65
+
66
+ for attr, _ in six.iteritems(self.openapi_types):
67
+ value = getattr(self, attr)
68
+ if isinstance(value, list):
69
+ result[attr] = list(map(
70
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
71
+ value
72
+ ))
73
+ elif hasattr(value, "to_dict"):
74
+ result[attr] = value.to_dict()
75
+ elif isinstance(value, dict):
76
+ result[attr] = dict(map(
77
+ lambda item: (item[0], item[1].to_dict())
78
+ if hasattr(item[1], "to_dict") else item,
79
+ value.items()
80
+ ))
81
+ else:
82
+ if attr in self.sensitive_list:
83
+ result[attr] = "****"
84
+ else:
85
+ result[attr] = value
86
+
87
+ return result
88
+
89
+ def to_str(self):
90
+ """Returns the string representation of the model"""
91
+ import simplejson as json
92
+ if six.PY2:
93
+ import sys
94
+ reload(sys)
95
+ sys.setdefaultencoding("utf-8")
96
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
97
+
98
+ def __repr__(self):
99
+ """For `print`"""
100
+ return self.to_str()
101
+
102
+ def __eq__(self, other):
103
+ """Returns true if both objects are equal"""
104
+ if not isinstance(other, ValidateCssConnectionRequest):
105
+ return False
106
+
107
+ return self.__dict__ == other.__dict__
108
+
109
+ def __ne__(self, other):
110
+ """Returns true if both objects are not equal"""
111
+ return not self == other
@@ -0,0 +1,145 @@
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 ValidateCssConnectionResponse(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
+ 'connected': 'bool',
22
+ 'reason': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'connected': 'connected',
27
+ 'reason': 'reason'
28
+ }
29
+
30
+ def __init__(self, connected=None, reason=None):
31
+ """ValidateCssConnectionResponse
32
+
33
+ The model defined in huaweicloud sdk
34
+
35
+ :param connected: 是否连通
36
+ :type connected: bool
37
+ :param reason: 失败原因
38
+ :type reason: str
39
+ """
40
+
41
+ super(ValidateCssConnectionResponse, self).__init__()
42
+
43
+ self._connected = None
44
+ self._reason = None
45
+ self.discriminator = None
46
+
47
+ if connected is not None:
48
+ self.connected = connected
49
+ if reason is not None:
50
+ self.reason = reason
51
+
52
+ @property
53
+ def connected(self):
54
+ """Gets the connected of this ValidateCssConnectionResponse.
55
+
56
+ 是否连通
57
+
58
+ :return: The connected of this ValidateCssConnectionResponse.
59
+ :rtype: bool
60
+ """
61
+ return self._connected
62
+
63
+ @connected.setter
64
+ def connected(self, connected):
65
+ """Sets the connected of this ValidateCssConnectionResponse.
66
+
67
+ 是否连通
68
+
69
+ :param connected: The connected of this ValidateCssConnectionResponse.
70
+ :type connected: bool
71
+ """
72
+ self._connected = connected
73
+
74
+ @property
75
+ def reason(self):
76
+ """Gets the reason of this ValidateCssConnectionResponse.
77
+
78
+ 失败原因
79
+
80
+ :return: The reason of this ValidateCssConnectionResponse.
81
+ :rtype: str
82
+ """
83
+ return self._reason
84
+
85
+ @reason.setter
86
+ def reason(self, reason):
87
+ """Sets the reason of this ValidateCssConnectionResponse.
88
+
89
+ 失败原因
90
+
91
+ :param reason: The reason of this ValidateCssConnectionResponse.
92
+ :type reason: str
93
+ """
94
+ self._reason = reason
95
+
96
+ def to_dict(self):
97
+ """Returns the model properties as a dict"""
98
+ result = {}
99
+
100
+ for attr, _ in six.iteritems(self.openapi_types):
101
+ value = getattr(self, attr)
102
+ if isinstance(value, list):
103
+ result[attr] = list(map(
104
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
105
+ value
106
+ ))
107
+ elif hasattr(value, "to_dict"):
108
+ result[attr] = value.to_dict()
109
+ elif isinstance(value, dict):
110
+ result[attr] = dict(map(
111
+ lambda item: (item[0], item[1].to_dict())
112
+ if hasattr(item[1], "to_dict") else item,
113
+ value.items()
114
+ ))
115
+ else:
116
+ if attr in self.sensitive_list:
117
+ result[attr] = "****"
118
+ else:
119
+ result[attr] = value
120
+
121
+ return result
122
+
123
+ def to_str(self):
124
+ """Returns the string representation of the model"""
125
+ import simplejson as json
126
+ if six.PY2:
127
+ import sys
128
+ reload(sys)
129
+ sys.setdefaultencoding("utf-8")
130
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
131
+
132
+ def __repr__(self):
133
+ """For `print`"""
134
+ return self.to_str()
135
+
136
+ def __eq__(self, other):
137
+ """Returns true if both objects are equal"""
138
+ if not isinstance(other, ValidateCssConnectionResponse):
139
+ return False
140
+
141
+ return self.__dict__ == other.__dict__
142
+
143
+ def __ne__(self, other):
144
+ """Returns true if both objects are not equal"""
145
+ return not self == other
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkeihealth
3
- Version: 3.1.94
3
+ Version: 3.1.96
4
4
  Summary: eiHealth
5
5
  Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
6
6
  Author: HuaweiCloud SDK
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
22
22
  Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
- Requires-Dist: huaweicloudsdkcore >=3.1.94
25
+ Requires-Dist: huaweicloudsdkcore >=3.1.96
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).