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.

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