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