huaweicloudsdktics 3.1.65__py2.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.

Files changed (78) hide show
  1. huaweicloudsdktics/__init__.py +0 -0
  2. huaweicloudsdktics/v1/__init__.py +74 -0
  3. huaweicloudsdktics/v1/model/__init__.py +71 -0
  4. huaweicloudsdktics/v1/model/agent_list_vo.py +521 -0
  5. huaweicloudsdktics/v1/model/deploy_vo.py +228 -0
  6. huaweicloudsdktics/v1/model/fl_job_list_vo.py +457 -0
  7. huaweicloudsdktics/v1/model/job_report_base_info_vo.py +256 -0
  8. huaweicloudsdktics/v1/model/job_report_env_vo.py +231 -0
  9. huaweicloudsdktics/v1/model/job_report_output_vo.py +173 -0
  10. huaweicloudsdktics/v1/model/job_report_partner_vo.py +231 -0
  11. huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +260 -0
  12. huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +318 -0
  13. huaweicloudsdktics/v1/model/league_update_vo.py +173 -0
  14. huaweicloudsdktics/v1/model/list_agents_request.py +200 -0
  15. huaweicloudsdktics/v1/model/list_agents_response.py +145 -0
  16. huaweicloudsdktics/v1/model/list_audit_info_request.py +170 -0
  17. huaweicloudsdktics/v1/model/list_audit_info_response.py +145 -0
  18. huaweicloudsdktics/v1/model/list_fl_job_request.py +170 -0
  19. huaweicloudsdktics/v1/model/list_fl_job_response.py +145 -0
  20. huaweicloudsdktics/v1/model/list_instance_history_request.py +199 -0
  21. huaweicloudsdktics/v1/model/list_instance_history_response.py +145 -0
  22. huaweicloudsdktics/v1/model/list_league_datasets_request.py +228 -0
  23. huaweicloudsdktics/v1/model/list_league_datasets_response.py +145 -0
  24. huaweicloudsdktics/v1/model/list_leagues_request.py +170 -0
  25. huaweicloudsdktics/v1/model/list_leagues_response.py +145 -0
  26. huaweicloudsdktics/v1/model/list_nodes_request.py +170 -0
  27. huaweicloudsdktics/v1/model/list_nodes_response.py +145 -0
  28. huaweicloudsdktics/v1/model/list_notices_request.py +142 -0
  29. huaweicloudsdktics/v1/model/list_notices_response.py +145 -0
  30. huaweicloudsdktics/v1/model/list_partners_request.py +170 -0
  31. huaweicloudsdktics/v1/model/list_partners_response.py +145 -0
  32. huaweicloudsdktics/v1/model/list_sql_job_request.py +170 -0
  33. huaweicloudsdktics/v1/model/list_sql_job_response.py +145 -0
  34. huaweicloudsdktics/v1/model/partner_data_vo.py +289 -0
  35. huaweicloudsdktics/v1/model/processor_vo.py +374 -0
  36. huaweicloudsdktics/v1/model/round_deploy_vo.py +144 -0
  37. huaweicloudsdktics/v1/model/show_agent_detail_request.py +114 -0
  38. huaweicloudsdktics/v1/model/show_agent_detail_response.py +212 -0
  39. huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +172 -0
  40. huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +112 -0
  41. huaweicloudsdktics/v1/model/show_instance_report_request.py +142 -0
  42. huaweicloudsdktics/v1/model/show_instance_report_response.py +220 -0
  43. huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +170 -0
  44. huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +112 -0
  45. huaweicloudsdktics/v1/model/show_job_statistics_request.py +172 -0
  46. huaweicloudsdktics/v1/model/show_job_statistics_response.py +232 -0
  47. huaweicloudsdktics/v1/model/show_league_request.py +114 -0
  48. huaweicloudsdktics/v1/model/show_league_response.py +725 -0
  49. huaweicloudsdktics/v1/model/show_overview_request.py +84 -0
  50. huaweicloudsdktics/v1/model/show_overview_response.py +203 -0
  51. huaweicloudsdktics/v1/model/show_partner_statistics_request.py +172 -0
  52. huaweicloudsdktics/v1/model/show_partner_statistics_response.py +112 -0
  53. huaweicloudsdktics/v1/model/stage_vo.py +201 -0
  54. huaweicloudsdktics/v1/model/tics_agent_deploy.py +724 -0
  55. huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +289 -0
  56. huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +434 -0
  57. huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +202 -0
  58. huaweicloudsdktics/v1/model/tics_agent_node_info.py +318 -0
  59. huaweicloudsdktics/v1/model/tics_approve_log_vo.py +484 -0
  60. huaweicloudsdktics/v1/model/tics_dataset_column.py +405 -0
  61. huaweicloudsdktics/v1/model/tics_job_instance_vo.py +401 -0
  62. huaweicloudsdktics/v1/model/tics_league_audit_log.py +376 -0
  63. huaweicloudsdktics/v1/model/tics_league_list_vo.py +543 -0
  64. huaweicloudsdktics/v1/model/tics_league_notice_vo.py +430 -0
  65. huaweicloudsdktics/v1/model/tics_league_partner_vo.py +202 -0
  66. huaweicloudsdktics/v1/model/tics_sql_job_vo.py +483 -0
  67. huaweicloudsdktics/v1/model/tics_trust_info_vo.py +347 -0
  68. huaweicloudsdktics/v1/model/update_league_request.py +139 -0
  69. huaweicloudsdktics/v1/model/update_league_response.py +112 -0
  70. huaweicloudsdktics/v1/region/__init__.py +0 -0
  71. huaweicloudsdktics/v1/region/tics_region.py +38 -0
  72. huaweicloudsdktics/v1/tics_async_client.py +1214 -0
  73. huaweicloudsdktics/v1/tics_client.py +1193 -0
  74. huaweicloudsdktics-3.1.65.dist-info/LICENSE +13 -0
  75. huaweicloudsdktics-3.1.65.dist-info/METADATA +27 -0
  76. huaweicloudsdktics-3.1.65.dist-info/RECORD +78 -0
  77. huaweicloudsdktics-3.1.65.dist-info/WHEEL +6 -0
  78. huaweicloudsdktics-3.1.65.dist-info/top_level.txt +1 -0
