huaweicloudsdktics 3.1.181__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.
Files changed (77) 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 +514 -0
  5. huaweicloudsdktics/v1/model/deploy_vo.py +221 -0
  6. huaweicloudsdktics/v1/model/fl_job_list_vo.py +450 -0
  7. huaweicloudsdktics/v1/model/job_report_base_info_vo.py +249 -0
  8. huaweicloudsdktics/v1/model/job_report_env_vo.py +224 -0
  9. huaweicloudsdktics/v1/model/job_report_output_vo.py +166 -0
  10. huaweicloudsdktics/v1/model/job_report_partner_vo.py +224 -0
  11. huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +253 -0
  12. huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +311 -0
  13. huaweicloudsdktics/v1/model/league_update_vo.py +166 -0
  14. huaweicloudsdktics/v1/model/list_agents_request.py +193 -0
  15. huaweicloudsdktics/v1/model/list_agents_response.py +141 -0
  16. huaweicloudsdktics/v1/model/list_audit_info_request.py +163 -0
  17. huaweicloudsdktics/v1/model/list_audit_info_response.py +141 -0
  18. huaweicloudsdktics/v1/model/list_fl_job_request.py +163 -0
  19. huaweicloudsdktics/v1/model/list_fl_job_response.py +141 -0
  20. huaweicloudsdktics/v1/model/list_instance_history_request.py +192 -0
  21. huaweicloudsdktics/v1/model/list_instance_history_response.py +141 -0
  22. huaweicloudsdktics/v1/model/list_league_datasets_request.py +221 -0
  23. huaweicloudsdktics/v1/model/list_league_datasets_response.py +141 -0
  24. huaweicloudsdktics/v1/model/list_leagues_request.py +163 -0
  25. huaweicloudsdktics/v1/model/list_leagues_response.py +141 -0
  26. huaweicloudsdktics/v1/model/list_nodes_request.py +163 -0
  27. huaweicloudsdktics/v1/model/list_nodes_response.py +141 -0
  28. huaweicloudsdktics/v1/model/list_notices_request.py +135 -0
  29. huaweicloudsdktics/v1/model/list_notices_response.py +141 -0
  30. huaweicloudsdktics/v1/model/list_partners_request.py +163 -0
  31. huaweicloudsdktics/v1/model/list_partners_response.py +141 -0
  32. huaweicloudsdktics/v1/model/list_sql_job_request.py +163 -0
  33. huaweicloudsdktics/v1/model/list_sql_job_response.py +141 -0
  34. huaweicloudsdktics/v1/model/partner_data_vo.py +282 -0
  35. huaweicloudsdktics/v1/model/processor_vo.py +367 -0
  36. huaweicloudsdktics/v1/model/round_deploy_vo.py +137 -0
  37. huaweicloudsdktics/v1/model/show_agent_detail_request.py +107 -0
  38. huaweicloudsdktics/v1/model/show_agent_detail_response.py +208 -0
  39. huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +165 -0
  40. huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +108 -0
  41. huaweicloudsdktics/v1/model/show_instance_report_request.py +135 -0
  42. huaweicloudsdktics/v1/model/show_instance_report_response.py +216 -0
  43. huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +163 -0
  44. huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +108 -0
  45. huaweicloudsdktics/v1/model/show_job_statistics_request.py +165 -0
  46. huaweicloudsdktics/v1/model/show_job_statistics_response.py +228 -0
  47. huaweicloudsdktics/v1/model/show_league_request.py +107 -0
  48. huaweicloudsdktics/v1/model/show_league_response.py +721 -0
  49. huaweicloudsdktics/v1/model/show_overview_request.py +77 -0
  50. huaweicloudsdktics/v1/model/show_overview_response.py +199 -0
  51. huaweicloudsdktics/v1/model/show_partner_statistics_request.py +165 -0
  52. huaweicloudsdktics/v1/model/show_partner_statistics_response.py +108 -0
  53. huaweicloudsdktics/v1/model/stage_vo.py +194 -0
  54. huaweicloudsdktics/v1/model/tics_agent_deploy.py +717 -0
  55. huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +282 -0
  56. huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +456 -0
  57. huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +195 -0
  58. huaweicloudsdktics/v1/model/tics_agent_node_info.py +485 -0
  59. huaweicloudsdktics/v1/model/tics_approve_log_vo.py +477 -0
  60. huaweicloudsdktics/v1/model/tics_dataset_column.py +398 -0
  61. huaweicloudsdktics/v1/model/tics_job_instance_vo.py +394 -0
  62. huaweicloudsdktics/v1/model/tics_league_audit_log.py +369 -0
  63. huaweicloudsdktics/v1/model/tics_league_list_vo.py +536 -0
  64. huaweicloudsdktics/v1/model/tics_league_notice_vo.py +423 -0
  65. huaweicloudsdktics/v1/model/tics_league_partner_vo.py +195 -0
  66. huaweicloudsdktics/v1/model/tics_sql_job_vo.py +476 -0
  67. huaweicloudsdktics/v1/model/tics_trust_info_vo.py +340 -0
  68. huaweicloudsdktics/v1/model/update_league_request.py +132 -0
  69. huaweicloudsdktics/v1/model/update_league_response.py +108 -0
  70. huaweicloudsdktics/v1/region/__init__.py +0 -0
  71. huaweicloudsdktics/v1/region/tics_region.py +34 -0
  72. huaweicloudsdktics/v1/tics_async_client.py +1382 -0
  73. huaweicloudsdktics/v1/tics_client.py +1379 -0
  74. huaweicloudsdktics-3.1.181.dist-info/METADATA +25 -0
  75. huaweicloudsdktics-3.1.181.dist-info/RECORD +77 -0
  76. huaweicloudsdktics-3.1.181.dist-info/WHEEL +4 -0
  77. huaweicloudsdktics-3.1.181.dist-info/licenses/LICENSE +13 -0
