huaweicloudsdkeihealth 3.1.93__py2.py3-none-any.whl → 3.1.95__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 +44 -0
- huaweicloudsdkeihealth/v1/eihealth_async_client.py +1057 -52
- huaweicloudsdkeihealth/v1/eihealth_client.py +1057 -52
- huaweicloudsdkeihealth/v1/model/__init__.py +44 -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/bind_site_dto.py +30 -1
- 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_drug_database_request.py +111 -0
- huaweicloudsdkeihealth/v1/model/create_drug_database_response.py +116 -0
- 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_optm_job_req.py +30 -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/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/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/get_archive_config_rsp.py +3 -32
- 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 +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/search_type.py +88 -0
- huaweicloudsdkeihealth/v1/model/show_mol_batch_download_task_request.py +142 -0
- huaweicloudsdkeihealth/v1/model/show_mol_batch_download_task_response.py +174 -0
- huaweicloudsdkeihealth/v1/model/show_optm_job_response.py +30 -1
- huaweicloudsdkeihealth/v1/model/show_search_job_request.py +142 -0
- huaweicloudsdkeihealth/v1/model/show_search_job_response.py +340 -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-3.1.93.dist-info → huaweicloudsdkeihealth-3.1.95.dist-info}/METADATA +2 -2
- {huaweicloudsdkeihealth-3.1.93.dist-info → huaweicloudsdkeihealth-3.1.95.dist-info}/RECORD +60 -16
- {huaweicloudsdkeihealth-3.1.93.dist-info → huaweicloudsdkeihealth-3.1.95.dist-info}/LICENSE +0 -0
- {huaweicloudsdkeihealth-3.1.93.dist-info → huaweicloudsdkeihealth-3.1.95.dist-info}/WHEEL +0 -0
- {huaweicloudsdkeihealth-3.1.93.dist-info → huaweicloudsdkeihealth-3.1.95.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,202 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CssClusterDto:
|
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
|
+
'name': 'str',
|
22
|
+
'storage': 'int',
|
23
|
+
'import_time': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'id': 'id',
|
28
|
+
'name': 'name',
|
29
|
+
'storage': 'storage',
|
30
|
+
'import_time': 'import_time'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, id=None, name=None, storage=None, import_time=None):
|
34
|
+
"""CssClusterDto
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param id: 已绑定的集群id
|
39
|
+
:type id: str
|
40
|
+
:param name: css集群名称
|
41
|
+
:type name: str
|
42
|
+
:param storage: css集群总存储
|
43
|
+
:type storage: int
|
44
|
+
:param import_time: css集群导入时间
|
45
|
+
:type import_time: str
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._id = None
|
51
|
+
self._name = None
|
52
|
+
self._storage = None
|
53
|
+
self._import_time = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
if id is not None:
|
57
|
+
self.id = id
|
58
|
+
if name is not None:
|
59
|
+
self.name = name
|
60
|
+
if storage is not None:
|
61
|
+
self.storage = storage
|
62
|
+
if import_time is not None:
|
63
|
+
self.import_time = import_time
|
64
|
+
|
65
|
+
@property
|
66
|
+
def id(self):
|
67
|
+
"""Gets the id of this CssClusterDto.
|
68
|
+
|
69
|
+
已绑定的集群id
|
70
|
+
|
71
|
+
:return: The id of this CssClusterDto.
|
72
|
+
:rtype: str
|
73
|
+
"""
|
74
|
+
return self._id
|
75
|
+
|
76
|
+
@id.setter
|
77
|
+
def id(self, id):
|
78
|
+
"""Sets the id of this CssClusterDto.
|
79
|
+
|
80
|
+
已绑定的集群id
|
81
|
+
|
82
|
+
:param id: The id of this CssClusterDto.
|
83
|
+
:type id: str
|
84
|
+
"""
|
85
|
+
self._id = id
|
86
|
+
|
87
|
+
@property
|
88
|
+
def name(self):
|
89
|
+
"""Gets the name of this CssClusterDto.
|
90
|
+
|
91
|
+
css集群名称
|
92
|
+
|
93
|
+
:return: The name of this CssClusterDto.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._name
|
97
|
+
|
98
|
+
@name.setter
|
99
|
+
def name(self, name):
|
100
|
+
"""Sets the name of this CssClusterDto.
|
101
|
+
|
102
|
+
css集群名称
|
103
|
+
|
104
|
+
:param name: The name of this CssClusterDto.
|
105
|
+
:type name: str
|
106
|
+
"""
|
107
|
+
self._name = name
|
108
|
+
|
109
|
+
@property
|
110
|
+
def storage(self):
|
111
|
+
"""Gets the storage of this CssClusterDto.
|
112
|
+
|
113
|
+
css集群总存储
|
114
|
+
|
115
|
+
:return: The storage of this CssClusterDto.
|
116
|
+
:rtype: int
|
117
|
+
"""
|
118
|
+
return self._storage
|
119
|
+
|
120
|
+
@storage.setter
|
121
|
+
def storage(self, storage):
|
122
|
+
"""Sets the storage of this CssClusterDto.
|
123
|
+
|
124
|
+
css集群总存储
|
125
|
+
|
126
|
+
:param storage: The storage of this CssClusterDto.
|
127
|
+
:type storage: int
|
128
|
+
"""
|
129
|
+
self._storage = storage
|
130
|
+
|
131
|
+
@property
|
132
|
+
def import_time(self):
|
133
|
+
"""Gets the import_time of this CssClusterDto.
|
134
|
+
|
135
|
+
css集群导入时间
|
136
|
+
|
137
|
+
:return: The import_time of this CssClusterDto.
|
138
|
+
:rtype: str
|
139
|
+
"""
|
140
|
+
return self._import_time
|
141
|
+
|
142
|
+
@import_time.setter
|
143
|
+
def import_time(self, import_time):
|
144
|
+
"""Sets the import_time of this CssClusterDto.
|
145
|
+
|
146
|
+
css集群导入时间
|
147
|
+
|
148
|
+
:param import_time: The import_time of this CssClusterDto.
|
149
|
+
:type import_time: str
|
150
|
+
"""
|
151
|
+
self._import_time = import_time
|
152
|
+
|
153
|
+
def to_dict(self):
|
154
|
+
"""Returns the model properties as a dict"""
|
155
|
+
result = {}
|
156
|
+
|
157
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
158
|
+
value = getattr(self, attr)
|
159
|
+
if isinstance(value, list):
|
160
|
+
result[attr] = list(map(
|
161
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
162
|
+
value
|
163
|
+
))
|
164
|
+
elif hasattr(value, "to_dict"):
|
165
|
+
result[attr] = value.to_dict()
|
166
|
+
elif isinstance(value, dict):
|
167
|
+
result[attr] = dict(map(
|
168
|
+
lambda item: (item[0], item[1].to_dict())
|
169
|
+
if hasattr(item[1], "to_dict") else item,
|
170
|
+
value.items()
|
171
|
+
))
|
172
|
+
else:
|
173
|
+
if attr in self.sensitive_list:
|
174
|
+
result[attr] = "****"
|
175
|
+
else:
|
176
|
+
result[attr] = value
|
177
|
+
|
178
|
+
return result
|
179
|
+
|
180
|
+
def to_str(self):
|
181
|
+
"""Returns the string representation of the model"""
|
182
|
+
import simplejson as json
|
183
|
+
if six.PY2:
|
184
|
+
import sys
|
185
|
+
reload(sys)
|
186
|
+
sys.setdefaultencoding("utf-8")
|
187
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
188
|
+
|
189
|
+
def __repr__(self):
|
190
|
+
"""For `print`"""
|
191
|
+
return self.to_str()
|
192
|
+
|
193
|
+
def __eq__(self, other):
|
194
|
+
"""Returns true if both objects are equal"""
|
195
|
+
if not isinstance(other, CssClusterDto):
|
196
|
+
return False
|
197
|
+
|
198
|
+
return self.__dict__ == other.__dict__
|
199
|
+
|
200
|
+
def __ne__(self, other):
|
201
|
+
"""Returns true if both objects are not equal"""
|
202
|
+
return not self == other
|
@@ -0,0 +1,167 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class DatabaseFile:
|
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
|
+
'source': 'DatabaseFileSource',
|
21
|
+
'url': 'str',
|
22
|
+
'eihealth_project_id': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'source': 'source',
|
27
|
+
'url': 'url',
|
28
|
+
'eihealth_project_id': 'eihealth_project_id'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, source=None, url=None, eihealth_project_id=None):
|
32
|
+
"""DatabaseFile
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param source:
|
37
|
+
:type source: :class:`huaweicloudsdkeihealth.v1.DatabaseFileSource`
|
38
|
+
:param url: 文件URL,用户私有数据中心为项目路径、公共数据场景为obs地址
|
39
|
+
:type url: str
|
40
|
+
:param eihealth_project_id: 数据库文件所在项目id,仅文件为数据中心时填写
|
41
|
+
:type eihealth_project_id: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._source = None
|
47
|
+
self._url = None
|
48
|
+
self._eihealth_project_id = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.source = source
|
52
|
+
self.url = url
|
53
|
+
if eihealth_project_id is not None:
|
54
|
+
self.eihealth_project_id = eihealth_project_id
|
55
|
+
|
56
|
+
@property
|
57
|
+
def source(self):
|
58
|
+
"""Gets the source of this DatabaseFile.
|
59
|
+
|
60
|
+
:return: The source of this DatabaseFile.
|
61
|
+
:rtype: :class:`huaweicloudsdkeihealth.v1.DatabaseFileSource`
|
62
|
+
"""
|
63
|
+
return self._source
|
64
|
+
|
65
|
+
@source.setter
|
66
|
+
def source(self, source):
|
67
|
+
"""Sets the source of this DatabaseFile.
|
68
|
+
|
69
|
+
:param source: The source of this DatabaseFile.
|
70
|
+
:type source: :class:`huaweicloudsdkeihealth.v1.DatabaseFileSource`
|
71
|
+
"""
|
72
|
+
self._source = source
|
73
|
+
|
74
|
+
@property
|
75
|
+
def url(self):
|
76
|
+
"""Gets the url of this DatabaseFile.
|
77
|
+
|
78
|
+
文件URL,用户私有数据中心为项目路径、公共数据场景为obs地址
|
79
|
+
|
80
|
+
:return: The url of this DatabaseFile.
|
81
|
+
:rtype: str
|
82
|
+
"""
|
83
|
+
return self._url
|
84
|
+
|
85
|
+
@url.setter
|
86
|
+
def url(self, url):
|
87
|
+
"""Sets the url of this DatabaseFile.
|
88
|
+
|
89
|
+
文件URL,用户私有数据中心为项目路径、公共数据场景为obs地址
|
90
|
+
|
91
|
+
:param url: The url of this DatabaseFile.
|
92
|
+
:type url: str
|
93
|
+
"""
|
94
|
+
self._url = url
|
95
|
+
|
96
|
+
@property
|
97
|
+
def eihealth_project_id(self):
|
98
|
+
"""Gets the eihealth_project_id of this DatabaseFile.
|
99
|
+
|
100
|
+
数据库文件所在项目id,仅文件为数据中心时填写
|
101
|
+
|
102
|
+
:return: The eihealth_project_id of this DatabaseFile.
|
103
|
+
:rtype: str
|
104
|
+
"""
|
105
|
+
return self._eihealth_project_id
|
106
|
+
|
107
|
+
@eihealth_project_id.setter
|
108
|
+
def eihealth_project_id(self, eihealth_project_id):
|
109
|
+
"""Sets the eihealth_project_id of this DatabaseFile.
|
110
|
+
|
111
|
+
数据库文件所在项目id,仅文件为数据中心时填写
|
112
|
+
|
113
|
+
:param eihealth_project_id: The eihealth_project_id of this DatabaseFile.
|
114
|
+
:type eihealth_project_id: str
|
115
|
+
"""
|
116
|
+
self._eihealth_project_id = eihealth_project_id
|
117
|
+
|
118
|
+
def to_dict(self):
|
119
|
+
"""Returns the model properties as a dict"""
|
120
|
+
result = {}
|
121
|
+
|
122
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
123
|
+
value = getattr(self, attr)
|
124
|
+
if isinstance(value, list):
|
125
|
+
result[attr] = list(map(
|
126
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
127
|
+
value
|
128
|
+
))
|
129
|
+
elif hasattr(value, "to_dict"):
|
130
|
+
result[attr] = value.to_dict()
|
131
|
+
elif isinstance(value, dict):
|
132
|
+
result[attr] = dict(map(
|
133
|
+
lambda item: (item[0], item[1].to_dict())
|
134
|
+
if hasattr(item[1], "to_dict") else item,
|
135
|
+
value.items()
|
136
|
+
))
|
137
|
+
else:
|
138
|
+
if attr in self.sensitive_list:
|
139
|
+
result[attr] = "****"
|
140
|
+
else:
|
141
|
+
result[attr] = value
|
142
|
+
|
143
|
+
return result
|
144
|
+
|
145
|
+
def to_str(self):
|
146
|
+
"""Returns the string representation of the model"""
|
147
|
+
import simplejson as json
|
148
|
+
if six.PY2:
|
149
|
+
import sys
|
150
|
+
reload(sys)
|
151
|
+
sys.setdefaultencoding("utf-8")
|
152
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
153
|
+
|
154
|
+
def __repr__(self):
|
155
|
+
"""For `print`"""
|
156
|
+
return self.to_str()
|
157
|
+
|
158
|
+
def __eq__(self, other):
|
159
|
+
"""Returns true if both objects are equal"""
|
160
|
+
if not isinstance(other, DatabaseFile):
|
161
|
+
return False
|
162
|
+
|
163
|
+
return self.__dict__ == other.__dict__
|
164
|
+
|
165
|
+
def __ne__(self, other):
|
166
|
+
"""Returns true if both objects are not equal"""
|
167
|
+
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 DatabaseFileSource:
|
9
|
+
"""
|
10
|
+
allowed enum values
|
11
|
+
"""
|
12
|
+
PUBLIC = "public"
|
13
|
+
PRIVATE = "private"
|
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
|
+
"""DatabaseFileSource
|
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, DatabaseFileSource):
|
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,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class DeleteCssClusterRequest:
|
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
|
+
'css_cluster_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'css_cluster_id': 'css_cluster_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, css_cluster_id=None):
|
28
|
+
"""DeleteCssClusterRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param css_cluster_id: css集群id
|
33
|
+
:type css_cluster_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._css_cluster_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.css_cluster_id = css_cluster_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def css_cluster_id(self):
|
45
|
+
"""Gets the css_cluster_id of this DeleteCssClusterRequest.
|
46
|
+
|
47
|
+
css集群id
|
48
|
+
|
49
|
+
:return: The css_cluster_id of this DeleteCssClusterRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._css_cluster_id
|
53
|
+
|
54
|
+
@css_cluster_id.setter
|
55
|
+
def css_cluster_id(self, css_cluster_id):
|
56
|
+
"""Sets the css_cluster_id of this DeleteCssClusterRequest.
|
57
|
+
|
58
|
+
css集群id
|
59
|
+
|
60
|
+
:param css_cluster_id: The css_cluster_id of this DeleteCssClusterRequest.
|
61
|
+
:type css_cluster_id: str
|
62
|
+
"""
|
63
|
+
self._css_cluster_id = css_cluster_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, DeleteCssClusterRequest):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|
@@ -0,0 +1,85 @@
|
|
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 DeleteCssClusterResponse(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
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
}
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
"""DeleteCssClusterResponse
|
28
|
+
|
29
|
+
The model defined in huaweicloud sdk
|
30
|
+
|
31
|
+
"""
|
32
|
+
|
33
|
+
super(DeleteCssClusterResponse, self).__init__()
|
34
|
+
self.discriminator = None
|
35
|
+
|
36
|
+
def to_dict(self):
|
37
|
+
"""Returns the model properties as a dict"""
|
38
|
+
result = {}
|
39
|
+
|
40
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
41
|
+
value = getattr(self, attr)
|
42
|
+
if isinstance(value, list):
|
43
|
+
result[attr] = list(map(
|
44
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
45
|
+
value
|
46
|
+
))
|
47
|
+
elif hasattr(value, "to_dict"):
|
48
|
+
result[attr] = value.to_dict()
|
49
|
+
elif isinstance(value, dict):
|
50
|
+
result[attr] = dict(map(
|
51
|
+
lambda item: (item[0], item[1].to_dict())
|
52
|
+
if hasattr(item[1], "to_dict") else item,
|
53
|
+
value.items()
|
54
|
+
))
|
55
|
+
else:
|
56
|
+
if attr in self.sensitive_list:
|
57
|
+
result[attr] = "****"
|
58
|
+
else:
|
59
|
+
result[attr] = value
|
60
|
+
|
61
|
+
return result
|
62
|
+
|
63
|
+
def to_str(self):
|
64
|
+
"""Returns the string representation of the model"""
|
65
|
+
import simplejson as json
|
66
|
+
if six.PY2:
|
67
|
+
import sys
|
68
|
+
reload(sys)
|
69
|
+
sys.setdefaultencoding("utf-8")
|
70
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
71
|
+
|
72
|
+
def __repr__(self):
|
73
|
+
"""For `print`"""
|
74
|
+
return self.to_str()
|
75
|
+
|
76
|
+
def __eq__(self, other):
|
77
|
+
"""Returns true if both objects are equal"""
|
78
|
+
if not isinstance(other, DeleteCssClusterResponse):
|
79
|
+
return False
|
80
|
+
|
81
|
+
return self.__dict__ == other.__dict__
|
82
|
+
|
83
|
+
def __ne__(self, other):
|
84
|
+
"""Returns true if both objects are not equal"""
|
85
|
+
return not self == other
|