lockss-pyclient 0.1.0.dev1__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 (148) hide show
  1. lockss/pyclient/__init__.py +67 -0
  2. lockss/pyclient/config/__init__.py +42 -0
  3. lockss/pyclient/config/api/__init__.py +12 -0
  4. lockss/pyclient/config/api/aus_api.py +2195 -0
  5. lockss/pyclient/config/api/config_api.py +718 -0
  6. lockss/pyclient/config/api/plugins_api.py +128 -0
  7. lockss/pyclient/config/api/status_api.py +120 -0
  8. lockss/pyclient/config/api/tdb_api.py +318 -0
  9. lockss/pyclient/config/api/users_api.py +516 -0
  10. lockss/pyclient/config/api/utils_api.py +128 -0
  11. lockss/pyclient/config/api_client.py +632 -0
  12. lockss/pyclient/config/configuration.py +254 -0
  13. lockss/pyclient/config/models/__init__.py +30 -0
  14. lockss/pyclient/config/models/api_status.py +344 -0
  15. lockss/pyclient/config/models/au_configuration.py +142 -0
  16. lockss/pyclient/config/models/au_status.py +113 -0
  17. lockss/pyclient/config/models/au_ws_result.py +113 -0
  18. lockss/pyclient/config/models/auids_body.py +168 -0
  19. lockss/pyclient/config/models/check_substance_result.py +212 -0
  20. lockss/pyclient/config/models/content_configuration_result.py +200 -0
  21. lockss/pyclient/config/models/file_section_name_body.py +113 -0
  22. lockss/pyclient/config/models/platform_configuration_ws_result.py +113 -0
  23. lockss/pyclient/config/models/plugin_ws_result.py +345 -0
  24. lockss/pyclient/config/models/request_au_control_result.py +171 -0
  25. lockss/pyclient/config/models/tdb_au_ws_result.py +360 -0
  26. lockss/pyclient/config/models/tdb_publisher_ws_result.py +113 -0
  27. lockss/pyclient/config/models/tdb_title_ws_result.py +390 -0
  28. lockss/pyclient/config/rest.py +317 -0
  29. lockss/pyclient/crawler/__init__.py +45 -0
  30. lockss/pyclient/crawler/api/__init__.py +10 -0
  31. lockss/pyclient/crawler/api/crawlers_api.py +215 -0
  32. lockss/pyclient/crawler/api/crawls_api.py +952 -0
  33. lockss/pyclient/crawler/api/jobs_api.py +504 -0
  34. lockss/pyclient/crawler/api/status_api.py +120 -0
  35. lockss/pyclient/crawler/api/ws_api.py +128 -0
  36. lockss/pyclient/crawler/api_client.py +632 -0
  37. lockss/pyclient/crawler/configuration.py +254 -0
  38. lockss/pyclient/crawler/models/__init__.py +35 -0
  39. lockss/pyclient/crawler/models/api_status.py +344 -0
  40. lockss/pyclient/crawler/models/counter.py +142 -0
  41. lockss/pyclient/crawler/models/crawl_desc.py +344 -0
  42. lockss/pyclient/crawler/models/crawl_job.py +280 -0
  43. lockss/pyclient/crawler/models/crawl_pager.py +140 -0
  44. lockss/pyclient/crawler/models/crawl_status.py +780 -0
  45. lockss/pyclient/crawler/models/crawl_ws_result.py +814 -0
  46. lockss/pyclient/crawler/models/crawl_ws_result_pages_with_errors.py +162 -0
  47. lockss/pyclient/crawler/models/crawler_config.py +142 -0
  48. lockss/pyclient/crawler/models/crawler_status.py +279 -0
  49. lockss/pyclient/crawler/models/crawler_statuses.py +112 -0
  50. lockss/pyclient/crawler/models/error_result.py +164 -0
  51. lockss/pyclient/crawler/models/job_pager.py +140 -0
  52. lockss/pyclient/crawler/models/job_status.py +147 -0
  53. lockss/pyclient/crawler/models/mime_counter.py +169 -0
  54. lockss/pyclient/crawler/models/page_info.py +228 -0
  55. lockss/pyclient/crawler/models/url_error.py +148 -0
  56. lockss/pyclient/crawler/models/url_info.py +167 -0
  57. lockss/pyclient/crawler/models/url_pager.py +140 -0
  58. lockss/pyclient/crawler/rest.py +317 -0
  59. lockss/pyclient/md/__init__.py +36 -0
  60. lockss/pyclient/md/api/__init__.py +9 -0
  61. lockss/pyclient/md/api/mdupdates_api.py +508 -0
  62. lockss/pyclient/md/api/metadata_api.py +136 -0
  63. lockss/pyclient/md/api/status_api.py +120 -0
  64. lockss/pyclient/md/api/urls_api.py +224 -0
  65. lockss/pyclient/md/api_client.py +632 -0
  66. lockss/pyclient/md/configuration.py +254 -0
  67. lockss/pyclient/md/models/__init__.py +27 -0
  68. lockss/pyclient/md/models/api_status.py +344 -0
  69. lockss/pyclient/md/models/au.py +169 -0
  70. lockss/pyclient/md/models/au_metadata_page_info.py +140 -0
  71. lockss/pyclient/md/models/error_result.py +164 -0
  72. lockss/pyclient/md/models/item_metadata.py +196 -0
  73. lockss/pyclient/md/models/job.py +280 -0
  74. lockss/pyclient/md/models/job_page_info.py +140 -0
  75. lockss/pyclient/md/models/metadata_update_spec.py +142 -0
  76. lockss/pyclient/md/models/page_info.py +228 -0
  77. lockss/pyclient/md/models/status.py +142 -0
  78. lockss/pyclient/md/models/url_info.py +142 -0
  79. lockss/pyclient/md/rest.py +317 -0
  80. lockss/pyclient/poller/__init__.py +54 -0
  81. lockss/pyclient/poller/api/__init__.py +13 -0
  82. lockss/pyclient/poller/api/export_api.py +156 -0
  83. lockss/pyclient/poller/api/hash_api.py +413 -0
  84. lockss/pyclient/poller/api/import_api.py +157 -0
  85. lockss/pyclient/poller/api/poll_detail_api.py +374 -0
  86. lockss/pyclient/poller/api/poller_polls_api.py +223 -0
  87. lockss/pyclient/poller/api/repo_api.py +223 -0
  88. lockss/pyclient/poller/api/service_api.py +694 -0
  89. lockss/pyclient/poller/api/voter_polls_api.py +223 -0
  90. lockss/pyclient/poller/api_client.py +632 -0
  91. lockss/pyclient/poller/configuration.py +254 -0
  92. lockss/pyclient/poller/models/__init__.py +41 -0
  93. lockss/pyclient/poller/models/api_status.py +344 -0
  94. lockss/pyclient/poller/models/aus_import_body.py +199 -0
  95. lockss/pyclient/poller/models/cached_uri_set_spec.py +169 -0
  96. lockss/pyclient/poller/models/error_result.py +164 -0
  97. lockss/pyclient/poller/models/hasher_ws_params.py +432 -0
  98. lockss/pyclient/poller/models/link_desc.py +141 -0
  99. lockss/pyclient/poller/models/page_desc.py +227 -0
  100. lockss/pyclient/poller/models/peer_data.py +638 -0
  101. lockss/pyclient/poller/models/peer_ws_result.py +113 -0
  102. lockss/pyclient/poller/models/poll_desc.py +285 -0
  103. lockss/pyclient/poller/models/poll_ws_result.py +142 -0
  104. lockss/pyclient/poller/models/poller_detail.py +613 -0
  105. lockss/pyclient/poller/models/poller_pager.py +139 -0
  106. lockss/pyclient/poller/models/poller_summary.py +452 -0
  107. lockss/pyclient/poller/models/repair_data.py +176 -0
  108. lockss/pyclient/poller/models/repair_pager.py +139 -0
  109. lockss/pyclient/poller/models/repair_queue.py +249 -0
  110. lockss/pyclient/poller/models/repository_space_ws_result.py +113 -0
  111. lockss/pyclient/poller/models/repository_ws_result.py +113 -0
  112. lockss/pyclient/poller/models/tally_data.py +471 -0
  113. lockss/pyclient/poller/models/url_pager.py +139 -0
  114. lockss/pyclient/poller/models/vote_ws_result.py +142 -0
  115. lockss/pyclient/poller/models/voter_detail.py +701 -0
  116. lockss/pyclient/poller/models/voter_pager.py +139 -0
  117. lockss/pyclient/poller/models/voter_summary.py +284 -0
  118. lockss/pyclient/poller/rest.py +317 -0
  119. lockss/pyclient/rs/__init__.py +41 -0
  120. lockss/pyclient/rs/api/__init__.py +10 -0
  121. lockss/pyclient/rs/api/artifacts_api.py +988 -0
  122. lockss/pyclient/rs/api/aus_api.py +334 -0
  123. lockss/pyclient/rs/api/repo_api.py +379 -0
  124. lockss/pyclient/rs/api/status_api.py +120 -0
  125. lockss/pyclient/rs/api/wayback_api.py +386 -0
  126. lockss/pyclient/rs/api_client.py +632 -0
  127. lockss/pyclient/rs/configuration.py +247 -0
  128. lockss/pyclient/rs/models/__init__.py +31 -0
  129. lockss/pyclient/rs/models/api_status.py +344 -0
  130. lockss/pyclient/rs/models/archives_body.py +142 -0
  131. lockss/pyclient/rs/models/artifact.py +344 -0
  132. lockss/pyclient/rs/models/artifact_page_info.py +140 -0
  133. lockss/pyclient/rs/models/artifact_properties.py +344 -0
  134. lockss/pyclient/rs/models/artifacts_body.py +170 -0
  135. lockss/pyclient/rs/models/au_size.py +162 -0
  136. lockss/pyclient/rs/models/auid_page_info.py +140 -0
  137. lockss/pyclient/rs/models/error_result.py +164 -0
  138. lockss/pyclient/rs/models/import_status.py +298 -0
  139. lockss/pyclient/rs/models/page_info.py +229 -0
  140. lockss/pyclient/rs/models/repository_info.py +164 -0
  141. lockss/pyclient/rs/models/repository_statistics.py +112 -0
  142. lockss/pyclient/rs/models/storage_info.py +287 -0
  143. lockss/pyclient/rs/models/streaming_response_body.py +84 -0
  144. lockss/pyclient/rs/rest.py +317 -0
  145. lockss_pyclient-0.1.0.dev1.dist-info/LICENSE +27 -0
  146. lockss_pyclient-0.1.0.dev1.dist-info/METADATA +29 -0
  147. lockss_pyclient-0.1.0.dev1.dist-info/RECORD +148 -0
  148. lockss_pyclient-0.1.0.dev1.dist-info/WHEEL +4 -0
