huaweicloudsdkmssi 3.1.160__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 (57) hide show
  1. huaweicloudsdkmssi/__init__.py +0 -0
  2. huaweicloudsdkmssi/v1/__init__.py +53 -0
  3. huaweicloudsdkmssi/v1/model/__init__.py +50 -0
  4. huaweicloudsdkmssi/v1/model/action_base_info.py +542 -0
  5. huaweicloudsdkmssi/v1/model/api_config.py +115 -0
  6. huaweicloudsdkmssi/v1/model/auth_config_a.py +261 -0
  7. huaweicloudsdkmssi/v1/model/base_connection_info.py +361 -0
  8. huaweicloudsdkmssi/v1/model/connection_info.py +761 -0
  9. huaweicloudsdkmssi/v1/model/connector_info.py +753 -0
  10. huaweicloudsdkmssi/v1/model/connector_info0.py +575 -0
  11. huaweicloudsdkmssi/v1/model/create_connection_info_request.py +111 -0
  12. huaweicloudsdkmssi/v1/model/create_connection_info_response.py +174 -0
  13. huaweicloudsdkmssi/v1/model/create_custom_connector_from_openapi_request.py +111 -0
  14. huaweicloudsdkmssi/v1/model/create_custom_connector_from_openapi_response.py +282 -0
  15. huaweicloudsdkmssi/v1/model/create_flow_request.py +111 -0
  16. huaweicloudsdkmssi/v1/model/create_flow_response.py +203 -0
  17. huaweicloudsdkmssi/v1/model/create_flow_template_from_flow_request.py +139 -0
  18. huaweicloudsdkmssi/v1/model/create_flow_template_from_flow_response.py +203 -0
  19. huaweicloudsdkmssi/v1/model/custom_connector_info_v2.py +244 -0
  20. huaweicloudsdkmssi/v1/model/delete_connection_info_request.py +114 -0
  21. huaweicloudsdkmssi/v1/model/delete_connection_info_response.py +174 -0
  22. huaweicloudsdkmssi/v1/model/delete_custom_connector_request.py +114 -0
  23. huaweicloudsdkmssi/v1/model/delete_custom_connector_response.py +174 -0
  24. huaweicloudsdkmssi/v1/model/delete_flow_request.py +114 -0
  25. huaweicloudsdkmssi/v1/model/delete_flow_response.py +174 -0
  26. huaweicloudsdkmssi/v1/model/flow_meta.py +1114 -0
  27. huaweicloudsdkmssi/v1/model/runtime_permission.py +231 -0
  28. huaweicloudsdkmssi/v1/model/search_flow_by_id_request.py +143 -0
  29. huaweicloudsdkmssi/v1/model/search_flow_by_id_response.py +1115 -0
  30. huaweicloudsdkmssi/v1/model/show_all_connections_request.py +171 -0
  31. huaweicloudsdkmssi/v1/model/show_all_connections_response.py +85 -0
  32. huaweicloudsdkmssi/v1/model/show_all_flows_request.py +258 -0
  33. huaweicloudsdkmssi/v1/model/show_all_flows_response.py +145 -0
  34. huaweicloudsdkmssi/v1/model/show_connectors_request.py +258 -0
  35. huaweicloudsdkmssi/v1/model/show_connectors_response.py +145 -0
  36. huaweicloudsdkmssi/v1/model/show_custom_connector_request.py +114 -0
  37. huaweicloudsdkmssi/v1/model/show_custom_connector_response.py +174 -0
  38. huaweicloudsdkmssi/v1/model/show_custom_connectors_request.py +171 -0
  39. huaweicloudsdkmssi/v1/model/show_custom_connectors_response.py +145 -0
  40. huaweicloudsdkmssi/v1/model/show_single_connection_request.py +114 -0
  41. huaweicloudsdkmssi/v1/model/show_single_connection_response.py +762 -0
  42. huaweicloudsdkmssi/v1/model/tag.py +144 -0
  43. huaweicloudsdkmssi/v1/model/template_message.py +171 -0
  44. huaweicloudsdkmssi/v1/model/trigger_base_info.py +542 -0
  45. huaweicloudsdkmssi/v1/model/update_connection_info_request.py +139 -0
  46. huaweicloudsdkmssi/v1/model/update_connection_info_response.py +174 -0
  47. huaweicloudsdkmssi/v1/model/update_flow_request.py +139 -0
  48. huaweicloudsdkmssi/v1/model/update_flow_response.py +203 -0
  49. huaweicloudsdkmssi/v1/mssi_async_client.py +1157 -0
  50. huaweicloudsdkmssi/v1/mssi_client.py +1154 -0
  51. huaweicloudsdkmssi/v1/region/__init__.py +0 -0
  52. huaweicloudsdkmssi/v1/region/mssi_region.py +31 -0
  53. huaweicloudsdkmssi-3.1.160.dist-info/LICENSE +13 -0
  54. huaweicloudsdkmssi-3.1.160.dist-info/METADATA +26 -0
  55. huaweicloudsdkmssi-3.1.160.dist-info/RECORD +57 -0
  56. huaweicloudsdkmssi-3.1.160.dist-info/WHEEL +5 -0
  57. huaweicloudsdkmssi-3.1.160.dist-info/top_level.txt +1 -0
