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,282 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class PartnerDataVo:
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_list': 'list[TicsDatasetColumn]',
19
+ 'create_time': 'datetime',
20
+ 'data_type': 'str',
21
+ 'description': 'str',
22
+ 'id': 'str',
23
+ 'name': 'str',
24
+ 'partner_domain_name': 'str'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'column_list': 'column_list',
29
+ 'create_time': 'create_time',
30
+ 'data_type': 'data_type',
31
+ 'description': 'description',
32
+ 'id': 'id',
33
+ 'name': 'name',
34
+ 'partner_domain_name': 'partner_domain_name'
35
+ }
36
+
37
+ def __init__(self, column_list=None, create_time=None, data_type=None, description=None, id=None, name=None, partner_domain_name=None):
38
+ r"""PartnerDataVo
39
+
40
+ The model defined in huaweicloud sdk
41
+
42
+ :param column_list: 字段信息集合
43
+ :type column_list: list[:class:`huaweicloudsdktics.v1.TicsDatasetColumn`]
44
+ :param create_time: 创建时间
45
+ :type create_time: datetime
46
+ :param data_type: 数据类型,DWS.DWS类型数据集,LOCAL_CSV.本地文件类型数集据,MRS.HIVE类型数据集,MYSQL.MySql类型数据集,ORACLE.Oracle类型数据集,RDS.RDS类型数据集
47
+ :type data_type: str
48
+ :param description: 描述
49
+ :type description: str
50
+ :param id: 数据集id
51
+ :type id: str
52
+ :param name: 数据集名称
53
+ :type name: str
54
+ :param partner_domain_name: 参与方租户名称
55
+ :type partner_domain_name: str
56
+ """
57
+
58
+
59
+
60
+ self._column_list = None
61
+ self._create_time = None
62
+ self._data_type = None
63
+ self._description = None
64
+ self._id = None
65
+ self._name = None
66
+ self._partner_domain_name = None
67
+ self.discriminator = None
68
+
69
+ if column_list is not None:
70
+ self.column_list = column_list
71
+ if create_time is not None:
72
+ self.create_time = create_time
73
+ if data_type is not None:
74
+ self.data_type = data_type
75
+ if description is not None:
76
+ self.description = description
77
+ if id is not None:
78
+ self.id = id
79
+ if name is not None:
80
+ self.name = name
81
+ if partner_domain_name is not None:
82
+ self.partner_domain_name = partner_domain_name
83
+
84
+ @property
85
+ def column_list(self):
86
+ r"""Gets the column_list of this PartnerDataVo.
87
+
88
+ 字段信息集合
89
+
90
+ :return: The column_list of this PartnerDataVo.
91
+ :rtype: list[:class:`huaweicloudsdktics.v1.TicsDatasetColumn`]
92
+ """
93
+ return self._column_list
94
+
95
+ @column_list.setter
96
+ def column_list(self, column_list):
97
+ r"""Sets the column_list of this PartnerDataVo.
98
+
99
+ 字段信息集合
100
+
101
+ :param column_list: The column_list of this PartnerDataVo.
102
+ :type column_list: list[:class:`huaweicloudsdktics.v1.TicsDatasetColumn`]
103
+ """
104
+ self._column_list = column_list
105
+
106
+ @property
107
+ def create_time(self):
108
+ r"""Gets the create_time of this PartnerDataVo.
109
+
110
+ 创建时间
111
+
112
+ :return: The create_time of this PartnerDataVo.
113
+ :rtype: datetime
114
+ """
115
+ return self._create_time
116
+
117
+ @create_time.setter
118
+ def create_time(self, create_time):
119
+ r"""Sets the create_time of this PartnerDataVo.
120
+
121
+ 创建时间
122
+
123
+ :param create_time: The create_time of this PartnerDataVo.
124
+ :type create_time: datetime
125
+ """
126
+ self._create_time = create_time
127
+
128
+ @property
129
+ def data_type(self):
130
+ r"""Gets the data_type of this PartnerDataVo.
131
+
132
+ 数据类型,DWS.DWS类型数据集,LOCAL_CSV.本地文件类型数集据,MRS.HIVE类型数据集,MYSQL.MySql类型数据集,ORACLE.Oracle类型数据集,RDS.RDS类型数据集
133
+
134
+ :return: The data_type of this PartnerDataVo.
135
+ :rtype: str
136
+ """
137
+ return self._data_type
138
+
139
+ @data_type.setter
140
+ def data_type(self, data_type):
141
+ r"""Sets the data_type of this PartnerDataVo.
142
+
143
+ 数据类型,DWS.DWS类型数据集,LOCAL_CSV.本地文件类型数集据,MRS.HIVE类型数据集,MYSQL.MySql类型数据集,ORACLE.Oracle类型数据集,RDS.RDS类型数据集
144
+
145
+ :param data_type: The data_type of this PartnerDataVo.
146
+ :type data_type: str
147
+ """
148
+ self._data_type = data_type
149
+
150
+ @property
151
+ def description(self):
152
+ r"""Gets the description of this PartnerDataVo.
153
+
154
+ 描述
155
+
156
+ :return: The description of this PartnerDataVo.
157
+ :rtype: str
158
+ """
159
+ return self._description
160
+
161
+ @description.setter
162
+ def description(self, description):
163
+ r"""Sets the description of this PartnerDataVo.
164
+
165
+ 描述
166
+
167
+ :param description: The description of this PartnerDataVo.
168
+ :type description: str
169
+ """
170
+ self._description = description
171
+
172
+ @property
173
+ def id(self):
174
+ r"""Gets the id of this PartnerDataVo.
175
+
176
+ 数据集id
177
+
178
+ :return: The id of this PartnerDataVo.
179
+ :rtype: str
180
+ """
181
+ return self._id
182
+
183
+ @id.setter
184
+ def id(self, id):
185
+ r"""Sets the id of this PartnerDataVo.
186
+
187
+ 数据集id
188
+
189
+ :param id: The id of this PartnerDataVo.
190
+ :type id: str
191
+ """
192
+ self._id = id
193
+
194
+ @property
195
+ def name(self):
196
+ r"""Gets the name of this PartnerDataVo.
197
+
198
+ 数据集名称
199
+
200
+ :return: The name of this PartnerDataVo.
201
+ :rtype: str
202
+ """
203
+ return self._name
204
+
205
+ @name.setter
206
+ def name(self, name):
207
+ r"""Sets the name of this PartnerDataVo.
208
+
209
+ 数据集名称
210
+
211
+ :param name: The name of this PartnerDataVo.
212
+ :type name: str
213
+ """
214
+ self._name = name
215
+
216
+ @property
217
+ def partner_domain_name(self):
218
+ r"""Gets the partner_domain_name of this PartnerDataVo.
219
+
220
+ 参与方租户名称
221
+
222
+ :return: The partner_domain_name of this PartnerDataVo.
223
+ :rtype: str
224
+ """
225
+ return self._partner_domain_name
226
+
227
+ @partner_domain_name.setter
228
+ def partner_domain_name(self, partner_domain_name):
229
+ r"""Sets the partner_domain_name of this PartnerDataVo.
230
+
231
+ 参与方租户名称
232
+
233
+ :param partner_domain_name: The partner_domain_name of this PartnerDataVo.
234
+ :type partner_domain_name: str
235
+ """
236
+ self._partner_domain_name = partner_domain_name
237
+
238
+ def to_dict(self):
239
+ result = {}
240
+
241
+ for attr, _ in self.openapi_types.items():
242
+ value = getattr(self, attr)
243
+ if isinstance(value, list):
244
+ result[attr] = list(map(
245
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
246
+ value
247
+ ))
248
+ elif hasattr(value, "to_dict"):
249
+ result[attr] = value.to_dict()
250
+ elif isinstance(value, dict):
251
+ result[attr] = dict(map(
252
+ lambda item: (item[0], item[1].to_dict())
253
+ if hasattr(item[1], "to_dict") else item,
254
+ value.items()
255
+ ))
256
+ else:
257
+ if attr in self.sensitive_list:
258
+ result[attr] = "****"
259
+ else:
260
+ result[attr] = value
261
+
262
+ return result
263
+
264
+ def to_str(self):
265
+ """Returns the string representation of the model"""
266
+ import simplejson as json
267
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
268
+
269
+ def __repr__(self):
270
+ """For `print`"""
271
+ return self.to_str()
272
+
273
+ def __eq__(self, other):
274
+ """Returns true if both objects are equal"""
275
+ if not isinstance(other, PartnerDataVo):
276
+ return False
277
+
278
+ return self.__dict__ == other.__dict__
279
+
280
+ def __ne__(self, other):
281
+ """Returns true if both objects are not equal"""
282
+ return not self == other
@@ -0,0 +1,367 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ProcessorVo:
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': 'int',
19
+ 'exec_duration_nano': 'int',
20
+ 'id': 'str',
21
+ 'last_step_task_ins_id': 'list[str]',
22
+ 'start_time': 'int',
23
+ 'task_in_record_cnt': 'int',
24
+ 'task_name': 'str',
25
+ 'task_out_record_cnt': 'int',
26
+ 'task_show_info': 'object',
27
+ 'task_status': 'str'
28
+ }
29
+
30
+ attribute_map = {
31
+ 'end_time': 'end_time',
32
+ 'exec_duration_nano': 'exec_duration_nano',
33
+ 'id': 'id',
34
+ 'last_step_task_ins_id': 'last_step_task_ins_id',
35
+ 'start_time': 'start_time',
36
+ 'task_in_record_cnt': 'task_in_record_cnt',
37
+ 'task_name': 'task_name',
38
+ 'task_out_record_cnt': 'task_out_record_cnt',
39
+ 'task_show_info': 'task_show_info',
40
+ 'task_status': 'task_status'
41
+ }
42
+
43
+ def __init__(self, end_time=None, exec_duration_nano=None, id=None, last_step_task_ins_id=None, start_time=None, task_in_record_cnt=None, task_name=None, task_out_record_cnt=None, task_show_info=None, task_status=None):
44
+ r"""ProcessorVo
45
+
46
+ The model defined in huaweicloud sdk
47
+
48
+ :param end_time: 结束时间
49
+ :type end_time: int
50
+ :param exec_duration_nano: 执行时长
51
+ :type exec_duration_nano: int
52
+ :param id: 执行过程id
53
+ :type id: str
54
+ :param last_step_task_ins_id: 上游子任务id
55
+ :type last_step_task_ins_id: list[str]
56
+ :param start_time: 开始时间
57
+ :type start_time: int
58
+ :param task_in_record_cnt: 输入个数
59
+ :type task_in_record_cnt: int
60
+ :param task_name: 执行过程名称
61
+ :type task_name: str
62
+ :param task_out_record_cnt: 输出个数
63
+ :type task_out_record_cnt: int
64
+ :param task_show_info: processor对外展示信息,k,v
65
+ :type task_show_info: object
66
+ :param task_status: 执行状态,作业任务状态,NEW.新建,SUBMITING.提交中,ACCEPTED.已接收,DEPLOYING.部署中,RUNNING.运行中,SUCCEEDED.成功,FAILED.失败,TERMINATED.中止,TERMINATING.中止中,PENDING.等待中
67
+ :type task_status: str
68
+ """
69
+
70
+
71
+
72
+ self._end_time = None
73
+ self._exec_duration_nano = None
74
+ self._id = None
75
+ self._last_step_task_ins_id = None
76
+ self._start_time = None
77
+ self._task_in_record_cnt = None
78
+ self._task_name = None
79
+ self._task_out_record_cnt = None
80
+ self._task_show_info = None
81
+ self._task_status = None
82
+ self.discriminator = None
83
+
84
+ if end_time is not None:
85
+ self.end_time = end_time
86
+ if exec_duration_nano is not None:
87
+ self.exec_duration_nano = exec_duration_nano
88
+ self.id = id
89
+ if last_step_task_ins_id is not None:
90
+ self.last_step_task_ins_id = last_step_task_ins_id
91
+ if start_time is not None:
92
+ self.start_time = start_time
93
+ if task_in_record_cnt is not None:
94
+ self.task_in_record_cnt = task_in_record_cnt
95
+ self.task_name = task_name
96
+ if task_out_record_cnt is not None:
97
+ self.task_out_record_cnt = task_out_record_cnt
98
+ if task_show_info is not None:
99
+ self.task_show_info = task_show_info
100
+ if task_status is not None:
101
+ self.task_status = task_status
102
+
103
+ @property
104
+ def end_time(self):
105
+ r"""Gets the end_time of this ProcessorVo.
106
+
107
+ 结束时间
108
+
109
+ :return: The end_time of this ProcessorVo.
110
+ :rtype: int
111
+ """
112
+ return self._end_time
113
+
114
+ @end_time.setter
115
+ def end_time(self, end_time):
116
+ r"""Sets the end_time of this ProcessorVo.
117
+
118
+ 结束时间
119
+
120
+ :param end_time: The end_time of this ProcessorVo.
121
+ :type end_time: int
122
+ """
123
+ self._end_time = end_time
124
+
125
+ @property
126
+ def exec_duration_nano(self):
127
+ r"""Gets the exec_duration_nano of this ProcessorVo.
128
+
129
+ 执行时长
130
+
131
+ :return: The exec_duration_nano of this ProcessorVo.
132
+ :rtype: int
133
+ """
134
+ return self._exec_duration_nano
135
+
136
+ @exec_duration_nano.setter
137
+ def exec_duration_nano(self, exec_duration_nano):
138
+ r"""Sets the exec_duration_nano of this ProcessorVo.
139
+
140
+ 执行时长
141
+
142
+ :param exec_duration_nano: The exec_duration_nano of this ProcessorVo.
143
+ :type exec_duration_nano: int
144
+ """
145
+ self._exec_duration_nano = exec_duration_nano
146
+
147
+ @property
148
+ def id(self):
149
+ r"""Gets the id of this ProcessorVo.
150
+
151
+ 执行过程id
152
+
153
+ :return: The id of this ProcessorVo.
154
+ :rtype: str
155
+ """
156
+ return self._id
157
+
158
+ @id.setter
159
+ def id(self, id):
160
+ r"""Sets the id of this ProcessorVo.
161
+
162
+ 执行过程id
163
+
164
+ :param id: The id of this ProcessorVo.
165
+ :type id: str
166
+ """
167
+ self._id = id
168
+
169
+ @property
170
+ def last_step_task_ins_id(self):
171
+ r"""Gets the last_step_task_ins_id of this ProcessorVo.
172
+
173
+ 上游子任务id
174
+
175
+ :return: The last_step_task_ins_id of this ProcessorVo.
176
+ :rtype: list[str]
177
+ """
178
+ return self._last_step_task_ins_id
179
+
180
+ @last_step_task_ins_id.setter
181
+ def last_step_task_ins_id(self, last_step_task_ins_id):
182
+ r"""Sets the last_step_task_ins_id of this ProcessorVo.
183
+
184
+ 上游子任务id
185
+
186
+ :param last_step_task_ins_id: The last_step_task_ins_id of this ProcessorVo.
187
+ :type last_step_task_ins_id: list[str]
188
+ """
189
+ self._last_step_task_ins_id = last_step_task_ins_id
190
+
191
+ @property
192
+ def start_time(self):
193
+ r"""Gets the start_time of this ProcessorVo.
194
+
195
+ 开始时间
196
+
197
+ :return: The start_time of this ProcessorVo.
198
+ :rtype: int
199
+ """
200
+ return self._start_time
201
+
202
+ @start_time.setter
203
+ def start_time(self, start_time):
204
+ r"""Sets the start_time of this ProcessorVo.
205
+
206
+ 开始时间
207
+
208
+ :param start_time: The start_time of this ProcessorVo.
209
+ :type start_time: int
210
+ """
211
+ self._start_time = start_time
212
+
213
+ @property
214
+ def task_in_record_cnt(self):
215
+ r"""Gets the task_in_record_cnt of this ProcessorVo.
216
+
217
+ 输入个数
218
+
219
+ :return: The task_in_record_cnt of this ProcessorVo.
220
+ :rtype: int
221
+ """
222
+ return self._task_in_record_cnt
223
+
224
+ @task_in_record_cnt.setter
225
+ def task_in_record_cnt(self, task_in_record_cnt):
226
+ r"""Sets the task_in_record_cnt of this ProcessorVo.
227
+
228
+ 输入个数
229
+
230
+ :param task_in_record_cnt: The task_in_record_cnt of this ProcessorVo.
231
+ :type task_in_record_cnt: int
232
+ """
233
+ self._task_in_record_cnt = task_in_record_cnt
234
+
235
+ @property
236
+ def task_name(self):
237
+ r"""Gets the task_name of this ProcessorVo.
238
+
239
+ 执行过程名称
240
+
241
+ :return: The task_name of this ProcessorVo.
242
+ :rtype: str
243
+ """
244
+ return self._task_name
245
+
246
+ @task_name.setter
247
+ def task_name(self, task_name):
248
+ r"""Sets the task_name of this ProcessorVo.
249
+
250
+ 执行过程名称
251
+
252
+ :param task_name: The task_name of this ProcessorVo.
253
+ :type task_name: str
254
+ """
255
+ self._task_name = task_name
256
+
257
+ @property
258
+ def task_out_record_cnt(self):
259
+ r"""Gets the task_out_record_cnt of this ProcessorVo.
260
+
261
+ 输出个数
262
+
263
+ :return: The task_out_record_cnt of this ProcessorVo.
264
+ :rtype: int
265
+ """
266
+ return self._task_out_record_cnt
267
+
268
+ @task_out_record_cnt.setter
269
+ def task_out_record_cnt(self, task_out_record_cnt):
270
+ r"""Sets the task_out_record_cnt of this ProcessorVo.
271
+
272
+ 输出个数
273
+
274
+ :param task_out_record_cnt: The task_out_record_cnt of this ProcessorVo.
275
+ :type task_out_record_cnt: int
276
+ """
277
+ self._task_out_record_cnt = task_out_record_cnt
278
+
279
+ @property
280
+ def task_show_info(self):
281
+ r"""Gets the task_show_info of this ProcessorVo.
282
+
283
+ processor对外展示信息,k,v
284
+
285
+ :return: The task_show_info of this ProcessorVo.
286
+ :rtype: object
287
+ """
288
+ return self._task_show_info
289
+
290
+ @task_show_info.setter
291
+ def task_show_info(self, task_show_info):
292
+ r"""Sets the task_show_info of this ProcessorVo.
293
+
294
+ processor对外展示信息,k,v
295
+
296
+ :param task_show_info: The task_show_info of this ProcessorVo.
297
+ :type task_show_info: object
298
+ """
299
+ self._task_show_info = task_show_info
300
+
301
+ @property
302
+ def task_status(self):
303
+ r"""Gets the task_status of this ProcessorVo.
304
+
305
+ 执行状态,作业任务状态,NEW.新建,SUBMITING.提交中,ACCEPTED.已接收,DEPLOYING.部署中,RUNNING.运行中,SUCCEEDED.成功,FAILED.失败,TERMINATED.中止,TERMINATING.中止中,PENDING.等待中
306
+
307
+ :return: The task_status of this ProcessorVo.
308
+ :rtype: str
309
+ """
310
+ return self._task_status
311
+
312
+ @task_status.setter
313
+ def task_status(self, task_status):
314
+ r"""Sets the task_status of this ProcessorVo.
315
+
316
+ 执行状态,作业任务状态,NEW.新建,SUBMITING.提交中,ACCEPTED.已接收,DEPLOYING.部署中,RUNNING.运行中,SUCCEEDED.成功,FAILED.失败,TERMINATED.中止,TERMINATING.中止中,PENDING.等待中
317
+
318
+ :param task_status: The task_status of this ProcessorVo.
319
+ :type task_status: str
320
+ """
321
+ self._task_status = task_status
322
+
323
+ def to_dict(self):
324
+ result = {}
325
+
326
+ for attr, _ in self.openapi_types.items():
327
+ value = getattr(self, attr)
328
+ if isinstance(value, list):
329
+ result[attr] = list(map(
330
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
331
+ value
332
+ ))
333
+ elif hasattr(value, "to_dict"):
334
+ result[attr] = value.to_dict()
335
+ elif isinstance(value, dict):
336
+ result[attr] = dict(map(
337
+ lambda item: (item[0], item[1].to_dict())
338
+ if hasattr(item[1], "to_dict") else item,
339
+ value.items()
340
+ ))
341
+ else:
342
+ if attr in self.sensitive_list:
343
+ result[attr] = "****"
344
+ else:
345
+ result[attr] = value
346
+
347
+ return result
348
+
349
+ def to_str(self):
350
+ """Returns the string representation of the model"""
351
+ import simplejson as json
352
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
353
+
354
+ def __repr__(self):
355
+ """For `print`"""
356
+ return self.to_str()
357
+
358
+ def __eq__(self, other):
359
+ """Returns true if both objects are equal"""
360
+ if not isinstance(other, ProcessorVo):
361
+ return False
362
+
363
+ return self.__dict__ == other.__dict__
364
+
365
+ def __ne__(self, other):
366
+ """Returns true if both objects are not equal"""
367
+ return not self == other