huaweicloudsdkeihealth 3.1.94__py2.py3-none-any.whl → 3.1.95__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 +145 -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.95.dist-info}/METADATA +2 -2
  57. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.95.dist-info}/RECORD +60 -16
  58. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.95.dist-info}/LICENSE +0 -0
  59. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.95.dist-info}/WHEEL +0 -0
  60. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.95.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,521 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class DrugDatabaseDto:
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
+ 'type': 'str',
23
+ 'status': 'str',
24
+ 'description': 'str',
25
+ 'create_time': 'str',
26
+ 'update_time': 'str',
27
+ 'creator': 'str',
28
+ 'failed_message': 'str',
29
+ 'css_id': 'str',
30
+ 'css_name': 'str',
31
+ 'files': 'list[DetailDatabaseFile]',
32
+ 'columns': 'list[str]',
33
+ 'shareable': 'bool',
34
+ 'data_num': 'int'
35
+ }
36
+
37
+ attribute_map = {
38
+ 'id': 'id',
39
+ 'name': 'name',
40
+ 'type': 'type',
41
+ 'status': 'status',
42
+ 'description': 'description',
43
+ 'create_time': 'create_time',
44
+ 'update_time': 'update_time',
45
+ 'creator': 'creator',
46
+ 'failed_message': 'failed_message',
47
+ 'css_id': 'css_id',
48
+ 'css_name': 'css_name',
49
+ 'files': 'files',
50
+ 'columns': 'columns',
51
+ 'shareable': 'shareable',
52
+ 'data_num': 'data_num'
53
+ }
54
+
55
+ def __init__(self, id=None, name=None, type=None, status=None, description=None, create_time=None, update_time=None, creator=None, failed_message=None, css_id=None, css_name=None, files=None, columns=None, shareable=None, data_num=None):
56
+ """DrugDatabaseDto
57
+
58
+ The model defined in huaweicloud sdk
59
+
60
+ :param id: 数据库id
61
+ :type id: str
62
+ :param name: 数据库名称
63
+ :type name: str
64
+ :param type: 数据库类型
65
+ :type type: str
66
+ :param status: 数据库状态
67
+ :type status: str
68
+ :param description: 数据库描述
69
+ :type description: str
70
+ :param create_time: 数据库创建时间
71
+ :type create_time: str
72
+ :param update_time: 数据库更新时间
73
+ :type update_time: str
74
+ :param creator: 创建数据库的用户名称
75
+ :type creator: str
76
+ :param failed_message: 失败提示,当作业执行失败时会返回
77
+ :type failed_message: str
78
+ :param css_id: css集群id
79
+ :type css_id: str
80
+ :param css_name: css集群名称
81
+ :type css_name: str
82
+ :param files: 数据库文件列表
83
+ :type files: list[:class:`huaweicloudsdkeihealth.v1.DetailDatabaseFile`]
84
+ :param columns: 数据库列名
85
+ :type columns: list[str]
86
+ :param shareable: 是否打开组织共享
87
+ :type shareable: bool
88
+ :param data_num: 分子数量
89
+ :type data_num: int
90
+ """
91
+
92
+
93
+
94
+ self._id = None
95
+ self._name = None
96
+ self._type = None
97
+ self._status = None
98
+ self._description = None
99
+ self._create_time = None
100
+ self._update_time = None
101
+ self._creator = None
102
+ self._failed_message = None
103
+ self._css_id = None
104
+ self._css_name = None
105
+ self._files = None
106
+ self._columns = None
107
+ self._shareable = None
108
+ self._data_num = None
109
+ self.discriminator = None
110
+
111
+ if id is not None:
112
+ self.id = id
113
+ if name is not None:
114
+ self.name = name
115
+ if type is not None:
116
+ self.type = type
117
+ if status is not None:
118
+ self.status = status
119
+ if description is not None:
120
+ self.description = description
121
+ if create_time is not None:
122
+ self.create_time = create_time
123
+ if update_time is not None:
124
+ self.update_time = update_time
125
+ if creator is not None:
126
+ self.creator = creator
127
+ if failed_message is not None:
128
+ self.failed_message = failed_message
129
+ if css_id is not None:
130
+ self.css_id = css_id
131
+ if css_name is not None:
132
+ self.css_name = css_name
133
+ if files is not None:
134
+ self.files = files
135
+ if columns is not None:
136
+ self.columns = columns
137
+ if shareable is not None:
138
+ self.shareable = shareable
139
+ if data_num is not None:
140
+ self.data_num = data_num
141
+
142
+ @property
143
+ def id(self):
144
+ """Gets the id of this DrugDatabaseDto.
145
+
146
+ 数据库id
147
+
148
+ :return: The id of this DrugDatabaseDto.
149
+ :rtype: str
150
+ """
151
+ return self._id
152
+
153
+ @id.setter
154
+ def id(self, id):
155
+ """Sets the id of this DrugDatabaseDto.
156
+
157
+ 数据库id
158
+
159
+ :param id: The id of this DrugDatabaseDto.
160
+ :type id: str
161
+ """
162
+ self._id = id
163
+
164
+ @property
165
+ def name(self):
166
+ """Gets the name of this DrugDatabaseDto.
167
+
168
+ 数据库名称
169
+
170
+ :return: The name of this DrugDatabaseDto.
171
+ :rtype: str
172
+ """
173
+ return self._name
174
+
175
+ @name.setter
176
+ def name(self, name):
177
+ """Sets the name of this DrugDatabaseDto.
178
+
179
+ 数据库名称
180
+
181
+ :param name: The name of this DrugDatabaseDto.
182
+ :type name: str
183
+ """
184
+ self._name = name
185
+
186
+ @property
187
+ def type(self):
188
+ """Gets the type of this DrugDatabaseDto.
189
+
190
+ 数据库类型
191
+
192
+ :return: The type of this DrugDatabaseDto.
193
+ :rtype: str
194
+ """
195
+ return self._type
196
+
197
+ @type.setter
198
+ def type(self, type):
199
+ """Sets the type of this DrugDatabaseDto.
200
+
201
+ 数据库类型
202
+
203
+ :param type: The type of this DrugDatabaseDto.
204
+ :type type: str
205
+ """
206
+ self._type = type
207
+
208
+ @property
209
+ def status(self):
210
+ """Gets the status of this DrugDatabaseDto.
211
+
212
+ 数据库状态
213
+
214
+ :return: The status of this DrugDatabaseDto.
215
+ :rtype: str
216
+ """
217
+ return self._status
218
+
219
+ @status.setter
220
+ def status(self, status):
221
+ """Sets the status of this DrugDatabaseDto.
222
+
223
+ 数据库状态
224
+
225
+ :param status: The status of this DrugDatabaseDto.
226
+ :type status: str
227
+ """
228
+ self._status = status
229
+
230
+ @property
231
+ def description(self):
232
+ """Gets the description of this DrugDatabaseDto.
233
+
234
+ 数据库描述
235
+
236
+ :return: The description of this DrugDatabaseDto.
237
+ :rtype: str
238
+ """
239
+ return self._description
240
+
241
+ @description.setter
242
+ def description(self, description):
243
+ """Sets the description of this DrugDatabaseDto.
244
+
245
+ 数据库描述
246
+
247
+ :param description: The description of this DrugDatabaseDto.
248
+ :type description: str
249
+ """
250
+ self._description = description
251
+
252
+ @property
253
+ def create_time(self):
254
+ """Gets the create_time of this DrugDatabaseDto.
255
+
256
+ 数据库创建时间
257
+
258
+ :return: The create_time of this DrugDatabaseDto.
259
+ :rtype: str
260
+ """
261
+ return self._create_time
262
+
263
+ @create_time.setter
264
+ def create_time(self, create_time):
265
+ """Sets the create_time of this DrugDatabaseDto.
266
+
267
+ 数据库创建时间
268
+
269
+ :param create_time: The create_time of this DrugDatabaseDto.
270
+ :type create_time: str
271
+ """
272
+ self._create_time = create_time
273
+
274
+ @property
275
+ def update_time(self):
276
+ """Gets the update_time of this DrugDatabaseDto.
277
+
278
+ 数据库更新时间
279
+
280
+ :return: The update_time of this DrugDatabaseDto.
281
+ :rtype: str
282
+ """
283
+ return self._update_time
284
+
285
+ @update_time.setter
286
+ def update_time(self, update_time):
287
+ """Sets the update_time of this DrugDatabaseDto.
288
+
289
+ 数据库更新时间
290
+
291
+ :param update_time: The update_time of this DrugDatabaseDto.
292
+ :type update_time: str
293
+ """
294
+ self._update_time = update_time
295
+
296
+ @property
297
+ def creator(self):
298
+ """Gets the creator of this DrugDatabaseDto.
299
+
300
+ 创建数据库的用户名称
301
+
302
+ :return: The creator of this DrugDatabaseDto.
303
+ :rtype: str
304
+ """
305
+ return self._creator
306
+
307
+ @creator.setter
308
+ def creator(self, creator):
309
+ """Sets the creator of this DrugDatabaseDto.
310
+
311
+ 创建数据库的用户名称
312
+
313
+ :param creator: The creator of this DrugDatabaseDto.
314
+ :type creator: str
315
+ """
316
+ self._creator = creator
317
+
318
+ @property
319
+ def failed_message(self):
320
+ """Gets the failed_message of this DrugDatabaseDto.
321
+
322
+ 失败提示,当作业执行失败时会返回
323
+
324
+ :return: The failed_message of this DrugDatabaseDto.
325
+ :rtype: str
326
+ """
327
+ return self._failed_message
328
+
329
+ @failed_message.setter
330
+ def failed_message(self, failed_message):
331
+ """Sets the failed_message of this DrugDatabaseDto.
332
+
333
+ 失败提示,当作业执行失败时会返回
334
+
335
+ :param failed_message: The failed_message of this DrugDatabaseDto.
336
+ :type failed_message: str
337
+ """
338
+ self._failed_message = failed_message
339
+
340
+ @property
341
+ def css_id(self):
342
+ """Gets the css_id of this DrugDatabaseDto.
343
+
344
+ css集群id
345
+
346
+ :return: The css_id of this DrugDatabaseDto.
347
+ :rtype: str
348
+ """
349
+ return self._css_id
350
+
351
+ @css_id.setter
352
+ def css_id(self, css_id):
353
+ """Sets the css_id of this DrugDatabaseDto.
354
+
355
+ css集群id
356
+
357
+ :param css_id: The css_id of this DrugDatabaseDto.
358
+ :type css_id: str
359
+ """
360
+ self._css_id = css_id
361
+
362
+ @property
363
+ def css_name(self):
364
+ """Gets the css_name of this DrugDatabaseDto.
365
+
366
+ css集群名称
367
+
368
+ :return: The css_name of this DrugDatabaseDto.
369
+ :rtype: str
370
+ """
371
+ return self._css_name
372
+
373
+ @css_name.setter
374
+ def css_name(self, css_name):
375
+ """Sets the css_name of this DrugDatabaseDto.
376
+
377
+ css集群名称
378
+
379
+ :param css_name: The css_name of this DrugDatabaseDto.
380
+ :type css_name: str
381
+ """
382
+ self._css_name = css_name
383
+
384
+ @property
385
+ def files(self):
386
+ """Gets the files of this DrugDatabaseDto.
387
+
388
+ 数据库文件列表
389
+
390
+ :return: The files of this DrugDatabaseDto.
391
+ :rtype: list[:class:`huaweicloudsdkeihealth.v1.DetailDatabaseFile`]
392
+ """
393
+ return self._files
394
+
395
+ @files.setter
396
+ def files(self, files):
397
+ """Sets the files of this DrugDatabaseDto.
398
+
399
+ 数据库文件列表
400
+
401
+ :param files: The files of this DrugDatabaseDto.
402
+ :type files: list[:class:`huaweicloudsdkeihealth.v1.DetailDatabaseFile`]
403
+ """
404
+ self._files = files
405
+
406
+ @property
407
+ def columns(self):
408
+ """Gets the columns of this DrugDatabaseDto.
409
+
410
+ 数据库列名
411
+
412
+ :return: The columns of this DrugDatabaseDto.
413
+ :rtype: list[str]
414
+ """
415
+ return self._columns
416
+
417
+ @columns.setter
418
+ def columns(self, columns):
419
+ """Sets the columns of this DrugDatabaseDto.
420
+
421
+ 数据库列名
422
+
423
+ :param columns: The columns of this DrugDatabaseDto.
424
+ :type columns: list[str]
425
+ """
426
+ self._columns = columns
427
+
428
+ @property
429
+ def shareable(self):
430
+ """Gets the shareable of this DrugDatabaseDto.
431
+
432
+ 是否打开组织共享
433
+
434
+ :return: The shareable of this DrugDatabaseDto.
435
+ :rtype: bool
436
+ """
437
+ return self._shareable
438
+
439
+ @shareable.setter
440
+ def shareable(self, shareable):
441
+ """Sets the shareable of this DrugDatabaseDto.
442
+
443
+ 是否打开组织共享
444
+
445
+ :param shareable: The shareable of this DrugDatabaseDto.
446
+ :type shareable: bool
447
+ """
448
+ self._shareable = shareable
449
+
450
+ @property
451
+ def data_num(self):
452
+ """Gets the data_num of this DrugDatabaseDto.
453
+
454
+ 分子数量
455
+
456
+ :return: The data_num of this DrugDatabaseDto.
457
+ :rtype: int
458
+ """
459
+ return self._data_num
460
+
461
+ @data_num.setter
462
+ def data_num(self, data_num):
463
+ """Sets the data_num of this DrugDatabaseDto.
464
+
465
+ 分子数量
466
+
467
+ :param data_num: The data_num of this DrugDatabaseDto.
468
+ :type data_num: int
469
+ """
470
+ self._data_num = data_num
471
+
472
+ def to_dict(self):
473
+ """Returns the model properties as a dict"""
474
+ result = {}
475
+
476
+ for attr, _ in six.iteritems(self.openapi_types):
477
+ value = getattr(self, attr)
478
+ if isinstance(value, list):
479
+ result[attr] = list(map(
480
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
481
+ value
482
+ ))
483
+ elif hasattr(value, "to_dict"):
484
+ result[attr] = value.to_dict()
485
+ elif isinstance(value, dict):
486
+ result[attr] = dict(map(
487
+ lambda item: (item[0], item[1].to_dict())
488
+ if hasattr(item[1], "to_dict") else item,
489
+ value.items()
490
+ ))
491
+ else:
492
+ if attr in self.sensitive_list:
493
+ result[attr] = "****"
494
+ else:
495
+ result[attr] = value
496
+
497
+ return result
498
+
499
+ def to_str(self):
500
+ """Returns the string representation of the model"""
501
+ import simplejson as json
502
+ if six.PY2:
503
+ import sys
504
+ reload(sys)
505
+ sys.setdefaultencoding("utf-8")
506
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
507
+
508
+ def __repr__(self):
509
+ """For `print`"""
510
+ return self.to_str()
511
+
512
+ def __eq__(self, other):
513
+ """Returns true if both objects are equal"""
514
+ if not isinstance(other, DrugDatabaseDto):
515
+ return False
516
+
517
+ return self.__dict__ == other.__dict__
518
+
519
+ def __ne__(self, other):
520
+ """Returns true if both objects are not equal"""
521
+ return not self == other
@@ -18,17 +18,15 @@ class GetArchiveConfigRsp:
18
18
 
