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,174 @@
|
|
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 DeleteCustomConnectorResponse(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
|
+
'res_code': 'int',
|
22
|
+
'res_log': 'str',
|
23
|
+
'res_msg': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'res_code': 'res_code',
|
28
|
+
'res_log': 'res_log',
|
29
|
+
'res_msg': 'res_msg'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, res_code=None, res_log=None, res_msg=None):
|
33
|
+
r"""DeleteCustomConnectorResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param res_code: 状态码
|
38
|
+
:type res_code: int
|
39
|
+
:param res_log: 成功信息
|
40
|
+
:type res_log: str
|
41
|
+
:param res_msg: 成功信息
|
42
|
+
:type res_msg: str
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(DeleteCustomConnectorResponse, self).__init__()
|
46
|
+
|
47
|
+
self._res_code = None
|
48
|
+
self._res_log = None
|
49
|
+
self._res_msg = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if res_code is not None:
|
53
|
+
self.res_code = res_code
|
54
|
+
if res_log is not None:
|
55
|
+
self.res_log = res_log
|
56
|
+
if res_msg is not None:
|
57
|
+
self.res_msg = res_msg
|
58
|
+
|
59
|
+
@property
|
60
|
+
def res_code(self):
|
61
|
+
r"""Gets the res_code of this DeleteCustomConnectorResponse.
|
62
|
+
|
63
|
+
状态码
|
64
|
+
|
65
|
+
:return: The res_code of this DeleteCustomConnectorResponse.
|
66
|
+
:rtype: int
|
67
|
+
"""
|
68
|
+
return self._res_code
|
69
|
+
|
70
|
+
@res_code.setter
|
71
|
+
def res_code(self, res_code):
|
72
|
+
r"""Sets the res_code of this DeleteCustomConnectorResponse.
|
73
|
+
|
74
|
+
状态码
|
75
|
+
|
76
|
+
:param res_code: The res_code of this DeleteCustomConnectorResponse.
|
77
|
+
:type res_code: int
|
78
|
+
"""
|
79
|
+
self._res_code = res_code
|
80
|
+
|
81
|
+
@property
|
82
|
+
def res_log(self):
|
83
|
+
r"""Gets the res_log of this DeleteCustomConnectorResponse.
|
84
|
+
|
85
|
+
成功信息
|
86
|
+
|
87
|
+
:return: The res_log of this DeleteCustomConnectorResponse.
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._res_log
|
91
|
+
|
92
|
+
@res_log.setter
|
93
|
+
def res_log(self, res_log):
|
94
|
+
r"""Sets the res_log of this DeleteCustomConnectorResponse.
|
95
|
+
|
96
|
+
成功信息
|
97
|
+
|
98
|
+
:param res_log: The res_log of this DeleteCustomConnectorResponse.
|
99
|
+
:type res_log: str
|
100
|
+
"""
|
101
|
+
self._res_log = res_log
|
102
|
+
|
103
|
+
@property
|
104
|
+
def res_msg(self):
|
105
|
+
r"""Gets the res_msg of this DeleteCustomConnectorResponse.
|
106
|
+
|
107
|
+
成功信息
|
108
|
+
|
109
|
+
:return: The res_msg of this DeleteCustomConnectorResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._res_msg
|
113
|
+
|
114
|
+
@res_msg.setter
|
115
|
+
def res_msg(self, res_msg):
|
116
|
+
r"""Sets the res_msg of this DeleteCustomConnectorResponse.
|
117
|
+
|
118
|
+
成功信息
|
119
|
+
|
120
|
+
:param res_msg: The res_msg of this DeleteCustomConnectorResponse.
|
121
|
+
:type res_msg: str
|
122
|
+
"""
|
123
|
+
self._res_msg = res_msg
|
124
|
+
|
125
|
+
def to_dict(self):
|
126
|
+
"""Returns the model properties as a dict"""
|
127
|
+
result = {}
|
128
|
+
|
129
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
130
|
+
value = getattr(self, attr)
|
131
|
+
if isinstance(value, list):
|
132
|
+
result[attr] = list(map(
|
133
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
134
|
+
value
|
135
|
+
))
|
136
|
+
elif hasattr(value, "to_dict"):
|
137
|
+
result[attr] = value.to_dict()
|
138
|
+
elif isinstance(value, dict):
|
139
|
+
result[attr] = dict(map(
|
140
|
+
lambda item: (item[0], item[1].to_dict())
|
141
|
+
if hasattr(item[1], "to_dict") else item,
|
142
|
+
value.items()
|
143
|
+
))
|
144
|
+
else:
|
145
|
+
if attr in self.sensitive_list:
|
146
|
+
result[attr] = "****"
|
147
|
+
else:
|
148
|
+
result[attr] = value
|
149
|
+
|
150
|
+
return result
|
151
|
+
|
152
|
+
def to_str(self):
|
153
|
+
"""Returns the string representation of the model"""
|
154
|
+
import simplejson as json
|
155
|
+
if six.PY2:
|
156
|
+
import sys
|
157
|
+
reload(sys)
|
158
|
+
sys.setdefaultencoding("utf-8")
|
159
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
160
|
+
|
161
|
+
def __repr__(self):
|
162
|
+
"""For `print`"""
|
163
|
+
return self.to_str()
|
164
|
+
|
165
|
+
def __eq__(self, other):
|
166
|
+
"""Returns true if both objects are equal"""
|
167
|
+
if not isinstance(other, DeleteCustomConnectorResponse):
|
168
|
+
return False
|
169
|
+
|
170
|
+
return self.__dict__ == other.__dict__
|
171
|
+
|
172
|
+
def __ne__(self, other):
|
173
|
+
"""Returns true if both objects are not equal"""
|
174
|
+
return not self == other
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class DeleteFlowRequest:
|
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
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'flow_id': 'flow_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, flow_id=None):
|
28
|
+
r"""DeleteFlowRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param flow_id: 删除flow的id
|
33
|
+
:type flow_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._flow_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.flow_id = flow_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def flow_id(self):
|
45
|
+
r"""Gets the flow_id of this DeleteFlowRequest.
|
46
|
+
|
47
|
+
删除flow的id
|
48
|
+
|
49
|
+
:return: The flow_id of this DeleteFlowRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._flow_id
|
53
|
+
|
54
|
+
@flow_id.setter
|
55
|
+
def flow_id(self, flow_id):
|
56
|
+
r"""Sets the flow_id of this DeleteFlowRequest.
|
57
|
+
|
58
|
+
删除flow的id
|
59
|
+
|
60
|
+
:param flow_id: The flow_id of this DeleteFlowRequest.
|
61
|
+
:type flow_id: str
|
62
|
+
"""
|
63
|
+
self._flow_id = flow_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, DeleteFlowRequest):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|
@@ -0,0 +1,174 @@
|
|
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 DeleteFlowResponse(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
|
+
'res_code': 'int',
|
22
|
+
'res_log': 'str',
|
23
|
+
'res_msg': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'res_code': 'res_code',
|
28
|
+
'res_log': 'res_log',
|
29
|
+
'res_msg': 'res_msg'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, res_code=None, res_log=None, res_msg=None):
|
33
|
+
r"""DeleteFlowResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param res_code: 状态码
|
38
|
+
:type res_code: int
|
39
|
+
:param res_log: 成功信息
|
40
|
+
:type res_log: str
|
41
|
+
:param res_msg: 成功信息
|
42
|
+
:type res_msg: str
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(DeleteFlowResponse, self).__init__()
|
46
|
+
|
47
|
+
self._res_code = None
|
48
|
+
self._res_log = None
|
49
|
+
self._res_msg = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if res_code is not None:
|
53
|
+
self.res_code = res_code
|
54
|
+
if res_log is not None:
|
55
|
+
self.res_log = res_log
|
56
|
+
if res_msg is not None:
|
57
|
+
self.res_msg = res_msg
|
58
|
+
|
59
|
+
@property
|
60
|
+
def res_code(self):
|
61
|
+
r"""Gets the res_code of this DeleteFlowResponse.
|
62
|
+
|
63
|
+
状态码
|
64
|
+
|
65
|
+
:return: The res_code of this DeleteFlowResponse.
|
66
|
+
:rtype: int
|
67
|
+
"""
|
68
|
+
return self._res_code
|
69
|
+
|
70
|
+
@res_code.setter
|
71
|
+
def res_code(self, res_code):
|
72
|
+
r"""Sets the res_code of this DeleteFlowResponse.
|
73
|
+
|
74
|
+
状态码
|
75
|
+
|
76
|
+
:param res_code: The res_code of this DeleteFlowResponse.
|
77
|
+
:type res_code: int
|
78
|
+
"""
|
79
|
+
self._res_code = res_code
|
80
|
+
|
81
|
+
@property
|
82
|
+
def res_log(self):
|
83
|
+
r"""Gets the res_log of this DeleteFlowResponse.
|
84
|
+
|
85
|
+
成功信息
|
86
|
+
|
87
|
+
:return: The res_log of this DeleteFlowResponse.
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._res_log
|
91
|
+
|
92
|
+
@res_log.setter
|
93
|
+
def res_log(self, res_log):
|
94
|
+
r"""Sets the res_log of this DeleteFlowResponse.
|
95
|
+
|
96
|
+
成功信息
|
97
|
+
|
98
|
+
:param res_log: The res_log of this DeleteFlowResponse.
|
99
|
+
:type res_log: str
|
100
|
+
"""
|
101
|
+
self._res_log = res_log
|
102
|
+
|
103
|
+
@property
|
104
|
+
def res_msg(self):
|
105
|
+
r"""Gets the res_msg of this DeleteFlowResponse.
|
106
|
+
|
107
|
+
成功信息
|
108
|
+
|
109
|
+
:return: The res_msg of this DeleteFlowResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._res_msg
|
113
|
+
|
114
|
+
@res_msg.setter
|
115
|
+
def res_msg(self, res_msg):
|
116
|
+
r"""Sets the res_msg of this DeleteFlowResponse.
|
117
|
+
|
118
|
+
成功信息
|
119
|
+
|
120
|
+
:param res_msg: The res_msg of this DeleteFlowResponse.
|
121
|
+
:type res_msg: str
|
122
|
+
"""
|
123
|
+
self._res_msg = res_msg
|
124
|
+
|
125
|
+
def to_dict(self):
|
126
|
+
"""Returns the model properties as a dict"""
|
127
|
+
result = {}
|
128
|
+
|
129
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
130
|
+
value = getattr(self, attr)
|
131
|
+
if isinstance(value, list):
|
132
|
+
result[attr] = list(map(
|
133
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
134
|
+
value
|
135
|
+
))
|
136
|
+
elif hasattr(value, "to_dict"):
|
137
|
+
result[attr] = value.to_dict()
|
138
|
+
elif isinstance(value, dict):
|
139
|
+
result[attr] = dict(map(
|
140
|
+
lambda item: (item[0], item[1].to_dict())
|
141
|
+
if hasattr(item[1], "to_dict") else item,
|
142
|
+
value.items()
|
143
|
+
))
|
144
|
+
else:
|
145
|
+
if attr in self.sensitive_list:
|
146
|
+
result[attr] = "****"
|
147
|
+
else:
|
148
|
+
result[attr] = value
|
149
|
+
|
150
|
+
return result
|
151
|
+
|
152
|
+
def to_str(self):
|
153
|
+
"""Returns the string representation of the model"""
|
154
|
+
import simplejson as json
|
155
|
+
if six.PY2:
|
156
|
+
import sys
|
157
|
+
reload(sys)
|
158
|
+
sys.setdefaultencoding("utf-8")
|
159
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
160
|
+
|
161
|
+
def __repr__(self):
|
162
|
+
"""For `print`"""
|
163
|
+
return self.to_str()
|
164
|
+
|
165
|
+
def __eq__(self, other):
|
166
|
+
"""Returns true if both objects are equal"""
|
167
|
+
if not isinstance(other, DeleteFlowResponse):
|
168
|
+
return False
|
169
|
+
|
170
|
+
return self.__dict__ == other.__dict__
|
171
|
+
|
172
|
+
def __ne__(self, other):
|
173
|
+
"""Returns true if both objects are not equal"""
|
174
|
+
return not self == other
|