lockss-pyclient 0.1.0.dev2__py3-none-any.whl → 0.1.0.dev3__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 (93) hide show
  1. lockss/pyclient/__init__.py +8 -29
  2. lockss/pyclient/__main__.py +37 -0
  3. lockss/pyclient/_internal_common.py +395 -0
  4. lockss/pyclient/_internal_config.py +207 -0
  5. lockss/pyclient/_internal_crawler.py +251 -0
  6. lockss/pyclient/_internal_md.py +111 -0
  7. lockss/pyclient/_internal_poller.py +174 -0
  8. lockss/pyclient/_internal_rs.py +232 -0
  9. lockss/pyclient/cli.py +839 -0
  10. lockss/pyclient/config/__init__.py +15 -0
  11. lockss/pyclient/config/api/aus_api.py +14 -6
  12. lockss/pyclient/config/api/config_api.py +12 -12
  13. lockss/pyclient/config/api/utils_api.py +2 -2
  14. lockss/pyclient/config/configuration.py +1 -1
  15. lockss/pyclient/config/models/__init__.py +15 -0
  16. lockss/pyclient/config/models/access_type.py +90 -0
  17. lockss/pyclient/config/models/au_agreements.py +136 -0
  18. lockss/pyclient/config/models/au_config_page_info.py +140 -0
  19. lockss/pyclient/config/models/au_state_bean.py +942 -0
  20. lockss/pyclient/config/models/au_status.py +837 -8
  21. lockss/pyclient/config/models/au_suspect_url_versions.py +136 -0
  22. lockss/pyclient/config/models/check_substance_result.py +6 -22
  23. lockss/pyclient/config/models/dated_peer_id_set_impl.py +162 -0
  24. lockss/pyclient/config/models/hash_result.py +136 -0
  25. lockss/pyclient/config/models/page_info.py +226 -0
  26. lockss/pyclient/config/models/peer_agreement.py +188 -0
  27. lockss/pyclient/config/models/peer_agreements.py +136 -0
  28. lockss/pyclient/config/models/platform_configuration_ws_result.py +421 -8
  29. lockss/pyclient/config/models/platform_configuration_ws_result_daemon_version.py +188 -0
  30. lockss/pyclient/config/models/platform_configuration_ws_result_java_version.py +188 -0
  31. lockss/pyclient/config/models/platform_configuration_ws_result_platform.py +162 -0
  32. lockss/pyclient/config/models/substance_checker_state.py +91 -0
  33. lockss/pyclient/config/models/suspect_url_version.py +214 -0
  34. lockss/pyclient/config/swagger.yaml +2031 -0
  35. lockss/pyclient/crawler/__init__.py +1 -0
  36. lockss/pyclient/crawler/api/crawls_api.py +2 -2
  37. lockss/pyclient/crawler/configuration.py +1 -1
  38. lockss/pyclient/crawler/models/__init__.py +1 -0
  39. lockss/pyclient/crawler/models/crawl_desc.py +4 -12
  40. lockss/pyclient/crawler/models/crawl_kind_enum.py +90 -0
  41. lockss/pyclient/crawler/models/page_info.py +22 -24
  42. lockss/pyclient/crawler/swagger.yaml +1197 -0
  43. lockss/pyclient/md/configuration.py +1 -1
  44. lockss/pyclient/md/models/page_info.py +22 -24
  45. lockss/pyclient/md/swagger.yaml +583 -0
  46. lockss/pyclient/output.py +131 -0
  47. lockss/pyclient/poller/__init__.py +11 -5
  48. lockss/pyclient/poller/api/export_api.py +5 -5
  49. lockss/pyclient/poller/api/hash_api.py +3 -3
  50. lockss/pyclient/poller/api/poll_detail_api.py +42 -42
  51. lockss/pyclient/poller/api/poller_polls_api.py +18 -18
  52. lockss/pyclient/poller/api/service_api.py +2 -2
  53. lockss/pyclient/poller/api/voter_polls_api.py +18 -18
  54. lockss/pyclient/poller/configuration.py +1 -1
  55. lockss/pyclient/poller/models/__init__.py +11 -5
  56. lockss/pyclient/poller/models/export_file_type_enum.py +93 -0
  57. lockss/pyclient/poller/models/export_filename_translation_enum.py +91 -0
  58. lockss/pyclient/poller/models/page_info.py +226 -0
  59. lockss/pyclient/poller/models/poll_desc.py +3 -11
  60. lockss/pyclient/poller/models/poll_variant_enum.py +92 -0
  61. lockss/pyclient/poller/models/poller_page_info.py +140 -0
  62. lockss/pyclient/poller/models/repair_page_info.py +140 -0
  63. lockss/pyclient/poller/models/repair_type_enum.py +91 -0
  64. lockss/pyclient/poller/models/tally_type_enum.py +93 -0
  65. lockss/pyclient/poller/models/url_page_info.py +140 -0
  66. lockss/pyclient/poller/models/voter_page_info.py +140 -0
  67. lockss/pyclient/poller/models/voter_urls_enum.py +92 -0
  68. lockss/pyclient/poller/swagger.yaml +1658 -0
  69. lockss/pyclient/rs/__init__.py +6 -0
  70. lockss/pyclient/rs/api/artifacts_api.py +20 -20
  71. lockss/pyclient/rs/api/aus_api.py +5 -5
  72. lockss/pyclient/rs/api/repo_api.py +4 -4
  73. lockss/pyclient/rs/api/status_api.py +1 -1
  74. lockss/pyclient/rs/api/wayback_api.py +12 -12
  75. lockss/pyclient/rs/configuration.py +8 -1
  76. lockss/pyclient/rs/models/__init__.py +6 -0
  77. lockss/pyclient/rs/models/artifact.py +111 -81
  78. lockss/pyclient/rs/models/au_size.py +6 -0
  79. lockss/pyclient/rs/models/auid_page_info.py +2 -2
  80. lockss/pyclient/rs/models/bulk_au_op_enum.py +90 -0
  81. lockss/pyclient/rs/models/include_content_enum.py +91 -0
  82. lockss/pyclient/rs/models/page_info.py +26 -29
  83. lockss/pyclient/rs/models/pywb_match_enum.py +93 -0
  84. lockss/pyclient/rs/models/pywb_output_enum.py +90 -0
  85. lockss/pyclient/rs/models/pywb_sort_enum.py +91 -0
  86. lockss/pyclient/rs/models/storage_info.py +131 -80
  87. lockss/pyclient/rs/models/versions_enum.py +90 -0
  88. lockss/pyclient/rs/swagger.yaml +1306 -0
  89. {lockss_pyclient-0.1.0.dev2.dist-info → lockss_pyclient-0.1.0.dev3.dist-info}/METADATA +10 -3
  90. {lockss_pyclient-0.1.0.dev2.dist-info → lockss_pyclient-0.1.0.dev3.dist-info}/RECORD +93 -45
  91. {lockss_pyclient-0.1.0.dev2.dist-info → lockss_pyclient-0.1.0.dev3.dist-info}/WHEEL +1 -1
  92. lockss_pyclient-0.1.0.dev3.dist-info/entry_points.txt +3 -0
  93. {lockss_pyclient-0.1.0.dev2.dist-info → lockss_pyclient-0.1.0.dev3.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,942 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ LOCKSS Configuration Service REST API
5
+
6
+ REST API of the LOCKSS Configuration 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 AuStateBean(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_creation_time': 'int',
32
+ 'last_crawl_time': 'int',
33
+ 'last_crawl_attempt': 'int',
34
+ 'last_crawl_result_msg': 'str',
35
+ 'last_crawl_result': 'int',
36
+ 'last_deep_crawl_time': 'int',
37
+ 'last_deep_crawl_attempt': 'int',
38
+ 'last_deep_crawl_result_msg': 'str',
39
+ 'last_deep_crawl_result': 'int',
40
+ 'last_deep_crawl_depth': 'int',
41
+ 'last_top_level_poll_time': 'int',
42
+ 'last_poll_start': 'int',
43
+ 'last_poll_result': 'int',
44
+ 'poll_duration': 'int',
45
+ 'average_hash_duration': 'int',
46
+ 'clockss_subscription_status': 'int',
47
+ 'v3_agreement': 'float',
48
+ 'highest_v3_agreement': 'float',
49
+ 'access_type': 'AccessType',
50
+ 'has_substance': 'SubstanceCheckerState',
51
+ 'substance_version': 'str',
52
+ 'metadata_version': 'str',
53
+ 'last_metadata_index': 'int',
54
+ 'last_content_change': 'int',
55
+ 'last_po_p_poll': 'int',
56
+ 'last_po_p_poll_result': 'int',
57
+ 'last_local_hash_scan': 'int',
58
+ 'num_agree_peers_last_po_r': 'int',
59
+ 'num_willing_repairers': 'int',
60
+ 'num_current_suspect_versions': 'int',
61
+ 'cdn_stems': 'list[str]',
62
+ 'is_metadata_extraction_enabled': 'bool',
63
+ 'au_id': 'str'
64
+ }
65
+
66
+ attribute_map = {
67
+ 'au_creation_time': 'auCreationTime',
68
+ 'last_crawl_time': 'lastCrawlTime',
69
+ 'last_crawl_attempt': 'lastCrawlAttempt',
70
+ 'last_crawl_result_msg': 'lastCrawlResultMsg',
71
+ 'last_crawl_result': 'lastCrawlResult',
72
+ 'last_deep_crawl_time': 'lastDeepCrawlTime',
73
+ 'last_deep_crawl_attempt': 'lastDeepCrawlAttempt',
74
+ 'last_deep_crawl_result_msg': 'lastDeepCrawlResultMsg',
75
+ 'last_deep_crawl_result': 'lastDeepCrawlResult',
76
+ 'last_deep_crawl_depth': 'lastDeepCrawlDepth',
77
+ 'last_top_level_poll_time': 'lastTopLevelPollTime',
78
+ 'last_poll_start': 'lastPollStart',
79
+ 'last_poll_result': 'lastPollResult',
80
+ 'poll_duration': 'pollDuration',
81
+ 'average_hash_duration': 'averageHashDuration',
82
+ 'clockss_subscription_status': 'clockssSubscriptionStatus',
83
+ 'v3_agreement': 'v3Agreement',
84
+ 'highest_v3_agreement': 'highestV3Agreement',
85
+ 'access_type': 'accessType',
86
+ 'has_substance': 'hasSubstance',
87
+ 'substance_version': 'substanceVersion',
88
+ 'metadata_version': 'metadataVersion',
89
+ 'last_metadata_index': 'lastMetadataIndex',
90
+ 'last_content_change': 'lastContentChange',
91
+ 'last_po_p_poll': 'lastPoPPoll',
92
+ 'last_po_p_poll_result': 'lastPoPPollResult',
93
+ 'last_local_hash_scan': 'lastLocalHashScan',
94
+ 'num_agree_peers_last_po_r': 'numAgreePeersLastPoR',
95
+ 'num_willing_repairers': 'numWillingRepairers',
96
+ 'num_current_suspect_versions': 'numCurrentSuspectVersions',
97
+ 'cdn_stems': 'cdnStems',
98
+ 'is_metadata_extraction_enabled': 'isMetadataExtractionEnabled',
99
+ 'au_id': 'auId'
100
+ }
101
+
102
+ def __init__(self, au_creation_time=None, last_crawl_time=None, last_crawl_attempt=None, last_crawl_result_msg=None, last_crawl_result=None, last_deep_crawl_time=None, last_deep_crawl_attempt=None, last_deep_crawl_result_msg=None, last_deep_crawl_result=None, last_deep_crawl_depth=None, last_top_level_poll_time=None, last_poll_start=None, last_poll_result=None, poll_duration=None, average_hash_duration=None, clockss_subscription_status=None, v3_agreement=None, highest_v3_agreement=None, access_type=None, has_substance=None, substance_version=None, metadata_version=None, last_metadata_index=None, last_content_change=None, last_po_p_poll=None, last_po_p_poll_result=None, last_local_hash_scan=None, num_agree_peers_last_po_r=None, num_willing_repairers=None, num_current_suspect_versions=None, cdn_stems=None, is_metadata_extraction_enabled=None, au_id=None): # noqa: E501
103
+ """AuStateBean - a model defined in Swagger""" # noqa: E501
104
+ self._au_creation_time = None
105
+ self._last_crawl_time = None
106
+ self._last_crawl_attempt = None
107
+ self._last_crawl_result_msg = None
108
+ self._last_crawl_result = None
109
+ self._last_deep_crawl_time = None
110
+ self._last_deep_crawl_attempt = None
111
+ self._last_deep_crawl_result_msg = None
112
+ self._last_deep_crawl_result = None
113
+ self._last_deep_crawl_depth = None
114
+ self._last_top_level_poll_time = None
115
+ self._last_poll_start = None
116
+ self._last_poll_result = None
117
+ self._poll_duration = None
118
+ self._average_hash_duration = None
119
+ self._clockss_subscription_status = None
120
+ self._v3_agreement = None
121
+ self._highest_v3_agreement = None
122
+ self._access_type = None
123
+ self._has_substance = None
124
+ self._substance_version = None
125
+ self._metadata_version = None
126
+ self._last_metadata_index = None
127
+ self._last_content_change = None
128
+ self._last_po_p_poll = None
129
+ self._last_po_p_poll_result = None
130
+ self._last_local_hash_scan = None
131
+ self._num_agree_peers_last_po_r = None
132
+ self._num_willing_repairers = None
133
+ self._num_current_suspect_versions = None
134
+ self._cdn_stems = None
135
+ self._is_metadata_extraction_enabled = None
136
+ self._au_id = None
137
+ self.discriminator = None
138
+ if au_creation_time is not None:
139
+ self.au_creation_time = au_creation_time
140
+ if last_crawl_time is not None:
141
+ self.last_crawl_time = last_crawl_time
142
+ if last_crawl_attempt is not None:
143
+ self.last_crawl_attempt = last_crawl_attempt
144
+ if last_crawl_result_msg is not None:
145
+ self.last_crawl_result_msg = last_crawl_result_msg
146
+ if last_crawl_result is not None:
147
+ self.last_crawl_result = last_crawl_result
148
+ if last_deep_crawl_time is not None:
149
+ self.last_deep_crawl_time = last_deep_crawl_time
150
+ if last_deep_crawl_attempt is not None:
151
+ self.last_deep_crawl_attempt = last_deep_crawl_attempt
152
+ if last_deep_crawl_result_msg is not None:
153
+ self.last_deep_crawl_result_msg = last_deep_crawl_result_msg
154
+ if last_deep_crawl_result is not None:
155
+ self.last_deep_crawl_result = last_deep_crawl_result
156
+ if last_deep_crawl_depth is not None:
157
+ self.last_deep_crawl_depth = last_deep_crawl_depth
158
+ if last_top_level_poll_time is not None:
159
+ self.last_top_level_poll_time = last_top_level_poll_time
160
+ if last_poll_start is not None:
161
+ self.last_poll_start = last_poll_start
162
+ if last_poll_result is not None:
163
+ self.last_poll_result = last_poll_result
164
+ if poll_duration is not None:
165
+ self.poll_duration = poll_duration
166
+ if average_hash_duration is not None:
167
+ self.average_hash_duration = average_hash_duration
168
+ if clockss_subscription_status is not None:
169
+ self.clockss_subscription_status = clockss_subscription_status
170
+ if v3_agreement is not None:
171
+ self.v3_agreement = v3_agreement
172
+ if highest_v3_agreement is not None:
173
+ self.highest_v3_agreement = highest_v3_agreement
174
+ if access_type is not None:
175
+ self.access_type = access_type
176
+ if has_substance is not None:
177
+ self.has_substance = has_substance
178
+ if substance_version is not None:
179
+ self.substance_version = substance_version
180
+ if metadata_version is not None:
181
+ self.metadata_version = metadata_version
182
+ if last_metadata_index is not None:
183
+ self.last_metadata_index = last_metadata_index
184
+ if last_content_change is not None:
185
+ self.last_content_change = last_content_change
186
+ if last_po_p_poll is not None:
187
+ self.last_po_p_poll = last_po_p_poll
188
+ if last_po_p_poll_result is not None:
189
+ self.last_po_p_poll_result = last_po_p_poll_result
190
+ if last_local_hash_scan is not None:
191
+ self.last_local_hash_scan = last_local_hash_scan
192
+ if num_agree_peers_last_po_r is not None:
193
+ self.num_agree_peers_last_po_r = num_agree_peers_last_po_r
194
+ if num_willing_repairers is not None:
195
+ self.num_willing_repairers = num_willing_repairers
196
+ if num_current_suspect_versions is not None:
197
+ self.num_current_suspect_versions = num_current_suspect_versions
198
+ if cdn_stems is not None:
199
+ self.cdn_stems = cdn_stems
200
+ if is_metadata_extraction_enabled is not None:
201
+ self.is_metadata_extraction_enabled = is_metadata_extraction_enabled
202
+ if au_id is not None:
203
+ self.au_id = au_id
204
+
205
+ @property
206
+ def au_creation_time(self):
207
+ """Gets the au_creation_time of this AuStateBean. # noqa: E501
208
+
209
+
210
+ :return: The au_creation_time of this AuStateBean. # noqa: E501
211
+ :rtype: int
212
+ """
213
+ return self._au_creation_time
214
+
215
+ @au_creation_time.setter
216
+ def au_creation_time(self, au_creation_time):
217
+ """Sets the au_creation_time of this AuStateBean.
218
+
219
+
220
+ :param au_creation_time: The au_creation_time of this AuStateBean. # noqa: E501
221
+ :type: int
222
+ """
223
+
224
+ self._au_creation_time = au_creation_time
225
+
226
+ @property
227
+ def last_crawl_time(self):
228
+ """Gets the last_crawl_time of this AuStateBean. # noqa: E501
229
+
230
+
231
+ :return: The last_crawl_time of this AuStateBean. # noqa: E501
232
+ :rtype: int
233
+ """
234
+ return self._last_crawl_time
235
+
236
+ @last_crawl_time.setter
237
+ def last_crawl_time(self, last_crawl_time):
238
+ """Sets the last_crawl_time of this AuStateBean.
239
+
240
+
241
+ :param last_crawl_time: The last_crawl_time of this AuStateBean. # noqa: E501
242
+ :type: int
243
+ """
244
+
245
+ self._last_crawl_time = last_crawl_time
246
+
247
+ @property
248
+ def last_crawl_attempt(self):
249
+ """Gets the last_crawl_attempt of this AuStateBean. # noqa: E501
250
+
251
+
252
+ :return: The last_crawl_attempt of this AuStateBean. # noqa: E501
253
+ :rtype: int
254
+ """
255
+ return self._last_crawl_attempt
256
+
257
+ @last_crawl_attempt.setter
258
+ def last_crawl_attempt(self, last_crawl_attempt):
259
+ """Sets the last_crawl_attempt of this AuStateBean.
260
+
261
+
262
+ :param last_crawl_attempt: The last_crawl_attempt of this AuStateBean. # noqa: E501
263
+ :type: int
264
+ """
265
+
266
+ self._last_crawl_attempt = last_crawl_attempt
267
+
268
+ @property
269
+ def last_crawl_result_msg(self):
270
+ """Gets the last_crawl_result_msg of this AuStateBean. # noqa: E501
271
+
272
+
273
+ :return: The last_crawl_result_msg of this AuStateBean. # noqa: E501
274
+ :rtype: str
275
+ """
276
+ return self._last_crawl_result_msg
277
+
278
+ @last_crawl_result_msg.setter
279
+ def last_crawl_result_msg(self, last_crawl_result_msg):
280
+ """Sets the last_crawl_result_msg of this AuStateBean.
281
+
282
+
283
+ :param last_crawl_result_msg: The last_crawl_result_msg of this AuStateBean. # noqa: E501
284
+ :type: str
285
+ """
286
+
287
+ self._last_crawl_result_msg = last_crawl_result_msg
288
+
289
+ @property
290
+ def last_crawl_result(self):
291
+ """Gets the last_crawl_result of this AuStateBean. # noqa: E501
292
+
293
+
294
+ :return: The last_crawl_result of this AuStateBean. # noqa: E501
295
+ :rtype: int
296
+ """
297
+ return self._last_crawl_result
298
+
299
+ @last_crawl_result.setter
300
+ def last_crawl_result(self, last_crawl_result):
301
+ """Sets the last_crawl_result of this AuStateBean.
302
+
303
+
304
+ :param last_crawl_result: The last_crawl_result of this AuStateBean. # noqa: E501
305
+ :type: int
306
+ """
307
+
308
+ self._last_crawl_result = last_crawl_result
309
+
310
+ @property
311
+ def last_deep_crawl_time(self):
312
+ """Gets the last_deep_crawl_time of this AuStateBean. # noqa: E501
313
+
314
+
315
+ :return: The last_deep_crawl_time of this AuStateBean. # noqa: E501
316
+ :rtype: int
317
+ """
318
+ return self._last_deep_crawl_time
319
+
320
+ @last_deep_crawl_time.setter
321
+ def last_deep_crawl_time(self, last_deep_crawl_time):
322
+ """Sets the last_deep_crawl_time of this AuStateBean.
323
+
324
+
325
+ :param last_deep_crawl_time: The last_deep_crawl_time of this AuStateBean. # noqa: E501
326
+ :type: int
327
+ """
328
+
329
+ self._last_deep_crawl_time = last_deep_crawl_time
330
+
331
+ @property
332
+ def last_deep_crawl_attempt(self):
333
+ """Gets the last_deep_crawl_attempt of this AuStateBean. # noqa: E501
334
+
335
+
336
+ :return: The last_deep_crawl_attempt of this AuStateBean. # noqa: E501
337
+ :rtype: int
338
+ """
339
+ return self._last_deep_crawl_attempt
340
+
341
+ @last_deep_crawl_attempt.setter
342
+ def last_deep_crawl_attempt(self, last_deep_crawl_attempt):
343
+ """Sets the last_deep_crawl_attempt of this AuStateBean.
344
+
345
+
346
+ :param last_deep_crawl_attempt: The last_deep_crawl_attempt of this AuStateBean. # noqa: E501
347
+ :type: int
348
+ """
349
+
350
+ self._last_deep_crawl_attempt = last_deep_crawl_attempt
351
+
352
+ @property
353
+ def last_deep_crawl_result_msg(self):
354
+ """Gets the last_deep_crawl_result_msg of this AuStateBean. # noqa: E501
355
+
356
+
357
+ :return: The last_deep_crawl_result_msg of this AuStateBean. # noqa: E501
358
+ :rtype: str
359
+ """
360
+ return self._last_deep_crawl_result_msg
361
+
362
+ @last_deep_crawl_result_msg.setter
363
+ def last_deep_crawl_result_msg(self, last_deep_crawl_result_msg):
364
+ """Sets the last_deep_crawl_result_msg of this AuStateBean.
365
+
366
+
367
+ :param last_deep_crawl_result_msg: The last_deep_crawl_result_msg of this AuStateBean. # noqa: E501
368
+ :type: str
369
+ """
370
+
371
+ self._last_deep_crawl_result_msg = last_deep_crawl_result_msg
372
+
373
+ @property
374
+ def last_deep_crawl_result(self):
375
+ """Gets the last_deep_crawl_result of this AuStateBean. # noqa: E501
376
+
377
+
378
+ :return: The last_deep_crawl_result of this AuStateBean. # noqa: E501
379
+ :rtype: int
380
+ """
381
+ return self._last_deep_crawl_result
382
+
383
+ @last_deep_crawl_result.setter
384
+ def last_deep_crawl_result(self, last_deep_crawl_result):
385
+ """Sets the last_deep_crawl_result of this AuStateBean.
386
+
387
+
388
+ :param last_deep_crawl_result: The last_deep_crawl_result of this AuStateBean. # noqa: E501
389
+ :type: int
390
+ """
391
+
392
+ self._last_deep_crawl_result = last_deep_crawl_result
393
+
394
+ @property
395
+ def last_deep_crawl_depth(self):
396
+ """Gets the last_deep_crawl_depth of this AuStateBean. # noqa: E501
397
+
398
+
399
+ :return: The last_deep_crawl_depth of this AuStateBean. # noqa: E501
400
+ :rtype: int
401
+ """
402
+ return self._last_deep_crawl_depth
403
+
404
+ @last_deep_crawl_depth.setter
405
+ def last_deep_crawl_depth(self, last_deep_crawl_depth):
406
+ """Sets the last_deep_crawl_depth of this AuStateBean.
407
+
408
+
409
+ :param last_deep_crawl_depth: The last_deep_crawl_depth of this AuStateBean. # noqa: E501
410
+ :type: int
411
+ """
412
+
413
+ self._last_deep_crawl_depth = last_deep_crawl_depth
414
+
415
+ @property
416
+ def last_top_level_poll_time(self):
417
+ """Gets the last_top_level_poll_time of this AuStateBean. # noqa: E501
418
+
419
+
420
+ :return: The last_top_level_poll_time of this AuStateBean. # noqa: E501
421
+ :rtype: int
422
+ """
423
+ return self._last_top_level_poll_time
424
+
425
+ @last_top_level_poll_time.setter
426
+ def last_top_level_poll_time(self, last_top_level_poll_time):
427
+ """Sets the last_top_level_poll_time of this AuStateBean.
428
+
429
+
430
+ :param last_top_level_poll_time: The last_top_level_poll_time of this AuStateBean. # noqa: E501
431
+ :type: int
432
+ """
433
+
434
+ self._last_top_level_poll_time = last_top_level_poll_time
435
+
436
+ @property
437
+ def last_poll_start(self):
438
+ """Gets the last_poll_start of this AuStateBean. # noqa: E501
439
+
440
+
441
+ :return: The last_poll_start of this AuStateBean. # noqa: E501
442
+ :rtype: int
443
+ """
444
+ return self._last_poll_start
445
+
446
+ @last_poll_start.setter
447
+ def last_poll_start(self, last_poll_start):
448
+ """Sets the last_poll_start of this AuStateBean.
449
+
450
+
451
+ :param last_poll_start: The last_poll_start of this AuStateBean. # noqa: E501
452
+ :type: int
453
+ """
454
+
455
+ self._last_poll_start = last_poll_start
456
+
457
+ @property
458
+ def last_poll_result(self):
459
+ """Gets the last_poll_result of this AuStateBean. # noqa: E501
460
+
461
+
462
+ :return: The last_poll_result of this AuStateBean. # noqa: E501
463
+ :rtype: int
464
+ """
465
+ return self._last_poll_result
466
+
467
+ @last_poll_result.setter
468
+ def last_poll_result(self, last_poll_result):
469
+ """Sets the last_poll_result of this AuStateBean.
470
+
471
+
472
+ :param last_poll_result: The last_poll_result of this AuStateBean. # noqa: E501
473
+ :type: int
474
+ """
475
+
476
+ self._last_poll_result = last_poll_result
477
+
478
+ @property
479
+ def poll_duration(self):
480
+ """Gets the poll_duration of this AuStateBean. # noqa: E501
481
+
482
+
483
+ :return: The poll_duration of this AuStateBean. # noqa: E501
484
+ :rtype: int
485
+ """
486
+ return self._poll_duration
487
+
488
+ @poll_duration.setter
489
+ def poll_duration(self, poll_duration):
490
+ """Sets the poll_duration of this AuStateBean.
491
+
492
+
493
+ :param poll_duration: The poll_duration of this AuStateBean. # noqa: E501
494
+ :type: int
495
+ """
496
+
497
+ self._poll_duration = poll_duration
498
+
499
+ @property
500
+ def average_hash_duration(self):
501
+ """Gets the average_hash_duration of this AuStateBean. # noqa: E501
502
+
503
+
504
+ :return: The average_hash_duration of this AuStateBean. # noqa: E501
505
+ :rtype: int
506
+ """
507
+ return self._average_hash_duration
508
+
509
+ @average_hash_duration.setter
510
+ def average_hash_duration(self, average_hash_duration):
511
+ """Sets the average_hash_duration of this AuStateBean.
512
+
513
+
514
+ :param average_hash_duration: The average_hash_duration of this AuStateBean. # noqa: E501
515
+ :type: int
516
+ """
517
+
518
+ self._average_hash_duration = average_hash_duration
519
+
520
+ @property
521
+ def clockss_subscription_status(self):
522
+ """Gets the clockss_subscription_status of this AuStateBean. # noqa: E501
523
+
524
+
525
+ :return: The clockss_subscription_status of this AuStateBean. # noqa: E501
526
+ :rtype: int
527
+ """
528
+ return self._clockss_subscription_status
529
+
530
+ @clockss_subscription_status.setter
531
+ def clockss_subscription_status(self, clockss_subscription_status):
532
+ """Sets the clockss_subscription_status of this AuStateBean.
533
+
534
+
535
+ :param clockss_subscription_status: The clockss_subscription_status of this AuStateBean. # noqa: E501
536
+ :type: int
537
+ """
538
+
539
+ self._clockss_subscription_status = clockss_subscription_status
540
+
541
+ @property
542
+ def v3_agreement(self):
543
+ """Gets the v3_agreement of this AuStateBean. # noqa: E501
544
+
545
+
546
+ :return: The v3_agreement of this AuStateBean. # noqa: E501
547
+ :rtype: float
548
+ """
549
+ return self._v3_agreement
550
+
551
+ @v3_agreement.setter
552
+ def v3_agreement(self, v3_agreement):
553
+ """Sets the v3_agreement of this AuStateBean.
554
+
555
+
556
+ :param v3_agreement: The v3_agreement of this AuStateBean. # noqa: E501
557
+ :type: float
558
+ """
559
+
560
+ self._v3_agreement = v3_agreement
561
+
562
+ @property
563
+ def highest_v3_agreement(self):
564
+ """Gets the highest_v3_agreement of this AuStateBean. # noqa: E501
565
+
566
+
567
+ :return: The highest_v3_agreement of this AuStateBean. # noqa: E501
568
+ :rtype: float
569
+ """
570
+ return self._highest_v3_agreement
571
+
572
+ @highest_v3_agreement.setter
573
+ def highest_v3_agreement(self, highest_v3_agreement):
574
+ """Sets the highest_v3_agreement of this AuStateBean.
575
+
576
+
577
+ :param highest_v3_agreement: The highest_v3_agreement of this AuStateBean. # noqa: E501
578
+ :type: float
579
+ """
580
+
581
+ self._highest_v3_agreement = highest_v3_agreement
582
+
583
+ @property
584
+ def access_type(self):
585
+ """Gets the access_type of this AuStateBean. # noqa: E501
586
+
587
+
588
+ :return: The access_type of this AuStateBean. # noqa: E501
589
+ :rtype: AccessType
590
+ """
591
+ return self._access_type
592
+
593
+ @access_type.setter
594
+ def access_type(self, access_type):
595
+ """Sets the access_type of this AuStateBean.
596
+
597
+
598
+ :param access_type: The access_type of this AuStateBean. # noqa: E501
599
+ :type: AccessType
600
+ """
601
+
602
+ self._access_type = access_type
603
+
604
+ @property
605
+ def has_substance(self):
606
+ """Gets the has_substance of this AuStateBean. # noqa: E501
607
+
608
+
609
+ :return: The has_substance of this AuStateBean. # noqa: E501
610
+ :rtype: SubstanceCheckerState
611
+ """
612
+ return self._has_substance
613
+
614
+ @has_substance.setter
615
+ def has_substance(self, has_substance):
616
+ """Sets the has_substance of this AuStateBean.
617
+
618
+
619
+ :param has_substance: The has_substance of this AuStateBean. # noqa: E501
620
+ :type: SubstanceCheckerState
621
+ """
622
+
623
+ self._has_substance = has_substance
624
+
625
+ @property
626
+ def substance_version(self):
627
+ """Gets the substance_version of this AuStateBean. # noqa: E501
628
+
629
+
630
+ :return: The substance_version of this AuStateBean. # noqa: E501
631
+ :rtype: str
632
+ """
633
+ return self._substance_version
634
+
635
+ @substance_version.setter
636
+ def substance_version(self, substance_version):
637
+ """Sets the substance_version of this AuStateBean.
638
+
639
+
640
+ :param substance_version: The substance_version of this AuStateBean. # noqa: E501
641
+ :type: str
642
+ """
643
+
644
+ self._substance_version = substance_version
645
+
646
+ @property
647
+ def metadata_version(self):
648
+ """Gets the metadata_version of this AuStateBean. # noqa: E501
649
+
650
+
651
+ :return: The metadata_version of this AuStateBean. # noqa: E501
652
+ :rtype: str
653
+ """
654
+ return self._metadata_version
655
+
656
+ @metadata_version.setter
657
+ def metadata_version(self, metadata_version):
658
+ """Sets the metadata_version of this AuStateBean.
659
+
660
+
661
+ :param metadata_version: The metadata_version of this AuStateBean. # noqa: E501
662
+ :type: str
663
+ """
664
+
665
+ self._metadata_version = metadata_version
666
+
667
+ @property
668
+ def last_metadata_index(self):
669
+ """Gets the last_metadata_index of this AuStateBean. # noqa: E501
670
+
671
+
672
+ :return: The last_metadata_index of this AuStateBean. # noqa: E501
673
+ :rtype: int
674
+ """
675
+ return self._last_metadata_index
676
+
677
+ @last_metadata_index.setter
678
+ def last_metadata_index(self, last_metadata_index):
679
+ """Sets the last_metadata_index of this AuStateBean.
680
+
681
+
682
+ :param last_metadata_index: The last_metadata_index of this AuStateBean. # noqa: E501
683
+ :type: int
684
+ """
685
+
686
+ self._last_metadata_index = last_metadata_index
687
+
688
+ @property
689
+ def last_content_change(self):
690
+ """Gets the last_content_change of this AuStateBean. # noqa: E501
691
+
692
+
693
+ :return: The last_content_change of this AuStateBean. # noqa: E501
694
+ :rtype: int
695
+ """
696
+ return self._last_content_change
697
+
698
+ @last_content_change.setter
699
+ def last_content_change(self, last_content_change):
700
+ """Sets the last_content_change of this AuStateBean.
701
+
702
+
703
+ :param last_content_change: The last_content_change of this AuStateBean. # noqa: E501
704
+ :type: int
705
+ """
706
+
707
+ self._last_content_change = last_content_change
708
+
709
+ @property
710
+ def last_po_p_poll(self):
711
+ """Gets the last_po_p_poll of this AuStateBean. # noqa: E501
712
+
713
+
714
+ :return: The last_po_p_poll of this AuStateBean. # noqa: E501
715
+ :rtype: int
716
+ """
717
+ return self._last_po_p_poll
718
+
719
+ @last_po_p_poll.setter
720
+ def last_po_p_poll(self, last_po_p_poll):
721
+ """Sets the last_po_p_poll of this AuStateBean.
722
+
723
+
724
+ :param last_po_p_poll: The last_po_p_poll of this AuStateBean. # noqa: E501
725
+ :type: int
726
+ """
727
+
728
+ self._last_po_p_poll = last_po_p_poll
729
+
730
+ @property
731
+ def last_po_p_poll_result(self):
732
+ """Gets the last_po_p_poll_result of this AuStateBean. # noqa: E501
733
+
734
+
735
+ :return: The last_po_p_poll_result of this AuStateBean. # noqa: E501
736
+ :rtype: int
737
+ """
738
+ return self._last_po_p_poll_result
739
+
740
+ @last_po_p_poll_result.setter
741
+ def last_po_p_poll_result(self, last_po_p_poll_result):
742
+ """Sets the last_po_p_poll_result of this AuStateBean.
743
+
744
+
745
+ :param last_po_p_poll_result: The last_po_p_poll_result of this AuStateBean. # noqa: E501
746
+ :type: int
747
+ """
748
+
749
+ self._last_po_p_poll_result = last_po_p_poll_result
750
+
751
+ @property
752
+ def last_local_hash_scan(self):
753
+ """Gets the last_local_hash_scan of this AuStateBean. # noqa: E501
754
+
755
+
756
+ :return: The last_local_hash_scan of this AuStateBean. # noqa: E501
757
+ :rtype: int
758
+ """
759
+ return self._last_local_hash_scan
760
+
761
+ @last_local_hash_scan.setter
762
+ def last_local_hash_scan(self, last_local_hash_scan):
763
+ """Sets the last_local_hash_scan of this AuStateBean.
764
+
765
+
766
+ :param last_local_hash_scan: The last_local_hash_scan of this AuStateBean. # noqa: E501
767
+ :type: int
768
+ """
769
+
770
+ self._last_local_hash_scan = last_local_hash_scan
771
+
772
+ @property
773
+ def num_agree_peers_last_po_r(self):
774
+ """Gets the num_agree_peers_last_po_r of this AuStateBean. # noqa: E501
775
+
776
+
777
+ :return: The num_agree_peers_last_po_r of this AuStateBean. # noqa: E501
778
+ :rtype: int
779
+ """
780
+ return self._num_agree_peers_last_po_r
781
+
782
+ @num_agree_peers_last_po_r.setter
783
+ def num_agree_peers_last_po_r(self, num_agree_peers_last_po_r):
784
+ """Sets the num_agree_peers_last_po_r of this AuStateBean.
785
+
786
+
787
+ :param num_agree_peers_last_po_r: The num_agree_peers_last_po_r of this AuStateBean. # noqa: E501
788
+ :type: int
789
+ """
790
+
791
+ self._num_agree_peers_last_po_r = num_agree_peers_last_po_r
792
+
793
+ @property
794
+ def num_willing_repairers(self):
795
+ """Gets the num_willing_repairers of this AuStateBean. # noqa: E501
796
+
797
+
798
+ :return: The num_willing_repairers of this AuStateBean. # noqa: E501
799
+ :rtype: int
800
+ """
801
+ return self._num_willing_repairers
802
+
803
+ @num_willing_repairers.setter
804
+ def num_willing_repairers(self, num_willing_repairers):
805
+ """Sets the num_willing_repairers of this AuStateBean.
806
+
807
+
808
+ :param num_willing_repairers: The num_willing_repairers of this AuStateBean. # noqa: E501
809
+ :type: int
810
+ """
811
+
812
+ self._num_willing_repairers = num_willing_repairers
813
+
814
+ @property
815
+ def num_current_suspect_versions(self):
816
+ """Gets the num_current_suspect_versions of this AuStateBean. # noqa: E501
817
+
818
+
819
+ :return: The num_current_suspect_versions of this AuStateBean. # noqa: E501
820
+ :rtype: int
821
+ """
822
+ return self._num_current_suspect_versions
823
+
824
+ @num_current_suspect_versions.setter
825
+ def num_current_suspect_versions(self, num_current_suspect_versions):
826
+ """Sets the num_current_suspect_versions of this AuStateBean.
827
+
828
+
829
+ :param num_current_suspect_versions: The num_current_suspect_versions of this AuStateBean. # noqa: E501
830
+ :type: int
831
+ """
832
+
833
+ self._num_current_suspect_versions = num_current_suspect_versions
834
+
835
+ @property
836
+ def cdn_stems(self):
837
+ """Gets the cdn_stems of this AuStateBean. # noqa: E501
838
+
839
+
840
+ :return: The cdn_stems of this AuStateBean. # noqa: E501
841
+ :rtype: list[str]
842
+ """
843
+ return self._cdn_stems
844
+
845
+ @cdn_stems.setter
846
+ def cdn_stems(self, cdn_stems):
847
+ """Sets the cdn_stems of this AuStateBean.
848
+
849
+
850
+ :param cdn_stems: The cdn_stems of this AuStateBean. # noqa: E501
851
+ :type: list[str]
852
+ """
853
+
854
+ self._cdn_stems = cdn_stems
855
+
856
+ @property
857
+ def is_metadata_extraction_enabled(self):
858
+ """Gets the is_metadata_extraction_enabled of this AuStateBean. # noqa: E501
859
+
860
+
861
+ :return: The is_metadata_extraction_enabled of this AuStateBean. # noqa: E501
862
+ :rtype: bool
863
+ """
864
+ return self._is_metadata_extraction_enabled
865
+
866
+ @is_metadata_extraction_enabled.setter
867
+ def is_metadata_extraction_enabled(self, is_metadata_extraction_enabled):
868
+ """Sets the is_metadata_extraction_enabled of this AuStateBean.
869
+
870
+
871
+ :param is_metadata_extraction_enabled: The is_metadata_extraction_enabled of this AuStateBean. # noqa: E501
872
+ :type: bool
873
+ """
874
+
875
+ self._is_metadata_extraction_enabled = is_metadata_extraction_enabled
876
+
877
+ @property
878
+ def au_id(self):
879
+ """Gets the au_id of this AuStateBean. # noqa: E501
880
+
881
+
882
+ :return: The au_id of this AuStateBean. # noqa: E501
883
+ :rtype: str
884
+ """
885
+ return self._au_id
886
+
887
+ @au_id.setter
888
+ def au_id(self, au_id):
889
+ """Sets the au_id of this AuStateBean.
890
+
891
+
892
+ :param au_id: The au_id of this AuStateBean. # noqa: E501
893
+ :type: str
894
+ """
895
+
896
+ self._au_id = au_id
897
+
898
+ def to_dict(self):
899
+ """Returns the model properties as a dict"""
900
+ result = {}
901
+
902
+ for attr, _ in six.iteritems(self.swagger_types):
903
+ value = getattr(self, attr)
904
+ if isinstance(value, list):
905
+ result[attr] = list(map(
906
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
907
+ value
908
+ ))
909
+ elif hasattr(value, "to_dict"):
910
+ result[attr] = value.to_dict()
911
+ elif isinstance(value, dict):
912
+ result[attr] = dict(map(
913
+ lambda item: (item[0], item[1].to_dict())
914
+ if hasattr(item[1], "to_dict") else item,
915
+ value.items()
916
+ ))
917
+ else:
918
+ result[attr] = value
919
+ if issubclass(AuStateBean, dict):
920
+ for key, value in self.items():
921
+ result[key] = value
922
+
923
+ return result
924
+
925
+ def to_str(self):
926
+ """Returns the string representation of the model"""
927
+ return pprint.pformat(self.to_dict())
928
+
929
+ def __repr__(self):
930
+ """For `print` and `pprint`"""
931
+ return self.to_str()
932
+
933
+ def __eq__(self, other):
934
+ """Returns true if both objects are equal"""
935
+ if not isinstance(other, AuStateBean):
936
+ return False
937
+
938
+ return self.__dict__ == other.__dict__
939
+
940
+ def __ne__(self, other):
941
+ """Returns true if both objects are not equal"""
942
+ return not self == other