regula-documentreader-webclient 7.6.295rc0__py3-none-any.whl → 7.6.297.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of regula-documentreader-webclient might be problematic. Click here for more details.

Files changed (288) hide show
  1. regula/documentreader/webclient/ext/__init__.py +0 -1
  2. regula/documentreader/webclient/ext/api/document_reader_api.py +2 -2
  3. regula/documentreader/webclient/ext/models/__init__.py +0 -2
  4. regula/documentreader/webclient/ext/models/authenticity/authenticity_check_list.py +34 -19
  5. regula/documentreader/webclient/ext/models/authenticity/fiber.py +4 -4
  6. regula/documentreader/webclient/ext/models/authenticity/ident.py +8 -7
  7. regula/documentreader/webclient/ext/models/authenticity/image_ident.py +6 -5
  8. regula/documentreader/webclient/ext/models/authenticity/ocr_security_text.py +5 -5
  9. regula/documentreader/webclient/ext/models/authenticity/security_feature.py +8 -6
  10. regula/documentreader/webclient/ext/models/images.py +4 -4
  11. regula/documentreader/webclient/ext/models/recognition_request.py +23 -24
  12. regula/documentreader/webclient/ext/models/recognition_response.py +6 -8
  13. regula/documentreader/webclient/ext/models/text.py +7 -12
  14. regula/documentreader/webclient/gen/__init__.py +99 -26
  15. regula/documentreader/webclient/gen/api/__init__.py +1 -2
  16. regula/documentreader/webclient/gen/api/healthcheck_api.py +687 -298
  17. regula/documentreader/webclient/gen/api/process_api.py +270 -125
  18. regula/documentreader/webclient/gen/api/transaction_api.py +1472 -673
  19. regula/documentreader/webclient/gen/api_client.py +583 -462
  20. regula/documentreader/webclient/gen/api_response.py +21 -0
  21. regula/documentreader/webclient/gen/configuration.py +222 -99
  22. regula/documentreader/webclient/gen/exceptions.py +81 -30
  23. regula/documentreader/webclient/gen/models/__init__.py +97 -25
  24. regula/documentreader/webclient/gen/models/area_array.py +85 -131
  25. regula/documentreader/webclient/gen/models/area_container.py +85 -157
  26. regula/documentreader/webclient/gen/models/auth_params.py +100 -526
  27. regula/documentreader/webclient/gen/models/authenticity_check_list.py +75 -136
  28. regula/documentreader/webclient/gen/models/authenticity_check_list_item.py +83 -0
  29. regula/documentreader/webclient/gen/models/authenticity_check_result.py +81 -160
  30. regula/documentreader/webclient/gen/models/authenticity_check_result_item.py +154 -217
  31. regula/documentreader/webclient/gen/models/authenticity_check_result_list_inner.py +174 -0
  32. regula/documentreader/webclient/gen/models/authenticity_result.py +68 -231
  33. regula/documentreader/webclient/gen/models/authenticity_result_type.py +40 -123
  34. regula/documentreader/webclient/gen/models/bar_code_module_type.py +32 -0
  35. regula/documentreader/webclient/gen/models/barcode_type.py +48 -0
  36. regula/documentreader/webclient/gen/models/bc_pdf417_info.py +75 -235
  37. regula/documentreader/webclient/gen/models/bc_roidetect.py +71 -183
  38. regula/documentreader/webclient/gen/models/binary_data.py +218 -0
  39. regula/documentreader/webclient/gen/models/byte_array_item.py +79 -0
  40. regula/documentreader/webclient/gen/models/byte_array_result.py +64 -233
  41. regula/documentreader/webclient/gen/models/candidates_list_item.py +83 -0
  42. regula/documentreader/webclient/gen/models/certificate_data.py +81 -0
  43. regula/documentreader/webclient/gen/models/check_diagnose.py +138 -329
  44. regula/documentreader/webclient/gen/models/check_result.py +15 -84
  45. regula/documentreader/webclient/gen/models/chosen_document_type.py +94 -334
  46. regula/documentreader/webclient/gen/models/chosen_document_type_result.py +80 -264
  47. regula/documentreader/webclient/gen/models/container_list.py +75 -134
  48. regula/documentreader/webclient/gen/models/container_list_list_inner.py +426 -0
  49. regula/documentreader/webclient/gen/models/critical.py +14 -82
  50. regula/documentreader/webclient/gen/models/cross_source_value_comparison.py +67 -156
  51. regula/documentreader/webclient/gen/models/data_module.py +74 -209
  52. regula/documentreader/webclient/gen/models/details_optical.py +83 -298
  53. regula/documentreader/webclient/gen/models/details_rfid.py +78 -268
  54. regula/documentreader/webclient/gen/models/device_info.py +76 -235
  55. regula/documentreader/webclient/gen/models/doc_bar_code_info.py +68 -230
  56. regula/documentreader/webclient/gen/models/doc_bar_code_info_fields_list.py +75 -135
  57. regula/documentreader/webclient/gen/models/doc_bar_code_info_item.py +83 -0
  58. regula/documentreader/webclient/gen/models/doc_graphics_info_item.py +83 -0
  59. regula/documentreader/webclient/gen/models/doc_visual_extended_field.py +105 -301
  60. regula/documentreader/webclient/gen/models/doc_visual_extended_field_item.py +83 -0
  61. regula/documentreader/webclient/gen/models/doc_visual_extended_info.py +75 -106
  62. regula/documentreader/webclient/gen/models/doc_visual_extended_info_item.py +83 -0
  63. regula/documentreader/webclient/gen/models/document_binary_info_result.py +90 -0
  64. regula/documentreader/webclient/gen/models/document_format.py +27 -105
  65. regula/documentreader/webclient/gen/models/document_image.py +63 -132
  66. regula/documentreader/webclient/gen/models/document_image_result.py +68 -231
  67. regula/documentreader/webclient/gen/models/document_position.py +111 -340
  68. regula/documentreader/webclient/gen/models/document_position_item.py +83 -0
  69. regula/documentreader/webclient/gen/models/document_position_result.py +68 -230
  70. regula/documentreader/webclient/gen/models/document_type.py +243 -539
  71. regula/documentreader/webclient/gen/models/document_type_recognition_result.py +15 -84
  72. regula/documentreader/webclient/gen/models/document_types_candidates.py +76 -131
  73. regula/documentreader/webclient/gen/models/document_types_candidates_list.py +76 -131
  74. regula/documentreader/webclient/gen/models/document_types_candidates_result.py +68 -230
  75. regula/documentreader/webclient/gen/models/documents_database.py +71 -191
  76. regula/documentreader/webclient/gen/models/encrypted_rcl_item.py +79 -0
  77. regula/documentreader/webclient/gen/models/encrypted_rcl_result.py +64 -233
  78. regula/documentreader/webclient/gen/models/error_coordinates.py +85 -0
  79. regula/documentreader/webclient/gen/models/face_api.py +88 -358
  80. regula/documentreader/webclient/gen/models/face_api_search.py +65 -159
  81. regula/documentreader/webclient/gen/models/face_detection.py +95 -0
  82. regula/documentreader/webclient/gen/models/face_detection_item.py +83 -0
  83. regula/documentreader/webclient/gen/models/face_detection_result.py +90 -0
  84. regula/documentreader/webclient/gen/models/face_item.py +109 -0
  85. regula/documentreader/webclient/gen/models/fdsid_list.py +91 -390
  86. regula/documentreader/webclient/gen/models/fiber_item.py +104 -0
  87. regula/documentreader/webclient/gen/models/fiber_result.py +101 -439
  88. regula/documentreader/webclient/gen/models/field_item.py +89 -0
  89. regula/documentreader/webclient/gen/models/file_image.py +81 -0
  90. regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py +66 -159
  91. regula/documentreader/webclient/gen/models/graph_data.py +95 -0
  92. regula/documentreader/webclient/gen/models/graphic_field.py +80 -271
  93. regula/documentreader/webclient/gen/models/graphic_field_type.py +40 -131
  94. regula/documentreader/webclient/gen/models/graphic_fields_list.py +75 -106
  95. regula/documentreader/webclient/gen/models/graphics_result.py +68 -231
  96. regula/documentreader/webclient/gen/models/healthcheck.py +117 -297
  97. regula/documentreader/webclient/gen/models/healthcheck_documents_database.py +91 -187
  98. regula/documentreader/webclient/gen/models/ident_item.py +106 -0
  99. regula/documentreader/webclient/gen/models/ident_result.py +103 -345
  100. regula/documentreader/webclient/gen/models/image_data.py +63 -132
  101. regula/documentreader/webclient/gen/models/image_qa.py +83 -304
  102. regula/documentreader/webclient/gen/models/image_quality_check.py +86 -263
  103. regula/documentreader/webclient/gen/models/image_quality_check_list.py +78 -133
  104. regula/documentreader/webclient/gen/models/image_quality_check_list_item.py +83 -0
  105. regula/documentreader/webclient/gen/models/image_quality_check_type.py +22 -97
  106. regula/documentreader/webclient/gen/models/image_quality_result.py +68 -231
  107. regula/documentreader/webclient/gen/models/image_transaction_data.py +61 -97
  108. regula/documentreader/webclient/gen/models/images.py +87 -133
  109. regula/documentreader/webclient/gen/models/images_available_source.py +64 -130
  110. regula/documentreader/webclient/gen/models/images_field.py +80 -162
  111. regula/documentreader/webclient/gen/models/images_field_value.py +94 -331
  112. regula/documentreader/webclient/gen/models/images_item.py +83 -0
  113. regula/documentreader/webclient/gen/models/images_result.py +68 -231
  114. regula/documentreader/webclient/gen/models/in_data.py +79 -131
  115. regula/documentreader/webclient/gen/models/in_data_transaction_images_field_value.py +72 -187
  116. regula/documentreader/webclient/gen/models/in_data_video.py +63 -131
  117. regula/documentreader/webclient/gen/models/input_barcode_type.py +33 -119
  118. regula/documentreader/webclient/gen/models/input_image_quality_checks.py +22 -97
  119. regula/documentreader/webclient/gen/models/lcid.py +179 -402
  120. regula/documentreader/webclient/gen/models/lexical_analysis_result.py +68 -234
  121. regula/documentreader/webclient/gen/models/license_item.py +79 -0
  122. regula/documentreader/webclient/gen/models/license_result.py +64 -233
  123. regula/documentreader/webclient/gen/models/light.py +55 -87
  124. regula/documentreader/webclient/gen/models/list_transactions_by_tag_response.py +75 -131
  125. regula/documentreader/webclient/gen/models/list_verified_fields.py +77 -105
  126. regula/documentreader/webclient/gen/models/list_verified_fields_item.py +83 -0
  127. regula/documentreader/webclient/gen/models/liveness_params.py +75 -247
  128. regula/documentreader/webclient/gen/models/log_level.py +17 -88
  129. regula/documentreader/webclient/gen/models/measure_system.py +14 -82
  130. regula/documentreader/webclient/gen/models/mrz_detect_mode_enum.py +15 -84
  131. regula/documentreader/webclient/gen/models/mrz_detector_result.py +90 -0
  132. regula/documentreader/webclient/gen/models/mrz_format.py +18 -90
  133. regula/documentreader/webclient/gen/models/mrz_position.py +124 -0
  134. regula/documentreader/webclient/gen/models/mrz_position_item.py +83 -0
  135. regula/documentreader/webclient/gen/models/mrz_position_result.py +90 -0
  136. regula/documentreader/webclient/gen/models/mrz_rows_item.py +91 -0
  137. regula/documentreader/webclient/gen/models/mrz_test_quality.py +105 -0
  138. regula/documentreader/webclient/gen/models/mrz_test_quality_item.py +83 -0
  139. regula/documentreader/webclient/gen/models/mrz_test_quality_result.py +90 -0
  140. regula/documentreader/webclient/gen/models/ocr_security_text_item.py +108 -0
  141. regula/documentreader/webclient/gen/models/ocr_security_text_result.py +105 -449
  142. regula/documentreader/webclient/gen/models/one_candidate.py +94 -334
  143. regula/documentreader/webclient/gen/models/one_candidate_item.py +87 -0
  144. regula/documentreader/webclient/gen/models/original_symbol.py +74 -167
  145. regula/documentreader/webclient/gen/models/out_data.py +75 -133
  146. regula/documentreader/webclient/gen/models/out_data_transaction_images_field_value.py +75 -213
  147. regula/documentreader/webclient/gen/models/p_array_field.py +103 -342
  148. regula/documentreader/webclient/gen/models/parsed_data.py +79 -0
  149. regula/documentreader/webclient/gen/models/parsing_notification_codes.py +235 -523
  150. regula/documentreader/webclient/gen/models/per_document_config.py +63 -131
  151. regula/documentreader/webclient/gen/models/photo_ident_item.py +112 -0
  152. regula/documentreader/webclient/gen/models/photo_ident_result.py +109 -423
  153. regula/documentreader/webclient/gen/models/point.py +63 -127
  154. regula/documentreader/webclient/gen/models/point_array.py +65 -97
  155. regula/documentreader/webclient/gen/models/points_container.py +75 -131
  156. regula/documentreader/webclient/gen/models/process_params.py +225 -1743
  157. regula/documentreader/webclient/gen/models/process_params_rfid.py +56 -97
  158. regula/documentreader/webclient/gen/models/process_request.py +113 -411
  159. regula/documentreader/webclient/gen/models/process_request_image.py +74 -159
  160. regula/documentreader/webclient/gen/models/process_response.py +96 -299
  161. regula/documentreader/webclient/gen/models/process_system_info.py +63 -131
  162. regula/documentreader/webclient/gen/models/processing_status.py +15 -84
  163. regula/documentreader/webclient/gen/models/raw_image_container_item.py +83 -0
  164. regula/documentreader/webclient/gen/models/raw_image_container_list.py +75 -131
  165. regula/documentreader/webclient/gen/models/rectangle_coordinates.py +71 -187
  166. regula/documentreader/webclient/gen/models/result.py +49 -133
  167. regula/documentreader/webclient/gen/models/result_item.py +195 -245
  168. regula/documentreader/webclient/gen/models/result_mrz_detector.py +93 -0
  169. regula/documentreader/webclient/gen/models/result_mrz_detector_item.py +83 -0
  170. regula/documentreader/webclient/gen/models/rfid_a_chip.py +33 -0
  171. regula/documentreader/webclient/gen/models/rfid_access_control_info.py +90 -0
  172. regula/documentreader/webclient/gen/models/rfid_access_control_procedure_type.py +35 -0
  173. regula/documentreader/webclient/gen/models/rfid_access_key.py +87 -0
  174. regula/documentreader/webclient/gen/models/rfid_application.py +101 -0
  175. regula/documentreader/webclient/gen/models/rfid_application_type.py +37 -0
  176. regula/documentreader/webclient/gen/models/rfid_attribute_data.py +81 -0
  177. regula/documentreader/webclient/gen/models/rfid_attribute_name.py +85 -0
  178. regula/documentreader/webclient/gen/models/rfid_authentication_procedure_type.py +31 -0
  179. regula/documentreader/webclient/gen/models/rfid_baud_rate.py +32 -0
  180. regula/documentreader/webclient/gen/models/rfid_card_properties_ext.py +123 -0
  181. regula/documentreader/webclient/gen/models/rfid_certificate_ex.py +130 -0
  182. regula/documentreader/webclient/gen/models/rfid_certificate_origin.py +36 -0
  183. regula/documentreader/webclient/gen/models/rfid_certificate_type.py +35 -0
  184. regula/documentreader/webclient/gen/models/rfid_data_file.py +118 -0
  185. regula/documentreader/webclient/gen/models/rfid_data_file_type.py +119 -0
  186. regula/documentreader/webclient/gen/models/rfid_data_group_type_tag.py +82 -0
  187. regula/documentreader/webclient/gen/models/rfid_dg1.py +111 -0
  188. regula/documentreader/webclient/gen/models/rfid_distinguished_name.py +95 -0
  189. regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_field.py +120 -0
  190. regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_field_item.py +85 -0
  191. regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_info.py +89 -0
  192. regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_info_item.py +83 -0
  193. regula/documentreader/webclient/gen/models/rfid_error_codes.py +141 -0
  194. regula/documentreader/webclient/gen/models/rfid_graphics_info_result.py +90 -0
  195. regula/documentreader/webclient/gen/models/rfid_location.py +15 -84
  196. regula/documentreader/webclient/gen/models/rfid_origin.py +71 -192
  197. regula/documentreader/webclient/gen/models/rfid_password_type.py +34 -0
  198. regula/documentreader/webclient/gen/models/rfid_pki_extension.py +81 -0
  199. regula/documentreader/webclient/gen/models/rfid_raw_data.py +81 -0
  200. regula/documentreader/webclient/gen/models/rfid_security_object.py +96 -0
  201. regula/documentreader/webclient/gen/models/rfid_session_data.py +150 -0
  202. regula/documentreader/webclient/gen/models/rfid_signer_info_ex.py +133 -0
  203. regula/documentreader/webclient/gen/models/rfid_terminal.py +84 -0
  204. regula/documentreader/webclient/gen/models/rfid_terminal_type.py +32 -0
  205. regula/documentreader/webclient/gen/models/rfid_text_data_result.py +90 -0
  206. regula/documentreader/webclient/gen/models/rfid_type.py +30 -0
  207. regula/documentreader/webclient/gen/models/rfid_validity.py +88 -0
  208. regula/documentreader/webclient/gen/models/rfidpkd_resource_type.py +35 -0
  209. regula/documentreader/webclient/gen/models/scenario.py +32 -117
  210. regula/documentreader/webclient/gen/models/security_feature_item.py +100 -0
  211. regula/documentreader/webclient/gen/models/security_feature_result.py +97 -345
  212. regula/documentreader/webclient/gen/models/security_feature_type.py +66 -185
  213. regula/documentreader/webclient/gen/models/security_object_certificates.py +83 -0
  214. regula/documentreader/webclient/gen/models/source.py +18 -88
  215. regula/documentreader/webclient/gen/models/source_validity.py +65 -129
  216. regula/documentreader/webclient/gen/models/status.py +86 -264
  217. regula/documentreader/webclient/gen/models/status_item.py +83 -0
  218. regula/documentreader/webclient/gen/models/status_result.py +68 -231
  219. regula/documentreader/webclient/gen/models/string_item.py +135 -0
  220. regula/documentreader/webclient/gen/models/string_recognition_result.py +81 -108
  221. regula/documentreader/webclient/gen/models/symbol.py +79 -0
  222. regula/documentreader/webclient/gen/models/symbol_candidate.py +72 -143
  223. regula/documentreader/webclient/gen/models/symbol_estimation_item.py +115 -0
  224. regula/documentreader/webclient/gen/models/symbol_recognition_result.py +87 -135
  225. regula/documentreader/webclient/gen/models/t_doc_binary_info.py +93 -0
  226. regula/documentreader/webclient/gen/models/t_doc_binary_info_item.py +83 -0
  227. regula/documentreader/webclient/gen/models/t_original_rfid_graphics_info.py +87 -0
  228. regula/documentreader/webclient/gen/models/t_original_rfid_graphics_info_item.py +83 -0
  229. regula/documentreader/webclient/gen/models/text.py +92 -214
  230. regula/documentreader/webclient/gen/models/text_available_source.py +67 -157
  231. regula/documentreader/webclient/gen/models/text_data_result.py +68 -230
  232. regula/documentreader/webclient/gen/models/text_field.py +115 -357
  233. regula/documentreader/webclient/gen/models/text_field_type.py +658 -1368
  234. regula/documentreader/webclient/gen/models/text_field_value.py +105 -307
  235. regula/documentreader/webclient/gen/models/text_item.py +83 -0
  236. regula/documentreader/webclient/gen/models/text_post_processing.py +16 -86
  237. regula/documentreader/webclient/gen/models/text_result.py +68 -231
  238. regula/documentreader/webclient/gen/models/transaction_image.py +61 -97
  239. regula/documentreader/webclient/gen/models/transaction_info.py +84 -302
  240. regula/documentreader/webclient/gen/models/transaction_process_get_response.py +79 -183
  241. regula/documentreader/webclient/gen/models/transaction_process_request.py +102 -299
  242. regula/documentreader/webclient/gen/models/transaction_process_response.py +107 -0
  243. regula/documentreader/webclient/gen/models/transaction_process_response_item.py +79 -0
  244. regula/documentreader/webclient/gen/models/transaction_process_result.py +93 -0
  245. regula/documentreader/webclient/gen/models/trf_ft_bytes.py +90 -0
  246. regula/documentreader/webclient/gen/models/trf_ft_string.py +85 -0
  247. regula/documentreader/webclient/gen/models/verification_result.py +17 -88
  248. regula/documentreader/webclient/gen/models/verified_field_map.py +85 -273
  249. regula/documentreader/webclient/gen/models/visibility.py +17 -88
  250. regula/documentreader/webclient/gen/models/visual_extended_field_item.py +112 -0
  251. regula/documentreader/webclient/gen/py.typed +0 -0
  252. regula/documentreader/webclient/gen/rest.py +132 -174
  253. {regula_documentreader_webclient-7.6.295rc0.dist-info → regula_documentreader_webclient-7.6.297.dev0.dist-info}/METADATA +5 -3
  254. regula_documentreader_webclient-7.6.297.dev0.dist-info/RECORD +262 -0
  255. regula/documentreader/webclient/ext/models/raw_authenticity_result_item.py +0 -27
  256. regula/documentreader/webclient/ext/models/raw_result_item.py +0 -26
  257. regula/documentreader/webclient/gen/api/default_api.py +0 -160
  258. regula/documentreader/webclient/gen/models/authenticity_result_all_of.py +0 -120
  259. regula/documentreader/webclient/gen/models/byte_array_result_all_of.py +0 -122
  260. regula/documentreader/webclient/gen/models/chosen_document_type_result_all_of.py +0 -145
  261. regula/documentreader/webclient/gen/models/device_info2.py +0 -275
  262. regula/documentreader/webclient/gen/models/doc_bar_code_info_all_of.py +0 -119
  263. regula/documentreader/webclient/gen/models/document_image_result_all_of.py +0 -120
  264. regula/documentreader/webclient/gen/models/document_position_result_all_of.py +0 -119
  265. regula/documentreader/webclient/gen/models/document_types_candidates_result_all_of.py +0 -119
  266. regula/documentreader/webclient/gen/models/encrypted_rcl_result_all_of.py +0 -122
  267. regula/documentreader/webclient/gen/models/fiber_result_all_of.py +0 -343
  268. regula/documentreader/webclient/gen/models/graphics_result_all_of.py +0 -119
  269. regula/documentreader/webclient/gen/models/ident_result_all_of.py +0 -249
  270. regula/documentreader/webclient/gen/models/image_quality_result_all_of.py +0 -120
  271. regula/documentreader/webclient/gen/models/images_result_all_of.py +0 -120
  272. regula/documentreader/webclient/gen/models/in_data_rfid_session.py +0 -121
  273. regula/documentreader/webclient/gen/models/inline_response200.py +0 -197
  274. regula/documentreader/webclient/gen/models/inline_response2001.py +0 -333
  275. regula/documentreader/webclient/gen/models/lexical_analysis_result_all_of.py +0 -119
  276. regula/documentreader/webclient/gen/models/license_result_all_of.py +0 -122
  277. regula/documentreader/webclient/gen/models/ocr_security_text_result_all_of.py +0 -353
  278. regula/documentreader/webclient/gen/models/photo_ident_result_all_of.py +0 -327
  279. regula/documentreader/webclient/gen/models/security_feature_result_all_of.py +0 -249
  280. regula/documentreader/webclient/gen/models/status_result_all_of.py +0 -120
  281. regula/documentreader/webclient/gen/models/text_data_result_all_of.py +0 -119
  282. regula/documentreader/webclient/gen/models/text_result_all_of.py +0 -120
  283. regula/documentreader/webclient/gen/models/tfdsid_list.py +0 -372
  284. regula/documentreader/webclient/gen/models/transaction_images_field_value.py +0 -227
  285. regula/documentreader/webclient/gen/models/transaction_scenario_request.py +0 -119
  286. regula_documentreader_webclient-7.6.295rc0.dist-info/RECORD +0 -192
  287. {regula_documentreader_webclient-7.6.295rc0.dist-info → regula_documentreader_webclient-7.6.297.dev0.dist-info}/WHEEL +0 -0
  288. {regula_documentreader_webclient-7.6.295rc0.dist-info → regula_documentreader_webclient-7.6.297.dev0.dist-info}/top_level.txt +0 -0
