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,256 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class JobReportBaseInfoVo:
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
+ 'exe_time': 'datetime',
21
+ 'executor': 'str',
22
+ 'hfl_type': 'str',
23
+ 'job_name': 'str',
24
+ 'job_type': 'str',
25
+ 'status': 'str'
26
+ }
27
+
28
+ attribute_map = {
29
+ 'exe_time': 'exe_time',
30
+ 'executor': 'executor',
31
+ 'hfl_type': 'hfl_type',
32
+ 'job_name': 'job_name',
33
+ 'job_type': 'job_type',
34
+ 'status': 'status'
35
+ }
36
+
37
+ def __init__(self, exe_time=None, executor=None, hfl_type=None, job_name=None, job_type=None, status=None):
38
+ r"""JobReportBaseInfoVo
39
+
40
+ The model defined in huaweicloud sdk
41
+
42
+ :param exe_time: 执行时间
43
+ :type exe_time: datetime
44
+ :param executor: 执行人
45
+ :type executor: str
46
+ :param hfl_type: hfl作业类型枚举,TRAIN.训练,EVALUATE.评估
47
+ :type hfl_type: str
48
+ :param job_name: 作业名称
49
+ :type job_name: str
50
+ :param job_type: 作业类型,HFL.横向联邦,SQL.联邦分析,VFL_EVALUATE.联邦评估,VFL_FEATURE_SELECTION.特征选择,VFL_ID_TRUNCATION.Id截断,VFL_PREDICT.联邦预测,VFL_SAMPLE_ALIGNMENT.样本对齐,VFL_TRAIN.联邦训练
51
+ :type job_type: str
52
+ :param status: 作业任务状态,NEW.新建,SUBMITING.提交中,ACCEPTED.已接收,DEPLOYING.部署中,RUNNING.运行中,SUCCEEDED.成功,FAILED.失败,TERMINATED.中止,TERMINATING.中止中,PENDING.等待中
53
+ :type status: str
54
+ """
55
+
56
+
57
+
58
+ self._exe_time = None
59
+ self._executor = None
60
+ self._hfl_type = None
61
+ self._job_name = None
62
+ self._job_type = None
63
+ self._status = None
64
+ self.discriminator = None
65
+
66
+ if exe_time is not None:
67
+ self.exe_time = exe_time
68
+ if executor is not None:
69
+ self.executor = executor
70
+ self.hfl_type = hfl_type
71
+ self.job_name = job_name
72
+ self.job_type = job_type
73
+ self.status = status
74
+
75
+ @property
76
+ def exe_time(self):
77
+ r"""Gets the exe_time of this JobReportBaseInfoVo.
78
+
79
+ 执行时间
80
+
81
+ :return: The exe_time of this JobReportBaseInfoVo.
82
+ :rtype: datetime
83
+ """
84
+ return self._exe_time
85
+
86
+ @exe_time.setter
87
+ def exe_time(self, exe_time):
88
+ r"""Sets the exe_time of this JobReportBaseInfoVo.
89
+
90
+ 执行时间
91
+
92
+ :param exe_time: The exe_time of this JobReportBaseInfoVo.
93
+ :type exe_time: datetime
94
+ """
95
+ self._exe_time = exe_time
96
+
97
+ @property
98
+ def executor(self):
99
+ r"""Gets the executor of this JobReportBaseInfoVo.
100
+
101
+ 执行人
102
+
103
+ :return: The executor of this JobReportBaseInfoVo.
104
+ :rtype: str
105
+ """
106
+ return self._executor
107
+
108
+ @executor.setter
109
+ def executor(self, executor):
110
+ r"""Sets the executor of this JobReportBaseInfoVo.
111
+
112
+ 执行人
113
+
114
+ :param executor: The executor of this JobReportBaseInfoVo.
115
+ :type executor: str
116
+ """
117
+ self._executor = executor
118
+
119
+ @property
120
+ def hfl_type(self):
121
+ r"""Gets the hfl_type of this JobReportBaseInfoVo.
122
+
123
+ hfl作业类型枚举,TRAIN.训练,EVALUATE.评估
124
+
125
+ :return: The hfl_type of this JobReportBaseInfoVo.
126
+ :rtype: str
127
+ """
128
+ return self._hfl_type
129
+
130
+ @hfl_type.setter
131
+ def hfl_type(self, hfl_type):
132
+ r"""Sets the hfl_type of this JobReportBaseInfoVo.
133
+
134
+ hfl作业类型枚举,TRAIN.训练,EVALUATE.评估
135
+
136
+ :param hfl_type: The hfl_type of this JobReportBaseInfoVo.
137
+ :type hfl_type: str
138
+ """
139
+ self._hfl_type = hfl_type
140
+
141
+ @property
142
+ def job_name(self):
143
+ r"""Gets the job_name of this JobReportBaseInfoVo.
144
+
145
+ 作业名称
146
+
147
+ :return: The job_name of this JobReportBaseInfoVo.
148
+ :rtype: str
149
+ """
150
+ return self._job_name
151
+
152
+ @job_name.setter
153
+ def job_name(self, job_name):
154
+ r"""Sets the job_name of this JobReportBaseInfoVo.
155
+
156
+ 作业名称
157
+
158
+ :param job_name: The job_name of this JobReportBaseInfoVo.
159
+ :type job_name: str
160
+ """
161
+ self._job_name = job_name
162
+
163
+ @property
164
+ def job_type(self):
165
+ r"""Gets the job_type of this JobReportBaseInfoVo.
166
+
167
+ 作业类型,HFL.横向联邦,SQL.联邦分析,VFL_EVALUATE.联邦评估,VFL_FEATURE_SELECTION.特征选择,VFL_ID_TRUNCATION.Id截断,VFL_PREDICT.联邦预测,VFL_SAMPLE_ALIGNMENT.样本对齐,VFL_TRAIN.联邦训练
168
+
169
+ :return: The job_type of this JobReportBaseInfoVo.
170
+ :rtype: str
171
+ """
172
+ return self._job_type
173
+
174
+ @job_type.setter
175
+ def job_type(self, job_type):
176
+ r"""Sets the job_type of this JobReportBaseInfoVo.
177
+
178
+ 作业类型,HFL.横向联邦,SQL.联邦分析,VFL_EVALUATE.联邦评估,VFL_FEATURE_SELECTION.特征选择,VFL_ID_TRUNCATION.Id截断,VFL_PREDICT.联邦预测,VFL_SAMPLE_ALIGNMENT.样本对齐,VFL_TRAIN.联邦训练
179
+
180
+ :param job_type: The job_type of this JobReportBaseInfoVo.
181
+ :type job_type: str
182
+ """
183
+ self._job_type = job_type
184
+
185
+ @property
186
+ def status(self):
187
+ r"""Gets the status of this JobReportBaseInfoVo.
188
+
189
+ 作业任务状态,NEW.新建,SUBMITING.提交中,ACCEPTED.已接收,DEPLOYING.部署中,RUNNING.运行中,SUCCEEDED.成功,FAILED.失败,TERMINATED.中止,TERMINATING.中止中,PENDING.等待中
190
+
191
+ :return: The status of this JobReportBaseInfoVo.
192
+ :rtype: str
193
+ """
194
+ return self._status
195
+
196
+ @status.setter
197
+ def status(self, status):
198
+ r"""Sets the status of this JobReportBaseInfoVo.
199
+
200
+ 作业任务状态,NEW.新建,SUBMITING.提交中,ACCEPTED.已接收,DEPLOYING.部署中,RUNNING.运行中,SUCCEEDED.成功,FAILED.失败,TERMINATED.中止,TERMINATING.中止中,PENDING.等待中
201
+
202
+ :param status: The status of this JobReportBaseInfoVo.
203
+ :type status: str
204
+ """
205
+ self._status = status
206
+
207
+ def to_dict(self):
208
+ """Returns the model properties as a dict"""
209
+ result = {}
210
+
211
+ for attr, _ in six.iteritems(self.openapi_types):
212
+ value = getattr(self, attr)
213
+ if isinstance(value, list):
214
+ result[attr] = list(map(
215
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
216
+ value
217
+ ))
218
+ elif hasattr(value, "to_dict"):
219
+ result[attr] = value.to_dict()
220
+ elif isinstance(value, dict):
221
+ result[attr] = dict(map(
222
+ lambda item: (item[0], item[1].to_dict())
223
+ if hasattr(item[1], "to_dict") else item,
224
+ value.items()
225
+ ))
226
+ else:
227
+ if attr in self.sensitive_list:
228
+ result[attr] = "****"
229
+ else:
230
+ result[attr] = value
231
+
232
+ return result
233
+
234
+ def to_str(self):
235
+ """Returns the string representation of the model"""
236
+ import simplejson as json
237
+ if six.PY2:
238
+ import sys
239
+ reload(sys)
240
+ sys.setdefaultencoding("utf-8")
241
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
242
+
243
+ def __repr__(self):
244
+ """For `print`"""
245
+ return self.to_str()
246
+
247
+ def __eq__(self, other):
248
+ """Returns true if both objects are equal"""
249
+ if not isinstance(other, JobReportBaseInfoVo):
250
+ return False
251
+
252
+ return self.__dict__ == other.__dict__
253
+
254
+ def __ne__(self, other):
255
+ """Returns true if both objects are not equal"""
256
+ return not self == other
@@ -0,0 +1,231 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class JobReportEnvVo:
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
+ 'agg_name': 'str',
21
+ 'league_id': 'str',
22
+ 'league_name': 'str',
23
+ 'project_id': 'str',
24
+ 'region_id': 'str'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'agg_name': 'agg_name',
29
+ 'league_id': 'league_id',
30
+ 'league_name': 'league_name',
31
+ 'project_id': 'project_id',
32
+ 'region_id': 'region_id'
33
+ }
34
+
35
+ def __init__(self, agg_name=None, league_id=None, league_name=None, project_id=None, region_id=None):
36
+ r"""JobReportEnvVo
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param agg_name: 聚合器名称
41
+ :type agg_name: str
42
+ :param league_id: 联盟id
43
+ :type league_id: str
44
+ :param league_name: 联盟名称
45
+ :type league_name: str
46
+ :param project_id: 项目id
47
+ :type project_id: str
48
+ :param region_id: 区域
49
+ :type region_id: str
50
+ """
51
+
52
+
53
+
54
+ self._agg_name = None
55
+ self._league_id = None
56
+ self._league_name = None
57
+ self._project_id = None
58
+ self._region_id = None
59
+ self.discriminator = None
60
+
61
+ if agg_name is not None:
62
+ self.agg_name = agg_name
63
+ if league_id is not None:
64
+ self.league_id = league_id
65
+ if league_name is not None:
66
+ self.league_name = league_name
67
+ if project_id is not None:
68
+ self.project_id = project_id
69
+ if region_id is not None:
70
+ self.region_id = region_id
71
+
72
+ @property
73
+ def agg_name(self):
74
+ r"""Gets the agg_name of this JobReportEnvVo.
75
+
76
+ 聚合器名称
77
+
78
+ :return: The agg_name of this JobReportEnvVo.
79
+ :rtype: str
80
+ """
81
+ return self._agg_name
82
+
83
+ @agg_name.setter
84
+ def agg_name(self, agg_name):
85
+ r"""Sets the agg_name of this JobReportEnvVo.
86
+
87
+ 聚合器名称
88
+
89
+ :param agg_name: The agg_name of this JobReportEnvVo.
90
+ :type agg_name: str
91
+ """
92
+ self._agg_name = agg_name
93
+
94
+ @property
95
+ def league_id(self):
96
+ r"""Gets the league_id of this JobReportEnvVo.
97
+
98
+ 联盟id
99
+
100
+ :return: The league_id of this JobReportEnvVo.
101
+ :rtype: str
102
+ """
103
+ return self._league_id
104
+
105
+ @league_id.setter
106
+ def league_id(self, league_id):
107
+ r"""Sets the league_id of this JobReportEnvVo.
108
+
109
+ 联盟id
110
+
111
+ :param league_id: The league_id of this JobReportEnvVo.
112
+ :type league_id: str
113
+ """
114
+ self._league_id = league_id
115
+
116
+ @property
117
+ def league_name(self):
118
+ r"""Gets the league_name of this JobReportEnvVo.
119
+
120
+ 联盟名称
121
+
122
+ :return: The league_name of this JobReportEnvVo.
123
+ :rtype: str
124
+ """
125
+ return self._league_name
126
+
127
+ @league_name.setter
128
+ def league_name(self, league_name):
129
+ r"""Sets the league_name of this JobReportEnvVo.
130
+
131
+ 联盟名称
132
+
133
+ :param league_name: The league_name of this JobReportEnvVo.
134
+ :type league_name: str
135
+ """
136
+ self._league_name = league_name
137
+
138
+ @property
139
+ def project_id(self):
140
+ r"""Gets the project_id of this JobReportEnvVo.
141
+
142
+ 项目id
143
+
144
+ :return: The project_id of this JobReportEnvVo.
145
+ :rtype: str
146
+ """
147
+ return self._project_id
148
+
149
+ @project_id.setter
150
+ def project_id(self, project_id):
151
+ r"""Sets the project_id of this JobReportEnvVo.
152
+
153
+ 项目id
154
+
155
+ :param project_id: The project_id of this JobReportEnvVo.
156
+ :type project_id: str
157
+ """
158
+ self._project_id = project_id
159
+
160
+ @property
161
+ def region_id(self):
162
+ r"""Gets the region_id of this JobReportEnvVo.
163
+
164
+ 区域
165
+
166
+ :return: The region_id of this JobReportEnvVo.
167
+ :rtype: str
168
+ """
169
+ return self._region_id
170
+
171
+ @region_id.setter
172
+ def region_id(self, region_id):
173
+ r"""Sets the region_id of this JobReportEnvVo.
174
+
175
+ 区域
176
+
177
+ :param region_id: The region_id of this JobReportEnvVo.
178
+ :type region_id: str
179
+ """
180
+ self._region_id = region_id
181
+
182
+ def to_dict(self):
183
+ """Returns the model properties as a dict"""
184
+ result = {}
185
+
186
+ for attr, _ in six.iteritems(self.openapi_types):
187
+ value = getattr(self, attr)
188
+ if isinstance(value, list):
189
+ result[attr] = list(map(
190
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
191
+ value
192
+ ))
193
+ elif hasattr(value, "to_dict"):
194
+ result[attr] = value.to_dict()
195
+ elif isinstance(value, dict):
196
+ result[attr] = dict(map(
197
+ lambda item: (item[0], item[1].to_dict())
198
+ if hasattr(item[1], "to_dict") else item,
199
+ value.items()
200
+ ))
201
+ else:
202
+ if attr in self.sensitive_list:
203
+ result[attr] = "****"
204
+ else:
205
+ result[attr] = value
206
+
207
+ return result
208
+
209
+ def to_str(self):
210
+ """Returns the string representation of the model"""
211
+ import simplejson as json
212
+ if six.PY2:
213
+ import sys
214
+ reload(sys)
215
+ sys.setdefaultencoding("utf-8")
216
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
217
+
218
+ def __repr__(self):
219
+ """For `print`"""
220
+ return self.to_str()
221
+
222
+ def __eq__(self, other):
223
+ """Returns true if both objects are equal"""
224
+ if not isinstance(other, JobReportEnvVo):
225
+ return False
226
+
227
+ return self.__dict__ == other.__dict__
228
+
229
+ def __ne__(self, other):
230
+ """Returns true if both objects are not equal"""
231
+ return not self == other
@@ -0,0 +1,173 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class JobReportOutputVo:
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
+ 'ext': 'str',
21
+ 'result_storage_agent_name': 'str',
22
+ 'result_storage_domain_alias': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'ext': 'ext',
27
+ 'result_storage_agent_name': 'result_storage_agent_name',
28
+ 'result_storage_domain_alias': 'result_storage_domain_alias'
29
+ }
30
+
31
+ def __init__(self, ext=None, result_storage_agent_name=None, result_storage_domain_alias=None):
32
+ r"""JobReportOutputVo
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param ext: 参数等额外信息
37
+ :type ext: str
38
+ :param result_storage_agent_name: 结果存储agent名称
39
+ :type result_storage_agent_name: str
40
+ :param result_storage_domain_alias: 结果存储方别名
41
+ :type result_storage_domain_alias: str
42
+ """
43
+
44
+
45
+
46
+ self._ext = None
47
+ self._result_storage_agent_name = None
48
+ self._result_storage_domain_alias = None
49
+ self.discriminator = None
50
+
51
+ if ext is not None:
52
+ self.ext = ext
53
+ if result_storage_agent_name is not None:
54
+ self.result_storage_agent_name = result_storage_agent_name
55
+ if result_storage_domain_alias is not None:
56
+ self.result_storage_domain_alias = result_storage_domain_alias
57
+
58
+ @property
59
+ def ext(self):
60
+ r"""Gets the ext of this JobReportOutputVo.
61
+
62
+ 参数等额外信息
63
+
64
+ :return: The ext of this JobReportOutputVo.
65
+ :rtype: str
66
+ """
67
+ return self._ext
68
+
69
+ @ext.setter
70
+ def ext(self, ext):
71
+ r"""Sets the ext of this JobReportOutputVo.
72
+
73
+ 参数等额外信息
74
+
75
+ :param ext: The ext of this JobReportOutputVo.
76
+ :type ext: str
77
+ """
78
+ self._ext = ext
79
+
80
+ @property
81
+ def result_storage_agent_name(self):
82
+ r"""Gets the result_storage_agent_name of this JobReportOutputVo.
83
+
84
+ 结果存储agent名称
85
+
86
+ :return: The result_storage_agent_name of this JobReportOutputVo.
87
+ :rtype: str
88
+ """
89
+ return self._result_storage_agent_name
90
+
91
+ @result_storage_agent_name.setter
92
+ def result_storage_agent_name(self, result_storage_agent_name):
93
+ r"""Sets the result_storage_agent_name of this JobReportOutputVo.
94
+
95
+ 结果存储agent名称
96
+
97
+ :param result_storage_agent_name: The result_storage_agent_name of this JobReportOutputVo.
98
+ :type result_storage_agent_name: str
99
+ """
100
+ self._result_storage_agent_name = result_storage_agent_name
101
+
102
+ @property
103
+ def result_storage_domain_alias(self):
104
+ r"""Gets the result_storage_domain_alias of this JobReportOutputVo.
105
+
106
+ 结果存储方别名
107
+
108
+ :return: The result_storage_domain_alias of this JobReportOutputVo.
109
+ :rtype: str
110
+ """
111
+ return self._result_storage_domain_alias
112
+
113
+ @result_storage_domain_alias.setter
114
+ def result_storage_domain_alias(self, result_storage_domain_alias):
115
+ r"""Sets the result_storage_domain_alias of this JobReportOutputVo.
116
+
117
+ 结果存储方别名
118
+
119
+ :param result_storage_domain_alias: The result_storage_domain_alias of this JobReportOutputVo.
120
+ :type result_storage_domain_alias: str
121
+ """
122
+ self._result_storage_domain_alias = result_storage_domain_alias
123
+
124
+ def to_dict(self):
125
+ """Returns the model properties as a dict"""
126
+ result = {}
127
+
128
+ for attr, _ in six.iteritems(self.openapi_types):
129
+ value = getattr(self, attr)
130
+ if isinstance(value, list):
131
+ result[attr] = list(map(
132
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
133
+ value
134
+ ))
135
+ elif hasattr(value, "to_dict"):
136
+ result[attr] = value.to_dict()
137
+ elif isinstance(value, dict):
138
+ result[attr] = dict(map(
139
+ lambda item: (item[0], item[1].to_dict())
140
+ if hasattr(item[1], "to_dict") else item,
141
+ value.items()
142
+ ))
143
+ else:
144
+ if attr in self.sensitive_list:
145
+ result[attr] = "****"
146
+ else:
147
+ result[attr] = value
148
+
149
+ return result
150
+
151
+ def to_str(self):
152
+ """Returns the string representation of the model"""
153
+ import simplejson as json
154
+ if six.PY2:
155
+ import sys
156
+ reload(sys)
157
+ sys.setdefaultencoding("utf-8")
158
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
159
+
160
+ def __repr__(self):
161
+ """For `print`"""
162
+ return self.to_str()
163
+
164
+ def __eq__(self, other):
165
+ """Returns true if both objects are equal"""
166
+ if not isinstance(other, JobReportOutputVo):
167
+ return False
168
+
169
+ return self.__dict__ == other.__dict__
170
+
171
+ def __ne__(self, other):
172
+ """Returns true if both objects are not equal"""
173
+ return not self == other