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,171 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowCustomConnectorsRequest:
|
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
|
+
'offset': 'int',
|
21
|
+
'limit': 'int',
|
22
|
+
'name': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'offset': 'offset',
|
27
|
+
'limit': 'limit',
|
28
|
+
'name': 'name'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, offset=None, limit=None, name=None):
|
32
|
+
r"""ShowCustomConnectorsRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param offset: 偏移量,表示从此偏移量开始查询, offset大于等于0
|
37
|
+
:type offset: int
|
38
|
+
:param limit: 每页显示的条目数量
|
39
|
+
:type limit: int
|
40
|
+
:param name: CustomConnectors的名字
|
41
|
+
:type name: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._offset = None
|
47
|
+
self._limit = None
|
48
|
+
self._name = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.offset = offset
|
52
|
+
self.limit = limit
|
53
|
+
if name is not None:
|
54
|
+
self.name = name
|
55
|
+
|
56
|
+
@property
|
57
|
+
def offset(self):
|
58
|
+
r"""Gets the offset of this ShowCustomConnectorsRequest.
|
59
|
+
|
60
|
+
偏移量,表示从此偏移量开始查询, offset大于等于0
|
61
|
+
|
62
|
+
:return: The offset of this ShowCustomConnectorsRequest.
|
63
|
+
:rtype: int
|
64
|
+
"""
|
65
|
+
return self._offset
|
66
|
+
|
67
|
+
@offset.setter
|
68
|
+
def offset(self, offset):
|
69
|
+
r"""Sets the offset of this ShowCustomConnectorsRequest.
|
70
|
+
|
71
|
+
偏移量,表示从此偏移量开始查询, offset大于等于0
|
72
|
+
|
73
|
+
:param offset: The offset of this ShowCustomConnectorsRequest.
|
74
|
+
:type offset: int
|
75
|
+
"""
|
76
|
+
self._offset = offset
|
77
|
+
|
78
|
+
@property
|
79
|
+
def limit(self):
|
80
|
+
r"""Gets the limit of this ShowCustomConnectorsRequest.
|
81
|
+
|
82
|
+
每页显示的条目数量
|
83
|
+
|
84
|
+
:return: The limit of this ShowCustomConnectorsRequest.
|
85
|
+
:rtype: int
|
86
|
+
"""
|
87
|
+
return self._limit
|
88
|
+
|
89
|
+
@limit.setter
|
90
|
+
def limit(self, limit):
|
91
|
+
r"""Sets the limit of this ShowCustomConnectorsRequest.
|
92
|
+
|
93
|
+
每页显示的条目数量
|
94
|
+
|
95
|
+
:param limit: The limit of this ShowCustomConnectorsRequest.
|
96
|
+
:type limit: int
|
97
|
+
"""
|
98
|
+
self._limit = limit
|
99
|
+
|
100
|
+
@property
|
101
|
+
def name(self):
|
102
|
+
r"""Gets the name of this ShowCustomConnectorsRequest.
|
103
|
+
|
104
|
+
CustomConnectors的名字
|
105
|
+
|
106
|
+
:return: The name of this ShowCustomConnectorsRequest.
|
107
|
+
:rtype: str
|
108
|
+
"""
|
109
|
+
return self._name
|
110
|
+
|
111
|
+
@name.setter
|
112
|
+
def name(self, name):
|
113
|
+
r"""Sets the name of this ShowCustomConnectorsRequest.
|
114
|
+
|
115
|
+
CustomConnectors的名字
|
116
|
+
|
117
|
+
:param name: The name of this ShowCustomConnectorsRequest.
|
118
|
+
:type name: str
|
119
|
+
"""
|
120
|
+
self._name = name
|
121
|
+
|
122
|
+
def to_dict(self):
|
123
|
+
"""Returns the model properties as a dict"""
|
124
|
+
result = {}
|
125
|
+
|
126
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
127
|
+
value = getattr(self, attr)
|
128
|
+
if isinstance(value, list):
|
129
|
+
result[attr] = list(map(
|
130
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
131
|
+
value
|
132
|
+
))
|
133
|
+
elif hasattr(value, "to_dict"):
|
134
|
+
result[attr] = value.to_dict()
|
135
|
+
elif isinstance(value, dict):
|
136
|
+
result[attr] = dict(map(
|
137
|
+
lambda item: (item[0], item[1].to_dict())
|
138
|
+
if hasattr(item[1], "to_dict") else item,
|
139
|
+
value.items()
|
140
|
+
))
|
141
|
+
else:
|
142
|
+
if attr in self.sensitive_list:
|
143
|
+
result[attr] = "****"
|
144
|
+
else:
|
145
|
+
result[attr] = value
|
146
|
+
|
147
|
+
return result
|
148
|
+
|
149
|
+
def to_str(self):
|
150
|
+
"""Returns the string representation of the model"""
|
151
|
+
import simplejson as json
|
152
|
+
if six.PY2:
|
153
|
+
import sys
|
154
|
+
reload(sys)
|
155
|
+
sys.setdefaultencoding("utf-8")
|
156
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
157
|
+
|
158
|
+
def __repr__(self):
|
159
|
+
"""For `print`"""
|
160
|
+
return self.to_str()
|
161
|
+
|
162
|
+
def __eq__(self, other):
|
163
|
+
"""Returns true if both objects are equal"""
|
164
|
+
if not isinstance(other, ShowCustomConnectorsRequest):
|
165
|
+
return False
|
166
|
+
|
167
|
+
return self.__dict__ == other.__dict__
|
168
|
+
|
169
|
+
def __ne__(self, other):
|
170
|
+
"""Returns true if both objects are not equal"""
|
171
|
+
return not self == other
|
@@ -0,0 +1,145 @@
|
|
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 ShowCustomConnectorsResponse(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
|
+
'connector_infos': 'list[ConnectorInfo0]',
|
22
|
+
'count': 'int'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'connector_infos': 'connector_infos',
|
27
|
+
'count': 'count'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, connector_infos=None, count=None):
|
31
|
+
r"""ShowCustomConnectorsResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param connector_infos: 连接器列表
|
36
|
+
:type connector_infos: list[:class:`huaweicloudsdkmssi.v1.ConnectorInfo0`]
|
37
|
+
:param count: 连接器数量
|
38
|
+
:type count: int
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ShowCustomConnectorsResponse, self).__init__()
|
42
|
+
|
43
|
+
self._connector_infos = None
|
44
|
+
self._count = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if connector_infos is not None:
|
48
|
+
self.connector_infos = connector_infos
|
49
|
+
if count is not None:
|
50
|
+
self.count = count
|
51
|
+
|
52
|
+
@property
|
53
|
+
def connector_infos(self):
|
54
|
+
r"""Gets the connector_infos of this ShowCustomConnectorsResponse.
|
55
|
+
|
56
|
+
连接器列表
|
57
|
+
|
58
|
+
:return: The connector_infos of this ShowCustomConnectorsResponse.
|
59
|
+
:rtype: list[:class:`huaweicloudsdkmssi.v1.ConnectorInfo0`]
|
60
|
+
"""
|
61
|
+
return self._connector_infos
|
62
|
+
|
63
|
+
@connector_infos.setter
|
64
|
+
def connector_infos(self, connector_infos):
|
65
|
+
r"""Sets the connector_infos of this ShowCustomConnectorsResponse.
|
66
|
+
|
67
|
+
连接器列表
|
68
|
+
|
69
|
+
:param connector_infos: The connector_infos of this ShowCustomConnectorsResponse.
|
70
|
+
:type connector_infos: list[:class:`huaweicloudsdkmssi.v1.ConnectorInfo0`]
|
71
|
+
"""
|
72
|
+
self._connector_infos = connector_infos
|
73
|
+
|
74
|
+
@property
|
75
|
+
def count(self):
|
76
|
+
r"""Gets the count of this ShowCustomConnectorsResponse.
|
77
|
+
|
78
|
+
连接器数量
|
79
|
+
|
80
|
+
:return: The count of this ShowCustomConnectorsResponse.
|
81
|
+
:rtype: int
|
82
|
+
"""
|
83
|
+
return self._count
|
84
|
+
|
85
|
+
@count.setter
|
86
|
+
def count(self, count):
|
87
|
+
r"""Sets the count of this ShowCustomConnectorsResponse.
|
88
|
+
|
89
|
+
连接器数量
|
90
|
+
|
91
|
+
:param count: The count of this ShowCustomConnectorsResponse.
|
92
|
+
:type count: int
|
93
|
+
"""
|
94
|
+
self._count = count
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, ShowCustomConnectorsResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
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 ShowSingleConnectionRequest:
|
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
|
+
'connect_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'connect_id': 'connect_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, connect_id=None):
|
28
|
+
r"""ShowSingleConnectionRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param connect_id: ID of Connection
|
33
|
+
:type connect_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._connect_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.connect_id = connect_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def connect_id(self):
|
45
|
+
r"""Gets the connect_id of this ShowSingleConnectionRequest.
|
46
|
+
|
47
|
+
ID of Connection
|
48
|
+
|
49
|
+
:return: The connect_id of this ShowSingleConnectionRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._connect_id
|
53
|
+
|
54
|
+
@connect_id.setter
|
55
|
+
def connect_id(self, connect_id):
|
56
|
+
r"""Sets the connect_id of this ShowSingleConnectionRequest.
|
57
|
+
|
58
|
+
ID of Connection
|
59
|
+
|
60
|
+
:param connect_id: The connect_id of this ShowSingleConnectionRequest.
|
61
|
+
:type connect_id: str
|
62
|
+
"""
|
63
|
+
self._connect_id = connect_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, ShowSingleConnectionRequest):
|
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
|