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,199 @@
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 ShowMolBatchDownloadTaskResponse(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
+ 'status': 'str',
22
+ 'filename': 'str',
23
+ 'out_dir': 'str',
24
+ 'progress': 'TaskProgress'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'status': 'status',
29
+ 'filename': 'filename',
30
+ 'out_dir': 'out_dir',
31
+ 'progress': 'progress'
32
+ }
33
+
34
+ def __init__(self, status=None, filename=None, out_dir=None, progress=None):
35
+ """ShowMolBatchDownloadTaskResponse
36
+
37
+ The model defined in huaweicloud sdk
38
+
39
+ :param status: 任务状态:WAITING、RUNNING、FINISHED、CANCELLED、ABNORMAL、FAILED
40
+ :type status: str
41
+ :param filename: 下载文件名
42
+ :type filename: str
43
+ :param out_dir: 下载路径
44
+ :type out_dir: str
45
+ :param progress:
46
+ :type progress: :class:`huaweicloudsdkeihealth.v1.TaskProgress`
47
+ """
48
+
49
+ super(ShowMolBatchDownloadTaskResponse, self).__init__()
50
+
51
+ self._status = None
52
+ self._filename = None
53
+ self._out_dir = None
54
+ self._progress = None
55
+ self.discriminator = None
56
+
57
+ if status is not None:
58
+ self.status = status
59
+ if filename is not None:
60
+ self.filename = filename
61
+ if out_dir is not None:
62
+ self.out_dir = out_dir
63
+ if progress is not None:
64
+ self.progress = progress
65
+
66
+ @property
67
+ def status(self):
68
+ """Gets the status of this ShowMolBatchDownloadTaskResponse.
69
+
70
+ 任务状态:WAITING、RUNNING、FINISHED、CANCELLED、ABNORMAL、FAILED
71
+
72
+ :return: The status of this ShowMolBatchDownloadTaskResponse.
73
+ :rtype: str
74
+ """
75
+ return self._status
76
+
77
+ @status.setter
78
+ def status(self, status):
79
+ """Sets the status of this ShowMolBatchDownloadTaskResponse.
80
+
81
+ 任务状态:WAITING、RUNNING、FINISHED、CANCELLED、ABNORMAL、FAILED
82
+
83
+ :param status: The status of this ShowMolBatchDownloadTaskResponse.
84
+ :type status: str
85
+ """
86
+ self._status = status
87
+
88
+ @property
89
+ def filename(self):
90
+ """Gets the filename of this ShowMolBatchDownloadTaskResponse.
91
+
92
+ 下载文件名
93
+
94
+ :return: The filename of this ShowMolBatchDownloadTaskResponse.
95
+ :rtype: str
96
+ """
97
+ return self._filename
98
+
99
+ @filename.setter
100
+ def filename(self, filename):
101
+ """Sets the filename of this ShowMolBatchDownloadTaskResponse.
102
+
103
+ 下载文件名
104
+
105
+ :param filename: The filename of this ShowMolBatchDownloadTaskResponse.
106
+ :type filename: str
107
+ """
108
+ self._filename = filename
109
+
110
+ @property
111
+ def out_dir(self):
112
+ """Gets the out_dir of this ShowMolBatchDownloadTaskResponse.
113
+
114
+ 下载路径
115
+
116
+ :return: The out_dir of this ShowMolBatchDownloadTaskResponse.
117
+ :rtype: str
118
+ """
119
+ return self._out_dir
120
+
121
+ @out_dir.setter
122
+ def out_dir(self, out_dir):
123
+ """Sets the out_dir of this ShowMolBatchDownloadTaskResponse.
124
+
125
+ 下载路径
126
+
127
+ :param out_dir: The out_dir of this ShowMolBatchDownloadTaskResponse.
128
+ :type out_dir: str
129
+ """
130
+ self._out_dir = out_dir
131
+
132
+ @property
133
+ def progress(self):
134
+ """Gets the progress of this ShowMolBatchDownloadTaskResponse.
135
+
136
+ :return: The progress of this ShowMolBatchDownloadTaskResponse.
137
+ :rtype: :class:`huaweicloudsdkeihealth.v1.TaskProgress`
138
+ """
139
+ return self._progress
140
+
141
+ @progress.setter
142
+ def progress(self, progress):
143
+ """Sets the progress of this ShowMolBatchDownloadTaskResponse.
144
+
145
+ :param progress: The progress of this ShowMolBatchDownloadTaskResponse.
146
+ :type progress: :class:`huaweicloudsdkeihealth.v1.TaskProgress`
147
+ """
148
+ self._progress = progress
149
+
150
+ def to_dict(self):
151
+ """Returns the model properties as a dict"""
152
+ result = {}
153
+
154
+ for attr, _ in six.iteritems(self.openapi_types):
155
+ value = getattr(self, attr)
156
+ if isinstance(value, list):
157
+ result[attr] = list(map(
158
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
159
+ value
160
+ ))
161
+ elif hasattr(value, "to_dict"):
162
+ result[attr] = value.to_dict()
163
+ elif isinstance(value, dict):
164
+ result[attr] = dict(map(
165
+ lambda item: (item[0], item[1].to_dict())
166
+ if hasattr(item[1], "to_dict") else item,
167
+ value.items()
168
+ ))
169
+ else:
170
+ if attr in self.sensitive_list:
171
+ result[attr] = "****"
172
+ else:
173
+ result[attr] = value
174
+
175
+ return result
176
+
177
+ def to_str(self):
178
+ """Returns the string representation of the model"""
179
+ import simplejson as json
180
+ if six.PY2:
181
+ import sys
182
+ reload(sys)
183
+ sys.setdefaultencoding("utf-8")
184
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
185
+
186
+ def __repr__(self):
187
+ """For `print`"""
188
+ return self.to_str()
189
+
190
+ def __eq__(self, other):
191
+ """Returns true if both objects are equal"""
192
+ if not isinstance(other, ShowMolBatchDownloadTaskResponse):
193
+ return False
194
+
195
+ return self.__dict__ == other.__dict__
196
+
197
+ def __ne__(self, other):
198
+ """Returns true if both objects are not equal"""
199
+ return not self == other
@@ -23,9 +23,11 @@ class ShowOptmJobResponse(SdkResponse):
23
23
  'molecule_file': 'DrugFile',