@@ -0,0 +1,394 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class TicsJobInstanceVo:
7
+
8
+ """
9
+ Attributes:
10
+ openapi_types (dict): The key is attribute name
11
+ and the value is attribute type.
12
+ attribute_map (dict): The key is attribute name
13
+ and the value is json key in definition.
14
+ """
15
+ sensitive_list = []
16
+
17
+ openapi_types = {
18
+ 'end_time': 'datetime',
19
+ 'ext': 'str',
20
+ 'id': 'str',
21
+ 'is_single_predict': 'bool',
22
+ 'job_instance_type': 'str',
23
+ 'job_name': 'str',
24
+ 'job_partner': 'str',
25
+ 'result_ext': 'str',
26
+ 'round_id': 'int',
27
+ 'start_time': 'datetime',
28
+ 'status': 'str'
29
+ }
30
+
31
+ attribute_map = {
32
+ 'end_time': 'end_time',
33
+ 'ext': 'ext',
34
+ 'id': 'id',
35
+ 'is_single_predict': 'is_single_predict',
36
+ 'job_instance_type': 'job_instance_type',
37
+ 'job_name': 'job_name',
38
+ 'job_partner': 'job_partner',
39
+ 'result_ext': 'result_ext',
40
+ 'round_id': 'round_id',
41
+ 'start_time': 'start_time',
42
+ 'status': 'status'
43
+ }
44
+
45
+ def __init__(self, end_time=None, ext=None, id=None, is_single_predict=None, job_instance_type=None, job_name=None, job_partner=None, result_ext=None, round_id=None, start_time=None, status=None):
46
+ r"""TicsJobInstanceVo
47
+
48
+ The model defined in huaweicloud sdk
49
+
50
+ :param end_time: 结束时间
51
+ :type end_time: datetime
52
+ :param ext: 参数等额外信息
53
+ :type ext: str
54
+ :param id: 实例id
55
+ :type id: str
56
+ :param is_single_predict: 单方还是双方预测
57
+ :type is_single_predict: bool
58
+ :param job_instance_type: 作业类型,HFL.横向联邦,SQL.联邦分析,VFL_EVALUATE.联邦评估,VFL_FEATURE_SELECTION.特征选择,VFL_ID_TRUNCATION.Id截断,VFL_PREDICT.联邦预测,VFL_SAMPLE_ALIGNMENT.样本对齐,VFL_TRAIN.联邦训练
59
+ :type job_instance_type: str
60
+ :param job_name: 作业名称
61
+ :type job_name: str
62
+ :param job_partner: 参与方信息
63
+ :type job_partner: str
64
+ :param result_ext: 参数等额外信息
65
+ :type result_ext: str
66
+ :param round_id: 作业执行总轮数
67
+ :type round_id: int
68
+ :param start_time: 开始时间
69
+ :type start_time: datetime
70
+ :param status: 作业、任务状态,作业任务状态,NEW.新建,SUBMITING.提交中,ACCEPTED.已接收,DEPLOYING.部署中,RUNNING.运行中,SUCCEEDED.成功,FAILED.失败,TERMINATED.中止,TERMINATING.中止中,PENDING.等待中
71
+ :type status: str
72
+ """
73
+
74
+
75
+
76
+ self._end_time = None
77
+ self._ext = None
78
+ self._id = None
79
+ self._is_single_predict = None
80
+ self._job_instance_type = None
81
+ self._job_name = None
82
+ self._job_partner = None
83
+ self._result_ext = None
84
+ self._round_id = None
85
+ self._start_time = None
86
+ self._status = None
87
+ self.discriminator = None
88
+
89
+ if end_time is not None:
90
+ self.end_time = end_time
91
+ if ext is not None:
92
+ self.ext = ext
93
+ self.id = id
94
+ if is_single_predict is not None:
95
+ self.is_single_predict = is_single_predict
96
+ self.job_instance_type = job_instance_type
97
+ self.job_name = job_name
98
+ if job_partner is not None:
99
+ self.job_partner = job_partner
100
+ if result_ext is not None:
101
+ self.result_ext = result_ext
102
+ if round_id is not None:
103
+ self.round_id = round_id
104
+ if start_time is not None:
105
+ self.start_time = start_time
106
+ self.status = status
107
+
108
+ @property
109
+ def end_time(self):
110
+ r"""Gets the end_time of this TicsJobInstanceVo.
111
+
112
+ 结束时间
113
+
114
+ :return: The end_time of this TicsJobInstanceVo.
115
+ :rtype: datetime
116
+ """
117
+ return self._end_time
118
+
119
+ @end_time.setter
120
+ def end_time(self, end_time):
121
+ r"""Sets the end_time of this TicsJobInstanceVo.
122
+
123
+ 结束时间
124
+
125
+ :param end_time: The end_time of this TicsJobInstanceVo.
126
+ :type end_time: datetime
127
+ """
128
+ self._end_time = end_time
129
+
130
+ @property
131
+ def ext(self):
132
+ r"""Gets the ext of this TicsJobInstanceVo.
133
+
134
+ 参数等额外信息
135
+
136
+ :return: The ext of this TicsJobInstanceVo.
137
+ :rtype: str
138
+ """
139
+ return self._ext
140
+
141
+ @ext.setter
142
+ def ext(self, ext):
143
+ r"""Sets the ext of this TicsJobInstanceVo.
144
+
145
+ 参数等额外信息
146
+
147
+ :param ext: The ext of this TicsJobInstanceVo.
148
+ :type ext: str
149
+ """
150
+ self._ext = ext
151
+
152
+ @property
153
+ def id(self):
154
+ r"""Gets the id of this TicsJobInstanceVo.
155
+
156
+ 实例id
157
+
158
+ :return: The id of this TicsJobInstanceVo.
159
+ :rtype: str
160
+ """
161
+ return self._id
162
+
163
+ @id.setter
164
+ def id(self, id):
165
+ r"""Sets the id of this TicsJobInstanceVo.
166
+
167
+ 实例id
168
+
169
+ :param id: The id of this TicsJobInstanceVo.
170
+ :type id: str
171
+ """
172
+ self._id = id
173
+
174
+ @property
175
+ def is_single_predict(self):
176
+ r"""Gets the is_single_predict of this TicsJobInstanceVo.
177
+
178
+ 单方还是双方预测
179
+
180
+ :return: The is_single_predict of this TicsJobInstanceVo.
181
+ :rtype: bool
182
+ """
183
+ return self._is_single_predict
184
+
185
+ @is_single_predict.setter
186
+ def is_single_predict(self, is_single_predict):
187
+ r"""Sets the is_single_predict of this TicsJobInstanceVo.
188
+
189
+ 单方还是双方预测
190
+
191
+ :param is_single_predict: The is_single_predict of this TicsJobInstanceVo.
192
+ :type is_single_predict: bool
193
+ """
194
+ self._is_single_predict = is_single_predict
195
+
196
+ @property
197
+ def job_instance_type(self):
198
+ r"""Gets the job_instance_type of this TicsJobInstanceVo.
199
+
200
+ 作业类型,HFL.横向联邦,SQL.联邦分析,VFL_EVALUATE.联邦评估,VFL_FEATURE_SELECTION.特征选择,VFL_ID_TRUNCATION.Id截断,VFL_PREDICT.联邦预测,VFL_SAMPLE_ALIGNMENT.样本对齐,VFL_TRAIN.联邦训练
201
+
202
+ :return: The job_instance_type of this TicsJobInstanceVo.
203
+ :rtype: str
204
+ """
205
+ return self._job_instance_type
206
+
207
+ @job_instance_type.setter
208
+ def job_instance_type(self, job_instance_type):
209
+ r"""Sets the job_instance_type of this TicsJobInstanceVo.
210
+
211
+ 作业类型,HFL.横向联邦,SQL.联邦分析,VFL_EVALUATE.联邦评估,VFL_FEATURE_SELECTION.特征选择,VFL_ID_TRUNCATION.Id截断,VFL_PREDICT.联邦预测,VFL_SAMPLE_ALIGNMENT.样本对齐,VFL_TRAIN.联邦训练
212
+
213
+ :param job_instance_type: The job_instance_type of this TicsJobInstanceVo.
214
+ :type job_instance_type: str
215
+ """
216
+ self._job_instance_type = job_instance_type
217
+
218
+ @property
219
+ def job_name(self):
220
+ r"""Gets the job_name of this TicsJobInstanceVo.
221
+
222
+ 作业名称
223
+
224
+ :return: The job_name of this TicsJobInstanceVo.
225
+ :rtype: str
226
+ """
227
+ return self._job_name
228
+
229
+ @job_name.setter
230
+ def job_name(self, job_name):
231
+ r"""Sets the job_name of this TicsJobInstanceVo.
232
+
233
+ 作业名称
234
+
235
+ :param job_name: The job_name of this TicsJobInstanceVo.
236
+ :type job_name: str
237
+ """
238
+ self._job_name = job_name
239
+
240
+ @property
241
+ def job_partner(self):
242
+ r"""Gets the job_partner of this TicsJobInstanceVo.
243
+
244
+ 参与方信息
245
+
246
+ :return: The job_partner of this TicsJobInstanceVo.
247
+ :rtype: str
248
+ """
249
+ return self._job_partner
250
+
251
+ @job_partner.setter
252
+ def job_partner(self, job_partner):
253
+ r"""Sets the job_partner of this TicsJobInstanceVo.
254
+
255
+ 参与方信息
256
+
257
+ :param job_partner: The job_partner of this TicsJobInstanceVo.
258
+ :type job_partner: str
259
+ """
260
+ self._job_partner = job_partner
261
+
262
+ @property
263
+ def result_ext(self):
264
+ r"""Gets the result_ext of this TicsJobInstanceVo.
265
+
266
+ 参数等额外信息
267
+
268
+ :return: The result_ext of this TicsJobInstanceVo.
269
+ :rtype: str
270
+ """
271
+ return self._result_ext
272
+
273
+ @result_ext.setter
274
+ def result_ext(self, result_ext):
275
+ r"""Sets the result_ext of this TicsJobInstanceVo.
276
+
277
+ 参数等额外信息
278
+
279
+ :param result_ext: The result_ext of this TicsJobInstanceVo.
280
+ :type result_ext: str
281
+ """
282
+ self._result_ext = result_ext
283
+
284
+ @property
285
+ def round_id(self):
286
+ r"""Gets the round_id of this TicsJobInstanceVo.
287
+
288
+ 作业执行总轮数
289
+
290
+ :return: The round_id of this TicsJobInstanceVo.
291
+ :rtype: int
292
+ """
293
+ return self._round_id
294
+
295
+ @round_id.setter
296
+ def round_id(self, round_id):
297
+ r"""Sets the round_id of this TicsJobInstanceVo.
298
+
299
+ 作业执行总轮数
300
+
301
+ :param round_id: The round_id of this TicsJobInstanceVo.
302
+ :type round_id: int
303
+ """
304
+ self._round_id = round_id
305
+
306
+ @property
307
+ def start_time(self):
308
+ r"""Gets the start_time of this TicsJobInstanceVo.
309
+
310
+ 开始时间
311
+
312
+ :return: The start_time of this TicsJobInstanceVo.
313
+ :rtype: datetime
314
+ """
315
+ return self._start_time
316
+
317
+ @start_time.setter
318
+ def start_time(self, start_time):
319
+ r"""Sets the start_time of this TicsJobInstanceVo.
320
+
321
+ 开始时间
322
+
323
+ :param start_time: The start_time of this TicsJobInstanceVo.
324
+ :type start_time: datetime
325
+ """
326
+ self._start_time = start_time
327
+
328
+ @property
329
+ def status(self):
330
+ r"""Gets the status of this TicsJobInstanceVo.
331
+
332
+ 作业、任务状态,作业任务状态,NEW.新建,SUBMITING.提交中,ACCEPTED.已接收,DEPLOYING.部署中,RUNNING.运行中,SUCCEEDED.成功,FAILED.失败,TERMINATED.中止,TERMINATING.中止中,PENDING.等待中
333
+
334
+ :return: The status of this TicsJobInstanceVo.
335
+ :rtype: str
336
+ """
337
+ return self._status
338
+
339
+ @status.setter
340
+ def status(self, status):
341
+ r"""Sets the status of this TicsJobInstanceVo.
342
+
343
+ 作业、任务状态,作业任务状态,NEW.新建,SUBMITING.提交中,ACCEPTED.已接收,DEPLOYING.部署中,RUNNING.运行中,SUCCEEDED.成功,FAILED.失败,TERMINATED.中止,TERMINATING.中止中,PENDING.等待中
344
+
345
+ :param status: The status of this TicsJobInstanceVo.
346
+ :type status: str
347
+ """
348
+ self._status = status
349
+
350
+ def to_dict(self):
351
+ result = {}
352
+
353
+ for attr, _ in self.openapi_types.items():
354
+ value = getattr(self, attr)
355
+ if isinstance(value, list):
356
+ result[attr] = list(map(
357
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
358
+ value
359
+ ))
360
+ elif hasattr(value, "to_dict"):
361
+ result[attr] = value.to_dict()
362
+ elif isinstance(value, dict):
363
+ result[attr] = dict(map(
364
+ lambda item: (item[0], item[1].to_dict())
365
+ if hasattr(item[1], "to_dict") else item,
366
+ value.items()
367
+ ))
368
+ else:
369
+ if attr in self.sensitive_list:
370
+ result[attr] = "****"
371
+ else:
372
+ result[attr] = value
373
+
374
+ return result
375
+
376
+ def to_str(self):
377
+ """Returns the string representation of the model"""
378
+ import simplejson as json
379
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
380
+
381
+ def __repr__(self):
382
+ """For `print`"""
383
+ return self.to_str()
384
+
385
+ def __eq__(self, other):
386
+ """Returns true if both objects are equal"""
387
+ if not isinstance(other, TicsJobInstanceVo):
388
+ return False
389
+
390
+ return self.__dict__ == other.__dict__
391
+
392
+ def __ne__(self, other):
393
+ """Returns true if both objects are not equal"""
394
+ return not self == other