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,191 @@
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 ShowClusteringJobResponse(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
+ 'file': 'DrugFile',
23
+ 'failed_reasons': 'list[FailedReasonRecord]',
24
+ 'job_result': 'JobResult'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'basic_info': 'basic_info',
29
+ 'file': 'file',
30
+ 'failed_reasons': 'failed_reasons',
31
+ 'job_result': 'job_result'
32
+ }
33
+
34
+ def __init__(self, basic_info=None, file=None, failed_reasons=None, job_result=None):
35
+ """ShowClusteringJobResponse
36
+
37
+ The model defined in huaweicloud sdk
38
+
39
+ :param basic_info:
40
+ :type basic_info: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
41
+ :param file:
42
+ :type file: :class:`huaweicloudsdkeihealth.v1.DrugFile`
43
+ :param failed_reasons: 部分失败原因和数量。
44
+ :type failed_reasons: list[:class:`huaweicloudsdkeihealth.v1.FailedReasonRecord`]
45
+ :param job_result:
46
+ :type job_result: :class:`huaweicloudsdkeihealth.v1.JobResult`
47
+ """
48
+
49
+ super(ShowClusteringJobResponse, self).__init__()
50
+
51
+ self._basic_info = None
52
+ self._file = None
53
+ self._failed_reasons = None
54
+ self._job_result = None
55
+ self.discriminator = None
56
+
57
+ if basic_info is not None:
58
+ self.basic_info = basic_info
59
+ if file is not None:
60
+ self.file = file
61
+ if failed_reasons is not None:
62
+ self.failed_reasons = failed_reasons
63
+ if job_result is not None:
64
+ self.job_result = job_result
65
+
66
+ @property
67
+ def basic_info(self):
68
+ """Gets the basic_info of this ShowClusteringJobResponse.
69
+
70
+ :return: The basic_info of this ShowClusteringJobResponse.
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 ShowClusteringJobResponse.
78
+
79
+ :param basic_info: The basic_info of this ShowClusteringJobResponse.
80
+ :type basic_info: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
81
+ """
82
+ self._basic_info = basic_info
83
+
84
+ @property
85
+ def file(self):
86
+ """Gets the file of this ShowClusteringJobResponse.
87
+
88
+ :return: The file of this ShowClusteringJobResponse.
89
+ :rtype: :class:`huaweicloudsdkeihealth.v1.DrugFile`
90
+ """
91
+ return self._file
92
+
93
+ @file.setter
94
+ def file(self, file):
95
+ """Sets the file of this ShowClusteringJobResponse.
96
+
97
+ :param file: The file of this ShowClusteringJobResponse.
98
+ :type file: :class:`huaweicloudsdkeihealth.v1.DrugFile`
99
+ """
100
+ self._file = file
101
+
102
+ @property
103
+ def failed_reasons(self):
104
+ """Gets the failed_reasons of this ShowClusteringJobResponse.
105
+
106
+ 部分失败原因和数量。
107
+
108
+ :return: The failed_reasons of this ShowClusteringJobResponse.
109
+ :rtype: list[:class:`huaweicloudsdkeihealth.v1.FailedReasonRecord`]
110
+ """
111
+ return self._failed_reasons
112
+
113
+ @failed_reasons.setter
114
+ def failed_reasons(self, failed_reasons):
115
+ """Sets the failed_reasons of this ShowClusteringJobResponse.
116
+
117
+ 部分失败原因和数量。
118
+
119
+ :param failed_reasons: The failed_reasons of this ShowClusteringJobResponse.
120
+ :type failed_reasons: list[:class:`huaweicloudsdkeihealth.v1.FailedReasonRecord`]
121
+ """
122
+ self._failed_reasons = failed_reasons
123
+
124
+ @property
125
+ def job_result(self):
126
+ """Gets the job_result of this ShowClusteringJobResponse.
127
+
128
+ :return: The job_result of this ShowClusteringJobResponse.
129
+ :rtype: :class:`huaweicloudsdkeihealth.v1.JobResult`
130
+ """
131
+ return self._job_result
132
+
133
+ @job_result.setter
134
+ def job_result(self, job_result):
135
+ """Sets the job_result of this ShowClusteringJobResponse.
136
+
137
+ :param job_result: The job_result of this ShowClusteringJobResponse.
138
+ :type job_result: :class:`huaweicloudsdkeihealth.v1.JobResult`
139
+ """
140
+ self._job_result = job_result
141
+
142
+ def to_dict(self):
143
+ """Returns the model properties as a dict"""
144
+ result = {}
145
+
146
+ for attr, _ in six.iteritems(self.openapi_types):
147
+ value = getattr(self, attr)
148
+ if isinstance(value, list):
149
+ result[attr] = list(map(
150
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
151
+ value
152
+ ))
153
+ elif hasattr(value, "to_dict"):
154
+ result[attr] = value.to_dict()
155
+ elif isinstance(value, dict):
156
+ result[attr] = dict(map(
157
+ lambda item: (item[0], item[1].to_dict())
158
+ if hasattr(item[1], "to_dict") else item,
159
+ value.items()
160
+ ))
161
+ else:
162
+ if attr in self.sensitive_list:
163
+ result[attr] = "****"
164
+ else:
165
+ result[attr] = value
166
+
167
+ return result
168
+
169
+ def to_str(self):
170
+ """Returns the string representation of the model"""
171
+ import simplejson as json
172
+ if six.PY2:
173
+ import sys
174
+ reload(sys)
175
+ sys.setdefaultencoding("utf-8")
176
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
177
+
178
+ def __repr__(self):
179
+ """For `print`"""
180
+ return self.to_str()
181
+
182
+ def __eq__(self, other):
183
+ """Returns true if both objects are equal"""
184
+ if not isinstance(other, ShowClusteringJobResponse):
185
+ return False
186
+
187
+ return self.__dict__ == other.__dict__
188
+
189
+ def __ne__(self, other):
190
+ """Returns true if both objects are not equal"""
191
+ 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 ShowCpiJobRequest:
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
+ """ShowCpiJobRequest
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 ShowCpiJobRequest.
52
+
53
+ 平台项目ID。
54
+
55
+ :return: The eihealth_project_id of this ShowCpiJobRequest.
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 ShowCpiJobRequest.
63
+
64
+ 平台项目ID。
65
+
66
+ :param eihealth_project_id: The eihealth_project_id of this ShowCpiJobRequest.
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 ShowCpiJobRequest.
74
+
75
+ 作业id
76
+
77
+ :return: The job_id of this ShowCpiJobRequest.
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 ShowCpiJobRequest.
85
+
86
+ 作业id
87
+
88
+ :param job_id: The job_id of this ShowCpiJobRequest.
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, ShowCpiJobRequest):
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,170 @@
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 ShowCpiJobResponse(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
+ 'receptors': 'list[ReceptorDrugFile]',
23
+ 'ligands': 'list[MoleculeFileDto]'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'basic_info': 'basic_info',
28
+ 'receptors': 'receptors',
29
+ 'ligands': 'ligands'
30
+ }
31
+
32
+ def __init__(self, basic_info=None, receptors=None, ligands=None):
33
+ """ShowCpiJobResponse
34
+
35
+ The model defined in huaweicloud sdk
36
+
37
+ :param basic_info:
38
+ :type basic_info: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
39
+ :param receptors: 受体文件列表
40
+ :type receptors: list[:class:`huaweicloudsdkeihealth.v1.ReceptorDrugFile`]
41
+ :param ligands: 小分子
42
+ :type ligands: list[:class:`huaweicloudsdkeihealth.v1.MoleculeFileDto`]
43
+ """
44
+
45
+ super(ShowCpiJobResponse, self).__init__()
46
+
47
+ self._basic_info = None
48
+ self._receptors = None
49
+ self._ligands = None
50
+ self.discriminator = None
51
+
52
+ if basic_info is not None:
53
+ self.basic_info = basic_info
54
+ if receptors is not None:
55
+ self.receptors = receptors
56
+ if ligands is not None:
57
+ self.ligands = ligands
58
+
59
+ @property
60
+ def basic_info(self):
61
+ """Gets the basic_info of this ShowCpiJobResponse.
62
+
63
+ :return: The basic_info of this ShowCpiJobResponse.
64
+ :rtype: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
65
+ """
66
+ return self._basic_info
67
+
68
+ @basic_info.setter
69
+ def basic_info(self, basic_info):
70
+ """Sets the basic_info of this ShowCpiJobResponse.
71
+
72
+ :param basic_info: The basic_info of this ShowCpiJobResponse.
73
+ :type basic_info: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
74
+ """
75
+ self._basic_info = basic_info
76
+
77
+ @property
78
+ def receptors(self):
79
+ """Gets the receptors of this ShowCpiJobResponse.
80
+
81
+ 受体文件列表
82
+
83
+ :return: The receptors of this ShowCpiJobResponse.
84
+ :rtype: list[:class:`huaweicloudsdkeihealth.v1.ReceptorDrugFile`]
85
+ """
86
+ return self._receptors
87
+
88
+ @receptors.setter
89
+ def receptors(self, receptors):
90
+ """Sets the receptors of this ShowCpiJobResponse.
91
+
92
+ 受体文件列表
93
+
94
+ :param receptors: The receptors of this ShowCpiJobResponse.
95
+ :type receptors: list[:class:`huaweicloudsdkeihealth.v1.ReceptorDrugFile`]
96
+ """
97
+ self._receptors = receptors
98
+
99
+ @property
100
+ def ligands(self):
101
+ """Gets the ligands of this ShowCpiJobResponse.
102
+
103
+ 小分子
104
+
105
+ :return: The ligands of this ShowCpiJobResponse.
106
+ :rtype: list[:class:`huaweicloudsdkeihealth.v1.MoleculeFileDto`]
107
+ """
108
+ return self._ligands
109
+
110
+ @ligands.setter
111
+ def ligands(self, ligands):
112
+ """Sets the ligands of this ShowCpiJobResponse.
113
+
114
+ 小分子
115
+
116
+ :param ligands: The ligands of this ShowCpiJobResponse.
117
+ :type ligands: list[:class:`huaweicloudsdkeihealth.v1.MoleculeFileDto`]
118
+ """
119
+ self._ligands = ligands
120
+
121
+ def to_dict(self):
122
+ """Returns the model properties as a dict"""
123
+ result = {}
124
+
125
+ for attr, _ in six.iteritems(self.openapi_types):
126
+ value = getattr(self, attr)
127
+ if isinstance(value, list):
128
+ result[attr] = list(map(
129
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
130
+ value
131
+ ))
132
+ elif hasattr(value, "to_dict"):
133
+ result[attr] = value.to_dict()
134
+ elif isinstance(value, dict):
135
+ result[attr] = dict(map(
136
+ lambda item: (item[0], item[1].to_dict())
137
+ if hasattr(item[1], "to_dict") else item,
138
+ value.items()
139
+ ))
140
+ else:
141
+ if attr in self.sensitive_list:
142
+ result[attr] = "****"
143
+ else:
144
+ result[attr] = value
145
+
146
+ return result
147
+
148
+ def to_str(self):
149
+ """Returns the string representation of the model"""
150
+ import simplejson as json
151
+ if six.PY2:
152
+ import sys
153
+ reload(sys)
154
+ sys.setdefaultencoding("utf-8")
155
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
156
+
157
+ def __repr__(self):
158
+ """For `print`"""
159
+ return self.to_str()
160
+
161
+ def __eq__(self, other):
162
+ """Returns true if both objects are equal"""
163
+ if not isinstance(other, ShowCpiJobResponse):
164
+ return False
165
+
166
+ return self.__dict__ == other.__dict__
167
+
168
+ def __ne__(self, other):
169
+ """Returns true if both objects are not equal"""
170
+ return not self == other
@@ -21,6 +21,7 @@ class ShowDockingJobResponse(SdkResponse):
21
21
  'basic_info': 'DrugJobDto',
22
22
  'receptors': 'list[DockingReceptorDto]',
23
23
  'ligands': 'list[LigandDto]',
24
+ 'engine': 'str',
24
25
  'job_result': 'JobResult',
25
26
  'part_failed_reason': 'list[FailedReasonRecord]',
26
27
  'cluster_result': 'ClusterJobRsp'
@@ -30,12 +31,13 @@ class ShowDockingJobResponse(SdkResponse):
30
31
  'basic_info': 'basic_info',
31
32
  'receptors': 'receptors',
32
33
  'ligands': 'ligands',
34
+ 'engine': 'engine',
33
35
  'job_result': 'job_result',
34
36
  'part_failed_reason': 'part_failed_reason',
35
37
  'cluster_result': 'cluster_result'
36
38
  }
37
39
 
38
- def __init__(self, basic_info=None, receptors=None, ligands=None, job_result=None, part_failed_reason=None, cluster_result=None):
40
+ def __init__(self, basic_info=None, receptors=None, ligands=None, engine=None, job_result=None, part_failed_reason=None, cluster_result=None):
39
41
  """ShowDockingJobResponse
