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,231 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class RuntimePermission:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'action': 'str',
|
21
|
+
'action_list': 'list[str]',
|
22
|
+
'name': 'str',
|
23
|
+
'permission_name': 'str',
|
24
|
+
'permission_type': 'str'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'action': 'action',
|
29
|
+
'action_list': 'action_list',
|
30
|
+
'name': 'name',
|
31
|
+
'permission_name': 'permission_name',
|
32
|
+
'permission_type': 'permission_type'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, action=None, action_list=None, name=None, permission_name=None, permission_type=None):
|
36
|
+
r"""RuntimePermission
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param action: 动作列表
|
41
|
+
:type action: str
|
42
|
+
:param action_list: 动作列表
|
43
|
+
:type action_list: list[str]
|
44
|
+
:param name: 权限名称
|
45
|
+
:type name: str
|
46
|
+
:param permission_name: 权限名称
|
47
|
+
:type permission_name: str
|
48
|
+
:param permission_type: 权限类型
|
49
|
+
:type permission_type: str
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._action = None
|
55
|
+
self._action_list = None
|
56
|
+
self._name = None
|
57
|
+
self._permission_name = None
|
58
|
+
self._permission_type = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
if action is not None:
|
62
|
+
self.action = action
|
63
|
+
if action_list is not None:
|
64
|
+
self.action_list = action_list
|
65
|
+
if name is not None:
|
66
|
+
self.name = name
|
67
|
+
if permission_name is not None:
|
68
|
+
self.permission_name = permission_name
|
69
|
+
if permission_type is not None:
|
70
|
+
self.permission_type = permission_type
|
71
|
+
|
72
|
+
@property
|
73
|
+
def action(self):
|
74
|
+
r"""Gets the action of this RuntimePermission.
|
75
|
+
|
76
|
+
动作列表
|
77
|
+
|
78
|
+
:return: The action of this RuntimePermission.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._action
|
82
|
+
|
83
|
+
@action.setter
|
84
|
+
def action(self, action):
|
85
|
+
r"""Sets the action of this RuntimePermission.
|
86
|
+
|
87
|
+
动作列表
|
88
|
+
|
89
|
+
:param action: The action of this RuntimePermission.
|
90
|
+
:type action: str
|
91
|
+
"""
|
92
|
+
self._action = action
|
93
|
+
|
94
|
+
@property
|
95
|
+
def action_list(self):
|
96
|
+
r"""Gets the action_list of this RuntimePermission.
|
97
|
+
|
98
|
+
动作列表
|
99
|
+
|
100
|
+
:return: The action_list of this RuntimePermission.
|
101
|
+
:rtype: list[str]
|
102
|
+
"""
|
103
|
+
return self._action_list
|
104
|
+
|
105
|
+
@action_list.setter
|
106
|
+
def action_list(self, action_list):
|
107
|
+
r"""Sets the action_list of this RuntimePermission.
|
108
|
+
|
109
|
+
动作列表
|
110
|
+
|
111
|
+
:param action_list: The action_list of this RuntimePermission.
|
112
|
+
:type action_list: list[str]
|
113
|
+
"""
|
114
|
+
self._action_list = action_list
|
115
|
+
|
116
|
+
@property
|
117
|
+
def name(self):
|
118
|
+
r"""Gets the name of this RuntimePermission.
|
119
|
+
|
120
|
+
权限名称
|
121
|
+
|
122
|
+
:return: The name of this RuntimePermission.
|
123
|
+
:rtype: str
|
124
|
+
"""
|
125
|
+
return self._name
|
126
|
+
|
127
|
+
@name.setter
|
128
|
+
def name(self, name):
|
129
|
+
r"""Sets the name of this RuntimePermission.
|
130
|
+
|
131
|
+
权限名称
|
132
|
+
|
133
|
+
:param name: The name of this RuntimePermission.
|
134
|
+
:type name: str
|
135
|
+
"""
|
136
|
+
self._name = name
|
137
|
+
|
138
|
+
@property
|
139
|
+
def permission_name(self):
|
140
|
+
r"""Gets the permission_name of this RuntimePermission.
|
141
|
+
|
142
|
+
权限名称
|
143
|
+
|
144
|
+
:return: The permission_name of this RuntimePermission.
|
145
|
+
:rtype: str
|
146
|
+
"""
|
147
|
+
return self._permission_name
|
148
|
+
|
149
|
+
@permission_name.setter
|
150
|
+
def permission_name(self, permission_name):
|
151
|
+
r"""Sets the permission_name of this RuntimePermission.
|
152
|
+
|
153
|
+
权限名称
|
154
|
+
|
155
|
+
:param permission_name: The permission_name of this RuntimePermission.
|
156
|
+
:type permission_name: str
|
157
|
+
"""
|
158
|
+
self._permission_name = permission_name
|
159
|
+
|
160
|
+
@property
|
161
|
+
def permission_type(self):
|
162
|
+
r"""Gets the permission_type of this RuntimePermission.
|
163
|
+
|
164
|
+
权限类型
|
165
|
+
|
166
|
+
:return: The permission_type of this RuntimePermission.
|
167
|
+
:rtype: str
|
168
|
+
"""
|
169
|
+
return self._permission_type
|
170
|
+
|
171
|
+
@permission_type.setter
|
172
|
+
def permission_type(self, permission_type):
|
173
|
+
r"""Sets the permission_type of this RuntimePermission.
|
174
|
+
|
175
|
+
权限类型
|
176
|
+
|
177
|
+
:param permission_type: The permission_type of this RuntimePermission.
|
178
|
+
:type permission_type: str
|
179
|
+
"""
|
180
|
+
self._permission_type = permission_type
|
181
|
+
|
182
|
+
def to_dict(self):
|
183
|
+
"""Returns the model properties as a dict"""
|
184
|
+
result = {}
|
185
|
+
|
186
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
187
|
+
value = getattr(self, attr)
|
188
|
+
if isinstance(value, list):
|
189
|
+
result[attr] = list(map(
|
190
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
191
|
+
value
|
192
|
+
))
|
193
|
+
elif hasattr(value, "to_dict"):
|
194
|
+
result[attr] = value.to_dict()
|
195
|
+
elif isinstance(value, dict):
|
196
|
+
result[attr] = dict(map(
|
197
|
+
lambda item: (item[0], item[1].to_dict())
|
198
|
+
if hasattr(item[1], "to_dict") else item,
|
199
|
+
value.items()
|
200
|
+
))
|
201
|
+
else:
|
202
|
+
if attr in self.sensitive_list:
|
203
|
+
result[attr] = "****"
|
204
|
+
else:
|
205
|
+
result[attr] = value
|
206
|
+
|
207
|
+
return result
|
208
|
+
|
209
|
+
def to_str(self):
|
210
|
+
"""Returns the string representation of the model"""
|
211
|
+
import simplejson as json
|
212
|
+
if six.PY2:
|
213
|
+
import sys
|
214
|
+
reload(sys)
|
215
|
+
sys.setdefaultencoding("utf-8")
|
216
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
217
|
+
|
218
|
+
def __repr__(self):
|
219
|
+
"""For `print`"""
|
220
|
+
return self.to_str()
|
221
|
+
|
222
|
+
def __eq__(self, other):
|
223
|
+
"""Returns true if both objects are equal"""
|
224
|
+
if not isinstance(other, RuntimePermission):
|
225
|
+
return False
|
226
|
+
|
227
|
+
return self.__dict__ == other.__dict__
|
228
|
+
|
229
|
+
def __ne__(self, other):
|
230
|
+
"""Returns true if both objects are not equal"""
|
231
|
+
return not self == other
|
@@ -0,0 +1,143 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class SearchFlowByIdRequest:
|
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
|
+
'flow_id': 'str',
|
21
|
+
'version': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'flow_id': 'flow_id',
|
26
|
+
'version': 'version'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, flow_id=None, version=None):
|
30
|
+
r"""SearchFlowByIdRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param flow_id: flow_id
|
35
|
+
:type flow_id: str
|
36
|
+
:param version: 流版本
|
37
|
+
:type version: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._flow_id = None
|
43
|
+
self._version = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.flow_id = flow_id
|
47
|
+
if version is not None:
|
48
|
+
self.version = version
|
49
|
+
|
50
|
+
@property
|
51
|
+
def flow_id(self):
|
52
|
+
r"""Gets the flow_id of this SearchFlowByIdRequest.
|
53
|
+
|
54
|
+
flow_id
|
55
|
+
|
56
|
+
:return: The flow_id of this SearchFlowByIdRequest.
|
57
|
+
:rtype: str
|
58
|
+
"""
|
59
|
+
return self._flow_id
|
60
|
+
|
61
|
+
@flow_id.setter
|
62
|
+
def flow_id(self, flow_id):
|
63
|
+
r"""Sets the flow_id of this SearchFlowByIdRequest.
|
64
|
+
|
65
|
+
flow_id
|
66
|
+
|
67
|
+
:param flow_id: The flow_id of this SearchFlowByIdRequest.
|
68
|
+
:type flow_id: str
|
69
|
+
"""
|
70
|
+
self._flow_id = flow_id
|
71
|
+
|
72
|
+
@property
|
73
|
+
def version(self):
|
74
|
+
r"""Gets the version of this SearchFlowByIdRequest.
|
75
|
+
|
76
|
+
流版本
|
77
|
+
|
78
|
+
:return: The version of this SearchFlowByIdRequest.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._version
|
82
|
+
|
83
|
+
@version.setter
|
84
|
+
def version(self, version):
|
85
|
+
r"""Sets the version of this SearchFlowByIdRequest.
|
86
|
+
|
87
|
+
流版本
|
88
|
+
|
89
|
+
:param version: The version of this SearchFlowByIdRequest.
|
90
|
+
:type version: str
|
91
|
+
"""
|
92
|
+
self._version = version
|
93
|
+
|
94
|
+
def to_dict(self):
|
95
|
+
"""Returns the model properties as a dict"""
|
96
|
+
result = {}
|
97
|
+
|
98
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
99
|
+
value = getattr(self, attr)
|
100
|
+
if isinstance(value, list):
|
101
|
+
result[attr] = list(map(
|
102
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
103
|
+
value
|
104
|
+
))
|
105
|
+
elif hasattr(value, "to_dict"):
|
106
|
+
result[attr] = value.to_dict()
|
107
|
+
elif isinstance(value, dict):
|
108
|
+
result[attr] = dict(map(
|
109
|
+
lambda item: (item[0], item[1].to_dict())
|
110
|
+
if hasattr(item[1], "to_dict") else item,
|
111
|
+
value.items()
|
112
|
+
))
|
113
|
+
else:
|
114
|
+
if attr in self.sensitive_list:
|
115
|
+
result[attr] = "****"
|
116
|
+
else:
|
117
|
+
result[attr] = value
|
118
|
+
|
119
|
+
return result
|
120
|
+
|
121
|
+
def to_str(self):
|
122
|
+
"""Returns the string representation of the model"""
|
123
|
+
import simplejson as json
|
124
|
+
if six.PY2:
|
125
|
+
import sys
|
126
|
+
reload(sys)
|
127
|
+
sys.setdefaultencoding("utf-8")
|
128
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
129
|
+
|
130
|
+
def __repr__(self):
|
131
|
+
"""For `print`"""
|
132
|
+
return self.to_str()
|
133
|
+
|
134
|
+
def __eq__(self, other):
|
135
|
+
"""Returns true if both objects are equal"""
|
136
|
+
if not isinstance(other, SearchFlowByIdRequest):
|
137
|
+
return False
|
138
|
+
|
139
|
+
return self.__dict__ == other.__dict__
|
140
|
+
|
141
|
+
def __ne__(self, other):
|
142
|
+
"""Returns true if both objects are not equal"""
|
143
|
+
return not self == other
|