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,405 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class TicsDatasetColumn:
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
+ 'column_name': 'str',
21
+ 'comments': 'str',
22
+ 'data_id': 'str',
23
+ 'data_type': 'str',
24
+ 'fl_label_type': 'str',
25
+ 'is_discrete': 'bool',
26
+ 'length': 'int',
27
+ 'privacy_policy': 'str',
28
+ 'privacy_policy_ext': 'str',
29
+ 'sacle': 'int',
30
+ 'sql_col_privacy_type': 'str'
31
+ }
32
+
33
+ attribute_map = {
34
+ 'column_name': 'column_name',
35
+ 'comments': 'comments',
36
+ 'data_id': 'data_id',
37
+ 'data_type': 'data_type',
38
+ 'fl_label_type': 'fl_label_type',
39
+ 'is_discrete': 'is_discrete',
40
+ 'length': 'length',
41
+ 'privacy_policy': 'privacy_policy',
42
+ 'privacy_policy_ext': 'privacy_policy_ext',
43
+ 'sacle': 'sacle',
44
+ 'sql_col_privacy_type': 'sql_col_privacy_type'
45
+ }
46
+
47
+ def __init__(self, column_name=None, comments=None, data_id=None, data_type=None, fl_label_type=None, is_discrete=None, length=None, privacy_policy=None, privacy_policy_ext=None, sacle=None, sql_col_privacy_type=None):
48
+ r"""TicsDatasetColumn
49
+
50
+ The model defined in huaweicloud sdk
51
+
52
+ :param column_name: 字段名称
53
+ :type column_name: str
54
+ :param comments: 备注信息
55
+ :type comments: str
56
+ :param data_id: 数据集id
57
+ :type data_id: str
58
+ :param data_type: 字段类型
59
+ :type data_type: str
60
+ :param fl_label_type: 学习数据集标签类型,UNIQUE_ID.唯一标识,FEATURE.特征,LABEL.标签,FILTER.过滤字段
61
+ :type fl_label_type: str
62
+ :param is_discrete: 是否离散
63
+ :type is_discrete: bool
64
+ :param length: 长度
65
+ :type length: int
66
+ :param privacy_policy: 隐私策略,HASH.哈希处理,MASK.掩码,NONE.不处理
67
+ :type privacy_policy: str
68
+ :param privacy_policy_ext: 隐私策略描述
69
+ :type privacy_policy_ext: str
70
+ :param sacle: 精度
71
+ :type sacle: int
72
+ :param sql_col_privacy_type: 分析数据集字段隐私类别,NON_SENSITIVE.非敏感,SENSITIVE.敏感,UNIQUE_ID.唯一主键
73
+ :type sql_col_privacy_type: str
74
+ """
75
+
76
+
77
+
78
+ self._column_name = None
79
+ self._comments = None
80
+ self._data_id = None
81
+ self._data_type = None
82
+ self._fl_label_type = None
83
+ self._is_discrete = None
84
+ self._length = None
85
+ self._privacy_policy = None
86
+ self._privacy_policy_ext = None
87
+ self._sacle = None
88
+ self._sql_col_privacy_type = None
89
+ self.discriminator = None
90
+
91
+ if column_name is not None:
92
+ self.column_name = column_name
93
+ if comments is not None:
94
+ self.comments = comments
95
+ if data_id is not None:
96
+ self.data_id = data_id
97
+ if data_type is not None:
98
+ self.data_type = data_type
99
+ if fl_label_type is not None:
100
+ self.fl_label_type = fl_label_type
101
+ if is_discrete is not None:
102
+ self.is_discrete = is_discrete
103
+ if length is not None:
104
+ self.length = length
105
+ if privacy_policy is not None:
106
+ self.privacy_policy = privacy_policy
107
+ if privacy_policy_ext is not None:
108
+ self.privacy_policy_ext = privacy_policy_ext
109
+ if sacle is not None:
110
+ self.sacle = sacle
111
+ if sql_col_privacy_type is not None:
112
+ self.sql_col_privacy_type = sql_col_privacy_type
113
+
114
+ @property
115
+ def column_name(self):
116
+ r"""Gets the column_name of this TicsDatasetColumn.
117
+
118
+ 字段名称
119
+
120
+ :return: The column_name of this TicsDatasetColumn.
121
+ :rtype: str
122
+ """
123
+ return self._column_name
124
+
125
+ @column_name.setter
126
+ def column_name(self, column_name):
127
+ r"""Sets the column_name of this TicsDatasetColumn.
128
+
129
+ 字段名称
130
+
131
+ :param column_name: The column_name of this TicsDatasetColumn.
132
+ :type column_name: str
133
+ """
134
+ self._column_name = column_name
135
+
136
+ @property
137
+ def comments(self):
138
+ r"""Gets the comments of this TicsDatasetColumn.
139
+
140
+ 备注信息
141
+
142
+ :return: The comments of this TicsDatasetColumn.
143
+ :rtype: str
144
+ """
145
+ return self._comments
146
+
147
+ @comments.setter
148
+ def comments(self, comments):
149
+ r"""Sets the comments of this TicsDatasetColumn.
150
+
151
+ 备注信息
152
+
153
+ :param comments: The comments of this TicsDatasetColumn.
154
+ :type comments: str
155
+ """
156
+ self._comments = comments
157
+
158
+ @property
159
+ def data_id(self):
160
+ r"""Gets the data_id of this TicsDatasetColumn.
161
+
162
+ 数据集id
163
+
164
+ :return: The data_id of this TicsDatasetColumn.
165
+ :rtype: str
166
+ """
167
+ return self._data_id
168
+
169
+ @data_id.setter
170
+ def data_id(self, data_id):
171
+ r"""Sets the data_id of this TicsDatasetColumn.
172
+
173
+ 数据集id
174
+
175
+ :param data_id: The data_id of this TicsDatasetColumn.
176
+ :type data_id: str
177
+ """
178
+ self._data_id = data_id
179
+
180
+ @property
181
+ def data_type(self):
182
+ r"""Gets the data_type of this TicsDatasetColumn.
183
+
184
+ 字段类型
185
+
186
+ :return: The data_type of this TicsDatasetColumn.
187
+ :rtype: str
188
+ """
189
+ return self._data_type
190
+
191
+ @data_type.setter
192
+ def data_type(self, data_type):
193
+ r"""Sets the data_type of this TicsDatasetColumn.
194
+
195
+ 字段类型
196
+
197
+ :param data_type: The data_type of this TicsDatasetColumn.
198
+ :type data_type: str
199
+ """
200
+ self._data_type = data_type
201
+
202
+ @property
203
+ def fl_label_type(self):
204
+ r"""Gets the fl_label_type of this TicsDatasetColumn.
205
+
206
+ 学习数据集标签类型,UNIQUE_ID.唯一标识,FEATURE.特征,LABEL.标签,FILTER.过滤字段
207
+
208
+ :return: The fl_label_type of this TicsDatasetColumn.
209
+ :rtype: str
210
+ """
211
+ return self._fl_label_type
212
+
213
+ @fl_label_type.setter
214
+ def fl_label_type(self, fl_label_type):
215
+ r"""Sets the fl_label_type of this TicsDatasetColumn.
216
+
217
+ 学习数据集标签类型,UNIQUE_ID.唯一标识,FEATURE.特征,LABEL.标签,FILTER.过滤字段
218
+
219
+ :param fl_label_type: The fl_label_type of this TicsDatasetColumn.
220
+ :type fl_label_type: str
221
+ """
222
+ self._fl_label_type = fl_label_type
223
+
224
+ @property
225
+ def is_discrete(self):
226
+ r"""Gets the is_discrete of this TicsDatasetColumn.
227
+
228
+ 是否离散
229
+
230
+ :return: The is_discrete of this TicsDatasetColumn.
231
+ :rtype: bool
232
+ """
233
+ return self._is_discrete
234
+
235
+ @is_discrete.setter
236
+ def is_discrete(self, is_discrete):
237
+ r"""Sets the is_discrete of this TicsDatasetColumn.
238
+
239
+ 是否离散
240
+
241
+ :param is_discrete: The is_discrete of this TicsDatasetColumn.
242
+ :type is_discrete: bool
243
+ """
244
+ self._is_discrete = is_discrete
245
+
246
+ @property
247
+ def length(self):
248
+ r"""Gets the length of this TicsDatasetColumn.
249
+
250
+ 长度
251
+
252
+ :return: The length of this TicsDatasetColumn.
253
+ :rtype: int
254
+ """
255
+ return self._length
256
+
257
+ @length.setter
258
+ def length(self, length):
259
+ r"""Sets the length of this TicsDatasetColumn.
260
+
261
+ 长度
262
+
263
+ :param length: The length of this TicsDatasetColumn.
264
+ :type length: int
265
+ """
266
+ self._length = length
267
+
268
+ @property
269
+ def privacy_policy(self):
270
+ r"""Gets the privacy_policy of this TicsDatasetColumn.
271
+
272
+ 隐私策略,HASH.哈希处理,MASK.掩码,NONE.不处理
273
+
274
+ :return: The privacy_policy of this TicsDatasetColumn.
275
+ :rtype: str
276
+ """
277
+ return self._privacy_policy
278
+
279
+ @privacy_policy.setter
280
+ def privacy_policy(self, privacy_policy):
281
+ r"""Sets the privacy_policy of this TicsDatasetColumn.
282
+
283
+ 隐私策略,HASH.哈希处理,MASK.掩码,NONE.不处理
284
+
285
+ :param privacy_policy: The privacy_policy of this TicsDatasetColumn.
286
+ :type privacy_policy: str
287
+ """
288
+ self._privacy_policy = privacy_policy
289
+
290
+ @property
291
+ def privacy_policy_ext(self):
292
+ r"""Gets the privacy_policy_ext of this TicsDatasetColumn.
293
+
294
+ 隐私策略描述
295
+
296
+ :return: The privacy_policy_ext of this TicsDatasetColumn.
297
+ :rtype: str
298
+ """
299
+ return self._privacy_policy_ext
300
+
301
+ @privacy_policy_ext.setter
302
+ def privacy_policy_ext(self, privacy_policy_ext):
303
+ r"""Sets the privacy_policy_ext of this TicsDatasetColumn.
304
+
305
+ 隐私策略描述
306
+
307
+ :param privacy_policy_ext: The privacy_policy_ext of this TicsDatasetColumn.
308
+ :type privacy_policy_ext: str
309
+ """
310
+ self._privacy_policy_ext = privacy_policy_ext
311
+
312
+ @property
313
+ def sacle(self):
314
+ r"""Gets the sacle of this TicsDatasetColumn.
315
+
316
+ 精度
317
+
318
+ :return: The sacle of this TicsDatasetColumn.
319
+ :rtype: int
320
+ """
321
+ return self._sacle
322
+
323
+ @sacle.setter
324
+ def sacle(self, sacle):
325
+ r"""Sets the sacle of this TicsDatasetColumn.
326
+
327
+ 精度
328
+
329
+ :param sacle: The sacle of this TicsDatasetColumn.
330
+ :type sacle: int
331
+ """
332
+ self._sacle = sacle
333
+
334
+ @property
335
+ def sql_col_privacy_type(self):
336
+ r"""Gets the sql_col_privacy_type of this TicsDatasetColumn.
337
+
338
+ 分析数据集字段隐私类别,NON_SENSITIVE.非敏感,SENSITIVE.敏感,UNIQUE_ID.唯一主键
339
+
340
+ :return: The sql_col_privacy_type of this TicsDatasetColumn.
341
+ :rtype: str
342
+ """
343
+ return self._sql_col_privacy_type
344
+
345
+ @sql_col_privacy_type.setter
346
+ def sql_col_privacy_type(self, sql_col_privacy_type):
347
+ r"""Sets the sql_col_privacy_type of this TicsDatasetColumn.
348
+
349
+ 分析数据集字段隐私类别,NON_SENSITIVE.非敏感,SENSITIVE.敏感,UNIQUE_ID.唯一主键
350
+
351
+ :param sql_col_privacy_type: The sql_col_privacy_type of this TicsDatasetColumn.
352
+ :type sql_col_privacy_type: str
353
+ """
354
+ self._sql_col_privacy_type = sql_col_privacy_type
355
+
356
+ def to_dict(self):
357
+ """Returns the model properties as a dict"""
358
+ result = {}
359
+
360
+ for attr, _ in six.iteritems(self.openapi_types):
361
+ value = getattr(self, attr)
362
+ if isinstance(value, list):
363
+ result[attr] = list(map(
364
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
365
+ value
366
+ ))
367
+ elif hasattr(value, "to_dict"):
368
+ result[attr] = value.to_dict()
369
+ elif isinstance(value, dict):
370
+ result[attr] = dict(map(
371
+ lambda item: (item[0], item[1].to_dict())
372
+ if hasattr(item[1], "to_dict") else item,
373
+ value.items()
374
+ ))
375
+ else:
376
+ if attr in self.sensitive_list:
377
+ result[attr] = "****"
378
+ else:
379
+ result[attr] = value
380
+
381
+ return result
382
+
383
+ def to_str(self):
384
+ """Returns the string representation of the model"""
385
+ import simplejson as json
386
+ if six.PY2:
387
+ import sys
388
+ reload(sys)
389
+ sys.setdefaultencoding("utf-8")
390
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
391
+
392
+ def __repr__(self):
393
+ """For `print`"""
394
+ return self.to_str()
395
+
396
+ def __eq__(self, other):
397
+ """Returns true if both objects are equal"""
398
+ if not isinstance(other, TicsDatasetColumn):
399
+ return False
400
+
401
+ return self.__dict__ == other.__dict__
402
+
403
+ def __ne__(self, other):
404
+ """Returns true if both objects are not equal"""
405
+ return not self == other