@@ -0,0 +1,318 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class TicsAgentNodeInfo:
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
+ 'ecs_server_id': 'str',
22
+ 'nat_eip': 'str',
23
+ 'nat_eip_id': 'str',
24
+ 'node_az': 'str',
25
+ 'node_id': 'str',
26
+ 'node_ip': 'str',
27
+ 'node_name': 'str'
28
+ }
29
+
30
+ attribute_map = {
31
+ 'agent_id': 'agent_id',
32
+ 'ecs_server_id': 'ecs_server_id',
33
+ 'nat_eip': 'nat_eip',
34
+ 'nat_eip_id': 'nat_eip_id',
35
+ 'node_az': 'node_az',
36
+ 'node_id': 'node_id',
37
+ 'node_ip': 'node_ip',
38
+ 'node_name': 'node_name'
39
+ }
40
+
41
+ def __init__(self, agent_id=None, ecs_server_id=None, nat_eip=None, nat_eip_id=None, node_az=None, node_id=None, node_ip=None, node_name=None):
42
+ """TicsAgentNodeInfo
43
+
44
+ The model defined in huaweicloud sdk
45
+
46
+ :param agent_id: 可信节点Id
47
+ :type agent_id: str
48
+ :param ecs_server_id: 弹性云服务器Id,IEF部署同node_id
49
+ :type ecs_server_id: str
50
+ :param nat_eip: 可信节点绑定的网关的ip,CCE部署时会返回该值
51
+ :type nat_eip: str
52
+ :param nat_eip_id: 可信节点绑定的网关的ip的Id,CCE部署时会返回该值
53
+ :type nat_eip_id: str
54
+ :param node_az: 弹性云服务器所在可用区,CCE部署时会返回该值
55
+ :type node_az: str
56
+ :param node_id: 可信节点部署的虚机id,CCE部署情况返回CCE节点ID。
57
+ :type node_id: str
58
+ :param node_ip: 弹性云服务器的私网ip
59
+ :type node_ip: str
60
+ :param node_name: 弹性云服务器的名称
61
+ :type node_name: str
62
+ """
63
+
64
+
65
+
66
+ self._agent_id = None
67
+ self._ecs_server_id = None
68
+ self._nat_eip = None
69
+ self._nat_eip_id = None
70
+ self._node_az = None
71
+ self._node_id = None
72
+ self._node_ip = None
73
+ self._node_name = None
74
+ self.discriminator = None
75
+
76
+ if agent_id is not None:
77
+ self.agent_id = agent_id
78
+ if ecs_server_id is not None:
79
+ self.ecs_server_id = ecs_server_id
80
+ if nat_eip is not None:
81
+ self.nat_eip = nat_eip
82
+ if nat_eip_id is not None:
83
+ self.nat_eip_id = nat_eip_id
84
+ if node_az is not None:
85
+ self.node_az = node_az
86
+ if node_id is not None:
87
+ self.node_id = node_id
88
+ if node_ip is not None:
89
+ self.node_ip = node_ip
90
+ if node_name is not None:
91
+ self.node_name = node_name
92
+
93
+ @property
94
+ def agent_id(self):
95
+ """Gets the agent_id of this TicsAgentNodeInfo.
96
+
97
+ 可信节点Id
98
+
99
+ :return: The agent_id of this TicsAgentNodeInfo.
100
+ :rtype: str
101
+ """
102
+ return self._agent_id
103
+
104
+ @agent_id.setter
105
+ def agent_id(self, agent_id):
106
+ """Sets the agent_id of this TicsAgentNodeInfo.
107
+
108
+ 可信节点Id
109
+
110
+ :param agent_id: The agent_id of this TicsAgentNodeInfo.
111
+ :type agent_id: str
112
+ """
113
+ self._agent_id = agent_id
114
+
115
+ @property
116
+ def ecs_server_id(self):
117
+ """Gets the ecs_server_id of this TicsAgentNodeInfo.
118
+
119
+ 弹性云服务器Id,IEF部署同node_id
120
+
121
+ :return: The ecs_server_id of this TicsAgentNodeInfo.
122
+ :rtype: str
123
+ """
124
+ return self._ecs_server_id
125
+
126
+ @ecs_server_id.setter
127
+ def ecs_server_id(self, ecs_server_id):
128
+ """Sets the ecs_server_id of this TicsAgentNodeInfo.
129
+
130
+ 弹性云服务器Id,IEF部署同node_id
131
+
132
+ :param ecs_server_id: The ecs_server_id of this TicsAgentNodeInfo.
133
+ :type ecs_server_id: str
134
+ """
135
+ self._ecs_server_id = ecs_server_id
136
+
137
+ @property
138
+ def nat_eip(self):
139
+ """Gets the nat_eip of this TicsAgentNodeInfo.
140
+
141
+ 可信节点绑定的网关的ip,CCE部署时会返回该值
142
+
143
+ :return: The nat_eip of this TicsAgentNodeInfo.
144
+ :rtype: str
145
+ """
146
+ return self._nat_eip
147
+
148
+ @nat_eip.setter
149
+ def nat_eip(self, nat_eip):
150
+ """Sets the nat_eip of this TicsAgentNodeInfo.
151
+
152
+ 可信节点绑定的网关的ip,CCE部署时会返回该值
153
+
154
+ :param nat_eip: The nat_eip of this TicsAgentNodeInfo.
155
+ :type nat_eip: str
156
+ """
157
+ self._nat_eip = nat_eip
158
+
159
+ @property
160
+ def nat_eip_id(self):
161
+ """Gets the nat_eip_id of this TicsAgentNodeInfo.
162
+
163
+ 可信节点绑定的网关的ip的Id,CCE部署时会返回该值
164
+
165
+ :return: The nat_eip_id of this TicsAgentNodeInfo.
166
+ :rtype: str
167
+ """
168
+ return self._nat_eip_id
169
+
170
+ @nat_eip_id.setter
171
+ def nat_eip_id(self, nat_eip_id):
172
+ """Sets the nat_eip_id of this TicsAgentNodeInfo.
173
+
174
+ 可信节点绑定的网关的ip的Id,CCE部署时会返回该值
175
+
176
+ :param nat_eip_id: The nat_eip_id of this TicsAgentNodeInfo.
177
+ :type nat_eip_id: str
178
+ """
179
+ self._nat_eip_id = nat_eip_id
180
+
181
+ @property
182
+ def node_az(self):
183
+ """Gets the node_az of this TicsAgentNodeInfo.
184
+
185
+ 弹性云服务器所在可用区,CCE部署时会返回该值
186
+
187
+ :return: The node_az of this TicsAgentNodeInfo.
188
+ :rtype: str
189
+ """
190
+ return self._node_az
191
+
192
+ @node_az.setter
193
+ def node_az(self, node_az):
194
+ """Sets the node_az of this TicsAgentNodeInfo.
195
+
196
+ 弹性云服务器所在可用区,CCE部署时会返回该值
197
+
198
+ :param node_az: The node_az of this TicsAgentNodeInfo.
199
+ :type node_az: str
200
+ """
201
+ self._node_az = node_az
202
+
203
+ @property
204
+ def node_id(self):
205
+ """Gets the node_id of this TicsAgentNodeInfo.
206
+
207
+ 可信节点部署的虚机id,CCE部署情况返回CCE节点ID。
208
+
209
+ :return: The node_id of this TicsAgentNodeInfo.
210
+ :rtype: str
211
+ """
212
+ return self._node_id
213
+
214
+ @node_id.setter
215
+ def node_id(self, node_id):
216
+ """Sets the node_id of this TicsAgentNodeInfo.
217
+
218
+ 可信节点部署的虚机id,CCE部署情况返回CCE节点ID。
219
+
220
+ :param node_id: The node_id of this TicsAgentNodeInfo.
221
+ :type node_id: str
222
+ """
223
+ self._node_id = node_id
224
+
225
+ @property
226
+ def node_ip(self):
227
+ """Gets the node_ip of this TicsAgentNodeInfo.
228
+
229
+ 弹性云服务器的私网ip
230
+
231
+ :return: The node_ip of this TicsAgentNodeInfo.
232
+ :rtype: str
233
+ """
234
+ return self._node_ip
235
+
236
+ @node_ip.setter
237
+ def node_ip(self, node_ip):
238
+ """Sets the node_ip of this TicsAgentNodeInfo.
239
+
240
+ 弹性云服务器的私网ip
241
+
242
+ :param node_ip: The node_ip of this TicsAgentNodeInfo.
243
+ :type node_ip: str
244
+ """
245
+ self._node_ip = node_ip
246
+
247
+ @property
248
+ def node_name(self):
249
+ """Gets the node_name of this TicsAgentNodeInfo.
250
+
251
+ 弹性云服务器的名称
252
+
253
+ :return: The node_name of this TicsAgentNodeInfo.
254
+ :rtype: str
255
+ """
256
+ return self._node_name
257
+
258
+ @node_name.setter
259
+ def node_name(self, node_name):
260
+ """Sets the node_name of this TicsAgentNodeInfo.
261
+
262
+ 弹性云服务器的名称
263
+
264
+ :param node_name: The node_name of this TicsAgentNodeInfo.
265
+ :type node_name: str
266
+ """
267
+ self._node_name = node_name
268
+
269
+ def to_dict(self):
270
+ """Returns the model properties as a dict"""
271
+ result = {}
272
+
273
+ for attr, _ in six.iteritems(self.openapi_types):
274
+ value = getattr(self, attr)
275
+ if isinstance(value, list):
276
+ result[attr] = list(map(
277
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
278
+ value
279
+ ))
280
+ elif hasattr(value, "to_dict"):
281
+ result[attr] = value.to_dict()
282
+ elif isinstance(value, dict):
283
+ result[attr] = dict(map(
284
+ lambda item: (item[0], item[1].to_dict())
285
+ if hasattr(item[1], "to_dict") else item,
286
+ value.items()
287
+ ))
288
+ else:
289
+ if attr in self.sensitive_list:
290
+ result[attr] = "****"
291
+ else:
292
+ result[attr] = value
293
+
294
+ return result
295
+
296
+ def to_str(self):
297
+ """Returns the string representation of the model"""
298
+ import simplejson as json
299
+ if six.PY2:
300
+ import sys
301
+ reload(sys)
302
+ sys.setdefaultencoding("utf-8")
303
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
304
+
305
+ def __repr__(self):
306
+ """For `print`"""
307
+ return self.to_str()
308
+
309
+ def __eq__(self, other):
310
+ """Returns true if both objects are equal"""
311
+ if not isinstance(other, TicsAgentNodeInfo):
312
+ return False
313
+
314
+ return self.__dict__ == other.__dict__
315
+
316
+ def __ne__(self, other):
317
+ """Returns true if both objects are not equal"""
318
+ return not self == other