@@ -4,196 +4,77 @@
4
4
  Generated by: https://openapi-generator.tech
5
5
  """
6
6
 
7
- import pprint
8
- import re # noqa: F401
7
+ from __future__ import annotations
8
+ import json
9
+ from enum import Enum
10
+ from typing_extensions import Self
9
11
 
10
- import six
11
12
 
12
- from regula.documentreader.webclient.gen.configuration import Configuration
13
- # this line was added to enable pycharm type hinting
14
- from regula.documentreader.webclient.gen.models import *
15
-
16
-
17
- """
18
- Enumeration contains identifiers determining type of features for a document authenticity checks: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/security-feature-type/
19
- """
20
- class SecurityFeatureType(object):
21
- """NOTE: This class is auto generated by OpenAPI Generator.
22
- Ref: https://openapi-generator.tech
23
-
24
- Do not edit the class manually.
13
+ class SecurityFeatureType(int, Enum):
14
+ """
15
+ Enumeration contains identifiers determining type of features for a document authenticity checks: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/security-feature-type/
25
16
  """
26
-
27
- BLANK = int("0")
28
-
29
- FILL = int("1")
30
-
31
- PHOTO = int("2")
32
-
33
- MRZ = int("3")
34
-
35
- FALSE_LUMINESCENCE = int("4")
36
-
37
- HOLO_SIMPLE = int("5")
38
-
39
- HOLO_VERIFY_STATIC = int("6")
40
-
41
- HOLO_VERIFY_MULTI_STATIC = int("7")
42
-
43
- HOLO_VERIFY_DYNAMIC = int("8")
44
-
45
- PATTERN_NOT_INTERRUPTED = int("9")
46
-
47
- PATTERN_NOT_SHIFTED = int("10")
48
-
49
- PATTERN_SAME_COLORS = int("11")
50
-
51
- PATTERN_IR_INVISIBLE = int("12")
52
-
53
- PHOTO_SIZE_CHECK = int("13")
54
-
55
- PORTRAIT_COMPARISON_VS_GHOST = int("14")
56
-
57
- PORTRAIT_COMPARISON_VS_RFID = int("15")
58
-
59
- PORTRAIT_COMPARISON_VS_VISUAL = int("16")
60
-
61
- BARCODE = int("17")
62
-
63
- PATTERN_DIFFERENT_LINES_THICKNESS = int("18")
64
-
65
- PORTRAIT_COMPARISON_VS_CAMERA = int("19")
66
-
67
- PORTRAIT_COMPARISON_RFID_VS_CAMERA = int("20")
68
-
69
- GHOST_PHOTO = int("21")
70
-
71
- CLEAR_GHOST_PHOTO = int("22")
72
-
73
- INVISIBLE_OBJECT = int("23")
74
-
75
- LOW_CONTRAST_OBJECT = int("24")
76
-
77
- PHOTO_COLOR = int("25")
78
-
79
- PHOTO_SHAPE = int("26")
80
-
81
- PHOTO_CORNERS = int("27")
82
-
83
- OCR = int("28")
84
-
85
- PORTRAIT_COMPARISON_EXT_VS_VISUAL = int("29")
86
-
87
- PORTRAIT_COMPARISON_EXT_VS_RFID = int("30")
88
-
89
- PORTRAIT_COMPARISON_EXT_VS_CAMERA = int("31")
90
-
91
- LIVENESS_DEPTH = int("32")
92
-
93
- MICRO_TEXT = int("33")
94
-
95
- FLUORESCENT_OBJECT = int("34")
96
-
97
- LANDMARK_CHECK = int("35")
98
-
99
- FACE_PRESENCE = int("36")
100
-
101
- FACE_ABSENCE = int("38")
102
-
103
- LIVENESS_SCREEN_CAPTURE = int("39")
104
-
105
- LIVENESS_ELECTRONIC_DEVICE = int("40")
106
-
107
- LIVENESS_OVI = int("41")
108
-
109
- BARCODE_SIZE_CHECK = int("42")
110
-
111
- LASINK = int("43")
112
-
113
- LIVENESS_MLI = int("44")
114
-
115
- LIVENESS_BARCODE_BACKGROUND = int("45")
116
-
117
- PORTRAIT_COMPARISON_VS_BARCODE = int("46")
118
-
119
- PORTRAIT_COMPARISON_RFID_VS_BARCODE = int("47")
120
-
121
- PORTRAIT_COMPARISON_EXT_VS_BARCODE = int("48")
122
-
123
- PORTRAIT_COMPARISON_BARCODE_VS_CAMERA = int("49")
124
-
125
- CHECK_DIGITAL_SIGNATURE = int("50")
126
-
127
- CONTACT_CHIP_CLASSIFICATION = int("51")
128
-
129
- HEAD_POSITION_CHECK = int("52")
130
-
131
- LIVENESS_BLACK_AND_WHITE_COPY_CHECK = int("53")
132
-
133
- allowable_values = [BLANK, FILL, PHOTO, MRZ, FALSE_LUMINESCENCE, HOLO_SIMPLE, HOLO_VERIFY_STATIC, HOLO_VERIFY_MULTI_STATIC, HOLO_VERIFY_DYNAMIC, PATTERN_NOT_INTERRUPTED, PATTERN_NOT_SHIFTED, PATTERN_SAME_COLORS, PATTERN_IR_INVISIBLE, PHOTO_SIZE_CHECK, PORTRAIT_COMPARISON_VS_GHOST, PORTRAIT_COMPARISON_VS_RFID, PORTRAIT_COMPARISON_VS_VISUAL, BARCODE, PATTERN_DIFFERENT_LINES_THICKNESS, PORTRAIT_COMPARISON_VS_CAMERA, PORTRAIT_COMPARISON_RFID_VS_CAMERA, GHOST_PHOTO, CLEAR_GHOST_PHOTO, INVISIBLE_OBJECT, LOW_CONTRAST_OBJECT, PHOTO_COLOR, PHOTO_SHAPE, PHOTO_CORNERS, OCR, PORTRAIT_COMPARISON_EXT_VS_VISUAL, PORTRAIT_COMPARISON_EXT_VS_RFID, PORTRAIT_COMPARISON_EXT_VS_CAMERA, LIVENESS_DEPTH, MICRO_TEXT, FLUORESCENT_OBJECT, LANDMARK_CHECK, FACE_PRESENCE, FACE_ABSENCE, LIVENESS_SCREEN_CAPTURE, LIVENESS_ELECTRONIC_DEVICE, LIVENESS_OVI, BARCODE_SIZE_CHECK, LASINK, LIVENESS_MLI, LIVENESS_BARCODE_BACKGROUND, PORTRAIT_COMPARISON_VS_BARCODE, PORTRAIT_COMPARISON_RFID_VS_BARCODE, PORTRAIT_COMPARISON_EXT_VS_BARCODE, PORTRAIT_COMPARISON_BARCODE_VS_CAMERA, CHECK_DIGITAL_SIGNATURE, CONTACT_CHIP_CLASSIFICATION, HEAD_POSITION_CHECK, LIVENESS_BLACK_AND_WHITE_COPY_CHECK] # noqa: E501
134
17
 
