huaweicloudsdkeihealth 3.1.108__py2.py3-none-any.whl → 3.1.110__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 +31 -0
- huaweicloudsdkeihealth/v1/eihealth_async_client.py +543 -0
- huaweicloudsdkeihealth/v1/eihealth_client.py +543 -0
- huaweicloudsdkeihealth/v1/model/__init__.py +31 -0
- huaweicloudsdkeihealth/v1/model/base_model.py +142 -0
- huaweicloudsdkeihealth/v1/model/base_model_dto.py +231 -0
- huaweicloudsdkeihealth/v1/model/bind_site_dto.py +3 -3
- huaweicloudsdkeihealth/v1/model/cpi_receptor.py +226 -0
- huaweicloudsdkeihealth/v1/model/create_admet_job_req.py +61 -3
- 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_dock_job_req.py +32 -3
- huaweicloudsdkeihealth/v1/model/create_drug_ligand_interaction2d_svg_req.py +32 -3
- 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_optm_job_req.py +30 -1
- 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/fasta_receptor.py +197 -0
- 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/list_base_model_request.py +202 -0
- huaweicloudsdkeihealth/v1/model/list_base_model_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_drug_model_request.py +35 -6
- 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/pocket_fragment.py +30 -1
- 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/show_admet_job_response.py +57 -3
- 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_gen_job_request.py +142 -0
- huaweicloudsdkeihealth/v1/model/show_gen_job_response.py +365 -0
- huaweicloudsdkeihealth/v1/model/show_optm_job_response.py +26 -1
- 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/weak_constraint_dto.py +28 -3
- huaweicloudsdkeihealth/v1/model/weak_constraint_type.py +1 -0
- {huaweicloudsdkeihealth-3.1.108.dist-info → huaweicloudsdkeihealth-3.1.110.dist-info}/METADATA +2 -2
- {huaweicloudsdkeihealth-3.1.108.dist-info → huaweicloudsdkeihealth-3.1.110.dist-info}/RECORD +57 -26
- {huaweicloudsdkeihealth-3.1.108.dist-info → huaweicloudsdkeihealth-3.1.110.dist-info}/WHEEL +1 -1
- {huaweicloudsdkeihealth-3.1.108.dist-info → huaweicloudsdkeihealth-3.1.110.dist-info}/LICENSE +0 -0
- {huaweicloudsdkeihealth-3.1.108.dist-info → huaweicloudsdkeihealth-3.1.110.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,168 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class RunFastaPreprocessReq:
|
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': 'FastaReceptor',
|
21
|
+
'preview_count': 'int',
|
22
|
+
'count_limit': 'int'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'file': 'file',
|
27
|
+
'preview_count': 'preview_count',
|
28
|
+
'count_limit': 'count_limit'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, file=None, preview_count=None, count_limit=None):
|
32
|
+
"""RunFastaPreprocessReq
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param file:
|
37
|
+
:type file: :class:`huaweicloudsdkeihealth.v1.FastaReceptor`
|
38
|
+
:param preview_count: 预览数量
|
39
|
+
:type preview_count: int
|
40
|
+
:param count_limit: 计数上限
|
41
|
+
:type count_limit: int
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._file = None
|
47
|
+
self._preview_count = None
|
48
|
+
self._count_limit = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.file = file
|
52
|
+
if preview_count is not None:
|
53
|
+
self.preview_count = preview_count
|
54
|
+
if count_limit is not None:
|
55
|
+
self.count_limit = count_limit
|
56
|
+
|
57
|
+
@property
|
58
|
+
def file(self):
|
59
|
+
"""Gets the file of this RunFastaPreprocessReq.
|
60
|
+
|
61
|
+
:return: The file of this RunFastaPreprocessReq.
|
62
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.FastaReceptor`
|
63
|
+
"""
|
64
|
+
return self._file
|
65
|
+
|
66
|
+
@file.setter
|
67
|
+
def file(self, file):
|
68
|
+
"""Sets the file of this RunFastaPreprocessReq.
|
69
|
+
|
70
|
+
:param file: The file of this RunFastaPreprocessReq.
|
71
|
+
:type file: :class:`huaweicloudsdkeihealth.v1.FastaReceptor`
|
72
|
+
"""
|
73
|
+
self._file = file
|
74
|
+
|
75
|
+
@property
|
76
|
+
def preview_count(self):
|
77
|
+
"""Gets the preview_count of this RunFastaPreprocessReq.
|
78
|
+
|
79
|
+
预览数量
|
80
|
+
|
81
|
+
:return: The preview_count of this RunFastaPreprocessReq.
|
82
|
+
:rtype: int
|
83
|
+
"""
|
84
|
+
return self._preview_count
|
85
|
+
|
86
|
+
@preview_count.setter
|
87
|
+
def preview_count(self, preview_count):
|
88
|
+
"""Sets the preview_count of this RunFastaPreprocessReq.
|
89
|
+
|
90
|
+
预览数量
|
91
|
+
|
92
|
+
:param preview_count: The preview_count of this RunFastaPreprocessReq.
|
93
|
+
:type preview_count: int
|
94
|
+
"""
|
95
|
+
self._preview_count = preview_count
|
96
|
+
|
97
|
+
@property
|
98
|
+
def count_limit(self):
|
99
|
+
"""Gets the count_limit of this RunFastaPreprocessReq.
|
100
|
+
|
101
|
+
计数上限
|
102
|
+
|
103
|
+
:return: The count_limit of this RunFastaPreprocessReq.
|
104
|
+
:rtype: int
|
105
|
+
"""
|
106
|
+
return self._count_limit
|
107
|
+
|
108
|
+
@count_limit.setter
|
109
|
+
def count_limit(self, count_limit):
|
110
|
+
"""Sets the count_limit of this RunFastaPreprocessReq.
|
111
|
+
|
112
|
+
计数上限
|
113
|
+
|
114
|
+
:param count_limit: The count_limit of this RunFastaPreprocessReq.
|
115
|
+
:type count_limit: int
|
116
|
+
"""
|
117
|
+
self._count_limit = count_limit
|
118
|
+
|
119
|
+
def to_dict(self):
|
120
|
+
"""Returns the model properties as a dict"""
|
121
|
+
result = {}
|
122
|
+
|
123
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
124
|
+
value = getattr(self, attr)
|
125
|
+
if isinstance(value, list):
|
126
|
+
result[attr] = list(map(
|
127
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
128
|
+
value
|
129
|
+
))
|
130
|
+
elif hasattr(value, "to_dict"):
|
131
|
+
result[attr] = value.to_dict()
|
132
|
+
elif isinstance(value, dict):
|
133
|
+
result[attr] = dict(map(
|
134
|
+
lambda item: (item[0], item[1].to_dict())
|
135
|
+
if hasattr(item[1], "to_dict") else item,
|
136
|
+
value.items()
|
137
|
+
))
|
138
|
+
else:
|
139
|
+
if attr in self.sensitive_list:
|
140
|
+
result[attr] = "****"
|
141
|
+
else:
|
142
|
+
result[attr] = value
|
143
|
+
|
144
|
+
return result
|
145
|
+
|
146
|
+
def to_str(self):
|
147
|
+
"""Returns the string representation of the model"""
|
148
|
+
import simplejson as json
|
149
|
+
if six.PY2:
|
150
|
+
import sys
|
151
|
+
reload(sys)
|
152
|
+
sys.setdefaultencoding("utf-8")
|
153
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
154
|
+
|
155
|
+
def __repr__(self):
|
156
|
+
"""For `print`"""
|
157
|
+
return self.to_str()
|
158
|
+
|
159
|
+
def __eq__(self, other):
|
160
|
+
"""Returns true if both objects are equal"""
|
161
|
+
if not isinstance(other, RunFastaPreprocessReq):
|
162
|
+
return False
|
163
|
+
|
164
|
+
return self.__dict__ == other.__dict__
|
165
|
+
|
166
|
+
def __ne__(self, other):
|
167
|
+
"""Returns true if both objects are not equal"""
|
168
|
+
return not self == other
|
@@ -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 RunFastaPreprocessRequest:
|
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
|
+
'body': 'RunFastaPreprocessReq'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'eihealth_project_id': 'eihealth_project_id',
|
26
|
+
'body': 'body'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, eihealth_project_id=None, body=None):
|
30
|
+
"""RunFastaPreprocessRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param eihealth_project_id: 平台项目ID。
|
35
|
+
:type eihealth_project_id: str
|
36
|
+
:param body: Body of the RunFastaPreprocessRequest
|
37
|
+
:type body: :class:`huaweicloudsdkeihealth.v1.RunFastaPreprocessReq`
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._eihealth_project_id = None
|
43
|
+
self._body = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.eihealth_project_id = eihealth_project_id
|
47
|
+
if body is not None:
|
48
|
+
self.body = body
|
49
|
+
|
50
|
+
@property
|
51
|
+
def eihealth_project_id(self):
|
52
|
+
"""Gets the eihealth_project_id of this RunFastaPreprocessRequest.
|
53
|
+
|
54
|
+
平台项目ID。
|
55
|
+
|
56
|
+
:return: The eihealth_project_id of this RunFastaPreprocessRequest.
|
57
|
+
:rtype: str
|
58
|
+
"""
|
59
|
+
return self._eihealth_project_id
|
60
|
+
|
61
|
+
@eihealth_project_id.setter
|
62
|
+
def eihealth_project_id(self, eihealth_project_id):
|
63
|
+
"""Sets the eihealth_project_id of this RunFastaPreprocessRequest.
|
64
|
+
|
65
|
+
平台项目ID。
|
66
|
+
|
67
|
+
:param eihealth_project_id: The eihealth_project_id of this RunFastaPreprocessRequest.
|
68
|
+
:type eihealth_project_id: str
|
69
|
+
"""
|
70
|
+
self._eihealth_project_id = eihealth_project_id
|
71
|
+
|
72
|
+
@property
|
73
|
+
def body(self):
|
74
|
+
"""Gets the body of this RunFastaPreprocessRequest.
|
75
|
+
|
76
|
+
:return: The body of this RunFastaPreprocessRequest.
|
77
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.RunFastaPreprocessReq`
|
78
|
+
"""
|
79
|
+
return self._body
|
80
|
+
|
81
|
+
@body.setter
|
82
|
+
def body(self, body):
|
83
|
+
"""Sets the body of this RunFastaPreprocessRequest.
|
84
|
+
|
85
|
+
:param body: The body of this RunFastaPreprocessRequest.
|
86
|
+
:type body: :class:`huaweicloudsdkeihealth.v1.RunFastaPreprocessReq`
|
87
|
+
"""
|
88
|
+
self._body = body
|
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, RunFastaPreprocessRequest):
|
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,145 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class RunFastaPreprocessResponse(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
|
+
'count': 'int',
|
22
|
+
'has_more': 'bool'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'count': 'count',
|
27
|
+
'has_more': 'has_more'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, count=None, has_more=None):
|
31
|
+
"""RunFastaPreprocessResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param count: 已知的蛋白序列数量
|
36
|
+
:type count: int
|
37
|
+
:param has_more: 文件中是否还有更多氨基酸序列没有处理
|
38
|
+
:type has_more: bool
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(RunFastaPreprocessResponse, self).__init__()
|
42
|
+
|
43
|
+
self._count = None
|
44
|
+
self._has_more = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if count is not None:
|
48
|
+
self.count = count
|
49
|
+
if has_more is not None:
|
50
|
+
self.has_more = has_more
|
51
|
+
|
52
|
+
@property
|
53
|
+
def count(self):
|
54
|
+
"""Gets the count of this RunFastaPreprocessResponse.
|
55
|
+
|
56
|
+
已知的蛋白序列数量
|
57
|
+
|
58
|
+
:return: The count of this RunFastaPreprocessResponse.
|
59
|
+
:rtype: int
|
60
|
+
"""
|
61
|
+
return self._count
|
62
|
+
|
63
|
+
@count.setter
|
64
|
+
def count(self, count):
|
65
|
+
"""Sets the count of this RunFastaPreprocessResponse.
|
66
|
+
|
67
|
+
已知的蛋白序列数量
|
68
|
+
|
69
|
+
:param count: The count of this RunFastaPreprocessResponse.
|
70
|
+
:type count: int
|
71
|
+
"""
|
72
|
+
self._count = count
|
73
|
+
|
74
|
+
@property
|
75
|
+
def has_more(self):
|
76
|
+
"""Gets the has_more of this RunFastaPreprocessResponse.
|
77
|
+
|
78
|
+
文件中是否还有更多氨基酸序列没有处理
|
79
|
+
|
80
|
+
:return: The has_more of this RunFastaPreprocessResponse.
|
81
|
+
:rtype: bool
|
82
|
+
"""
|
83
|
+
return self._has_more
|
84
|
+
|
85
|
+
@has_more.setter
|
86
|
+
def has_more(self, has_more):
|
87
|
+
"""Sets the has_more of this RunFastaPreprocessResponse.
|
88
|
+
|
89
|
+
文件中是否还有更多氨基酸序列没有处理
|
90
|
+
|
91
|
+
:param has_more: The has_more of this RunFastaPreprocessResponse.
|
92
|
+
:type has_more: bool
|
93
|
+
"""
|
94
|
+
self._has_more = has_more
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, RunFastaPreprocessResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not self == other
|
@@ -22,8 +22,10 @@ class ShowAdmetJobResponse(SdkResponse):
|
|
22
22
|
'molecule_file': 'MoleculeFileDto',
|
23
23
|
'job_result': 'JobResult',
|
24
24
|
'part_failed_reason': 'list[FailedReasonRecord]',
|
25
|
+
'base_model': 'BaseModel',
|
25
26
|
'models': 'list[BasicDrugModel]',
|
26
|
-
'cluster_result': 'ClusterJobRsp'
|
27
|
+
'cluster_result': 'ClusterJobRsp',
|
28
|
+
'save_fingerprint': 'bool'
|
27
29
|
}
|
28
30
|
|
29
31
|
attribute_map = {
|
@@ -31,11 +33,13 @@ class ShowAdmetJobResponse(SdkResponse):
|
|
31
33
|
'molecule_file': 'molecule_file',
|
32
34
|
'job_result': 'job_result',
|
33
35
|
'part_failed_reason': 'part_failed_reason',
|
36
|
+
'base_model': 'base_model',
|
34
37
|
'models': 'models',
|
35
|
-
'cluster_result': 'cluster_result'
|
38
|
+
'cluster_result': 'cluster_result',
|
39
|
+
'save_fingerprint': 'save_fingerprint'
|
36
40
|
}
|
37
41
|
|
38
|
-
def __init__(self, basic_info=None, molecule_file=None, job_result=None, part_failed_reason=None, models=None, cluster_result=None):
|
42
|
+
def __init__(self, basic_info=None, molecule_file=None, job_result=None, part_failed_reason=None, base_model=None, models=None, cluster_result=None, save_fingerprint=None):
|
39
43
|
"""ShowAdmetJobResponse
|
40
44
|
|
41
45
|
The model defined in huaweicloud sdk
|
@@ -48,10 +52,14 @@ class ShowAdmetJobResponse(SdkResponse):
|
|
48
52
|
:type job_result: :class:`huaweicloudsdkeihealth.v1.JobResult`
|
49
53
|
:param part_failed_reason: 作业结果信息
|
50
54
|
:type part_failed_reason: list[:class:`huaweicloudsdkeihealth.v1.FailedReasonRecord`]
|
55
|
+
:param base_model:
|
56
|
+
:type base_model: :class:`huaweicloudsdkeihealth.v1.BaseModel`
|
51
57
|
:param models: 模型信息
|
52
58
|
:type models: list[:class:`huaweicloudsdkeihealth.v1.BasicDrugModel`]
|
53
59
|
:param cluster_result:
|
54
60
|
:type cluster_result: :class:`huaweicloudsdkeihealth.v1.ClusterJobRsp`
|
61
|
+
:param save_fingerprint: 是否输出表征
|
62
|
+
:type save_fingerprint: bool
|
55
63
|
"""
|
56
64
|
|
57
65
|
super(ShowAdmetJobResponse, self).__init__()
|
@@ -60,8 +68,10 @@ class ShowAdmetJobResponse(SdkResponse):
|
|
60
68
|
self._molecule_file = None
|
61
69
|
self._job_result = None
|
62
70
|
self._part_failed_reason = None
|
71
|
+
self._base_model = None
|
63
72
|
self._models = None
|
64
73
|
self._cluster_result = None
|
74
|
+
self._save_fingerprint = None
|
65
75
|
self.discriminator = None
|
66
76
|
|
67
77
|
if basic_info is not None:
|
@@ -72,10 +82,14 @@ class ShowAdmetJobResponse(SdkResponse):
|
|
72
82
|
self.job_result = job_result
|
73
83
|
if part_failed_reason is not None:
|
74
84
|
self.part_failed_reason = part_failed_reason
|
85
|
+
if base_model is not None:
|
86
|
+
self.base_model = base_model
|
75
87
|
if models is not None:
|
76
88
|
self.models = models
|
77
89
|
if cluster_result is not None:
|
78
90
|
self.cluster_result = cluster_result
|
91
|
+
if save_fingerprint is not None:
|
92
|
+
self.save_fingerprint = save_fingerprint
|
79
93
|
|
80
94
|
@property
|
81
95
|
def basic_info(self):
|
@@ -153,6 +167,24 @@ class ShowAdmetJobResponse(SdkResponse):
|
|
153
167
|
"""
|
154
168
|
self._part_failed_reason = part_failed_reason
|
155
169
|
|
170
|
+
@property
|
171
|
+
def base_model(self):
|
172
|
+
"""Gets the base_model of this ShowAdmetJobResponse.
|
173
|
+
|
174
|
+
:return: The base_model of this ShowAdmetJobResponse.
|
175
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.BaseModel`
|
176
|
+
"""
|
177
|
+
return self._base_model
|
178
|
+
|
179
|
+
@base_model.setter
|
180
|
+
def base_model(self, base_model):
|
181
|
+
"""Sets the base_model of this ShowAdmetJobResponse.
|
182
|
+
|
183
|
+
:param base_model: The base_model of this ShowAdmetJobResponse.
|
184
|
+
:type base_model: :class:`huaweicloudsdkeihealth.v1.BaseModel`
|
185
|
+
"""
|
186
|
+
self._base_model = base_model
|
187
|
+
|
156
188
|
@property
|
157
189
|
def models(self):
|
158
190
|
"""Gets the models of this ShowAdmetJobResponse.
|
@@ -193,6 +225,28 @@ class ShowAdmetJobResponse(SdkResponse):
|
|
193
225
|
"""
|
194
226
|
self._cluster_result = cluster_result
|
195
227
|
|
228
|
+
@property
|
229
|
+
def save_fingerprint(self):
|
230
|
+
"""Gets the save_fingerprint of this ShowAdmetJobResponse.
|
231
|
+
|
232
|
+
是否输出表征
|
233
|
+
|
234
|
+
:return: The save_fingerprint of this ShowAdmetJobResponse.
|
235
|
+
:rtype: bool
|
236
|
+
"""
|
237
|
+
return self._save_fingerprint
|
238
|
+
|
239
|
+
@save_fingerprint.setter
|
240
|
+
def save_fingerprint(self, save_fingerprint):
|
241
|
+
"""Sets the save_fingerprint of this ShowAdmetJobResponse.
|
242
|
+
|
243
|
+
是否输出表征
|
244
|
+
|
245
|
+
:param save_fingerprint: The save_fingerprint of this ShowAdmetJobResponse.
|
246
|
+
:type save_fingerprint: bool
|
247
|
+
"""
|
248
|
+
self._save_fingerprint = save_fingerprint
|
249
|
+
|
196
250
|
def to_dict(self):
|
197
251
|
"""Returns the model properties as a dict"""
|
198
252
|
result = {}
|