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,112 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ShowDatasetStatisticsResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'body': 'list[LeagueDatasetStatisticsVo]'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'body': 'body'
26
+ }
27
+
28
+ def __init__(self, body=None):
29
+ r"""ShowDatasetStatisticsResponse
30
+
31
+ The model defined in huaweicloud sdk
32
+
33
+ :param body:
34
+ :type body: list[:class:`huaweicloudsdktics.v1.LeagueDatasetStatisticsVo`]
35
+ """
36
+
37
+ super(ShowDatasetStatisticsResponse, self).__init__()
38
+
39
+ self._body = None
40
+ self.discriminator = None
41
+
42
+ if body is not None:
43
+ self.body = body
44
+
45
+ @property
46
+ def body(self):
47
+ r"""Gets the body of this ShowDatasetStatisticsResponse.
48
+
49
+ :return: The body of this ShowDatasetStatisticsResponse.
50
+ :rtype: list[:class:`huaweicloudsdktics.v1.LeagueDatasetStatisticsVo`]
51
+ """
52
+ return self._body
53
+
54
+ @body.setter
55
+ def body(self, body):
56
+ r"""Sets the body of this ShowDatasetStatisticsResponse.
57
+
58
+ :param body: The body of this ShowDatasetStatisticsResponse.
59
+ :type body: list[:class:`huaweicloudsdktics.v1.LeagueDatasetStatisticsVo`]
60
+ """
61
+ self._body = body
62
+
63
+ def to_dict(self):
64
+ """Returns the model properties as a dict"""
65
+ result = {}
66
+
67
+ for attr, _ in six.iteritems(self.openapi_types):
68
+ value = getattr(self, attr)
69
+ if isinstance(value, list):
70
+ result[attr] = list(map(
71
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
72
+ value
73
+ ))
74
+ elif hasattr(value, "to_dict"):
75
+ result[attr] = value.to_dict()
76
+ elif isinstance(value, dict):
77
+ result[attr] = dict(map(
78
+ lambda item: (item[0], item[1].to_dict())
79
+ if hasattr(item[1], "to_dict") else item,
80
+ value.items()
81
+ ))
82
+ else:
83
+ if attr in self.sensitive_list:
84
+ result[attr] = "****"
85
+ else:
86
+ result[attr] = value
87
+
88
+ return result
89
+
90
+ def to_str(self):
91
+ """Returns the string representation of the model"""
92
+ import simplejson as json
93
+ if six.PY2:
94
+ import sys
95
+ reload(sys)
96
+ sys.setdefaultencoding("utf-8")
97
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
98
+
99
+ def __repr__(self):
100
+ """For `print`"""
101
+ return self.to_str()
102
+
103
+ def __eq__(self, other):
104
+ """Returns true if both objects are equal"""
105
+ if not isinstance(other, ShowDatasetStatisticsResponse):
106
+ return False
107
+
108
+ return self.__dict__ == other.__dict__
109
+
110
+ def __ne__(self, other):
111
+ """Returns true if both objects are not equal"""
112
+ return not self == other
@@ -0,0 +1,142 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowInstanceReportRequest:
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
+ 'instance_id': 'str',
21
+ 'league_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'instance_id': 'instance_id',
26
+ 'league_id': 'league_id'
27
+ }
28
+
29
+ def __init__(self, instance_id=None, league_id=None):
30
+ r"""ShowInstanceReportRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param instance_id: 实例id,最大32位,字母和数字组成
35
+ :type instance_id: str
36
+ :param league_id: 联盟id,最大32位,字母和数字组成
37
+ :type league_id: str
38
+ """
39
+
40
+
41
+
42
+ self._instance_id = None
43
+ self._league_id = None
44
+ self.discriminator = None
45
+
46
+ self.instance_id = instance_id
47
+ self.league_id = league_id
48
+
49
+ @property
50
+ def instance_id(self):
51
+ r"""Gets the instance_id of this ShowInstanceReportRequest.
52
+
53
+ 实例id,最大32位,字母和数字组成
54
+
55
+ :return: The instance_id of this ShowInstanceReportRequest.
56
+ :rtype: str
57
+ """
58
+ return self._instance_id
59
+
60
+ @instance_id.setter
61
+ def instance_id(self, instance_id):
62
+ r"""Sets the instance_id of this ShowInstanceReportRequest.
63
+
64
+ 实例id,最大32位,字母和数字组成
65
+
66
+ :param instance_id: The instance_id of this ShowInstanceReportRequest.
67
+ :type instance_id: str
68
+ """
69
+ self._instance_id = instance_id
70
+
71
+ @property
72
+ def league_id(self):
73
+ r"""Gets the league_id of this ShowInstanceReportRequest.
74
+
75
+ 联盟id,最大32位,字母和数字组成
76
+
77
+ :return: The league_id of this ShowInstanceReportRequest.
78
+ :rtype: str
79
+ """
80
+ return self._league_id
81
+
82
+ @league_id.setter
83
+ def league_id(self, league_id):
84
+ r"""Sets the league_id of this ShowInstanceReportRequest.
85
+
86
+ 联盟id,最大32位,字母和数字组成
87
+
88
+ :param league_id: The league_id of this ShowInstanceReportRequest.
89
+ :type league_id: str
90
+ """
91
+ self._league_id = league_id
92
+
93
+ def to_dict(self):
94
+ """Returns the model properties as a dict"""
95
+ result = {}
96
+
97
+ for attr, _ in six.iteritems(self.openapi_types):
98
+ value = getattr(self, attr)
99
+ if isinstance(value, list):
100
+ result[attr] = list(map(
101
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
102
+ value
103
+ ))
104
+ elif hasattr(value, "to_dict"):
105
+ result[attr] = value.to_dict()
106
+ elif isinstance(value, dict):
107
+ result[attr] = dict(map(
108
+ lambda item: (item[0], item[1].to_dict())
109
+ if hasattr(item[1], "to_dict") else item,
110
+ value.items()
111
+ ))
112
+ else:
113
+ if attr in self.sensitive_list:
114
+ result[attr] = "****"
115
+ else:
116
+ result[attr] = value
117
+
118
+ return result
119
+
120
+ def to_str(self):
121
+ """Returns the string representation of the model"""
122
+ import simplejson as json
123
+ if six.PY2:
124
+ import sys
125
+ reload(sys)
126
+ sys.setdefaultencoding("utf-8")
127
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
128
+
129
+ def __repr__(self):
130
+ """For `print`"""
131
+ return self.to_str()
132
+
133
+ def __eq__(self, other):
134
+ """Returns true if both objects are equal"""
135
+ if not isinstance(other, ShowInstanceReportRequest):
136
+ return False
137
+
138
+ return self.__dict__ == other.__dict__
139
+
140
+ def __ne__(self, other):
141
+ """Returns true if both objects are not equal"""
142
+ return not self == other
@@ -0,0 +1,220 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ShowInstanceReportResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'job_report_base_info': 'JobReportBaseInfoVo',
22
+ 'job_report_env': 'JobReportEnvVo',
23
+ 'job_report_output': 'JobReportOutputVo',
24
+ 'job_report_partners': 'list[JobReportPartnerVo]',
25
+ 'round_deploys': 'list[RoundDeployVo]'
26
+ }
27
+
28
+ attribute_map = {
29
+ 'job_report_base_info': 'job_report_base_info',
30
+ 'job_report_env': 'job_report_env',
31
+ 'job_report_output': 'job_report_output',
32
+ 'job_report_partners': 'job_report_partners',
33
+ 'round_deploys': 'round_deploys'
34
+ }
35
+
36
+ def __init__(self, job_report_base_info=None, job_report_env=None, job_report_output=None, job_report_partners=None, round_deploys=None):
37
+ r"""ShowInstanceReportResponse
38
+
39
+ The model defined in huaweicloud sdk
40
+
41
+ :param job_report_base_info:
42
+ :type job_report_base_info: :class:`huaweicloudsdktics.v1.JobReportBaseInfoVo`
43
+ :param job_report_env:
44
+ :type job_report_env: :class:`huaweicloudsdktics.v1.JobReportEnvVo`
45
+ :param job_report_output:
46
+ :type job_report_output: :class:`huaweicloudsdktics.v1.JobReportOutputVo`
47
+ :param job_report_partners: 合作方信息
48
+ :type job_report_partners: list[:class:`huaweicloudsdktics.v1.JobReportPartnerVo`]
49
+ :param round_deploys: 计算过程
50
+ :type round_deploys: list[:class:`huaweicloudsdktics.v1.RoundDeployVo`]
51
+ """
52
+
53
+ super(ShowInstanceReportResponse, self).__init__()
54
+
55
+ self._job_report_base_info = None
56
+ self._job_report_env = None
57
+ self._job_report_output = None
58
+ self._job_report_partners = None
59
+ self._round_deploys = None
60
+ self.discriminator = None
61
+
62
+ if job_report_base_info is not None:
63
+ self.job_report_base_info = job_report_base_info
64
+ if job_report_env is not None:
65
+ self.job_report_env = job_report_env
66
+ if job_report_output is not None:
67
+ self.job_report_output = job_report_output
68
+ if job_report_partners is not None:
69
+ self.job_report_partners = job_report_partners
70
+ if round_deploys is not None:
71
+ self.round_deploys = round_deploys
72
+
73
+ @property
74
+ def job_report_base_info(self):
75
+ r"""Gets the job_report_base_info of this ShowInstanceReportResponse.
76
+
77
+ :return: The job_report_base_info of this ShowInstanceReportResponse.
78
+ :rtype: :class:`huaweicloudsdktics.v1.JobReportBaseInfoVo`
79
+ """
80
+ return self._job_report_base_info
81
+
82
+ @job_report_base_info.setter
83
+ def job_report_base_info(self, job_report_base_info):
84
+ r"""Sets the job_report_base_info of this ShowInstanceReportResponse.
85
+
86
+ :param job_report_base_info: The job_report_base_info of this ShowInstanceReportResponse.
87
+ :type job_report_base_info: :class:`huaweicloudsdktics.v1.JobReportBaseInfoVo`
88
+ """
89
+ self._job_report_base_info = job_report_base_info
90
+
91
+ @property
92
+ def job_report_env(self):
93
+ r"""Gets the job_report_env of this ShowInstanceReportResponse.
94
+
95
+ :return: The job_report_env of this ShowInstanceReportResponse.
96
+ :rtype: :class:`huaweicloudsdktics.v1.JobReportEnvVo`
97
+ """
98
+ return self._job_report_env
99
+
100
+ @job_report_env.setter
101
+ def job_report_env(self, job_report_env):
102
+ r"""Sets the job_report_env of this ShowInstanceReportResponse.
103
+
104
+ :param job_report_env: The job_report_env of this ShowInstanceReportResponse.
105
+ :type job_report_env: :class:`huaweicloudsdktics.v1.JobReportEnvVo`
106
+ """
107
+ self._job_report_env = job_report_env
108
+
109
+ @property
110
+ def job_report_output(self):
111
+ r"""Gets the job_report_output of this ShowInstanceReportResponse.
112
+
113
+ :return: The job_report_output of this ShowInstanceReportResponse.
114
+ :rtype: :class:`huaweicloudsdktics.v1.JobReportOutputVo`
115
+ """
116
+ return self._job_report_output
117
+
118
+ @job_report_output.setter
119
+ def job_report_output(self, job_report_output):
120
+ r"""Sets the job_report_output of this ShowInstanceReportResponse.
121
+
122
+ :param job_report_output: The job_report_output of this ShowInstanceReportResponse.
123
+ :type job_report_output: :class:`huaweicloudsdktics.v1.JobReportOutputVo`
124
+ """
125
+ self._job_report_output = job_report_output
126
+
127
+ @property
128
+ def job_report_partners(self):
129
+ r"""Gets the job_report_partners of this ShowInstanceReportResponse.
130
+
131
+ 合作方信息
132
+
133
+ :return: The job_report_partners of this ShowInstanceReportResponse.
134
+ :rtype: list[:class:`huaweicloudsdktics.v1.JobReportPartnerVo`]
135
+ """
136
+ return self._job_report_partners
137
+
138
+ @job_report_partners.setter
139
+ def job_report_partners(self, job_report_partners):
140
+ r"""Sets the job_report_partners of this ShowInstanceReportResponse.
141
+
142
+ 合作方信息
143
+
144
+ :param job_report_partners: The job_report_partners of this ShowInstanceReportResponse.
145
+ :type job_report_partners: list[:class:`huaweicloudsdktics.v1.JobReportPartnerVo`]
146
+ """
147
+ self._job_report_partners = job_report_partners
148
+
149
+ @property
150
+ def round_deploys(self):
151
+ r"""Gets the round_deploys of this ShowInstanceReportResponse.
152
+
153
+ 计算过程
154
+
155
+ :return: The round_deploys of this ShowInstanceReportResponse.
156
+ :rtype: list[:class:`huaweicloudsdktics.v1.RoundDeployVo`]
157
+ """
158
+ return self._round_deploys
159
+
160
+ @round_deploys.setter
161
+ def round_deploys(self, round_deploys):
162
+ r"""Sets the round_deploys of this ShowInstanceReportResponse.
163
+
164
+ 计算过程
165
+
166
+ :param round_deploys: The round_deploys of this ShowInstanceReportResponse.
167
+ :type round_deploys: list[:class:`huaweicloudsdktics.v1.RoundDeployVo`]
168
+ """
169
+ self._round_deploys = round_deploys
170
+
171
+ def to_dict(self):
172
+ """Returns the model properties as a dict"""
173
+ result = {}
174
+
175
+ for attr, _ in six.iteritems(self.openapi_types):
176
+ value = getattr(self, attr)
177
+ if isinstance(value, list):
178
+ result[attr] = list(map(
179
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
180
+ value
181
+ ))
182
+ elif hasattr(value, "to_dict"):
183
+ result[attr] = value.to_dict()
184
+ elif isinstance(value, dict):
185
+ result[attr] = dict(map(
186
+ lambda item: (item[0], item[1].to_dict())
187
+ if hasattr(item[1], "to_dict") else item,
188
+ value.items()
189
+ ))
190
+ else:
191
+ if attr in self.sensitive_list:
192
+ result[attr] = "****"
193
+ else:
194
+ result[attr] = value
195
+
196
+ return result
197
+
198
+ def to_str(self):
199
+ """Returns the string representation of the model"""
200
+ import simplejson as json
201
+ if six.PY2:
202
+ import sys
203
+ reload(sys)
204
+ sys.setdefaultencoding("utf-8")
205
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
206
+
207
+ def __repr__(self):
208
+ """For `print`"""
209
+ return self.to_str()
210
+
211
+ def __eq__(self, other):
212
+ """Returns true if both objects are equal"""
213
+ if not isinstance(other, ShowInstanceReportResponse):
214
+ return False
215
+
216
+ return self.__dict__ == other.__dict__
217
+
218
+ def __ne__(self, other):
219
+ """Returns true if both objects are not equal"""
220
+ return not self == other
@@ -0,0 +1,170 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowJobInstanceDagRequest:
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
+ 'instance_id': 'str',
21
+ 'league_id': 'str',
22
+ 'round_id': 'int'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'instance_id': 'instance_id',
27
+ 'league_id': 'league_id',
28
+ 'round_id': 'round_id'
29
+ }
30
+
31
+ def __init__(self, instance_id=None, league_id=None, round_id=None):
32
+ r"""ShowJobInstanceDagRequest
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param instance_id: 实例id,最大32位,字母和数字组成
37
+ :type instance_id: str
38
+ :param league_id: 联盟id,最大32位,字母和数字组成
39
+ :type league_id: str
40
+ :param round_id: 轮数,最小值0最大值0x7fffffff
41
+ :type round_id: int
42
+ """
43
+
44
+
45
+
46
+ self._instance_id = None
47
+ self._league_id = None
48
+ self._round_id = None
49
+ self.discriminator = None
50
+
51
+ self.instance_id = instance_id
52
+ self.league_id = league_id
53
+ self.round_id = round_id
54
+
55
+ @property
56
+ def instance_id(self):
57
+ r"""Gets the instance_id of this ShowJobInstanceDagRequest.
58
+
59
+ 实例id,最大32位,字母和数字组成
60
+
61
+ :return: The instance_id of this ShowJobInstanceDagRequest.
62
+ :rtype: str
63
+ """
64
+ return self._instance_id
65
+
66
+ @instance_id.setter
67
+ def instance_id(self, instance_id):
68
+ r"""Sets the instance_id of this ShowJobInstanceDagRequest.
69
+
70
+ 实例id,最大32位,字母和数字组成
71
+
72
+ :param instance_id: The instance_id of this ShowJobInstanceDagRequest.
73
+ :type instance_id: str
74
+ """
75
+ self._instance_id = instance_id
76
+
77
+ @property
78
+ def league_id(self):
79
+ r"""Gets the league_id of this ShowJobInstanceDagRequest.
80
+
81
+ 联盟id,最大32位,字母和数字组成
82
+
83
+ :return: The league_id of this ShowJobInstanceDagRequest.
84
+ :rtype: str
85
+ """
86
+ return self._league_id
87
+
88
+ @league_id.setter
89
+ def league_id(self, league_id):
90
+ r"""Sets the league_id of this ShowJobInstanceDagRequest.
91
+
92
+ 联盟id,最大32位,字母和数字组成
93
+
94
+ :param league_id: The league_id of this ShowJobInstanceDagRequest.
95
+ :type league_id: str
96
+ """
97
+ self._league_id = league_id
98
+
99
+ @property
100
+ def round_id(self):
101
+ r"""Gets the round_id of this ShowJobInstanceDagRequest.
102
+
103
+ 轮数,最小值0最大值0x7fffffff
104
+
105
+ :return: The round_id of this ShowJobInstanceDagRequest.
106
+ :rtype: int
107
+ """
108
+ return self._round_id
109
+
110
+ @round_id.setter
111
+ def round_id(self, round_id):
112
+ r"""Sets the round_id of this ShowJobInstanceDagRequest.
113
+
114
+ 轮数,最小值0最大值0x7fffffff
115
+
116
+ :param round_id: The round_id of this ShowJobInstanceDagRequest.
117
+ :type round_id: int
118
+ """
119
+ self._round_id = round_id
120
+
121
+ def to_dict(self):
122
+ """Returns the model properties as a dict"""
123
+ result = {}
124
+
125
+ for attr, _ in six.iteritems(self.openapi_types):
126
+ value = getattr(self, attr)
127
+ if isinstance(value, list):
128
+ result[attr] = list(map(
129
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
130
+ value
131
+ ))
132
+ elif hasattr(value, "to_dict"):
133
+ result[attr] = value.to_dict()
134
+ elif isinstance(value, dict):
135
+ result[attr] = dict(map(
136
+ lambda item: (item[0], item[1].to_dict())
137
+ if hasattr(item[1], "to_dict") else item,
138
+ value.items()
139
+ ))
140
+ else:
141
+ if attr in self.sensitive_list:
142
+ result[attr] = "****"
143
+ else:
144
+ result[attr] = value
145
+
146
+ return result
147
+
148
+ def to_str(self):
149
+ """Returns the string representation of the model"""
150
+ import simplejson as json
151
+ if six.PY2:
152
+ import sys
153
+ reload(sys)
154
+ sys.setdefaultencoding("utf-8")
155
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
156
+
157
+ def __repr__(self):
158
+ """For `print`"""
159
+ return self.to_str()
160
+
161
+ def __eq__(self, other):
162
+ """Returns true if both objects are equal"""
163
+ if not isinstance(other, ShowJobInstanceDagRequest):
164
+ return False
165
+
166
+ return self.__dict__ == other.__dict__
167
+
168
+ def __ne__(self, other):
169
+ """Returns true if both objects are not equal"""
170
+ return not self == other