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.
- 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.86.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkeihealth-3.1.86.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/RECORD +134 -34
- {huaweicloudsdkeihealth-3.1.86.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkeihealth-3.1.86.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkeihealth-3.1.86.dist-info → huaweicloudsdkeihealth-3.1.132.dist-info}/top_level.txt +0 -0
@@ -22,7 +22,8 @@ class StrongConstraintDto:
|
|
22
22
|
'type': 'StrongConstraintType',
|
23
23
|
'bool': 'bool',
|
24
24
|
'range': 'list[float]',
|
25
|
-
'struct': 'StructureConstraintParamsDto'
|
25
|
+
'struct': 'StructureConstraintParamsDto',
|
26
|
+
'interaction': 'InteractionConstraintDto'
|
26
27
|
}
|
27
28
|
|
28
29
|
attribute_map = {
|
@@ -31,10 +32,11 @@ class StrongConstraintDto:
|
|
31
32
|
'type': 'type',
|
32
33
|
'bool': 'bool',
|
33
34
|
'range': 'range',
|
34
|
-
'struct': 'struct'
|
35
|
+
'struct': 'struct',
|
36
|
+
'interaction': 'interaction'
|
35
37
|
}
|
36
38
|
|
37
|
-
def __init__(self, id=None, name=None, type=None, bool=None, range=None, struct=None):
|
39
|
+
def __init__(self, id=None, name=None, type=None, bool=None, range=None, struct=None, interaction=None):
|
38
40
|
"""StrongConstraintDto
|
39
41
|
|
40
42
|
The model defined in huaweicloud sdk
|
@@ -51,6 +53,8 @@ class StrongConstraintDto:
|
|
51
53
|
:type range: list[float]
|
52
54
|
:param struct:
|
53
55
|
:type struct: :class:`huaweicloudsdkeihealth.v1.StructureConstraintParamsDto`
|
56
|
+
:param interaction:
|
57
|
+
:type interaction: :class:`huaweicloudsdkeihealth.v1.InteractionConstraintDto`
|
54
58
|
"""
|
55
59
|
|
56
60
|
|
@@ -61,6 +65,7 @@ class StrongConstraintDto:
|
|
61
65
|
self._bool = None
|
62
66
|
self._range = None
|
63
67
|
self._struct = None
|
68
|
+
self._interaction = None
|
64
69
|
self.discriminator = None
|
65
70
|
|
66
71
|
if id is not None:
|
@@ -74,6 +79,8 @@ class StrongConstraintDto:
|
|
74
79
|
self.range = range
|
75
80
|
if struct is not None:
|
76
81
|
self.struct = struct
|
82
|
+
if interaction is not None:
|
83
|
+
self.interaction = interaction
|
77
84
|
|
78
85
|
@property
|
79
86
|
def id(self):
|
@@ -199,6 +206,24 @@ class StrongConstraintDto:
|
|
199
206
|
"""
|
200
207
|
self._struct = struct
|
201
208
|
|
209
|
+
@property
|
210
|
+
def interaction(self):
|
211
|
+
"""Gets the interaction of this StrongConstraintDto.
|
212
|
+
|
213
|
+
:return: The interaction of this StrongConstraintDto.
|
214
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.InteractionConstraintDto`
|
215
|
+
"""
|
216
|
+
return self._interaction
|
217
|
+
|
218
|
+
@interaction.setter
|
219
|
+
def interaction(self, interaction):
|
220
|
+
"""Sets the interaction of this StrongConstraintDto.
|
221
|
+
|
222
|
+
:param interaction: The interaction of this StrongConstraintDto.
|
223
|
+
:type interaction: :class:`huaweicloudsdkeihealth.v1.InteractionConstraintDto`
|
224
|
+
"""
|
225
|
+
self._interaction = interaction
|
226
|
+
|
202
227
|
def to_dict(self):
|
203
228
|
"""Returns the model properties as a dict"""
|
204
229
|
result = {}
|
@@ -0,0 +1,139 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class TargetOptLigand:
|
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
|
+
'file': 'ProbeDrugFile',
|
21
|
+
'force_field': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'file': 'file',
|
26
|
+
'force_field': 'force_field'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, file=None, force_field=None):
|
30
|
+
"""TargetOptLigand
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param file:
|
35
|
+
:type file: :class:`huaweicloudsdkeihealth.v1.ProbeDrugFile`
|
36
|
+
:param force_field: 配体力场, 支持选择gaff, gaff2
|
37
|
+
:type force_field: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._file = None
|
43
|
+
self._force_field = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.file = file
|
47
|
+
if force_field is not None:
|
48
|
+
self.force_field = force_field
|
49
|
+
|
50
|
+
@property
|
51
|
+
def file(self):
|
52
|
+
"""Gets the file of this TargetOptLigand.
|
53
|
+
|
54
|
+
:return: The file of this TargetOptLigand.
|
55
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.ProbeDrugFile`
|
56
|
+
"""
|
57
|
+
return self._file
|
58
|
+
|
59
|
+
@file.setter
|
60
|
+
def file(self, file):
|
61
|
+
"""Sets the file of this TargetOptLigand.
|
62
|
+
|
63
|
+
:param file: The file of this TargetOptLigand.
|
64
|
+
:type file: :class:`huaweicloudsdkeihealth.v1.ProbeDrugFile`
|
65
|
+
"""
|
66
|
+
self._file = file
|
67
|
+
|
68
|
+
@property
|
69
|
+
def force_field(self):
|
70
|
+
"""Gets the force_field of this TargetOptLigand.
|
71
|
+
|
72
|
+
配体力场, 支持选择gaff, gaff2
|
73
|
+
|
74
|
+
:return: The force_field of this TargetOptLigand.
|
75
|
+
:rtype: str
|
76
|
+
"""
|
77
|
+
return self._force_field
|
78
|
+
|
79
|
+
@force_field.setter
|
80
|
+
def force_field(self, force_field):
|
81
|
+
"""Sets the force_field of this TargetOptLigand.
|
82
|
+
|
83
|
+
配体力场, 支持选择gaff, gaff2
|
84
|
+
|
85
|
+
:param force_field: The force_field of this TargetOptLigand.
|
86
|
+
:type force_field: str
|
87
|
+
"""
|
88
|
+
self._force_field = force_field
|
89
|
+
|
90
|
+
def to_dict(self):
|
91
|
+
"""Returns the model properties as a dict"""
|
92
|
+
result = {}
|
93
|
+
|
94
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
95
|
+
value = getattr(self, attr)
|
96
|
+
if isinstance(value, list):
|
97
|
+
result[attr] = list(map(
|
98
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
99
|
+
value
|
100
|
+
))
|
101
|
+
elif hasattr(value, "to_dict"):
|
102
|
+
result[attr] = value.to_dict()
|
103
|
+
elif isinstance(value, dict):
|
104
|
+
result[attr] = dict(map(
|
105
|
+
lambda item: (item[0], item[1].to_dict())
|
106
|
+
if hasattr(item[1], "to_dict") else item,
|
107
|
+
value.items()
|
108
|
+
))
|
109
|
+
else:
|
110
|
+
if attr in self.sensitive_list:
|
111
|
+
result[attr] = "****"
|
112
|
+
else:
|
113
|
+
result[attr] = value
|
114
|
+
|
115
|
+
return result
|
116
|
+
|
117
|
+
def to_str(self):
|
118
|
+
"""Returns the string representation of the model"""
|
119
|
+
import simplejson as json
|
120
|
+
if six.PY2:
|
121
|
+
import sys
|
122
|
+
reload(sys)
|
123
|
+
sys.setdefaultencoding("utf-8")
|
124
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
125
|
+
|
126
|
+
def __repr__(self):
|
127
|
+
"""For `print`"""
|
128
|
+
return self.to_str()
|
129
|
+
|
130
|
+
def __eq__(self, other):
|
131
|
+
"""Returns true if both objects are equal"""
|
132
|
+
if not isinstance(other, TargetOptLigand):
|
133
|
+
return False
|
134
|
+
|
135
|
+
return self.__dict__ == other.__dict__
|
136
|
+
|
137
|
+
def __ne__(self, other):
|
138
|
+
"""Returns true if both objects are not equal"""
|
139
|
+
return not self == other
|
@@ -0,0 +1,255 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class TargetOptReceptor:
|
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
|
+
'file': 'ReceptorDrugFile',
|
21
|
+
'balanced_charge': 'bool',
|
22
|
+
'water_model': 'str',
|
23
|
+
'force_field': 'str',
|
24
|
+
'ion_type': 'str',
|
25
|
+
'ion_concentration': 'float'
|
26
|
+
}
|
27
|
+
|
28
|
+
attribute_map = {
|
29
|
+
'file': 'file',
|
30
|
+
'balanced_charge': 'balanced_charge',
|
31
|
+
'water_model': 'water_model',
|
32
|
+
'force_field': 'force_field',
|
33
|
+
'ion_type': 'ion_type',
|
34
|
+
'ion_concentration': 'ion_concentration'
|
35
|
+
}
|
36
|
+
|
37
|
+
def __init__(self, file=None, balanced_charge=None, water_model=None, force_field=None, ion_type=None, ion_concentration=None):
|
38
|
+
"""TargetOptReceptor
|
39
|
+
|
40
|
+
The model defined in huaweicloud sdk
|
41
|
+
|
42
|
+
:param file:
|
43
|
+
:type file: :class:`huaweicloudsdkeihealth.v1.ReceptorDrugFile`
|
44
|
+
:param balanced_charge: 是否平衡电荷
|
45
|
+
:type balanced_charge: bool
|
46
|
+
:param water_model: 水模型, 支持选择spc, spce, tip3p, tip4p, tip5p
|
47
|
+
:type water_model: str
|
48
|
+
:param force_field: 蛋白立场,支持选择amber03, amber94, amber96, amber99, amber99sb, amber99sb-ildn, amberGS, charmm27, oplsaa, gromos43a1, gromos43a2, gromos45a3, gromos53a5, gromos53a6, gromos54a7
|
49
|
+
:type force_field: str
|
50
|
+
:param ion_type: 离子种类,支持选择NaCl、MgCl2、None,若设置了平衡电荷不支持选择None
|
51
|
+
:type ion_type: str
|
52
|
+
:param ion_concentration: 离子浓度,单位mol/L,若离子种类设置为None离子浓度不支持设置
|
53
|
+
:type ion_concentration: float
|
54
|
+
"""
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
self._file = None
|
59
|
+
self._balanced_charge = None
|
60
|
+
self._water_model = None
|
61
|
+
self._force_field = None
|
62
|
+
self._ion_type = None
|
63
|
+
self._ion_concentration = None
|
64
|
+
self.discriminator = None
|
65
|
+
|
66
|
+
self.file = file
|
67
|
+
if balanced_charge is not None:
|
68
|
+
self.balanced_charge = balanced_charge
|
69
|
+
if water_model is not None:
|
70
|
+
self.water_model = water_model
|
71
|
+
if force_field is not None:
|
72
|
+
self.force_field = force_field
|
73
|
+
if ion_type is not None:
|
74
|
+
self.ion_type = ion_type
|
75
|
+
if ion_concentration is not None:
|
76
|
+
self.ion_concentration = ion_concentration
|
77
|
+
|
78
|
+
@property
|
79
|
+
def file(self):
|
80
|
+
"""Gets the file of this TargetOptReceptor.
|
81
|
+
|
82
|
+
:return: The file of this TargetOptReceptor.
|
83
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.ReceptorDrugFile`
|
84
|
+
"""
|
85
|
+
return self._file
|
86
|
+
|
87
|
+
@file.setter
|
88
|
+
def file(self, file):
|
89
|
+
"""Sets the file of this TargetOptReceptor.
|
90
|
+
|
91
|
+
:param file: The file of this TargetOptReceptor.
|
92
|
+
:type file: :class:`huaweicloudsdkeihealth.v1.ReceptorDrugFile`
|
93
|
+
"""
|
94
|
+
self._file = file
|
95
|
+
|
96
|
+
@property
|
97
|
+
def balanced_charge(self):
|
98
|
+
"""Gets the balanced_charge of this TargetOptReceptor.
|
99
|
+
|
100
|
+
是否平衡电荷
|
101
|
+
|
102
|
+
:return: The balanced_charge of this TargetOptReceptor.
|
103
|
+
:rtype: bool
|
104
|
+
"""
|
105
|
+
return self._balanced_charge
|
106
|
+
|
107
|
+
@balanced_charge.setter
|
108
|
+
def balanced_charge(self, balanced_charge):
|
109
|
+
"""Sets the balanced_charge of this TargetOptReceptor.
|
110
|
+
|
111
|
+
是否平衡电荷
|
112
|
+
|
113
|
+
:param balanced_charge: The balanced_charge of this TargetOptReceptor.
|
114
|
+
:type balanced_charge: bool
|
115
|
+
"""
|
116
|
+
self._balanced_charge = balanced_charge
|
117
|
+
|
118
|
+
@property
|
119
|
+
def water_model(self):
|
120
|
+
"""Gets the water_model of this TargetOptReceptor.
|
121
|
+
|
122
|
+
水模型, 支持选择spc, spce, tip3p, tip4p, tip5p
|
123
|
+
|
124
|
+
:return: The water_model of this TargetOptReceptor.
|
125
|
+
:rtype: str
|
126
|
+
"""
|
127
|
+
return self._water_model
|
128
|
+
|
129
|
+
@water_model.setter
|
130
|
+
def water_model(self, water_model):
|
131
|
+
"""Sets the water_model of this TargetOptReceptor.
|
132
|
+
|
133
|
+
水模型, 支持选择spc, spce, tip3p, tip4p, tip5p
|
134
|
+
|
135
|
+
:param water_model: The water_model of this TargetOptReceptor.
|
136
|
+
:type water_model: str
|
137
|
+
"""
|
138
|
+
self._water_model = water_model
|
139
|
+
|
140
|
+
@property
|
141
|
+
def force_field(self):
|
142
|
+
"""Gets the force_field of this TargetOptReceptor.
|
143
|
+
|
144
|
+
蛋白立场,支持选择amber03, amber94, amber96, amber99, amber99sb, amber99sb-ildn, amberGS, charmm27, oplsaa, gromos43a1, gromos43a2, gromos45a3, gromos53a5, gromos53a6, gromos54a7
|
145
|
+
|
146
|
+
:return: The force_field of this TargetOptReceptor.
|
147
|
+
:rtype: str
|
148
|
+
"""
|
149
|
+
return self._force_field
|
150
|
+
|
151
|
+
@force_field.setter
|
152
|
+
def force_field(self, force_field):
|
153
|
+
"""Sets the force_field of this TargetOptReceptor.
|
154
|
+
|
155
|
+
蛋白立场,支持选择amber03, amber94, amber96, amber99, amber99sb, amber99sb-ildn, amberGS, charmm27, oplsaa, gromos43a1, gromos43a2, gromos45a3, gromos53a5, gromos53a6, gromos54a7
|
156
|
+
|
157
|
+
:param force_field: The force_field of this TargetOptReceptor.
|
158
|
+
:type force_field: str
|
159
|
+
"""
|
160
|
+
self._force_field = force_field
|
161
|
+
|
162
|
+
@property
|
163
|
+
def ion_type(self):
|
164
|
+
"""Gets the ion_type of this TargetOptReceptor.
|
165
|
+
|
166
|
+
离子种类,支持选择NaCl、MgCl2、None,若设置了平衡电荷不支持选择None
|
167
|
+
|
168
|
+
:return: The ion_type of this TargetOptReceptor.
|
169
|
+
:rtype: str
|
170
|
+
"""
|
171
|
+
return self._ion_type
|
172
|
+
|
173
|
+
@ion_type.setter
|
174
|
+
def ion_type(self, ion_type):
|
175
|
+
"""Sets the ion_type of this TargetOptReceptor.
|
176
|
+
|
177
|
+
离子种类,支持选择NaCl、MgCl2、None,若设置了平衡电荷不支持选择None
|
178
|
+
|
179
|
+
:param ion_type: The ion_type of this TargetOptReceptor.
|
180
|
+
:type ion_type: str
|
181
|
+
"""
|
182
|
+
self._ion_type = ion_type
|
183
|
+
|
184
|
+
@property
|
185
|
+
def ion_concentration(self):
|
186
|
+
"""Gets the ion_concentration of this TargetOptReceptor.
|
187
|
+
|
188
|
+
离子浓度,单位mol/L,若离子种类设置为None离子浓度不支持设置
|
189
|
+
|
190
|
+
:return: The ion_concentration of this TargetOptReceptor.
|
191
|
+
:rtype: float
|
192
|
+
"""
|
193
|
+
return self._ion_concentration
|
194
|
+
|
195
|
+
@ion_concentration.setter
|
196
|
+
def ion_concentration(self, ion_concentration):
|
197
|
+
"""Sets the ion_concentration of this TargetOptReceptor.
|
198
|
+
|
199
|
+
离子浓度,单位mol/L,若离子种类设置为None离子浓度不支持设置
|
200
|
+
|
201
|
+
:param ion_concentration: The ion_concentration of this TargetOptReceptor.
|
202
|
+
:type ion_concentration: float
|
203
|
+
"""
|
204
|
+
self._ion_concentration = ion_concentration
|
205
|
+
|
206
|
+
def to_dict(self):
|
207
|
+
"""Returns the model properties as a dict"""
|
208
|
+
result = {}
|
209
|
+
|
210
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
211
|
+
value = getattr(self, attr)
|
212
|
+
if isinstance(value, list):
|
213
|
+
result[attr] = list(map(
|
214
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
215
|
+
value
|
216
|
+
))
|
217
|
+
elif hasattr(value, "to_dict"):
|
218
|
+
result[attr] = value.to_dict()
|
219
|
+
elif isinstance(value, dict):
|
220
|
+
result[attr] = dict(map(
|
221
|
+
lambda item: (item[0], item[1].to_dict())
|
222
|
+
if hasattr(item[1], "to_dict") else item,
|
223
|
+
value.items()
|
224
|
+
))
|
225
|
+
else:
|
226
|
+
if attr in self.sensitive_list:
|
227
|
+
result[attr] = "****"
|
228
|
+
else:
|
229
|
+
result[attr] = value
|
230
|
+
|
231
|
+
return result
|
232
|
+
|
233
|
+
def to_str(self):
|
234
|
+
"""Returns the string representation of the model"""
|
235
|
+
import simplejson as json
|
236
|
+
if six.PY2:
|
237
|
+
import sys
|
238
|
+
reload(sys)
|
239
|
+
sys.setdefaultencoding("utf-8")
|
240
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
241
|
+
|
242
|
+
def __repr__(self):
|
243
|
+
"""For `print`"""
|
244
|
+
return self.to_str()
|
245
|
+
|
246
|
+
def __eq__(self, other):
|
247
|
+
"""Returns true if both objects are equal"""
|
248
|
+
if not isinstance(other, TargetOptReceptor):
|
249
|
+
return False
|
250
|
+
|
251
|
+
return self.__dict__ == other.__dict__
|
252
|
+
|
253
|
+
def __ne__(self, other):
|
254
|
+
"""Returns true if both objects are not equal"""
|
255
|
+
return not self == other
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class TaskProgress:
|
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
|
+
'overall': 'float'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'overall': 'overall'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, overall=None):
|
28
|
+
"""TaskProgress
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param overall: 整体进度
|
33
|
+
:type overall: float
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._overall = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if overall is not None:
|
42
|
+
self.overall = overall
|
43
|
+
|
44
|
+
@property
|
45
|
+
def overall(self):
|
46
|
+
"""Gets the overall of this TaskProgress.
|
47
|
+
|
48
|
+
整体进度
|
49
|
+
|
50
|
+
:return: The overall of this TaskProgress.
|
51
|
+
:rtype: float
|
52
|
+
"""
|
53
|
+
return self._overall
|
54
|
+
|
55
|
+
@overall.setter
|
56
|
+
def overall(self, overall):
|
57
|
+
"""Sets the overall of this TaskProgress.
|
58
|
+
|
59
|
+
整体进度
|
60
|
+
|
61
|
+
:param overall: The overall of this TaskProgress.
|
62
|
+
:type overall: float
|
63
|
+
"""
|
64
|
+
self._overall = overall
|
65
|
+
|
66
|
+
def to_dict(self):
|
67
|
+
"""Returns the model properties as a dict"""
|
68
|
+
result = {}
|
69
|
+
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
71
|
+
value = getattr(self, attr)
|
72
|
+
if isinstance(value, list):
|
73
|
+
result[attr] = list(map(
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
75
|
+
value
|
76
|
+
))
|
77
|
+
elif hasattr(value, "to_dict"):
|
78
|
+
result[attr] = value.to_dict()
|
79
|
+
elif isinstance(value, dict):
|
80
|
+
result[attr] = dict(map(
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
83
|
+
value.items()
|
84
|
+
))
|
85
|
+
else:
|
86
|
+
if attr in self.sensitive_list:
|
87
|
+
result[attr] = "****"
|
88
|
+
else:
|
89
|
+
result[attr] = value
|
90
|
+
|
91
|
+
return result
|
92
|
+
|
93
|
+
def to_str(self):
|
94
|
+
"""Returns the string representation of the model"""
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
"""For `print`"""
|
104
|
+
return self.to_str()
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
"""Returns true if both objects are equal"""
|
108
|
+
if not isinstance(other, TaskProgress):
|
109
|
+
return False
|
110
|
+
|
111
|
+
return self.__dict__ == other.__dict__
|
112
|
+
|
113
|
+
def __ne__(self, other):
|
114
|
+
"""Returns true if both objects are not equal"""
|
115
|
+
return not self == other
|