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