135
18
  """
136
- Attributes:
137
- openapi_types (dict): The key is attribute name
138
- and the value is attribute type.
139
- attribute_map (dict): The key is attribute name
140
- and the value is json key in definition.
19
+ allowed enum values
141
20
  """
142
- openapi_types = {
143
- }
144
-
145
- attribute_map = {
146
- }
147
-
148
- def __init__(self, local_vars_configuration=None): # noqa: E501
149
- """SecurityFeatureType - a model defined in OpenAPI""" # noqa: E501
150
- if local_vars_configuration is None:
151
- local_vars_configuration = Configuration()
152
- self.local_vars_configuration = local_vars_configuration
153
- self.discriminator = None
154
-
155
- def to_dict(self):
156
- """Returns the model properties as a dict"""
157
- result = {}
158
-
159
- for attr, _ in six.iteritems(self.openapi_types):
160
- value = getattr(self, attr)
161
- if isinstance(value, list):
162
- result[attr] = list(map(
163
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
164
- value
165
- ))
166
- elif hasattr(value, "to_dict"):
167
- result[attr] = value.to_dict()
168
- elif isinstance(value, dict):
169
- result[attr] = dict(map(
170
- lambda item: (item[0], item[1].to_dict())
171
- if hasattr(item[1], "to_dict") else item,
172
- value.items()
173
- ))
174
- else:
175
- result[attr] = value
176
-
177
- return result
178
-
179
- def to_str(self):
180
- """Returns the string representation of the model"""
181
- return pprint.pformat(self.to_dict())
182
-
183
- def __repr__(self):
184
- """For `print` and `pprint`"""
185
- return self.to_str()
186
-
187
- def __eq__(self, other):
188
- """Returns true if both objects are equal"""
189
- if not isinstance(other, SecurityFeatureType):
190
- return False
191
-
192
- return self.to_dict() == other.to_dict()
21
+ BLANK = 0
22
+ FILL = 1
23
+ PHOTO = 2
24
+ MRZ = 3
25
+ FALSE_LUMINESCENCE = 4
26
+ HOLO_SIMPLE = 5
27
+ HOLO_VERIFY_STATIC = 6
28
+ HOLO_VERIFY_MULTI_STATIC = 7
29
+ HOLO_VERIFY_DYNAMIC = 8
30
+ PATTERN_NOT_INTERRUPTED = 9
31
+ PATTERN_NOT_SHIFTED = 10
32
+ PATTERN_SAME_COLORS = 11
33
+ PATTERN_IR_INVISIBLE = 12
34
+ PHOTO_SIZE_CHECK = 13
35
+ PORTRAIT_COMPARISON_VS_GHOST = 14
36
+ PORTRAIT_COMPARISON_VS_RFID = 15
37
+ PORTRAIT_COMPARISON_VS_VISUAL = 16
38
+ BARCODE = 17
39
+ PATTERN_DIFFERENT_LINES_THICKNESS = 18
40
+ PORTRAIT_COMPARISON_VS_CAMERA = 19
41
+ PORTRAIT_COMPARISON_RFID_VS_CAMERA = 20
42
+ GHOST_PHOTO = 21
43
+ CLEAR_GHOST_PHOTO = 22
44
+ INVISIBLE_OBJECT = 23
45
+ LOW_CONTRAST_OBJECT = 24
46
+ PHOTO_COLOR = 25
47
+ PHOTO_SHAPE = 26
48
+ PHOTO_CORNERS = 27
49
+ OCR = 28
50
+ PORTRAIT_COMPARISON_EXT_VS_VISUAL = 29
51
+ PORTRAIT_COMPARISON_EXT_VS_RFID = 30
52
+ PORTRAIT_COMPARISON_EXT_VS_CAMERA = 31
53
+ LIVENESS_DEPTH = 32
54
+ MICRO_TEXT = 33
55
+ FLUORESCENT_OBJECT = 34
56
+ LANDMARK_CHECK = 35
57
+ FACE_PRESENCE = 36
58
+ FACE_ABSENCE = 38
59
+ LIVENESS_SCREEN_CAPTURE = 39
60
+ LIVENESS_ELECTRONIC_DEVICE = 40
61
+ LIVENESS_OVI = 41
62
+ BARCODE_SIZE_CHECK = 42
63
+ LASINK = 43
64
+ LIVENESS_MLI = 44
65
+ LIVENESS_BARCODE_BACKGROUND = 45
66
+ PORTRAIT_COMPARISON_VS_BARCODE = 46
67
+ PORTRAIT_COMPARISON_RFID_VS_BARCODE = 47
68
+ PORTRAIT_COMPARISON_EXT_VS_BARCODE = 48
69
+ PORTRAIT_COMPARISON_BARCODE_VS_CAMERA = 49
70
+ CHECK_DIGITAL_SIGNATURE = 50
71
+ CONTACT_CHIP_CLASSIFICATION = 51
72
+ HEAD_POSITION_CHECK = 52
73
+ LIVENESS_BLACK_AND_WHITE_COPY_CHECK = 53
74
+
75
+ @classmethod
76
+ def from_json(cls, json_str: str) -> Self:
77
+ """Create an instance of SecurityFeatureType from a JSON string"""
78
+ return cls(json.loads(json_str))
193
79
 