19
19
  openapi_types = {
20
20
  'region_id': 'str',
21
- 'current_region': 'bool',
22
- 'bucket_name': 'str'
21
+ 'current_region': 'bool'
23
22
  }
24
23
 
25
24
  attribute_map = {
26
25
  'region_id': 'region_id',
27
- 'current_region': 'current_region',
28
- 'bucket_name': 'bucket_name'
26
+ 'current_region': 'current_region'
29
27
  }
30
28
 
31
- def __init__(self, region_id=None, current_region=None, bucket_name=None):
29
+ def __init__(self, region_id=None, current_region=None):
32
30
  """GetArchiveConfigRsp
33
31
 
34
32
  The model defined in huaweicloud sdk
@@ -37,23 +35,18 @@ class GetArchiveConfigRsp:
37
35
  :type region_id: str
38
36
  :param current_region: 该区域是否是当前设置的归档区域
39
37
  :type current_region: bool
40
- :param bucket_name: 归档桶名称
41
- :type bucket_name: str
42
38
  """
43
39
 
44
40
 
45
41
 
46
42
  self._region_id = None
47
43
  self._current_region = None
48
- self._bucket_name = None
49
44
  self.discriminator = None
50
45
 
51
46
  if region_id is not None:
52
47
  self.region_id = region_id
53
48
  if current_region is not None:
54
49
  self.current_region = current_region
55
- if bucket_name is not None:
56
- self.bucket_name = bucket_name
57
50
 
58
51
  @property
59
52
  def region_id(self):
@@ -99,28 +92,6 @@ class GetArchiveConfigRsp:
99
92
  """
100
93
  self._current_region = current_region
101
94
 
102
- @property
103
- def bucket_name(self):
104
- """Gets the bucket_name of this GetArchiveConfigRsp.
105
-
106
- 归档桶名称
107
-
108
- :return: The bucket_name of this GetArchiveConfigRsp.
109
- :rtype: str
110
- """
111
- return self._bucket_name
112
-
113
- @bucket_name.setter
114
- def bucket_name(self, bucket_name):
115
- """Sets the bucket_name of this GetArchiveConfigRsp.
116
-
117
- 归档桶名称
118
-
119
- :param bucket_name: The bucket_name of this GetArchiveConfigRsp.
120
- :type bucket_name: str
121
- """
122
- self._bucket_name = bucket_name
123
-
124
95
  def to_dict(self):
125
96
  """Returns the model properties as a dict"""
126
97
  result = {}