huaweicloudsdkeihealth 3.1.85__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.
- huaweicloudsdkeihealth/v1/__init__.py +100 -0
- huaweicloudsdkeihealth/v1/eihealth_async_client.py +5335 -3295
- huaweicloudsdkeihealth/v1/eihealth_client.py +5335 -3295
- huaweicloudsdkeihealth/v1/model/__init__.py +100 -0
- huaweicloudsdkeihealth/v1/model/add_drug_database_file_req.py +139 -0
- huaweicloudsdkeihealth/v1/model/add_drug_database_file_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/add_drug_database_file_response.py +85 -0
- huaweicloudsdkeihealth/v1/model/base_model.py +142 -0
- huaweicloudsdkeihealth/v1/model/base_model_dto.py +202 -0
- huaweicloudsdkeihealth/v1/model/bind_site_dto.py +30 -1
- huaweicloudsdkeihealth/v1/model/bound_box_dto.py +171 -0
- huaweicloudsdkeihealth/v1/model/clustering_drug_file.py +197 -0
- huaweicloudsdkeihealth/v1/model/clustering_file_source.py +89 -0
- huaweicloudsdkeihealth/v1/model/convert_file.py +197 -0
- huaweicloudsdkeihealth/v1/model/cpi_receptor.py +226 -0
- huaweicloudsdkeihealth/v1/model/create_admet_job_req.py +61 -3
- huaweicloudsdkeihealth/v1/model/create_clustering_job_req.py +134 -0
- huaweicloudsdkeihealth/v1/model/create_clustering_job_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/create_clustering_job_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/create_cpi_job_req.py +166 -0
- huaweicloudsdkeihealth/v1/model/create_cpi_job_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/create_cpi_job_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/create_css_cluster_req.py +170 -0
- huaweicloudsdkeihealth/v1/model/create_css_cluster_request.py +111 -0
- huaweicloudsdkeihealth/v1/model/create_css_cluster_response.py +116 -0
- huaweicloudsdkeihealth/v1/model/create_database_req2.py +252 -0
- huaweicloudsdkeihealth/v1/model/create_dock_job_req.py +32 -3
- huaweicloudsdkeihealth/v1/model/create_drug_database_request.py +111 -0
- huaweicloudsdkeihealth/v1/model/create_drug_database_response.py +116 -0
- huaweicloudsdkeihealth/v1/model/create_drug_ligand_interaction2d_svg_req.py +32 -3
- huaweicloudsdkeihealth/v1/model/create_favorite_req.py +254 -0
- huaweicloudsdkeihealth/v1/model/create_favorite_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/create_favorite_response.py +116 -0
- huaweicloudsdkeihealth/v1/model/create_fep_job_req.py +30 -1
- huaweicloudsdkeihealth/v1/model/create_gen_job_req.py +338 -0
- huaweicloudsdkeihealth/v1/model/create_gen_job_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/create_gen_job_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/create_ligand_preview_task_req.py +32 -3
- huaweicloudsdkeihealth/v1/model/create_model_req.py +32 -3
- huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_req.py +198 -0
- huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_response.py +116 -0
- huaweicloudsdkeihealth/v1/model/create_mol_docking_job_req.py +163 -0
- huaweicloudsdkeihealth/v1/model/create_mol_docking_job_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/create_mol_docking_job_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/create_optm_job_req.py +59 -1
- huaweicloudsdkeihealth/v1/model/create_search_job_req.py +308 -0
- huaweicloudsdkeihealth/v1/model/create_search_job_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/create_search_job_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/create_target_opt_job_req.py +184 -0
- huaweicloudsdkeihealth/v1/model/create_target_opt_job_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/create_target_opt_job_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/css_cluster_dto.py +202 -0
- huaweicloudsdkeihealth/v1/model/database_file.py +167 -0
- huaweicloudsdkeihealth/v1/model/database_file_source.py +88 -0
- huaweicloudsdkeihealth/v1/model/delete_css_cluster_request.py +114 -0
- huaweicloudsdkeihealth/v1/model/delete_css_cluster_response.py +85 -0
- huaweicloudsdkeihealth/v1/model/delete_drug_database_request.py +114 -0
- huaweicloudsdkeihealth/v1/model/delete_drug_database_response.py +85 -0
- huaweicloudsdkeihealth/v1/model/delete_favorite_request.py +142 -0
- huaweicloudsdkeihealth/v1/model/delete_favorite_response.py +85 -0
- huaweicloudsdkeihealth/v1/model/detail_database_file.py +225 -0
- huaweicloudsdkeihealth/v1/model/download_data_req.py +61 -3
- huaweicloudsdkeihealth/v1/model/drug_database_dto.py +521 -0
- huaweicloudsdkeihealth/v1/model/fasta_receptor.py +197 -0
- huaweicloudsdkeihealth/v1/model/favorite_dto.py +376 -0
- huaweicloudsdkeihealth/v1/model/get_archive_config_rsp.py +3 -32
- huaweicloudsdkeihealth/v1/model/interaction.py +166 -0
- huaweicloudsdkeihealth/v1/model/interaction_constraint_dto.py +167 -0
- huaweicloudsdkeihealth/v1/model/interaction_type.py +91 -0
- huaweicloudsdkeihealth/v1/model/job_result.py +32 -3
- huaweicloudsdkeihealth/v1/model/list_base_model_request.py +202 -0
- huaweicloudsdkeihealth/v1/model/list_base_model_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_css_cluster_request.py +144 -0
- huaweicloudsdkeihealth/v1/model/list_css_cluster_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_drug_database_request.py +260 -0
- huaweicloudsdkeihealth/v1/model/list_drug_database_response.py +174 -0
- huaweicloudsdkeihealth/v1/model/list_drug_model_request.py +35 -6
- huaweicloudsdkeihealth/v1/model/list_favorite_request.py +433 -0
- huaweicloudsdkeihealth/v1/model/list_favorite_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_term_tenant_css_cluster_request.py +144 -0
- huaweicloudsdkeihealth/v1/model/list_term_tenant_css_cluster_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/md_param.py +169 -0
- huaweicloudsdkeihealth/v1/model/md_step_param.py +202 -0
- huaweicloudsdkeihealth/v1/model/model_dto.py +61 -3
- huaweicloudsdkeihealth/v1/model/optimization_mode.py +1 -0
- huaweicloudsdkeihealth/v1/model/pocket_fragment.py +30 -1
- huaweicloudsdkeihealth/v1/model/receptor_dto.py +280 -0
- huaweicloudsdkeihealth/v1/model/run_fasta_preprocess_req.py +168 -0
- huaweicloudsdkeihealth/v1/model/run_fasta_preprocess_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/run_fasta_preprocess_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/run_format_converter_req.py +166 -0
- huaweicloudsdkeihealth/v1/model/run_format_converter_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/run_format_converter_response.py +112 -0
- huaweicloudsdkeihealth/v1/model/search_type.py +88 -0
- huaweicloudsdkeihealth/v1/model/show_admet_job_response.py +57 -3
- huaweicloudsdkeihealth/v1/model/show_clustering_job_request.py +142 -0
- huaweicloudsdkeihealth/v1/model/show_clustering_job_response.py +191 -0
- huaweicloudsdkeihealth/v1/model/show_cpi_job_request.py +142 -0
- huaweicloudsdkeihealth/v1/model/show_cpi_job_response.py +170 -0
- huaweicloudsdkeihealth/v1/model/show_docking_job_response.py +30 -1
- huaweicloudsdkeihealth/v1/model/show_fep_job_response.py +30 -1
- huaweicloudsdkeihealth/v1/model/show_gen_job_request.py +142 -0
- huaweicloudsdkeihealth/v1/model/show_gen_job_response.py +365 -0
- huaweicloudsdkeihealth/v1/model/show_mol_batch_download_task_request.py +142 -0
- huaweicloudsdkeihealth/v1/model/show_mol_batch_download_task_response.py +199 -0
- huaweicloudsdkeihealth/v1/model/show_optm_job_response.py +55 -1
- huaweicloudsdkeihealth/v1/model/show_search_job_request.py +142 -0
- huaweicloudsdkeihealth/v1/model/show_search_job_response.py +340 -0
- huaweicloudsdkeihealth/v1/model/show_target_opt_job_request.py +142 -0
- huaweicloudsdkeihealth/v1/model/show_target_opt_job_response.py +187 -0
- huaweicloudsdkeihealth/v1/model/strong_constraint_dto.py +28 -3
- huaweicloudsdkeihealth/v1/model/strong_constraint_type.py +1 -0
- huaweicloudsdkeihealth/v1/model/target_opt_ligand.py +139 -0
- huaweicloudsdkeihealth/v1/model/target_opt_receptor.py +255 -0
- huaweicloudsdkeihealth/v1/model/task_progress.py +115 -0
- huaweicloudsdkeihealth/v1/model/term_tenant_css_cluster_dto.py +173 -0
- huaweicloudsdkeihealth/v1/model/update_drug_database_req.py +114 -0
- huaweicloudsdkeihealth/v1/model/update_drug_database_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/update_drug_database_response.py +85 -0
- huaweicloudsdkeihealth/v1/model/update_drug_job_req.py +115 -0
- huaweicloudsdkeihealth/v1/model/update_drug_job_request.py +167 -0
- huaweicloudsdkeihealth/v1/model/update_drug_job_response.py +85 -0
- huaweicloudsdkeihealth/v1/model/upload_data_request.py +1 -175
- huaweicloudsdkeihealth/v1/model/upload_data_request_body.py +177 -3
- huaweicloudsdkeihealth/v1/model/validate_css_connection_request.py +111 -0
- huaweicloudsdkeihealth/v1/model/validate_css_connection_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/weak_constraint_dto.py +28 -3
- huaweicloudsdkeihealth/v1/model/weak_constraint_type.py +1 -0
- {huaweicloudsdkeihealth-3.1.85.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkeihealth-3.1.85.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/RECORD +134 -34
- {huaweicloudsdkeihealth-3.1.85.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkeihealth-3.1.85.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkeihealth-3.1.85.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,340 @@
|
|
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 ShowSearchJobResponse(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
|
+
'basic_info': 'DrugJobDto',
|
22
|
+
'smiles': 'str',
|
23
|
+
'scaffold': 'str',
|
24
|
+
'top_n': 'int',
|
25
|
+
'databases': 'list[str]',
|
26
|
+
'custom_databases': 'list[str]',
|
27
|
+
'models': 'list[BasicDrugModel]',
|
28
|
+
'search_method': 'SearchType',
|
29
|
+
'part_failed_reason': 'list[FailedReasonRecord]'
|
30
|
+
}
|
31
|
+
|
32
|
+
attribute_map = {
|
33
|
+
'basic_info': 'basic_info',
|
34
|
+
'smiles': 'smiles',
|
35
|
+
'scaffold': 'scaffold',
|
36
|
+
'top_n': 'top_n',
|
37
|
+
'databases': 'databases',
|
38
|
+
'custom_databases': 'custom_databases',
|
39
|
+
'models': 'models',
|
40
|
+
'search_method': 'search_method',
|
41
|
+
'part_failed_reason': 'part_failed_reason'
|
42
|
+
}
|
43
|
+
|
44
|
+
def __init__(self, basic_info=None, smiles=None, scaffold=None, top_n=None, databases=None, custom_databases=None, models=None, search_method=None, part_failed_reason=None):
|
45
|
+
"""ShowSearchJobResponse
|
46
|
+
|
47
|
+
The model defined in huaweicloud sdk
|
48
|
+
|
49
|
+
:param basic_info:
|
50
|
+
:type basic_info: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
|
51
|
+
:param smiles: 分子SMILES表达式
|
52
|
+
:type smiles: str
|
53
|
+
:param scaffold: 分子骨架表达式
|
54
|
+
:type scaffold: str
|
55
|
+
:param top_n: 生成分子数量
|
56
|
+
:type top_n: int
|
57
|
+
:param databases: 可供搜索分子的公共数据库名称列表
|
58
|
+
:type databases: list[str]
|
59
|
+
:param custom_databases: 可供搜索分子的自定义数据库名称列表
|
60
|
+
:type custom_databases: list[str]
|
61
|
+
:param models: 模型信息
|
62
|
+
:type models: list[:class:`huaweicloudsdkeihealth.v1.BasicDrugModel`]
|
63
|
+
:param search_method:
|
64
|
+
:type search_method: :class:`huaweicloudsdkeihealth.v1.SearchType`
|
65
|
+
:param part_failed_reason: 部分失败原因和数量
|
66
|
+
:type part_failed_reason: list[:class:`huaweicloudsdkeihealth.v1.FailedReasonRecord`]
|
67
|
+
"""
|
68
|
+
|
69
|
+
super(ShowSearchJobResponse, self).__init__()
|
70
|
+
|
71
|
+
self._basic_info = None
|
72
|
+
self._smiles = None
|
73
|
+
self._scaffold = None
|
74
|
+
self._top_n = None
|
75
|
+
self._databases = None
|
76
|
+
self._custom_databases = None
|
77
|
+
self._models = None
|
78
|
+
self._search_method = None
|
79
|
+
self._part_failed_reason = None
|
80
|
+
self.discriminator = None
|
81
|
+
|
82
|
+
if basic_info is not None:
|
83
|
+
self.basic_info = basic_info
|
84
|
+
if smiles is not None:
|
85
|
+
self.smiles = smiles
|
86
|
+
if scaffold is not None:
|
87
|
+
self.scaffold = scaffold
|
88
|
+
if top_n is not None:
|
89
|
+
self.top_n = top_n
|
90
|
+
if databases is not None:
|
91
|
+
self.databases = databases
|
92
|
+
if custom_databases is not None:
|
93
|
+
self.custom_databases = custom_databases
|
94
|
+
if models is not None:
|
95
|
+
self.models = models
|
96
|
+
if search_method is not None:
|
97
|
+
self.search_method = search_method
|
98
|
+
if part_failed_reason is not None:
|
99
|
+
self.part_failed_reason = part_failed_reason
|
100
|
+
|
101
|
+
@property
|
102
|
+
def basic_info(self):
|
103
|
+
"""Gets the basic_info of this ShowSearchJobResponse.
|
104
|
+
|
105
|
+
:return: The basic_info of this ShowSearchJobResponse.
|
106
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
|
107
|
+
"""
|
108
|
+
return self._basic_info
|
109
|
+
|
110
|
+
@basic_info.setter
|
111
|
+
def basic_info(self, basic_info):
|
112
|
+
"""Sets the basic_info of this ShowSearchJobResponse.
|
113
|
+
|
114
|
+
:param basic_info: The basic_info of this ShowSearchJobResponse.
|
115
|
+
:type basic_info: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
|
116
|
+
"""
|
117
|
+
self._basic_info = basic_info
|
118
|
+
|
119
|
+
@property
|
120
|
+
def smiles(self):
|
121
|
+
"""Gets the smiles of this ShowSearchJobResponse.
|
122
|
+
|
123
|
+
分子SMILES表达式
|
124
|
+
|
125
|
+
:return: The smiles of this ShowSearchJobResponse.
|
126
|
+
:rtype: str
|
127
|
+
"""
|
128
|
+
return self._smiles
|
129
|
+
|
130
|
+
@smiles.setter
|
131
|
+
def smiles(self, smiles):
|
132
|
+
"""Sets the smiles of this ShowSearchJobResponse.
|
133
|
+
|
134
|
+
分子SMILES表达式
|
135
|
+
|
136
|
+
:param smiles: The smiles of this ShowSearchJobResponse.
|
137
|
+
:type smiles: str
|
138
|
+
"""
|
139
|
+
self._smiles = smiles
|
140
|
+
|
141
|
+
@property
|
142
|
+
def scaffold(self):
|
143
|
+
"""Gets the scaffold of this ShowSearchJobResponse.
|
144
|
+
|
145
|
+
分子骨架表达式
|
146
|
+
|
147
|
+
:return: The scaffold of this ShowSearchJobResponse.
|
148
|
+
:rtype: str
|
149
|
+
"""
|
150
|
+
return self._scaffold
|
151
|
+
|
152
|
+
@scaffold.setter
|
153
|
+
def scaffold(self, scaffold):
|
154
|
+
"""Sets the scaffold of this ShowSearchJobResponse.
|
155
|
+
|
156
|
+
分子骨架表达式
|
157
|
+
|
158
|
+
:param scaffold: The scaffold of this ShowSearchJobResponse.
|
159
|
+
:type scaffold: str
|
160
|
+
"""
|
161
|
+
self._scaffold = scaffold
|
162
|
+
|
163
|
+
@property
|
164
|
+
def top_n(self):
|
165
|
+
"""Gets the top_n of this ShowSearchJobResponse.
|
166
|
+
|
167
|
+
生成分子数量
|
168
|
+
|
169
|
+
:return: The top_n of this ShowSearchJobResponse.
|
170
|
+
:rtype: int
|
171
|
+
"""
|
172
|
+
return self._top_n
|
173
|
+
|
174
|
+
@top_n.setter
|
175
|
+
def top_n(self, top_n):
|
176
|
+
"""Sets the top_n of this ShowSearchJobResponse.
|
177
|
+
|
178
|
+
生成分子数量
|
179
|
+
|
180
|
+
:param top_n: The top_n of this ShowSearchJobResponse.
|
181
|
+
:type top_n: int
|
182
|
+
"""
|
183
|
+
self._top_n = top_n
|
184
|
+
|
185
|
+
@property
|
186
|
+
def databases(self):
|
187
|
+
"""Gets the databases of this ShowSearchJobResponse.
|
188
|
+
|
189
|
+
可供搜索分子的公共数据库名称列表
|
190
|
+
|
191
|
+
:return: The databases of this ShowSearchJobResponse.
|
192
|
+
:rtype: list[str]
|
193
|
+
"""
|
194
|
+
return self._databases
|
195
|
+
|
196
|
+
@databases.setter
|
197
|
+
def databases(self, databases):
|
198
|
+
"""Sets the databases of this ShowSearchJobResponse.
|
199
|
+
|
200
|
+
可供搜索分子的公共数据库名称列表
|
201
|
+
|
202
|
+
:param databases: The databases of this ShowSearchJobResponse.
|
203
|
+
:type databases: list[str]
|
204
|
+
"""
|
205
|
+
self._databases = databases
|
206
|
+
|
207
|
+
@property
|
208
|
+
def custom_databases(self):
|
209
|
+
"""Gets the custom_databases of this ShowSearchJobResponse.
|
210
|
+
|
211
|
+
可供搜索分子的自定义数据库名称列表
|
212
|
+
|
213
|
+
:return: The custom_databases of this ShowSearchJobResponse.
|
214
|
+
:rtype: list[str]
|
215
|
+
"""
|
216
|
+
return self._custom_databases
|
217
|
+
|
218
|
+
@custom_databases.setter
|
219
|
+
def custom_databases(self, custom_databases):
|
220
|
+
"""Sets the custom_databases of this ShowSearchJobResponse.
|
221
|
+
|
222
|
+
可供搜索分子的自定义数据库名称列表
|
223
|
+
|
224
|
+
:param custom_databases: The custom_databases of this ShowSearchJobResponse.
|
225
|
+
:type custom_databases: list[str]
|
226
|
+
"""
|
227
|
+
self._custom_databases = custom_databases
|
228
|
+
|
229
|
+
@property
|
230
|
+
def models(self):
|
231
|
+
"""Gets the models of this ShowSearchJobResponse.
|
232
|
+
|
233
|
+
模型信息
|
234
|
+
|
235
|
+
:return: The models of this ShowSearchJobResponse.
|
236
|
+
:rtype: list[:class:`huaweicloudsdkeihealth.v1.BasicDrugModel`]
|
237
|
+
"""
|
238
|
+
return self._models
|
239
|
+
|
240
|
+
@models.setter
|
241
|
+
def models(self, models):
|
242
|
+
"""Sets the models of this ShowSearchJobResponse.
|
243
|
+
|
244
|
+
模型信息
|
245
|
+
|
246
|
+
:param models: The models of this ShowSearchJobResponse.
|
247
|
+
:type models: list[:class:`huaweicloudsdkeihealth.v1.BasicDrugModel`]
|
248
|
+
"""
|
249
|
+
self._models = models
|
250
|
+
|
251
|
+
@property
|
252
|
+
def search_method(self):
|
253
|
+
"""Gets the search_method of this ShowSearchJobResponse.
|
254
|
+
|
255
|
+
:return: The search_method of this ShowSearchJobResponse.
|
256
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.SearchType`
|
257
|
+
"""
|
258
|
+
return self._search_method
|
259
|
+
|
260
|
+
@search_method.setter
|
261
|
+
def search_method(self, search_method):
|
262
|
+
"""Sets the search_method of this ShowSearchJobResponse.
|
263
|
+
|
264
|
+
:param search_method: The search_method of this ShowSearchJobResponse.
|
265
|
+
:type search_method: :class:`huaweicloudsdkeihealth.v1.SearchType`
|
266
|
+
"""
|
267
|
+
self._search_method = search_method
|
268
|
+
|
269
|
+
@property
|
270
|
+
def part_failed_reason(self):
|
271
|
+
"""Gets the part_failed_reason of this ShowSearchJobResponse.
|
272
|
+
|
273
|
+
部分失败原因和数量
|
274
|
+
|
275
|
+
:return: The part_failed_reason of this ShowSearchJobResponse.
|
276
|
+
:rtype: list[:class:`huaweicloudsdkeihealth.v1.FailedReasonRecord`]
|
277
|
+
"""
|
278
|
+
return self._part_failed_reason
|
279
|
+
|
280
|
+
@part_failed_reason.setter
|
281
|
+
def part_failed_reason(self, part_failed_reason):
|
282
|
+
"""Sets the part_failed_reason of this ShowSearchJobResponse.
|
283
|
+
|
284
|
+
部分失败原因和数量
|
285
|
+
|
286
|
+
:param part_failed_reason: The part_failed_reason of this ShowSearchJobResponse.
|
287
|
+
:type part_failed_reason: list[:class:`huaweicloudsdkeihealth.v1.FailedReasonRecord`]
|
288
|
+
"""
|
289
|
+
self._part_failed_reason = part_failed_reason
|
290
|
+
|
291
|
+
def to_dict(self):
|
292
|
+
"""Returns the model properties as a dict"""
|
293
|
+
result = {}
|
294
|
+
|
295
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
296
|
+
value = getattr(self, attr)
|
297
|
+
if isinstance(value, list):
|
298
|
+
result[attr] = list(map(
|
299
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
300
|
+
value
|
301
|
+
))
|
302
|
+
elif hasattr(value, "to_dict"):
|
303
|
+
result[attr] = value.to_dict()
|
304
|
+
elif isinstance(value, dict):
|
305
|
+
result[attr] = dict(map(
|
306
|
+
lambda item: (item[0], item[1].to_dict())
|
307
|
+
if hasattr(item[1], "to_dict") else item,
|
308
|
+
value.items()
|
309
|
+
))
|
310
|
+
else:
|
311
|
+
if attr in self.sensitive_list:
|
312
|
+
result[attr] = "****"
|
313
|
+
else:
|
314
|
+
result[attr] = value
|
315
|
+
|
316
|
+
return result
|
317
|
+
|
318
|
+
def to_str(self):
|
319
|
+
"""Returns the string representation of the model"""
|
320
|
+
import simplejson as json
|
321
|
+
if six.PY2:
|
322
|
+
import sys
|
323
|
+
reload(sys)
|
324
|
+
sys.setdefaultencoding("utf-8")
|
325
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
326
|
+
|
327
|
+
def __repr__(self):
|
328
|
+
"""For `print`"""
|
329
|
+
return self.to_str()
|
330
|
+
|
331
|
+
def __eq__(self, other):
|
332
|
+
"""Returns true if both objects are equal"""
|
333
|
+
if not isinstance(other, ShowSearchJobResponse):
|
334
|
+
return False
|
335
|
+
|
336
|
+
return self.__dict__ == other.__dict__
|
337
|
+
|
338
|
+
def __ne__(self, other):
|
339
|
+
"""Returns true if both objects are not equal"""
|
340
|
+
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 ShowTargetOptJobRequest:
|
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
|
+
'eihealth_project_id': 'str',
|
21
|
+
'job_id': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'eihealth_project_id': 'eihealth_project_id',
|
26
|
+
'job_id': 'job_id'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, eihealth_project_id=None, job_id=None):
|
30
|
+
"""ShowTargetOptJobRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param eihealth_project_id: 平台项目ID。
|
35
|
+
:type eihealth_project_id: str
|
36
|
+
:param job_id: 作业id
|
37
|
+
:type job_id: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._eihealth_project_id = None
|
43
|
+
self._job_id = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.eihealth_project_id = eihealth_project_id
|
47
|
+
self.job_id = job_id
|
48
|
+
|
49
|
+
@property
|
50
|
+
def eihealth_project_id(self):
|
51
|
+
"""Gets the eihealth_project_id of this ShowTargetOptJobRequest.
|
52
|
+
|
53
|
+
平台项目ID。
|
54
|
+
|
55
|
+
:return: The eihealth_project_id of this ShowTargetOptJobRequest.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._eihealth_project_id
|
59
|
+
|
60
|
+
@eihealth_project_id.setter
|
61
|
+
def eihealth_project_id(self, eihealth_project_id):
|
62
|
+
"""Sets the eihealth_project_id of this ShowTargetOptJobRequest.
|
63
|
+
|
64
|
+
平台项目ID。
|
65
|
+
|
66
|
+
:param eihealth_project_id: The eihealth_project_id of this ShowTargetOptJobRequest.
|
67
|
+
:type eihealth_project_id: str
|
68
|
+
"""
|
69
|
+
self._eihealth_project_id = eihealth_project_id
|
70
|
+
|
71
|
+
@property
|
72
|
+
def job_id(self):
|
73
|
+
"""Gets the job_id of this ShowTargetOptJobRequest.
|
74
|
+
|
75
|
+
作业id
|
76
|
+
|
77
|
+
:return: The job_id of this ShowTargetOptJobRequest.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._job_id
|
81
|
+
|
82
|
+
@job_id.setter
|
83
|
+
def job_id(self, job_id):
|
84
|
+
"""Sets the job_id of this ShowTargetOptJobRequest.
|
85
|
+
|
86
|
+
作业id
|
87
|
+
|
88
|
+
:param job_id: The job_id of this ShowTargetOptJobRequest.
|
89
|
+
:type job_id: str
|
90
|
+
"""
|
91
|
+
self._job_id = job_id
|
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, ShowTargetOptJobRequest):
|
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,187 @@
|
|
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 ShowTargetOptJobResponse(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
|
+
'basic_info': 'DrugJobDto',
|
22
|
+
'receptor': 'TargetOptReceptor',
|
23
|
+
'ligand': 'TargetOptLigand',
|
24
|
+
'md_params': 'MdParam'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'basic_info': 'basic_info',
|
29
|
+
'receptor': 'receptor',
|
30
|
+
'ligand': 'ligand',
|
31
|
+
'md_params': 'md_params'
|
32
|
+
}
|
33
|
+
|
34
|
+
def __init__(self, basic_info=None, receptor=None, ligand=None, md_params=None):
|
35
|
+
"""ShowTargetOptJobResponse
|
36
|
+
|
37
|
+
The model defined in huaweicloud sdk
|
38
|
+
|
39
|
+
:param basic_info:
|
40
|
+
:type basic_info: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
|
41
|
+
:param receptor:
|
42
|
+
:type receptor: :class:`huaweicloudsdkeihealth.v1.TargetOptReceptor`
|
43
|
+
:param ligand:
|
44
|
+
:type ligand: :class:`huaweicloudsdkeihealth.v1.TargetOptLigand`
|
45
|
+
:param md_params:
|
46
|
+
:type md_params: :class:`huaweicloudsdkeihealth.v1.MdParam`
|
47
|
+
"""
|
48
|
+
|
49
|
+
super(ShowTargetOptJobResponse, self).__init__()
|
50
|
+
|
51
|
+
self._basic_info = None
|
52
|
+
self._receptor = None
|
53
|
+
self._ligand = None
|
54
|
+
self._md_params = None
|
55
|
+
self.discriminator = None
|
56
|
+
|
57
|
+
if basic_info is not None:
|
58
|
+
self.basic_info = basic_info
|
59
|
+
if receptor is not None:
|
60
|
+
self.receptor = receptor
|
61
|
+
if ligand is not None:
|
62
|
+
self.ligand = ligand
|
63
|
+
if md_params is not None:
|
64
|
+
self.md_params = md_params
|
65
|
+
|
66
|
+
@property
|
67
|
+
def basic_info(self):
|
68
|
+
"""Gets the basic_info of this ShowTargetOptJobResponse.
|
69
|
+
|
70
|
+
:return: The basic_info of this ShowTargetOptJobResponse.
|
71
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
|
72
|
+
"""
|
73
|
+
return self._basic_info
|
74
|
+
|
75
|
+
@basic_info.setter
|
76
|
+
def basic_info(self, basic_info):
|
77
|
+
"""Sets the basic_info of this ShowTargetOptJobResponse.
|
78
|
+
|
79
|
+
:param basic_info: The basic_info of this ShowTargetOptJobResponse.
|
80
|
+
:type basic_info: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
|
81
|
+
"""
|
82
|
+
self._basic_info = basic_info
|
83
|
+
|
84
|
+
@property
|
85
|
+
def receptor(self):
|
86
|
+
"""Gets the receptor of this ShowTargetOptJobResponse.
|
87
|
+
|
88
|
+
:return: The receptor of this ShowTargetOptJobResponse.
|
89
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.TargetOptReceptor`
|
90
|
+
"""
|
91
|
+
return self._receptor
|
92
|
+
|
93
|
+
@receptor.setter
|
94
|
+
def receptor(self, receptor):
|
95
|
+
"""Sets the receptor of this ShowTargetOptJobResponse.
|
96
|
+
|
97
|
+
:param receptor: The receptor of this ShowTargetOptJobResponse.
|
98
|
+
:type receptor: :class:`huaweicloudsdkeihealth.v1.TargetOptReceptor`
|
99
|
+
"""
|
100
|
+
self._receptor = receptor
|
101
|
+
|
102
|
+
@property
|
103
|
+
def ligand(self):
|
104
|
+
"""Gets the ligand of this ShowTargetOptJobResponse.
|
105
|
+
|
106
|
+
:return: The ligand of this ShowTargetOptJobResponse.
|
107
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.TargetOptLigand`
|
108
|
+
"""
|
109
|
+
return self._ligand
|
110
|
+
|
111
|
+
@ligand.setter
|
112
|
+
def ligand(self, ligand):
|
113
|
+
"""Sets the ligand of this ShowTargetOptJobResponse.
|
114
|
+
|
115
|
+
:param ligand: The ligand of this ShowTargetOptJobResponse.
|
116
|
+
:type ligand: :class:`huaweicloudsdkeihealth.v1.TargetOptLigand`
|
117
|
+
"""
|
118
|
+
self._ligand = ligand
|
119
|
+
|
120
|
+
@property
|
121
|
+
def md_params(self):
|
122
|
+
"""Gets the md_params of this ShowTargetOptJobResponse.
|
123
|
+
|
124
|
+
:return: The md_params of this ShowTargetOptJobResponse.
|
125
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.MdParam`
|
126
|
+
"""
|
127
|
+
return self._md_params
|
128
|
+
|
129
|
+
@md_params.setter
|
130
|
+
def md_params(self, md_params):
|
131
|
+
"""Sets the md_params of this ShowTargetOptJobResponse.
|
132
|
+
|
133
|
+
:param md_params: The md_params of this ShowTargetOptJobResponse.
|
134
|
+
:type md_params: :class:`huaweicloudsdkeihealth.v1.MdParam`
|
135
|
+
"""
|
136
|
+
self._md_params = md_params
|
137
|
+
|
138
|
+
def to_dict(self):
|
139
|
+
"""Returns the model properties as a dict"""
|
140
|
+
result = {}
|
141
|
+
|
142
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
143
|
+
value = getattr(self, attr)
|
144
|
+
if isinstance(value, list):
|
145
|
+
result[attr] = list(map(
|
146
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
147
|
+
value
|
148
|
+
))
|
149
|
+
elif hasattr(value, "to_dict"):
|
150
|
+
result[attr] = value.to_dict()
|
151
|
+
elif isinstance(value, dict):
|
152
|
+
result[attr] = dict(map(
|
153
|
+
lambda item: (item[0], item[1].to_dict())
|
154
|
+
if hasattr(item[1], "to_dict") else item,
|
155
|
+
value.items()
|
156
|
+
))
|
157
|
+
else:
|
158
|
+
if attr in self.sensitive_list:
|
159
|
+
result[attr] = "****"
|
160
|
+
else:
|
161
|
+
result[attr] = value
|
162
|
+
|
163
|
+
return result
|
164
|
+
|
165
|
+
def to_str(self):
|
166
|
+
"""Returns the string representation of the model"""
|
167
|
+
import simplejson as json
|
168
|
+
if six.PY2:
|
169
|
+
import sys
|
170
|
+
reload(sys)
|
171
|
+
sys.setdefaultencoding("utf-8")
|
172
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
173
|
+
|
174
|
+
def __repr__(self):
|
175
|
+
"""For `print`"""
|
176
|
+
return self.to_str()
|
177
|
+
|
178
|
+
def __eq__(self, other):
|
179
|
+
"""Returns true if both objects are equal"""
|
180
|
+
if not isinstance(other, ShowTargetOptJobResponse):
|
181
|
+
return False
|
182
|
+
|
183
|
+
return self.__dict__ == other.__dict__
|
184
|
+
|
185
|
+
def __ne__(self, other):
|
186
|
+
"""Returns true if both objects are not equal"""
|
187
|
+
return not self == other
|