194
- def __ne__(self, other):
195
- """Returns true if both objects are not equal"""
196
- if not isinstance(other, SecurityFeatureType):
197
- return True
198
80
 
199
- return self.to_dict() != other.to_dict()
@@ -0,0 +1,83 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Generated by: https://openapi-generator.tech
5
+ """
6
+
7
+ from __future__ import annotations
8
+ import pprint
9
+ import re # noqa: F401
10
+ import json
11
+
12
+ from pydantic import BaseModel, ConfigDict, Field
13
+ from typing import Any, ClassVar, Dict, List, Optional
14
+ from regula.documentreader.webclient.gen.models.certificate_data import CertificateData
15
+ from typing import Optional, Set
16
+ from typing_extensions import Self
17
+
18
+ class SecurityObjectCertificates(BaseModel):
19
+ """
20
+ SecurityObjectCertificates
21
+ """ # noqa: E501
22
+ certificate_data: Optional[CertificateData] = Field(default=None, alias="Certificate_Data")
23
+ __properties: ClassVar[List[str]] = ["Certificate_Data"]
24
+
25
+ model_config = ConfigDict(
26
+ populate_by_name=True,
27
+ validate_assignment=True,
28
+ protected_namespaces=(),
29
+ )
30
+
31
+
32
+ def to_str(self) -> str:
33
+ """Returns the string representation of the model using alias"""
34
+ return pprint.pformat(self.model_dump(by_alias=True))
35
+
36
+ def to_json(self) -> str:
37
+ """Returns the JSON representation of the model using alias"""
38
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
39
+ return json.dumps(self.to_dict())
40
+
41
+ @classmethod
42
+ def from_json(cls, json_str: str) -> Optional[Self]:
43
+ """Create an instance of SecurityObjectCertificates from a JSON string"""
44
+ return cls.from_dict(json.loads(json_str))
45
+
46
+ def to_dict(self) -> Dict[str, Any]:
47
+ """Return the dictionary representation of the model using alias.
48
+
49
+ This has the following differences from calling pydantic's
50
+ `self.model_dump(by_alias=True)`:
51
+
52
+ * `None` is only added to the output dict for nullable fields that
53
+ were set at model initialization. Other fields with value `None`
54
+ are ignored.
55
+ """
56
+ excluded_fields: Set[str] = set([
57
+ ])
58
+
59
+ _dict = self.model_dump(
60
+ by_alias=True,
61
+ exclude=excluded_fields,
62
+ exclude_none=True,
63
+ )
64
+ # override the default output from pydantic by calling `to_dict()` of certificate_data
65
+ if self.certificate_data:
66
+ _dict['Certificate_Data'] = self.certificate_data.to_dict()
67
+ return _dict
68
+
69
+ @classmethod
70
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
71
+ """Create an instance of SecurityObjectCertificates from a dict"""
72
+ if obj is None:
73
+ return None
74
+
75
+ if not isinstance(obj, dict):
76
+ return cls.model_validate(obj)
77
+
78
+ _obj = cls.model_validate({
79
+ "Certificate_Data": CertificateData.from_dict(obj["Certificate_Data"]) if obj.get("Certificate_Data") is not None else None
80
+ })
81
+ return _obj
82
+
83
+
@@ -4,100 +4,30 @@
4
4
  Generated by: https://openapi-generator.tech
5
5
  """
