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,115 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ApiConfig:
|
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
|
+
'name': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'name': 'name'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, name=None):
|
28
|
+
r"""ApiConfig
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param name: 资产名称
|
33
|
+
:type name: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._name = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if name is not None:
|
42
|
+
self.name = name
|
43
|
+
|
44
|
+
@property
|
45
|
+
def name(self):
|
46
|
+
r"""Gets the name of this ApiConfig.
|
47
|
+
|
48
|
+
资产名称
|
49
|
+
|
50
|
+
:return: The name of this ApiConfig.
|
51
|
+
:rtype: str
|
52
|
+
"""
|
53
|
+
return self._name
|
54
|
+
|
55
|
+
@name.setter
|
56
|
+
def name(self, name):
|
57
|
+
r"""Sets the name of this ApiConfig.
|
58
|
+
|
59
|
+
资产名称
|
60
|
+
|
61
|
+
:param name: The name of this ApiConfig.
|
62
|
+
:type name: str
|
63
|
+
"""
|
64
|
+
self._name = name
|
65
|
+
|
66
|
+
def to_dict(self):
|
67
|
+
"""Returns the model properties as a dict"""
|
68
|
+
result = {}
|
69
|
+
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
71
|
+
value = getattr(self, attr)
|
72
|
+
if isinstance(value, list):
|
73
|
+
result[attr] = list(map(
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
75
|
+
value
|
76
|
+
))
|
77
|
+
elif hasattr(value, "to_dict"):
|
78
|
+
result[attr] = value.to_dict()
|
79
|
+
elif isinstance(value, dict):
|
80
|
+
result[attr] = dict(map(
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
83
|
+
value.items()
|
84
|
+
))
|
85
|
+
else:
|
86
|
+
if attr in self.sensitive_list:
|
87
|
+
result[attr] = "****"
|
88
|
+
else:
|
89
|
+
result[attr] = value
|
90
|
+
|
91
|
+
return result
|
92
|
+
|
93
|
+
def to_str(self):
|
94
|
+
"""Returns the string representation of the model"""
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
"""For `print`"""
|
104
|
+
return self.to_str()
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
"""Returns true if both objects are equal"""
|
108
|
+
if not isinstance(other, ApiConfig):
|
109
|
+
return False
|
110
|
+
|
111
|
+
return self.__dict__ == other.__dict__
|
112
|
+
|
113
|
+
def __ne__(self, other):
|
114
|
+
"""Returns true if both objects are not equal"""
|
115
|
+
return not self == other
|
@@ -0,0 +1,261 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class AuthConfigA:
|
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_dynamic': 'object',
|
22
|
+
'auth_info': 'dict(str, str)',
|
23
|
+
'auth_prop': 'object',
|
24
|
+
'auth_type': 'str',
|
25
|
+
'cdm_params_config': 'object',
|
26
|
+
'host_config': 'object'
|
27
|
+
}
|
28
|
+
|
29
|
+
attribute_map = {
|
30
|
+
'auth_config': 'auth_config',
|
31
|
+
'auth_dynamic': 'auth_dynamic',
|
32
|
+
'auth_info': 'auth_info',
|
33
|
+
'auth_prop': 'auth_prop',
|
34
|
+
'auth_type': 'auth_type',
|
35
|
+
'cdm_params_config': 'cdm_params_config',
|
36
|
+
'host_config': 'host_config'
|
37
|
+
}
|
38
|
+
|
39
|
+
def __init__(self, auth_config=None, auth_dynamic=None, auth_info=None, auth_prop=None, auth_type=None, cdm_params_config=None, host_config=None):
|
40
|
+
r"""AuthConfigA
|
41
|
+
|
42
|
+
The model defined in huaweicloud sdk
|
43
|
+
|
44
|
+
:param auth_config:
|
45
|
+
:type auth_config: object
|
46
|
+
:param auth_dynamic:
|
47
|
+
:type auth_dynamic: object
|
48
|
+
:param auth_info:
|
49
|
+
:type auth_info: dict(str, str)
|
50
|
+
:param auth_prop:
|
51
|
+
:type auth_prop: object
|
52
|
+
:param auth_type:
|
53
|
+
:type auth_type: str
|
54
|
+
:param cdm_params_config:
|
55
|
+
:type cdm_params_config: object
|
56
|
+
:param host_config:
|
57
|
+
:type host_config: object
|
58
|
+
"""
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
self._auth_config = None
|
63
|
+
self._auth_dynamic = None
|
64
|
+
self._auth_info = None
|
65
|
+
self._auth_prop = None
|
66
|
+
self._auth_type = None
|
67
|
+
self._cdm_params_config = None
|
68
|
+
self._host_config = None
|
69
|
+
self.discriminator = None
|
70
|
+
|
71
|
+
if auth_config is not None:
|
72
|
+
self.auth_config = auth_config
|
73
|
+
if auth_dynamic is not None:
|
74
|
+
self.auth_dynamic = auth_dynamic
|
75
|
+
if auth_info is not None:
|
76
|
+
self.auth_info = auth_info
|
77
|
+
if auth_prop is not None:
|
78
|
+
self.auth_prop = auth_prop
|
79
|
+
if auth_type is not None:
|
80
|
+
self.auth_type = auth_type
|
81
|
+
if cdm_params_config is not None:
|
82
|
+
self.cdm_params_config = cdm_params_config
|
83
|
+
if host_config is not None:
|
84
|
+
self.host_config = host_config
|
85
|
+
|
86
|
+
@property
|
87
|
+
def auth_config(self):
|
88
|
+
r"""Gets the auth_config of this AuthConfigA.
|
89
|
+
|
90
|
+
:return: The auth_config of this AuthConfigA.
|
91
|
+
:rtype: object
|
92
|
+
"""
|
93
|
+
return self._auth_config
|
94
|
+
|
95
|
+
@auth_config.setter
|
96
|
+
def auth_config(self, auth_config):
|
97
|
+
r"""Sets the auth_config of this AuthConfigA.
|
98
|
+
|
99
|
+
:param auth_config: The auth_config of this AuthConfigA.
|
100
|
+
:type auth_config: object
|
101
|
+
"""
|
102
|
+
self._auth_config = auth_config
|
103
|
+
|
104
|
+
@property
|
105
|
+
def auth_dynamic(self):
|
106
|
+
r"""Gets the auth_dynamic of this AuthConfigA.
|
107
|
+
|
108
|
+
:return: The auth_dynamic of this AuthConfigA.
|
109
|
+
:rtype: object
|
110
|
+
"""
|
111
|
+
return self._auth_dynamic
|
112
|
+
|
113
|
+
@auth_dynamic.setter
|
114
|
+
def auth_dynamic(self, auth_dynamic):
|
115
|
+
r"""Sets the auth_dynamic of this AuthConfigA.
|
116
|
+
|
117
|
+
:param auth_dynamic: The auth_dynamic of this AuthConfigA.
|
118
|
+
:type auth_dynamic: object
|
119
|
+
"""
|
120
|
+
self._auth_dynamic = auth_dynamic
|
121
|
+
|
122
|
+
@property
|
123
|
+
def auth_info(self):
|
124
|
+
r"""Gets the auth_info of this AuthConfigA.
|
125
|
+
|
126
|
+
:return: The auth_info of this AuthConfigA.
|
127
|
+
:rtype: dict(str, str)
|
128
|
+
"""
|
129
|
+
return self._auth_info
|
130
|
+
|
131
|
+
@auth_info.setter
|
132
|
+
def auth_info(self, auth_info):
|
133
|
+
r"""Sets the auth_info of this AuthConfigA.
|
134
|
+
|
135
|
+
:param auth_info: The auth_info of this AuthConfigA.
|
136
|
+
:type auth_info: dict(str, str)
|
137
|
+
"""
|
138
|
+
self._auth_info = auth_info
|
139
|
+
|
140
|
+
@property
|
141
|
+
def auth_prop(self):
|
142
|
+
r"""Gets the auth_prop of this AuthConfigA.
|
143
|
+
|
144
|
+
:return: The auth_prop of this AuthConfigA.
|
145
|
+
:rtype: object
|
146
|
+
"""
|
147
|
+
return self._auth_prop
|
148
|
+
|
149
|
+
@auth_prop.setter
|
150
|
+
def auth_prop(self, auth_prop):
|
151
|
+
r"""Sets the auth_prop of this AuthConfigA.
|
152
|
+
|
153
|
+
:param auth_prop: The auth_prop of this AuthConfigA.
|
154
|
+
:type auth_prop: object
|
155
|
+
"""
|
156
|
+
self._auth_prop = auth_prop
|
157
|
+
|
158
|
+
@property
|
159
|
+
def auth_type(self):
|
160
|
+
r"""Gets the auth_type of this AuthConfigA.
|
161
|
+
|
162
|
+
:return: The auth_type of this AuthConfigA.
|
163
|
+
:rtype: str
|
164
|
+
"""
|
165
|
+
return self._auth_type
|
166
|
+
|
167
|
+
@auth_type.setter
|
168
|
+
def auth_type(self, auth_type):
|
169
|
+
r"""Sets the auth_type of this AuthConfigA.
|
170
|
+
|
171
|
+
:param auth_type: The auth_type of this AuthConfigA.
|
172
|
+
:type auth_type: str
|
173
|
+
"""
|
174
|
+
self._auth_type = auth_type
|
175
|
+
|
176
|
+
@property
|
177
|
+
def cdm_params_config(self):
|
178
|
+
r"""Gets the cdm_params_config of this AuthConfigA.
|
179
|
+
|
180
|
+
:return: The cdm_params_config of this AuthConfigA.
|
181
|
+
:rtype: object
|
182
|
+
"""
|
183
|
+
return self._cdm_params_config
|
184
|
+
|
185
|
+
@cdm_params_config.setter
|
186
|
+
def cdm_params_config(self, cdm_params_config):
|
187
|
+
r"""Sets the cdm_params_config of this AuthConfigA.
|
188
|
+
|
189
|
+
:param cdm_params_config: The cdm_params_config of this AuthConfigA.
|
190
|
+
:type cdm_params_config: object
|
191
|
+
"""
|
192
|
+
self._cdm_params_config = cdm_params_config
|
193
|
+
|
194
|
+
@property
|
195
|
+
def host_config(self):
|
196
|
+
r"""Gets the host_config of this AuthConfigA.
|
197
|
+
|
198
|
+
:return: The host_config of this AuthConfigA.
|
199
|
+
:rtype: object
|
200
|
+
"""
|
201
|
+
return self._host_config
|
202
|
+
|
203
|
+
@host_config.setter
|
204
|
+
def host_config(self, host_config):
|
205
|
+
r"""Sets the host_config of this AuthConfigA.
|
206
|
+
|
207
|
+
:param host_config: The host_config of this AuthConfigA.
|
208
|
+
:type host_config: object
|
209
|
+
"""
|
210
|
+
self._host_config = host_config
|
211
|
+
|
212
|
+
def to_dict(self):
|
213
|
+
"""Returns the model properties as a dict"""
|
214
|
+
result = {}
|
215
|
+
|
216
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
217
|
+
value = getattr(self, attr)
|
218
|
+
if isinstance(value, list):
|
219
|
+
result[attr] = list(map(
|
220
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
221
|
+
value
|
222
|
+
))
|
223
|
+
elif hasattr(value, "to_dict"):
|
224
|
+
result[attr] = value.to_dict()
|
225
|
+
elif isinstance(value, dict):
|
226
|
+
result[attr] = dict(map(
|
227
|
+
lambda item: (item[0], item[1].to_dict())
|
228
|
+
if hasattr(item[1], "to_dict") else item,
|
229
|
+
value.items()
|
230
|
+
))
|
231
|
+
else:
|
232
|
+
if attr in self.sensitive_list:
|
233
|
+
result[attr] = "****"
|
234
|
+
else:
|
235
|
+
result[attr] = value
|
236
|
+
|
237
|
+
return result
|
238
|
+
|
239
|
+
def to_str(self):
|
240
|
+
"""Returns the string representation of the model"""
|
241
|
+
import simplejson as json
|
242
|
+
if six.PY2:
|
243
|
+
import sys
|
244
|
+
reload(sys)
|
245
|
+
sys.setdefaultencoding("utf-8")
|
246
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
247
|
+
|
248
|
+
def __repr__(self):
|
249
|
+
"""For `print`"""
|
250
|
+
return self.to_str()
|
251
|
+
|
252
|
+
def __eq__(self, other):
|
253
|
+
"""Returns true if both objects are equal"""
|
254
|
+
if not isinstance(other, AuthConfigA):
|
255
|
+
return False
|
256
|
+
|
257
|
+
return self.__dict__ == other.__dict__
|
258
|
+
|
259
|
+
def __ne__(self, other):
|
260
|
+
"""Returns true if both objects are not equal"""
|
261
|
+
return not self == other
|