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,144 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class Tag:
|
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
|
+
'tag_key': 'str',
|
21
|
+
'tag_value': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'tag_key': 'tagKey',
|
26
|
+
'tag_value': 'tagValue'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, tag_key=None, tag_value=None):
|
30
|
+
r"""Tag
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param tag_key: 标签key
|
35
|
+
:type tag_key: str
|
36
|
+
:param tag_value: 标签value
|
37
|
+
:type tag_value: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._tag_key = None
|
43
|
+
self._tag_value = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
if tag_key is not None:
|
47
|
+
self.tag_key = tag_key
|
48
|
+
if tag_value is not None:
|
49
|
+
self.tag_value = tag_value
|
50
|
+
|
51
|
+
@property
|
52
|
+
def tag_key(self):
|
53
|
+
r"""Gets the tag_key of this Tag.
|
54
|
+
|
55
|
+
标签key
|
56
|
+
|
57
|
+
:return: The tag_key of this Tag.
|
58
|
+
:rtype: str
|
59
|
+
"""
|
60
|
+
return self._tag_key
|
61
|
+
|
62
|
+
@tag_key.setter
|
63
|
+
def tag_key(self, tag_key):
|
64
|
+
r"""Sets the tag_key of this Tag.
|
65
|
+
|
66
|
+
标签key
|
67
|
+
|
68
|
+
:param tag_key: The tag_key of this Tag.
|
69
|
+
:type tag_key: str
|
70
|
+
"""
|
71
|
+
self._tag_key = tag_key
|
72
|
+
|
73
|
+
@property
|
74
|
+
def tag_value(self):
|
75
|
+
r"""Gets the tag_value of this Tag.
|
76
|
+
|
77
|
+
标签value
|
78
|
+
|
79
|
+
:return: The tag_value of this Tag.
|
80
|
+
:rtype: str
|
81
|
+
"""
|
82
|
+
return self._tag_value
|
83
|
+
|
84
|
+
@tag_value.setter
|
85
|
+
def tag_value(self, tag_value):
|
86
|
+
r"""Sets the tag_value of this Tag.
|
87
|
+
|
88
|
+
标签value
|
89
|
+
|
90
|
+
:param tag_value: The tag_value of this Tag.
|
91
|
+
:type tag_value: str
|
92
|
+
"""
|
93
|
+
self._tag_value = tag_value
|
94
|
+
|
95
|
+
def to_dict(self):
|
96
|
+
"""Returns the model properties as a dict"""
|
97
|
+
result = {}
|
98
|
+
|
99
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
100
|
+
value = getattr(self, attr)
|
101
|
+
if isinstance(value, list):
|
102
|
+
result[attr] = list(map(
|
103
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
104
|
+
value
|
105
|
+
))
|
106
|
+
elif hasattr(value, "to_dict"):
|
107
|
+
result[attr] = value.to_dict()
|
108
|
+
elif isinstance(value, dict):
|
109
|
+
result[attr] = dict(map(
|
110
|
+
lambda item: (item[0], item[1].to_dict())
|
111
|
+
if hasattr(item[1], "to_dict") else item,
|
112
|
+
value.items()
|
113
|
+
))
|
114
|
+
else:
|
115
|
+
if attr in self.sensitive_list:
|
116
|
+
result[attr] = "****"
|
117
|
+
else:
|
118
|
+
result[attr] = value
|
119
|
+
|
120
|
+
return result
|
121
|
+
|
122
|
+
def to_str(self):
|
123
|
+
"""Returns the string representation of the model"""
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, Tag):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.__dict__ == other.__dict__
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
return not self == other
|
@@ -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 TemplateMessage:
|
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
|
+
'template_description': 'str',
|
21
|
+
'template_label': 'str',
|
22
|
+
'template_name': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'template_description': 'template_description',
|
27
|
+
'template_label': 'template_label',
|
28
|
+
'template_name': 'template_name'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, template_description=None, template_label=None, template_name=None):
|
32
|
+
r"""TemplateMessage
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param template_description: 模板描述
|
37
|
+
:type template_description: str
|
38
|
+
:param template_label: 模板标签
|
39
|
+
:type template_label: str
|
40
|
+
:param template_name: 模板名称
|
41
|
+
:type template_name: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._template_description = None
|
47
|
+
self._template_label = None
|
48
|
+
self._template_name = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
if template_description is not None:
|
52
|
+
self.template_description = template_description
|
53
|
+
self.template_label = template_label
|
54
|
+
self.template_name = template_name
|
55
|
+
|
56
|
+
@property
|
57
|
+
def template_description(self):
|
58
|
+
r"""Gets the template_description of this TemplateMessage.
|
59
|
+
|
60
|
+
模板描述
|
61
|
+
|
62
|
+
:return: The template_description of this TemplateMessage.
|
63
|
+
:rtype: str
|
64
|
+
"""
|
65
|
+
return self._template_description
|
66
|
+
|
67
|
+
@template_description.setter
|
68
|
+
def template_description(self, template_description):
|
69
|
+
r"""Sets the template_description of this TemplateMessage.
|
70
|
+
|
71
|
+
模板描述
|
72
|
+
|
73
|
+
:param template_description: The template_description of this TemplateMessage.
|
74
|
+
:type template_description: str
|
75
|
+
"""
|
76
|
+
self._template_description = template_description
|
77
|
+
|
78
|
+
@property
|
79
|
+
def template_label(self):
|
80
|
+
r"""Gets the template_label of this TemplateMessage.
|
81
|
+
|
82
|
+
模板标签
|
83
|
+
|
84
|
+
:return: The template_label of this TemplateMessage.
|
85
|
+
:rtype: str
|
86
|
+
"""
|
87
|
+
return self._template_label
|
88
|
+
|
89
|
+
@template_label.setter
|
90
|
+
def template_label(self, template_label):
|
91
|
+
r"""Sets the template_label of this TemplateMessage.
|
92
|
+
|
93
|
+
模板标签
|
94
|
+
|
95
|
+
:param template_label: The template_label of this TemplateMessage.
|
96
|
+
:type template_label: str
|
97
|
+
"""
|
98
|
+
self._template_label = template_label
|
99
|
+
|
100
|
+
@property
|
101
|
+
def template_name(self):
|
102
|
+
r"""Gets the template_name of this TemplateMessage.
|
103
|
+
|
104
|
+
模板名称
|
105
|
+
|
106
|
+
:return: The template_name of this TemplateMessage.
|
107
|
+
:rtype: str
|
108
|
+
"""
|
109
|
+
return self._template_name
|
110
|
+
|
111
|
+
@template_name.setter
|
112
|
+
def template_name(self, template_name):
|
113
|
+
r"""Sets the template_name of this TemplateMessage.
|
114
|
+
|
115
|
+
模板名称
|
116
|
+
|
117
|
+
:param template_name: The template_name of this TemplateMessage.
|
118
|
+
:type template_name: str
|
119
|
+
"""
|
120
|
+
self._template_name = template_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, TemplateMessage):
|
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
|