6
6
 
7
- import pprint
8
- import re # noqa: F401
7
+ from __future__ import annotations
8
+ import json
9
+ from enum import Enum
10
+ from typing_extensions import Self
9
11
 
10
- import six
11
12
 
12
- from regula.documentreader.webclient.gen.configuration import Configuration
13
- # this line was added to enable pycharm type hinting
14
- from regula.documentreader.webclient.gen.models import *
15
-
16
-
17
- """
18
- Document data sources
19
- """
20
- class Source(object):
21
- """NOTE: This class is auto generated by OpenAPI Generator.
22
- Ref: https://openapi-generator.tech
23
-
24
- Do not edit the class manually.
13
+ class Source(str, Enum):
14
+ """
15
+ Document data sources
25
16
  """
26
-
27
- MRZ = "MRZ"
28
-
29
- VISUAL = "VISUAL"
30
-
31
- BARCODE = "BARCODE"
32
-
33
- RFID = "RFID"
34
-
35
- MAGNETIC = "MAGNETIC"
36
-
37
- allowable_values = [MRZ, VISUAL, BARCODE, RFID, MAGNETIC] # noqa: E501
38
17
 
39
18
  """
40
- Attributes:
41
- openapi_types (dict): The key is attribute name
42
- and the value is attribute type.
43
- attribute_map (dict): The key is attribute name
44
- and the value is json key in definition.
19
+ allowed enum values
45
20
  """
46
- openapi_types = {
47
- }
48
-
49
- attribute_map = {
50
- }
51
-
52
- def __init__(self, local_vars_configuration=None): # noqa: E501
53
- """Source - a model defined in OpenAPI""" # noqa: E501
54
- if local_vars_configuration is None:
55
- local_vars_configuration = Configuration()
56
- self.local_vars_configuration = local_vars_configuration
57
- self.discriminator = None
58
-
59
- def to_dict(self):
60
- """Returns the model properties as a dict"""
61
- result = {}
62
-
63
- for attr, _ in six.iteritems(self.openapi_types):
64
- value = getattr(self, attr)
65
- if isinstance(value, list):
66
- result[attr] = list(map(
67
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
68
- value
69
- ))
70
- elif hasattr(value, "to_dict"):
71
- result[attr] = value.to_dict()
72
- elif isinstance(value, dict):
73
- result[attr] = dict(map(
74
- lambda item: (item[0], item[1].to_dict())
75
- if hasattr(item[1], "to_dict") else item,
76
- value.items()
77
- ))
78
- else:
79
- result[attr] = value
80
-
81
- return result
82
-
83
- def to_str(self):
84
- """Returns the string representation of the model"""
85
- return pprint.pformat(self.to_dict())
86
-
87
- def __repr__(self):
88
- """For `print` and `pprint`"""
89
- return self.to_str()
90
-
91
- def __eq__(self, other):
92
- """Returns true if both objects are equal"""
93
- if not isinstance(other, Source):
94
- return False
21
+ MRZ = 'MRZ'
22
+ VISUAL = 'VISUAL'
23
+ BARCODE = 'BARCODE'
24
+ RFID = 'RFID'
25
+ MAGNETIC = 'MAGNETIC'
26
+ EXTERNAL = 'EXTERNAL'
95
27
 
96
- return self.to_dict() == other.to_dict()
28
+ @classmethod
29
+ def from_json(cls, json_str: str) -> Self:
30
+ """Create an instance of Source from a JSON string"""
31
+ return cls(json.loads(json_str))
97
32
 
98
- def __ne__(self, other):
99
- """Returns true if both objects are not equal"""
100
- if not isinstance(other, Source):
101
- return True
102
33
 
103
- return self.to_dict() != other.to_dict()
@@ -4,144 +4,80 @@
4
4
  Generated by: https://openapi-generator.tech
5
5
  """