@@ -0,0 +1,814 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ LOCKSS Crawler Service REST API
5
+
6
+ REST API of the LOCKSS Crawler Service # noqa: E501
7
+
8
+ OpenAPI spec version: 2.0.0
9
+ Contact: lockss-support@lockss.org
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ class CrawlWsResult(object):
19
+ """NOTE: This class is auto generated by the swagger code generator program.
20
+
21
+ Do not edit the class manually.
22
+ """
23
+ """
24
+ Attributes:
25
+ swagger_types (dict): The key is attribute name
26
+ and the value is attribute type.
27
+ attribute_map (dict): The key is attribute name
28
+ and the value is json key in definition.
29
+ """
30
+ swagger_types = {
31
+ 'au_id': 'str',
32
+ 'au_name': 'str',
33
+ 'priority': 'int',
34
+ 'crawl_key': 'str',
35
+ 'crawl_type': 'str',
36
+ 'start_time': 'int',
37
+ 'duration': 'int',
38
+ 'crawl_status': 'str',
39
+ 'bytes_fetched_count': 'int',
40
+ 'pages_fetched_count': 'int',
41
+ 'pages_fetched': 'list[str]',
42
+ 'pages_parsed_count': 'int',
43
+ 'pages_parsed': 'list[str]',
44
+ 'pages_pending_count': 'int',
45
+ 'pages_pending': 'list[str]',
46
+ 'pages_excluded_count': 'int',
47
+ 'pages_excluded': 'list[str]',
48
+ 'off_site_urls_excluded_count': 'int',
49
+ 'pages_not_modified_count': 'int',
50
+ 'pages_not_modified': 'list[str]',
51
+ 'pages_with_errors_count': 'int',
52
+ 'pages_with_errors': 'list[CrawlWsResultPagesWithErrors]',
53
+ 'mime_type_count': 'int',
54
+ 'mime_types': 'list[str]',
55
+ 'sources': 'list[str]',
56
+ 'starting_urls': 'list[str]',
57
+ 'refetch_depth': 'int',
58
+ 'link_depth': 'int'
59
+ }
60
+
61
+ attribute_map = {
62
+ 'au_id': 'auId',
63
+ 'au_name': 'auName',
64
+ 'priority': 'priority',
65
+ 'crawl_key': 'crawlKey',
66
+ 'crawl_type': 'crawlType',
67
+ 'start_time': 'startTime',
68
+ 'duration': 'duration',
69
+ 'crawl_status': 'crawlStatus',
70
+ 'bytes_fetched_count': 'bytesFetchedCount',
71
+ 'pages_fetched_count': 'pagesFetchedCount',
72
+ 'pages_fetched': 'pagesFetched',
73
+ 'pages_parsed_count': 'pagesParsedCount',
74
+ 'pages_parsed': 'pagesParsed',
75
+ 'pages_pending_count': 'pagesPendingCount',
76
+ 'pages_pending': 'pagesPending',
77
+ 'pages_excluded_count': 'pagesExcludedCount',
78
+ 'pages_excluded': 'pagesExcluded',
79
+ 'off_site_urls_excluded_count': 'offSiteUrlsExcludedCount',
80
+ 'pages_not_modified_count': 'pagesNotModifiedCount',
81
+ 'pages_not_modified': 'pagesNotModified',
82
+ 'pages_with_errors_count': 'pagesWithErrorsCount',
83
+ 'pages_with_errors': 'pagesWithErrors',
84
+ 'mime_type_count': 'mimeTypeCount',
85
+ 'mime_types': 'mimeTypes',
86
+ 'sources': 'sources',
87
+ 'starting_urls': 'startingUrls',
88
+ 'refetch_depth': 'refetchDepth',
89
+ 'link_depth': 'linkDepth'
90
+ }
91
+
92
+ def __init__(self, au_id=None, au_name=None, priority=None, crawl_key=None, crawl_type=None, start_time=None, duration=None, crawl_status=None, bytes_fetched_count=None, pages_fetched_count=None, pages_fetched=None, pages_parsed_count=None, pages_parsed=None, pages_pending_count=None, pages_pending=None, pages_excluded_count=None, pages_excluded=None, off_site_urls_excluded_count=None, pages_not_modified_count=None, pages_not_modified=None, pages_with_errors_count=None, pages_with_errors=None, mime_type_count=None, mime_types=None, sources=None, starting_urls=None, refetch_depth=None, link_depth=None): # noqa: E501
93
+ """CrawlWsResult - a model defined in Swagger""" # noqa: E501
94
+ self._au_id = None
95
+ self._au_name = None
96
+ self._priority = None
97
+ self._crawl_key = None
98
+ self._crawl_type = None
99
+ self._start_time = None
100
+ self._duration = None
101
+ self._crawl_status = None
102
+ self._bytes_fetched_count = None
103
+ self._pages_fetched_count = None
104
+ self._pages_fetched = None
105
+ self._pages_parsed_count = None
106
+ self._pages_parsed = None
107
+ self._pages_pending_count = None
108
+ self._pages_pending = None
109
+ self._pages_excluded_count = None
110
+ self._pages_excluded = None
111
+ self._off_site_urls_excluded_count = None
112
+ self._pages_not_modified_count = None
113
+ self._pages_not_modified = None
114
+ self._pages_with_errors_count = None
115
+ self._pages_with_errors = None
116
+ self._mime_type_count = None
117
+ self._mime_types = None
118
+ self._sources = None
119
+ self._starting_urls = None
120
+ self._refetch_depth = None
121
+ self._link_depth = None
122
+ self.discriminator = None
123
+ self.au_id = au_id
124
+ self.au_name = au_name
125
+ if priority is not None:
126
+ self.priority = priority
127
+ if crawl_key is not None:
128
+ self.crawl_key = crawl_key
129
+ if crawl_type is not None:
130
+ self.crawl_type = crawl_type
131
+ if start_time is not None:
132
+ self.start_time = start_time
133
+ if duration is not None:
134
+ self.duration = duration
135
+ if crawl_status is not None:
136
+ self.crawl_status = crawl_status
137
+ if bytes_fetched_count is not None:
138
+ self.bytes_fetched_count = bytes_fetched_count
139
+ if pages_fetched_count is not None:
140
+ self.pages_fetched_count = pages_fetched_count
141
+ if pages_fetched is not None:
142
+ self.pages_fetched = pages_fetched
143
+ if pages_parsed_count is not None:
144
+ self.pages_parsed_count = pages_parsed_count
145
+ if pages_parsed is not None:
146
+ self.pages_parsed = pages_parsed
147
+ if pages_pending_count is not None:
148
+ self.pages_pending_count = pages_pending_count
149
+ if pages_pending is not None:
150
+ self.pages_pending = pages_pending
151
+ if pages_excluded_count is not None:
152
+ self.pages_excluded_count = pages_excluded_count
153
+ if pages_excluded is not None:
154
+ self.pages_excluded = pages_excluded
155
+ if off_site_urls_excluded_count is not None:
156
+ self.off_site_urls_excluded_count = off_site_urls_excluded_count
157
+ if pages_not_modified_count is not None:
158
+ self.pages_not_modified_count = pages_not_modified_count
159
+ if pages_not_modified is not None:
160
+ self.pages_not_modified = pages_not_modified
161
+ if pages_with_errors_count is not None:
162
+ self.pages_with_errors_count = pages_with_errors_count
163
+ if pages_with_errors is not None:
164
+ self.pages_with_errors = pages_with_errors
165
+ if mime_type_count is not None:
166
+ self.mime_type_count = mime_type_count
167
+ if mime_types is not None:
168
+ self.mime_types = mime_types
169
+ if sources is not None:
170
+ self.sources = sources
171
+ if starting_urls is not None:
172
+ self.starting_urls = starting_urls
173
+ if refetch_depth is not None:
174
+ self.refetch_depth = refetch_depth
175
+ if link_depth is not None:
176
+ self.link_depth = link_depth
177
+
178
+ @property
179
+ def au_id(self):
180
+ """Gets the au_id of this CrawlWsResult. # noqa: E501
181
+
182
+
183
+ :return: The au_id of this CrawlWsResult. # noqa: E501
184
+ :rtype: str
185
+ """
186
+ return self._au_id
187
+
188
+ @au_id.setter
189
+ def au_id(self, au_id):
190
+ """Sets the au_id of this CrawlWsResult.
191
+
192
+
193
+ :param au_id: The au_id of this CrawlWsResult. # noqa: E501
194
+ :type: str
195
+ """
196
+ if au_id is None:
197
+ raise ValueError("Invalid value for `au_id`, must not be `None`") # noqa: E501
198
+
199
+ self._au_id = au_id
200
+
201
+ @property
202
+ def au_name(self):
203
+ """Gets the au_name of this CrawlWsResult. # noqa: E501
204
+
205
+
206
+ :return: The au_name of this CrawlWsResult. # noqa: E501
207
+ :rtype: str
208
+ """
209
+ return self._au_name
210
+
211
+ @au_name.setter
212
+ def au_name(self, au_name):
213
+ """Sets the au_name of this CrawlWsResult.
214
+
215
+
216
+ :param au_name: The au_name of this CrawlWsResult. # noqa: E501
217
+ :type: str
218
+ """
219
+ if au_name is None:
220
+ raise ValueError("Invalid value for `au_name`, must not be `None`") # noqa: E501
221
+
222
+ self._au_name = au_name
223
+
224
+ @property
225
+ def priority(self):
226
+ """Gets the priority of this CrawlWsResult. # noqa: E501
227
+
228
+
229
+ :return: The priority of this CrawlWsResult. # noqa: E501
230
+ :rtype: int
231
+ """
232
+ return self._priority
233
+
234
+ @priority.setter
235
+ def priority(self, priority):
236
+ """Sets the priority of this CrawlWsResult.
237
+
238
+
239
+ :param priority: The priority of this CrawlWsResult. # noqa: E501
240
+ :type: int
241
+ """
242
+
243
+ self._priority = priority
244
+
245
+ @property
246
+ def crawl_key(self):
247
+ """Gets the crawl_key of this CrawlWsResult. # noqa: E501
248
+
249
+
250
+ :return: The crawl_key of this CrawlWsResult. # noqa: E501
251
+ :rtype: str
252
+ """
253
+ return self._crawl_key
254
+
255
+ @crawl_key.setter
256
+ def crawl_key(self, crawl_key):
257
+ """Sets the crawl_key of this CrawlWsResult.
258
+
259
+
260
+ :param crawl_key: The crawl_key of this CrawlWsResult. # noqa: E501
261
+ :type: str
262
+ """
263
+
264
+ self._crawl_key = crawl_key
265
+
266
+ @property
267
+ def crawl_type(self):
268
+ """Gets the crawl_type of this CrawlWsResult. # noqa: E501
269
+
270
+
271
+ :return: The crawl_type of this CrawlWsResult. # noqa: E501
272
+ :rtype: str
273
+ """
274
+ return self._crawl_type
275
+
276
+ @crawl_type.setter
277
+ def crawl_type(self, crawl_type):
278
+ """Sets the crawl_type of this CrawlWsResult.
279
+
280
+
281
+ :param crawl_type: The crawl_type of this CrawlWsResult. # noqa: E501
282
+ :type: str
283
+ """
284
+
285
+ self._crawl_type = crawl_type
286
+
287
+ @property
288
+ def start_time(self):
289
+ """Gets the start_time of this CrawlWsResult. # noqa: E501
290
+
291
+
292
+ :return: The start_time of this CrawlWsResult. # noqa: E501
293
+ :rtype: int
294
+ """
295
+ return self._start_time
296
+
297
+ @start_time.setter
298
+ def start_time(self, start_time):
299
+ """Sets the start_time of this CrawlWsResult.
300
+
301
+
302
+ :param start_time: The start_time of this CrawlWsResult. # noqa: E501
303
+ :type: int
304
+ """
305
+
306
+ self._start_time = start_time
307
+
308
+ @property
309
+ def duration(self):
310
+ """Gets the duration of this CrawlWsResult. # noqa: E501
311
+
312
+
313
+ :return: The duration of this CrawlWsResult. # noqa: E501
314
+ :rtype: int
315
+ """
316
+ return self._duration
317
+
318
+ @duration.setter
319
+ def duration(self, duration):
320
+ """Sets the duration of this CrawlWsResult.
321
+
322
+
323
+ :param duration: The duration of this CrawlWsResult. # noqa: E501
324
+ :type: int
325
+ """
326
+
327
+ self._duration = duration
328
+
329
+ @property
330
+ def crawl_status(self):
331
+ """Gets the crawl_status of this CrawlWsResult. # noqa: E501
332
+
333
+
334
+ :return: The crawl_status of this CrawlWsResult. # noqa: E501
335
+ :rtype: str
336
+ """
337
+ return self._crawl_status
338
+
339
+ @crawl_status.setter
340
+ def crawl_status(self, crawl_status):
341
+ """Sets the crawl_status of this CrawlWsResult.
342
+
343
+
344
+ :param crawl_status: The crawl_status of this CrawlWsResult. # noqa: E501
345
+ :type: str
346
+ """
347
+
348
+ self._crawl_status = crawl_status
349
+
350
+ @property
351
+ def bytes_fetched_count(self):
352
+ """Gets the bytes_fetched_count of this CrawlWsResult. # noqa: E501
353
+
354
+
355
+ :return: The bytes_fetched_count of this CrawlWsResult. # noqa: E501
356
+ :rtype: int
357
+ """
358
+ return self._bytes_fetched_count
359
+
360
+ @bytes_fetched_count.setter
361
+ def bytes_fetched_count(self, bytes_fetched_count):
362
+ """Sets the bytes_fetched_count of this CrawlWsResult.
363
+
364
+
365
+ :param bytes_fetched_count: The bytes_fetched_count of this CrawlWsResult. # noqa: E501
366
+ :type: int
367
+ """
368
+
369
+ self._bytes_fetched_count = bytes_fetched_count
370
+
371
+ @property
372
+ def pages_fetched_count(self):
373
+ """Gets the pages_fetched_count of this CrawlWsResult. # noqa: E501
374
+
375
+
376
+ :return: The pages_fetched_count of this CrawlWsResult. # noqa: E501
377
+ :rtype: int
378
+ """
379
+ return self._pages_fetched_count
380
+
381
+ @pages_fetched_count.setter
382
+ def pages_fetched_count(self, pages_fetched_count):
383
+ """Sets the pages_fetched_count of this CrawlWsResult.
384
+
385
+
386
+ :param pages_fetched_count: The pages_fetched_count of this CrawlWsResult. # noqa: E501
387
+ :type: int
388
+ """
389
+
390
+ self._pages_fetched_count = pages_fetched_count
391
+
392
+ @property
393
+ def pages_fetched(self):
394
+ """Gets the pages_fetched of this CrawlWsResult. # noqa: E501
395
+
396
+
397
+ :return: The pages_fetched of this CrawlWsResult. # noqa: E501
398
+ :rtype: list[str]
399
+ """
400
+ return self._pages_fetched
401
+
402
+ @pages_fetched.setter
403
+ def pages_fetched(self, pages_fetched):
404
+ """Sets the pages_fetched of this CrawlWsResult.
405
+
406
+
407
+ :param pages_fetched: The pages_fetched of this CrawlWsResult. # noqa: E501
408
+ :type: list[str]
409
+ """
410
+
411
+ self._pages_fetched = pages_fetched
412
+
413
+ @property
414
+ def pages_parsed_count(self):
415
+ """Gets the pages_parsed_count of this CrawlWsResult. # noqa: E501
416
+
417
+
418
+ :return: The pages_parsed_count of this CrawlWsResult. # noqa: E501
419
+ :rtype: int
420
+ """
421
+ return self._pages_parsed_count
422
+
423
+ @pages_parsed_count.setter
424
+ def pages_parsed_count(self, pages_parsed_count):
425
+ """Sets the pages_parsed_count of this CrawlWsResult.
426
+
427
+
428
+ :param pages_parsed_count: The pages_parsed_count of this CrawlWsResult. # noqa: E501
429
+ :type: int
430
+ """
431
+
432
+ self._pages_parsed_count = pages_parsed_count
433
+
434
+ @property
435
+ def pages_parsed(self):
436
+ """Gets the pages_parsed of this CrawlWsResult. # noqa: E501
437
+
438
+
439
+ :return: The pages_parsed of this CrawlWsResult. # noqa: E501
440
+ :rtype: list[str]
441
+ """
442
+ return self._pages_parsed
443
+
444
+ @pages_parsed.setter
445
+ def pages_parsed(self, pages_parsed):
446
+ """Sets the pages_parsed of this CrawlWsResult.
447
+
448
+
449
+ :param pages_parsed: The pages_parsed of this CrawlWsResult. # noqa: E501
450
+ :type: list[str]
451
+ """
452
+
453
+ self._pages_parsed = pages_parsed
454
+
455
+ @property
456
+ def pages_pending_count(self):
457
+ """Gets the pages_pending_count of this CrawlWsResult. # noqa: E501
458
+
459
+
460
+ :return: The pages_pending_count of this CrawlWsResult. # noqa: E501
461
+ :rtype: int
462
+ """
463
+ return self._pages_pending_count
464
+
465
+ @pages_pending_count.setter
466
+ def pages_pending_count(self, pages_pending_count):
467
+ """Sets the pages_pending_count of this CrawlWsResult.
468
+
469
+
470
+ :param pages_pending_count: The pages_pending_count of this CrawlWsResult. # noqa: E501
471
+ :type: int
472
+ """
473
+
474
+ self._pages_pending_count = pages_pending_count
475
+
476
+ @property
477
+ def pages_pending(self):
478
+ """Gets the pages_pending of this CrawlWsResult. # noqa: E501
479
+
480
+
481
+ :return: The pages_pending of this CrawlWsResult. # noqa: E501
482
+ :rtype: list[str]
483
+ """
484
+ return self._pages_pending
485
+
486
+ @pages_pending.setter
487
+ def pages_pending(self, pages_pending):
488
+ """Sets the pages_pending of this CrawlWsResult.
489
+
490
+
491
+ :param pages_pending: The pages_pending of this CrawlWsResult. # noqa: E501
492
+ :type: list[str]
493
+ """
494
+
495
+ self._pages_pending = pages_pending
496
+
497
+ @property
498
+ def pages_excluded_count(self):
499
+ """Gets the pages_excluded_count of this CrawlWsResult. # noqa: E501
500
+
501
+
502
+ :return: The pages_excluded_count of this CrawlWsResult. # noqa: E501
503
+ :rtype: int
504
+ """
505
+ return self._pages_excluded_count
506
+
507
+ @pages_excluded_count.setter
508
+ def pages_excluded_count(self, pages_excluded_count):
509
+ """Sets the pages_excluded_count of this CrawlWsResult.
510
+
511
+
512
+ :param pages_excluded_count: The pages_excluded_count of this CrawlWsResult. # noqa: E501
513
+ :type: int
514
+ """
515
+
516
+ self._pages_excluded_count = pages_excluded_count
517
+
518
+ @property
519
+ def pages_excluded(self):
520
+ """Gets the pages_excluded of this CrawlWsResult. # noqa: E501
521
+
522
+
523
+ :return: The pages_excluded of this CrawlWsResult. # noqa: E501
524
+ :rtype: list[str]
525
+ """
526
+ return self._pages_excluded
527
+
528
+ @pages_excluded.setter
529
+ def pages_excluded(self, pages_excluded):
530
+ """Sets the pages_excluded of this CrawlWsResult.
531
+
532
+
533
+ :param pages_excluded: The pages_excluded of this CrawlWsResult. # noqa: E501
534
+ :type: list[str]
535
+ """
536
+
537
+ self._pages_excluded = pages_excluded
538
+
539
+ @property
540
+ def off_site_urls_excluded_count(self):
541
+ """Gets the off_site_urls_excluded_count of this CrawlWsResult. # noqa: E501
542
+
543
+
544
+ :return: The off_site_urls_excluded_count of this CrawlWsResult. # noqa: E501
545
+ :rtype: int
546
+ """
547
+ return self._off_site_urls_excluded_count
548
+
549
+ @off_site_urls_excluded_count.setter
550
+ def off_site_urls_excluded_count(self, off_site_urls_excluded_count):
551
+ """Sets the off_site_urls_excluded_count of this CrawlWsResult.
552
+
553
+
554
+ :param off_site_urls_excluded_count: The off_site_urls_excluded_count of this CrawlWsResult. # noqa: E501
555
+ :type: int
556
+ """
557
+
558
+ self._off_site_urls_excluded_count = off_site_urls_excluded_count
559
+
560
+ @property
561
+ def pages_not_modified_count(self):
562
+ """Gets the pages_not_modified_count of this CrawlWsResult. # noqa: E501
563
+
564
+
565
+ :return: The pages_not_modified_count of this CrawlWsResult. # noqa: E501
566
+ :rtype: int
567
+ """
568
+ return self._pages_not_modified_count
569
+
570
+ @pages_not_modified_count.setter
571
+ def pages_not_modified_count(self, pages_not_modified_count):
572
+ """Sets the pages_not_modified_count of this CrawlWsResult.
573
+
574
+
575
+ :param pages_not_modified_count: The pages_not_modified_count of this CrawlWsResult. # noqa: E501
576
+ :type: int
577
+ """
578
+
579
+ self._pages_not_modified_count = pages_not_modified_count
580
+
581
+ @property
582
+ def pages_not_modified(self):
583
+ """Gets the pages_not_modified of this CrawlWsResult. # noqa: E501
584
+
585
+
586
+ :return: The pages_not_modified of this CrawlWsResult. # noqa: E501
587
+ :rtype: list[str]
588
+ """
589
+ return self._pages_not_modified
590
+
591
+ @pages_not_modified.setter
592
+ def pages_not_modified(self, pages_not_modified):
593
+ """Sets the pages_not_modified of this CrawlWsResult.
594
+
595
+
596
+ :param pages_not_modified: The pages_not_modified of this CrawlWsResult. # noqa: E501
597
+ :type: list[str]
598
+ """
599
+
600
+ self._pages_not_modified = pages_not_modified
601
+
602
+ @property
603
+ def pages_with_errors_count(self):
604
+ """Gets the pages_with_errors_count of this CrawlWsResult. # noqa: E501
605
+
606
+
607
+ :return: The pages_with_errors_count of this CrawlWsResult. # noqa: E501
608
+ :rtype: int
609
+ """
610
+ return self._pages_with_errors_count
611
+
612
+ @pages_with_errors_count.setter
613
+ def pages_with_errors_count(self, pages_with_errors_count):
614
+ """Sets the pages_with_errors_count of this CrawlWsResult.
615
+
616
+
617
+ :param pages_with_errors_count: The pages_with_errors_count of this CrawlWsResult. # noqa: E501
618
+ :type: int
619
+ """
620
+
621
+ self._pages_with_errors_count = pages_with_errors_count
622
+
623
+ @property
624
+ def pages_with_errors(self):
625
+ """Gets the pages_with_errors of this CrawlWsResult. # noqa: E501
626
+
627
+
628
+ :return: The pages_with_errors of this CrawlWsResult. # noqa: E501
629
+ :rtype: list[CrawlWsResultPagesWithErrors]
630
+ """
631
+ return self._pages_with_errors
632
+
633
+ @pages_with_errors.setter
634
+ def pages_with_errors(self, pages_with_errors):
635
+ """Sets the pages_with_errors of this CrawlWsResult.
636
+
637
+
638
+ :param pages_with_errors: The pages_with_errors of this CrawlWsResult. # noqa: E501
639
+ :type: list[CrawlWsResultPagesWithErrors]
640
+ """
641
+
642
+ self._pages_with_errors = pages_with_errors
643
+
644
+ @property
645
+ def mime_type_count(self):
646
+ """Gets the mime_type_count of this CrawlWsResult. # noqa: E501
647
+
648
+
649
+ :return: The mime_type_count of this CrawlWsResult. # noqa: E501
650
+ :rtype: int
651
+ """
652
+ return self._mime_type_count
653
+
654
+ @mime_type_count.setter
655
+ def mime_type_count(self, mime_type_count):
656
+ """Sets the mime_type_count of this CrawlWsResult.
657
+
658
+
659
+ :param mime_type_count: The mime_type_count of this CrawlWsResult. # noqa: E501
660
+ :type: int
661
+ """
662
+
663
+ self._mime_type_count = mime_type_count
664
+
665
+ @property
666
+ def mime_types(self):
667
+ """Gets the mime_types of this CrawlWsResult. # noqa: E501
668
+
669
+
670
+ :return: The mime_types of this CrawlWsResult. # noqa: E501
671
+ :rtype: list[str]
672
+ """
673
+ return self._mime_types
674
+
675
+ @mime_types.setter
676
+ def mime_types(self, mime_types):
677
+ """Sets the mime_types of this CrawlWsResult.
678
+
679
+
680
+ :param mime_types: The mime_types of this CrawlWsResult. # noqa: E501
681
+ :type: list[str]
682
+ """
683
+
684
+ self._mime_types = mime_types
685
+
686
+ @property
687
+ def sources(self):
688
+ """Gets the sources of this CrawlWsResult. # noqa: E501
689
+
690
+
691
+ :return: The sources of this CrawlWsResult. # noqa: E501
692
+ :rtype: list[str]
693
+ """
694
+ return self._sources
695
+
696
+ @sources.setter
697
+ def sources(self, sources):
698
+ """Sets the sources of this CrawlWsResult.
699
+
700
+
701
+ :param sources: The sources of this CrawlWsResult. # noqa: E501
702
+ :type: list[str]
703
+ """
704
+
705
+ self._sources = sources
706
+
707
+ @property
708
+ def starting_urls(self):
709
+ """Gets the starting_urls of this CrawlWsResult. # noqa: E501
710
+
711
+
712
+ :return: The starting_urls of this CrawlWsResult. # noqa: E501
713
+ :rtype: list[str]
714
+ """
715
+ return self._starting_urls
716
+
717
+ @starting_urls.setter
718
+ def starting_urls(self, starting_urls):
719
+ """Sets the starting_urls of this CrawlWsResult.
720
+
721
+
722
+ :param starting_urls: The starting_urls of this CrawlWsResult. # noqa: E501
723
+ :type: list[str]
724
+ """
725
+
726
+ self._starting_urls = starting_urls
727
+
728
+ @property
729
+ def refetch_depth(self):
730
+ """Gets the refetch_depth of this CrawlWsResult. # noqa: E501
731
+
732
+
733
+ :return: The refetch_depth of this CrawlWsResult. # noqa: E501
734
+ :rtype: int
735
+ """
736
+ return self._refetch_depth
737
+
738
+ @refetch_depth.setter
739
+ def refetch_depth(self, refetch_depth):
740
+ """Sets the refetch_depth of this CrawlWsResult.
741
+
742
+
743
+ :param refetch_depth: The refetch_depth of this CrawlWsResult. # noqa: E501
744
+ :type: int
745
+ """
746
+
747
+ self._refetch_depth = refetch_depth
748
+
749
+ @property
750
+ def link_depth(self):
751
+ """Gets the link_depth of this CrawlWsResult. # noqa: E501
752
+
753
+
754
+ :return: The link_depth of this CrawlWsResult. # noqa: E501
755
+ :rtype: int
756
+ """
757
+ return self._link_depth
758
+
759
+ @link_depth.setter
760
+ def link_depth(self, link_depth):
761
+ """Sets the link_depth of this CrawlWsResult.
762
+
763
+
764
+ :param link_depth: The link_depth of this CrawlWsResult. # noqa: E501
765
+ :type: int
766
+ """
767
+
768
+ self._link_depth = link_depth
769
+
770
+ def to_dict(self):
771
+ """Returns the model properties as a dict"""
772
+ result = {}
773
+
774
+ for attr, _ in six.iteritems(self.swagger_types):
775
+ value = getattr(self, attr)
776
+ if isinstance(value, list):
777
+ result[attr] = list(map(
778
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
779
+ value
780
+ ))
781
+ elif hasattr(value, "to_dict"):
782
+ result[attr] = value.to_dict()
783
+ elif isinstance(value, dict):
784
+ result[attr] = dict(map(
785
+ lambda item: (item[0], item[1].to_dict())
786
+ if hasattr(item[1], "to_dict") else item,
787
+ value.items()
788
+ ))
789
+ else:
790
+ result[attr] = value
791
+ if issubclass(CrawlWsResult, dict):
792
+ for key, value in self.items():
793
+ result[key] = value
794
+
795
+ return result
796
+
797
+ def to_str(self):
798
+ """Returns the string representation of the model"""
799
+ return pprint.pformat(self.to_dict())
800
+
801
+ def __repr__(self):
802
+ """For `print` and `pprint`"""
803
+ return self.to_str()
804
+
805
+ def __eq__(self, other):
806
+ """Returns true if both objects are equal"""
807
+ if not isinstance(other, CrawlWsResult):
808
+ return False
809
+
810
+ return self.__dict__ == other.__dict__
811
+
812
+ def __ne__(self, other):
813
+ """Returns true if both objects are not equal"""
814
+ return not self == other