File without changes
@@ -0,0 +1,53 @@
1
+ # coding: utf-8
2
+
3
+ from __future__ import absolute_import
4
+
5
+ from huaweicloudsdkmssi.v1.mssi_client import MssiClient
6
+ from huaweicloudsdkmssi.v1.mssi_async_client import MssiAsyncClient
7
+
8
+ from huaweicloudsdkmssi.v1.model.action_base_info import ActionBaseInfo
9
+ from huaweicloudsdkmssi.v1.model.api_config import ApiConfig
10
+ from huaweicloudsdkmssi.v1.model.auth_config_a import AuthConfigA
11
+ from huaweicloudsdkmssi.v1.model.base_connection_info import BaseConnectionInfo
12
+ from huaweicloudsdkmssi.v1.model.connection_info import ConnectionInfo
13
+ from huaweicloudsdkmssi.v1.model.connector_info import ConnectorInfo
14
+ from huaweicloudsdkmssi.v1.model.connector_info0 import ConnectorInfo0
15
+ from huaweicloudsdkmssi.v1.model.create_connection_info_request import CreateConnectionInfoRequest
16
+ from huaweicloudsdkmssi.v1.model.create_connection_info_response import CreateConnectionInfoResponse
17
+ from huaweicloudsdkmssi.v1.model.create_custom_connector_from_openapi_request import CreateCustomConnectorFromOpenapiRequest
18
+ from huaweicloudsdkmssi.v1.model.create_custom_connector_from_openapi_response import CreateCustomConnectorFromOpenapiResponse
19
+ from huaweicloudsdkmssi.v1.model.create_flow_request import CreateFlowRequest
20
+ from huaweicloudsdkmssi.v1.model.create_flow_response import CreateFlowResponse
21
+ from huaweicloudsdkmssi.v1.model.create_flow_template_from_flow_request import CreateFlowTemplateFromFlowRequest
22
+ from huaweicloudsdkmssi.v1.model.create_flow_template_from_flow_response import CreateFlowTemplateFromFlowResponse
23
+ from huaweicloudsdkmssi.v1.model.custom_connector_info_v2 import CustomConnectorInfoV2
24
+ from huaweicloudsdkmssi.v1.model.delete_connection_info_request import DeleteConnectionInfoRequest
25
+ from huaweicloudsdkmssi.v1.model.delete_connection_info_response import DeleteConnectionInfoResponse
26
+ from huaweicloudsdkmssi.v1.model.delete_custom_connector_request import DeleteCustomConnectorRequest
27
+ from huaweicloudsdkmssi.v1.model.delete_custom_connector_response import DeleteCustomConnectorResponse
28
+ from huaweicloudsdkmssi.v1.model.delete_flow_request import DeleteFlowRequest
29
+ from huaweicloudsdkmssi.v1.model.delete_flow_response import DeleteFlowResponse
30
+ from huaweicloudsdkmssi.v1.model.flow_meta import FlowMeta
31
+ from huaweicloudsdkmssi.v1.model.runtime_permission import RuntimePermission
32
+ from huaweicloudsdkmssi.v1.model.search_flow_by_id_request import SearchFlowByIdRequest
33
+ from huaweicloudsdkmssi.v1.model.search_flow_by_id_response import SearchFlowByIdResponse
34
+ from huaweicloudsdkmssi.v1.model.show_all_connections_request import ShowAllConnectionsRequest
35
+ from huaweicloudsdkmssi.v1.model.show_all_connections_response import ShowAllConnectionsResponse
36
+ from huaweicloudsdkmssi.v1.model.show_all_flows_request import ShowAllFlowsRequest
37
+ from huaweicloudsdkmssi.v1.model.show_all_flows_response import ShowAllFlowsResponse
38
+ from huaweicloudsdkmssi.v1.model.show_connectors_request import ShowConnectorsRequest
39
+ from huaweicloudsdkmssi.v1.model.show_connectors_response import ShowConnectorsResponse
40
+ from huaweicloudsdkmssi.v1.model.show_custom_connector_request import ShowCustomConnectorRequest
41
+ from huaweicloudsdkmssi.v1.model.show_custom_connector_response import ShowCustomConnectorResponse
42
+ from huaweicloudsdkmssi.v1.model.show_custom_connectors_request import ShowCustomConnectorsRequest
43
+ from huaweicloudsdkmssi.v1.model.show_custom_connectors_response import ShowCustomConnectorsResponse
44
+ from huaweicloudsdkmssi.v1.model.show_single_connection_request import ShowSingleConnectionRequest
45
+ from huaweicloudsdkmssi.v1.model.show_single_connection_response import ShowSingleConnectionResponse
46
+ from huaweicloudsdkmssi.v1.model.tag import Tag
47
+ from huaweicloudsdkmssi.v1.model.template_message import TemplateMessage
48
+ from huaweicloudsdkmssi.v1.model.trigger_base_info import TriggerBaseInfo
49
+ from huaweicloudsdkmssi.v1.model.update_connection_info_request import UpdateConnectionInfoRequest
50
+ from huaweicloudsdkmssi.v1.model.update_connection_info_response import UpdateConnectionInfoResponse
51
+ from huaweicloudsdkmssi.v1.model.update_flow_request import UpdateFlowRequest
52
+ from huaweicloudsdkmssi.v1.model.update_flow_response import UpdateFlowResponse
53
+
@@ -0,0 +1,50 @@
1
+ # coding: utf-8
2
+
3
+ from __future__ import absolute_import
4
+
5
+ # import models into model package
6
+ from huaweicloudsdkmssi.v1.model.action_base_info import ActionBaseInfo
7
+ from huaweicloudsdkmssi.v1.model.api_config import ApiConfig
8
+ from huaweicloudsdkmssi.v1.model.auth_config_a import AuthConfigA
9
+ from huaweicloudsdkmssi.v1.model.base_connection_info import BaseConnectionInfo
10
+ from huaweicloudsdkmssi.v1.model.connection_info import ConnectionInfo
11
+ from huaweicloudsdkmssi.v1.model.connector_info import ConnectorInfo
12
+ from huaweicloudsdkmssi.v1.model.connector_info0 import ConnectorInfo0
13
+ from huaweicloudsdkmssi.v1.model.create_connection_info_request import CreateConnectionInfoRequest
14
+ from huaweicloudsdkmssi.v1.model.create_connection_info_response import CreateConnectionInfoResponse
15
+ from huaweicloudsdkmssi.v1.model.create_custom_connector_from_openapi_request import CreateCustomConnectorFromOpenapiRequest
16
+ from huaweicloudsdkmssi.v1.model.create_custom_connector_from_openapi_response import CreateCustomConnectorFromOpenapiResponse
17
+ from huaweicloudsdkmssi.v1.model.create_flow_request import CreateFlowRequest
18
+ from huaweicloudsdkmssi.v1.model.create_flow_response import CreateFlowResponse
19
+ from huaweicloudsdkmssi.v1.model.create_flow_template_from_flow_request import CreateFlowTemplateFromFlowRequest
20
+ from huaweicloudsdkmssi.v1.model.create_flow_template_from_flow_response import CreateFlowTemplateFromFlowResponse
21
+ from huaweicloudsdkmssi.v1.model.custom_connector_info_v2 import CustomConnectorInfoV2
22
+ from huaweicloudsdkmssi.v1.model.delete_connection_info_request import DeleteConnectionInfoRequest
23
+ from huaweicloudsdkmssi.v1.model.delete_connection_info_response import DeleteConnectionInfoResponse
24
+ from huaweicloudsdkmssi.v1.model.delete_custom_connector_request import DeleteCustomConnectorRequest
25
+ from huaweicloudsdkmssi.v1.model.delete_custom_connector_response import DeleteCustomConnectorResponse
26
+ from huaweicloudsdkmssi.v1.model.delete_flow_request import DeleteFlowRequest
27
+ from huaweicloudsdkmssi.v1.model.delete_flow_response import DeleteFlowResponse
28
+ from huaweicloudsdkmssi.v1.model.flow_meta import FlowMeta
29
+ from huaweicloudsdkmssi.v1.model.runtime_permission import RuntimePermission
30
+ from huaweicloudsdkmssi.v1.model.search_flow_by_id_request import SearchFlowByIdRequest
31
+ from huaweicloudsdkmssi.v1.model.search_flow_by_id_response import SearchFlowByIdResponse
32
+ from huaweicloudsdkmssi.v1.model.show_all_connections_request import ShowAllConnectionsRequest
33
+ from huaweicloudsdkmssi.v1.model.show_all_connections_response import ShowAllConnectionsResponse
34
+ from huaweicloudsdkmssi.v1.model.show_all_flows_request import ShowAllFlowsRequest
35
+ from huaweicloudsdkmssi.v1.model.show_all_flows_response import ShowAllFlowsResponse
36
+ from huaweicloudsdkmssi.v1.model.show_connectors_request import ShowConnectorsRequest
37
+ from huaweicloudsdkmssi.v1.model.show_connectors_response import ShowConnectorsResponse
38
+ from huaweicloudsdkmssi.v1.model.show_custom_connector_request import ShowCustomConnectorRequest
39
+ from huaweicloudsdkmssi.v1.model.show_custom_connector_response import ShowCustomConnectorResponse
40
+ from huaweicloudsdkmssi.v1.model.show_custom_connectors_request import ShowCustomConnectorsRequest
41
+ from huaweicloudsdkmssi.v1.model.show_custom_connectors_response import ShowCustomConnectorsResponse
42
+ from huaweicloudsdkmssi.v1.model.show_single_connection_request import ShowSingleConnectionRequest
43
+ from huaweicloudsdkmssi.v1.model.show_single_connection_response import ShowSingleConnectionResponse
44
+ from huaweicloudsdkmssi.v1.model.tag import Tag
45
+ from huaweicloudsdkmssi.v1.model.template_message import TemplateMessage
46
+ from huaweicloudsdkmssi.v1.model.trigger_base_info import TriggerBaseInfo
47
+ from huaweicloudsdkmssi.v1.model.update_connection_info_request import UpdateConnectionInfoRequest
48
+ from huaweicloudsdkmssi.v1.model.update_connection_info_response import UpdateConnectionInfoResponse
49
+ from huaweicloudsdkmssi.v1.model.update_flow_request import UpdateFlowRequest
50
+ from huaweicloudsdkmssi.v1.model.update_flow_response import UpdateFlowResponse
@@ -0,0 +1,542 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ActionBaseInfo:
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
+ 'action_type': 'object',
21
+ 'category': 'str',
22
+ 'connector_action_html': 'str',
23
+ 'connector_created_type': 'str',
24
+ 'connector_id': 'str',
25
+ 'connector_version': 'str',
26
+ 'created_time': 'datetime',
27
+ 'definition': 'object',
28
+ 'description': 'str',
29
+ 'id': 'str',
30
+ 'name': 'str',
31
+ 'operation_id': 'str',
32
+ 'swagger': 'object',
33
+ 'test_result': 'str',
34
+ 'updated_time': 'datetime',
35
+ 'visibility': 'str'
36
+ }
37
+
38
+ attribute_map = {
39
+ 'action_type': 'action_type',
40
+ 'category': 'category',
41
+ 'connector_action_html': 'connector_action_html',
42
+ 'connector_created_type': 'connector_created_type',
43
+ 'connector_id': 'connector_id',
44
+ 'connector_version': 'connector_version',
45
+ 'created_time': 'created_time',
46
+ 'definition': 'definition',
47
+ 'description': 'description',
48
+ 'id': 'id',
49
+ 'name': 'name',
50
+ 'operation_id': 'operation_id',
51
+ 'swagger': 'swagger',
52
+ 'test_result': 'test_result',
53
+ 'updated_time': 'updated_time',
54
+ 'visibility': 'visibility'
55
+ }
56
+
57
+ def __init__(self, action_type=None, category=None, connector_action_html=None, connector_created_type=None, connector_id=None, connector_version=None, created_time=None, definition=None, description=None, id=None, name=None, operation_id=None, swagger=None, test_result=None, updated_time=None, visibility=None):
58
+ r"""ActionBaseInfo
59
+
60
+ The model defined in huaweicloud sdk
61
+
62
+ :param action_type: 执行动作的类型
63
+ :type action_type: object
64
+ :param category: 分类
65
+ :type category: str
66
+ :param connector_action_html:
67
+ :type connector_action_html: str
68
+ :param connector_created_type:
69
+ :type connector_created_type: str
70
+ :param connector_id: 自定义连接器ID
71
+ :type connector_id: str
72
+ :param connector_version: 连接器版本
73
+ :type connector_version: str
74
+ :param created_time: 创建时间
75
+ :type created_time: datetime
76
+ :param definition: 操作or触发器的详细定义
77
+ :type definition: object
78
+ :param description: 描述
79
+ :type description: str
80
+ :param id: 执行动作ID
81
+ :type id: str
82
+ :param name: 执行动作名称
83
+ :type name: str
84
+ :param operation_id: 执行动作ID
85
+ :type operation_id: str
86
+ :param swagger: swagger文档
87
+ :type swagger: object
88
+ :param test_result: 最近一次测试结果
89
+ :type test_result: str
90
+ :param updated_time: 修改时间
91
+ :type updated_time: datetime
92
+ :param visibility: 标记动作在流编排是否可见
93
+ :type visibility: str
94
+ """
95
+
96
+
97
+
98
+ self._action_type = None
99
+ self._category = None
100
+ self._connector_action_html = None
101
+ self._connector_created_type = None
102
+ self._connector_id = None
103
+ self._connector_version = None
104
+ self._created_time = None
105
+ self._definition = None
106
+ self._description = None
107
+ self._id = None
108
+ self._name = None
109
+ self._operation_id = None
110
+ self._swagger = None
111
+ self._test_result = None
112
+ self._updated_time = None
113
+ self._visibility = None
114
+ self.discriminator = None
115
+
116
+ if action_type is not None:
117
+ self.action_type = action_type
118
+ if category is not None:
119
+ self.category = category
120
+ if connector_action_html is not None:
121
+ self.connector_action_html = connector_action_html
122
+ if connector_created_type is not None:
123
+ self.connector_created_type = connector_created_type
124
+ if connector_id is not None:
125
+ self.connector_id = connector_id
126
+ if connector_version is not None:
127
+ self.connector_version = connector_version
128
+ if created_time is not None:
129
+ self.created_time = created_time
130
+ if definition is not None:
131
+ self.definition = definition
132
+ if description is not None:
133
+ self.description = description
134
+ if id is not None:
135
+ self.id = id
136
+ if name is not None:
137
+ self.name = name
138
+ if operation_id is not None:
139
+ self.operation_id = operation_id
140
+ if swagger is not None:
141
+ self.swagger = swagger
142
+ if test_result is not None:
143
+ self.test_result = test_result
144
+ if updated_time is not None:
145
+ self.updated_time = updated_time
146
+ if visibility is not None:
147
+ self.visibility = visibility
148
+
149
+ @property
150
+ def action_type(self):
151
+ r"""Gets the action_type of this ActionBaseInfo.
152
+
153
+ 执行动作的类型
154
+
155
+ :return: The action_type of this ActionBaseInfo.
156
+ :rtype: object
157
+ """
158
+ return self._action_type
159
+
160
+ @action_type.setter
161
+ def action_type(self, action_type):
162
+ r"""Sets the action_type of this ActionBaseInfo.
163
+
164
+ 执行动作的类型
165
+
166
+ :param action_type: The action_type of this ActionBaseInfo.
167
+ :type action_type: object
168
+ """
169
+ self._action_type = action_type
170
+
171
+ @property
172
+ def category(self):
173
+ r"""Gets the category of this ActionBaseInfo.
174
+
175
+ 分类
176
+
177
+ :return: The category of this ActionBaseInfo.
178
+ :rtype: str
179
+ """
180
+ return self._category
181
+
182
+ @category.setter
183
+ def category(self, category):
184
+ r"""Sets the category of this ActionBaseInfo.
185
+
186
+ 分类
187
+
188
+ :param category: The category of this ActionBaseInfo.
189
+ :type category: str
190
+ """
191
+ self._category = category
192
+
193
+ @property
194
+ def connector_action_html(self):
195
+ r"""Gets the connector_action_html of this ActionBaseInfo.
196
+
197
+ :return: The connector_action_html of this ActionBaseInfo.
198
+ :rtype: str
199
+ """
200
+ return self._connector_action_html
201
+
202
+ @connector_action_html.setter
203
+ def connector_action_html(self, connector_action_html):
204
+ r"""Sets the connector_action_html of this ActionBaseInfo.
205
+
206
+ :param connector_action_html: The connector_action_html of this ActionBaseInfo.
207
+ :type connector_action_html: str
208
+ """
209
+ self._connector_action_html = connector_action_html
210
+
211
+ @property
212
+ def connector_created_type(self):
213
+ r"""Gets the connector_created_type of this ActionBaseInfo.
214
+
215
+ :return: The connector_created_type of this ActionBaseInfo.
216
+ :rtype: str
217
+ """
218
+ return self._connector_created_type
219
+
220
+ @connector_created_type.setter
221
+ def connector_created_type(self, connector_created_type):
222
+ r"""Sets the connector_created_type of this ActionBaseInfo.
223
+
224
+ :param connector_created_type: The connector_created_type of this ActionBaseInfo.
225
+ :type connector_created_type: str
226
+ """
227
+ self._connector_created_type = connector_created_type
228
+
229
+ @property
230
+ def connector_id(self):
231
+ r"""Gets the connector_id of this ActionBaseInfo.
232
+
233
+ 自定义连接器ID
234
+
235
+ :return: The connector_id of this ActionBaseInfo.
236
+ :rtype: str
237
+ """
238
+ return self._connector_id
239
+
240
+ @connector_id.setter
241
+ def connector_id(self, connector_id):
242
+ r"""Sets the connector_id of this ActionBaseInfo.
243
+
244
+ 自定义连接器ID
245
+
246
+ :param connector_id: The connector_id of this ActionBaseInfo.
247
+ :type connector_id: str
248
+ """
249
+ self._connector_id = connector_id
250
+
251
+ @property
252
+ def connector_version(self):
253
+ r"""Gets the connector_version of this ActionBaseInfo.
254
+
255
+ 连接器版本
256
+
257
+ :return: The connector_version of this ActionBaseInfo.
258
+ :rtype: str
259
+ """
260
+ return self._connector_version
261
+
262
+ @connector_version.setter
263
+ def connector_version(self, connector_version):
264
+ r"""Sets the connector_version of this ActionBaseInfo.
265
+
266
+ 连接器版本
267
+
268
+ :param connector_version: The connector_version of this ActionBaseInfo.
269
+ :type connector_version: str
270
+ """
271
+ self._connector_version = connector_version
272
+
273
+ @property
274
+ def created_time(self):
275
+ r"""Gets the created_time of this ActionBaseInfo.
276
+
277
+ 创建时间
278
+
279
+ :return: The created_time of this ActionBaseInfo.
280
+ :rtype: datetime
281
+ """
282
+ return self._created_time
283
+
284
+ @created_time.setter
285
+ def created_time(self, created_time):
286
+ r"""Sets the created_time of this ActionBaseInfo.
287
+
288
+ 创建时间
289
+
290
+ :param created_time: The created_time of this ActionBaseInfo.
291
+ :type created_time: datetime
292
+ """
293
+ self._created_time = created_time
294
+
295
+ @property
296
+ def definition(self):
297
+ r"""Gets the definition of this ActionBaseInfo.
298
+
299
+ 操作or触发器的详细定义
300
+
301
+ :return: The definition of this ActionBaseInfo.
302
+ :rtype: object
303
+ """
304
+ return self._definition
305
+
306
+ @definition.setter
307
+ def definition(self, definition):
308
+ r"""Sets the definition of this ActionBaseInfo.
309
+
310
+ 操作or触发器的详细定义
311
+
312
+ :param definition: The definition of this ActionBaseInfo.
313
+ :type definition: object
314
+ """
315
+ self._definition = definition
316
+
317
+ @property
318
+ def description(self):
319
+ r"""Gets the description of this ActionBaseInfo.
320
+
321
+ 描述
322
+
323
+ :return: The description of this ActionBaseInfo.
324
+ :rtype: str
325
+ """
326
+ return self._description
327
+
328
+ @description.setter
329
+ def description(self, description):
330
+ r"""Sets the description of this ActionBaseInfo.
331
+
332
+ 描述
333
+
334
+ :param description: The description of this ActionBaseInfo.
335
+ :type description: str
336
+ """
337
+ self._description = description
338
+
339
+ @property
340
+ def id(self):
341
+ r"""Gets the id of this ActionBaseInfo.
342
+
343
+ 执行动作ID
344
+
345
+ :return: The id of this ActionBaseInfo.
346
+ :rtype: str
347
+ """
348
+ return self._id
349
+
350
+ @id.setter
351
+ def id(self, id):
352
+ r"""Sets the id of this ActionBaseInfo.
353
+
354
+ 执行动作ID
355
+
356
+ :param id: The id of this ActionBaseInfo.
357
+ :type id: str
358
+ """
359
+ self._id = id
360
+
361
+ @property
362
+ def name(self):
363
+ r"""Gets the name of this ActionBaseInfo.
364
+
365
+ 执行动作名称
366
+
367
+ :return: The name of this ActionBaseInfo.
368
+ :rtype: str
369
+ """
370
+ return self._name
371
+
372
+ @name.setter
373
+ def name(self, name):
374
+ r"""Sets the name of this ActionBaseInfo.
375
+
376
+ 执行动作名称
377
+
378
+ :param name: The name of this ActionBaseInfo.
379
+ :type name: str
380
+ """
381
+ self._name = name
382
+
383
+ @property
384
+ def operation_id(self):
385
+ r"""Gets the operation_id of this ActionBaseInfo.
386
+
387
+ 执行动作ID
388
+
389
+ :return: The operation_id of this ActionBaseInfo.
390
+ :rtype: str
391
+ """
392
+ return self._operation_id
393
+
394
+ @operation_id.setter
395
+ def operation_id(self, operation_id):
396
+ r"""Sets the operation_id of this ActionBaseInfo.
397
+
398
+ 执行动作ID
399
+
400
+ :param operation_id: The operation_id of this ActionBaseInfo.
401
+ :type operation_id: str
402
+ """
403
+ self._operation_id = operation_id
404
+
405
+ @property
406
+ def swagger(self):
407
+ r"""Gets the swagger of this ActionBaseInfo.
408
+
409
+ swagger文档
410
+
411
+ :return: The swagger of this ActionBaseInfo.
412
+ :rtype: object
413
+ """
414
+ return self._swagger
415
+
416
+ @swagger.setter
417
+ def swagger(self, swagger):
418
+ r"""Sets the swagger of this ActionBaseInfo.
419
+
420
+ swagger文档
421
+
422
+ :param swagger: The swagger of this ActionBaseInfo.
423
+ :type swagger: object
424
+ """
425
+ self._swagger = swagger
426
+
427
+ @property
428
+ def test_result(self):
429
+ r"""Gets the test_result of this ActionBaseInfo.
430
+
431
+ 最近一次测试结果
432
+
433
+ :return: The test_result of this ActionBaseInfo.
434
+ :rtype: str
435
+ """
436
+ return self._test_result
437
+
438
+ @test_result.setter
439
+ def test_result(self, test_result):
440
+ r"""Sets the test_result of this ActionBaseInfo.
441
+
442
+ 最近一次测试结果
443
+
444
+ :param test_result: The test_result of this ActionBaseInfo.
445
+ :type test_result: str
446
+ """
447
+ self._test_result = test_result
448
+
449
+ @property
450
+ def updated_time(self):
451
+ r"""Gets the updated_time of this ActionBaseInfo.
452
+
453
+ 修改时间
454
+
455
+ :return: The updated_time of this ActionBaseInfo.
456
+ :rtype: datetime
457
+ """
458
+ return self._updated_time
459
+
460
+ @updated_time.setter
461
+ def updated_time(self, updated_time):
462
+ r"""Sets the updated_time of this ActionBaseInfo.
463
+
464
+ 修改时间
465
+
466
+ :param updated_time: The updated_time of this ActionBaseInfo.
467
+ :type updated_time: datetime
468
+ """
469
+ self._updated_time = updated_time
470
+
471
+ @property
472
+ def visibility(self):
473
+ r"""Gets the visibility of this ActionBaseInfo.
474
+
475
+ 标记动作在流编排是否可见
476
+
477
+ :return: The visibility of this ActionBaseInfo.
478
+ :rtype: str
479
+ """
480
+ return self._visibility
481
+
482
+ @visibility.setter
483
+ def visibility(self, visibility):
484
+ r"""Sets the visibility of this ActionBaseInfo.
485
+
486
+ 标记动作在流编排是否可见
487
+
488
+ :param visibility: The visibility of this ActionBaseInfo.
489
+ :type visibility: str
490
+ """
491
+ self._visibility = visibility
492
+
493
+ def to_dict(self):
494
+ """Returns the model properties as a dict"""
495
+ result = {}
496
+
497
+ for attr, _ in six.iteritems(self.openapi_types):
498
+ value = getattr(self, attr)
499
+ if isinstance(value, list):
500
+ result[attr] = list(map(
501
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
502
+ value
503
+ ))
504
+ elif hasattr(value, "to_dict"):
505
+ result[attr] = value.to_dict()
506
+ elif isinstance(value, dict):
507
+ result[attr] = dict(map(
508
+ lambda item: (item[0], item[1].to_dict())
509
+ if hasattr(item[1], "to_dict") else item,
510
+ value.items()
511
+ ))
512
+ else:
513
+ if attr in self.sensitive_list:
514
+ result[attr] = "****"
515
+ else:
516
+ result[attr] = value
517
+
518
+ return result
519
+
520
+ def to_str(self):
521
+ """Returns the string representation of the model"""
522
+ import simplejson as json
523
+ if six.PY2:
524
+ import sys
525
+ reload(sys)
526
+ sys.setdefaultencoding("utf-8")
527
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
528
+
529
+ def __repr__(self):
530
+ """For `print`"""
531
+ return self.to_str()
532
+
533
+ def __eq__(self, other):
534
+ """Returns true if both objects are equal"""
535
+ if not isinstance(other, ActionBaseInfo):
536
+ return False
537
+
538
+ return self.__dict__ == other.__dict__
539
+
540
+ def __ne__(self, other):
541
+ """Returns true if both objects are not equal"""
542
+ return not self == other