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,145 @@
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 ListFlJobResponse(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
+ 'lists': 'list[FlJobListVo]',
22
+ 'total': 'int'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'lists': 'lists',
27
+ 'total': 'total'
28
+ }
29
+
30
+ def __init__(self, lists=None, total=None):
31
+ r"""ListFlJobResponse
32
+
33
+ The model defined in huaweicloud sdk
34
+
35
+ :param lists: 实例集合
36
+ :type lists: list[:class:`huaweicloudsdktics.v1.FlJobListVo`]
37
+ :param total: 总记录数
38
+ :type total: int
39
+ """
40
+
41
+ super(ListFlJobResponse, self).__init__()
42
+
43
+ self._lists = None
44
+ self._total = None
45
+ self.discriminator = None
46
+
47
+ if lists is not None:
48
+ self.lists = lists
49
+ if total is not None:
50
+ self.total = total
51
+
52
+ @property
53
+ def lists(self):
54
+ r"""Gets the lists of this ListFlJobResponse.
55
+
56
+ 实例集合
57
+
58
+ :return: The lists of this ListFlJobResponse.
59
+ :rtype: list[:class:`huaweicloudsdktics.v1.FlJobListVo`]
60
+ """
61
+ return self._lists
62
+
63
+ @lists.setter
64
+ def lists(self, lists):
65
+ r"""Sets the lists of this ListFlJobResponse.
66
+
67
+ 实例集合
68
+
69
+ :param lists: The lists of this ListFlJobResponse.
70
+ :type lists: list[:class:`huaweicloudsdktics.v1.FlJobListVo`]
71
+ """
72
+ self._lists = lists
73
+
74
+ @property
75
+ def total(self):
76
+ r"""Gets the total of this ListFlJobResponse.
77
+
78
+ 总记录数
79
+
80
+ :return: The total of this ListFlJobResponse.
81
+ :rtype: int
82
+ """
83
+ return self._total
84
+
85
+ @total.setter
86
+ def total(self, total):
87
+ r"""Sets the total of this ListFlJobResponse.
88
+
89
+ 总记录数
90
+
91
+ :param total: The total of this ListFlJobResponse.
92
+ :type total: int
93
+ """
94
+ self._total = total
95
+
96
+ def to_dict(self):
97
+ """Returns the model properties as a dict"""
98
+ result = {}
99
+
100
+ for attr, _ in six.iteritems(self.openapi_types):
101
+ value = getattr(self, attr)
102
+ if isinstance(value, list):
103
+ result[attr] = list(map(
104
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
105
+ value
106
+ ))
107
+ elif hasattr(value, "to_dict"):
108
+ result[attr] = value.to_dict()
109
+ elif isinstance(value, dict):
110
+ result[attr] = dict(map(
111
+ lambda item: (item[0], item[1].to_dict())
112
+ if hasattr(item[1], "to_dict") else item,
113
+ value.items()
114
+ ))
115
+ else:
116
+ if attr in self.sensitive_list:
117
+ result[attr] = "****"
118
+ else:
119
+ result[attr] = value
120
+
121
+ return result
122
+
123
+ def to_str(self):
124
+ """Returns the string representation of the model"""
125
+ import simplejson as json
126
+ if six.PY2:
127
+ import sys
128
+ reload(sys)
129
+ sys.setdefaultencoding("utf-8")
130
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
131
+
132
+ def __repr__(self):
133
+ """For `print`"""
134
+ return self.to_str()
135
+
136
+ def __eq__(self, other):
137
+ """Returns true if both objects are equal"""
138
+ if not isinstance(other, ListFlJobResponse):
139
+ return False
140
+
141
+ return self.__dict__ == other.__dict__
142
+
143
+ def __ne__(self, other):
144
+ """Returns true if both objects are not equal"""
145
+ return not self == other
@@ -0,0 +1,199 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListInstanceHistoryRequest:
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
+ 'limit': 'int',
22
+ 'offset': 'int',
23
+ 'job_id': 'str'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'league_id': 'league_id',
28
+ 'limit': 'limit',
29
+ 'offset': 'offset',
30
+ 'job_id': 'job_id'
31
+ }
32
+
33
+ def __init__(self, league_id=None, limit=None, offset=None, job_id=None):
34
+ r"""ListInstanceHistoryRequest
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param league_id: 联盟id,最大32位,字母和数字组成
39
+ :type league_id: str
40
+ :param limit: 每页记录数,取值0-100
41
+ :type limit: int
42
+ :param offset: 记录数偏移量
43
+ :type offset: int
44
+ :param job_id: 任务id,最大32位,字母和数字组成
45
+ :type job_id: str
46
+ """
47
+
48
+
49
+
50
+ self._league_id = None
51
+ self._limit = None
52
+ self._offset = None
53
+ self._job_id = None
54
+ self.discriminator = None
55
+
56
+ self.league_id = league_id
57
+ self.limit = limit
58
+ self.offset = offset
59
+ if job_id is not None:
60
+ self.job_id = job_id
61
+
62
+ @property
63
+ def league_id(self):
64
+ r"""Gets the league_id of this ListInstanceHistoryRequest.
65
+
66
+ 联盟id,最大32位,字母和数字组成
67
+
68
+ :return: The league_id of this ListInstanceHistoryRequest.
69
+ :rtype: str
70
+ """
71
+ return self._league_id
72
+
73
+ @league_id.setter
74
+ def league_id(self, league_id):
75
+ r"""Sets the league_id of this ListInstanceHistoryRequest.
76
+
77
+ 联盟id,最大32位,字母和数字组成
78
+
79
+ :param league_id: The league_id of this ListInstanceHistoryRequest.
80
+ :type league_id: str
81
+ """
82
+ self._league_id = league_id
83
+
84
+ @property
85
+ def limit(self):
86
+ r"""Gets the limit of this ListInstanceHistoryRequest.
87
+
88
+ 每页记录数,取值0-100
89
+
90
+ :return: The limit of this ListInstanceHistoryRequest.
91
+ :rtype: int
92
+ """
93
+ return self._limit
94
+
95
+ @limit.setter
96
+ def limit(self, limit):
97
+ r"""Sets the limit of this ListInstanceHistoryRequest.
98
+
99
+ 每页记录数,取值0-100
100
+
101
+ :param limit: The limit of this ListInstanceHistoryRequest.
102
+ :type limit: int
103
+ """
104
+ self._limit = limit
105
+
106
+ @property
107
+ def offset(self):
108
+ r"""Gets the offset of this ListInstanceHistoryRequest.
109
+
110
+ 记录数偏移量
111
+
112
+ :return: The offset of this ListInstanceHistoryRequest.
113
+ :rtype: int
114
+ """
115
+ return self._offset
116
+
117
+ @offset.setter
118
+ def offset(self, offset):
119
+ r"""Sets the offset of this ListInstanceHistoryRequest.
120
+
121
+ 记录数偏移量
122
+
123
+ :param offset: The offset of this ListInstanceHistoryRequest.
124
+ :type offset: int
125
+ """
126
+ self._offset = offset
127
+
128
+ @property
129
+ def job_id(self):
130
+ r"""Gets the job_id of this ListInstanceHistoryRequest.
131
+
132
+ 任务id,最大32位,字母和数字组成
133
+
134
+ :return: The job_id of this ListInstanceHistoryRequest.
135
+ :rtype: str
136
+ """
137
+ return self._job_id
138
+
139
+ @job_id.setter
140
+ def job_id(self, job_id):
141
+ r"""Sets the job_id of this ListInstanceHistoryRequest.
142
+
143
+ 任务id,最大32位,字母和数字组成
144
+
145
+ :param job_id: The job_id of this ListInstanceHistoryRequest.
146
+ :type job_id: str
147
+ """
148
+ self._job_id = job_id
149
+
150
+ def to_dict(self):
151
+ """Returns the model properties as a dict"""
152
+ result = {}
153
+
154
+ for attr, _ in six.iteritems(self.openapi_types):
155
+ value = getattr(self, attr)
156
+ if isinstance(value, list):
157
+ result[attr] = list(map(
158
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
159
+ value
160
+ ))
161
+ elif hasattr(value, "to_dict"):
162
+ result[attr] = value.to_dict()
163
+ elif isinstance(value, dict):
164
+ result[attr] = dict(map(
165
+ lambda item: (item[0], item[1].to_dict())
166
+ if hasattr(item[1], "to_dict") else item,
167
+ value.items()
168
+ ))
169
+ else:
170
+ if attr in self.sensitive_list:
171
+ result[attr] = "****"
172
+ else:
173
+ result[attr] = value
174
+
175
+ return result
176
+
177
+ def to_str(self):
178
+ """Returns the string representation of the model"""
179
+ import simplejson as json
180
+ if six.PY2:
181
+ import sys
182
+ reload(sys)
183
+ sys.setdefaultencoding("utf-8")
184
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
185
+
186
+ def __repr__(self):
187
+ """For `print`"""
188
+ return self.to_str()
189
+
190
+ def __eq__(self, other):
191
+ """Returns true if both objects are equal"""
192
+ if not isinstance(other, ListInstanceHistoryRequest):
193
+ return False
194
+
195
+ return self.__dict__ == other.__dict__
196
+
197
+ def __ne__(self, other):
198
+ """Returns true if both objects are not equal"""
199
+ return not self == other
@@ -0,0 +1,145 @@
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 ListInstanceHistoryResponse(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
+ 'lists': 'list[TicsJobInstanceVo]',
22
+ 'total': 'int'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'lists': 'lists',
27
+ 'total': 'total'
28
+ }
29
+
30
+ def __init__(self, lists=None, total=None):
31
+ r"""ListInstanceHistoryResponse
32
+
33
+ The model defined in huaweicloud sdk
34
+
35
+ :param lists: 实例集合
36
+ :type lists: list[:class:`huaweicloudsdktics.v1.TicsJobInstanceVo`]
37
+ :param total: 总记录数
38
+ :type total: int
39
+ """
40
+
41
+ super(ListInstanceHistoryResponse, self).__init__()
42
+
43
+ self._lists = None
44
+ self._total = None
45
+ self.discriminator = None
46
+
47
+ if lists is not None:
48
+ self.lists = lists
49
+ if total is not None:
50
+ self.total = total
51
+
52
+ @property
53
+ def lists(self):
54
+ r"""Gets the lists of this ListInstanceHistoryResponse.
55
+
56
+ 实例集合
57
+
58
+ :return: The lists of this ListInstanceHistoryResponse.
59
+ :rtype: list[:class:`huaweicloudsdktics.v1.TicsJobInstanceVo`]
60
+ """
61
+ return self._lists
62
+
63
+ @lists.setter
64
+ def lists(self, lists):
65
+ r"""Sets the lists of this ListInstanceHistoryResponse.
66
+
67
+ 实例集合
68
+
69
+ :param lists: The lists of this ListInstanceHistoryResponse.
70
+ :type lists: list[:class:`huaweicloudsdktics.v1.TicsJobInstanceVo`]
71
+ """
72
+ self._lists = lists
73
+
74
+ @property
75
+ def total(self):
76
+ r"""Gets the total of this ListInstanceHistoryResponse.
77
+
78
+ 总记录数
79
+
80
+ :return: The total of this ListInstanceHistoryResponse.
81
+ :rtype: int
82
+ """
83
+ return self._total
84
+
85
+ @total.setter
86
+ def total(self, total):
87
+ r"""Sets the total of this ListInstanceHistoryResponse.
88
+
89
+ 总记录数
90
+
91
+ :param total: The total of this ListInstanceHistoryResponse.
92
+ :type total: int
93
+ """
94
+ self._total = total
95
+
96
+ def to_dict(self):
97
+ """Returns the model properties as a dict"""
98
+ result = {}
99
+
100
+ for attr, _ in six.iteritems(self.openapi_types):
101
+ value = getattr(self, attr)
102
+ if isinstance(value, list):
103
+ result[attr] = list(map(
104
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
105
+ value
106
+ ))
107
+ elif hasattr(value, "to_dict"):
108
+ result[attr] = value.to_dict()
109
+ elif isinstance(value, dict):
110
+ result[attr] = dict(map(
111
+ lambda item: (item[0], item[1].to_dict())
112
+ if hasattr(item[1], "to_dict") else item,
113
+ value.items()
114
+ ))
115
+ else:
116
+ if attr in self.sensitive_list:
117
+ result[attr] = "****"
118
+ else:
119
+ result[attr] = value
120
+
121
+ return result
122
+
123
+ def to_str(self):
124
+ """Returns the string representation of the model"""
125
+ import simplejson as json
126
+ if six.PY2:
127
+ import sys
128
+ reload(sys)
129
+ sys.setdefaultencoding("utf-8")
130
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
131
+
132
+ def __repr__(self):
133
+ """For `print`"""
134
+ return self.to_str()
135
+
136
+ def __eq__(self, other):
137
+ """Returns true if both objects are equal"""
138
+ if not isinstance(other, ListInstanceHistoryResponse):
139
+ return False
140
+
141
+ return self.__dict__ == other.__dict__
142
+
143
+ def __ne__(self, other):
144
+ """Returns true if both objects are not equal"""
145
+ return not self == other
@@ -0,0 +1,228 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListLeagueDatasetsRequest:
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
+ 'offset': 'int',
22
+ 'limit': 'int',
23
+ 'dataset_name': 'str',
24
+ 'partner_name': 'str'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'league_id': 'league_id',
29
+ 'offset': 'offset',
30
+ 'limit': 'limit',
31
+ 'dataset_name': 'dataset_name',
32
+ 'partner_name': 'partner_name'
33
+ }
34
+
35
+ def __init__(self, league_id=None, offset=None, limit=None, dataset_name=None, partner_name=None):
36
+ r"""ListLeagueDatasetsRequest
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param league_id: 联盟id,最大32位,字母和数字组成
41
+ :type league_id: str
42
+ :param offset: 记录数偏移量
43
+ :type offset: int
44
+ :param limit: 每页记录数,取值0-100
45
+ :type limit: int
46
+ :param dataset_name: 数据集名称
47
+ :type dataset_name: str
48
+ :param partner_name: partner_name
49
+ :type partner_name: str
50
+ """
51
+
52
+
53
+
54
+ self._league_id = None
55
+ self._offset = None
56
+ self._limit = None
57
+ self._dataset_name = None
58
+ self._partner_name = None
59
+ self.discriminator = None
60
+
61
+ self.league_id = league_id
62
+ self.offset = offset
63
+ self.limit = limit
64
+ if dataset_name is not None:
65
+ self.dataset_name = dataset_name
66
+ if partner_name is not None:
67
+ self.partner_name = partner_name
68
+
69
+ @property
70
+ def league_id(self):
71
+ r"""Gets the league_id of this ListLeagueDatasetsRequest.
72
+
73
+ 联盟id,最大32位,字母和数字组成
74
+
75
+ :return: The league_id of this ListLeagueDatasetsRequest.
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 ListLeagueDatasetsRequest.
83
+
84
+ 联盟id,最大32位,字母和数字组成
85
+
86
+ :param league_id: The league_id of this ListLeagueDatasetsRequest.
87
+ :type league_id: str
88
+ """
89
+ self._league_id = league_id
90
+
91
+ @property
92
+ def offset(self):
93
+ r"""Gets the offset of this ListLeagueDatasetsRequest.
94
+
95
+ 记录数偏移量
96
+
97
+ :return: The offset of this ListLeagueDatasetsRequest.
98
+ :rtype: int
99
+ """
100
+ return self._offset
101
+
102
+ @offset.setter
103
+ def offset(self, offset):
104
+ r"""Sets the offset of this ListLeagueDatasetsRequest.
105
+
106
+ 记录数偏移量
107
+
108
+ :param offset: The offset of this ListLeagueDatasetsRequest.
109
+ :type offset: int
110
+ """
111
+ self._offset = offset
112
+
113
+ @property
114
+ def limit(self):
115
+ r"""Gets the limit of this ListLeagueDatasetsRequest.
116
+
117
+ 每页记录数,取值0-100
118
+
119
+ :return: The limit of this ListLeagueDatasetsRequest.
120
+ :rtype: int
121
+ """
122
+ return self._limit
123
+
124
+ @limit.setter
125
+ def limit(self, limit):
126
+ r"""Sets the limit of this ListLeagueDatasetsRequest.
127
+
128
+ 每页记录数,取值0-100
129
+
130
+ :param limit: The limit of this ListLeagueDatasetsRequest.
131
+ :type limit: int
132
+ """
133
+ self._limit = limit
134
+
135
+ @property
136
+ def dataset_name(self):
137
+ r"""Gets the dataset_name of this ListLeagueDatasetsRequest.
138
+
139
+ 数据集名称
140
+
141
+ :return: The dataset_name of this ListLeagueDatasetsRequest.
142
+ :rtype: str
143
+ """
144
+ return self._dataset_name
145
+
146
+ @dataset_name.setter
147
+ def dataset_name(self, dataset_name):
148
+ r"""Sets the dataset_name of this ListLeagueDatasetsRequest.
149
+
150
+ 数据集名称
151
+
152
+ :param dataset_name: The dataset_name of this ListLeagueDatasetsRequest.
153
+ :type dataset_name: str
154
+ """
155
+ self._dataset_name = dataset_name
156
+
157
+ @property
158
+ def partner_name(self):
159
+ r"""Gets the partner_name of this ListLeagueDatasetsRequest.
160
+
161
+ partner_name
162
+
163
+ :return: The partner_name of this ListLeagueDatasetsRequest.
164
+ :rtype: str
165
+ """
166
+ return self._partner_name
167
+
168
+ @partner_name.setter
169
+ def partner_name(self, partner_name):
170
+ r"""Sets the partner_name of this ListLeagueDatasetsRequest.
171
+
172
+ partner_name
173
+
174
+ :param partner_name: The partner_name of this ListLeagueDatasetsRequest.
175
+ :type partner_name: str
176
+ """
177
+ self._partner_name = partner_name
178
+
179
+ def to_dict(self):
180
+ """Returns the model properties as a dict"""
181
+ result = {}
182
+
183
+ for attr, _ in six.iteritems(self.openapi_types):
184
+ value = getattr(self, attr)
185
+ if isinstance(value, list):
186
+ result[attr] = list(map(
187
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
188
+ value
189
+ ))
190
+ elif hasattr(value, "to_dict"):
191
+ result[attr] = value.to_dict()
192
+ elif isinstance(value, dict):
193
+ result[attr] = dict(map(
194
+ lambda item: (item[0], item[1].to_dict())
195
+ if hasattr(item[1], "to_dict") else item,
196
+ value.items()
197
+ ))
198
+ else:
199
+ if attr in self.sensitive_list:
200
+ result[attr] = "****"
201
+ else:
202
+ result[attr] = value
203
+
204
+ return result
205
+
206
+ def to_str(self):
207
+ """Returns the string representation of the model"""
208
+ import simplejson as json
209
+ if six.PY2:
210
+ import sys
211
+ reload(sys)
212
+ sys.setdefaultencoding("utf-8")
213
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
214
+
215
+ def __repr__(self):
216
+ """For `print`"""
217
+ return self.to_str()
218
+
219
+ def __eq__(self, other):
220
+ """Returns true if both objects are equal"""
221
+ if not isinstance(other, ListLeagueDatasetsRequest):
222
+ return False
223
+
224
+ return self.__dict__ == other.__dict__
225
+
226
+ def __ne__(self, other):
227
+ """Returns true if both objects are not equal"""
228
+ return not self == other