6
6
 
7
+ from __future__ import annotations
7
8
  import pprint
8
9
  import re # noqa: F401
10
+ import json
9
11
 
10
- import six
12
+ from pydantic import BaseModel, ConfigDict
13
+ from typing import Any, ClassVar, Dict, List
14
+ from regula.documentreader.webclient.gen.models.check_result import CheckResult
15
+ from regula.documentreader.webclient.gen.models.source import Source
16
+ from typing import Optional, Set
17
+ from typing_extensions import Self
11
18
 
12
- from regula.documentreader.webclient.gen.configuration import Configuration
13
- # this line was added to enable pycharm type hinting
14
- from regula.documentreader.webclient.gen.models import *
15
-
16
-
17
- """
18
-
19
- """
20
- class SourceValidity(object):
21
- """NOTE: This class is auto generated by OpenAPI Generator.
22
- Ref: https://openapi-generator.tech
23
-
24
- Do not edit the class manually.
19
+ class SourceValidity(BaseModel):
25
20
  """
26
-
27
- """
28
- Attributes:
29
- openapi_types (dict): The key is attribute name
30
- and the value is attribute type.
31
- attribute_map (dict): The key is attribute name
32
- and the value is json key in definition.
33
- """
34
- openapi_types = {
35
- 'source': 'Source',
36
- 'status': 'CheckResult'
37
- }
38
-
39
- attribute_map = {
40
- 'source': 'source',
41
- 'status': 'status'
42
- }
43
-
44
- def __init__(self, source=None, status=None, local_vars_configuration=None): # noqa: E501
45
- """SourceValidity - a model defined in OpenAPI""" # noqa: E501
46
- if local_vars_configuration is None:
47
- local_vars_configuration = Configuration()
48
- self.local_vars_configuration = local_vars_configuration
49
-
50
- self._source = None
51
- self._status = None
52
- self.discriminator = None
53
-
54
- self.source = source
55
- self.status = status
56
-
57
- @property
58
- def source(self):
59
- """Gets the source of this SourceValidity. # noqa: E501
60
-
61
-
62
- :return: The source of this SourceValidity. # noqa: E501
63
- :rtype: Source
21
+ SourceValidity
22
+ """ # noqa: E501
23
+ source: Source
24
+ status: CheckResult
25
+ __properties: ClassVar[List[str]] = ["source", "status"]
26
+
27
+ model_config = ConfigDict(
28
+ populate_by_name=True,
29
+ validate_assignment=True,
30
+ protected_namespaces=(),
31
+ )
32
+
33
+
34
+ def to_str(self) -> str:
35
+ """Returns the string representation of the model using alias"""
36
+ return pprint.pformat(self.model_dump(by_alias=True))
37
+
38
+ def to_json(self) -> str:
39
+ """Returns the JSON representation of the model using alias"""
40
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
41
+ return json.dumps(self.to_dict())
42
+
43
+ @classmethod
44
+ def from_json(cls, json_str: str) -> Optional[Self]:
45
+ """Create an instance of SourceValidity from a JSON string"""
46
+ return cls.from_dict(json.loads(json_str))
47
+
48
+ def to_dict(self) -> Dict[str, Any]:
49
+ """Return the dictionary representation of the model using alias.
50
+
51
+ This has the following differences from calling pydantic's
52
+ `self.model_dump(by_alias=True)`:
53
+
54
+ * `None` is only added to the output dict for nullable fields that
55
+ were set at model initialization. Other fields with value `None`
56
+ are ignored.
64
57
  """
