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,476 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class TicsSqlJobVo:
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
+ 'approval_status': 'str',
19
+ 'create_time': 'datetime',
20
+ 'creator_id': 'str',
21
+ 'creator_name': 'str',
22
+ 'deleted': 'bool',
23
+ 'description': 'str',
24
+ 'domain_id': 'str',
25
+ 'id': 'str',
26
+ 'job_type': 'str',
27
+ 'league_id': 'str',
28
+ 'name': 'str',
29
+ 'update_time': 'datetime',
30
+ 'update_user_id': 'str',
31
+ 'update_user_name': 'str'
32
+ }
33
+
34
+ attribute_map = {
35
+ 'approval_status': 'approval_status',
36
+ 'create_time': 'create_time',
37
+ 'creator_id': 'creator_id',
38
+ 'creator_name': 'creator_name',
39
+ 'deleted': 'deleted',
40
+ 'description': 'description',
41
+ 'domain_id': 'domain_id',
42
+ 'id': 'id',
43
+ 'job_type': 'job_type',
44
+ 'league_id': 'league_id',
45
+ 'name': 'name',
46
+ 'update_time': 'update_time',
47
+ 'update_user_id': 'update_user_id',
48
+ 'update_user_name': 'update_user_name'
49
+ }
50
+
51
+ def __init__(self, approval_status=None, create_time=None, creator_id=None, creator_name=None, deleted=None, description=None, domain_id=None, id=None, job_type=None, league_id=None, name=None, update_time=None, update_user_id=None, update_user_name=None):
52
+ r"""TicsSqlJobVo
53
+
54
+ The model defined in huaweicloud sdk
55
+
56
+ :param approval_status: 作业审批状态,APPROVED.审批通过,APPROVING.审批中,NEW.新建,REJECTED.驳回,REVOKED.撤销
57
+ :type approval_status: str
58
+ :param create_time: 创建时间
59
+ :type create_time: datetime
60
+ :param creator_id: 创建人id
61
+ :type creator_id: str
62
+ :param creator_name: 创建人名称
63
+ :type creator_name: str
64
+ :param deleted: 删除标记
65
+ :type deleted: bool
66
+ :param description: 作业描述
67
+ :type description: str
68
+ :param domain_id: 作业发起方domainId
69
+ :type domain_id: str
70
+ :param id: 作业id
71
+ :type id: str
72
+ :param job_type: 作业类型,SQL.联合SQL分析,HFL.横向联邦学习,VFL.纵向联邦学习,PREDICT.预测,DATA_EXCHANGE.数据交换
73
+ :type job_type: str
74
+ :param league_id: 联盟id
75
+ :type league_id: str
76
+ :param name: 作业名称
77
+ :type name: str
78
+ :param update_time: 变更时间
79
+ :type update_time: datetime
80
+ :param update_user_id: 变更人id
81
+ :type update_user_id: str
82
+ :param update_user_name: 变更人名称
83
+ :type update_user_name: str
84
+ """
85
+
86
+
87
+
88
+ self._approval_status = None
89
+ self._create_time = None
90
+ self._creator_id = None
91
+ self._creator_name = None
92
+ self._deleted = None
93
+ self._description = None
94
+ self._domain_id = None
95
+ self._id = None
96
+ self._job_type = None
97
+ self._league_id = None
98
+ self._name = None
99
+ self._update_time = None
100
+ self._update_user_id = None
101
+ self._update_user_name = None
102
+ self.discriminator = None
103
+
104
+ if approval_status is not None:
105
+ self.approval_status = approval_status
106
+ self.create_time = create_time
107
+ self.creator_id = creator_id
108
+ self.creator_name = creator_name
109
+ self.deleted = deleted
110
+ if description is not None:
111
+ self.description = description
112
+ self.domain_id = domain_id
113
+ self.id = id
114
+ self.job_type = job_type
115
+ self.league_id = league_id
116
+ self.name = name
117
+ if update_time is not None:
118
+ self.update_time = update_time
119
+ if update_user_id is not None:
120
+ self.update_user_id = update_user_id
121
+ if update_user_name is not None:
122
+ self.update_user_name = update_user_name
123
+
124
+ @property
125
+ def approval_status(self):
126
+ r"""Gets the approval_status of this TicsSqlJobVo.
127
+
128
+ 作业审批状态,APPROVED.审批通过,APPROVING.审批中,NEW.新建,REJECTED.驳回,REVOKED.撤销
129
+
130
+ :return: The approval_status of this TicsSqlJobVo.
131
+ :rtype: str
132
+ """
133
+ return self._approval_status
134
+
135
+ @approval_status.setter
136
+ def approval_status(self, approval_status):
137
+ r"""Sets the approval_status of this TicsSqlJobVo.
138
+
139
+ 作业审批状态,APPROVED.审批通过,APPROVING.审批中,NEW.新建,REJECTED.驳回,REVOKED.撤销
140
+
141
+ :param approval_status: The approval_status of this TicsSqlJobVo.
142
+ :type approval_status: str
143
+ """
144
+ self._approval_status = approval_status
145
+
146
+ @property
147
+ def create_time(self):
148
+ r"""Gets the create_time of this TicsSqlJobVo.
149
+
150
+ 创建时间
151
+
152
+ :return: The create_time of this TicsSqlJobVo.
153
+ :rtype: datetime
154
+ """
155
+ return self._create_time
156
+
157
+ @create_time.setter
158
+ def create_time(self, create_time):
159
+ r"""Sets the create_time of this TicsSqlJobVo.
160
+
161
+ 创建时间
162
+
163
+ :param create_time: The create_time of this TicsSqlJobVo.
164
+ :type create_time: datetime
165
+ """
166
+ self._create_time = create_time
167
+
168
+ @property
169
+ def creator_id(self):
170
+ r"""Gets the creator_id of this TicsSqlJobVo.
171
+
172
+ 创建人id
173
+
174
+ :return: The creator_id of this TicsSqlJobVo.
175
+ :rtype: str
176
+ """
177
+ return self._creator_id
178
+
179
+ @creator_id.setter
180
+ def creator_id(self, creator_id):
181
+ r"""Sets the creator_id of this TicsSqlJobVo.
182
+
183
+ 创建人id
184
+
185
+ :param creator_id: The creator_id of this TicsSqlJobVo.
186
+ :type creator_id: str
187
+ """
188
+ self._creator_id = creator_id
189
+
190
+ @property
191
+ def creator_name(self):
192
+ r"""Gets the creator_name of this TicsSqlJobVo.
193
+
194
+ 创建人名称
195
+
196
+ :return: The creator_name of this TicsSqlJobVo.
197
+ :rtype: str
198
+ """
199
+ return self._creator_name
200
+
201
+ @creator_name.setter
202
+ def creator_name(self, creator_name):
203
+ r"""Sets the creator_name of this TicsSqlJobVo.
204
+
205
+ 创建人名称
206
+
207
+ :param creator_name: The creator_name of this TicsSqlJobVo.
208
+ :type creator_name: str
209
+ """
210
+ self._creator_name = creator_name
211
+
212
+ @property
213
+ def deleted(self):
214
+ r"""Gets the deleted of this TicsSqlJobVo.
215
+
216
+ 删除标记
217
+
218
+ :return: The deleted of this TicsSqlJobVo.
219
+ :rtype: bool
220
+ """
221
+ return self._deleted
222
+
223
+ @deleted.setter
224
+ def deleted(self, deleted):
225
+ r"""Sets the deleted of this TicsSqlJobVo.
226
+
227
+ 删除标记
228
+
229
+ :param deleted: The deleted of this TicsSqlJobVo.
230
+ :type deleted: bool
231
+ """
232
+ self._deleted = deleted
233
+
234
+ @property
235
+ def description(self):
236
+ r"""Gets the description of this TicsSqlJobVo.
237
+
238
+ 作业描述
239
+
240
+ :return: The description of this TicsSqlJobVo.
241
+ :rtype: str
242
+ """
243
+ return self._description
244
+
245
+ @description.setter
246
+ def description(self, description):
247
+ r"""Sets the description of this TicsSqlJobVo.
248
+
249
+ 作业描述
250
+
251
+ :param description: The description of this TicsSqlJobVo.
252
+ :type description: str
253
+ """
254
+ self._description = description
255
+
256
+ @property
257
+ def domain_id(self):
258
+ r"""Gets the domain_id of this TicsSqlJobVo.
259
+
260
+ 作业发起方domainId
261
+
262
+ :return: The domain_id of this TicsSqlJobVo.
263
+ :rtype: str
264
+ """
265
+ return self._domain_id
266
+
267
+ @domain_id.setter
268
+ def domain_id(self, domain_id):
269
+ r"""Sets the domain_id of this TicsSqlJobVo.
270
+
271
+ 作业发起方domainId
272
+
273
+ :param domain_id: The domain_id of this TicsSqlJobVo.
274
+ :type domain_id: str
275
+ """
276
+ self._domain_id = domain_id
277
+
278
+ @property
279
+ def id(self):
280
+ r"""Gets the id of this TicsSqlJobVo.
281
+
282
+ 作业id
283
+
284
+ :return: The id of this TicsSqlJobVo.
285
+ :rtype: str
286
+ """
287
+ return self._id
288
+
289
+ @id.setter
290
+ def id(self, id):
291
+ r"""Sets the id of this TicsSqlJobVo.
292
+
293
+ 作业id
294
+
295
+ :param id: The id of this TicsSqlJobVo.
296
+ :type id: str
297
+ """
298
+ self._id = id
299
+
300
+ @property
301
+ def job_type(self):
302
+ r"""Gets the job_type of this TicsSqlJobVo.
303
+
304
+ 作业类型,SQL.联合SQL分析,HFL.横向联邦学习,VFL.纵向联邦学习,PREDICT.预测,DATA_EXCHANGE.数据交换
305
+
306
+ :return: The job_type of this TicsSqlJobVo.
307
+ :rtype: str
308
+ """
309
+ return self._job_type
310
+
311
+ @job_type.setter
312
+ def job_type(self, job_type):
313
+ r"""Sets the job_type of this TicsSqlJobVo.
314
+
315
+ 作业类型,SQL.联合SQL分析,HFL.横向联邦学习,VFL.纵向联邦学习,PREDICT.预测,DATA_EXCHANGE.数据交换
316
+
317
+ :param job_type: The job_type of this TicsSqlJobVo.
318
+ :type job_type: str
319
+ """
320
+ self._job_type = job_type
321
+
322
+ @property
323
+ def league_id(self):
324
+ r"""Gets the league_id of this TicsSqlJobVo.
325
+
326
+ 联盟id
327
+
328
+ :return: The league_id of this TicsSqlJobVo.
329
+ :rtype: str
330
+ """
331
+ return self._league_id
332
+
333
+ @league_id.setter
334
+ def league_id(self, league_id):
335
+ r"""Sets the league_id of this TicsSqlJobVo.
336
+
337
+ 联盟id
338
+
339
+ :param league_id: The league_id of this TicsSqlJobVo.
340
+ :type league_id: str
341
+ """
342
+ self._league_id = league_id
343
+
344
+ @property
345
+ def name(self):
346
+ r"""Gets the name of this TicsSqlJobVo.
347
+
348
+ 作业名称
349
+
350
+ :return: The name of this TicsSqlJobVo.
351
+ :rtype: str
352
+ """
353
+ return self._name
354
+
355
+ @name.setter
356
+ def name(self, name):
357
+ r"""Sets the name of this TicsSqlJobVo.
358
+
359
+ 作业名称
360
+
361
+ :param name: The name of this TicsSqlJobVo.
362
+ :type name: str
363
+ """
364
+ self._name = name
365
+
366
+ @property
367
+ def update_time(self):
368
+ r"""Gets the update_time of this TicsSqlJobVo.
369
+
370
+ 变更时间
371
+
372
+ :return: The update_time of this TicsSqlJobVo.
373
+ :rtype: datetime
374
+ """
375
+ return self._update_time
376
+
377
+ @update_time.setter
378
+ def update_time(self, update_time):
379
+ r"""Sets the update_time of this TicsSqlJobVo.
380
+
381
+ 变更时间
382
+
383
+ :param update_time: The update_time of this TicsSqlJobVo.
384
+ :type update_time: datetime
385
+ """
386
+ self._update_time = update_time
387
+
388
+ @property
389
+ def update_user_id(self):
390
+ r"""Gets the update_user_id of this TicsSqlJobVo.
391
+
392
+ 变更人id
393
+
394
+ :return: The update_user_id of this TicsSqlJobVo.
395
+ :rtype: str
396
+ """
397
+ return self._update_user_id
398
+
399
+ @update_user_id.setter
400
+ def update_user_id(self, update_user_id):
401
+ r"""Sets the update_user_id of this TicsSqlJobVo.
402
+
403
+ 变更人id
404
+
405
+ :param update_user_id: The update_user_id of this TicsSqlJobVo.
406
+ :type update_user_id: str
407
+ """
408
+ self._update_user_id = update_user_id
409
+
410
+ @property
411
+ def update_user_name(self):
412
+ r"""Gets the update_user_name of this TicsSqlJobVo.
413
+
414
+ 变更人名称
415
+
416
+ :return: The update_user_name of this TicsSqlJobVo.
417
+ :rtype: str
418
+ """
419
+ return self._update_user_name
420
+
421
+ @update_user_name.setter
422
+ def update_user_name(self, update_user_name):
423
+ r"""Sets the update_user_name of this TicsSqlJobVo.
424
+
425
+ 变更人名称
426
+
427
+ :param update_user_name: The update_user_name of this TicsSqlJobVo.
428
+ :type update_user_name: str
429
+ """
430
+ self._update_user_name = update_user_name
431
+
432
+ def to_dict(self):
433
+ result = {}
434
+
435
+ for attr, _ in self.openapi_types.items():
436
+ value = getattr(self, attr)
437
+ if isinstance(value, list):
438
+ result[attr] = list(map(
439
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
440
+ value
441
+ ))
442
+ elif hasattr(value, "to_dict"):
443
+ result[attr] = value.to_dict()
444
+ elif isinstance(value, dict):
445
+ result[attr] = dict(map(
446
+ lambda item: (item[0], item[1].to_dict())
447
+ if hasattr(item[1], "to_dict") else item,
448
+ value.items()
449
+ ))
450
+ else:
451
+ if attr in self.sensitive_list:
452
+ result[attr] = "****"
453
+ else:
454
+ result[attr] = value
455
+
456
+ return result
457
+
458
+ def to_str(self):
459
+ """Returns the string representation of the model"""
460
+ import simplejson as json
461
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
462
+
463
+ def __repr__(self):
464
+ """For `print`"""
465
+ return self.to_str()
466
+
467
+ def __eq__(self, other):
468
+ """Returns true if both objects are equal"""
469
+ if not isinstance(other, TicsSqlJobVo):
470
+ return False
471
+
472
+ return self.__dict__ == other.__dict__
473
+
474
+ def __ne__(self, other):
475
+ """Returns true if both objects are not equal"""
476
+ return not self == other