24
24
  'num_trials': 'int',
25
25
  'binding_site': 'BindSiteDto',
26
+ 'binding_sites': 'list[BindSiteDto]',
26
27
  'weak_constraints': 'list[WeakConstraintDto]',
27
28
  'strong_constraints': 'list[StrongConstraintDto]',
28
29
  'sampler_mixin_weight': 'float',
30
+ 'base_model': 'BaseModel',
29
31
  'models': 'list[BasicDrugModel]',
30
32
  'cluster_result': 'ClusterJobRsp'
31
33
  }
@@ -36,14 +38,16 @@ class ShowOptmJobResponse(SdkResponse):
36
38
  'molecule_file': 'molecule_file',
37
39
  'num_trials': 'num_trials',
38
40
  'binding_site': 'binding_site',
41
+ 'binding_sites': 'binding_sites',
39
42
  'weak_constraints': 'weak_constraints',
40
43
  'strong_constraints': 'strong_constraints',
41
44
  'sampler_mixin_weight': 'sampler_mixin_weight',
45
+ 'base_model': 'base_model',
42
46
  'models': 'models',
43
47
  'cluster_result': 'cluster_result'
44
48
  }
45
49
 
46
- def __init__(self, basic_info=None, smiles=None, molecule_file=None, num_trials=None, binding_site=None, weak_constraints=None, strong_constraints=None, sampler_mixin_weight=None, models=None, cluster_result=None):
50
+ def __init__(self, basic_info=None, smiles=None, molecule_file=None, num_trials=None, binding_site=None, binding_sites=None, weak_constraints=None, strong_constraints=None, sampler_mixin_weight=None, base_model=None, models=None, cluster_result=None):
47
51
  """ShowOptmJobResponse
48
52
 
49
53
  The model defined in huaweicloud sdk
@@ -58,12 +62,16 @@ class ShowOptmJobResponse(SdkResponse):
58
62
  :type num_trials: int
59
63
  :param binding_site:
60
64
  :type binding_site: :class:`huaweicloudsdkeihealth.v1.BindSiteDto`
65
+ :param binding_sites: 受体列表和受体是二选一的关系,受体列表优先级最高
66
+ :type binding_sites: list[:class:`huaweicloudsdkeihealth.v1.BindSiteDto`]
61
67
  :param weak_constraints: 弱约束集合
62
68
  :type weak_constraints: list[:class:`huaweicloudsdkeihealth.v1.WeakConstraintDto`]
63
69
  :param strong_constraints: 强约束集合
64
70
  :type strong_constraints: list[:class:`huaweicloudsdkeihealth.v1.StrongConstraintDto`]
65
71
  :param sampler_mixin_weight: 初始化采样权重
66
72
  :type sampler_mixin_weight: float
73
+ :param base_model:
74
+ :type base_model: :class:`huaweicloudsdkeihealth.v1.BaseModel`
67
75
  :param models: 模型列表
68
76
  :type models: list[:class:`huaweicloudsdkeihealth.v1.BasicDrugModel`]
69
77
  :param cluster_result:
@@ -77,9 +85,11 @@ class ShowOptmJobResponse(SdkResponse):
77
85
  self._molecule_file = None
78
86
  self._num_trials = None
79
87
  self._binding_site = None
88
+ self._binding_sites = None
80
89
  self._weak_constraints = None
81
90
  self._strong_constraints = None
82
91
  self._sampler_mixin_weight = None
92
+ self._base_model = None
83
93
  self._models = None
84
94
  self._cluster_result = None
85
95
  self.discriminator = None
@@ -94,12 +104,16 @@ class ShowOptmJobResponse(SdkResponse):
94
104
  self.num_trials = num_trials
95
105
  if binding_site is not None:
96
106
  self.binding_site = binding_site
107
+ if binding_sites is not None:
108
+ self.binding_sites = binding_sites
97
109
  if weak_constraints is not None:
98
110
  self.weak_constraints = weak_constraints
99
111
  if strong_constraints is not None:
100
112
  self.strong_constraints = strong_constraints
101
113
  if sampler_mixin_weight is not None:
102
114
  self.sampler_mixin_weight = sampler_mixin_weight
115
+ if base_model is not None:
116
+ self.base_model = base_model
103
117
  if models is not None:
104
118
  self.models = models
105
119
  if cluster_result is not None:
@@ -203,6 +217,28 @@ class ShowOptmJobResponse(SdkResponse):
203
217
  """
