huaweicloudsdktics 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.
Potentially problematic release.
This version of huaweicloudsdktics might be problematic. Click here for more details.
- huaweicloudsdktics/__init__.py +0 -0
- huaweicloudsdktics/v1/__init__.py +74 -0
- huaweicloudsdktics/v1/model/__init__.py +71 -0
- huaweicloudsdktics/v1/model/agent_list_vo.py +521 -0
- huaweicloudsdktics/v1/model/deploy_vo.py +228 -0
- huaweicloudsdktics/v1/model/fl_job_list_vo.py +457 -0
- huaweicloudsdktics/v1/model/job_report_base_info_vo.py +256 -0
- huaweicloudsdktics/v1/model/job_report_env_vo.py +231 -0
- huaweicloudsdktics/v1/model/job_report_output_vo.py +173 -0
- huaweicloudsdktics/v1/model/job_report_partner_vo.py +231 -0
- huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +260 -0
- huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +318 -0
- huaweicloudsdktics/v1/model/league_update_vo.py +173 -0
- huaweicloudsdktics/v1/model/list_agents_request.py +200 -0
- huaweicloudsdktics/v1/model/list_agents_response.py +145 -0
- huaweicloudsdktics/v1/model/list_audit_info_request.py +170 -0
- huaweicloudsdktics/v1/model/list_audit_info_response.py +145 -0
- huaweicloudsdktics/v1/model/list_fl_job_request.py +170 -0
- huaweicloudsdktics/v1/model/list_fl_job_response.py +145 -0
- huaweicloudsdktics/v1/model/list_instance_history_request.py +199 -0
- huaweicloudsdktics/v1/model/list_instance_history_response.py +145 -0
- huaweicloudsdktics/v1/model/list_league_datasets_request.py +228 -0
- huaweicloudsdktics/v1/model/list_league_datasets_response.py +145 -0
- huaweicloudsdktics/v1/model/list_leagues_request.py +170 -0
- huaweicloudsdktics/v1/model/list_leagues_response.py +145 -0
- huaweicloudsdktics/v1/model/list_nodes_request.py +170 -0
- huaweicloudsdktics/v1/model/list_nodes_response.py +145 -0
- huaweicloudsdktics/v1/model/list_notices_request.py +142 -0
- huaweicloudsdktics/v1/model/list_notices_response.py +145 -0
- huaweicloudsdktics/v1/model/list_partners_request.py +170 -0
- huaweicloudsdktics/v1/model/list_partners_response.py +145 -0
- huaweicloudsdktics/v1/model/list_sql_job_request.py +170 -0
- huaweicloudsdktics/v1/model/list_sql_job_response.py +145 -0
- huaweicloudsdktics/v1/model/partner_data_vo.py +289 -0
- huaweicloudsdktics/v1/model/processor_vo.py +374 -0
- huaweicloudsdktics/v1/model/round_deploy_vo.py +144 -0
- huaweicloudsdktics/v1/model/show_agent_detail_request.py +114 -0
- huaweicloudsdktics/v1/model/show_agent_detail_response.py +212 -0
- huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +112 -0
- huaweicloudsdktics/v1/model/show_instance_report_request.py +142 -0
- huaweicloudsdktics/v1/model/show_instance_report_response.py +220 -0
- huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +170 -0
- huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +112 -0
- huaweicloudsdktics/v1/model/show_job_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_job_statistics_response.py +232 -0
- huaweicloudsdktics/v1/model/show_league_request.py +114 -0
- huaweicloudsdktics/v1/model/show_league_response.py +725 -0
- huaweicloudsdktics/v1/model/show_overview_request.py +84 -0
- huaweicloudsdktics/v1/model/show_overview_response.py +203 -0
- huaweicloudsdktics/v1/model/show_partner_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_partner_statistics_response.py +112 -0
- huaweicloudsdktics/v1/model/stage_vo.py +201 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy.py +724 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +289 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +463 -0
- huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +202 -0
- huaweicloudsdktics/v1/model/tics_agent_node_info.py +492 -0
- huaweicloudsdktics/v1/model/tics_approve_log_vo.py +484 -0
- huaweicloudsdktics/v1/model/tics_dataset_column.py +405 -0
- huaweicloudsdktics/v1/model/tics_job_instance_vo.py +401 -0
- huaweicloudsdktics/v1/model/tics_league_audit_log.py +376 -0
- huaweicloudsdktics/v1/model/tics_league_list_vo.py +543 -0
- huaweicloudsdktics/v1/model/tics_league_notice_vo.py +430 -0
- huaweicloudsdktics/v1/model/tics_league_partner_vo.py +202 -0
- huaweicloudsdktics/v1/model/tics_sql_job_vo.py +483 -0
- huaweicloudsdktics/v1/model/tics_trust_info_vo.py +347 -0
- huaweicloudsdktics/v1/model/update_league_request.py +139 -0
- huaweicloudsdktics/v1/model/update_league_response.py +112 -0
- huaweicloudsdktics/v1/region/__init__.py +0 -0
- huaweicloudsdktics/v1/region/tics_region.py +34 -0
- huaweicloudsdktics/v1/tics_async_client.py +1382 -0
- huaweicloudsdktics/v1/tics_client.py +1379 -0
- huaweicloudsdktics-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdktics-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdktics-3.1.160.dist-info/RECORD +78 -0
- huaweicloudsdktics-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdktics-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class TicsAgentDeployBcs:
|
|
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
|
+
'agent_id': 'str',
|
|
21
|
+
'bcs_ip': 'str',
|
|
22
|
+
'block_chain_id': 'str',
|
|
23
|
+
'block_chain_name': 'str',
|
|
24
|
+
'channel_name': 'str',
|
|
25
|
+
'org_name': 'str',
|
|
26
|
+
'org_name_hash': 'str'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
attribute_map = {
|
|
30
|
+
'agent_id': 'agent_id',
|
|
31
|
+
'bcs_ip': 'bcs_ip',
|
|
32
|
+
'block_chain_id': 'block_chain_id',
|
|
33
|
+
'block_chain_name': 'block_chain_name',
|
|
34
|
+
'channel_name': 'channel_name',
|
|
35
|
+
'org_name': 'org_name',
|
|
36
|
+
'org_name_hash': 'org_name_hash'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
def __init__(self, agent_id=None, bcs_ip=None, block_chain_id=None, block_chain_name=None, channel_name=None, org_name=None, org_name_hash=None):
|
|
40
|
+
r"""TicsAgentDeployBcs
|
|
41
|
+
|
|
42
|
+
The model defined in huaweicloud sdk
|
|
43
|
+
|
|
44
|
+
:param agent_id: 可信节点Id
|
|
45
|
+
:type agent_id: str
|
|
46
|
+
:param bcs_ip: 区块链ip
|
|
47
|
+
:type bcs_ip: str
|
|
48
|
+
:param block_chain_id: 区块链Id
|
|
49
|
+
:type block_chain_id: str
|
|
50
|
+
:param block_chain_name: 区块链名称
|
|
51
|
+
:type block_chain_name: str
|
|
52
|
+
:param channel_name: 通道名称
|
|
53
|
+
:type channel_name: str
|
|
54
|
+
:param org_name: 组织名称
|
|
55
|
+
:type org_name: str
|
|
56
|
+
:param org_name_hash: 组织名称的hash
|
|
57
|
+
:type org_name_hash: str
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
self._agent_id = None
|
|
63
|
+
self._bcs_ip = None
|
|
64
|
+
self._block_chain_id = None
|
|
65
|
+
self._block_chain_name = None
|
|
66
|
+
self._channel_name = None
|
|
67
|
+
self._org_name = None
|
|
68
|
+
self._org_name_hash = None
|
|
69
|
+
self.discriminator = None
|
|
70
|
+
|
|
71
|
+
if agent_id is not None:
|
|
72
|
+
self.agent_id = agent_id
|
|
73
|
+
if bcs_ip is not None:
|
|
74
|
+
self.bcs_ip = bcs_ip
|
|
75
|
+
if block_chain_id is not None:
|
|
76
|
+
self.block_chain_id = block_chain_id
|
|
77
|
+
if block_chain_name is not None:
|
|
78
|
+
self.block_chain_name = block_chain_name
|
|
79
|
+
if channel_name is not None:
|
|
80
|
+
self.channel_name = channel_name
|
|
81
|
+
if org_name is not None:
|
|
82
|
+
self.org_name = org_name
|
|
83
|
+
if org_name_hash is not None:
|
|
84
|
+
self.org_name_hash = org_name_hash
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def agent_id(self):
|
|
88
|
+
r"""Gets the agent_id of this TicsAgentDeployBcs.
|
|
89
|
+
|
|
90
|
+
可信节点Id
|
|
91
|
+
|
|
92
|
+
:return: The agent_id of this TicsAgentDeployBcs.
|
|
93
|
+
:rtype: str
|
|
94
|
+
"""
|
|
95
|
+
return self._agent_id
|
|
96
|
+
|
|
97
|
+
@agent_id.setter
|
|
98
|
+
def agent_id(self, agent_id):
|
|
99
|
+
r"""Sets the agent_id of this TicsAgentDeployBcs.
|
|
100
|
+
|
|
101
|
+
可信节点Id
|
|
102
|
+
|
|
103
|
+
:param agent_id: The agent_id of this TicsAgentDeployBcs.
|
|
104
|
+
:type agent_id: str
|
|
105
|
+
"""
|
|
106
|
+
self._agent_id = agent_id
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def bcs_ip(self):
|
|
110
|
+
r"""Gets the bcs_ip of this TicsAgentDeployBcs.
|
|
111
|
+
|
|
112
|
+
区块链ip
|
|
113
|
+
|
|
114
|
+
:return: The bcs_ip of this TicsAgentDeployBcs.
|
|
115
|
+
:rtype: str
|
|
116
|
+
"""
|
|
117
|
+
return self._bcs_ip
|
|
118
|
+
|
|
119
|
+
@bcs_ip.setter
|
|
120
|
+
def bcs_ip(self, bcs_ip):
|
|
121
|
+
r"""Sets the bcs_ip of this TicsAgentDeployBcs.
|
|
122
|
+
|
|
123
|
+
区块链ip
|
|
124
|
+
|
|
125
|
+
:param bcs_ip: The bcs_ip of this TicsAgentDeployBcs.
|
|
126
|
+
:type bcs_ip: str
|
|
127
|
+
"""
|
|
128
|
+
self._bcs_ip = bcs_ip
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def block_chain_id(self):
|
|
132
|
+
r"""Gets the block_chain_id of this TicsAgentDeployBcs.
|
|
133
|
+
|
|
134
|
+
区块链Id
|
|
135
|
+
|
|
136
|
+
:return: The block_chain_id of this TicsAgentDeployBcs.
|
|
137
|
+
:rtype: str
|
|
138
|
+
"""
|
|
139
|
+
return self._block_chain_id
|
|
140
|
+
|
|
141
|
+
@block_chain_id.setter
|
|
142
|
+
def block_chain_id(self, block_chain_id):
|
|
143
|
+
r"""Sets the block_chain_id of this TicsAgentDeployBcs.
|
|
144
|
+
|
|
145
|
+
区块链Id
|
|
146
|
+
|
|
147
|
+
:param block_chain_id: The block_chain_id of this TicsAgentDeployBcs.
|
|
148
|
+
:type block_chain_id: str
|
|
149
|
+
"""
|
|
150
|
+
self._block_chain_id = block_chain_id
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
def block_chain_name(self):
|
|
154
|
+
r"""Gets the block_chain_name of this TicsAgentDeployBcs.
|
|
155
|
+
|
|
156
|
+
区块链名称
|
|
157
|
+
|
|
158
|
+
:return: The block_chain_name of this TicsAgentDeployBcs.
|
|
159
|
+
:rtype: str
|
|
160
|
+
"""
|
|
161
|
+
return self._block_chain_name
|
|
162
|
+
|
|
163
|
+
@block_chain_name.setter
|
|
164
|
+
def block_chain_name(self, block_chain_name):
|
|
165
|
+
r"""Sets the block_chain_name of this TicsAgentDeployBcs.
|
|
166
|
+
|
|
167
|
+
区块链名称
|
|
168
|
+
|
|
169
|
+
:param block_chain_name: The block_chain_name of this TicsAgentDeployBcs.
|
|
170
|
+
:type block_chain_name: str
|
|
171
|
+
"""
|
|
172
|
+
self._block_chain_name = block_chain_name
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
def channel_name(self):
|
|
176
|
+
r"""Gets the channel_name of this TicsAgentDeployBcs.
|
|
177
|
+
|
|
178
|
+
通道名称
|
|
179
|
+
|
|
180
|
+
:return: The channel_name of this TicsAgentDeployBcs.
|
|
181
|
+
:rtype: str
|
|
182
|
+
"""
|
|
183
|
+
return self._channel_name
|
|
184
|
+
|
|
185
|
+
@channel_name.setter
|
|
186
|
+
def channel_name(self, channel_name):
|
|
187
|
+
r"""Sets the channel_name of this TicsAgentDeployBcs.
|
|
188
|
+
|
|
189
|
+
通道名称
|
|
190
|
+
|
|
191
|
+
:param channel_name: The channel_name of this TicsAgentDeployBcs.
|
|
192
|
+
:type channel_name: str
|
|
193
|
+
"""
|
|
194
|
+
self._channel_name = channel_name
|
|
195
|
+
|
|
196
|
+
@property
|
|
197
|
+
def org_name(self):
|
|
198
|
+
r"""Gets the org_name of this TicsAgentDeployBcs.
|
|
199
|
+
|
|
200
|
+
组织名称
|
|
201
|
+
|
|
202
|
+
:return: The org_name of this TicsAgentDeployBcs.
|
|
203
|
+
:rtype: str
|
|
204
|
+
"""
|
|
205
|
+
return self._org_name
|
|
206
|
+
|
|
207
|
+
@org_name.setter
|
|
208
|
+
def org_name(self, org_name):
|
|
209
|
+
r"""Sets the org_name of this TicsAgentDeployBcs.
|
|
210
|
+
|
|
211
|
+
组织名称
|
|
212
|
+
|
|
213
|
+
:param org_name: The org_name of this TicsAgentDeployBcs.
|
|
214
|
+
:type org_name: str
|
|
215
|
+
"""
|
|
216
|
+
self._org_name = org_name
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
def org_name_hash(self):
|
|
220
|
+
r"""Gets the org_name_hash of this TicsAgentDeployBcs.
|
|
221
|
+
|
|
222
|
+
组织名称的hash
|
|
223
|
+
|
|
224
|
+
:return: The org_name_hash of this TicsAgentDeployBcs.
|
|
225
|
+
:rtype: str
|
|
226
|
+
"""
|
|
227
|
+
return self._org_name_hash
|
|
228
|
+
|
|
229
|
+
@org_name_hash.setter
|
|
230
|
+
def org_name_hash(self, org_name_hash):
|
|
231
|
+
r"""Sets the org_name_hash of this TicsAgentDeployBcs.
|
|
232
|
+
|
|
233
|
+
组织名称的hash
|
|
234
|
+
|
|
235
|
+
:param org_name_hash: The org_name_hash of this TicsAgentDeployBcs.
|
|
236
|
+
:type org_name_hash: str
|
|
237
|
+
"""
|
|
238
|
+
self._org_name_hash = org_name_hash
|
|
239
|
+
|
|
240
|
+
def to_dict(self):
|
|
241
|
+
"""Returns the model properties as a dict"""
|
|
242
|
+
result = {}
|
|
243
|
+
|
|
244
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
245
|
+
value = getattr(self, attr)
|
|
246
|
+
if isinstance(value, list):
|
|
247
|
+
result[attr] = list(map(
|
|
248
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
249
|
+
value
|
|
250
|
+
))
|
|
251
|
+
elif hasattr(value, "to_dict"):
|
|
252
|
+
result[attr] = value.to_dict()
|
|
253
|
+
elif isinstance(value, dict):
|
|
254
|
+
result[attr] = dict(map(
|
|
255
|
+
lambda item: (item[0], item[1].to_dict())
|
|
256
|
+
if hasattr(item[1], "to_dict") else item,
|
|
257
|
+
value.items()
|
|
258
|
+
))
|
|
259
|
+
else:
|
|
260
|
+
if attr in self.sensitive_list:
|
|
261
|
+
result[attr] = "****"
|
|
262
|
+
else:
|
|
263
|
+
result[attr] = value
|
|
264
|
+
|
|
265
|
+
return result
|
|
266
|
+
|
|
267
|
+
def to_str(self):
|
|
268
|
+
"""Returns the string representation of the model"""
|
|
269
|
+
import simplejson as json
|
|
270
|
+
if six.PY2:
|
|
271
|
+
import sys
|
|
272
|
+
reload(sys)
|
|
273
|
+
sys.setdefaultencoding("utf-8")
|
|
274
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
275
|
+
|
|
276
|
+
def __repr__(self):
|
|
277
|
+
"""For `print`"""
|
|
278
|
+
return self.to_str()
|
|
279
|
+
|
|
280
|
+
def __eq__(self, other):
|
|
281
|
+
"""Returns true if both objects are equal"""
|
|
282
|
+
if not isinstance(other, TicsAgentDeployBcs):
|
|
283
|
+
return False
|
|
284
|
+
|
|
285
|
+
return self.__dict__ == other.__dict__
|
|
286
|
+
|
|
287
|
+
def __ne__(self, other):
|
|
288
|
+
"""Returns true if both objects are not equal"""
|
|
289
|
+
return not self == other
|