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
@@ -0,0 +1,376 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class FavoriteDto:
|
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
|
+
'id': 'str',
|
21
|
+
'type': 'str',
|
22
|
+
'user_id': 'str',
|
23
|
+
'user_name': 'str',
|
24
|
+
'create_time': 'str',
|
25
|
+
'resource_id': 'str',
|
26
|
+
'resource_name': 'str',
|
27
|
+
'resource_type': 'str',
|
28
|
+
'display_info': 'str',
|
29
|
+
'location_info': 'str'
|
30
|
+
}
|
31
|
+
|
32
|
+
attribute_map = {
|
33
|
+
'id': 'id',
|
34
|
+
'type': 'type',
|
35
|
+
'user_id': 'user_id',
|
36
|
+
'user_name': 'user_name',
|
37
|
+
'create_time': 'create_time',
|
38
|
+
'resource_id': 'resource_id',
|
39
|
+
'resource_name': 'resource_name',
|
40
|
+
'resource_type': 'resource_type',
|
41
|
+
'display_info': 'display_info',
|
42
|
+
'location_info': 'location_info'
|
43
|
+
}
|
44
|
+
|
45
|
+
def __init__(self, id=None, type=None, user_id=None, user_name=None, create_time=None, resource_id=None, resource_name=None, resource_type=None, display_info=None, location_info=None):
|
46
|
+
"""FavoriteDto
|
47
|
+
|
48
|
+
The model defined in huaweicloud sdk
|
49
|
+
|
50
|
+
:param id: 收藏ID。
|
51
|
+
:type id: str
|
52
|
+
:param type: 收藏类型。
|
53
|
+
:type type: str
|
54
|
+
:param user_id: 收藏者的用户ID。
|
55
|
+
:type user_id: str
|
56
|
+
:param user_name: 收藏者的用户名称。
|
57
|
+
:type user_name: str
|
58
|
+
:param create_time: 收藏时间。
|
59
|
+
:type create_time: str
|
60
|
+
:param resource_id: 资源ID。
|
61
|
+
:type resource_id: str
|
62
|
+
:param resource_name: 资源名称。
|
63
|
+
:type resource_name: str
|
64
|
+
:param resource_type: 资源类型。
|
65
|
+
:type resource_type: str
|
66
|
+
:param display_info: 展示信息。
|
67
|
+
:type display_info: str
|
68
|
+
:param location_info: 定位信息。
|
69
|
+
:type location_info: str
|
70
|
+
"""
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
self._id = None
|
75
|
+
self._type = None
|
76
|
+
self._user_id = None
|
77
|
+
self._user_name = None
|
78
|
+
self._create_time = None
|
79
|
+
self._resource_id = None
|
80
|
+
self._resource_name = None
|
81
|
+
self._resource_type = None
|
82
|
+
self._display_info = None
|
83
|
+
self._location_info = None
|
84
|
+
self.discriminator = None
|
85
|
+
|
86
|
+
if id is not None:
|
87
|
+
self.id = id
|
88
|
+
if type is not None:
|
89
|
+
self.type = type
|
90
|
+
if user_id is not None:
|
91
|
+
self.user_id = user_id
|
92
|
+
if user_name is not None:
|
93
|
+
self.user_name = user_name
|
94
|
+
if create_time is not None:
|
95
|
+
self.create_time = create_time
|
96
|
+
if resource_id is not None:
|
97
|
+
self.resource_id = resource_id
|
98
|
+
if resource_name is not None:
|
99
|
+
self.resource_name = resource_name
|
100
|
+
if resource_type is not None:
|
101
|
+
self.resource_type = resource_type
|
102
|
+
if display_info is not None:
|
103
|
+
self.display_info = display_info
|
104
|
+
if location_info is not None:
|
105
|
+
self.location_info = location_info
|
106
|
+
|
107
|
+
@property
|
108
|
+
def id(self):
|
109
|
+
"""Gets the id of this FavoriteDto.
|
110
|
+
|
111
|
+
收藏ID。
|
112
|
+
|
113
|
+
:return: The id of this FavoriteDto.
|
114
|
+
:rtype: str
|
115
|
+
"""
|
116
|
+
return self._id
|
117
|
+
|
118
|
+
@id.setter
|
119
|
+
def id(self, id):
|
120
|
+
"""Sets the id of this FavoriteDto.
|
121
|
+
|
122
|
+
收藏ID。
|
123
|
+
|
124
|
+
:param id: The id of this FavoriteDto.
|
125
|
+
:type id: str
|
126
|
+
"""
|
127
|
+
self._id = id
|
128
|
+
|
129
|
+
@property
|
130
|
+
def type(self):
|
131
|
+
"""Gets the type of this FavoriteDto.
|
132
|
+
|
133
|
+
收藏类型。
|
134
|
+
|
135
|
+
:return: The type of this FavoriteDto.
|
136
|
+
:rtype: str
|
137
|
+
"""
|
138
|
+
return self._type
|
139
|
+
|
140
|
+
@type.setter
|
141
|
+
def type(self, type):
|
142
|
+
"""Sets the type of this FavoriteDto.
|
143
|
+
|
144
|
+
收藏类型。
|
145
|
+
|
146
|
+
:param type: The type of this FavoriteDto.
|
147
|
+
:type type: str
|
148
|
+
"""
|
149
|
+
self._type = type
|
150
|
+
|
151
|
+
@property
|
152
|
+
def user_id(self):
|
153
|
+
"""Gets the user_id of this FavoriteDto.
|
154
|
+
|
155
|
+
收藏者的用户ID。
|
156
|
+
|
157
|
+
:return: The user_id of this FavoriteDto.
|
158
|
+
:rtype: str
|
159
|
+
"""
|
160
|
+
return self._user_id
|
161
|
+
|
162
|
+
@user_id.setter
|
163
|
+
def user_id(self, user_id):
|
164
|
+
"""Sets the user_id of this FavoriteDto.
|
165
|
+
|
166
|
+
收藏者的用户ID。
|
167
|
+
|
168
|
+
:param user_id: The user_id of this FavoriteDto.
|
169
|
+
:type user_id: str
|
170
|
+
"""
|
171
|
+
self._user_id = user_id
|
172
|
+
|
173
|
+
@property
|
174
|
+
def user_name(self):
|
175
|
+
"""Gets the user_name of this FavoriteDto.
|
176
|
+
|
177
|
+
收藏者的用户名称。
|
178
|
+
|
179
|
+
:return: The user_name of this FavoriteDto.
|
180
|
+
:rtype: str
|
181
|
+
"""
|
182
|
+
return self._user_name
|
183
|
+
|
184
|
+
@user_name.setter
|
185
|
+
def user_name(self, user_name):
|
186
|
+
"""Sets the user_name of this FavoriteDto.
|
187
|
+
|
188
|
+
收藏者的用户名称。
|
189
|
+
|
190
|
+
:param user_name: The user_name of this FavoriteDto.
|
191
|
+
:type user_name: str
|
192
|
+
"""
|
193
|
+
self._user_name = user_name
|
194
|
+
|
195
|
+
@property
|
196
|
+
def create_time(self):
|
197
|
+
"""Gets the create_time of this FavoriteDto.
|
198
|
+
|
199
|
+
收藏时间。
|
200
|
+
|
201
|
+
:return: The create_time of this FavoriteDto.
|
202
|
+
:rtype: str
|
203
|
+
"""
|
204
|
+
return self._create_time
|
205
|
+
|
206
|
+
@create_time.setter
|
207
|
+
def create_time(self, create_time):
|
208
|
+
"""Sets the create_time of this FavoriteDto.
|
209
|
+
|
210
|
+
收藏时间。
|
211
|
+
|
212
|
+
:param create_time: The create_time of this FavoriteDto.
|
213
|
+
:type create_time: str
|
214
|
+
"""
|
215
|
+
self._create_time = create_time
|
216
|
+
|
217
|
+
@property
|
218
|
+
def resource_id(self):
|
219
|
+
"""Gets the resource_id of this FavoriteDto.
|
220
|
+
|
221
|
+
资源ID。
|
222
|
+
|
223
|
+
:return: The resource_id of this FavoriteDto.
|
224
|
+
:rtype: str
|
225
|
+
"""
|
226
|
+
return self._resource_id
|
227
|
+
|
228
|
+
@resource_id.setter
|
229
|
+
def resource_id(self, resource_id):
|
230
|
+
"""Sets the resource_id of this FavoriteDto.
|
231
|
+
|
232
|
+
资源ID。
|
233
|
+
|
234
|
+
:param resource_id: The resource_id of this FavoriteDto.
|
235
|
+
:type resource_id: str
|
236
|
+
"""
|
237
|
+
self._resource_id = resource_id
|
238
|
+
|
239
|
+
@property
|
240
|
+
def resource_name(self):
|
241
|
+
"""Gets the resource_name of this FavoriteDto.
|
242
|
+
|
243
|
+
资源名称。
|
244
|
+
|
245
|
+
:return: The resource_name of this FavoriteDto.
|
246
|
+
:rtype: str
|
247
|
+
"""
|
248
|
+
return self._resource_name
|
249
|
+
|
250
|
+
@resource_name.setter
|
251
|
+
def resource_name(self, resource_name):
|
252
|
+
"""Sets the resource_name of this FavoriteDto.
|
253
|
+
|
254
|
+
资源名称。
|
255
|
+
|
256
|
+
:param resource_name: The resource_name of this FavoriteDto.
|
257
|
+
:type resource_name: str
|
258
|
+
"""
|
259
|
+
self._resource_name = resource_name
|
260
|
+
|
261
|
+
@property
|
262
|
+
def resource_type(self):
|
263
|
+
"""Gets the resource_type of this FavoriteDto.
|
264
|
+
|
265
|
+
资源类型。
|
266
|
+
|
267
|
+
:return: The resource_type of this FavoriteDto.
|
268
|
+
:rtype: str
|
269
|
+
"""
|
270
|
+
return self._resource_type
|
271
|
+
|
272
|
+
@resource_type.setter
|
273
|
+
def resource_type(self, resource_type):
|
274
|
+
"""Sets the resource_type of this FavoriteDto.
|
275
|
+
|
276
|
+
资源类型。
|
277
|
+
|
278
|
+
:param resource_type: The resource_type of this FavoriteDto.
|
279
|
+
:type resource_type: str
|
280
|
+
"""
|
281
|
+
self._resource_type = resource_type
|
282
|
+
|
283
|
+
@property
|
284
|
+
def display_info(self):
|
285
|
+
"""Gets the display_info of this FavoriteDto.
|
286
|
+
|
287
|
+
展示信息。
|
288
|
+
|
289
|
+
:return: The display_info of this FavoriteDto.
|
290
|
+
:rtype: str
|
291
|
+
"""
|
292
|
+
return self._display_info
|
293
|
+
|
294
|
+
@display_info.setter
|
295
|
+
def display_info(self, display_info):
|
296
|
+
"""Sets the display_info of this FavoriteDto.
|
297
|
+
|
298
|
+
展示信息。
|
299
|
+
|
300
|
+
:param display_info: The display_info of this FavoriteDto.
|
301
|
+
:type display_info: str
|
302
|
+
"""
|
303
|
+
self._display_info = display_info
|
304
|
+
|
305
|
+
@property
|
306
|
+
def location_info(self):
|
307
|
+
"""Gets the location_info of this FavoriteDto.
|
308
|
+
|
309
|
+
定位信息。
|
310
|
+
|
311
|
+
:return: The location_info of this FavoriteDto.
|
312
|
+
:rtype: str
|
313
|
+
"""
|
314
|
+
return self._location_info
|
315
|
+
|
316
|
+
@location_info.setter
|
317
|
+
def location_info(self, location_info):
|
318
|
+
"""Sets the location_info of this FavoriteDto.
|
319
|
+
|
320
|
+
定位信息。
|
321
|
+
|
322
|
+
:param location_info: The location_info of this FavoriteDto.
|
323
|
+
:type location_info: str
|
324
|
+
"""
|
325
|
+
self._location_info = location_info
|
326
|
+
|
327
|
+
def to_dict(self):
|
328
|
+
"""Returns the model properties as a dict"""
|
329
|
+
result = {}
|
330
|
+
|
331
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
332
|
+
value = getattr(self, attr)
|
333
|
+
if isinstance(value, list):
|
334
|
+
result[attr] = list(map(
|
335
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
336
|
+
value
|
337
|
+
))
|
338
|
+
elif hasattr(value, "to_dict"):
|
339
|
+
result[attr] = value.to_dict()
|
340
|
+
elif isinstance(value, dict):
|
341
|
+
result[attr] = dict(map(
|
342
|
+
lambda item: (item[0], item[1].to_dict())
|
343
|
+
if hasattr(item[1], "to_dict") else item,
|
344
|
+
value.items()
|
345
|
+
))
|
346
|
+
else:
|
347
|
+
if attr in self.sensitive_list:
|
348
|
+
result[attr] = "****"
|
349
|
+
else:
|
350
|
+
result[attr] = value
|
351
|
+
|
352
|
+
return result
|
353
|
+
|
354
|
+
def to_str(self):
|
355
|
+
"""Returns the string representation of the model"""
|
356
|
+
import simplejson as json
|
357
|
+
if six.PY2:
|
358
|
+
import sys
|
359
|
+
reload(sys)
|
360
|
+
sys.setdefaultencoding("utf-8")
|
361
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
362
|
+
|
363
|
+
def __repr__(self):
|
364
|
+
"""For `print`"""
|
365
|
+
return self.to_str()
|
366
|
+
|
367
|
+
def __eq__(self, other):
|
368
|
+
"""Returns true if both objects are equal"""
|
369
|
+
if not isinstance(other, FavoriteDto):
|
370
|
+
return False
|
371
|
+
|
372
|
+
return self.__dict__ == other.__dict__
|
373
|
+
|
374
|
+
def __ne__(self, other):
|
375
|
+
"""Returns true if both objects are not equal"""
|
376
|
+
return not self == other
|
@@ -18,17 +18,15 @@ class GetArchiveConfigRsp:
|
|
18
18
|
|
19
19
|
openapi_types = {
|
20
20
|
'region_id': 'str',
|
21
|
-
'current_region': 'bool'
|
22
|
-
'bucket_name': 'str'
|
21
|
+
'current_region': 'bool'
|
23
22
|
}
|
24
23
|
|
25
24
|
attribute_map = {
|
26
25
|
'region_id': 'region_id',
|
27
|
-
'current_region': 'current_region'
|
28
|
-
'bucket_name': 'bucket_name'
|
26
|
+
'current_region': 'current_region'
|
29
27
|
}
|
30
28
|
|
31
|
-
def __init__(self, region_id=None, current_region=None
|
29
|
+
def __init__(self, region_id=None, current_region=None):
|
32
30
|
"""GetArchiveConfigRsp
|
33
31
|
|
34
32
|
The model defined in huaweicloud sdk
|
@@ -37,23 +35,18 @@ class GetArchiveConfigRsp:
|
|
37
35
|
:type region_id: str
|
38
36
|
:param current_region: 该区域是否是当前设置的归档区域
|
39
37
|
:type current_region: bool
|
40
|
-
:param bucket_name: 归档桶名称
|
41
|
-
:type bucket_name: str
|
42
38
|
"""
|
43
39
|
|
44
40
|
|
45
41
|
|
46
42
|
self._region_id = None
|
47
43
|
self._current_region = None
|
48
|
-
self._bucket_name = None
|
49
44
|
self.discriminator = None
|
50
45
|
|
51
46
|
if region_id is not None:
|
52
47
|
self.region_id = region_id
|
53
48
|
if current_region is not None:
|
54
49
|
self.current_region = current_region
|
55
|
-
if bucket_name is not None:
|
56
|
-
self.bucket_name = bucket_name
|
57
50
|
|
58
51
|
@property
|
59
52
|
def region_id(self):
|
@@ -99,28 +92,6 @@ class GetArchiveConfigRsp:
|
|
99
92
|
"""
|
100
93
|
self._current_region = current_region
|
101
94
|
|
102
|
-
@property
|
103
|
-
def bucket_name(self):
|
104
|
-
"""Gets the bucket_name of this GetArchiveConfigRsp.
|
105
|
-
|
106
|
-
归档桶名称
|
107
|
-
|
108
|
-
:return: The bucket_name of this GetArchiveConfigRsp.
|
109
|
-
:rtype: str
|
110
|
-
"""
|
111
|
-
return self._bucket_name
|
112
|
-
|
113
|
-
@bucket_name.setter
|
114
|
-
def bucket_name(self, bucket_name):
|
115
|
-
"""Sets the bucket_name of this GetArchiveConfigRsp.
|
116
|
-
|
117
|
-
归档桶名称
|
118
|
-
|
119
|
-
:param bucket_name: The bucket_name of this GetArchiveConfigRsp.
|
120
|
-
:type bucket_name: str
|
121
|
-
"""
|
122
|
-
self._bucket_name = bucket_name
|
123
|
-
|
124
95
|
def to_dict(self):
|
125
96
|
"""Returns the model properties as a dict"""
|
126
97
|
result = {}
|
@@ -0,0 +1,166 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class Interaction:
|
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
|
+
'binding_site': 'str',
|
21
|
+
'type': 'InteractionType',
|
22
|
+
'amino_acid': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'binding_site': 'binding_site',
|
27
|
+
'type': 'type',
|
28
|
+
'amino_acid': 'amino_acid'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, binding_site=None, type=None, amino_acid=None):
|
32
|
+
"""Interaction
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param binding_site: 靶点,只支持target1或target2。
|
37
|
+
:type binding_site: str
|
38
|
+
:param type:
|
39
|
+
:type type: :class:`huaweicloudsdkeihealth.v1.InteractionType`
|
40
|
+
:param amino_acid: 氨基酸
|
41
|
+
:type amino_acid: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._binding_site = None
|
47
|
+
self._type = None
|
48
|
+
self._amino_acid = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.binding_site = binding_site
|
52
|
+
self.type = type
|
53
|
+
self.amino_acid = amino_acid
|
54
|
+
|
55
|
+
@property
|
56
|
+
def binding_site(self):
|
57
|
+
"""Gets the binding_site of this Interaction.
|
58
|
+
|
59
|
+
靶点,只支持target1或target2。
|
60
|
+
|
61
|
+
:return: The binding_site of this Interaction.
|
62
|
+
:rtype: str
|
63
|
+
"""
|
64
|
+
return self._binding_site
|
65
|
+
|
66
|
+
@binding_site.setter
|
67
|
+
def binding_site(self, binding_site):
|
68
|
+
"""Sets the binding_site of this Interaction.
|
69
|
+
|
70
|
+
靶点,只支持target1或target2。
|
71
|
+
|
72
|
+
:param binding_site: The binding_site of this Interaction.
|
73
|
+
:type binding_site: str
|
74
|
+
"""
|
75
|
+
self._binding_site = binding_site
|
76
|
+
|
77
|
+
@property
|
78
|
+
def type(self):
|
79
|
+
"""Gets the type of this Interaction.
|
80
|
+
|
81
|
+
:return: The type of this Interaction.
|
82
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.InteractionType`
|
83
|
+
"""
|
84
|
+
return self._type
|
85
|
+
|
86
|
+
@type.setter
|
87
|
+
def type(self, type):
|
88
|
+
"""Sets the type of this Interaction.
|
89
|
+
|
90
|
+
:param type: The type of this Interaction.
|
91
|
+
:type type: :class:`huaweicloudsdkeihealth.v1.InteractionType`
|
92
|
+
"""
|
93
|
+
self._type = type
|
94
|
+
|
95
|
+
@property
|
96
|
+
def amino_acid(self):
|
97
|
+
"""Gets the amino_acid of this Interaction.
|
98
|
+
|
99
|
+
氨基酸
|
100
|
+
|
101
|
+
:return: The amino_acid of this Interaction.
|
102
|
+
:rtype: str
|
103
|
+
"""
|
104
|
+
return self._amino_acid
|
105
|
+
|
106
|
+
@amino_acid.setter
|
107
|
+
def amino_acid(self, amino_acid):
|
108
|
+
"""Sets the amino_acid of this Interaction.
|
109
|
+
|
110
|
+
氨基酸
|
111
|
+
|
112
|
+
:param amino_acid: The amino_acid of this Interaction.
|
113
|
+
:type amino_acid: str
|
114
|
+
"""
|
115
|
+
self._amino_acid = amino_acid
|
116
|
+
|
117
|
+
def to_dict(self):
|
118
|
+
"""Returns the model properties as a dict"""
|
119
|
+
result = {}
|
120
|
+
|
121
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
122
|
+
value = getattr(self, attr)
|
123
|
+
if isinstance(value, list):
|
124
|
+
result[attr] = list(map(
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
126
|
+
value
|
127
|
+
))
|
128
|
+
elif hasattr(value, "to_dict"):
|
129
|
+
result[attr] = value.to_dict()
|
130
|
+
elif isinstance(value, dict):
|
131
|
+
result[attr] = dict(map(
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
134
|
+
value.items()
|
135
|
+
))
|
136
|
+
else:
|
137
|
+
if attr in self.sensitive_list:
|
138
|
+
result[attr] = "****"
|
139
|
+
else:
|
140
|
+
result[attr] = value
|
141
|
+
|
142
|
+
return result
|
143
|
+
|
144
|
+
def to_str(self):
|
145
|
+
"""Returns the string representation of the model"""
|
146
|
+
import simplejson as json
|
147
|
+
if six.PY2:
|
148
|
+
import sys
|
149
|
+
reload(sys)
|
150
|
+
sys.setdefaultencoding("utf-8")
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
152
|
+
|
153
|
+
def __repr__(self):
|
154
|
+
"""For `print`"""
|
155
|
+
return self.to_str()
|
156
|
+
|
157
|
+
def __eq__(self, other):
|
158
|
+
"""Returns true if both objects are equal"""
|
159
|
+
if not isinstance(other, Interaction):
|
160
|
+
return False
|
161
|
+
|
162
|
+
return self.__dict__ == other.__dict__
|
163
|
+
|
164
|
+
def __ne__(self, other):
|
165
|
+
"""Returns true if both objects are not equal"""
|
166
|
+
return not self == other
|