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.
- huaweicloudsdkmssi/__init__.py +0 -0
- huaweicloudsdkmssi/v1/__init__.py +53 -0
- huaweicloudsdkmssi/v1/model/__init__.py +50 -0
- huaweicloudsdkmssi/v1/model/action_base_info.py +542 -0
- huaweicloudsdkmssi/v1/model/api_config.py +115 -0
- huaweicloudsdkmssi/v1/model/auth_config_a.py +261 -0
- huaweicloudsdkmssi/v1/model/base_connection_info.py +361 -0
- huaweicloudsdkmssi/v1/model/connection_info.py +761 -0
- huaweicloudsdkmssi/v1/model/connector_info.py +753 -0
- huaweicloudsdkmssi/v1/model/connector_info0.py +575 -0
- huaweicloudsdkmssi/v1/model/create_connection_info_request.py +111 -0
- huaweicloudsdkmssi/v1/model/create_connection_info_response.py +174 -0
- huaweicloudsdkmssi/v1/model/create_custom_connector_from_openapi_request.py +111 -0
- huaweicloudsdkmssi/v1/model/create_custom_connector_from_openapi_response.py +282 -0
- huaweicloudsdkmssi/v1/model/create_flow_request.py +111 -0
- huaweicloudsdkmssi/v1/model/create_flow_response.py +203 -0
- huaweicloudsdkmssi/v1/model/create_flow_template_from_flow_request.py +139 -0
- huaweicloudsdkmssi/v1/model/create_flow_template_from_flow_response.py +203 -0
- huaweicloudsdkmssi/v1/model/custom_connector_info_v2.py +244 -0
- huaweicloudsdkmssi/v1/model/delete_connection_info_request.py +114 -0
- huaweicloudsdkmssi/v1/model/delete_connection_info_response.py +174 -0
- huaweicloudsdkmssi/v1/model/delete_custom_connector_request.py +114 -0
- huaweicloudsdkmssi/v1/model/delete_custom_connector_response.py +174 -0
- huaweicloudsdkmssi/v1/model/delete_flow_request.py +114 -0
- huaweicloudsdkmssi/v1/model/delete_flow_response.py +174 -0
- huaweicloudsdkmssi/v1/model/flow_meta.py +1114 -0
- huaweicloudsdkmssi/v1/model/runtime_permission.py +231 -0
- huaweicloudsdkmssi/v1/model/search_flow_by_id_request.py +143 -0
- huaweicloudsdkmssi/v1/model/search_flow_by_id_response.py +1115 -0
- huaweicloudsdkmssi/v1/model/show_all_connections_request.py +171 -0
- huaweicloudsdkmssi/v1/model/show_all_connections_response.py +85 -0
- huaweicloudsdkmssi/v1/model/show_all_flows_request.py +258 -0
- huaweicloudsdkmssi/v1/model/show_all_flows_response.py +145 -0
- huaweicloudsdkmssi/v1/model/show_connectors_request.py +258 -0
- huaweicloudsdkmssi/v1/model/show_connectors_response.py +145 -0
- huaweicloudsdkmssi/v1/model/show_custom_connector_request.py +114 -0
- huaweicloudsdkmssi/v1/model/show_custom_connector_response.py +174 -0
- huaweicloudsdkmssi/v1/model/show_custom_connectors_request.py +171 -0
- huaweicloudsdkmssi/v1/model/show_custom_connectors_response.py +145 -0
- huaweicloudsdkmssi/v1/model/show_single_connection_request.py +114 -0
- huaweicloudsdkmssi/v1/model/show_single_connection_response.py +762 -0
- huaweicloudsdkmssi/v1/model/tag.py +144 -0
- huaweicloudsdkmssi/v1/model/template_message.py +171 -0
- huaweicloudsdkmssi/v1/model/trigger_base_info.py +542 -0
- huaweicloudsdkmssi/v1/model/update_connection_info_request.py +139 -0
- huaweicloudsdkmssi/v1/model/update_connection_info_response.py +174 -0
- huaweicloudsdkmssi/v1/model/update_flow_request.py +139 -0
- huaweicloudsdkmssi/v1/model/update_flow_response.py +203 -0
- huaweicloudsdkmssi/v1/mssi_async_client.py +1157 -0
- huaweicloudsdkmssi/v1/mssi_client.py +1154 -0
- huaweicloudsdkmssi/v1/region/__init__.py +0 -0
- huaweicloudsdkmssi/v1/region/mssi_region.py +31 -0
- huaweicloudsdkmssi-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkmssi-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkmssi-3.1.160.dist-info/RECORD +57 -0
- huaweicloudsdkmssi-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkmssi-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,575 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ConnectorInfo0:
|
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_content': 'AuthConfigA',
|
21
|
+
'auth_id': 'str',
|
22
|
+
'auth_type': 'str',
|
23
|
+
'category': 'str',
|
24
|
+
'created_time': 'datetime',
|
25
|
+
'definition_ref': 'str',
|
26
|
+
'description': 'str',
|
27
|
+
'icon': 'str',
|
28
|
+
'id': 'str',
|
29
|
+
'name': 'str',
|
30
|
+
'need_auth': 'bool',
|
31
|
+
'operations': 'list[object]',
|
32
|
+
'provider': 'str',
|
33
|
+
'swagger': 'str',
|
34
|
+
'triggers': 'list[object]',
|
35
|
+
'type': 'str',
|
36
|
+
'updated_time': 'datetime'
|
37
|
+
}
|
38
|
+
|
39
|
+
attribute_map = {
|
40
|
+
'auth_content': 'authContent',
|
41
|
+
'auth_id': 'authId',
|
42
|
+
'auth_type': 'auth_type',
|
43
|
+
'category': 'category',
|
44
|
+
'created_time': 'created_time',
|
45
|
+
'definition_ref': 'definitionRef',
|
46
|
+
'description': 'description',
|
47
|
+
'icon': 'icon',
|
48
|
+
'id': 'id',
|
49
|
+
'name': 'name',
|
50
|
+
'need_auth': 'needAuth',
|
51
|
+
'operations': 'operations',
|
52
|
+
'provider': 'provider',
|
53
|
+
'swagger': 'swagger',
|
54
|
+
'triggers': 'triggers',
|
55
|
+
'type': 'type',
|
56
|
+
'updated_time': 'updated_time'
|
57
|
+
}
|
58
|
+
|
59
|
+
def __init__(self, auth_content=None, auth_id=None, auth_type=None, category=None, created_time=None, definition_ref=None, description=None, icon=None, id=None, name=None, need_auth=None, operations=None, provider=None, swagger=None, triggers=None, type=None, updated_time=None):
|
60
|
+
r"""ConnectorInfo0
|
61
|
+
|
62
|
+
The model defined in huaweicloud sdk
|
63
|
+
|
64
|
+
:param auth_content:
|
65
|
+
:type auth_content: :class:`huaweicloudsdkmssi.v1.AuthConfigA`
|
66
|
+
:param auth_id: 认证id
|
67
|
+
:type auth_id: str
|
68
|
+
:param auth_type: 判断方式
|
69
|
+
:type auth_type: str
|
70
|
+
:param category: 内置连接器查询
|
71
|
+
:type category: str
|
72
|
+
:param created_time: 创建时间
|
73
|
+
:type created_time: datetime
|
74
|
+
:param definition_ref: 连接器
|
75
|
+
:type definition_ref: str
|
76
|
+
:param description: 连接器描述
|
77
|
+
:type description: str
|
78
|
+
:param icon: logo base64编码
|
79
|
+
:type icon: str
|
80
|
+
:param id: 连接器ID
|
81
|
+
:type id: str
|
82
|
+
:param name: 连接器名称
|
83
|
+
:type name: str
|
84
|
+
:param need_auth: 是否需要验证
|
85
|
+
:type need_auth: bool
|
86
|
+
:param operations: 视图数据
|
87
|
+
:type operations: list[object]
|
88
|
+
:param provider: 供应商
|
89
|
+
:type provider: str
|
90
|
+
:param swagger: swagger文档,大文本
|
91
|
+
:type swagger: str
|
92
|
+
:param triggers: 操作json
|
93
|
+
:type triggers: list[object]
|
94
|
+
:param type: 连接器类型
|
95
|
+
:type type: str
|
96
|
+
:param updated_time: 修改时间
|
97
|
+
:type updated_time: datetime
|
98
|
+
"""
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
self._auth_content = None
|
103
|
+
self._auth_id = None
|
104
|
+
self._auth_type = None
|
105
|
+
self._category = None
|
106
|
+
self._created_time = None
|
107
|
+
self._definition_ref = None
|
108
|
+
self._description = None
|
109
|
+
self._icon = None
|
110
|
+
self._id = None
|
111
|
+
self._name = None
|
112
|
+
self._need_auth = None
|
113
|
+
self._operations = None
|
114
|
+
self._provider = None
|
115
|
+
self._swagger = None
|
116
|
+
self._triggers = None
|
117
|
+
self._type = None
|
118
|
+
self._updated_time = None
|
119
|
+
self.discriminator = None
|
120
|
+
|
121
|
+
if auth_content is not None:
|
122
|
+
self.auth_content = auth_content
|
123
|
+
if auth_id is not None:
|
124
|
+
self.auth_id = auth_id
|
125
|
+
if auth_type is not None:
|
126
|
+
self.auth_type = auth_type
|
127
|
+
if category is not None:
|
128
|
+
self.category = category
|
129
|
+
if created_time is not None:
|
130
|
+
self.created_time = created_time
|
131
|
+
if definition_ref is not None:
|
132
|
+
self.definition_ref = definition_ref
|
133
|
+
if description is not None:
|
134
|
+
self.description = description
|
135
|
+
if icon is not None:
|
136
|
+
self.icon = icon
|
137
|
+
if id is not None:
|
138
|
+
self.id = id
|
139
|
+
if name is not None:
|
140
|
+
self.name = name
|
141
|
+
if need_auth is not None:
|
142
|
+
self.need_auth = need_auth
|
143
|
+
if operations is not None:
|
144
|
+
self.operations = operations
|
145
|
+
if provider is not None:
|
146
|
+
self.provider = provider
|
147
|
+
if swagger is not None:
|
148
|
+
self.swagger = swagger
|
149
|
+
if triggers is not None:
|
150
|
+
self.triggers = triggers
|
151
|
+
if type is not None:
|
152
|
+
self.type = type
|
153
|
+
if updated_time is not None:
|
154
|
+
self.updated_time = updated_time
|
155
|
+
|
156
|
+
@property
|
157
|
+
def auth_content(self):
|
158
|
+
r"""Gets the auth_content of this ConnectorInfo0.
|
159
|
+
|
160
|
+
:return: The auth_content of this ConnectorInfo0.
|
161
|
+
:rtype: :class:`huaweicloudsdkmssi.v1.AuthConfigA`
|
162
|
+
"""
|
163
|
+
return self._auth_content
|
164
|
+
|
165
|
+
@auth_content.setter
|
166
|
+
def auth_content(self, auth_content):
|
167
|
+
r"""Sets the auth_content of this ConnectorInfo0.
|
168
|
+
|
169
|
+
:param auth_content: The auth_content of this ConnectorInfo0.
|
170
|
+
:type auth_content: :class:`huaweicloudsdkmssi.v1.AuthConfigA`
|
171
|
+
"""
|
172
|
+
self._auth_content = auth_content
|
173
|
+
|
174
|
+
@property
|
175
|
+
def auth_id(self):
|
176
|
+
r"""Gets the auth_id of this ConnectorInfo0.
|
177
|
+
|
178
|
+
认证id
|
179
|
+
|
180
|
+
:return: The auth_id of this ConnectorInfo0.
|
181
|
+
:rtype: str
|
182
|
+
"""
|
183
|
+
return self._auth_id
|
184
|
+
|
185
|
+
@auth_id.setter
|
186
|
+
def auth_id(self, auth_id):
|
187
|
+
r"""Sets the auth_id of this ConnectorInfo0.
|
188
|
+
|
189
|
+
认证id
|
190
|
+
|
191
|
+
:param auth_id: The auth_id of this ConnectorInfo0.
|
192
|
+
:type auth_id: str
|
193
|
+
"""
|
194
|
+
self._auth_id = auth_id
|
195
|
+
|
196
|
+
@property
|
197
|
+
def auth_type(self):
|
198
|
+
r"""Gets the auth_type of this ConnectorInfo0.
|
199
|
+
|
200
|
+
判断方式
|
201
|
+
|
202
|
+
:return: The auth_type of this ConnectorInfo0.
|
203
|
+
:rtype: str
|
204
|
+
"""
|
205
|
+
return self._auth_type
|
206
|
+
|
207
|
+
@auth_type.setter
|
208
|
+
def auth_type(self, auth_type):
|
209
|
+
r"""Sets the auth_type of this ConnectorInfo0.
|
210
|
+
|
211
|
+
判断方式
|
212
|
+
|
213
|
+
:param auth_type: The auth_type of this ConnectorInfo0.
|
214
|
+
:type auth_type: str
|
215
|
+
"""
|
216
|
+
self._auth_type = auth_type
|
217
|
+
|
218
|
+
@property
|
219
|
+
def category(self):
|
220
|
+
r"""Gets the category of this ConnectorInfo0.
|
221
|
+
|
222
|
+
内置连接器查询
|
223
|
+
|
224
|
+
:return: The category of this ConnectorInfo0.
|
225
|
+
:rtype: str
|
226
|
+
"""
|
227
|
+
return self._category
|
228
|
+
|
229
|
+
@category.setter
|
230
|
+
def category(self, category):
|
231
|
+
r"""Sets the category of this ConnectorInfo0.
|
232
|
+
|
233
|
+
内置连接器查询
|
234
|
+
|
235
|
+
:param category: The category of this ConnectorInfo0.
|
236
|
+
:type category: str
|
237
|
+
"""
|
238
|
+
self._category = category
|
239
|
+
|
240
|
+
@property
|
241
|
+
def created_time(self):
|
242
|
+
r"""Gets the created_time of this ConnectorInfo0.
|
243
|
+
|
244
|
+
创建时间
|
245
|
+
|
246
|
+
:return: The created_time of this ConnectorInfo0.
|
247
|
+
:rtype: datetime
|
248
|
+
"""
|
249
|
+
return self._created_time
|
250
|
+
|
251
|
+
@created_time.setter
|
252
|
+
def created_time(self, created_time):
|
253
|
+
r"""Sets the created_time of this ConnectorInfo0.
|
254
|
+
|
255
|
+
创建时间
|
256
|
+
|
257
|
+
:param created_time: The created_time of this ConnectorInfo0.
|
258
|
+
:type created_time: datetime
|
259
|
+
"""
|
260
|
+
self._created_time = created_time
|
261
|
+
|
262
|
+
@property
|
263
|
+
def definition_ref(self):
|
264
|
+
r"""Gets the definition_ref of this ConnectorInfo0.
|
265
|
+
|
266
|
+
连接器
|
267
|
+
|
268
|
+
:return: The definition_ref of this ConnectorInfo0.
|
269
|
+
:rtype: str
|
270
|
+
"""
|
271
|
+
return self._definition_ref
|
272
|
+
|
273
|
+
@definition_ref.setter
|
274
|
+
def definition_ref(self, definition_ref):
|
275
|
+
r"""Sets the definition_ref of this ConnectorInfo0.
|
276
|
+
|
277
|
+
连接器
|
278
|
+
|
279
|
+
:param definition_ref: The definition_ref of this ConnectorInfo0.
|
280
|
+
:type definition_ref: str
|
281
|
+
"""
|
282
|
+
self._definition_ref = definition_ref
|
283
|
+
|
284
|
+
@property
|
285
|
+
def description(self):
|
286
|
+
r"""Gets the description of this ConnectorInfo0.
|
287
|
+
|
288
|
+
连接器描述
|
289
|
+
|
290
|
+
:return: The description of this ConnectorInfo0.
|
291
|
+
:rtype: str
|
292
|
+
"""
|
293
|
+
return self._description
|
294
|
+
|
295
|
+
@description.setter
|
296
|
+
def description(self, description):
|
297
|
+
r"""Sets the description of this ConnectorInfo0.
|
298
|
+
|
299
|
+
连接器描述
|
300
|
+
|
301
|
+
:param description: The description of this ConnectorInfo0.
|
302
|
+
:type description: str
|
303
|
+
"""
|
304
|
+
self._description = description
|
305
|
+
|
306
|
+
@property
|
307
|
+
def icon(self):
|
308
|
+
r"""Gets the icon of this ConnectorInfo0.
|
309
|
+
|
310
|
+
logo base64编码
|
311
|
+
|
312
|
+
:return: The icon of this ConnectorInfo0.
|
313
|
+
:rtype: str
|
314
|
+
"""
|
315
|
+
return self._icon
|
316
|
+
|
317
|
+
@icon.setter
|
318
|
+
def icon(self, icon):
|
319
|
+
r"""Sets the icon of this ConnectorInfo0.
|
320
|
+
|
321
|
+
logo base64编码
|
322
|
+
|
323
|
+
:param icon: The icon of this ConnectorInfo0.
|
324
|
+
:type icon: str
|
325
|
+
"""
|
326
|
+
self._icon = icon
|
327
|
+
|
328
|
+
@property
|
329
|
+
def id(self):
|
330
|
+
r"""Gets the id of this ConnectorInfo0.
|
331
|
+
|
332
|
+
连接器ID
|
333
|
+
|
334
|
+
:return: The id of this ConnectorInfo0.
|
335
|
+
:rtype: str
|
336
|
+
"""
|
337
|
+
return self._id
|
338
|
+
|
339
|
+
@id.setter
|
340
|
+
def id(self, id):
|
341
|
+
r"""Sets the id of this ConnectorInfo0.
|
342
|
+
|
343
|
+
连接器ID
|
344
|
+
|
345
|
+
:param id: The id of this ConnectorInfo0.
|
346
|
+
:type id: str
|
347
|
+
"""
|
348
|
+
self._id = id
|
349
|
+
|
350
|
+
@property
|
351
|
+
def name(self):
|
352
|
+
r"""Gets the name of this ConnectorInfo0.
|
353
|
+
|
354
|
+
连接器名称
|
355
|
+
|
356
|
+
:return: The name of this ConnectorInfo0.
|
357
|
+
:rtype: str
|
358
|
+
"""
|
359
|
+
return self._name
|
360
|
+
|
361
|
+
@name.setter
|
362
|
+
def name(self, name):
|
363
|
+
r"""Sets the name of this ConnectorInfo0.
|
364
|
+
|
365
|
+
连接器名称
|
366
|
+
|
367
|
+
:param name: The name of this ConnectorInfo0.
|
368
|
+
:type name: str
|
369
|
+
"""
|
370
|
+
self._name = name
|
371
|
+
|
372
|
+
@property
|
373
|
+
def need_auth(self):
|
374
|
+
r"""Gets the need_auth of this ConnectorInfo0.
|
375
|
+
|
376
|
+
是否需要验证
|
377
|
+
|
378
|
+
:return: The need_auth of this ConnectorInfo0.
|
379
|
+
:rtype: bool
|
380
|
+
"""
|
381
|
+
return self._need_auth
|
382
|
+
|
383
|
+
@need_auth.setter
|
384
|
+
def need_auth(self, need_auth):
|
385
|
+
r"""Sets the need_auth of this ConnectorInfo0.
|
386
|
+
|
387
|
+
是否需要验证
|
388
|
+
|
389
|
+
:param need_auth: The need_auth of this ConnectorInfo0.
|
390
|
+
:type need_auth: bool
|
391
|
+
"""
|
392
|
+
self._need_auth = need_auth
|
393
|
+
|
394
|
+
@property
|
395
|
+
def operations(self):
|
396
|
+
r"""Gets the operations of this ConnectorInfo0.
|
397
|
+
|
398
|
+
视图数据
|
399
|
+
|
400
|
+
:return: The operations of this ConnectorInfo0.
|
401
|
+
:rtype: list[object]
|
402
|
+
"""
|
403
|
+
return self._operations
|
404
|
+
|
405
|
+
@operations.setter
|
406
|
+
def operations(self, operations):
|
407
|
+
r"""Sets the operations of this ConnectorInfo0.
|
408
|
+
|
409
|
+
视图数据
|
410
|
+
|
411
|
+
:param operations: The operations of this ConnectorInfo0.
|
412
|
+
:type operations: list[object]
|
413
|
+
"""
|
414
|
+
self._operations = operations
|
415
|
+
|
416
|
+
@property
|
417
|
+
def provider(self):
|
418
|
+
r"""Gets the provider of this ConnectorInfo0.
|
419
|
+
|
420
|
+
供应商
|
421
|
+
|
422
|
+
:return: The provider of this ConnectorInfo0.
|
423
|
+
:rtype: str
|
424
|
+
"""
|
425
|
+
return self._provider
|
426
|
+
|
427
|
+
@provider.setter
|
428
|
+
def provider(self, provider):
|
429
|
+
r"""Sets the provider of this ConnectorInfo0.
|
430
|
+
|
431
|
+
供应商
|
432
|
+
|
433
|
+
:param provider: The provider of this ConnectorInfo0.
|
434
|
+
:type provider: str
|
435
|
+
"""
|
436
|
+
self._provider = provider
|
437
|
+
|
438
|
+
@property
|
439
|
+
def swagger(self):
|
440
|
+
r"""Gets the swagger of this ConnectorInfo0.
|
441
|
+
|
442
|
+
swagger文档,大文本
|
443
|
+
|
444
|
+
:return: The swagger of this ConnectorInfo0.
|
445
|
+
:rtype: str
|
446
|
+
"""
|
447
|
+
return self._swagger
|
448
|
+
|
449
|
+
@swagger.setter
|
450
|
+
def swagger(self, swagger):
|
451
|
+
r"""Sets the swagger of this ConnectorInfo0.
|
452
|
+
|
453
|
+
swagger文档,大文本
|
454
|
+
|
455
|
+
:param swagger: The swagger of this ConnectorInfo0.
|
456
|
+
:type swagger: str
|
457
|
+
"""
|
458
|
+
self._swagger = swagger
|
459
|
+
|
460
|
+
@property
|
461
|
+
def triggers(self):
|
462
|
+
r"""Gets the triggers of this ConnectorInfo0.
|
463
|
+
|
464
|
+
操作json
|
465
|
+
|
466
|
+
:return: The triggers of this ConnectorInfo0.
|
467
|
+
:rtype: list[object]
|
468
|
+
"""
|
469
|
+
return self._triggers
|
470
|
+
|
471
|
+
@triggers.setter
|
472
|
+
def triggers(self, triggers):
|
473
|
+
r"""Sets the triggers of this ConnectorInfo0.
|
474
|
+
|
475
|
+
操作json
|
476
|
+
|
477
|
+
:param triggers: The triggers of this ConnectorInfo0.
|
478
|
+
:type triggers: list[object]
|
479
|
+
"""
|
480
|
+
self._triggers = triggers
|
481
|
+
|
482
|
+
@property
|
483
|
+
def type(self):
|
484
|
+
r"""Gets the type of this ConnectorInfo0.
|
485
|
+
|
486
|
+
连接器类型
|
487
|
+
|
488
|
+
:return: The type of this ConnectorInfo0.
|
489
|
+
:rtype: str
|
490
|
+
"""
|
491
|
+
return self._type
|
492
|
+
|
493
|
+
@type.setter
|
494
|
+
def type(self, type):
|
495
|
+
r"""Sets the type of this ConnectorInfo0.
|
496
|
+
|
497
|
+
连接器类型
|
498
|
+
|
499
|
+
:param type: The type of this ConnectorInfo0.
|
500
|
+
:type type: str
|
501
|
+
"""
|
502
|
+
self._type = type
|
503
|
+
|
504
|
+
@property
|
505
|
+
def updated_time(self):
|
506
|
+
r"""Gets the updated_time of this ConnectorInfo0.
|
507
|
+
|
508
|
+
修改时间
|
509
|
+
|
510
|
+
:return: The updated_time of this ConnectorInfo0.
|
511
|
+
:rtype: datetime
|
512
|
+
"""
|
513
|
+
return self._updated_time
|
514
|
+
|
515
|
+
@updated_time.setter
|
516
|
+
def updated_time(self, updated_time):
|
517
|
+
r"""Sets the updated_time of this ConnectorInfo0.
|
518
|
+
|
519
|
+
修改时间
|
520
|
+
|
521
|
+
:param updated_time: The updated_time of this ConnectorInfo0.
|
522
|
+
:type updated_time: datetime
|
523
|
+
"""
|
524
|
+
self._updated_time = updated_time
|
525
|
+
|
526
|
+
def to_dict(self):
|
527
|
+
"""Returns the model properties as a dict"""
|
528
|
+
result = {}
|
529
|
+
|
530
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
531
|
+
value = getattr(self, attr)
|
532
|
+
if isinstance(value, list):
|
533
|
+
result[attr] = list(map(
|
534
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
535
|
+
value
|
536
|
+
))
|
537
|
+
elif hasattr(value, "to_dict"):
|
538
|
+
result[attr] = value.to_dict()
|
539
|
+
elif isinstance(value, dict):
|
540
|
+
result[attr] = dict(map(
|
541
|
+
lambda item: (item[0], item[1].to_dict())
|
542
|
+
if hasattr(item[1], "to_dict") else item,
|
543
|
+
value.items()
|
544
|
+
))
|
545
|
+
else:
|
546
|
+
if attr in self.sensitive_list:
|
547
|
+
result[attr] = "****"
|
548
|
+
else:
|
549
|
+
result[attr] = value
|
550
|
+
|
551
|
+
return result
|
552
|
+
|
553
|
+
def to_str(self):
|
554
|
+
"""Returns the string representation of the model"""
|
555
|
+
import simplejson as json
|
556
|
+
if six.PY2:
|
557
|
+
import sys
|
558
|
+
reload(sys)
|
559
|
+
sys.setdefaultencoding("utf-8")
|
560
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
561
|
+
|
562
|
+
def __repr__(self):
|
563
|
+
"""For `print`"""
|
564
|
+
return self.to_str()
|
565
|
+
|
566
|
+
def __eq__(self, other):
|
567
|
+
"""Returns true if both objects are equal"""
|
568
|
+
if not isinstance(other, ConnectorInfo0):
|
569
|
+
return False
|
570
|
+
|
571
|
+
return self.__dict__ == other.__dict__
|
572
|
+
|
573
|
+
def __ne__(self, other):
|
574
|
+
"""Returns true if both objects are not equal"""
|
575
|
+
return not self == other
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateConnectionInfoRequest:
|
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
|
+
'body': 'BaseConnectionInfo'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'body': 'body'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, body=None):
|
28
|
+
r"""CreateConnectionInfoRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param body: Body of the CreateConnectionInfoRequest
|
33
|
+
:type body: :class:`huaweicloudsdkmssi.v1.BaseConnectionInfo`
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._body = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if body is not None:
|
42
|
+
self.body = body
|
43
|
+
|
44
|
+
@property
|
45
|
+
def body(self):
|
46
|
+
r"""Gets the body of this CreateConnectionInfoRequest.
|
47
|
+
|
48
|
+
:return: The body of this CreateConnectionInfoRequest.
|
49
|
+
:rtype: :class:`huaweicloudsdkmssi.v1.BaseConnectionInfo`
|
50
|
+
"""
|
51
|
+
return self._body
|
52
|
+
|
53
|
+
@body.setter
|
54
|
+
def body(self, body):
|
55
|
+
r"""Sets the body of this CreateConnectionInfoRequest.
|
56
|
+
|
57
|
+
:param body: The body of this CreateConnectionInfoRequest.
|
58
|
+
:type body: :class:`huaweicloudsdkmssi.v1.BaseConnectionInfo`
|
59
|
+
"""
|
60
|
+
self._body = body
|
61
|
+
|
62
|
+
def to_dict(self):
|
63
|
+
"""Returns the model properties as a dict"""
|
64
|
+
result = {}
|
65
|
+
|
66
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
67
|
+
value = getattr(self, attr)
|
68
|
+
if isinstance(value, list):
|
69
|
+
result[attr] = list(map(
|
70
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
71
|
+
value
|
72
|
+
))
|
73
|
+
elif hasattr(value, "to_dict"):
|
74
|
+
result[attr] = value.to_dict()
|
75
|
+
elif isinstance(value, dict):
|
76
|
+
result[attr] = dict(map(
|
77
|
+
lambda item: (item[0], item[1].to_dict())
|
78
|
+
if hasattr(item[1], "to_dict") else item,
|
79
|
+
value.items()
|
80
|
+
))
|
81
|
+
else:
|
82
|
+
if attr in self.sensitive_list:
|
83
|
+
result[attr] = "****"
|
84
|
+
else:
|
85
|
+
result[attr] = value
|
86
|
+
|
87
|
+
return result
|
88
|
+
|
89
|
+
def to_str(self):
|
90
|
+
"""Returns the string representation of the model"""
|
91
|
+
import simplejson as json
|
92
|
+
if six.PY2:
|
93
|
+
import sys
|
94
|
+
reload(sys)
|
95
|
+
sys.setdefaultencoding("utf-8")
|
96
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
97
|
+
|
98
|
+
def __repr__(self):
|
99
|
+
"""For `print`"""
|
100
|
+
return self.to_str()
|
101
|
+
|
102
|
+
def __eq__(self, other):
|
103
|
+
"""Returns true if both objects are equal"""
|
104
|
+
if not isinstance(other, CreateConnectionInfoRequest):
|
105
|
+
return False
|
106
|
+
|
107
|
+
return self.__dict__ == other.__dict__
|
108
|
+
|
109
|
+
def __ne__(self, other):
|
110
|
+
"""Returns true if both objects are not equal"""
|
111
|
+
return not self == other
|