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.
- huaweicloudsdktics/__init__.py +0 -0
- huaweicloudsdktics/v1/__init__.py +74 -0
- huaweicloudsdktics/v1/model/__init__.py +71 -0
- huaweicloudsdktics/v1/model/agent_list_vo.py +521 -0
- huaweicloudsdktics/v1/model/deploy_vo.py +228 -0
- huaweicloudsdktics/v1/model/fl_job_list_vo.py +457 -0
- huaweicloudsdktics/v1/model/job_report_base_info_vo.py +256 -0
- huaweicloudsdktics/v1/model/job_report_env_vo.py +231 -0
- huaweicloudsdktics/v1/model/job_report_output_vo.py +173 -0
- huaweicloudsdktics/v1/model/job_report_partner_vo.py +231 -0
- huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +260 -0
- huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +318 -0
- huaweicloudsdktics/v1/model/league_update_vo.py +173 -0
- huaweicloudsdktics/v1/model/list_agents_request.py +200 -0
- huaweicloudsdktics/v1/model/list_agents_response.py +145 -0
- huaweicloudsdktics/v1/model/list_audit_info_request.py +170 -0
- huaweicloudsdktics/v1/model/list_audit_info_response.py +145 -0
- huaweicloudsdktics/v1/model/list_fl_job_request.py +170 -0
- huaweicloudsdktics/v1/model/list_fl_job_response.py +145 -0
- huaweicloudsdktics/v1/model/list_instance_history_request.py +199 -0
- huaweicloudsdktics/v1/model/list_instance_history_response.py +145 -0
- huaweicloudsdktics/v1/model/list_league_datasets_request.py +228 -0
- huaweicloudsdktics/v1/model/list_league_datasets_response.py +145 -0
- huaweicloudsdktics/v1/model/list_leagues_request.py +170 -0
- huaweicloudsdktics/v1/model/list_leagues_response.py +145 -0
- huaweicloudsdktics/v1/model/list_nodes_request.py +170 -0
- huaweicloudsdktics/v1/model/list_nodes_response.py +145 -0
- huaweicloudsdktics/v1/model/list_notices_request.py +142 -0
- huaweicloudsdktics/v1/model/list_notices_response.py +145 -0
- huaweicloudsdktics/v1/model/list_partners_request.py +170 -0
- huaweicloudsdktics/v1/model/list_partners_response.py +145 -0
- huaweicloudsdktics/v1/model/list_sql_job_request.py +170 -0
- huaweicloudsdktics/v1/model/list_sql_job_response.py +145 -0
- huaweicloudsdktics/v1/model/partner_data_vo.py +289 -0
- huaweicloudsdktics/v1/model/processor_vo.py +374 -0
- huaweicloudsdktics/v1/model/round_deploy_vo.py +144 -0
- huaweicloudsdktics/v1/model/show_agent_detail_request.py +114 -0
- huaweicloudsdktics/v1/model/show_agent_detail_response.py +212 -0
- huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +112 -0
- huaweicloudsdktics/v1/model/show_instance_report_request.py +142 -0
- huaweicloudsdktics/v1/model/show_instance_report_response.py +220 -0
- huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +170 -0
- huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +112 -0
- huaweicloudsdktics/v1/model/show_job_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_job_statistics_response.py +232 -0
- huaweicloudsdktics/v1/model/show_league_request.py +114 -0
- huaweicloudsdktics/v1/model/show_league_response.py +725 -0
- huaweicloudsdktics/v1/model/show_overview_request.py +84 -0
- huaweicloudsdktics/v1/model/show_overview_response.py +203 -0
- huaweicloudsdktics/v1/model/show_partner_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_partner_statistics_response.py +112 -0
- huaweicloudsdktics/v1/model/stage_vo.py +201 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy.py +724 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +289 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +463 -0
- huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +202 -0
- huaweicloudsdktics/v1/model/tics_agent_node_info.py +492 -0
- huaweicloudsdktics/v1/model/tics_approve_log_vo.py +484 -0
- huaweicloudsdktics/v1/model/tics_dataset_column.py +405 -0
- huaweicloudsdktics/v1/model/tics_job_instance_vo.py +401 -0
- huaweicloudsdktics/v1/model/tics_league_audit_log.py +376 -0
- huaweicloudsdktics/v1/model/tics_league_list_vo.py +543 -0
- huaweicloudsdktics/v1/model/tics_league_notice_vo.py +430 -0
- huaweicloudsdktics/v1/model/tics_league_partner_vo.py +202 -0
- huaweicloudsdktics/v1/model/tics_sql_job_vo.py +483 -0
- huaweicloudsdktics/v1/model/tics_trust_info_vo.py +347 -0
- huaweicloudsdktics/v1/model/update_league_request.py +139 -0
- huaweicloudsdktics/v1/model/update_league_response.py +112 -0
- huaweicloudsdktics/v1/region/__init__.py +0 -0
- huaweicloudsdktics/v1/region/tics_region.py +34 -0
- huaweicloudsdktics/v1/tics_async_client.py +1382 -0
- huaweicloudsdktics/v1/tics_client.py +1379 -0
- huaweicloudsdktics-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdktics-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdktics-3.1.160.dist-info/RECORD +78 -0
- huaweicloudsdktics-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdktics-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ShowOverviewRequest:
|
|
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
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
def __init__(self):
|
|
26
|
+
r"""ShowOverviewRequest
|
|
27
|
+
|
|
28
|
+
The model defined in huaweicloud sdk
|
|
29
|
+
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
self.discriminator = None
|
|
34
|
+
|
|
35
|
+
def to_dict(self):
|
|
36
|
+
"""Returns the model properties as a dict"""
|
|
37
|
+
result = {}
|
|
38
|
+
|
|
39
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
40
|
+
value = getattr(self, attr)
|
|
41
|
+
if isinstance(value, list):
|
|
42
|
+
result[attr] = list(map(
|
|
43
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
44
|
+
value
|
|
45
|
+
))
|
|
46
|
+
elif hasattr(value, "to_dict"):
|
|
47
|
+
result[attr] = value.to_dict()
|
|
48
|
+
elif isinstance(value, dict):
|
|
49
|
+
result[attr] = dict(map(
|
|
50
|
+
lambda item: (item[0], item[1].to_dict())
|
|
51
|
+
if hasattr(item[1], "to_dict") else item,
|
|
52
|
+
value.items()
|
|
53
|
+
))
|
|
54
|
+
else:
|
|
55
|
+
if attr in self.sensitive_list:
|
|
56
|
+
result[attr] = "****"
|
|
57
|
+
else:
|
|
58
|
+
result[attr] = value
|
|
59
|
+
|
|
60
|
+
return result
|
|
61
|
+
|
|
62
|
+
def to_str(self):
|
|
63
|
+
"""Returns the string representation of the model"""
|
|
64
|
+
import simplejson as json
|
|
65
|
+
if six.PY2:
|
|
66
|
+
import sys
|
|
67
|
+
reload(sys)
|
|
68
|
+
sys.setdefaultencoding("utf-8")
|
|
69
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
70
|
+
|
|
71
|
+
def __repr__(self):
|
|
72
|
+
"""For `print`"""
|
|
73
|
+
return self.to_str()
|
|
74
|
+
|
|
75
|
+
def __eq__(self, other):
|
|
76
|
+
"""Returns true if both objects are equal"""
|
|
77
|
+
if not isinstance(other, ShowOverviewRequest):
|
|
78
|
+
return False
|
|
79
|
+
|
|
80
|
+
return self.__dict__ == other.__dict__
|
|
81
|
+
|
|
82
|
+
def __ne__(self, other):
|
|
83
|
+
"""Returns true if both objects are not equal"""
|
|
84
|
+
return not self == other
|
|
@@ -0,0 +1,203 @@
|
|
|
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 ShowOverviewResponse(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
|
+
'agent_cnt': 'int',
|
|
22
|
+
'instance_cnt': 'int',
|
|
23
|
+
'league_cnt': 'int',
|
|
24
|
+
'notice_to_handle_cnt': 'int'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'agent_cnt': 'agent_cnt',
|
|
29
|
+
'instance_cnt': 'instance_cnt',
|
|
30
|
+
'league_cnt': 'league_cnt',
|
|
31
|
+
'notice_to_handle_cnt': 'notice_to_handle_cnt'
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
def __init__(self, agent_cnt=None, instance_cnt=None, league_cnt=None, notice_to_handle_cnt=None):
|
|
35
|
+
r"""ShowOverviewResponse
|
|
36
|
+
|
|
37
|
+
The model defined in huaweicloud sdk
|
|
38
|
+
|
|
39
|
+
:param agent_cnt: 可信节点数
|
|
40
|
+
:type agent_cnt: int
|
|
41
|
+
:param instance_cnt: 作业执行历史数
|
|
42
|
+
:type instance_cnt: int
|
|
43
|
+
:param league_cnt: 有效联盟数
|
|
44
|
+
:type league_cnt: int
|
|
45
|
+
:param notice_to_handle_cnt: 待处理消息通知数
|
|
46
|
+
:type notice_to_handle_cnt: int
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
super(ShowOverviewResponse, self).__init__()
|
|
50
|
+
|
|
51
|
+
self._agent_cnt = None
|
|
52
|
+
self._instance_cnt = None
|
|
53
|
+
self._league_cnt = None
|
|
54
|
+
self._notice_to_handle_cnt = None
|
|
55
|
+
self.discriminator = None
|
|
56
|
+
|
|
57
|
+
if agent_cnt is not None:
|
|
58
|
+
self.agent_cnt = agent_cnt
|
|
59
|
+
if instance_cnt is not None:
|
|
60
|
+
self.instance_cnt = instance_cnt
|
|
61
|
+
if league_cnt is not None:
|
|
62
|
+
self.league_cnt = league_cnt
|
|
63
|
+
if notice_to_handle_cnt is not None:
|
|
64
|
+
self.notice_to_handle_cnt = notice_to_handle_cnt
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def agent_cnt(self):
|
|
68
|
+
r"""Gets the agent_cnt of this ShowOverviewResponse.
|
|
69
|
+
|
|
70
|
+
可信节点数
|
|
71
|
+
|
|
72
|
+
:return: The agent_cnt of this ShowOverviewResponse.
|
|
73
|
+
:rtype: int
|
|
74
|
+
"""
|
|
75
|
+
return self._agent_cnt
|
|
76
|
+
|
|
77
|
+
@agent_cnt.setter
|
|
78
|
+
def agent_cnt(self, agent_cnt):
|
|
79
|
+
r"""Sets the agent_cnt of this ShowOverviewResponse.
|
|
80
|
+
|
|
81
|
+
可信节点数
|
|
82
|
+
|
|
83
|
+
:param agent_cnt: The agent_cnt of this ShowOverviewResponse.
|
|
84
|
+
:type agent_cnt: int
|
|
85
|
+
"""
|
|
86
|
+
self._agent_cnt = agent_cnt
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def instance_cnt(self):
|
|
90
|
+
r"""Gets the instance_cnt of this ShowOverviewResponse.
|
|
91
|
+
|
|
92
|
+
作业执行历史数
|
|
93
|
+
|
|
94
|
+
:return: The instance_cnt of this ShowOverviewResponse.
|
|
95
|
+
:rtype: int
|
|
96
|
+
"""
|
|
97
|
+
return self._instance_cnt
|
|
98
|
+
|
|
99
|
+
@instance_cnt.setter
|
|
100
|
+
def instance_cnt(self, instance_cnt):
|
|
101
|
+
r"""Sets the instance_cnt of this ShowOverviewResponse.
|
|
102
|
+
|
|
103
|
+
作业执行历史数
|
|
104
|
+
|
|
105
|
+
:param instance_cnt: The instance_cnt of this ShowOverviewResponse.
|
|
106
|
+
:type instance_cnt: int
|
|
107
|
+
"""
|
|
108
|
+
self._instance_cnt = instance_cnt
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
def league_cnt(self):
|
|
112
|
+
r"""Gets the league_cnt of this ShowOverviewResponse.
|
|
113
|
+
|
|
114
|
+
有效联盟数
|
|
115
|
+
|
|
116
|
+
:return: The league_cnt of this ShowOverviewResponse.
|
|
117
|
+
:rtype: int
|
|
118
|
+
"""
|
|
119
|
+
return self._league_cnt
|
|
120
|
+
|
|
121
|
+
@league_cnt.setter
|
|
122
|
+
def league_cnt(self, league_cnt):
|
|
123
|
+
r"""Sets the league_cnt of this ShowOverviewResponse.
|
|
124
|
+
|
|
125
|
+
有效联盟数
|
|
126
|
+
|
|
127
|
+
:param league_cnt: The league_cnt of this ShowOverviewResponse.
|
|
128
|
+
:type league_cnt: int
|
|
129
|
+
"""
|
|
130
|
+
self._league_cnt = league_cnt
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def notice_to_handle_cnt(self):
|
|
134
|
+
r"""Gets the notice_to_handle_cnt of this ShowOverviewResponse.
|
|
135
|
+
|
|
136
|
+
待处理消息通知数
|
|
137
|
+
|
|
138
|
+
:return: The notice_to_handle_cnt of this ShowOverviewResponse.
|
|
139
|
+
:rtype: int
|
|
140
|
+
"""
|
|
141
|
+
return self._notice_to_handle_cnt
|
|
142
|
+
|
|
143
|
+
@notice_to_handle_cnt.setter
|
|
144
|
+
def notice_to_handle_cnt(self, notice_to_handle_cnt):
|
|
145
|
+
r"""Sets the notice_to_handle_cnt of this ShowOverviewResponse.
|
|
146
|
+
|
|
147
|
+
待处理消息通知数
|
|
148
|
+
|
|
149
|
+
:param notice_to_handle_cnt: The notice_to_handle_cnt of this ShowOverviewResponse.
|
|
150
|
+
:type notice_to_handle_cnt: int
|
|
151
|
+
"""
|
|
152
|
+
self._notice_to_handle_cnt = notice_to_handle_cnt
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
if attr in self.sensitive_list:
|
|
175
|
+
result[attr] = "****"
|
|
176
|
+
else:
|
|
177
|
+
result[attr] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
import simplejson as json
|
|
184
|
+
if six.PY2:
|
|
185
|
+
import sys
|
|
186
|
+
reload(sys)
|
|
187
|
+
sys.setdefaultencoding("utf-8")
|
|
188
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
189
|
+
|
|
190
|
+
def __repr__(self):
|
|
191
|
+
"""For `print`"""
|
|
192
|
+
return self.to_str()
|
|
193
|
+
|
|
194
|
+
def __eq__(self, other):
|
|
195
|
+
"""Returns true if both objects are equal"""
|
|
196
|
+
if not isinstance(other, ShowOverviewResponse):
|
|
197
|
+
return False
|
|
198
|
+
|
|
199
|
+
return self.__dict__ == other.__dict__
|
|
200
|
+
|
|
201
|
+
def __ne__(self, other):
|
|
202
|
+
"""Returns true if both objects are not equal"""
|
|
203
|
+
return not self == other
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ShowPartnerStatisticsRequest:
|
|
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
|
+
'league_id': 'str',
|
|
21
|
+
'start_date': 'str',
|
|
22
|
+
'end_date': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'league_id': 'league_id',
|
|
27
|
+
'start_date': 'start_date',
|
|
28
|
+
'end_date': 'end_date'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
def __init__(self, league_id=None, start_date=None, end_date=None):
|
|
32
|
+
r"""ShowPartnerStatisticsRequest
|
|
33
|
+
|
|
34
|
+
The model defined in huaweicloud sdk
|
|
35
|
+
|
|
36
|
+
:param league_id: 联盟id,最大32位,字母和数字组成
|
|
37
|
+
:type league_id: str
|
|
38
|
+
:param start_date: 开始日期
|
|
39
|
+
:type start_date: str
|
|
40
|
+
:param end_date: 结束日期
|
|
41
|
+
:type end_date: str
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
self._league_id = None
|
|
47
|
+
self._start_date = None
|
|
48
|
+
self._end_date = None
|
|
49
|
+
self.discriminator = None
|
|
50
|
+
|
|
51
|
+
self.league_id = league_id
|
|
52
|
+
if start_date is not None:
|
|
53
|
+
self.start_date = start_date
|
|
54
|
+
if end_date is not None:
|
|
55
|
+
self.end_date = end_date
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def league_id(self):
|
|
59
|
+
r"""Gets the league_id of this ShowPartnerStatisticsRequest.
|
|
60
|
+
|
|
61
|
+
联盟id,最大32位,字母和数字组成
|
|
62
|
+
|
|
63
|
+
:return: The league_id of this ShowPartnerStatisticsRequest.
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._league_id
|
|
67
|
+
|
|
68
|
+
@league_id.setter
|
|
69
|
+
def league_id(self, league_id):
|
|
70
|
+
r"""Sets the league_id of this ShowPartnerStatisticsRequest.
|
|
71
|
+
|
|
72
|
+
联盟id,最大32位,字母和数字组成
|
|
73
|
+
|
|
74
|
+
:param league_id: The league_id of this ShowPartnerStatisticsRequest.
|
|
75
|
+
:type league_id: str
|
|
76
|
+
"""
|
|
77
|
+
self._league_id = league_id
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def start_date(self):
|
|
81
|
+
r"""Gets the start_date of this ShowPartnerStatisticsRequest.
|
|
82
|
+
|
|
83
|
+
开始日期
|
|
84
|
+
|
|
85
|
+
:return: The start_date of this ShowPartnerStatisticsRequest.
|
|
86
|
+
:rtype: str
|
|
87
|
+
"""
|
|
88
|
+
return self._start_date
|
|
89
|
+
|
|
90
|
+
@start_date.setter
|
|
91
|
+
def start_date(self, start_date):
|
|
92
|
+
r"""Sets the start_date of this ShowPartnerStatisticsRequest.
|
|
93
|
+
|
|
94
|
+
开始日期
|
|
95
|
+
|
|
96
|
+
:param start_date: The start_date of this ShowPartnerStatisticsRequest.
|
|
97
|
+
:type start_date: str
|
|
98
|
+
"""
|
|
99
|
+
self._start_date = start_date
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def end_date(self):
|
|
103
|
+
r"""Gets the end_date of this ShowPartnerStatisticsRequest.
|
|
104
|
+
|
|
105
|
+
结束日期
|
|
106
|
+
|
|
107
|
+
:return: The end_date of this ShowPartnerStatisticsRequest.
|
|
108
|
+
:rtype: str
|
|
109
|
+
"""
|
|
110
|
+
return self._end_date
|
|
111
|
+
|
|
112
|
+
@end_date.setter
|
|
113
|
+
def end_date(self, end_date):
|
|
114
|
+
r"""Sets the end_date of this ShowPartnerStatisticsRequest.
|
|
115
|
+
|
|
116
|
+
结束日期
|
|
117
|
+
|
|
118
|
+
:param end_date: The end_date of this ShowPartnerStatisticsRequest.
|
|
119
|
+
:type end_date: str
|
|
120
|
+
"""
|
|
121
|
+
self._end_date = end_date
|
|
122
|
+
|
|
123
|
+
def to_dict(self):
|
|
124
|
+
"""Returns the model properties as a dict"""
|
|
125
|
+
result = {}
|
|
126
|
+
|
|
127
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
128
|
+
value = getattr(self, attr)
|
|
129
|
+
if isinstance(value, list):
|
|
130
|
+
result[attr] = list(map(
|
|
131
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
132
|
+
value
|
|
133
|
+
))
|
|
134
|
+
elif hasattr(value, "to_dict"):
|
|
135
|
+
result[attr] = value.to_dict()
|
|
136
|
+
elif isinstance(value, dict):
|
|
137
|
+
result[attr] = dict(map(
|
|
138
|
+
lambda item: (item[0], item[1].to_dict())
|
|
139
|
+
if hasattr(item[1], "to_dict") else item,
|
|
140
|
+
value.items()
|
|
141
|
+
))
|
|
142
|
+
else:
|
|
143
|
+
if attr in self.sensitive_list:
|
|
144
|
+
result[attr] = "****"
|
|
145
|
+
else:
|
|
146
|
+
result[attr] = value
|
|
147
|
+
|
|
148
|
+
return result
|
|
149
|
+
|
|
150
|
+
def to_str(self):
|
|
151
|
+
"""Returns the string representation of the model"""
|
|
152
|
+
import simplejson as json
|
|
153
|
+
if six.PY2:
|
|
154
|
+
import sys
|
|
155
|
+
reload(sys)
|
|
156
|
+
sys.setdefaultencoding("utf-8")
|
|
157
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, ShowPartnerStatisticsRequest):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.__dict__ == other.__dict__
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
return not self == other
|
|
@@ -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 ShowPartnerStatisticsResponse(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[LeaguePartnerStatisticsVo]'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'body': 'body'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
def __init__(self, body=None):
|
|
29
|
+
r"""ShowPartnerStatisticsResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param body:
|
|
34
|
+
:type body: list[:class:`huaweicloudsdktics.v1.LeaguePartnerStatisticsVo`]
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
super(ShowPartnerStatisticsResponse, 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 ShowPartnerStatisticsResponse.
|
|
48
|
+
|
|
49
|
+
:return: The body of this ShowPartnerStatisticsResponse.
|
|
50
|
+
:rtype: list[:class:`huaweicloudsdktics.v1.LeaguePartnerStatisticsVo`]
|
|
51
|
+
"""
|
|
52
|
+
return self._body
|
|
53
|
+
|
|
54
|
+
@body.setter
|
|
55
|
+
def body(self, body):
|
|
56
|
+
r"""Sets the body of this ShowPartnerStatisticsResponse.
|
|
57
|
+
|
|
58
|
+
:param body: The body of this ShowPartnerStatisticsResponse.
|
|
59
|
+
:type body: list[:class:`huaweicloudsdktics.v1.LeaguePartnerStatisticsVo`]
|
|
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, ShowPartnerStatisticsResponse):
|
|
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
|