huaweicloudsdkeihealth 3.1.94__py2.py3-none-any.whl → 3.1.96__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 (60) hide show
  1. huaweicloudsdkeihealth/v1/__init__.py +44 -0
  2. huaweicloudsdkeihealth/v1/eihealth_async_client.py +1057 -52
  3. huaweicloudsdkeihealth/v1/eihealth_client.py +1057 -52
  4. huaweicloudsdkeihealth/v1/model/__init__.py +44 -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/bind_site_dto.py +30 -1
  9. huaweicloudsdkeihealth/v1/model/create_css_cluster_req.py +170 -0
  10. huaweicloudsdkeihealth/v1/model/create_css_cluster_request.py +111 -0
  11. huaweicloudsdkeihealth/v1/model/create_css_cluster_response.py +116 -0
  12. huaweicloudsdkeihealth/v1/model/create_database_req2.py +252 -0
  13. huaweicloudsdkeihealth/v1/model/create_drug_database_request.py +111 -0
  14. huaweicloudsdkeihealth/v1/model/create_drug_database_response.py +116 -0
  15. huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_req.py +198 -0
  16. huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_request.py +139 -0
  17. huaweicloudsdkeihealth/v1/model/create_mol_batch_download_task_response.py +116 -0
  18. huaweicloudsdkeihealth/v1/model/create_optm_job_req.py +30 -1
  19. huaweicloudsdkeihealth/v1/model/create_search_job_req.py +308 -0
  20. huaweicloudsdkeihealth/v1/model/create_search_job_request.py +139 -0
  21. huaweicloudsdkeihealth/v1/model/create_search_job_response.py +145 -0
  22. huaweicloudsdkeihealth/v1/model/css_cluster_dto.py +202 -0
  23. huaweicloudsdkeihealth/v1/model/database_file.py +167 -0
  24. huaweicloudsdkeihealth/v1/model/database_file_source.py +88 -0
  25. huaweicloudsdkeihealth/v1/model/delete_css_cluster_request.py +114 -0
  26. huaweicloudsdkeihealth/v1/model/delete_css_cluster_response.py +85 -0
  27. huaweicloudsdkeihealth/v1/model/delete_drug_database_request.py +114 -0
  28. huaweicloudsdkeihealth/v1/model/delete_drug_database_response.py +85 -0
  29. huaweicloudsdkeihealth/v1/model/detail_database_file.py +225 -0
  30. huaweicloudsdkeihealth/v1/model/download_data_req.py +61 -3
  31. huaweicloudsdkeihealth/v1/model/drug_database_dto.py +521 -0
  32. huaweicloudsdkeihealth/v1/model/get_archive_config_rsp.py +3 -32
  33. huaweicloudsdkeihealth/v1/model/list_css_cluster_request.py +144 -0
  34. huaweicloudsdkeihealth/v1/model/list_css_cluster_response.py +145 -0
  35. huaweicloudsdkeihealth/v1/model/list_drug_database_request.py +260 -0
  36. huaweicloudsdkeihealth/v1/model/list_drug_database_response.py +174 -0
  37. huaweicloudsdkeihealth/v1/model/list_term_tenant_css_cluster_request.py +144 -0
  38. huaweicloudsdkeihealth/v1/model/list_term_tenant_css_cluster_response.py +145 -0
  39. huaweicloudsdkeihealth/v1/model/search_type.py +88 -0
  40. huaweicloudsdkeihealth/v1/model/show_mol_batch_download_task_request.py +142 -0
  41. huaweicloudsdkeihealth/v1/model/show_mol_batch_download_task_response.py +174 -0
  42. huaweicloudsdkeihealth/v1/model/show_optm_job_response.py +30 -1
  43. huaweicloudsdkeihealth/v1/model/show_search_job_request.py +142 -0
  44. huaweicloudsdkeihealth/v1/model/show_search_job_response.py +340 -0
  45. huaweicloudsdkeihealth/v1/model/term_tenant_css_cluster_dto.py +173 -0
  46. huaweicloudsdkeihealth/v1/model/update_drug_database_req.py +114 -0
  47. huaweicloudsdkeihealth/v1/model/update_drug_database_request.py +139 -0
  48. huaweicloudsdkeihealth/v1/model/update_drug_database_response.py +85 -0
  49. huaweicloudsdkeihealth/v1/model/update_drug_job_req.py +115 -0
  50. huaweicloudsdkeihealth/v1/model/update_drug_job_request.py +167 -0
  51. huaweicloudsdkeihealth/v1/model/update_drug_job_response.py +85 -0
  52. huaweicloudsdkeihealth/v1/model/upload_data_request.py +1 -175
  53. huaweicloudsdkeihealth/v1/model/upload_data_request_body.py +177 -3
  54. huaweicloudsdkeihealth/v1/model/validate_css_connection_request.py +111 -0
  55. huaweicloudsdkeihealth/v1/model/validate_css_connection_response.py +145 -0
  56. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.96.dist-info}/METADATA +2 -2
  57. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.96.dist-info}/RECORD +60 -16
  58. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.96.dist-info}/LICENSE +0 -0
  59. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.96.dist-info}/WHEEL +0 -0
  60. {huaweicloudsdkeihealth-3.1.94.dist-info → huaweicloudsdkeihealth-3.1.96.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,174 @@
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 ListDrugDatabaseResponse(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
+ 'databases': 'list[DrugDatabaseDto]',
22
+ 'count': 'int',
23
+ 'cur_user_count': 'int'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'databases': 'databases',
28
+ 'count': 'count',
29
+ 'cur_user_count': 'cur_user_count'
30
+ }
31
+
32
+ def __init__(self, databases=None, count=None, cur_user_count=None):
33
+ """ListDrugDatabaseResponse
34
+
35
+ The model defined in huaweicloud sdk
36
+
37
+ :param databases: 数据库列表
38
+ :type databases: list[:class:`huaweicloudsdkeihealth.v1.DrugDatabaseDto`]
39
+ :param count: 数据库总数
40
+ :type count: int
41
+ :param cur_user_count: 当前用户数据库总数
42
+ :type cur_user_count: int
43
+ """
44
+
45
+ super(ListDrugDatabaseResponse, self).__init__()
46
+
47
+ self._databases = None
48
+ self._count = None
49
+ self._cur_user_count = None
50
+ self.discriminator = None
51
+
52
+ if databases is not None:
53
+ self.databases = databases
54
+ if count is not None:
55
+ self.count = count
56
+ if cur_user_count is not None:
57
+ self.cur_user_count = cur_user_count
58
+
59
+ @property
60
+ def databases(self):
61
+ """Gets the databases of this ListDrugDatabaseResponse.
62
+
63
+ 数据库列表
64
+
65
+ :return: The databases of this ListDrugDatabaseResponse.
66
+ :rtype: list[:class:`huaweicloudsdkeihealth.v1.DrugDatabaseDto`]
67
+ """
68
+ return self._databases
69
+
70
+ @databases.setter
71
+ def databases(self, databases):
72
+ """Sets the databases of this ListDrugDatabaseResponse.
73
+
74
+ 数据库列表
75
+
76
+ :param databases: The databases of this ListDrugDatabaseResponse.
77
+ :type databases: list[:class:`huaweicloudsdkeihealth.v1.DrugDatabaseDto`]
78
+ """
79
+ self._databases = databases
80
+
81
+ @property
82
+ def count(self):
83
+ """Gets the count of this ListDrugDatabaseResponse.
84
+
85
+ 数据库总数
86
+
87
+ :return: The count of this ListDrugDatabaseResponse.
88
+ :rtype: int
89
+ """
90
+ return self._count
91
+
92
+ @count.setter
93
+ def count(self, count):
94
+ """Sets the count of this ListDrugDatabaseResponse.
95
+
96
+ 数据库总数
97
+
98
+ :param count: The count of this ListDrugDatabaseResponse.
99
+ :type count: int
100
+ """
101
+ self._count = count
102
+
103
+ @property
104
+ def cur_user_count(self):
105
+ """Gets the cur_user_count of this ListDrugDatabaseResponse.
106
+
107
+ 当前用户数据库总数
108
+
109
+ :return: The cur_user_count of this ListDrugDatabaseResponse.
110
+ :rtype: int
111
+ """
112
+ return self._cur_user_count
113
+
114
+ @cur_user_count.setter
115
+ def cur_user_count(self, cur_user_count):
116
+ """Sets the cur_user_count of this ListDrugDatabaseResponse.
117
+
118
+ 当前用户数据库总数
119
+
120
+ :param cur_user_count: The cur_user_count of this ListDrugDatabaseResponse.
121
+ :type cur_user_count: int
122
+ """
123
+ self._cur_user_count = cur_user_count
124
+
125
+ def to_dict(self):
126
+ """Returns the model properties as a dict"""
127
+ result = {}
128
+
129
+ for attr, _ in six.iteritems(self.openapi_types):
130
+ value = getattr(self, attr)
131
+ if isinstance(value, list):
132
+ result[attr] = list(map(
133
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
134
+ value
135
+ ))
136
+ elif hasattr(value, "to_dict"):
137
+ result[attr] = value.to_dict()
138
+ elif isinstance(value, dict):
139
+ result[attr] = dict(map(
140
+ lambda item: (item[0], item[1].to_dict())
141
+ if hasattr(item[1], "to_dict") else item,
142
+ value.items()
143
+ ))
144
+ else:
145
+ if attr in self.sensitive_list:
146
+ result[attr] = "****"
147
+ else:
148
+ result[attr] = value
149
+
150
+ return result
151
+
152
+ def to_str(self):
153
+ """Returns the string representation of the model"""
154
+ import simplejson as json
155
+ if six.PY2:
156
+ import sys
157
+ reload(sys)
158
+ sys.setdefaultencoding("utf-8")
159
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
160
+
161
+ def __repr__(self):
162
+ """For `print`"""
163
+ return self.to_str()
164
+
165
+ def __eq__(self, other):
166
+ """Returns true if both objects are equal"""
167
+ if not isinstance(other, ListDrugDatabaseResponse):
168
+ return False
169
+
170
+ return self.__dict__ == other.__dict__
171
+
172
+ def __ne__(self, other):
173
+ """Returns true if both objects are not equal"""
174
+ return not self == other
@@ -0,0 +1,144 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListTermTenantCssClusterRequest:
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
+ 'limit': 'int',
21
+ 'offset': 'int'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'limit': 'limit',
26
+ 'offset': 'offset'
27
+ }
28
+
29
+ def __init__(self, limit=None, offset=None):
30
+ """ListTermTenantCssClusterRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param limit: 限制量,单次查询总量,必须由数字组成,默认为100,取值范围[1,1000]
35
+ :type limit: int
36
+ :param offset: 偏移量,查询起始偏移,必须由数字组成,默认为0,取值范围[0,100000000]
37
+ :type offset: int
38
+ """
39
+
40
+
41
+
42
+ self._limit = None
43
+ self._offset = None
44
+ self.discriminator = None
45
+
46
+ if limit is not None:
47
+ self.limit = limit
48
+ if offset is not None:
49
+ self.offset = offset
50
+
51
+ @property
52
+ def limit(self):
53
+ """Gets the limit of this ListTermTenantCssClusterRequest.
54
+
55
+ 限制量,单次查询总量,必须由数字组成,默认为100,取值范围[1,1000]
56
+
57
+ :return: The limit of this ListTermTenantCssClusterRequest.
58
+ :rtype: int
59
+ """
60
+ return self._limit
61
+
62
+ @limit.setter
63
+ def limit(self, limit):
64
+ """Sets the limit of this ListTermTenantCssClusterRequest.
65
+
66
+ 限制量,单次查询总量,必须由数字组成,默认为100,取值范围[1,1000]
67
+
68
+ :param limit: The limit of this ListTermTenantCssClusterRequest.
69
+ :type limit: int
70
+ """
71
+ self._limit = limit
72
+
73
+ @property
74
+ def offset(self):
75
+ """Gets the offset of this ListTermTenantCssClusterRequest.
76
+
77
+ 偏移量,查询起始偏移,必须由数字组成,默认为0,取值范围[0,100000000]
78
+
79
+ :return: The offset of this ListTermTenantCssClusterRequest.
80
+ :rtype: int
81
+ """
82
+ return self._offset
83
+
84
+ @offset.setter
85
+ def offset(self, offset):
86
+ """Sets the offset of this ListTermTenantCssClusterRequest.
87
+
88
+ 偏移量,查询起始偏移,必须由数字组成,默认为0,取值范围[0,100000000]
89
+
90
+ :param offset: The offset of this ListTermTenantCssClusterRequest.
91
+ :type offset: int
92
+ """
93
+ self._offset = offset
94
+
95
+ def to_dict(self):
96
+ """Returns the model properties as a dict"""
97
+ result = {}
98
+
99
+ for attr, _ in six.iteritems(self.openapi_types):
100
+ value = getattr(self, attr)
101
+ if isinstance(value, list):
102
+ result[attr] = list(map(
103
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
104
+ value
105
+ ))
106
+ elif hasattr(value, "to_dict"):
107
+ result[attr] = value.to_dict()
108
+ elif isinstance(value, dict):
109
+ result[attr] = dict(map(
110
+ lambda item: (item[0], item[1].to_dict())
111
+ if hasattr(item[1], "to_dict") else item,
112
+ value.items()
113
+ ))
114
+ else:
115
+ if attr in self.sensitive_list:
116
+ result[attr] = "****"
117
+ else:
118
+ result[attr] = value
119
+
120
+ return result
121
+
122
+ def to_str(self):
123
+ """Returns the string representation of the model"""
124
+ import simplejson as json
125
+ if six.PY2:
126
+ import sys
127
+ reload(sys)
128
+ sys.setdefaultencoding("utf-8")
129
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
130
+
131
+ def __repr__(self):
132
+ """For `print`"""
133
+ return self.to_str()
134
+
135
+ def __eq__(self, other):
136
+ """Returns true if both objects are equal"""
137
+ if not isinstance(other, ListTermTenantCssClusterRequest):
138
+ return False
139
+
140
+ return self.__dict__ == other.__dict__
141
+
142
+ def __ne__(self, other):
143
+ """Returns true if both objects are not equal"""
144
+ 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 ListTermTenantCssClusterResponse(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
+ 'css_clusters': 'list[TermTenantCssClusterDto]',
22
+ 'count': 'int'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'css_clusters': 'css_clusters',
27
+ 'count': 'count'
28
+ }
29
+
30
+ def __init__(self, css_clusters=None, count=None):
31
+ """ListTermTenantCssClusterResponse
32
+
33
+ The model defined in huaweicloud sdk
34
+
35
+ :param css_clusters: 最终租户CSS集群列表
36
+ :type css_clusters: list[:class:`huaweicloudsdkeihealth.v1.TermTenantCssClusterDto`]
37
+ :param count: 最终租户css集群总数
38
+ :type count: int
39
+ """
40
+
41
+ super(ListTermTenantCssClusterResponse, self).__init__()
42
+
43
+ self._css_clusters = None
44
+ self._count = None
45
+ self.discriminator = None
46
+
47
+ if css_clusters is not None:
48
+ self.css_clusters = css_clusters
49
+ if count is not None:
50
+ self.count = count
51
+
52
+ @property
53
+ def css_clusters(self):
54
+ """Gets the css_clusters of this ListTermTenantCssClusterResponse.
55
+
56
+ 最终租户CSS集群列表
57
+
58
+ :return: The css_clusters of this ListTermTenantCssClusterResponse.
59
+ :rtype: list[:class:`huaweicloudsdkeihealth.v1.TermTenantCssClusterDto`]
60
+ """
61
+ return self._css_clusters
62
+
63
+ @css_clusters.setter
64
+ def css_clusters(self, css_clusters):
65
+ """Sets the css_clusters of this ListTermTenantCssClusterResponse.
66
+
67
+ 最终租户CSS集群列表
68
+
69
+ :param css_clusters: The css_clusters of this ListTermTenantCssClusterResponse.
70
+ :type css_clusters: list[:class:`huaweicloudsdkeihealth.v1.TermTenantCssClusterDto`]
71
+ """
72
+ self._css_clusters = css_clusters
73
+
74
+ @property
75
+ def count(self):
76
+ """Gets the count of this ListTermTenantCssClusterResponse.
77
+
78
+ 最终租户css集群总数
79
+
80
+ :return: The count of this ListTermTenantCssClusterResponse.
81
+ :rtype: int
82
+ """
83
+ return self._count
84
+
85
+ @count.setter
86
+ def count(self, count):
87
+ """Sets the count of this ListTermTenantCssClusterResponse.
88
+
89
+ 最终租户css集群总数
90
+
91
+ :param count: The count of this ListTermTenantCssClusterResponse.
92
+ :type count: int
93
+ """
94
+ self._count = count
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, ListTermTenantCssClusterResponse):
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
@@ -0,0 +1,88 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class SearchType:
9
+ """
10
+ allowed enum values
11
+ """
12
+ ECFP_4 = "ECFP_4"
13
+ SCAFFOLD = "SCAFFOLD"
14
+ """
15
+ Attributes:
16
+ openapi_types (dict): The key is attribute name
17
+ and the value is attribute type.
18
+ attribute_map (dict): The key is attribute name
19
+ and the value is json key in definition.
20
+ """
21
+ sensitive_list = []
22
+
23
+ openapi_types = {
24
+ }
25
+
26
+ attribute_map = {
27
+ }
28
+
29
+ def __init__(self):
30
+ """SearchType
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ """
35
+
36
+
37
+ self.discriminator = None
38
+
39
+ def to_dict(self):
40
+ """Returns the model properties as a dict"""
41
+ result = {}
42
+
43
+ for attr, _ in six.iteritems(self.openapi_types):
44
+ value = getattr(self, attr)
45
+ if isinstance(value, list):
46
+ result[attr] = list(map(
47
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
48
+ value
49
+ ))
50
+ elif hasattr(value, "to_dict"):
51
+ result[attr] = value.to_dict()
52
+ elif isinstance(value, dict):
53
+ result[attr] = dict(map(
54
+ lambda item: (item[0], item[1].to_dict())
55
+ if hasattr(item[1], "to_dict") else item,
56
+ value.items()
57
+ ))
58
+ else:
59
+ if attr in self.sensitive_list:
60
+ result[attr] = "****"
61
+ else:
62
+ result[attr] = value
63
+
64
+ return result
65
+
66
+ def to_str(self):
67
+ """Returns the string representation of the model"""
68
+ import simplejson as json
69
+ if six.PY2:
70
+ import sys
71
+ reload(sys)
72
+ sys.setdefaultencoding("utf-8")
73
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
74
+
75
+ def __repr__(self):
76
+ """For `print`"""
77
+ return self.to_str()
78
+
79
+ def __eq__(self, other):
80
+ """Returns true if both objects are equal"""
81
+ if not isinstance(other, SearchType):
82
+ return False
83
+
84
+ return self.__dict__ == other.__dict__
85
+
86
+ def __ne__(self, other):
87
+ """Returns true if both objects are not equal"""
88
+ 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 ShowMolBatchDownloadTaskRequest:
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
+ 'task_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'eihealth_project_id': 'eihealth_project_id',
26
+ 'task_id': 'task_id'
27
+ }
28
+
29
+ def __init__(self, eihealth_project_id=None, task_id=None):
30
+ """ShowMolBatchDownloadTaskRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param eihealth_project_id: 平台项目ID。
35
+ :type eihealth_project_id: str
36
+ :param task_id: 下载任务ID。
37
+ :type task_id: str
38
+ """
39
+
40
+
41
+
42
+ self._eihealth_project_id = None
43
+ self._task_id = None
44
+ self.discriminator = None
45
+
46
+ self.eihealth_project_id = eihealth_project_id
47
+ self.task_id = task_id
48
+
49
+ @property
50
+ def eihealth_project_id(self):
51
+ """Gets the eihealth_project_id of this ShowMolBatchDownloadTaskRequest.
52
+
53
+ 平台项目ID。
54
+
55
+ :return: The eihealth_project_id of this ShowMolBatchDownloadTaskRequest.
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 ShowMolBatchDownloadTaskRequest.
63
+
64
+ 平台项目ID。
65
+
66
+ :param eihealth_project_id: The eihealth_project_id of this ShowMolBatchDownloadTaskRequest.
67
+ :type eihealth_project_id: str
68
+ """
69
+ self._eihealth_project_id = eihealth_project_id
70
+
71
+ @property
72
+ def task_id(self):
73
+ """Gets the task_id of this ShowMolBatchDownloadTaskRequest.
74
+
75
+ 下载任务ID。
76
+
77
+ :return: The task_id of this ShowMolBatchDownloadTaskRequest.
78
+ :rtype: str
79
+ """
80
+ return self._task_id
81
+
82
+ @task_id.setter
83
+ def task_id(self, task_id):
84
+ """Sets the task_id of this ShowMolBatchDownloadTaskRequest.
85
+
86
+ 下载任务ID。
87
+
88
+ :param task_id: The task_id of this ShowMolBatchDownloadTaskRequest.
89
+ :type task_id: str
90
+ """
91
+ self._task_id = task_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, ShowMolBatchDownloadTaskRequest):
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