65
- return self._source
66
-
67
- @source.setter
68
- def source(self, source):
69
- """Sets the source of this SourceValidity.
58
+ excluded_fields: Set[str] = set([
59
+ ])
70
60
 
61
+ _dict = self.model_dump(
62
+ by_alias=True,
63
+ exclude=excluded_fields,
64
+ exclude_none=True,
65
+ )
66
+ return _dict
71
67
 
72
- :param source: The source of this SourceValidity. # noqa: E501
73
- :type source: Source
74
- """
75
- if self.local_vars_configuration.client_side_validation and source is None: # noqa: E501
76
- raise ValueError("Invalid value for `source`, must not be `None`") # noqa: E501
68
+ @classmethod
69
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
70
+ """Create an instance of SourceValidity from a dict"""
71
+ if obj is None:
72
+ return None
77
73
 
78
- self._source = source
74
+ if not isinstance(obj, dict):
75
+ return cls.model_validate(obj)
79
76
 
80
- @property
81
- def status(self):
82
- """Gets the status of this SourceValidity. # noqa: E501
77
+ _obj = cls.model_validate({
78
+ "source": obj.get("source"),
79
+ "status": obj.get("status")
80
+ })
81
+ return _obj
83
82
 
84
83
 
85
- :return: The status of this SourceValidity. # noqa: E501
86
- :rtype: CheckResult
87
- """
88
- return self._status
89
-
90
- @status.setter
91
- def status(self, status):
92
- """Sets the status of this SourceValidity.
93
-
94
-
95
- :param status: The status of this SourceValidity. # noqa: E501
96
- :type status: CheckResult
97
- """
98
- if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501
99
- raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501
100
-
101
- self._status = status
102
-
103
- def to_dict(self):
104
- """Returns the model properties as a dict"""
105
- result = {}
106
-
107
- for attr, _ in six.iteritems(self.openapi_types):
108
- value = getattr(self, attr)
109
- if isinstance(value, list):
110
- result[attr] = list(map(
111
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
112
- value
113
- ))
114
- elif hasattr(value, "to_dict"):
115
- result[attr] = value.to_dict()
116
- elif isinstance(value, dict):
117
- result[attr] = dict(map(
118
- lambda item: (item[0], item[1].to_dict())
119
- if hasattr(item[1], "to_dict") else item,
120
- value.items()
121
- ))
122
- else:
123
- result[attr] = value
124
-
125
- return result
126
-
127
- def to_str(self):
128
- """Returns the string representation of the model"""
129
- return pprint.pformat(self.to_dict())
130
-
131
- def __repr__(self):
132
- """For `print` and `pprint`"""
133
- return self.to_str()
134
-
135
- def __eq__(self, other):
136
- """Returns true if both objects are equal"""
137
- if not isinstance(other, SourceValidity):
138
- return False
139
-
140
- return self.to_dict() == other.to_dict()
141
-
142
- def __ne__(self, other):
143
- """Returns true if both objects are not equal"""
144
- if not isinstance(other, SourceValidity):
145
- return True
146
-
147
- return self.to_dict() != other.to_dict()