huaweicloudsdkeihealth 3.1.86__py2.py3-none-any.whl → 3.1.132__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 (134) hide show
  1. huaweicloudsdkeihealth/v1/__init__.py +100 -0
  2. huaweicloudsdkeihealth/v1/eihealth_async_client.py +5335 -3295
  3. huaweicloudsdkeihealth/v1/eihealth_client.py +5335 -3295
  4. huaweicloudsdkeihealth/v1/model/__init__.py +100 -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/base_model.py +142 -0
  9. huaweicloudsdkeihealth/v1/model/base_model_dto.py +202 -0
  10. huaweicloudsdkeihealth/v1/model/bind_site_dto.py +30 -1
  11. huaweicloudsdkeihealth/v1/model/bound_box_dto.py +171 -0
  12. huaweicloudsdkeihealth/v1/model/clustering_drug_file.py +197 -0
  13. huaweicloudsdkeihealth/v1/model/clustering_file_source.py +89 -0
  14. huaweicloudsdkeihealth/v1/model/convert_file.py +197 -0
  15. huaweicloudsdkeihealth/v1/model/cpi_receptor.py +226 -0
  16. huaweicloudsdkeihealth/v1/model/create_admet_job_req.py +61 -3
  17. huaweicloudsdkeihealth/v1/model/create_clustering_job_req.py +134 -0
  18. huaweicloudsdkeihealth/v1/model/create_clustering_job_request.py +139 -0
  19. huaweicloudsdkeihealth/v1/model/create_clustering_job_response.py +145 -0
  20. huaweicloudsdkeihealth/v1/model/create_cpi_job_req.py +166 -0
  21. huaweicloudsdkeihealth/v1/model/create_cpi_job_request.py +139 -0
  22. huaweicloudsdkeihealth/v1/model/create_cpi_job_response.py +145 -0
  23. huaweicloudsdkeihealth/v1/model/create_css_cluster_req.py +170 -0
  24. huaweicloudsdkeihealth/v1/model/create_css_cluster_request.py +111 -0
  25. huaweicloudsdkeihealth/v1/model/create_css_cluster_response.py +116 -0
  26. huaweicloudsdkeihealth/v1/model/create_database_req2.py +252 -0
  27. huaweicloudsdkeihealth/v1/model/create_dock_job_req.py +32 -3
  28. huaweicloudsdkeihealth/v1/model/create_drug_database_request.py +111 -0
  29. huaweicloudsdkeihealth/v1/model/create_drug_database_response.py +116 -0
  30. huaweicloudsdkeihealth/v1/model/create_drug_ligand_interaction2d_svg_req.py +32 -3
  31. huaweicloudsdkeihealth/v1/model/create_favorite_req.py +254 -0
  32. huaweicloudsdkeihealth/v1/model/create_favorite_request.py +139 -0
  33. huaweicloudsdkeihealth/v1/model/create_favorite_response.py +116 -0
  34. huaweicloudsdkeihealth/v1/model/create_fep_job_req.py +30 -1
  35. huaweicloudsdkeihealth/v1/model/create_gen_job_req.py +338 -0
  36. huaweicloudsdkeihealth/v1/model/create_gen_job_request.py +139 -0
  37. huaweicloudsdkeihealth/v1/model/create_gen_job_response.py +145 -0
  38. huaweicloudsdkeihealth/v1/model/create_ligand_preview_task_req.py +32 -3
  39. huaweicloudsdkeihealth/v1/model/create_model_req.py +32 -3
  40. huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_req.py +198 -0
  41. huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_request.py +139 -0
  42. huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_response.py +116 -0
  43. huaweicloudsdkeihealth/v1/model/create_mol_docking_job_req.py +163 -0
  44. huaweicloudsdkeihealth/v1/model/create_mol_docking_job_request.py +139 -0
  45. huaweicloudsdkeihealth/v1/model/create_mol_docking_job_response.py +145 -0
  46. huaweicloudsdkeihealth/v1/model/create_optm_job_req.py +59 -1
  47. huaweicloudsdkeihealth/v1/model/create_search_job_req.py +308 -0
  48. huaweicloudsdkeihealth/v1/model/create_search_job_request.py +139 -0
  49. huaweicloudsdkeihealth/v1/model/create_search_job_response.py +145 -0
  50. huaweicloudsdkeihealth/v1/model/create_target_opt_job_req.py +184 -0
  51. huaweicloudsdkeihealth/v1/model/create_target_opt_job_request.py +139 -0
  52. huaweicloudsdkeihealth/v1/model/create_target_opt_job_response.py +145 -0
  53. huaweicloudsdkeihealth/v1/model/css_cluster_dto.py +202 -0
  54. huaweicloudsdkeihealth/v1/model/database_file.py +167 -0
  55. huaweicloudsdkeihealth/v1/model/database_file_source.py +88 -0
  56. huaweicloudsdkeihealth/v1/model/delete_css_cluster_request.py +114 -0
  57. huaweicloudsdkeihealth/v1/model/delete_css_cluster_response.py +85 -0
  58. huaweicloudsdkeihealth/v1/model/delete_drug_database_request.py +114 -0
  59. huaweicloudsdkeihealth/v1/model/delete_drug_database_response.py +85 -0
  60. huaweicloudsdkeihealth/v1/model/delete_favorite_request.py +142 -0
  61. huaweicloudsdkeihealth/v1/model/delete_favorite_response.py +85 -0
  62. huaweicloudsdkeihealth/v1/model/detail_database_file.py +225 -0
  63. huaweicloudsdkeihealth/v1/model/download_data_req.py +61 -3
  64. huaweicloudsdkeihealth/v1/model/drug_database_dto.py +521 -0
  65. huaweicloudsdkeihealth/v1/model/fasta_receptor.py +197 -0
  66. huaweicloudsdkeihealth/v1/model/favorite_dto.py +376 -0
  67. huaweicloudsdkeihealth/v1/model/get_archive_config_rsp.py +3 -32
  68. huaweicloudsdkeihealth/v1/model/interaction.py +166 -0
  69. huaweicloudsdkeihealth/v1/model/interaction_constraint_dto.py +167 -0
  70. huaweicloudsdkeihealth/v1/model/interaction_type.py +91 -0
  71. huaweicloudsdkeihealth/v1/model/job_result.py +32 -3
  72. huaweicloudsdkeihealth/v1/model/list_base_model_request.py +202 -0
  73. huaweicloudsdkeihealth/v1/model/list_base_model_response.py +145 -0
  74. huaweicloudsdkeihealth/v1/model/list_css_cluster_request.py +144 -0
  75. huaweicloudsdkeihealth/v1/model/list_css_cluster_response.py +145 -0
  76. huaweicloudsdkeihealth/v1/model/list_drug_database_request.py +260 -0
  77. huaweicloudsdkeihealth/v1/model/list_drug_database_response.py +174 -0
  78. huaweicloudsdkeihealth/v1/model/list_drug_model_request.py +35 -6
  79. huaweicloudsdkeihealth/v1/model/list_favorite_request.py +433 -0
  80. huaweicloudsdkeihealth/v1/model/list_favorite_response.py +145 -0
  81. huaweicloudsdkeihealth/v1/model/list_term_tenant_css_cluster_request.py +144 -0
  82. huaweicloudsdkeihealth/v1/model/list_term_tenant_css_cluster_response.py +145 -0
  83. huaweicloudsdkeihealth/v1/model/md_param.py +169 -0
  84. huaweicloudsdkeihealth/v1/model/md_step_param.py +202 -0
  85. huaweicloudsdkeihealth/v1/model/model_dto.py +61 -3
  86. huaweicloudsdkeihealth/v1/model/optimization_mode.py +1 -0
  87. huaweicloudsdkeihealth/v1/model/pocket_fragment.py +30 -1
  88. huaweicloudsdkeihealth/v1/model/receptor_dto.py +280 -0
  89. huaweicloudsdkeihealth/v1/model/run_fasta_preprocess_req.py +168 -0
  90. huaweicloudsdkeihealth/v1/model/run_fasta_preprocess_request.py +139 -0
  91. huaweicloudsdkeihealth/v1/model/run_fasta_preprocess_response.py +145 -0
  92. huaweicloudsdkeihealth/v1/model/run_format_converter_req.py +166 -0
  93. huaweicloudsdkeihealth/v1/model/run_format_converter_request.py +139 -0
  94. huaweicloudsdkeihealth/v1/model/run_format_converter_response.py +112 -0
  95. huaweicloudsdkeihealth/v1/model/search_type.py +88 -0
  96. huaweicloudsdkeihealth/v1/model/show_admet_job_response.py +57 -3
  97. huaweicloudsdkeihealth/v1/model/show_clustering_job_request.py +142 -0
  98. huaweicloudsdkeihealth/v1/model/show_clustering_job_response.py +191 -0
  99. huaweicloudsdkeihealth/v1/model/show_cpi_job_request.py +142 -0
  100. huaweicloudsdkeihealth/v1/model/show_cpi_job_response.py +170 -0
  101. huaweicloudsdkeihealth/v1/model/show_docking_job_response.py +30 -1
  102. huaweicloudsdkeihealth/v1/model/show_fep_job_response.py +30 -1
  103. huaweicloudsdkeihealth/v1/model/show_gen_job_request.py +142 -0
  104. huaweicloudsdkeihealth/v1/model/show_gen_job_response.py +365 -0
  105. huaweicloudsdkeihealth/v1/model/show_mol_batch_download_task_request.py +142 -0
  106. huaweicloudsdkeihealth/v1/model/show_mol_batch_download_task_response.py +199 -0
  107. huaweicloudsdkeihealth/v1/model/show_optm_job_response.py +55 -1
  108. huaweicloudsdkeihealth/v1/model/show_search_job_request.py +142 -0
  109. huaweicloudsdkeihealth/v1/model/show_search_job_response.py +340 -0
  110. huaweicloudsdkeihealth/v1/model/show_target_opt_job_request.py +142 -0
  111. huaweicloudsdkeihealth/v1/model/show_target_opt_job_response.py +187 -0
  112. huaweicloudsdkeihealth/v1/model/strong_constraint_dto.py +28 -3
  113. huaweicloudsdkeihealth/v1/model/strong_constraint_type.py +1 -0
  114. huaweicloudsdkeihealth/v1/model/target_opt_ligand.py +139 -0
  115. huaweicloudsdkeihealth/v1/model/target_opt_receptor.py +255 -0
  116. huaweicloudsdkeihealth/v1/model/task_progress.py +115 -0
  117. huaweicloudsdkeihealth/v1/model/term_tenant_css_cluster_dto.py +173 -0
  118. huaweicloudsdkeihealth/v1/model/update_drug_database_req.py +114 -0
  119. huaweicloudsdkeihealth/v1/model/update_drug_database_request.py +139 -0
  120. huaweicloudsdkeihealth/v1/model/update_drug_database_response.py +85 -0
  121. huaweicloudsdkeihealth/v1/model/update_drug_job_req.py +115 -0
  122. huaweicloudsdkeihealth/v1/model/update_drug_job_request.py +167 -0
  123. huaweicloudsdkeihealth/v1/model/update_drug_job_response.py +85 -0
  124. huaweicloudsdkeihealth/v1/model/upload_data_request.py +1 -175
  125. huaweicloudsdkeihealth/v1/model/upload_data_request_body.py +177 -3
  126. huaweicloudsdkeihealth/v1/model/validate_css_connection_request.py +111 -0
  127. huaweicloudsdkeihealth/v1/model/validate_css_connection_response.py +145 -0
  128. huaweicloudsdkeihealth/v1/model/weak_constraint_dto.py +28 -3
  129. huaweicloudsdkeihealth/v1/model/weak_constraint_type.py +1 -0
  130. {huaweicloudsdkeihealth-3.1.86.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/METADATA +2 -2
  131. {huaweicloudsdkeihealth-3.1.86.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/RECORD +134 -34
  132. {huaweicloudsdkeihealth-3.1.86.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/WHEEL +1 -1
  133. {huaweicloudsdkeihealth-3.1.86.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/LICENSE +0 -0
  134. {huaweicloudsdkeihealth-3.1.86.dist-info → huaweicloudsdkeihealth-3.1.132.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
@@ -0,0 +1,197 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class FastaReceptor:
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
+ 'source': 'DrugFileSource',
21
+ 'url': 'str',
22
+ 'format': 'str',
23
+ 'data': 'str'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'source': 'source',
28
+ 'url': 'url',
29
+ 'format': 'format',
30
+ 'data': 'data'
31
+ }
32
+
33
+ def __init__(self, source=None, url=None, format=None, data=None):
34
+ """FastaReceptor
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param source:
39
+ :type source: :class:`huaweicloudsdkeihealth.v1.DrugFileSource`
40
+ :param url: 文件URL,当数据源为外部网络数据时为https地址;用户私有数据中心为项目路径、公共数据场景为obs地址
41
+ :type url: str
42
+ :param format: 文件格式,仅支持FASTA,仅数据源为RAW时提供
43
+ :type format: str
44
+ :param data: 文件原始数据,仅数据源为RAW时提供
45
+ :type data: str
46
+ """
47
+
48
+
49
+
50
+ self._source = None
51
+ self._url = None
52
+ self._format = None
53
+ self._data = None
54
+ self.discriminator = None
55
+
56
+ self.source = source
57
+ if url is not None:
58
+ self.url = url
59
+ if format is not None:
60
+ self.format = format
61
+ if data is not None:
62
+ self.data = data
63
+
64
+ @property
65
+ def source(self):
66
+ """Gets the source of this FastaReceptor.
67
+
68
+ :return: The source of this FastaReceptor.
69
+ :rtype: :class:`huaweicloudsdkeihealth.v1.DrugFileSource`
70
+ """
71
+ return self._source
72
+
73
+ @source.setter
74
+ def source(self, source):
75
+ """Sets the source of this FastaReceptor.
76
+
77
+ :param source: The source of this FastaReceptor.
78
+ :type source: :class:`huaweicloudsdkeihealth.v1.DrugFileSource`
79
+ """
80
+ self._source = source
81
+
82
+ @property
83
+ def url(self):
84
+ """Gets the url of this FastaReceptor.
85
+
86
+ 文件URL,当数据源为外部网络数据时为https地址;用户私有数据中心为项目路径、公共数据场景为obs地址
87
+
88
+ :return: The url of this FastaReceptor.
89
+ :rtype: str
90
+ """
91
+ return self._url
92
+
93
+ @url.setter
94
+ def url(self, url):
95
+ """Sets the url of this FastaReceptor.
96
+
97
+ 文件URL,当数据源为外部网络数据时为https地址;用户私有数据中心为项目路径、公共数据场景为obs地址
98
+
99
+ :param url: The url of this FastaReceptor.
100
+ :type url: str
101
+ """
102
+ self._url = url
103
+
104
+ @property
105
+ def format(self):
106
+ """Gets the format of this FastaReceptor.
107
+
108
+ 文件格式,仅支持FASTA,仅数据源为RAW时提供
109
+
110
+ :return: The format of this FastaReceptor.
111
+ :rtype: str
112
+ """
113
+ return self._format
114
+
115
+ @format.setter
116
+ def format(self, format):
117
+ """Sets the format of this FastaReceptor.
118
+
119
+ 文件格式,仅支持FASTA,仅数据源为RAW时提供
120
+
121
+ :param format: The format of this FastaReceptor.
122
+ :type format: str
123
+ """
124
+ self._format = format
125
+
126
+ @property
127
+ def data(self):
128
+ """Gets the data of this FastaReceptor.
129
+
130
+ 文件原始数据,仅数据源为RAW时提供
131
+
132
+ :return: The data of this FastaReceptor.
133
+ :rtype: str
134
+ """
135
+ return self._data
136
+
137
+ @data.setter
138
+ def data(self, data):
139
+ """Sets the data of this FastaReceptor.
140
+
141
+ 文件原始数据,仅数据源为RAW时提供
142
+
143
+ :param data: The data of this FastaReceptor.
144
+ :type data: str
145
+ """
146
+ self._data = data
147
+
148
+ def to_dict(self):
149
+ """Returns the model properties as a dict"""
150
+ result = {}
151
+
152
+ for attr, _ in six.iteritems(self.openapi_types):
153
+ value = getattr(self, attr)
154
+ if isinstance(value, list):
155
+ result[attr] = list(map(
156
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
157
+ value
158
+ ))
159
+ elif hasattr(value, "to_dict"):
160
+ result[attr] = value.to_dict()
161
+ elif isinstance(value, dict):
162
+ result[attr] = dict(map(
163
+ lambda item: (item[0], item[1].to_dict())
164
+ if hasattr(item[1], "to_dict") else item,
165
+ value.items()
166
+ ))
167
+ else:
168
+ if attr in self.sensitive_list:
169
+ result[attr] = "****"
170
+ else:
171
+ result[attr] = value
172
+
173
+ return result
174
+
175
+ def to_str(self):
176
+ """Returns the string representation of the model"""
177
+ import simplejson as json
178
+ if six.PY2:
179
+ import sys
180
+ reload(sys)
181
+ sys.setdefaultencoding("utf-8")
182
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
183
+
184
+ def __repr__(self):
185
+ """For `print`"""
186
+ return self.to_str()
187
+
188
+ def __eq__(self, other):
189
+ """Returns true if both objects are equal"""
190
+ if not isinstance(other, FastaReceptor):
191
+ return False
192
+
193
+ return self.__dict__ == other.__dict__
194
+
195
+ def __ne__(self, other):
196
+ """Returns true if both objects are not equal"""
197
+ return not self == other