204
218
  self._binding_site = binding_site
205
219
 
220
+ @property
221
+ def binding_sites(self):
222
+ """Gets the binding_sites of this ShowOptmJobResponse.
223
+
224
+ 受体列表和受体是二选一的关系,受体列表优先级最高
225
+
226
+ :return: The binding_sites of this ShowOptmJobResponse.
227
+ :rtype: list[:class:`huaweicloudsdkeihealth.v1.BindSiteDto`]
228
+ """
229
+ return self._binding_sites
230
+
231
+ @binding_sites.setter
232
+ def binding_sites(self, binding_sites):
233
+ """Sets the binding_sites of this ShowOptmJobResponse.
234
+
235
+ 受体列表和受体是二选一的关系,受体列表优先级最高
236
+
237
+ :param binding_sites: The binding_sites of this ShowOptmJobResponse.
238
+ :type binding_sites: list[:class:`huaweicloudsdkeihealth.v1.BindSiteDto`]
239
+ """
240
+ self._binding_sites = binding_sites
241
+
206
242
  @property
207
243
  def weak_constraints(self):
208
244
  """Gets the weak_constraints of this ShowOptmJobResponse.
@@ -269,6 +305,24 @@ class ShowOptmJobResponse(SdkResponse):
269
305
  """
270
306
  self._sampler_mixin_weight = sampler_mixin_weight
271
307
 
308
+ @property
309
+ def base_model(self):
310
+ """Gets the base_model of this ShowOptmJobResponse.
311
+
312
+ :return: The base_model of this ShowOptmJobResponse.
313
+ :rtype: :class:`huaweicloudsdkeihealth.v1.BaseModel`
314
+ """
315
+ return self._base_model
316
+
317
+ @base_model.setter
318
+ def base_model(self, base_model):
319
+ """Sets the base_model of this ShowOptmJobResponse.
320
+
321
+ :param base_model: The base_model of this ShowOptmJobResponse.
322
+ :type base_model: :class:`huaweicloudsdkeihealth.v1.BaseModel`
323
+ """
324
+ self._base_model = base_model
325
+
272
326
  @property
273
327
  def models(self):
274
328
  """Gets the models of this ShowOptmJobResponse.
@@ -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 ShowSearchJobRequest:
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
+ """ShowSearchJobRequest
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 ShowSearchJobRequest.
52
+
53
+ 平台项目ID。
54
+
55
+ :return: The eihealth_project_id of this ShowSearchJobRequest.
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 ShowSearchJobRequest.
63
+
64
+ 平台项目ID。
65
+
66
+ :param eihealth_project_id: The eihealth_project_id of this ShowSearchJobRequest.
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 ShowSearchJobRequest.
74
+
75
+ 作业id
76
+
77
+ :return: The job_id of this ShowSearchJobRequest.
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 ShowSearchJobRequest.
85
+
86
+ 作业id
87
+
88
+ :param job_id: The job_id of this ShowSearchJobRequest.
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, ShowSearchJobRequest):
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