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