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
@@ -0,0 +1,1114 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class FlowMeta:
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
+ 'apic_id': 'str',
21
+ 'apic_release_status': 'str',
22
+ 'apig_url': 'str',
23
+ 'connectors': 'list[object]',
24
+ 'connectors_latest': 'list[object]',
25
+ 'creatd_time': 'datetime',
26
+ 'description': 'str',
27
+ 'dev_status': 'str',
28
+ 'domain_id': 'str',
29
+ 'enterprise_project_id': 'str',
30
+ 'enterprise_project_name': 'str',
31
+ 'extend_configs': 'object',
32
+ 'flow_source_type': 'str',
33
+ 'functions': 'object',
34
+ 'graph': 'object',
35
+ 'his_transfer_status': 'str',
36
+ 'icon': 'str',
37
+ 'id': 'str',
38
+ 'installed_connector': 'str',
39
+ 'is_valid': 'bool',
40
+ 'label': 'str',
41
+ 'name': 'str',
42
+ 'notice_status': 'str',
43
+ 'project_id': 'str',
44
+ 'schema_version': 'str',
45
+ 'status': 'str',
46
+ 'steps': 'list[dict(str, object)]',
47
+ 'tags': 'list[Tag]',
48
+ 'template_id': 'str',
49
+ 'template_name': 'str',
50
+ 'test_result': 'str',
51
+ 'type': 'str',
52
+ 'updated_time': 'datetime',
53
+ 'user_id': 'str',
54
+ 'version': 'str',
55
+ 'webhook': 'str'
56
+ }
57
+
58
+ attribute_map = {
59
+ 'apic_id': 'apic_id',
60
+ 'apic_release_status': 'apic_release_status',
61
+ 'apig_url': 'apig_url',
62
+ 'connectors': 'connectors',
63
+ 'connectors_latest': 'connectors_latest',
64
+ 'creatd_time': 'creatd_time',
65
+ 'description': 'description',
66
+ 'dev_status': 'dev_status',
67
+ 'domain_id': 'domain_id',
68
+ 'enterprise_project_id': 'enterprise_project_id',
69
+ 'enterprise_project_name': 'enterprise_project_name',
70
+ 'extend_configs': 'extend_configs',
71
+ 'flow_source_type': 'flow_source_type',
72
+ 'functions': 'functions',
73
+ 'graph': 'graph',
74
+ 'his_transfer_status': 'his_transfer_status',
75
+ 'icon': 'icon',
76
+ 'id': 'id',
77
+ 'installed_connector': 'installed_connector',
78
+ 'is_valid': 'is_valid',
79
+ 'label': 'label',
80
+ 'name': 'name',
81
+ 'notice_status': 'notice_status',
82
+ 'project_id': 'project_id',
83
+ 'schema_version': 'schemaVersion',
84
+ 'status': 'status',
85
+ 'steps': 'steps',
86
+ 'tags': 'tags',
87
+ 'template_id': 'template_id',
88
+ 'template_name': 'template_name',
89
+ 'test_result': 'test_result',
90
+ 'type': 'type',
91
+ 'updated_time': 'updated_time',
92
+ 'user_id': 'user_id',
93
+ 'version': 'version',
94
+ 'webhook': 'webhook'
95
+ }
96
+
97
+ def __init__(self, apic_id=None, apic_release_status=None, apig_url=None, connectors=None, connectors_latest=None, creatd_time=None, description=None, dev_status=None, domain_id=None, enterprise_project_id=None, enterprise_project_name=None, extend_configs=None, flow_source_type=None, functions=None, graph=None, his_transfer_status=None, icon=None, id=None, installed_connector=None, is_valid=None, label=None, name=None, notice_status=None, project_id=None, schema_version=None, status=None, steps=None, tags=None, template_id=None, template_name=None, test_result=None, type=None, updated_time=None, user_id=None, version=None, webhook=None):
98
+ r"""FlowMeta
99
+
100
+ The model defined in huaweicloud sdk
101
+
102
+ :param apic_id: 发布到apic的api id
103
+ :type apic_id: str
104
+ :param apic_release_status: 发布到apic的状态
105
+ :type apic_release_status: str
106
+ :param apig_url: api流注册到apig的url
107
+ :type apig_url: str
108
+ :param connectors: 连接器
109
+ :type connectors: list[object]
110
+ :param connectors_latest: 连接器最新版本
111
+ :type connectors_latest: list[object]
112
+ :param creatd_time: 创建时间
113
+ :type creatd_time: datetime
114
+ :param description: 流的描述信息
115
+ :type description: str
116
+ :param dev_status: 开发状态
117
+ :type dev_status: str
118
+ :param domain_id: 租户ID
119
+ :type domain_id: str
120
+ :param enterprise_project_id: 企业项目id
121
+ :type enterprise_project_id: str
122
+ :param enterprise_project_name: 企业项目名称
123
+ :type enterprise_project_name: str
124
+ :param extend_configs: 流/流模板扩展配置列表
125
+ :type extend_configs: object
126
+ :param flow_source_type: 流来源: inner: 公共流模板; custom: 我的流模板
127
+ :type flow_source_type: str
128
+ :param functions: 流/流模板函数列表
129
+ :type functions: object
130
+ :param graph: 流的编排数据(大josn)
131
+ :type graph: object
132
+ :param his_transfer_status:
133
+ :type his_transfer_status: str
134
+ :param icon: logo base64编码
135
+ :type icon: str
136
+ :param id: ID
137
+ :type id: str
138
+ :param installed_connector: 已部署的connector id
139
+ :type installed_connector: str
140
+ :param is_valid:
141
+ :type is_valid: bool
142
+ :param label:
143
+ :type label: str
144
+ :param name: 流的名称
145
+ :type name: str
146
+ :param notice_status:
147
+ :type notice_status: str
148
+ :param project_id: 用户项目ID
149
+ :type project_id: str
150
+ :param schema_version: schema版本
151
+ :type schema_version: str
152
+ :param status: 流的状态
153
+ :type status: str
154
+ :param steps: 流的编排数据(大josn)
155
+ :type steps: list[dict(str, object)]
156
+ :param tags: 标签列表
157
+ :type tags: list[:class:`huaweicloudsdkmssi.v1.Tag`]
158
+ :param template_id: 模板ID
159
+ :type template_id: str
160
+ :param template_name: 模板名称
161
+ :type template_name: str
162
+ :param test_result: 测试结果
163
+ :type test_result: str
164
+ :param type: 类型
165
+ :type type: str
166
+ :param updated_time: 修改时间
167
+ :type updated_time: datetime
168
+ :param user_id: 账号(所有者)
169
+ :type user_id: str
170
+ :param version: 流的版本号
171
+ :type version: str
172
+ :param webhook: webhook触发url的ID
173
+ :type webhook: str
174
+ """
175
+
176
+
177
+
178
+ self._apic_id = None
179
+ self._apic_release_status = None
180
+ self._apig_url = None
181
+ self._connectors = None
182
+ self._connectors_latest = None
183
+ self._creatd_time = None
184
+ self._description = None
185
+ self._dev_status = None
186
+ self._domain_id = None
187
+ self._enterprise_project_id = None
188
+ self._enterprise_project_name = None
189
+ self._extend_configs = None
190
+ self._flow_source_type = None
191
+ self._functions = None
192
+ self._graph = None
193
+ self._his_transfer_status = None
194
+ self._icon = None
195
+ self._id = None
196
+ self._installed_connector = None
197
+ self._is_valid = None
198
+ self._label = None
199
+ self._name = None
200
+ self._notice_status = None
201
+ self._project_id = None
202
+ self._schema_version = None
203
+ self._status = None
204
+ self._steps = None
205
+ self._tags = None
206
+ self._template_id = None
207
+ self._template_name = None
208
+ self._test_result = None
209
+ self._type = None
210
+ self._updated_time = None
211
+ self._user_id = None
212
+ self._version = None
213
+ self._webhook = None
214
+ self.discriminator = None
215
+
216
+ if apic_id is not None:
217
+ self.apic_id = apic_id
218
+ if apic_release_status is not None:
219
+ self.apic_release_status = apic_release_status
220
+ if apig_url is not None:
221
+ self.apig_url = apig_url
222
+ if connectors is not None:
223
+ self.connectors = connectors
224
+ if connectors_latest is not None:
225
+ self.connectors_latest = connectors_latest
226
+ if creatd_time is not None:
227
+ self.creatd_time = creatd_time
228
+ if description is not None:
229
+ self.description = description
230
+ if dev_status is not None:
231
+ self.dev_status = dev_status
232
+ if domain_id is not None:
233
+ self.domain_id = domain_id
234
+ if enterprise_project_id is not None:
235
+ self.enterprise_project_id = enterprise_project_id
236
+ if enterprise_project_name is not None:
237
+ self.enterprise_project_name = enterprise_project_name
238
+ if extend_configs is not None:
239
+ self.extend_configs = extend_configs
240
+ if flow_source_type is not None:
241
+ self.flow_source_type = flow_source_type
242
+ if functions is not None:
243
+ self.functions = functions
244
+ if graph is not None:
245
+ self.graph = graph
246
+ if his_transfer_status is not None:
247
+ self.his_transfer_status = his_transfer_status
248
+ if icon is not None:
249
+ self.icon = icon
250
+ if id is not None:
251
+ self.id = id
252
+ if installed_connector is not None:
253
+ self.installed_connector = installed_connector
254
+ if is_valid is not None:
255
+ self.is_valid = is_valid
256
+ if label is not None:
257
+ self.label = label
258
+ if name is not None:
259
+ self.name = name
260
+ if notice_status is not None:
261
+ self.notice_status = notice_status
262
+ if project_id is not None:
263
+ self.project_id = project_id
264
+ if schema_version is not None:
265
+ self.schema_version = schema_version
266
+ if status is not None:
267
+ self.status = status
268
+ if steps is not None:
269
+ self.steps = steps
270
+ if tags is not None:
271
+ self.tags = tags
272
+ if template_id is not None:
273
+ self.template_id = template_id
274
+ if template_name is not None:
275
+ self.template_name = template_name
276
+ if test_result is not None:
277
+ self.test_result = test_result
278
+ if type is not None:
279
+ self.type = type
280
+ if updated_time is not None:
281
+ self.updated_time = updated_time
282
+ if user_id is not None:
283
+ self.user_id = user_id
284
+ if version is not None:
285
+ self.version = version
286
+ if webhook is not None:
287
+ self.webhook = webhook
288
+
289
+ @property
290
+ def apic_id(self):
291
+ r"""Gets the apic_id of this FlowMeta.
292
+
293
+ 发布到apic的api id
294
+
295
+ :return: The apic_id of this FlowMeta.
296
+ :rtype: str
297
+ """
298
+ return self._apic_id
299
+
300
+ @apic_id.setter
301
+ def apic_id(self, apic_id):
302
+ r"""Sets the apic_id of this FlowMeta.
303
+
304
+ 发布到apic的api id
305
+
306
+ :param apic_id: The apic_id of this FlowMeta.
307
+ :type apic_id: str
308
+ """
309
+ self._apic_id = apic_id
310
+
311
+ @property
312
+ def apic_release_status(self):
313
+ r"""Gets the apic_release_status of this FlowMeta.
314
+
315
+ 发布到apic的状态
316
+
317
+ :return: The apic_release_status of this FlowMeta.
318
+ :rtype: str
319
+ """
320
+ return self._apic_release_status
321
+
322
+ @apic_release_status.setter
323
+ def apic_release_status(self, apic_release_status):
324
+ r"""Sets the apic_release_status of this FlowMeta.
325
+
326
+ 发布到apic的状态
327
+
328
+ :param apic_release_status: The apic_release_status of this FlowMeta.
329
+ :type apic_release_status: str
330
+ """
331
+ self._apic_release_status = apic_release_status
332
+
333
+ @property
334
+ def apig_url(self):
335
+ r"""Gets the apig_url of this FlowMeta.
336
+
337
+ api流注册到apig的url
338
+
339
+ :return: The apig_url of this FlowMeta.
340
+ :rtype: str
341
+ """
342
+ return self._apig_url
343
+
344
+ @apig_url.setter
345
+ def apig_url(self, apig_url):
346
+ r"""Sets the apig_url of this FlowMeta.
347
+
348
+ api流注册到apig的url
349
+
350
+ :param apig_url: The apig_url of this FlowMeta.
351
+ :type apig_url: str
352
+ """
353
+ self._apig_url = apig_url
354
+
355
+ @property
356
+ def connectors(self):
357
+ r"""Gets the connectors of this FlowMeta.
358
+
359
+ 连接器
360
+
361
+ :return: The connectors of this FlowMeta.
362
+ :rtype: list[object]
363
+ """
364
+ return self._connectors
365
+
366
+ @connectors.setter
367
+ def connectors(self, connectors):
368
+ r"""Sets the connectors of this FlowMeta.
369
+
370
+ 连接器
371
+
372
+ :param connectors: The connectors of this FlowMeta.
373
+ :type connectors: list[object]
374
+ """
375
+ self._connectors = connectors
376
+
377
+ @property
378
+ def connectors_latest(self):
379
+ r"""Gets the connectors_latest of this FlowMeta.
380
+
381
+ 连接器最新版本
382
+
383
+ :return: The connectors_latest of this FlowMeta.
384
+ :rtype: list[object]
385
+ """
386
+ return self._connectors_latest
387
+
388
+ @connectors_latest.setter
389
+ def connectors_latest(self, connectors_latest):
390
+ r"""Sets the connectors_latest of this FlowMeta.
391
+
392
+ 连接器最新版本
393
+
394
+ :param connectors_latest: The connectors_latest of this FlowMeta.
395
+ :type connectors_latest: list[object]
396
+ """
397
+ self._connectors_latest = connectors_latest
398
+
399
+ @property
400
+ def creatd_time(self):
401
+ r"""Gets the creatd_time of this FlowMeta.
402
+
403
+ 创建时间
404
+
405
+ :return: The creatd_time of this FlowMeta.
406
+ :rtype: datetime
407
+ """
408
+ return self._creatd_time
409
+
410
+ @creatd_time.setter
411
+ def creatd_time(self, creatd_time):
412
+ r"""Sets the creatd_time of this FlowMeta.
413
+
414
+ 创建时间
415
+
416
+ :param creatd_time: The creatd_time of this FlowMeta.
417
+ :type creatd_time: datetime
418
+ """
419
+ self._creatd_time = creatd_time
420
+
421
+ @property
422
+ def description(self):
423
+ r"""Gets the description of this FlowMeta.
424
+
425
+ 流的描述信息
426
+
427
+ :return: The description of this FlowMeta.
428
+ :rtype: str
429
+ """
430
+ return self._description
431
+
432
+ @description.setter
433
+ def description(self, description):
434
+ r"""Sets the description of this FlowMeta.
435
+
436
+ 流的描述信息
437
+
438
+ :param description: The description of this FlowMeta.
439
+ :type description: str
440
+ """
441
+ self._description = description
442
+
443
+ @property
444
+ def dev_status(self):
445
+ r"""Gets the dev_status of this FlowMeta.
446
+
447
+ 开发状态
448
+
449
+ :return: The dev_status of this FlowMeta.
450
+ :rtype: str
451
+ """
452
+ return self._dev_status
453
+
454
+ @dev_status.setter
455
+ def dev_status(self, dev_status):
456
+ r"""Sets the dev_status of this FlowMeta.
457
+
458
+ 开发状态
459
+
460
+ :param dev_status: The dev_status of this FlowMeta.
461
+ :type dev_status: str
462
+ """
463
+ self._dev_status = dev_status
464
+
465
+ @property
466
+ def domain_id(self):
467
+ r"""Gets the domain_id of this FlowMeta.
468
+
469
+ 租户ID
470
+
471
+ :return: The domain_id of this FlowMeta.
472
+ :rtype: str
473
+ """
474
+ return self._domain_id
475
+
476
+ @domain_id.setter
477
+ def domain_id(self, domain_id):
478
+ r"""Sets the domain_id of this FlowMeta.
479
+
480
+ 租户ID
481
+
482
+ :param domain_id: The domain_id of this FlowMeta.
483
+ :type domain_id: str
484
+ """
485
+ self._domain_id = domain_id
486
+
487
+ @property
488
+ def enterprise_project_id(self):
489
+ r"""Gets the enterprise_project_id of this FlowMeta.
490
+
491
+ 企业项目id
492
+
493
+ :return: The enterprise_project_id of this FlowMeta.
494
+ :rtype: str
495
+ """
496
+ return self._enterprise_project_id
497
+
498
+ @enterprise_project_id.setter
499
+ def enterprise_project_id(self, enterprise_project_id):
500
+ r"""Sets the enterprise_project_id of this FlowMeta.
501
+
502
+ 企业项目id
503
+
504
+ :param enterprise_project_id: The enterprise_project_id of this FlowMeta.
505
+ :type enterprise_project_id: str
506
+ """
507
+ self._enterprise_project_id = enterprise_project_id
508
+
509
+ @property
510
+ def enterprise_project_name(self):
511
+ r"""Gets the enterprise_project_name of this FlowMeta.
512
+
513
+ 企业项目名称
514
+
515
+ :return: The enterprise_project_name of this FlowMeta.
516
+ :rtype: str
517
+ """
518
+ return self._enterprise_project_name
519
+
520
+ @enterprise_project_name.setter
521
+ def enterprise_project_name(self, enterprise_project_name):
522
+ r"""Sets the enterprise_project_name of this FlowMeta.
523
+
524
+ 企业项目名称
525
+
526
+ :param enterprise_project_name: The enterprise_project_name of this FlowMeta.
527
+ :type enterprise_project_name: str
528
+ """
529
+ self._enterprise_project_name = enterprise_project_name
530
+
531
+ @property
532
+ def extend_configs(self):
533
+ r"""Gets the extend_configs of this FlowMeta.
534
+
535
+ 流/流模板扩展配置列表
536
+
537
+ :return: The extend_configs of this FlowMeta.
538
+ :rtype: object
539
+ """
540
+ return self._extend_configs
541
+
542
+ @extend_configs.setter
543
+ def extend_configs(self, extend_configs):
544
+ r"""Sets the extend_configs of this FlowMeta.
545
+
546
+ 流/流模板扩展配置列表
547
+
548
+ :param extend_configs: The extend_configs of this FlowMeta.
549
+ :type extend_configs: object
550
+ """
551
+ self._extend_configs = extend_configs
552
+
553
+ @property
554
+ def flow_source_type(self):
555
+ r"""Gets the flow_source_type of this FlowMeta.
556
+
557
+ 流来源: inner: 公共流模板; custom: 我的流模板
558
+
559
+ :return: The flow_source_type of this FlowMeta.
560
+ :rtype: str
561
+ """
562
+ return self._flow_source_type
563
+
564
+ @flow_source_type.setter
565
+ def flow_source_type(self, flow_source_type):
566
+ r"""Sets the flow_source_type of this FlowMeta.
567
+
568
+ 流来源: inner: 公共流模板; custom: 我的流模板
569
+
570
+ :param flow_source_type: The flow_source_type of this FlowMeta.
571
+ :type flow_source_type: str
572
+ """
573
+ self._flow_source_type = flow_source_type
574
+
575
+ @property
576
+ def functions(self):
577
+ r"""Gets the functions of this FlowMeta.
578
+
579
+ 流/流模板函数列表
580
+
581
+ :return: The functions of this FlowMeta.
582
+ :rtype: object
583
+ """
584
+ return self._functions
585
+
586
+ @functions.setter
587
+ def functions(self, functions):
588
+ r"""Sets the functions of this FlowMeta.
589
+
590
+ 流/流模板函数列表
591
+
592
+ :param functions: The functions of this FlowMeta.
593
+ :type functions: object
594
+ """
595
+ self._functions = functions
596
+
597
+ @property
598
+ def graph(self):
599
+ r"""Gets the graph of this FlowMeta.
600
+
601
+ 流的编排数据(大josn)
602
+
603
+ :return: The graph of this FlowMeta.
604
+ :rtype: object
605
+ """
606
+ return self._graph
607
+
608
+ @graph.setter
609
+ def graph(self, graph):
610
+ r"""Sets the graph of this FlowMeta.
611
+
612
+ 流的编排数据(大josn)
613
+
614
+ :param graph: The graph of this FlowMeta.
615
+ :type graph: object
616
+ """
617
+ self._graph = graph
618
+
619
+ @property
620
+ def his_transfer_status(self):
621
+ r"""Gets the his_transfer_status of this FlowMeta.
622
+
623
+ :return: The his_transfer_status of this FlowMeta.
624
+ :rtype: str
625
+ """
626
+ return self._his_transfer_status
627
+
628
+ @his_transfer_status.setter
629
+ def his_transfer_status(self, his_transfer_status):
630
+ r"""Sets the his_transfer_status of this FlowMeta.
631
+
632
+ :param his_transfer_status: The his_transfer_status of this FlowMeta.
633
+ :type his_transfer_status: str
634
+ """
635
+ self._his_transfer_status = his_transfer_status
636
+
637
+ @property
638
+ def icon(self):
639
+ r"""Gets the icon of this FlowMeta.
640
+
641
+ logo base64编码
642
+
643
+ :return: The icon of this FlowMeta.
644
+ :rtype: str
645
+ """
646
+ return self._icon
647
+
648
+ @icon.setter
649
+ def icon(self, icon):
650
+ r"""Sets the icon of this FlowMeta.
651
+
652
+ logo base64编码
653
+
654
+ :param icon: The icon of this FlowMeta.
655
+ :type icon: str
656
+ """
657
+ self._icon = icon
658
+
659
+ @property
660
+ def id(self):
661
+ r"""Gets the id of this FlowMeta.
662
+
663
+ ID
664
+
665
+ :return: The id of this FlowMeta.
666
+ :rtype: str
667
+ """
668
+ return self._id
669
+
670
+ @id.setter
671
+ def id(self, id):
672
+ r"""Sets the id of this FlowMeta.
673
+
674
+ ID
675
+
676
+ :param id: The id of this FlowMeta.
677
+ :type id: str
678
+ """
679
+ self._id = id
680
+
681
+ @property
682
+ def installed_connector(self):
683
+ r"""Gets the installed_connector of this FlowMeta.
684
+
685
+ 已部署的connector id
686
+
687
+ :return: The installed_connector of this FlowMeta.
688
+ :rtype: str
689
+ """
690
+ return self._installed_connector
691
+
692
+ @installed_connector.setter
693
+ def installed_connector(self, installed_connector):
694
+ r"""Sets the installed_connector of this FlowMeta.
695
+
696
+ 已部署的connector id
697
+
698
+ :param installed_connector: The installed_connector of this FlowMeta.
699
+ :type installed_connector: str
700
+ """
701
+ self._installed_connector = installed_connector
702
+
703
+ @property
704
+ def is_valid(self):
705
+ r"""Gets the is_valid of this FlowMeta.
706
+
707
+ :return: The is_valid of this FlowMeta.
708
+ :rtype: bool
709
+ """
710
+ return self._is_valid
711
+
712
+ @is_valid.setter
713
+ def is_valid(self, is_valid):
714
+ r"""Sets the is_valid of this FlowMeta.
715
+
716
+ :param is_valid: The is_valid of this FlowMeta.
717
+ :type is_valid: bool
718
+ """
719
+ self._is_valid = is_valid
720
+
721
+ @property
722
+ def label(self):
723
+ r"""Gets the label of this FlowMeta.
724
+
725
+ :return: The label of this FlowMeta.
726
+ :rtype: str
727
+ """
728
+ return self._label
729
+
730
+ @label.setter
731
+ def label(self, label):
732
+ r"""Sets the label of this FlowMeta.
733
+
734
+ :param label: The label of this FlowMeta.
735
+ :type label: str
736
+ """
737
+ self._label = label
738
+
739
+ @property
740
+ def name(self):
741
+ r"""Gets the name of this FlowMeta.
742
+
743
+ 流的名称
744
+
745
+ :return: The name of this FlowMeta.
746
+ :rtype: str
747
+ """
748
+ return self._name
749
+
750
+ @name.setter
751
+ def name(self, name):
752
+ r"""Sets the name of this FlowMeta.
753
+
754
+ 流的名称
755
+
756
+ :param name: The name of this FlowMeta.
757
+ :type name: str
758
+ """
759
+ self._name = name
760
+
761
+ @property
762
+ def notice_status(self):
763
+ r"""Gets the notice_status of this FlowMeta.
764
+
765
+ :return: The notice_status of this FlowMeta.
766
+ :rtype: str
767
+ """
768
+ return self._notice_status
769
+
770
+ @notice_status.setter
771
+ def notice_status(self, notice_status):
772
+ r"""Sets the notice_status of this FlowMeta.
773
+
774
+ :param notice_status: The notice_status of this FlowMeta.
775
+ :type notice_status: str
776
+ """
777
+ self._notice_status = notice_status
778
+
779
+ @property
780
+ def project_id(self):
781
+ r"""Gets the project_id of this FlowMeta.
782
+
783
+ 用户项目ID
784
+
785
+ :return: The project_id of this FlowMeta.
786
+ :rtype: str
787
+ """
788
+ return self._project_id
789
+
790
+ @project_id.setter
791
+ def project_id(self, project_id):
792
+ r"""Sets the project_id of this FlowMeta.
793
+
794
+ 用户项目ID
795
+
796
+ :param project_id: The project_id of this FlowMeta.
797
+ :type project_id: str
798
+ """
799
+ self._project_id = project_id
800
+
801
+ @property
802
+ def schema_version(self):
803
+ r"""Gets the schema_version of this FlowMeta.
804
+
805
+ schema版本
806
+
807
+ :return: The schema_version of this FlowMeta.
808
+ :rtype: str
809
+ """
810
+ return self._schema_version
811
+
812
+ @schema_version.setter
813
+ def schema_version(self, schema_version):
814
+ r"""Sets the schema_version of this FlowMeta.
815
+
816
+ schema版本
817
+
818
+ :param schema_version: The schema_version of this FlowMeta.
819
+ :type schema_version: str
820
+ """
821
+ self._schema_version = schema_version
822
+
823
+ @property
824
+ def status(self):
825
+ r"""Gets the status of this FlowMeta.
826
+
827
+ 流的状态
828
+
829
+ :return: The status of this FlowMeta.
830
+ :rtype: str
831
+ """
832
+ return self._status
833
+
834
+ @status.setter
835
+ def status(self, status):
836
+ r"""Sets the status of this FlowMeta.
837
+
838
+ 流的状态
839
+
840
+ :param status: The status of this FlowMeta.
841
+ :type status: str
842
+ """
843
+ self._status = status
844
+
845
+ @property
846
+ def steps(self):
847
+ r"""Gets the steps of this FlowMeta.
848
+
849
+ 流的编排数据(大josn)
850
+
851
+ :return: The steps of this FlowMeta.
852
+ :rtype: list[dict(str, object)]
853
+ """
854
+ return self._steps
855
+
856
+ @steps.setter
857
+ def steps(self, steps):
858
+ r"""Sets the steps of this FlowMeta.
859
+
860
+ 流的编排数据(大josn)
861
+
862
+ :param steps: The steps of this FlowMeta.
863
+ :type steps: list[dict(str, object)]
864
+ """
865
+ self._steps = steps
866
+
867
+ @property
868
+ def tags(self):
869
+ r"""Gets the tags of this FlowMeta.
870
+
871
+ 标签列表
872
+
873
+ :return: The tags of this FlowMeta.
874
+ :rtype: list[:class:`huaweicloudsdkmssi.v1.Tag`]
875
+ """
876
+ return self._tags
877
+
878
+ @tags.setter
879
+ def tags(self, tags):
880
+ r"""Sets the tags of this FlowMeta.
881
+
882
+ 标签列表
883
+
884
+ :param tags: The tags of this FlowMeta.
885
+ :type tags: list[:class:`huaweicloudsdkmssi.v1.Tag`]
886
+ """
887
+ self._tags = tags
888
+
889
+ @property
890
+ def template_id(self):
891
+ r"""Gets the template_id of this FlowMeta.
892
+
893
+ 模板ID
894
+
895
+ :return: The template_id of this FlowMeta.
896
+ :rtype: str
897
+ """
898
+ return self._template_id
899
+
900
+ @template_id.setter
901
+ def template_id(self, template_id):
902
+ r"""Sets the template_id of this FlowMeta.
903
+
904
+ 模板ID
905
+
906
+ :param template_id: The template_id of this FlowMeta.
907
+ :type template_id: str
908
+ """
909
+ self._template_id = template_id
910
+
911
+ @property
912
+ def template_name(self):
913
+ r"""Gets the template_name of this FlowMeta.
914
+
915
+ 模板名称
916
+
917
+ :return: The template_name of this FlowMeta.
918
+ :rtype: str
919
+ """
920
+ return self._template_name
921
+
922
+ @template_name.setter
923
+ def template_name(self, template_name):
924
+ r"""Sets the template_name of this FlowMeta.
925
+
926
+ 模板名称
927
+
928
+ :param template_name: The template_name of this FlowMeta.
929
+ :type template_name: str
930
+ """
931
+ self._template_name = template_name
932
+
933
+ @property
934
+ def test_result(self):
935
+ r"""Gets the test_result of this FlowMeta.
936
+
937
+ 测试结果
938
+
939
+ :return: The test_result of this FlowMeta.
940
+ :rtype: str
941
+ """
942
+ return self._test_result
943
+
944
+ @test_result.setter
945
+ def test_result(self, test_result):
946
+ r"""Sets the test_result of this FlowMeta.
947
+
948
+ 测试结果
949
+
950
+ :param test_result: The test_result of this FlowMeta.
951
+ :type test_result: str
952
+ """
953
+ self._test_result = test_result
954
+
955
+ @property
956
+ def type(self):
957
+ r"""Gets the type of this FlowMeta.
958
+
959
+ 类型
960
+
961
+ :return: The type of this FlowMeta.
962
+ :rtype: str
963
+ """
964
+ return self._type
965
+
966
+ @type.setter
967
+ def type(self, type):
968
+ r"""Sets the type of this FlowMeta.
969
+
970
+ 类型
971
+
972
+ :param type: The type of this FlowMeta.
973
+ :type type: str
974
+ """
975
+ self._type = type
976
+
977
+ @property
978
+ def updated_time(self):
979
+ r"""Gets the updated_time of this FlowMeta.
980
+
981
+ 修改时间
982
+
983
+ :return: The updated_time of this FlowMeta.
984
+ :rtype: datetime
985
+ """
986
+ return self._updated_time
987
+
988
+ @updated_time.setter
989
+ def updated_time(self, updated_time):
990
+ r"""Sets the updated_time of this FlowMeta.
991
+
992
+ 修改时间
993
+
994
+ :param updated_time: The updated_time of this FlowMeta.
995
+ :type updated_time: datetime
996
+ """
997
+ self._updated_time = updated_time
998
+
999
+ @property
1000
+ def user_id(self):
1001
+ r"""Gets the user_id of this FlowMeta.
1002
+
1003
+ 账号(所有者)
1004
+
1005
+ :return: The user_id of this FlowMeta.
1006
+ :rtype: str
1007
+ """
1008
+ return self._user_id
1009
+
1010
+ @user_id.setter
1011
+ def user_id(self, user_id):
1012
+ r"""Sets the user_id of this FlowMeta.
1013
+
1014
+ 账号(所有者)
1015
+
1016
+ :param user_id: The user_id of this FlowMeta.
1017
+ :type user_id: str
1018
+ """
1019
+ self._user_id = user_id
1020
+
1021
+ @property
1022
+ def version(self):
1023
+ r"""Gets the version of this FlowMeta.
1024
+
1025
+ 流的版本号
1026
+
1027
+ :return: The version of this FlowMeta.
1028
+ :rtype: str
1029
+ """
1030
+ return self._version
1031
+
1032
+ @version.setter
1033
+ def version(self, version):
1034
+ r"""Sets the version of this FlowMeta.
1035
+
1036
+ 流的版本号
1037
+
1038
+ :param version: The version of this FlowMeta.
1039
+ :type version: str
1040
+ """
1041
+ self._version = version
1042
+
1043
+ @property
1044
+ def webhook(self):
1045
+ r"""Gets the webhook of this FlowMeta.
1046
+
1047
+ webhook触发url的ID
1048
+
1049
+ :return: The webhook of this FlowMeta.
1050
+ :rtype: str
1051
+ """
1052
+ return self._webhook
1053
+
1054
+ @webhook.setter
1055
+ def webhook(self, webhook):
1056
+ r"""Sets the webhook of this FlowMeta.
1057
+
1058
+ webhook触发url的ID
1059
+
1060
+ :param webhook: The webhook of this FlowMeta.
1061
+ :type webhook: str
1062
+ """
1063
+ self._webhook = webhook
1064
+
1065
+ def to_dict(self):
1066
+ """Returns the model properties as a dict"""
1067
+ result = {}
1068
+
1069
+ for attr, _ in six.iteritems(self.openapi_types):
1070
+ value = getattr(self, attr)
1071
+ if isinstance(value, list):
1072
+ result[attr] = list(map(
1073
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
1074
+ value
1075
+ ))
1076
+ elif hasattr(value, "to_dict"):
1077
+ result[attr] = value.to_dict()
1078
+ elif isinstance(value, dict):
1079
+ result[attr] = dict(map(
1080
+ lambda item: (item[0], item[1].to_dict())
1081
+ if hasattr(item[1], "to_dict") else item,
1082
+ value.items()
1083
+ ))
1084
+ else:
1085
+ if attr in self.sensitive_list:
1086
+ result[attr] = "****"
1087
+ else:
1088
+ result[attr] = value
1089
+
1090
+ return result
1091
+
1092
+ def to_str(self):
1093
+ """Returns the string representation of the model"""
1094
+ import simplejson as json
1095
+ if six.PY2:
1096
+ import sys
1097
+ reload(sys)
1098
+ sys.setdefaultencoding("utf-8")
1099
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
1100
+
1101
+ def __repr__(self):
1102
+ """For `print`"""
1103
+ return self.to_str()
1104
+
1105
+ def __eq__(self, other):
1106
+ """Returns true if both objects are equal"""
1107
+ if not isinstance(other, FlowMeta):
1108
+ return False
1109
+
1110
+ return self.__dict__ == other.__dict__
1111
+
1112
+ def __ne__(self, other):
1113
+ """Returns true if both objects are not equal"""
1114
+ return not self == other