40
42
 
41
43
  The model defined in huaweicloud sdk
@@ -46,6 +48,8 @@ class ShowDockingJobResponse(SdkResponse):
46
48
  :type receptors: list[:class:`huaweicloudsdkeihealth.v1.DockingReceptorDto`]
47
49
  :param ligands: 配体文件列表,当前仅支持1个
48
50
  :type ligands: list[:class:`huaweicloudsdkeihealth.v1.LigandDto`]
51
+ :param engine: 引擎
52
+ :type engine: str
49
53
  :param job_result:
50
54
  :type job_result: :class:`huaweicloudsdkeihealth.v1.JobResult`
51
55
  :param part_failed_reason: 部分失败原因和数量
@@ -59,6 +63,7 @@ class ShowDockingJobResponse(SdkResponse):
59
63
  self._basic_info = None
60
64
  self._receptors = None
61
65
  self._ligands = None
66
+ self._engine = None
62
67
  self._job_result = None
63
68
  self._part_failed_reason = None
64
69
  self._cluster_result = None
@@ -70,6 +75,8 @@ class ShowDockingJobResponse(SdkResponse):
70
75
  self.receptors = receptors
71
76
  if ligands is not None:
72
77
  self.ligands = ligands
78
+ if engine is not None:
79
+ self.engine = engine
73
80
  if job_result is not None:
