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,753 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ConnectorInfo:
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_count': 'int',
21
+ 'actions': 'list[ActionBaseInfo]',
22
+ 'auth_content': 'object',
23
+ 'auth_id': 'str',
24
+ 'category': 'str',
25
+ 'created_time': 'datetime',
26
+ 'description': 'str',
27
+ 'favorite': 'bool',
28
+ 'icon': 'str',
29
+ 'id': 'str',
30
+ 'name': 'str',
31
+ 'need_auth': 'bool',
32
+ 'provider_name': 'str',
33
+ 'release_version': 'str',
34
+ 'runtime_permissions': 'list[RuntimePermission]',
35
+ 'status': 'str',
36
+ 'swagger': 'object',
37
+ 'swagger_version_id': 'str',
38
+ 'trigger_count': 'int',
39
+ 'triggers': 'list[TriggerBaseInfo]',
40
+ 'type': 'str',
41
+ 'updated_time': 'datetime',
42
+ 'version': 'object'
43
+ }
44
+
45
+ attribute_map = {
46
+ 'action_count': 'action_count',
47
+ 'actions': 'actions',
48
+ 'auth_content': 'auth_content',
49
+ 'auth_id': 'auth_id',
50
+ 'category': 'category',
51
+ 'created_time': 'created_time',
52
+ 'description': 'description',
53
+ 'favorite': 'favorite',
54
+ 'icon': 'icon',
55
+ 'id': 'id',
56
+ 'name': 'name',
57
+ 'need_auth': 'need_auth',
58
+ 'provider_name': 'provider_name',
59
+ 'release_version': 'release_version',
60
+ 'runtime_permissions': 'runtime_permissions',
61
+ 'status': 'status',
62
+ 'swagger': 'swagger',
63
+ 'swagger_version_id': 'swagger_version_id',
64
+ 'trigger_count': 'trigger_count',
65
+ 'triggers': 'triggers',
66
+ 'type': 'type',
67
+ 'updated_time': 'updated_time',
68
+ 'version': 'version'
69
+ }
70
+
71
+ def __init__(self, action_count=None, actions=None, auth_content=None, auth_id=None, category=None, created_time=None, description=None, favorite=None, icon=None, id=None, name=None, need_auth=None, provider_name=None, release_version=None, runtime_permissions=None, status=None, swagger=None, swagger_version_id=None, trigger_count=None, triggers=None, type=None, updated_time=None, version=None):
72
+ r"""ConnectorInfo
73
+
74
+ The model defined in huaweicloud sdk
75
+
76
+ :param action_count: 执行动作数量
77
+ :type action_count: int
78
+ :param actions: 触发事件数量
79
+ :type actions: list[:class:`huaweicloudsdkmssi.v1.ActionBaseInfo`]
80
+ :param auth_content: 安全认证配置内容
81
+ :type auth_content: object
82
+ :param auth_id: 认证配置ID
83
+ :type auth_id: str
84
+ :param category: 自定义连接器种类(连接器市场的tab分类)
85
+ :type category: str
86
+ :param created_time: 创建时间
87
+ :type created_time: datetime
88
+ :param description: 自定义连接器描述
89
+ :type description: str
90
+ :param favorite: 是否收藏
91
+ :type favorite: bool
92
+ :param icon: logo base64编码
93
+ :type icon: str
94
+ :param id: 自定义连接器ID
95
+ :type id: str
96
+ :param name: 自定义连接器名称
97
+ :type name: str
98
+ :param need_auth: 是否需要验证
99
+ :type need_auth: bool
100
+ :param provider_name: 服务提供商
101
+ :type provider_name: str
102
+ :param release_version: 发布版本
103
+ :type release_version: str
104
+ :param runtime_permissions: 权限
105
+ :type runtime_permissions: list[:class:`huaweicloudsdkmssi.v1.RuntimePermission`]
106
+ :param status: 状态(dev:草稿、released:已发布、onboard:已上架)
107
+ :type status: str
108
+ :param swagger: swagger文档(只包含基本信息+认证信息)
109
+ :type swagger: object
110
+ :param swagger_version_id: 版本id
111
+ :type swagger_version_id: str
112
+ :param trigger_count: 触发事件数量
113
+ :type trigger_count: int
114
+ :param triggers: 触发事件数量
115
+ :type triggers: list[:class:`huaweicloudsdkmssi.v1.TriggerBaseInfo`]
116
+ :param type: 自定义连接器类型
117
+ :type type: str
118
+ :param updated_time: 修改时间
119
+ :type updated_time: datetime
120
+ :param version: 版本号
121
+ :type version: object
122
+ """
123
+
124
+
125
+
126
+ self._action_count = None
127
+ self._actions = None
128
+ self._auth_content = None
129
+ self._auth_id = None
130
+ self._category = None
131
+ self._created_time = None
132
+ self._description = None
133
+ self._favorite = None
134
+ self._icon = None
135
+ self._id = None
136
+ self._name = None
137
+ self._need_auth = None
138
+ self._provider_name = None
139
+ self._release_version = None
140
+ self._runtime_permissions = None
141
+ self._status = None
142
+ self._swagger = None
143
+ self._swagger_version_id = None
144
+ self._trigger_count = None
145
+ self._triggers = None
146
+ self._type = None
147
+ self._updated_time = None
148
+ self._version = None
149
+ self.discriminator = None
150
+
151
+ if action_count is not None:
152
+ self.action_count = action_count
153
+ if actions is not None:
154
+ self.actions = actions
155
+ if auth_content is not None:
156
+ self.auth_content = auth_content
157
+ if auth_id is not None:
158
+ self.auth_id = auth_id
159
+ if category is not None:
160
+ self.category = category
161
+ if created_time is not None:
162
+ self.created_time = created_time
163
+ if description is not None:
164
+ self.description = description
165
+ if favorite is not None:
166
+ self.favorite = favorite
167
+ if icon is not None:
168
+ self.icon = icon
169
+ if id is not None:
170
+ self.id = id
171
+ if name is not None:
172
+ self.name = name
173
+ if need_auth is not None:
174
+ self.need_auth = need_auth
175
+ if provider_name is not None:
176
+ self.provider_name = provider_name
177
+ if release_version is not None:
178
+ self.release_version = release_version
179
+ if runtime_permissions is not None:
180
+ self.runtime_permissions = runtime_permissions
181
+ if status is not None:
182
+ self.status = status
183
+ if swagger is not None:
184
+ self.swagger = swagger
185
+ if swagger_version_id is not None:
186
+ self.swagger_version_id = swagger_version_id
187
+ if trigger_count is not None:
188
+ self.trigger_count = trigger_count
189
+ if triggers is not None:
190
+ self.triggers = triggers
191
+ if type is not None:
192
+ self.type = type
193
+ if updated_time is not None:
194
+ self.updated_time = updated_time
195
+ if version is not None:
196
+ self.version = version
197
+
198
+ @property
199
+ def action_count(self):
200
+ r"""Gets the action_count of this ConnectorInfo.
201
+
202
+ 执行动作数量
203
+
204
+ :return: The action_count of this ConnectorInfo.
205
+ :rtype: int
206
+ """
207
+ return self._action_count
208
+
209
+ @action_count.setter
210
+ def action_count(self, action_count):
211
+ r"""Sets the action_count of this ConnectorInfo.
212
+
213
+ 执行动作数量
214
+
215
+ :param action_count: The action_count of this ConnectorInfo.
216
+ :type action_count: int
217
+ """
218
+ self._action_count = action_count
219
+
220
+ @property
221
+ def actions(self):
222
+ r"""Gets the actions of this ConnectorInfo.
223
+
224
+ 触发事件数量
225
+
226
+ :return: The actions of this ConnectorInfo.
227
+ :rtype: list[:class:`huaweicloudsdkmssi.v1.ActionBaseInfo`]
228
+ """
229
+ return self._actions
230
+
231
+ @actions.setter
232
+ def actions(self, actions):
233
+ r"""Sets the actions of this ConnectorInfo.
234
+
235
+ 触发事件数量
236
+
237
+ :param actions: The actions of this ConnectorInfo.
238
+ :type actions: list[:class:`huaweicloudsdkmssi.v1.ActionBaseInfo`]
239
+ """
240
+ self._actions = actions
241
+
242
+ @property
243
+ def auth_content(self):
244
+ r"""Gets the auth_content of this ConnectorInfo.
245
+
246
+ 安全认证配置内容
247
+
248
+ :return: The auth_content of this ConnectorInfo.
249
+ :rtype: object
250
+ """
251
+ return self._auth_content
252
+
253
+ @auth_content.setter
254
+ def auth_content(self, auth_content):
255
+ r"""Sets the auth_content of this ConnectorInfo.
256
+
257
+ 安全认证配置内容
258
+
259
+ :param auth_content: The auth_content of this ConnectorInfo.
260
+ :type auth_content: object
261
+ """
262
+ self._auth_content = auth_content
263
+
264
+ @property
265
+ def auth_id(self):
266
+ r"""Gets the auth_id of this ConnectorInfo.
267
+
268
+ 认证配置ID
269
+
270
+ :return: The auth_id of this ConnectorInfo.
271
+ :rtype: str
272
+ """
273
+ return self._auth_id
274
+
275
+ @auth_id.setter
276
+ def auth_id(self, auth_id):
277
+ r"""Sets the auth_id of this ConnectorInfo.
278
+
279
+ 认证配置ID
280
+
281
+ :param auth_id: The auth_id of this ConnectorInfo.
282
+ :type auth_id: str
283
+ """
284
+ self._auth_id = auth_id
285
+
286
+ @property
287
+ def category(self):
288
+ r"""Gets the category of this ConnectorInfo.
289
+
290
+ 自定义连接器种类(连接器市场的tab分类)
291
+
292
+ :return: The category of this ConnectorInfo.
293
+ :rtype: str
294
+ """
295
+ return self._category
296
+
297
+ @category.setter
298
+ def category(self, category):
299
+ r"""Sets the category of this ConnectorInfo.
300
+
301
+ 自定义连接器种类(连接器市场的tab分类)
302
+
303
+ :param category: The category of this ConnectorInfo.
304
+ :type category: str
305
+ """
306
+ self._category = category
307
+
308
+ @property
309
+ def created_time(self):
310
+ r"""Gets the created_time of this ConnectorInfo.
311
+
312
+ 创建时间
313
+
314
+ :return: The created_time of this ConnectorInfo.
315
+ :rtype: datetime
316
+ """
317
+ return self._created_time
318
+
319
+ @created_time.setter
320
+ def created_time(self, created_time):
321
+ r"""Sets the created_time of this ConnectorInfo.
322
+
323
+ 创建时间
324
+
325
+ :param created_time: The created_time of this ConnectorInfo.
326
+ :type created_time: datetime
327
+ """
328
+ self._created_time = created_time
329
+
330
+ @property
331
+ def description(self):
332
+ r"""Gets the description of this ConnectorInfo.
333
+
334
+ 自定义连接器描述
335
+
336
+ :return: The description of this ConnectorInfo.
337
+ :rtype: str
338
+ """
339
+ return self._description
340
+
341
+ @description.setter
342
+ def description(self, description):
343
+ r"""Sets the description of this ConnectorInfo.
344
+
345
+ 自定义连接器描述
346
+
347
+ :param description: The description of this ConnectorInfo.
348
+ :type description: str
349
+ """
350
+ self._description = description
351
+
352
+ @property
353
+ def favorite(self):
354
+ r"""Gets the favorite of this ConnectorInfo.
355
+
356
+ 是否收藏
357
+
358
+ :return: The favorite of this ConnectorInfo.
359
+ :rtype: bool
360
+ """
361
+ return self._favorite
362
+
363
+ @favorite.setter
364
+ def favorite(self, favorite):
365
+ r"""Sets the favorite of this ConnectorInfo.
366
+
367
+ 是否收藏
368
+
369
+ :param favorite: The favorite of this ConnectorInfo.
370
+ :type favorite: bool
371
+ """
372
+ self._favorite = favorite
373
+
374
+ @property
375
+ def icon(self):
376
+ r"""Gets the icon of this ConnectorInfo.
377
+
378
+ logo base64编码
379
+
380
+ :return: The icon of this ConnectorInfo.
381
+ :rtype: str
382
+ """
383
+ return self._icon
384
+
385
+ @icon.setter
386
+ def icon(self, icon):
387
+ r"""Sets the icon of this ConnectorInfo.
388
+
389
+ logo base64编码
390
+
391
+ :param icon: The icon of this ConnectorInfo.
392
+ :type icon: str
393
+ """
394
+ self._icon = icon
395
+
396
+ @property
397
+ def id(self):
398
+ r"""Gets the id of this ConnectorInfo.
399
+
400
+ 自定义连接器ID
401
+
402
+ :return: The id of this ConnectorInfo.
403
+ :rtype: str
404
+ """
405
+ return self._id
406
+
407
+ @id.setter
408
+ def id(self, id):
409
+ r"""Sets the id of this ConnectorInfo.
410
+
411
+ 自定义连接器ID
412
+
413
+ :param id: The id of this ConnectorInfo.
414
+ :type id: str
415
+ """
416
+ self._id = id
417
+
418
+ @property
419
+ def name(self):
420
+ r"""Gets the name of this ConnectorInfo.
421
+
422
+ 自定义连接器名称
423
+
424
+ :return: The name of this ConnectorInfo.
425
+ :rtype: str
426
+ """
427
+ return self._name
428
+
429
+ @name.setter
430
+ def name(self, name):
431
+ r"""Sets the name of this ConnectorInfo.
432
+
433
+ 自定义连接器名称
434
+
435
+ :param name: The name of this ConnectorInfo.
436
+ :type name: str
437
+ """
438
+ self._name = name
439
+
440
+ @property
441
+ def need_auth(self):
442
+ r"""Gets the need_auth of this ConnectorInfo.
443
+
444
+ 是否需要验证
445
+
446
+ :return: The need_auth of this ConnectorInfo.
447
+ :rtype: bool
448
+ """
449
+ return self._need_auth
450
+
451
+ @need_auth.setter
452
+ def need_auth(self, need_auth):
453
+ r"""Sets the need_auth of this ConnectorInfo.
454
+
455
+ 是否需要验证
456
+
457
+ :param need_auth: The need_auth of this ConnectorInfo.
458
+ :type need_auth: bool
459
+ """
460
+ self._need_auth = need_auth
461
+
462
+ @property
463
+ def provider_name(self):
464
+ r"""Gets the provider_name of this ConnectorInfo.
465
+
466
+ 服务提供商
467
+
468
+ :return: The provider_name of this ConnectorInfo.
469
+ :rtype: str
470
+ """
471
+ return self._provider_name
472
+
473
+ @provider_name.setter
474
+ def provider_name(self, provider_name):
475
+ r"""Sets the provider_name of this ConnectorInfo.
476
+
477
+ 服务提供商
478
+
479
+ :param provider_name: The provider_name of this ConnectorInfo.
480
+ :type provider_name: str
481
+ """
482
+ self._provider_name = provider_name
483
+
484
+ @property
485
+ def release_version(self):
486
+ r"""Gets the release_version of this ConnectorInfo.
487
+
488
+ 发布版本
489
+
490
+ :return: The release_version of this ConnectorInfo.
491
+ :rtype: str
492
+ """
493
+ return self._release_version
494
+
495
+ @release_version.setter
496
+ def release_version(self, release_version):
497
+ r"""Sets the release_version of this ConnectorInfo.
498
+
499
+ 发布版本
500
+
501
+ :param release_version: The release_version of this ConnectorInfo.
502
+ :type release_version: str
503
+ """
504
+ self._release_version = release_version
505
+
506
+ @property
507
+ def runtime_permissions(self):
508
+ r"""Gets the runtime_permissions of this ConnectorInfo.
509
+
510
+ 权限
511
+
512
+ :return: The runtime_permissions of this ConnectorInfo.
513
+ :rtype: list[:class:`huaweicloudsdkmssi.v1.RuntimePermission`]
514
+ """
515
+ return self._runtime_permissions
516
+
517
+ @runtime_permissions.setter
518
+ def runtime_permissions(self, runtime_permissions):
519
+ r"""Sets the runtime_permissions of this ConnectorInfo.
520
+
521
+ 权限
522
+
523
+ :param runtime_permissions: The runtime_permissions of this ConnectorInfo.
524
+ :type runtime_permissions: list[:class:`huaweicloudsdkmssi.v1.RuntimePermission`]
525
+ """
526
+ self._runtime_permissions = runtime_permissions
527
+
528
+ @property
529
+ def status(self):
530
+ r"""Gets the status of this ConnectorInfo.
531
+
532
+ 状态(dev:草稿、released:已发布、onboard:已上架)
533
+
534
+ :return: The status of this ConnectorInfo.
535
+ :rtype: str
536
+ """
537
+ return self._status
538
+
539
+ @status.setter
540
+ def status(self, status):
541
+ r"""Sets the status of this ConnectorInfo.
542
+
543
+ 状态(dev:草稿、released:已发布、onboard:已上架)
544
+
545
+ :param status: The status of this ConnectorInfo.
546
+ :type status: str
547
+ """
548
+ self._status = status
549
+
550
+ @property
551
+ def swagger(self):
552
+ r"""Gets the swagger of this ConnectorInfo.
553
+
554
+ swagger文档(只包含基本信息+认证信息)
555
+
556
+ :return: The swagger of this ConnectorInfo.
557
+ :rtype: object
558
+ """
559
+ return self._swagger
560
+
561
+ @swagger.setter
562
+ def swagger(self, swagger):
563
+ r"""Sets the swagger of this ConnectorInfo.
564
+
565
+ swagger文档(只包含基本信息+认证信息)
566
+
567
+ :param swagger: The swagger of this ConnectorInfo.
568
+ :type swagger: object
569
+ """
570
+ self._swagger = swagger
571
+
572
+ @property
573
+ def swagger_version_id(self):
574
+ r"""Gets the swagger_version_id of this ConnectorInfo.
575
+
576
+ 版本id
577
+
578
+ :return: The swagger_version_id of this ConnectorInfo.
579
+ :rtype: str
580
+ """
581
+ return self._swagger_version_id
582
+
583
+ @swagger_version_id.setter
584
+ def swagger_version_id(self, swagger_version_id):
585
+ r"""Sets the swagger_version_id of this ConnectorInfo.
586
+
587
+ 版本id
588
+
589
+ :param swagger_version_id: The swagger_version_id of this ConnectorInfo.
590
+ :type swagger_version_id: str
591
+ """
592
+ self._swagger_version_id = swagger_version_id
593
+
594
+ @property
595
+ def trigger_count(self):
596
+ r"""Gets the trigger_count of this ConnectorInfo.
597
+
598
+ 触发事件数量
599
+
600
+ :return: The trigger_count of this ConnectorInfo.
601
+ :rtype: int
602
+ """
603
+ return self._trigger_count
604
+
605
+ @trigger_count.setter
606
+ def trigger_count(self, trigger_count):
607
+ r"""Sets the trigger_count of this ConnectorInfo.
608
+
609
+ 触发事件数量
610
+
611
+ :param trigger_count: The trigger_count of this ConnectorInfo.
612
+ :type trigger_count: int
613
+ """
614
+ self._trigger_count = trigger_count
615
+
616
+ @property
617
+ def triggers(self):
618
+ r"""Gets the triggers of this ConnectorInfo.
619
+
620
+ 触发事件数量
621
+
622
+ :return: The triggers of this ConnectorInfo.
623
+ :rtype: list[:class:`huaweicloudsdkmssi.v1.TriggerBaseInfo`]
624
+ """
625
+ return self._triggers
626
+
627
+ @triggers.setter
628
+ def triggers(self, triggers):
629
+ r"""Sets the triggers of this ConnectorInfo.
630
+
631
+ 触发事件数量
632
+
633
+ :param triggers: The triggers of this ConnectorInfo.
634
+ :type triggers: list[:class:`huaweicloudsdkmssi.v1.TriggerBaseInfo`]
635
+ """
636
+ self._triggers = triggers
637
+
638
+ @property
639
+ def type(self):
640
+ r"""Gets the type of this ConnectorInfo.
641
+
642
+ 自定义连接器类型
643
+
644
+ :return: The type of this ConnectorInfo.
645
+ :rtype: str
646
+ """
647
+ return self._type
648
+
649
+ @type.setter
650
+ def type(self, type):
651
+ r"""Sets the type of this ConnectorInfo.
652
+
653
+ 自定义连接器类型
654
+
655
+ :param type: The type of this ConnectorInfo.
656
+ :type type: str
657
+ """
658
+ self._type = type
659
+
660
+ @property
661
+ def updated_time(self):
662
+ r"""Gets the updated_time of this ConnectorInfo.
663
+
664
+ 修改时间
665
+
666
+ :return: The updated_time of this ConnectorInfo.
667
+ :rtype: datetime
668
+ """
669
+ return self._updated_time
670
+
671
+ @updated_time.setter
672
+ def updated_time(self, updated_time):
673
+ r"""Sets the updated_time of this ConnectorInfo.
674
+
675
+ 修改时间
676
+
677
+ :param updated_time: The updated_time of this ConnectorInfo.
678
+ :type updated_time: datetime
679
+ """
680
+ self._updated_time = updated_time
681
+
682
+ @property
683
+ def version(self):
684
+ r"""Gets the version of this ConnectorInfo.
685
+
686
+ 版本号
687
+
688
+ :return: The version of this ConnectorInfo.
689
+ :rtype: object
690
+ """
691
+ return self._version
692
+
693
+ @version.setter
694
+ def version(self, version):
695
+ r"""Sets the version of this ConnectorInfo.
696
+
697
+ 版本号
698
+
699
+ :param version: The version of this ConnectorInfo.
700
+ :type version: object
701
+ """
702
+ self._version = version
703
+
704
+ def to_dict(self):
705
+ """Returns the model properties as a dict"""
706
+ result = {}
707
+
708
+ for attr, _ in six.iteritems(self.openapi_types):
709
+ value = getattr(self, attr)
710
+ if isinstance(value, list):
711
+ result[attr] = list(map(
712
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
713
+ value
714
+ ))
715
+ elif hasattr(value, "to_dict"):
716
+ result[attr] = value.to_dict()
717
+ elif isinstance(value, dict):
718
+ result[attr] = dict(map(
719
+ lambda item: (item[0], item[1].to_dict())
720
+ if hasattr(item[1], "to_dict") else item,
721
+ value.items()
722
+ ))
723
+ else:
724
+ if attr in self.sensitive_list:
725
+ result[attr] = "****"
726
+ else:
727
+ result[attr] = value
728
+
729
+ return result
730
+
731
+ def to_str(self):
732
+ """Returns the string representation of the model"""
733
+ import simplejson as json
734
+ if six.PY2:
735
+ import sys
736
+ reload(sys)
737
+ sys.setdefaultencoding("utf-8")
738
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
739
+
740
+ def __repr__(self):
741
+ """For `print`"""
742
+ return self.to_str()
743
+
744
+ def __eq__(self, other):
745
+ """Returns true if both objects are equal"""
746
+ if not isinstance(other, ConnectorInfo):
747
+ return False
748
+
749
+ return self.__dict__ == other.__dict__
750
+
751
+ def __ne__(self, other):
752
+ """Returns true if both objects are not equal"""
753
+ return not self == other