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,137 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class RoundDeployVo:
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
+ 'deploys': 'list[DeployVo]',
19
+ 'round_id': 'int'
20
+ }
21
+
22
+ attribute_map = {
23
+ 'deploys': 'deploys',
24
+ 'round_id': 'round_id'
25
+ }
26
+
27
+ def __init__(self, deploys=None, round_id=None):
28
+ r"""RoundDeployVo
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param deploys: deploy
33
+ :type deploys: list[:class:`huaweicloudsdktics.v1.DeployVo`]
34
+ :param round_id: 轮数
35
+ :type round_id: int
36
+ """
37
+
38
+
39
+
40
+ self._deploys = None
41
+ self._round_id = None
42
+ self.discriminator = None
43
+
44
+ if deploys is not None:
45
+ self.deploys = deploys
46
+ if round_id is not None:
47
+ self.round_id = round_id
48
+
49
+ @property
50
+ def deploys(self):
51
+ r"""Gets the deploys of this RoundDeployVo.
52
+
53
+ deploy
54
+
55
+ :return: The deploys of this RoundDeployVo.
56
+ :rtype: list[:class:`huaweicloudsdktics.v1.DeployVo`]
57
+ """
58
+ return self._deploys
59
+
60
+ @deploys.setter
61
+ def deploys(self, deploys):
62
+ r"""Sets the deploys of this RoundDeployVo.
63
+
64
+ deploy
65
+
66
+ :param deploys: The deploys of this RoundDeployVo.
67
+ :type deploys: list[:class:`huaweicloudsdktics.v1.DeployVo`]
68
+ """
69
+ self._deploys = deploys
70
+
71
+ @property
72
+ def round_id(self):
73
+ r"""Gets the round_id of this RoundDeployVo.
74
+
75
+ 轮数
76
+
77
+ :return: The round_id of this RoundDeployVo.
78
+ :rtype: int
79
+ """
80
+ return self._round_id
81
+
82
+ @round_id.setter
83
+ def round_id(self, round_id):
84
+ r"""Sets the round_id of this RoundDeployVo.
85
+
86
+ 轮数
87
+
88
+ :param round_id: The round_id of this RoundDeployVo.
89
+ :type round_id: int
90
+ """
91
+ self._round_id = round_id
92
+
93
+ def to_dict(self):
94
+ result = {}
95
+
96
+ for attr, _ in self.openapi_types.items():
97
+ value = getattr(self, attr)
98
+ if isinstance(value, list):
99
+ result[attr] = list(map(
100
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
101
+ value
102
+ ))
103
+ elif hasattr(value, "to_dict"):
104
+ result[attr] = value.to_dict()
105
+ elif isinstance(value, dict):
106
+ result[attr] = dict(map(
107
+ lambda item: (item[0], item[1].to_dict())
108
+ if hasattr(item[1], "to_dict") else item,
109
+ value.items()
110
+ ))
111
+ else:
112
+ if attr in self.sensitive_list:
113
+ result[attr] = "****"
114
+ else:
115
+ result[attr] = value
116
+
117
+ return result
118
+
119
+ def to_str(self):
120
+ """Returns the string representation of the model"""
121
+ import simplejson as json
122
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
123
+
124
+ def __repr__(self):
125
+ """For `print`"""
126
+ return self.to_str()
127
+
128
+ def __eq__(self, other):
129
+ """Returns true if both objects are equal"""
130
+ if not isinstance(other, RoundDeployVo):
131
+ return False
132
+
133
+ return self.__dict__ == other.__dict__
134
+
135
+ def __ne__(self, other):
136
+ """Returns true if both objects are not equal"""
137
+ return not self == other
@@ -0,0 +1,107 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ShowAgentDetailRequest:
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
+ 'agent_id': 'str'
19
+ }
20
+
21
+ attribute_map = {
22
+ 'agent_id': 'agent_id'
23
+ }
24
+
25
+ def __init__(self, agent_id=None):
26
+ r"""ShowAgentDetailRequest
27
+
28
+ The model defined in huaweicloud sdk
29
+
30
+ :param agent_id: 可信节点ID
31
+ :type agent_id: str
32
+ """
33
+
34
+
35
+
36
+ self._agent_id = None
37
+ self.discriminator = None
38
+
39
+ self.agent_id = agent_id
40
+
41
+ @property
42
+ def agent_id(self):
43
+ r"""Gets the agent_id of this ShowAgentDetailRequest.
44
+
45
+ 可信节点ID
46
+
47
+ :return: The agent_id of this ShowAgentDetailRequest.
48
+ :rtype: str
49
+ """
50
+ return self._agent_id
51
+
52
+ @agent_id.setter
53
+ def agent_id(self, agent_id):
54
+ r"""Sets the agent_id of this ShowAgentDetailRequest.
55
+
56
+ 可信节点ID
57
+
58
+ :param agent_id: The agent_id of this ShowAgentDetailRequest.
59
+ :type agent_id: str
60
+ """
61
+ self._agent_id = agent_id
62
+
63
+ def to_dict(self):
64
+ result = {}
65
+
66
+ for attr, _ in self.openapi_types.items():
67
+ value = getattr(self, attr)
68
+ if isinstance(value, list):
69
+ result[attr] = list(map(
70
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
71
+ value
72
+ ))
73
+ elif hasattr(value, "to_dict"):
74
+ result[attr] = value.to_dict()
75
+ elif isinstance(value, dict):
76
+ result[attr] = dict(map(
77
+ lambda item: (item[0], item[1].to_dict())
78
+ if hasattr(item[1], "to_dict") else item,
79
+ value.items()
80
+ ))
81
+ else:
82
+ if attr in self.sensitive_list:
83
+ result[attr] = "****"
84
+ else:
85
+ result[attr] = value
86
+
87
+ return result
88
+
89
+ def to_str(self):
90
+ """Returns the string representation of the model"""
91
+ import simplejson as json
92
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
93
+
94
+ def __repr__(self):
95
+ """For `print`"""
96
+ return self.to_str()
97
+
98
+ def __eq__(self, other):
99
+ """Returns true if both objects are equal"""
100
+ if not isinstance(other, ShowAgentDetailRequest):
101
+ return False
102
+
103
+ return self.__dict__ == other.__dict__
104
+
105
+ def __ne__(self, other):
106
+ """Returns true if both objects are not equal"""
107
+ return not self == other
@@ -0,0 +1,208 @@
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 ShowAgentDetailResponse(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
+ 'agent_deploy': 'TicsAgentDeploy',
20
+ 'agent_deploy_bcs': 'TicsAgentDeployBcs',
21
+ 'agent_deploy_detail': 'TicsAgentDeployDetail',
22
+ 'agent_deploy_nat': 'TicsAgentNatCommonInfo',
23
+ 'agent_deploy_node': 'TicsAgentNodeInfo'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'agent_deploy': 'agent_deploy',
28
+ 'agent_deploy_bcs': 'agent_deploy_bcs',
29
+ 'agent_deploy_detail': 'agent_deploy_detail',
30
+ 'agent_deploy_nat': 'agent_deploy_nat',
31
+ 'agent_deploy_node': 'agent_deploy_node'
32
+ }
33
+
34
+ def __init__(self, agent_deploy=None, agent_deploy_bcs=None, agent_deploy_detail=None, agent_deploy_nat=None, agent_deploy_node=None):
35
+ r"""ShowAgentDetailResponse
36
+
37
+ The model defined in huaweicloud sdk
38
+
39
+ :param agent_deploy:
40
+ :type agent_deploy: :class:`huaweicloudsdktics.v1.TicsAgentDeploy`
41
+ :param agent_deploy_bcs:
42
+ :type agent_deploy_bcs: :class:`huaweicloudsdktics.v1.TicsAgentDeployBcs`
43
+ :param agent_deploy_detail:
44
+ :type agent_deploy_detail: :class:`huaweicloudsdktics.v1.TicsAgentDeployDetail`
45
+ :param agent_deploy_nat:
46
+ :type agent_deploy_nat: :class:`huaweicloudsdktics.v1.TicsAgentNatCommonInfo`
47
+ :param agent_deploy_node:
48
+ :type agent_deploy_node: :class:`huaweicloudsdktics.v1.TicsAgentNodeInfo`
49
+ """
50
+
51
+ super().__init__()
52
+
53
+ self._agent_deploy = None
54
+ self._agent_deploy_bcs = None
55
+ self._agent_deploy_detail = None
56
+ self._agent_deploy_nat = None
57
+ self._agent_deploy_node = None
58
+ self.discriminator = None
59
+
60
+ if agent_deploy is not None:
61
+ self.agent_deploy = agent_deploy
62
+ if agent_deploy_bcs is not None:
63
+ self.agent_deploy_bcs = agent_deploy_bcs
64
+ if agent_deploy_detail is not None:
65
+ self.agent_deploy_detail = agent_deploy_detail
66
+ if agent_deploy_nat is not None:
67
+ self.agent_deploy_nat = agent_deploy_nat
68
+ if agent_deploy_node is not None:
69
+ self.agent_deploy_node = agent_deploy_node
70
+
71
+ @property
72
+ def agent_deploy(self):
73
+ r"""Gets the agent_deploy of this ShowAgentDetailResponse.
74
+
75
+ :return: The agent_deploy of this ShowAgentDetailResponse.
76
+ :rtype: :class:`huaweicloudsdktics.v1.TicsAgentDeploy`
77
+ """
78
+ return self._agent_deploy
79
+
80
+ @agent_deploy.setter
81
+ def agent_deploy(self, agent_deploy):
82
+ r"""Sets the agent_deploy of this ShowAgentDetailResponse.
83
+
84
+ :param agent_deploy: The agent_deploy of this ShowAgentDetailResponse.
85
+ :type agent_deploy: :class:`huaweicloudsdktics.v1.TicsAgentDeploy`
86
+ """
87
+ self._agent_deploy = agent_deploy
88
+
89
+ @property
90
+ def agent_deploy_bcs(self):
91
+ r"""Gets the agent_deploy_bcs of this ShowAgentDetailResponse.
92
+
93
+ :return: The agent_deploy_bcs of this ShowAgentDetailResponse.
94
+ :rtype: :class:`huaweicloudsdktics.v1.TicsAgentDeployBcs`
95
+ """
96
+ return self._agent_deploy_bcs
97
+
98
+ @agent_deploy_bcs.setter
99
+ def agent_deploy_bcs(self, agent_deploy_bcs):
100
+ r"""Sets the agent_deploy_bcs of this ShowAgentDetailResponse.
101
+
102
+ :param agent_deploy_bcs: The agent_deploy_bcs of this ShowAgentDetailResponse.
103
+ :type agent_deploy_bcs: :class:`huaweicloudsdktics.v1.TicsAgentDeployBcs`
104
+ """
105
+ self._agent_deploy_bcs = agent_deploy_bcs
106
+
107
+ @property
108
+ def agent_deploy_detail(self):
109
+ r"""Gets the agent_deploy_detail of this ShowAgentDetailResponse.
110
+
111
+ :return: The agent_deploy_detail of this ShowAgentDetailResponse.
112
+ :rtype: :class:`huaweicloudsdktics.v1.TicsAgentDeployDetail`
113
+ """
114
+ return self._agent_deploy_detail
115
+
116
+ @agent_deploy_detail.setter
117
+ def agent_deploy_detail(self, agent_deploy_detail):
118
+ r"""Sets the agent_deploy_detail of this ShowAgentDetailResponse.
119
+
120
+ :param agent_deploy_detail: The agent_deploy_detail of this ShowAgentDetailResponse.
121
+ :type agent_deploy_detail: :class:`huaweicloudsdktics.v1.TicsAgentDeployDetail`
122
+ """
123
+ self._agent_deploy_detail = agent_deploy_detail
124
+
125
+ @property
126
+ def agent_deploy_nat(self):
127
+ r"""Gets the agent_deploy_nat of this ShowAgentDetailResponse.
128
+
129
+ :return: The agent_deploy_nat of this ShowAgentDetailResponse.
130
+ :rtype: :class:`huaweicloudsdktics.v1.TicsAgentNatCommonInfo`
131
+ """
132
+ return self._agent_deploy_nat
133
+
134
+ @agent_deploy_nat.setter
135
+ def agent_deploy_nat(self, agent_deploy_nat):
136
+ r"""Sets the agent_deploy_nat of this ShowAgentDetailResponse.
137
+
138
+ :param agent_deploy_nat: The agent_deploy_nat of this ShowAgentDetailResponse.
139
+ :type agent_deploy_nat: :class:`huaweicloudsdktics.v1.TicsAgentNatCommonInfo`
140
+ """
141
+ self._agent_deploy_nat = agent_deploy_nat
142
+
143
+ @property
144
+ def agent_deploy_node(self):
145
+ r"""Gets the agent_deploy_node of this ShowAgentDetailResponse.
146
+
147
+ :return: The agent_deploy_node of this ShowAgentDetailResponse.
148
+ :rtype: :class:`huaweicloudsdktics.v1.TicsAgentNodeInfo`
149
+ """
150
+ return self._agent_deploy_node
151
+
152
+ @agent_deploy_node.setter
153
+ def agent_deploy_node(self, agent_deploy_node):
154
+ r"""Sets the agent_deploy_node of this ShowAgentDetailResponse.
155
+
156
+ :param agent_deploy_node: The agent_deploy_node of this ShowAgentDetailResponse.
157
+ :type agent_deploy_node: :class:`huaweicloudsdktics.v1.TicsAgentNodeInfo`
158
+ """
159
+ self._agent_deploy_node = agent_deploy_node
160
+
161
+ def to_dict(self):
162
+ import warnings
163
+ warnings.warn("ShowAgentDetailResponse.to_dict() is deprecated and no longer maintained, "
164
+ "use to_json_object() to get the response content.", DeprecationWarning)
165
+ result = {}
166
+
167
+ for attr, _ in self.openapi_types.items():
168
+ value = getattr(self, attr)
169
+ if isinstance(value, list):
170
+ result[attr] = list(map(
171
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
172
+ value
173
+ ))
174
+ elif hasattr(value, "to_dict"):
175
+ result[attr] = value.to_dict()
176
+ elif isinstance(value, dict):
177
+ result[attr] = dict(map(
178
+ lambda item: (item[0], item[1].to_dict())
179
+ if hasattr(item[1], "to_dict") else item,
180
+ value.items()
181
+ ))
182
+ else:
183
+ if attr in self.sensitive_list:
184
+ result[attr] = "****"
185
+ else:
186
+ result[attr] = value
187
+
188
+ return result
189
+
190
+ def to_str(self):
191
+ """Returns the string representation of the model"""
192
+ import simplejson as json
193
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
194
+
195
+ def __repr__(self):
196
+ """For `print`"""
197
+ return self.to_str()
198
+
199
+ def __eq__(self, other):
200
+ """Returns true if both objects are equal"""
201
+ if not isinstance(other, ShowAgentDetailResponse):
202
+ return False
203
+
204
+ return self.__dict__ == other.__dict__
205
+
206
+ def __ne__(self, other):
207
+ """Returns true if both objects are not equal"""
208
+ return not self == other
@@ -0,0 +1,165 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ShowDatasetStatisticsRequest:
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
+ 'league_id': 'str',
19
+ 'start_date': 'str',
20
+ 'end_date': 'str'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'league_id': 'league_id',
25
+ 'start_date': 'start_date',
26
+ 'end_date': 'end_date'
27
+ }
28
+
29
+ def __init__(self, league_id=None, start_date=None, end_date=None):
30
+ r"""ShowDatasetStatisticsRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param league_id: 联盟id,最大32位,字母和数字组成
35
+ :type league_id: str
36
+ :param start_date: 开始日期
37
+ :type start_date: str
38
+ :param end_date: 结束日期
39
+ :type end_date: str
40
+ """
41
+
42
+
43
+
44
+ self._league_id = None
45
+ self._start_date = None
46
+ self._end_date = None
47
+ self.discriminator = None
48
+
49
+ self.league_id = league_id
50
+ if start_date is not None:
51
+ self.start_date = start_date
52
+ if end_date is not None:
53
+ self.end_date = end_date
54
+
55
+ @property
56
+ def league_id(self):
57
+ r"""Gets the league_id of this ShowDatasetStatisticsRequest.
58
+
59
+ 联盟id,最大32位,字母和数字组成
60
+
61
+ :return: The league_id of this ShowDatasetStatisticsRequest.
62
+ :rtype: str
63
+ """
64
+ return self._league_id
65
+
66
+ @league_id.setter
67
+ def league_id(self, league_id):
68
+ r"""Sets the league_id of this ShowDatasetStatisticsRequest.
69
+
70
+ 联盟id,最大32位,字母和数字组成
71
+
72
+ :param league_id: The league_id of this ShowDatasetStatisticsRequest.
73
+ :type league_id: str
74
+ """
75
+ self._league_id = league_id
76
+
77
+ @property
78
+ def start_date(self):
79
+ r"""Gets the start_date of this ShowDatasetStatisticsRequest.
80
+
81
+ 开始日期
82
+
83
+ :return: The start_date of this ShowDatasetStatisticsRequest.
84
+ :rtype: str
85
+ """
86
+ return self._start_date
87
+
88
+ @start_date.setter
89
+ def start_date(self, start_date):
90
+ r"""Sets the start_date of this ShowDatasetStatisticsRequest.
91
+
92
+ 开始日期
93
+
94
+ :param start_date: The start_date of this ShowDatasetStatisticsRequest.
95
+ :type start_date: str
96
+ """
97
+ self._start_date = start_date
98
+
99
+ @property
100
+ def end_date(self):
101
+ r"""Gets the end_date of this ShowDatasetStatisticsRequest.
102
+
103
+ 结束日期
104
+
105
+ :return: The end_date of this ShowDatasetStatisticsRequest.
106
+ :rtype: str
107
+ """
108
+ return self._end_date
109
+
110
+ @end_date.setter
111
+ def end_date(self, end_date):
112
+ r"""Sets the end_date of this ShowDatasetStatisticsRequest.
113
+
114
+ 结束日期
115
+
116
+ :param end_date: The end_date of this ShowDatasetStatisticsRequest.
117
+ :type end_date: str
118
+ """
119
+ self._end_date = end_date
120
+
121
+ def to_dict(self):
122
+ result = {}
123
+
124
+ for attr, _ in self.openapi_types.items():
125
+ value = getattr(self, attr)
126
+ if isinstance(value, list):
127
+ result[attr] = list(map(
128
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
129
+ value
130
+ ))
131
+ elif hasattr(value, "to_dict"):
132
+ result[attr] = value.to_dict()
133
+ elif isinstance(value, dict):
134
+ result[attr] = dict(map(
135
+ lambda item: (item[0], item[1].to_dict())
136
+ if hasattr(item[1], "to_dict") else item,
137
+ value.items()
138
+ ))
139
+ else:
140
+ if attr in self.sensitive_list:
141
+ result[attr] = "****"
142
+ else:
143
+ result[attr] = value
144
+
145
+ return result
146
+
147
+ def to_str(self):
148
+ """Returns the string representation of the model"""
149
+ import simplejson as json
150
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
151
+
152
+ def __repr__(self):
153
+ """For `print`"""
154
+ return self.to_str()
155
+
156
+ def __eq__(self, other):
157
+ """Returns true if both objects are equal"""
158
+ if not isinstance(other, ShowDatasetStatisticsRequest):
159
+ return False
160
+
161
+ return self.__dict__ == other.__dict__
162
+
163
+ def __ne__(self, other):
164
+ """Returns true if both objects are not equal"""
165
+ return not self == other