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