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