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