74
81
  self.job_result = job_result
75
82
  if part_failed_reason is not None:
@@ -139,6 +146,28 @@ class ShowDockingJobResponse(SdkResponse):
139
146
  """
140
147
  self._ligands = ligands
141
148
 
149
+ @property
150
+ def engine(self):
151
+ """Gets the engine of this ShowDockingJobResponse.
152
+
153
+ 引擎
154
+
155
+ :return: The engine of this ShowDockingJobResponse.
156
+ :rtype: str
157
+ """
158
+ return self._engine
159
+
160
+ @engine.setter
161
+ def engine(self, engine):
162
+ """Sets the engine of this ShowDockingJobResponse.
163
+
164
+ 引擎
165
+
166
+ :param engine: The engine of this ShowDockingJobResponse.
167
+ :type engine: str
168
+ """
169
+ self._engine = engine
170
+
142
171
  @property
143
172
  def job_result(self):
144
173
  """Gets the job_result of this ShowDockingJobResponse.
@@ -20,6 +20,7 @@ class ShowFepJobResponse(SdkResponse):
20
20
  openapi_types = {
21
21
  'basic_info': 'DrugJobDto',
22
22
  'receptor': 'ReceptorDrugFile',
23
+ 'add_membrane': 'bool',
23
24
  'ligands': 'list[LigandPreviewDto]',
24
25
  'graph': 'FepGraphDto',
25
26
  'params': 'FepParamDto',
@@ -30,6 +31,7 @@ class ShowFepJobResponse(SdkResponse):
30
31
  attribute_map = {
31
32
  'basic_info': 'basic_info',
32
33
  'receptor': 'receptor',
34
+ 'add_membrane': 'add_membrane',
33
35
  'ligands': 'ligands',
34
36
  'graph': 'graph',
35
37
  'params': 'params',
@@ -37,7 +39,7 @@ class ShowFepJobResponse(SdkResponse):
37
39
  'part_failed_reason': 'part_failed_reason'
38
40
  }
39
41
 
40
- def __init__(self, basic_info=None, receptor=None, ligands=None, graph=None, params=None, job_result=None, part_failed_reason=None):
42
+ def __init__(self, basic_info=None, receptor=None, add_membrane=None, ligands=None, graph=None, params=None, job_result=None, part_failed_reason=None):
41
43
  """ShowFepJobResponse
42
44
 
43
45
  The model defined in huaweicloud sdk
@@ -46,6 +48,8 @@ class ShowFepJobResponse(SdkResponse):
46
48
  :type basic_info: :class:`huaweicloudsdkeihealth.v1.DrugJobDto`
47
49
  :param receptor:
48
50
  :type receptor: :class:`huaweicloudsdkeihealth.v1.ReceptorDrugFile`
51
+ :param add_membrane: 是否加膜处理
52
+ :type add_membrane: bool
49
53
  :param ligands: 配体列表
50
54
  :type ligands: list[:class:`huaweicloudsdkeihealth.v1.LigandPreviewDto`]
51
55
  :param graph:
@@ -62,6 +66,7 @@ class ShowFepJobResponse(SdkResponse):
62
66
 
63
67
  self._basic_info = None
64
68
  self._receptor = None
69
+ self._add_membrane = None
65
70
  self._ligands = None
66
71
  self._graph = None
67
72
  self._params = None
@@ -73,6 +78,8 @@ class ShowFepJobResponse(SdkResponse):
73
78
  self.basic_info = basic_info
74
79
  if receptor is not None:
75
80
  self.receptor = receptor
81
+ if add_membrane is not None:
82
+ self.add_membrane = add_membrane
76
83
  if ligands is not None:
77
84
  self.ligands = ligands
78
85
  if graph is not None:
@@ -120,6 +127,28 @@ class ShowFepJobResponse(SdkResponse):
120
127
  """
121
128
  self._receptor = receptor
122
129
 
130
+ @property
131
+ def add_membrane(self):
132
+ """Gets the add_membrane of this ShowFepJobResponse.
133
+
134
+ 是否加膜处理
135
+
136
+ :return: The add_membrane of this ShowFepJobResponse.
137
+ :rtype: bool
138
+ """
139
+ return self._add_membrane
140
+
141
+ @add_membrane.setter
142
+ def add_membrane(self, add_membrane):
143
+ """Sets the add_membrane of this ShowFepJobResponse.
144
+
145
+ 是否加膜处理
146
+
147
+ :param add_membrane: The add_membrane of this ShowFepJobResponse.
148
+ :type add_membrane: bool
149
+ """
150
+ self._add_membrane = add_membrane
151
+
123
152
  @property
124
153
  def ligands(self):
125
154
  """Gets the ligands of this ShowFepJobResponse.