field-manager-python-client 4.4.82rc1__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 (489) hide show
  1. field-manager-python-client/__init__.py +8 -0
  2. field-manager-python-client/api/__init__.py +1 -0
  3. field-manager-python-client/api/bff/__init__.py +0 -0
  4. field-manager-python-client/api/bff/get_files_in_project_projects_project_id_bff_files_get.py +222 -0
  5. field-manager-python-client/api/bff/get_location_summaries_projects_project_id_location_summaries_get.py +198 -0
  6. field-manager-python-client/api/bff/get_project_location_methodtypes_summary_organizations_organization_id_projectlocationmethodtypes_get.py +194 -0
  7. field-manager-python-client/api/bff/get_project_summaries_project_summaries_get.py +243 -0
  8. field-manager-python-client/api/comments/__init__.py +0 -0
  9. field-manager-python-client/api/comments/delete_comment_projects_project_id_locations_location_id_comments_comment_id_delete.py +246 -0
  10. field-manager-python-client/api/comments/get_comments_projects_project_id_locations_location_id_comments_get.py +235 -0
  11. field-manager-python-client/api/comments/get_likes_projects_project_id_locations_location_id_comments_comment_id_likes_get.py +248 -0
  12. field-manager-python-client/api/comments/like_comment_projects_project_id_locations_location_id_comments_comment_id_likes_post.py +242 -0
  13. field-manager-python-client/api/comments/modify_comment_projects_project_id_locations_location_id_comments_comment_id_text_put.py +255 -0
  14. field-manager-python-client/api/comments/submit_comment_projects_project_id_locations_location_id_comments_post.py +250 -0
  15. field-manager-python-client/api/comments/unlike_comment_projects_project_id_locations_location_id_comments_comment_id_likes_like_id_delete.py +247 -0
  16. field-manager-python-client/api/export/__init__.py +0 -0
  17. field-manager-python-client/api/export/export_files_projects_project_id_export_files_get.py +225 -0
  18. field-manager-python-client/api/export/export_projects_project_id_export_post.py +290 -0
  19. field-manager-python-client/api/files/__init__.py +0 -0
  20. field-manager-python-client/api/files/change_file_metadata_projects_project_id_files_file_id_put.py +220 -0
  21. field-manager-python-client/api/files/download_file_projects_project_id_files_file_id_download_get.py +246 -0
  22. field-manager-python-client/api/files/download_file_via_token_download_projects_project_id_file_get.py +248 -0
  23. field-manager-python-client/api/files/download_file_with_temporary_project_token_download_projects_project_id_file_file_id_get.py +261 -0
  24. field-manager-python-client/api/files/export_files_via_token_download_projects_project_id_export_files_get.py +240 -0
  25. field-manager-python-client/api/files/file_token_projects_project_id_files_file_id_token_get.py +198 -0
  26. field-manager-python-client/api/files/parse_project_file_projects_project_id_files_file_id_parse_post.py +275 -0
  27. field-manager-python-client/api/files/project_token_projects_project_id_token_get.py +180 -0
  28. field-manager-python-client/api/gis/__init__.py +0 -0
  29. field-manager-python-client/api/gis/get_locations_in_project_projects_project_id_gis_onshore_get.py +236 -0
  30. field-manager-python-client/api/location_types/__init__.py +0 -0
  31. field-manager-python-client/api/location_types/get_location_iogp_type_location_iogp_types_iogp_type_id_get.py +177 -0
  32. field-manager-python-client/api/location_types/get_location_iogp_types_location_iogp_types_get.py +154 -0
  33. field-manager-python-client/api/location_types/get_location_type_location_types_location_type_id_get.py +185 -0
  34. field-manager-python-client/api/location_types/get_location_types_location_types_get.py +107 -0
  35. field-manager-python-client/api/locations/__init__.py +0 -0
  36. field-manager-python-client/api/locations/add_location_to_project_projects_project_id_locations_post.py +214 -0
  37. field-manager-python-client/api/locations/delete_file_projects_project_id_locations_location_id_files_file_id_delete.py +223 -0
  38. field-manager-python-client/api/locations/delete_location_in_project_projects_project_id_locations_location_id_delete.py +194 -0
  39. field-manager-python-client/api/locations/delete_locations_in_project_projects_project_id_locations_delete.py +208 -0
  40. field-manager-python-client/api/locations/export_projects_project_id_locations_location_id_export_get.py +258 -0
  41. field-manager-python-client/api/locations/get_files_in_location_in_project_projects_project_id_locations_location_id_files_get.py +236 -0
  42. field-manager-python-client/api/locations/get_location_in_project_by_name_projects_project_id_locations_get_by_name_name_get.py +197 -0
  43. field-manager-python-client/api/locations/get_location_in_project_projects_project_id_locations_location_id_get.py +198 -0
  44. field-manager-python-client/api/locations/get_locations_in_project_projects_project_id_locations_get.py +307 -0
  45. field-manager-python-client/api/locations/queue_locations_to_project_projects_project_id_locations_queue_post.py +317 -0
  46. field-manager-python-client/api/locations/update_location_in_project_projects_project_id_locations_location_id_put.py +220 -0
  47. field-manager-python-client/api/locations/update_locations_in_project_projects_project_id_locations_put.py +217 -0
  48. field-manager-python-client/api/locations/upload_file_to_location_projects_project_id_locations_location_id_upload_post.py +505 -0
  49. field-manager-python-client/api/locations/upload_locations_to_project_projects_project_id_locations_upload_post.py +315 -0
  50. field-manager-python-client/api/map_layouts/__init__.py +0 -0
  51. field-manager-python-client/api/map_layouts/add_map_layout_to_project_projects_project_id_map_layouts_post.py +206 -0
  52. field-manager-python-client/api/map_layouts/add_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_post.py +220 -0
  53. field-manager-python-client/api/map_layouts/delete_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_delete.py +194 -0
  54. field-manager-python-client/api/map_layouts/delete_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_delete.py +207 -0
  55. field-manager-python-client/api/map_layouts/delete_map_layouts_in_project_projects_project_id_map_layouts_delete.py +212 -0
  56. field-manager-python-client/api/map_layouts/get_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_get.py +198 -0
  57. field-manager-python-client/api/map_layouts/get_map_layouts_in_project_projects_project_id_map_layouts_get.py +190 -0
  58. field-manager-python-client/api/map_layouts/update_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_put.py +220 -0
  59. field-manager-python-client/api/map_layouts/update_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_put.py +237 -0
  60. field-manager-python-client/api/method_types/__init__.py +0 -0
  61. field-manager-python-client/api/method_types/get_method_type_method_types_method_type_id_get.py +176 -0
  62. field-manager-python-client/api/method_types/get_method_types_method_types_get.py +154 -0
  63. field-manager-python-client/api/methods/__init__.py +0 -0
  64. field-manager-python-client/api/methods/add_method_to_location_projects_project_id_locations_location_id_methods_post.py +587 -0
  65. field-manager-python-client/api/methods/create_data_row_projects_project_id_locations_location_id_methods_method_id_data_post.py +396 -0
  66. field-manager-python-client/api/methods/delete_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_delete.py +220 -0
  67. field-manager-python-client/api/methods/delete_file_projects_project_id_locations_location_id_methods_method_id_files_file_id_delete.py +240 -0
  68. field-manager-python-client/api/methods/delete_method_for_location_projects_project_id_locations_location_id_methods_method_id_delete.py +207 -0
  69. field-manager-python-client/api/methods/export_projects_project_id_locations_location_id_methods_method_id_export_get.py +283 -0
  70. field-manager-python-client/api/methods/get_files_for_method_projects_project_id_locations_location_id_methods_method_id_files_get.py +249 -0
  71. field-manager-python-client/api/methods/get_method_projects_project_id_locations_location_id_methods_method_id_get.py +483 -0
  72. field-manager-python-client/api/methods/get_methods_data_projects_project_id_locations_location_id_methods_method_id_data_get.py +335 -0
  73. field-manager-python-client/api/methods/get_methods_for_location_of_type_projects_project_id_locations_location_id_methods_type_method_type_name_get.py +528 -0
  74. field-manager-python-client/api/methods/get_methods_for_location_projects_project_id_locations_location_id_methods_get.py +518 -0
  75. field-manager-python-client/api/methods/update_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_put.py +402 -0
  76. field-manager-python-client/api/methods/update_method_for_location_projects_project_id_locations_location_id_methods_method_id_put.py +600 -0
  77. field-manager-python-client/api/methods/upload_file_projects_project_id_locations_location_id_methods_method_id_upload_post.py +538 -0
  78. field-manager-python-client/api/organizations/__init__.py +0 -0
  79. field-manager-python-client/api/organizations/add_organization_organizations_post.py +193 -0
  80. field-manager-python-client/api/organizations/delete_file_organizations_organization_id_files_file_id_delete.py +194 -0
  81. field-manager-python-client/api/organizations/download_file_organizations_organization_id_files_file_id_download_get.py +222 -0
  82. field-manager-python-client/api/organizations/get_files_in_organization_organizations_organization_id_files_get.py +246 -0
  83. field-manager-python-client/api/organizations/get_organization_by_external_id_organizations_get_by_external_id_external_id_get.py +184 -0
  84. field-manager-python-client/api/organizations/get_organization_organizations_organization_id_get.py +184 -0
  85. field-manager-python-client/api/organizations/get_organization_projects_organizations_organization_id_projects_get.py +228 -0
  86. field-manager-python-client/api/organizations/get_organization_users_organizations_organization_id_users_get.py +182 -0
  87. field-manager-python-client/api/organizations/get_organizations_organizations_get.py +215 -0
  88. field-manager-python-client/api/organizations/move_organization_project_organizations_organization_id_projects_project_id_move_post.py +228 -0
  89. field-manager-python-client/api/organizations/update_organization_organizations_organization_id_put.py +206 -0
  90. field-manager-python-client/api/organizations/upload_file_to_organization_organizations_organization_id_upload_post.py +205 -0
  91. field-manager-python-client/api/piezometers/__init__.py +0 -0
  92. field-manager-python-client/api/piezometers/create_piezometer_model_projects_project_id_piezometers_models_post.py +206 -0
  93. field-manager-python-client/api/piezometers/get_piezometer_model_projects_project_id_piezometers_models_model_id_get.py +190 -0
  94. field-manager-python-client/api/piezometers/get_piezometer_models_projects_project_id_piezometers_models_get.py +182 -0
  95. field-manager-python-client/api/piezometers/get_piezometer_units_piezometers_units_get.py +170 -0
  96. field-manager-python-client/api/piezometers/get_piezometer_vendor_projects_project_id_piezometers_vendors_vendor_id_get.py +190 -0
  97. field-manager-python-client/api/piezometers/get_piezometer_vendors_projects_project_id_piezometers_vendors_get.py +182 -0
  98. field-manager-python-client/api/piezometers/update_piezometer_model_projects_project_id_piezometers_models_model_id_put.py +220 -0
  99. field-manager-python-client/api/plots/__init__.py +0 -0
  100. field-manager-python-client/api/plots/get_plot_from_sequence_plots_project_project_id_format_post.py +216 -0
  101. field-manager-python-client/api/plots/get_plot_sequence_plots_project_project_id_plot_sequence_format_post.py +218 -0
  102. field-manager-python-client/api/projects/__init__.py +0 -0
  103. field-manager-python-client/api/projects/add_project_projects_post.py +245 -0
  104. field-manager-python-client/api/projects/delete_file_projects_project_id_files_file_id_delete.py +194 -0
  105. field-manager-python-client/api/projects/delete_files_projects_project_id_files_delete.py +224 -0
  106. field-manager-python-client/api/projects/delete_project_projects_project_id_delete.py +180 -0
  107. field-manager-python-client/api/projects/delete_projects_projects_delete.py +195 -0
  108. field-manager-python-client/api/projects/download_logo_projects_project_id_logo_get.py +200 -0
  109. field-manager-python-client/api/projects/get_file_in_project_projects_project_id_files_file_id_get.py +198 -0
  110. field-manager-python-client/api/projects/get_files_in_project_projects_project_id_files_get.py +256 -0
  111. field-manager-python-client/api/projects/get_linked_projects_projects_project_id_linked_projects_get.py +190 -0
  112. field-manager-python-client/api/projects/get_project_projects_project_id_get.py +176 -0
  113. field-manager-python-client/api/projects/get_project_summary_projects_project_id_summary_get.py +192 -0
  114. field-manager-python-client/api/projects/get_project_users_projects_project_id_users_get.py +169 -0
  115. field-manager-python-client/api/projects/get_projects_projects_get.py +235 -0
  116. field-manager-python-client/api/projects/link_linked_project_projects_project_id_linked_projects_linked_project_id_post.py +198 -0
  117. field-manager-python-client/api/projects/search_projects_projects_search_post.py +228 -0
  118. field-manager-python-client/api/projects/unlink_linked_project_projects_project_id_linked_projects_linked_project_id_delete.py +198 -0
  119. field-manager-python-client/api/projects/update_project_favorite_projects_project_id_favorite_delete.py +184 -0
  120. field-manager-python-client/api/projects/update_project_favorite_projects_project_id_favorite_post.py +184 -0
  121. field-manager-python-client/api/projects/update_project_favorite_projects_project_id_favorite_put.py +184 -0
  122. field-manager-python-client/api/projects/update_project_projects_project_id_put.py +222 -0
  123. field-manager-python-client/api/projects/upload_file_to_project_projects_project_id_upload_post.py +276 -0
  124. field-manager-python-client/api/public/__init__.py +0 -0
  125. field-manager-python-client/api/public/get_organization_by_email_address_public_organizations_email_address_get.py +198 -0
  126. field-manager-python-client/api/public/get_organization_information_public_organizations_organization_id_information_get.py +185 -0
  127. field-manager-python-client/api/sample_containers/__init__.py +0 -0
  128. field-manager-python-client/api/sample_containers/get_sample_container_sample_containers_sample_container_type_id_get.py +176 -0
  129. field-manager-python-client/api/sample_containers/get_sample_containers_sample_containers_get.py +154 -0
  130. field-manager-python-client/api/sample_materials/__init__.py +0 -0
  131. field-manager-python-client/api/sample_materials/get_sample_material_sample_materials_sample_material_id_get.py +176 -0
  132. field-manager-python-client/api/sample_materials/get_sample_materials_sample_materials_get.py +154 -0
  133. field-manager-python-client/api/sampler_types/__init__.py +0 -0
  134. field-manager-python-client/api/sampler_types/get_sampler_type_sampler_types_sampler_type_id_get.py +176 -0
  135. field-manager-python-client/api/sampler_types/get_sampler_types_sampler_types_get.py +154 -0
  136. field-manager-python-client/api/sampling_techniques/__init__.py +0 -0
  137. field-manager-python-client/api/sampling_techniques/get_sampling_technique_sampling_techniques_sampling_technique_id_get.py +176 -0
  138. field-manager-python-client/api/sampling_techniques/get_sampling_techniques_sampling_techniques_get.py +154 -0
  139. field-manager-python-client/api/standards/__init__.py +0 -0
  140. field-manager-python-client/api/standards/get_project_standards_standards_get.py +154 -0
  141. field-manager-python-client/api/standards/get_standard_standards_standard_id_get.py +176 -0
  142. field-manager-python-client/api/users/__init__.py +0 -0
  143. field-manager-python-client/api/users/add_user_role_users_user_id_roles_post.py +192 -0
  144. field-manager-python-client/api/users/add_user_users_post.py +202 -0
  145. field-manager-python-client/api/users/get_user_users_user_id_get.py +170 -0
  146. field-manager-python-client/api/users/get_users_users_get.py +131 -0
  147. field-manager-python-client/api/users/remove_user_role_users_user_id_roles_delete.py +223 -0
  148. field-manager-python-client/api/version/__init__.py +0 -0
  149. field-manager-python-client/api/version/get_version_version_get.py +105 -0
  150. field-manager-python-client/client.py +268 -0
  151. field-manager-python-client/errors.py +14 -0
  152. field-manager-python-client/models/__init__.py +669 -0
  153. field-manager-python-client/models/application_class_enum.py +12 -0
  154. field-manager-python-client/models/background_map_layer.py +12 -0
  155. field-manager-python-client/models/bedrock_info.py +122 -0
  156. field-manager-python-client/models/bedrock_type.py +9 -0
  157. field-manager-python-client/models/bff_file.py +233 -0
  158. field-manager-python-client/models/bff_location.py +84 -0
  159. field-manager-python-client/models/bff_location_summary.py +376 -0
  160. field-manager-python-client/models/bff_method.py +103 -0
  161. field-manager-python-client/models/bff_method_summary.py +434 -0
  162. field-manager-python-client/models/bff_project_summary.py +254 -0
  163. field-manager-python-client/models/body_queue_locations_to_project_projects_project_id_locations_queue_post.py +132 -0
  164. field-manager-python-client/models/body_upload_file_projects_project_id_locations_location_id_methods_method_id_upload_post.py +132 -0
  165. field-manager-python-client/models/body_upload_file_to_location_projects_project_id_locations_location_id_upload_post.py +132 -0
  166. field-manager-python-client/models/body_upload_file_to_organization_organizations_organization_id_upload_post.py +132 -0
  167. field-manager-python-client/models/body_upload_file_to_project_projects_project_id_upload_post.py +132 -0
  168. field-manager-python-client/models/body_upload_locations_to_project_projects_project_id_locations_upload_post.py +132 -0
  169. field-manager-python-client/models/color_mode.py +8 -0
  170. field-manager-python-client/models/comment.py +233 -0
  171. field-manager-python-client/models/comment_create.py +72 -0
  172. field-manager-python-client/models/comment_update.py +72 -0
  173. field-manager-python-client/models/cpt_options.py +96 -0
  174. field-manager-python-client/models/date_format.py +8 -0
  175. field-manager-python-client/models/dp_type.py +11 -0
  176. field-manager-python-client/models/export.py +270 -0
  177. field-manager-python-client/models/export_type.py +14 -0
  178. field-manager-python-client/models/file.py +338 -0
  179. field-manager-python-client/models/file_extended.py +395 -0
  180. field-manager-python-client/models/file_extension.py +81 -0
  181. field-manager-python-client/models/file_type.py +10 -0
  182. field-manager-python-client/models/file_update.py +109 -0
  183. field-manager-python-client/models/fm_plot_options.py +168 -0
  184. field-manager-python-client/models/height_reference.py +12 -0
  185. field-manager-python-client/models/http_validation_error.py +97 -0
  186. field-manager-python-client/models/image_size.py +10 -0
  187. field-manager-python-client/models/iogp_type.py +100 -0
  188. field-manager-python-client/models/iogp_type_enum.py +33 -0
  189. field-manager-python-client/models/language.py +10 -0
  190. field-manager-python-client/models/like.py +139 -0
  191. field-manager-python-client/models/linked_project_info.py +441 -0
  192. field-manager-python-client/models/location.py +849 -0
  193. field-manager-python-client/models/location_coordinates.py +130 -0
  194. field-manager-python-client/models/location_create.py +840 -0
  195. field-manager-python-client/models/location_gis.py +481 -0
  196. field-manager-python-client/models/location_info.py +166 -0
  197. field-manager-python-client/models/location_min.py +111 -0
  198. field-manager-python-client/models/location_summary.py +381 -0
  199. field-manager-python-client/models/location_type.py +8 -0
  200. field-manager-python-client/models/location_type_enum.py +8 -0
  201. field-manager-python-client/models/location_update.py +1180 -0
  202. field-manager-python-client/models/map_layout.py +195 -0
  203. field-manager-python-client/models/map_layout_create.py +138 -0
  204. field-manager-python-client/models/map_layout_update.py +154 -0
  205. field-manager-python-client/models/map_layout_version.py +502 -0
  206. field-manager-python-client/models/map_layout_version_create.py +488 -0
  207. field-manager-python-client/models/map_layout_version_update.py +616 -0
  208. field-manager-python-client/models/map_scale.py +13 -0
  209. field-manager-python-client/models/method_ad.py +330 -0
  210. field-manager-python-client/models/method_ad_create.py +344 -0
  211. field-manager-python-client/models/method_ad_create_method_type_id.py +7 -0
  212. field-manager-python-client/models/method_ad_method_type_id.py +7 -0
  213. field-manager-python-client/models/method_ad_update.py +309 -0
  214. field-manager-python-client/models/method_ad_update_method_type_id.py +7 -0
  215. field-manager-python-client/models/method_cd.py +688 -0
  216. field-manager-python-client/models/method_cd_create.py +524 -0
  217. field-manager-python-client/models/method_cd_create_method_type_id.py +7 -0
  218. field-manager-python-client/models/method_cd_method_type_id.py +7 -0
  219. field-manager-python-client/models/method_cd_update.py +477 -0
  220. field-manager-python-client/models/method_cd_update_method_type_id.py +7 -0
  221. field-manager-python-client/models/method_cpt.py +618 -0
  222. field-manager-python-client/models/method_cpt_create.py +559 -0
  223. field-manager-python-client/models/method_cpt_create_method_type_id.py +7 -0
  224. field-manager-python-client/models/method_cpt_data.py +417 -0
  225. field-manager-python-client/models/method_cpt_data_create.py +511 -0
  226. field-manager-python-client/models/method_cpt_data_create_method_type_id.py +7 -0
  227. field-manager-python-client/models/method_cpt_data_method_type_id.py +7 -0
  228. field-manager-python-client/models/method_cpt_data_update.py +132 -0
  229. field-manager-python-client/models/method_cpt_data_update_method_type_id.py +7 -0
  230. field-manager-python-client/models/method_cpt_method_type_id.py +7 -0
  231. field-manager-python-client/models/method_cpt_update.py +524 -0
  232. field-manager-python-client/models/method_cpt_update_method_type_id.py +7 -0
  233. field-manager-python-client/models/method_dp.py +510 -0
  234. field-manager-python-client/models/method_dp_create.py +512 -0
  235. field-manager-python-client/models/method_dp_create_method_type_id.py +7 -0
  236. field-manager-python-client/models/method_dp_data.py +312 -0
  237. field-manager-python-client/models/method_dp_data_create.py +406 -0
  238. field-manager-python-client/models/method_dp_data_create_method_type_id.py +7 -0
  239. field-manager-python-client/models/method_dp_data_method_type_id.py +7 -0
  240. field-manager-python-client/models/method_dp_method_type_id.py +7 -0
  241. field-manager-python-client/models/method_dp_update.py +309 -0
  242. field-manager-python-client/models/method_dp_update_method_type_id.py +7 -0
  243. field-manager-python-client/models/method_dt.py +479 -0
  244. field-manager-python-client/models/method_dt_create.py +492 -0
  245. field-manager-python-client/models/method_dt_create_method_type_id.py +7 -0
  246. field-manager-python-client/models/method_dt_data.py +241 -0
  247. field-manager-python-client/models/method_dt_data_create.py +330 -0
  248. field-manager-python-client/models/method_dt_data_create_method_type_id.py +7 -0
  249. field-manager-python-client/models/method_dt_data_method_type_id.py +7 -0
  250. field-manager-python-client/models/method_dt_data_update.py +195 -0
  251. field-manager-python-client/models/method_dt_data_update_method_type_id.py +7 -0
  252. field-manager-python-client/models/method_dt_method_type_id.py +7 -0
  253. field-manager-python-client/models/method_dt_update.py +456 -0
  254. field-manager-python-client/models/method_dt_update_method_type_id.py +7 -0
  255. field-manager-python-client/models/method_esa.py +330 -0
  256. field-manager-python-client/models/method_esa_create.py +344 -0
  257. field-manager-python-client/models/method_esa_create_method_type_id.py +7 -0
  258. field-manager-python-client/models/method_esa_method_type_id.py +7 -0
  259. field-manager-python-client/models/method_esa_update.py +309 -0
  260. field-manager-python-client/models/method_esa_update_method_type_id.py +7 -0
  261. field-manager-python-client/models/method_export_type.py +7 -0
  262. field-manager-python-client/models/method_inc.py +331 -0
  263. field-manager-python-client/models/method_inc_create.py +344 -0
  264. field-manager-python-client/models/method_inc_create_method_type_id.py +7 -0
  265. field-manager-python-client/models/method_inc_method_type_id.py +7 -0
  266. field-manager-python-client/models/method_inc_update.py +309 -0
  267. field-manager-python-client/models/method_inc_update_method_type_id.py +7 -0
  268. field-manager-python-client/models/method_info.py +325 -0
  269. field-manager-python-client/models/method_iw.py +330 -0
  270. field-manager-python-client/models/method_iw_create.py +344 -0
  271. field-manager-python-client/models/method_iw_create_method_type_id.py +7 -0
  272. field-manager-python-client/models/method_iw_method_type_id.py +7 -0
  273. field-manager-python-client/models/method_iw_update.py +309 -0
  274. field-manager-python-client/models/method_iw_update_method_type_id.py +7 -0
  275. field-manager-python-client/models/method_min.py +111 -0
  276. field-manager-python-client/models/method_other.py +331 -0
  277. field-manager-python-client/models/method_other_create.py +344 -0
  278. field-manager-python-client/models/method_other_create_method_type_id.py +7 -0
  279. field-manager-python-client/models/method_other_method_type_id.py +7 -0
  280. field-manager-python-client/models/method_other_update.py +309 -0
  281. field-manager-python-client/models/method_other_update_method_type_id.py +7 -0
  282. field-manager-python-client/models/method_pt.py +331 -0
  283. field-manager-python-client/models/method_pt_create.py +344 -0
  284. field-manager-python-client/models/method_pt_create_method_type_id.py +7 -0
  285. field-manager-python-client/models/method_pt_method_type_id.py +7 -0
  286. field-manager-python-client/models/method_pt_update.py +309 -0
  287. field-manager-python-client/models/method_pt_update_method_type_id.py +7 -0
  288. field-manager-python-client/models/method_pz.py +824 -0
  289. field-manager-python-client/models/method_pz_create.py +738 -0
  290. field-manager-python-client/models/method_pz_create_method_type_id.py +7 -0
  291. field-manager-python-client/models/method_pz_data.py +306 -0
  292. field-manager-python-client/models/method_pz_data_create.py +353 -0
  293. field-manager-python-client/models/method_pz_data_create_method_type_id.py +7 -0
  294. field-manager-python-client/models/method_pz_data_method_type_id.py +7 -0
  295. field-manager-python-client/models/method_pz_data_update.py +242 -0
  296. field-manager-python-client/models/method_pz_data_update_method_type_id.py +7 -0
  297. field-manager-python-client/models/method_pz_method_type_id.py +7 -0
  298. field-manager-python-client/models/method_pz_update.py +704 -0
  299. field-manager-python-client/models/method_pz_update_method_type_id.py +7 -0
  300. field-manager-python-client/models/method_rcd.py +457 -0
  301. field-manager-python-client/models/method_rcd_create.py +365 -0
  302. field-manager-python-client/models/method_rcd_create_method_type_id.py +7 -0
  303. field-manager-python-client/models/method_rcd_data.py +207 -0
  304. field-manager-python-client/models/method_rcd_data_create.py +301 -0
  305. field-manager-python-client/models/method_rcd_data_create_method_type_id.py +7 -0
  306. field-manager-python-client/models/method_rcd_data_method_type_id.py +7 -0
  307. field-manager-python-client/models/method_rcd_data_update.py +173 -0
  308. field-manager-python-client/models/method_rcd_data_update_method_type_id.py +7 -0
  309. field-manager-python-client/models/method_rcd_method_type_id.py +7 -0
  310. field-manager-python-client/models/method_rcd_update.py +330 -0
  311. field-manager-python-client/models/method_rcd_update_method_type_id.py +7 -0
  312. field-manager-python-client/models/method_ro.py +331 -0
  313. field-manager-python-client/models/method_ro_create.py +344 -0
  314. field-manager-python-client/models/method_ro_create_method_type_id.py +7 -0
  315. field-manager-python-client/models/method_ro_method_type_id.py +7 -0
  316. field-manager-python-client/models/method_ro_update.py +309 -0
  317. field-manager-python-client/models/method_ro_update_method_type_id.py +7 -0
  318. field-manager-python-client/models/method_rp.py +415 -0
  319. field-manager-python-client/models/method_rp_create.py +367 -0
  320. field-manager-python-client/models/method_rp_create_method_type_id.py +7 -0
  321. field-manager-python-client/models/method_rp_data.py +333 -0
  322. field-manager-python-client/models/method_rp_data_create.py +426 -0
  323. field-manager-python-client/models/method_rp_data_create_method_type_id.py +7 -0
  324. field-manager-python-client/models/method_rp_data_method_type_id.py +7 -0
  325. field-manager-python-client/models/method_rp_data_update.py +131 -0
  326. field-manager-python-client/models/method_rp_data_update_method_type_id.py +7 -0
  327. field-manager-python-client/models/method_rp_method_type_id.py +7 -0
  328. field-manager-python-client/models/method_rp_update.py +331 -0
  329. field-manager-python-client/models/method_rp_update_method_type_id.py +7 -0
  330. field-manager-python-client/models/method_rs.py +331 -0
  331. field-manager-python-client/models/method_rs_create.py +344 -0
  332. field-manager-python-client/models/method_rs_create_method_type_id.py +7 -0
  333. field-manager-python-client/models/method_rs_method_type_id.py +7 -0
  334. field-manager-python-client/models/method_rs_update.py +309 -0
  335. field-manager-python-client/models/method_rs_update_method_type_id.py +7 -0
  336. field-manager-python-client/models/method_rws.py +331 -0
  337. field-manager-python-client/models/method_rws_create.py +344 -0
  338. field-manager-python-client/models/method_rws_create_method_type_id.py +7 -0
  339. field-manager-python-client/models/method_rws_method_type_id.py +7 -0
  340. field-manager-python-client/models/method_rws_update.py +309 -0
  341. field-manager-python-client/models/method_rws_update_method_type_id.py +7 -0
  342. field-manager-python-client/models/method_sa.py +513 -0
  343. field-manager-python-client/models/method_sa_create.py +506 -0
  344. field-manager-python-client/models/method_sa_create_method_type_id.py +7 -0
  345. field-manager-python-client/models/method_sa_method_type_id.py +7 -0
  346. field-manager-python-client/models/method_sa_update.py +471 -0
  347. field-manager-python-client/models/method_sa_update_method_type_id.py +7 -0
  348. field-manager-python-client/models/method_spt.py +331 -0
  349. field-manager-python-client/models/method_spt_create.py +344 -0
  350. field-manager-python-client/models/method_spt_create_method_type_id.py +7 -0
  351. field-manager-python-client/models/method_spt_method_type_id.py +7 -0
  352. field-manager-python-client/models/method_spt_update.py +309 -0
  353. field-manager-python-client/models/method_spt_update_method_type_id.py +7 -0
  354. field-manager-python-client/models/method_sr.py +331 -0
  355. field-manager-python-client/models/method_sr_create.py +344 -0
  356. field-manager-python-client/models/method_sr_create_method_type_id.py +7 -0
  357. field-manager-python-client/models/method_sr_method_type_id.py +7 -0
  358. field-manager-python-client/models/method_sr_update.py +309 -0
  359. field-manager-python-client/models/method_sr_update_method_type_id.py +7 -0
  360. field-manager-python-client/models/method_srs.py +546 -0
  361. field-manager-python-client/models/method_srs_create.py +446 -0
  362. field-manager-python-client/models/method_srs_create_method_type_id.py +7 -0
  363. field-manager-python-client/models/method_srs_data.py +396 -0
  364. field-manager-python-client/models/method_srs_data_create.py +490 -0
  365. field-manager-python-client/models/method_srs_data_create_method_type_id.py +7 -0
  366. field-manager-python-client/models/method_srs_data_method_type_id.py +7 -0
  367. field-manager-python-client/models/method_srs_data_update.py +362 -0
  368. field-manager-python-client/models/method_srs_data_update_method_type_id.py +7 -0
  369. field-manager-python-client/models/method_srs_method_type_id.py +7 -0
  370. field-manager-python-client/models/method_srs_update.py +418 -0
  371. field-manager-python-client/models/method_srs_update_method_type_id.py +7 -0
  372. field-manager-python-client/models/method_ss.py +394 -0
  373. field-manager-python-client/models/method_ss_create.py +365 -0
  374. field-manager-python-client/models/method_ss_create_method_type_id.py +7 -0
  375. field-manager-python-client/models/method_ss_data.py +228 -0
  376. field-manager-python-client/models/method_ss_data_create.py +329 -0
  377. field-manager-python-client/models/method_ss_data_create_method_type_id.py +7 -0
  378. field-manager-python-client/models/method_ss_data_method_type_id.py +7 -0
  379. field-manager-python-client/models/method_ss_data_update.py +194 -0
  380. field-manager-python-client/models/method_ss_data_update_method_type_id.py +7 -0
  381. field-manager-python-client/models/method_ss_method_type_id.py +7 -0
  382. field-manager-python-client/models/method_ss_update.py +330 -0
  383. field-manager-python-client/models/method_ss_update_method_type_id.py +7 -0
  384. field-manager-python-client/models/method_status_enum.py +11 -0
  385. field-manager-python-client/models/method_summary.py +466 -0
  386. field-manager-python-client/models/method_svt.py +469 -0
  387. field-manager-python-client/models/method_svt_create.py +482 -0
  388. field-manager-python-client/models/method_svt_create_method_type_id.py +7 -0
  389. field-manager-python-client/models/method_svt_data.py +333 -0
  390. field-manager-python-client/models/method_svt_data_create.py +364 -0
  391. field-manager-python-client/models/method_svt_data_create_method_type_id.py +7 -0
  392. field-manager-python-client/models/method_svt_data_method_type_id.py +7 -0
  393. field-manager-python-client/models/method_svt_data_update.py +236 -0
  394. field-manager-python-client/models/method_svt_data_update_method_type_id.py +7 -0
  395. field-manager-python-client/models/method_svt_method_type_id.py +7 -0
  396. field-manager-python-client/models/method_svt_update.py +447 -0
  397. field-manager-python-client/models/method_svt_update_method_type_id.py +7 -0
  398. field-manager-python-client/models/method_tot.py +478 -0
  399. field-manager-python-client/models/method_tot_create.py +366 -0
  400. field-manager-python-client/models/method_tot_create_method_type_id.py +7 -0
  401. field-manager-python-client/models/method_tot_data.py +375 -0
  402. field-manager-python-client/models/method_tot_data_create.py +469 -0
  403. field-manager-python-client/models/method_tot_data_create_method_type_id.py +7 -0
  404. field-manager-python-client/models/method_tot_data_method_type_id.py +7 -0
  405. field-manager-python-client/models/method_tot_data_update.py +132 -0
  406. field-manager-python-client/models/method_tot_data_update_method_type_id.py +7 -0
  407. field-manager-python-client/models/method_tot_method_type_id.py +7 -0
  408. field-manager-python-client/models/method_tot_update.py +331 -0
  409. field-manager-python-client/models/method_tot_update_method_type_id.py +7 -0
  410. field-manager-python-client/models/method_tp.py +331 -0
  411. field-manager-python-client/models/method_tp_create.py +344 -0
  412. field-manager-python-client/models/method_tp_create_method_type_id.py +7 -0
  413. field-manager-python-client/models/method_tp_method_type_id.py +7 -0
  414. field-manager-python-client/models/method_tp_update.py +309 -0
  415. field-manager-python-client/models/method_tp_update_method_type_id.py +7 -0
  416. field-manager-python-client/models/method_type.py +162 -0
  417. field-manager-python-client/models/method_type_enum.py +31 -0
  418. field-manager-python-client/models/method_type_enum_str.py +31 -0
  419. field-manager-python-client/models/method_wst.py +390 -0
  420. field-manager-python-client/models/method_wst_create.py +369 -0
  421. field-manager-python-client/models/method_wst_create_method_type_id.py +7 -0
  422. field-manager-python-client/models/method_wst_data.py +249 -0
  423. field-manager-python-client/models/method_wst_data_create.py +343 -0
  424. field-manager-python-client/models/method_wst_data_create_method_type_id.py +7 -0
  425. field-manager-python-client/models/method_wst_data_method_type_id.py +7 -0
  426. field-manager-python-client/models/method_wst_data_update.py +215 -0
  427. field-manager-python-client/models/method_wst_data_update_method_type_id.py +7 -0
  428. field-manager-python-client/models/method_wst_method_type_id.py +7 -0
  429. field-manager-python-client/models/method_wst_update.py +343 -0
  430. field-manager-python-client/models/method_wst_update_method_type_id.py +7 -0
  431. field-manager-python-client/models/operation.py +8 -0
  432. field-manager-python-client/models/options.py +170 -0
  433. field-manager-python-client/models/organization.py +378 -0
  434. field-manager-python-client/models/organization_create.py +355 -0
  435. field-manager-python-client/models/organization_information.py +172 -0
  436. field-manager-python-client/models/organization_min.py +129 -0
  437. field-manager-python-client/models/organization_update.py +355 -0
  438. field-manager-python-client/models/orientation.py +8 -0
  439. field-manager-python-client/models/page_number_prefix_by_method.py +277 -0
  440. field-manager-python-client/models/page_number_start_per_method.py +277 -0
  441. field-manager-python-client/models/paper_size.py +17 -0
  442. field-manager-python-client/models/pdf_options.py +392 -0
  443. field-manager-python-client/models/pdf_options_date_format.py +8 -0
  444. field-manager-python-client/models/pdf_options_lang.py +8 -0
  445. field-manager-python-client/models/pdf_options_paper_size.py +8 -0
  446. field-manager-python-client/models/pdf_options_sort_figures_by.py +8 -0
  447. field-manager-python-client/models/pdf_page_info.py +323 -0
  448. field-manager-python-client/models/piezometer_model.py +199 -0
  449. field-manager-python-client/models/piezometer_model_create.py +204 -0
  450. field-manager-python-client/models/piezometer_model_update.py +206 -0
  451. field-manager-python-client/models/piezometer_type.py +9 -0
  452. field-manager-python-client/models/piezometer_vendor.py +141 -0
  453. field-manager-python-client/models/pizeometer_units.py +163 -0
  454. field-manager-python-client/models/plot_data_stats.py +152 -0
  455. field-manager-python-client/models/plot_data_stats_percentiles.py +73 -0
  456. field-manager-python-client/models/plot_format.py +11 -0
  457. field-manager-python-client/models/plot_info_object.py +353 -0
  458. field-manager-python-client/models/plot_info_object_stats_type_0.py +77 -0
  459. field-manager-python-client/models/plot_sequence.py +116 -0
  460. field-manager-python-client/models/plot_sequence_options.py +109 -0
  461. field-manager-python-client/models/plot_type.py +17 -0
  462. field-manager-python-client/models/project.py +312 -0
  463. field-manager-python-client/models/project_create.py +325 -0
  464. field-manager-python-client/models/project_info.py +428 -0
  465. field-manager-python-client/models/project_location_method_types.py +255 -0
  466. field-manager-python-client/models/project_search.py +112 -0
  467. field-manager-python-client/models/project_summary.py +455 -0
  468. field-manager-python-client/models/project_update.py +277 -0
  469. field-manager-python-client/models/reading_type.py +9 -0
  470. field-manager-python-client/models/role.py +147 -0
  471. field-manager-python-client/models/role_entity_enum.py +8 -0
  472. field-manager-python-client/models/role_enum.py +10 -0
  473. field-manager-python-client/models/sample_container_type.py +96 -0
  474. field-manager-python-client/models/sample_material.py +96 -0
  475. field-manager-python-client/models/sampler_type.py +96 -0
  476. field-manager-python-client/models/sampling_technique.py +96 -0
  477. field-manager-python-client/models/scales.py +26 -0
  478. field-manager-python-client/models/scaling_mode.py +9 -0
  479. field-manager-python-client/models/sounding_class.py +10 -0
  480. field-manager-python-client/models/standard.py +133 -0
  481. field-manager-python-client/models/standard_type.py +10 -0
  482. field-manager-python-client/models/transformation_type.py +9 -0
  483. field-manager-python-client/models/user.py +195 -0
  484. field-manager-python-client/models/validation_error.py +105 -0
  485. field-manager-python-client/py.typed +1 -0
  486. field-manager-python-client/types.py +44 -0
  487. field_manager_python_client-4.4.82rc1.dist-info/METADATA +144 -0
  488. field_manager_python_client-4.4.82rc1.dist-info/RECORD +489 -0
  489. field_manager_python_client-4.4.82rc1.dist-info/WHEEL +4 -0
@@ -0,0 +1,704 @@
1
+ from typing import Any, Dict, Type, TypeVar, Tuple, Optional, BinaryIO, TextIO, TYPE_CHECKING
2
+
3
+ from typing import List
4
+
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+
9
+ from ..types import UNSET, Unset
10
+
11
+ from ..models.method_pz_update_method_type_id import MethodPZUpdateMethodTypeId
12
+ from ..models.method_status_enum import MethodStatusEnum
13
+ from ..models.piezometer_type import PiezometerType
14
+ from ..models.transformation_type import TransformationType
15
+ from ..types import UNSET, Unset
16
+ from dateutil.parser import isoparse
17
+ from typing import cast
18
+ from typing import cast, Union
19
+ from typing import Union
20
+ from uuid import UUID
21
+ import datetime
22
+
23
+
24
+
25
+
26
+
27
+
28
+ T = TypeVar("T", bound="MethodPZUpdate")
29
+
30
+
31
+ @_attrs_define
32
+ class MethodPZUpdate:
33
+ """
34
+ Attributes:
35
+ method_id (Union[None, UUID, Unset]):
36
+ name (Union[None, Unset, str]):
37
+ remarks (Union[None, Unset, str]):
38
+ method_status_id (Union[MethodStatusEnum, None, Unset]):
39
+ updated_at (Union[None, Unset, datetime.datetime]):
40
+ updated_by (Union[None, Unset, str]):
41
+ conducted_by (Union[None, Unset, str]):
42
+ conducted_at (Union[None, Unset, datetime.datetime]):
43
+ method_type_id (Union[Unset, MethodPZUpdateMethodTypeId]): Default: MethodPZUpdateMethodTypeId.VALUE_5.
44
+ piezometer_type (Union[None, PiezometerType, Unset]):
45
+ depth_top (Union[None, Unset, float, str]):
46
+ depth_base (Union[None, Unset, float, str]):
47
+ distance_over_terrain (Union[None, Unset, float, str]):
48
+ model_id (Union[None, UUID, Unset]):
49
+ transformation_type (Union[None, TransformationType, Unset]):
50
+ mandatory_barometric_pressure (Union[None, Unset, bool]):
51
+ mandatory_temperature (Union[None, Unset, bool]):
52
+ pore_pressure_unit (Union[None, Unset, str]):
53
+ serial_number (Union[None, Unset, str]):
54
+ default_barometric_pressure (Union[None, Unset, float, str]):
55
+ polynomial_factor_a (Union[None, Unset, float, str]):
56
+ polynomial_factor_b (Union[None, Unset, float, str]):
57
+ polynomial_factor_k (Union[None, Unset, float, str]):
58
+ zero_reading_pore_pressure (Union[None, Unset, float, str]):
59
+ zero_reading_barometric_pressure (Union[None, Unset, float, str]):
60
+ zero_reading_temperature (Union[None, Unset, float, str]):
61
+ """
62
+
63
+ method_id: Union[None, UUID, Unset] = UNSET
64
+ name: Union[None, Unset, str] = UNSET
65
+ remarks: Union[None, Unset, str] = UNSET
66
+ method_status_id: Union[MethodStatusEnum, None, Unset] = UNSET
67
+ updated_at: Union[None, Unset, datetime.datetime] = UNSET
68
+ updated_by: Union[None, Unset, str] = UNSET
69
+ conducted_by: Union[None, Unset, str] = UNSET
70
+ conducted_at: Union[None, Unset, datetime.datetime] = UNSET
71
+ method_type_id: Union[Unset, MethodPZUpdateMethodTypeId] = MethodPZUpdateMethodTypeId.VALUE_5
72
+ piezometer_type: Union[None, PiezometerType, Unset] = UNSET
73
+ depth_top: Union[None, Unset, float, str] = UNSET
74
+ depth_base: Union[None, Unset, float, str] = UNSET
75
+ distance_over_terrain: Union[None, Unset, float, str] = UNSET
76
+ model_id: Union[None, UUID, Unset] = UNSET
77
+ transformation_type: Union[None, TransformationType, Unset] = UNSET
78
+ mandatory_barometric_pressure: Union[None, Unset, bool] = UNSET
79
+ mandatory_temperature: Union[None, Unset, bool] = UNSET
80
+ pore_pressure_unit: Union[None, Unset, str] = UNSET
81
+ serial_number: Union[None, Unset, str] = UNSET
82
+ default_barometric_pressure: Union[None, Unset, float, str] = UNSET
83
+ polynomial_factor_a: Union[None, Unset, float, str] = UNSET
84
+ polynomial_factor_b: Union[None, Unset, float, str] = UNSET
85
+ polynomial_factor_k: Union[None, Unset, float, str] = UNSET
86
+ zero_reading_pore_pressure: Union[None, Unset, float, str] = UNSET
87
+ zero_reading_barometric_pressure: Union[None, Unset, float, str] = UNSET
88
+ zero_reading_temperature: Union[None, Unset, float, str] = UNSET
89
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
90
+
91
+
92
+ def to_dict(self) -> Dict[str, Any]:
93
+ method_id: Union[None, Unset, str]
94
+ if isinstance(self.method_id, Unset):
95
+ method_id = UNSET
96
+ elif isinstance(self.method_id, UUID):
97
+ method_id = str(self.method_id)
98
+ else:
99
+ method_id = self.method_id
100
+
101
+ name: Union[None, Unset, str]
102
+ if isinstance(self.name, Unset):
103
+ name = UNSET
104
+ else:
105
+ name = self.name
106
+
107
+ remarks: Union[None, Unset, str]
108
+ if isinstance(self.remarks, Unset):
109
+ remarks = UNSET
110
+ else:
111
+ remarks = self.remarks
112
+
113
+ method_status_id: Union[None, Unset, int]
114
+ if isinstance(self.method_status_id, Unset):
115
+ method_status_id = UNSET
116
+ elif isinstance(self.method_status_id, MethodStatusEnum):
117
+ method_status_id = self.method_status_id.value
118
+ else:
119
+ method_status_id = self.method_status_id
120
+
121
+ updated_at: Union[None, Unset, str]
122
+ if isinstance(self.updated_at, Unset):
123
+ updated_at = UNSET
124
+ elif isinstance(self.updated_at, datetime.datetime):
125
+ updated_at = self.updated_at.isoformat()
126
+ else:
127
+ updated_at = self.updated_at
128
+
129
+ updated_by: Union[None, Unset, str]
130
+ if isinstance(self.updated_by, Unset):
131
+ updated_by = UNSET
132
+ else:
133
+ updated_by = self.updated_by
134
+
135
+ conducted_by: Union[None, Unset, str]
136
+ if isinstance(self.conducted_by, Unset):
137
+ conducted_by = UNSET
138
+ else:
139
+ conducted_by = self.conducted_by
140
+
141
+ conducted_at: Union[None, Unset, str]
142
+ if isinstance(self.conducted_at, Unset):
143
+ conducted_at = UNSET
144
+ elif isinstance(self.conducted_at, datetime.datetime):
145
+ conducted_at = self.conducted_at.isoformat()
146
+ else:
147
+ conducted_at = self.conducted_at
148
+
149
+ method_type_id: Union[Unset, int] = UNSET
150
+ if not isinstance(self.method_type_id, Unset):
151
+ method_type_id = self.method_type_id.value
152
+
153
+
154
+ piezometer_type: Union[None, Unset, str]
155
+ if isinstance(self.piezometer_type, Unset):
156
+ piezometer_type = UNSET
157
+ elif isinstance(self.piezometer_type, PiezometerType):
158
+ piezometer_type = self.piezometer_type.value
159
+ else:
160
+ piezometer_type = self.piezometer_type
161
+
162
+ depth_top: Union[None, Unset, float, str]
163
+ if isinstance(self.depth_top, Unset):
164
+ depth_top = UNSET
165
+ else:
166
+ depth_top = self.depth_top
167
+
168
+ depth_base: Union[None, Unset, float, str]
169
+ if isinstance(self.depth_base, Unset):
170
+ depth_base = UNSET
171
+ else:
172
+ depth_base = self.depth_base
173
+
174
+ distance_over_terrain: Union[None, Unset, float, str]
175
+ if isinstance(self.distance_over_terrain, Unset):
176
+ distance_over_terrain = UNSET
177
+ else:
178
+ distance_over_terrain = self.distance_over_terrain
179
+
180
+ model_id: Union[None, Unset, str]
181
+ if isinstance(self.model_id, Unset):
182
+ model_id = UNSET
183
+ elif isinstance(self.model_id, UUID):
184
+ model_id = str(self.model_id)
185
+ else:
186
+ model_id = self.model_id
187
+
188
+ transformation_type: Union[None, Unset, str]
189
+ if isinstance(self.transformation_type, Unset):
190
+ transformation_type = UNSET
191
+ elif isinstance(self.transformation_type, TransformationType):
192
+ transformation_type = self.transformation_type.value
193
+ else:
194
+ transformation_type = self.transformation_type
195
+
196
+ mandatory_barometric_pressure: Union[None, Unset, bool]
197
+ if isinstance(self.mandatory_barometric_pressure, Unset):
198
+ mandatory_barometric_pressure = UNSET
199
+ else:
200
+ mandatory_barometric_pressure = self.mandatory_barometric_pressure
201
+
202
+ mandatory_temperature: Union[None, Unset, bool]
203
+ if isinstance(self.mandatory_temperature, Unset):
204
+ mandatory_temperature = UNSET
205
+ else:
206
+ mandatory_temperature = self.mandatory_temperature
207
+
208
+ pore_pressure_unit: Union[None, Unset, str]
209
+ if isinstance(self.pore_pressure_unit, Unset):
210
+ pore_pressure_unit = UNSET
211
+ else:
212
+ pore_pressure_unit = self.pore_pressure_unit
213
+
214
+ serial_number: Union[None, Unset, str]
215
+ if isinstance(self.serial_number, Unset):
216
+ serial_number = UNSET
217
+ else:
218
+ serial_number = self.serial_number
219
+
220
+ default_barometric_pressure: Union[None, Unset, float, str]
221
+ if isinstance(self.default_barometric_pressure, Unset):
222
+ default_barometric_pressure = UNSET
223
+ else:
224
+ default_barometric_pressure = self.default_barometric_pressure
225
+
226
+ polynomial_factor_a: Union[None, Unset, float, str]
227
+ if isinstance(self.polynomial_factor_a, Unset):
228
+ polynomial_factor_a = UNSET
229
+ else:
230
+ polynomial_factor_a = self.polynomial_factor_a
231
+
232
+ polynomial_factor_b: Union[None, Unset, float, str]
233
+ if isinstance(self.polynomial_factor_b, Unset):
234
+ polynomial_factor_b = UNSET
235
+ else:
236
+ polynomial_factor_b = self.polynomial_factor_b
237
+
238
+ polynomial_factor_k: Union[None, Unset, float, str]
239
+ if isinstance(self.polynomial_factor_k, Unset):
240
+ polynomial_factor_k = UNSET
241
+ else:
242
+ polynomial_factor_k = self.polynomial_factor_k
243
+
244
+ zero_reading_pore_pressure: Union[None, Unset, float, str]
245
+ if isinstance(self.zero_reading_pore_pressure, Unset):
246
+ zero_reading_pore_pressure = UNSET
247
+ else:
248
+ zero_reading_pore_pressure = self.zero_reading_pore_pressure
249
+
250
+ zero_reading_barometric_pressure: Union[None, Unset, float, str]
251
+ if isinstance(self.zero_reading_barometric_pressure, Unset):
252
+ zero_reading_barometric_pressure = UNSET
253
+ else:
254
+ zero_reading_barometric_pressure = self.zero_reading_barometric_pressure
255
+
256
+ zero_reading_temperature: Union[None, Unset, float, str]
257
+ if isinstance(self.zero_reading_temperature, Unset):
258
+ zero_reading_temperature = UNSET
259
+ else:
260
+ zero_reading_temperature = self.zero_reading_temperature
261
+
262
+
263
+ field_dict: Dict[str, Any] = {}
264
+ field_dict.update(self.additional_properties)
265
+ field_dict.update({
266
+ })
267
+ if method_id is not UNSET:
268
+ field_dict["method_id"] = method_id
269
+ if name is not UNSET:
270
+ field_dict["name"] = name
271
+ if remarks is not UNSET:
272
+ field_dict["remarks"] = remarks
273
+ if method_status_id is not UNSET:
274
+ field_dict["method_status_id"] = method_status_id
275
+ if updated_at is not UNSET:
276
+ field_dict["updated_at"] = updated_at
277
+ if updated_by is not UNSET:
278
+ field_dict["updated_by"] = updated_by
279
+ if conducted_by is not UNSET:
280
+ field_dict["conducted_by"] = conducted_by
281
+ if conducted_at is not UNSET:
282
+ field_dict["conducted_at"] = conducted_at
283
+ if method_type_id is not UNSET:
284
+ field_dict["method_type_id"] = method_type_id
285
+ if piezometer_type is not UNSET:
286
+ field_dict["piezometer_type"] = piezometer_type
287
+ if depth_top is not UNSET:
288
+ field_dict["depth_top"] = depth_top
289
+ if depth_base is not UNSET:
290
+ field_dict["depth_base"] = depth_base
291
+ if distance_over_terrain is not UNSET:
292
+ field_dict["distance_over_terrain"] = distance_over_terrain
293
+ if model_id is not UNSET:
294
+ field_dict["model_id"] = model_id
295
+ if transformation_type is not UNSET:
296
+ field_dict["transformation_type"] = transformation_type
297
+ if mandatory_barometric_pressure is not UNSET:
298
+ field_dict["mandatory_barometric_pressure"] = mandatory_barometric_pressure
299
+ if mandatory_temperature is not UNSET:
300
+ field_dict["mandatory_temperature"] = mandatory_temperature
301
+ if pore_pressure_unit is not UNSET:
302
+ field_dict["pore_pressure_unit"] = pore_pressure_unit
303
+ if serial_number is not UNSET:
304
+ field_dict["serial_number"] = serial_number
305
+ if default_barometric_pressure is not UNSET:
306
+ field_dict["default_barometric_pressure"] = default_barometric_pressure
307
+ if polynomial_factor_a is not UNSET:
308
+ field_dict["polynomial_factor_a"] = polynomial_factor_a
309
+ if polynomial_factor_b is not UNSET:
310
+ field_dict["polynomial_factor_b"] = polynomial_factor_b
311
+ if polynomial_factor_k is not UNSET:
312
+ field_dict["polynomial_factor_k"] = polynomial_factor_k
313
+ if zero_reading_pore_pressure is not UNSET:
314
+ field_dict["zero_reading_pore_pressure"] = zero_reading_pore_pressure
315
+ if zero_reading_barometric_pressure is not UNSET:
316
+ field_dict["zero_reading_barometric_pressure"] = zero_reading_barometric_pressure
317
+ if zero_reading_temperature is not UNSET:
318
+ field_dict["zero_reading_temperature"] = zero_reading_temperature
319
+
320
+ return field_dict
321
+
322
+
323
+
324
+ @classmethod
325
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
326
+ d = src_dict.copy()
327
+ def _parse_method_id(data: object) -> Union[None, UUID, Unset]:
328
+ if data is None:
329
+ return data
330
+ if isinstance(data, Unset):
331
+ return data
332
+ try:
333
+ if not isinstance(data, str):
334
+ raise TypeError()
335
+ method_id_type_0 = UUID(data)
336
+
337
+
338
+
339
+ return method_id_type_0
340
+ except: # noqa: E722
341
+ pass
342
+ return cast(Union[None, UUID, Unset], data)
343
+
344
+ method_id = _parse_method_id(d.pop("method_id", UNSET))
345
+
346
+
347
+ def _parse_name(data: object) -> Union[None, Unset, str]:
348
+ if data is None:
349
+ return data
350
+ if isinstance(data, Unset):
351
+ return data
352
+ return cast(Union[None, Unset, str], data)
353
+
354
+ name = _parse_name(d.pop("name", UNSET))
355
+
356
+
357
+ def _parse_remarks(data: object) -> Union[None, Unset, str]:
358
+ if data is None:
359
+ return data
360
+ if isinstance(data, Unset):
361
+ return data
362
+ return cast(Union[None, Unset, str], data)
363
+
364
+ remarks = _parse_remarks(d.pop("remarks", UNSET))
365
+
366
+
367
+ def _parse_method_status_id(data: object) -> Union[MethodStatusEnum, None, Unset]:
368
+ if data is None:
369
+ return data
370
+ if isinstance(data, Unset):
371
+ return data
372
+ try:
373
+ if not isinstance(data, int):
374
+ raise TypeError()
375
+ method_status_id_type_0 = MethodStatusEnum(data)
376
+
377
+
378
+
379
+ return method_status_id_type_0
380
+ except: # noqa: E722
381
+ pass
382
+ return cast(Union[MethodStatusEnum, None, Unset], data)
383
+
384
+ method_status_id = _parse_method_status_id(d.pop("method_status_id", UNSET))
385
+
386
+
387
+ def _parse_updated_at(data: object) -> Union[None, Unset, datetime.datetime]:
388
+ if data is None:
389
+ return data
390
+ if isinstance(data, Unset):
391
+ return data
392
+ try:
393
+ if not isinstance(data, str):
394
+ raise TypeError()
395
+ updated_at_type_0 = isoparse(data)
396
+
397
+
398
+
399
+ return updated_at_type_0
400
+ except: # noqa: E722
401
+ pass
402
+ return cast(Union[None, Unset, datetime.datetime], data)
403
+
404
+ updated_at = _parse_updated_at(d.pop("updated_at", UNSET))
405
+
406
+
407
+ def _parse_updated_by(data: object) -> Union[None, Unset, str]:
408
+ if data is None:
409
+ return data
410
+ if isinstance(data, Unset):
411
+ return data
412
+ return cast(Union[None, Unset, str], data)
413
+
414
+ updated_by = _parse_updated_by(d.pop("updated_by", UNSET))
415
+
416
+
417
+ def _parse_conducted_by(data: object) -> Union[None, Unset, str]:
418
+ if data is None:
419
+ return data
420
+ if isinstance(data, Unset):
421
+ return data
422
+ return cast(Union[None, Unset, str], data)
423
+
424
+ conducted_by = _parse_conducted_by(d.pop("conducted_by", UNSET))
425
+
426
+
427
+ def _parse_conducted_at(data: object) -> Union[None, Unset, datetime.datetime]:
428
+ if data is None:
429
+ return data
430
+ if isinstance(data, Unset):
431
+ return data
432
+ try:
433
+ if not isinstance(data, str):
434
+ raise TypeError()
435
+ conducted_at_type_0 = isoparse(data)
436
+
437
+
438
+
439
+ return conducted_at_type_0
440
+ except: # noqa: E722
441
+ pass
442
+ return cast(Union[None, Unset, datetime.datetime], data)
443
+
444
+ conducted_at = _parse_conducted_at(d.pop("conducted_at", UNSET))
445
+
446
+
447
+ _method_type_id = d.pop("method_type_id", UNSET)
448
+ method_type_id: Union[Unset, MethodPZUpdateMethodTypeId]
449
+ if isinstance(_method_type_id, Unset):
450
+ method_type_id = UNSET
451
+ else:
452
+ method_type_id = MethodPZUpdateMethodTypeId(_method_type_id)
453
+
454
+
455
+
456
+
457
+ def _parse_piezometer_type(data: object) -> Union[None, PiezometerType, Unset]:
458
+ if data is None:
459
+ return data
460
+ if isinstance(data, Unset):
461
+ return data
462
+ try:
463
+ if not isinstance(data, str):
464
+ raise TypeError()
465
+ piezometer_type_type_0 = PiezometerType(data)
466
+
467
+
468
+
469
+ return piezometer_type_type_0
470
+ except: # noqa: E722
471
+ pass
472
+ return cast(Union[None, PiezometerType, Unset], data)
473
+
474
+ piezometer_type = _parse_piezometer_type(d.pop("piezometer_type", UNSET))
475
+
476
+
477
+ def _parse_depth_top(data: object) -> Union[None, Unset, float, str]:
478
+ if data is None:
479
+ return data
480
+ if isinstance(data, Unset):
481
+ return data
482
+ return cast(Union[None, Unset, float, str], data)
483
+
484
+ depth_top = _parse_depth_top(d.pop("depth_top", UNSET))
485
+
486
+
487
+ def _parse_depth_base(data: object) -> Union[None, Unset, float, str]:
488
+ if data is None:
489
+ return data
490
+ if isinstance(data, Unset):
491
+ return data
492
+ return cast(Union[None, Unset, float, str], data)
493
+
494
+ depth_base = _parse_depth_base(d.pop("depth_base", UNSET))
495
+
496
+
497
+ def _parse_distance_over_terrain(data: object) -> Union[None, Unset, float, str]:
498
+ if data is None:
499
+ return data
500
+ if isinstance(data, Unset):
501
+ return data
502
+ return cast(Union[None, Unset, float, str], data)
503
+
504
+ distance_over_terrain = _parse_distance_over_terrain(d.pop("distance_over_terrain", UNSET))
505
+
506
+
507
+ def _parse_model_id(data: object) -> Union[None, UUID, Unset]:
508
+ if data is None:
509
+ return data
510
+ if isinstance(data, Unset):
511
+ return data
512
+ try:
513
+ if not isinstance(data, str):
514
+ raise TypeError()
515
+ model_id_type_0 = UUID(data)
516
+
517
+
518
+
519
+ return model_id_type_0
520
+ except: # noqa: E722
521
+ pass
522
+ return cast(Union[None, UUID, Unset], data)
523
+
524
+ model_id = _parse_model_id(d.pop("model_id", UNSET))
525
+
526
+
527
+ def _parse_transformation_type(data: object) -> Union[None, TransformationType, Unset]:
528
+ if data is None:
529
+ return data
530
+ if isinstance(data, Unset):
531
+ return data
532
+ try:
533
+ if not isinstance(data, str):
534
+ raise TypeError()
535
+ transformation_type_type_0 = TransformationType(data)
536
+
537
+
538
+
539
+ return transformation_type_type_0
540
+ except: # noqa: E722
541
+ pass
542
+ return cast(Union[None, TransformationType, Unset], data)
543
+
544
+ transformation_type = _parse_transformation_type(d.pop("transformation_type", UNSET))
545
+
546
+
547
+ def _parse_mandatory_barometric_pressure(data: object) -> Union[None, Unset, bool]:
548
+ if data is None:
549
+ return data
550
+ if isinstance(data, Unset):
551
+ return data
552
+ return cast(Union[None, Unset, bool], data)
553
+
554
+ mandatory_barometric_pressure = _parse_mandatory_barometric_pressure(d.pop("mandatory_barometric_pressure", UNSET))
555
+
556
+
557
+ def _parse_mandatory_temperature(data: object) -> Union[None, Unset, bool]:
558
+ if data is None:
559
+ return data
560
+ if isinstance(data, Unset):
561
+ return data
562
+ return cast(Union[None, Unset, bool], data)
563
+
564
+ mandatory_temperature = _parse_mandatory_temperature(d.pop("mandatory_temperature", UNSET))
565
+
566
+
567
+ def _parse_pore_pressure_unit(data: object) -> Union[None, Unset, str]:
568
+ if data is None:
569
+ return data
570
+ if isinstance(data, Unset):
571
+ return data
572
+ return cast(Union[None, Unset, str], data)
573
+
574
+ pore_pressure_unit = _parse_pore_pressure_unit(d.pop("pore_pressure_unit", UNSET))
575
+
576
+
577
+ def _parse_serial_number(data: object) -> Union[None, Unset, str]:
578
+ if data is None:
579
+ return data
580
+ if isinstance(data, Unset):
581
+ return data
582
+ return cast(Union[None, Unset, str], data)
583
+
584
+ serial_number = _parse_serial_number(d.pop("serial_number", UNSET))
585
+
586
+
587
+ def _parse_default_barometric_pressure(data: object) -> Union[None, Unset, float, str]:
588
+ if data is None:
589
+ return data
590
+ if isinstance(data, Unset):
591
+ return data
592
+ return cast(Union[None, Unset, float, str], data)
593
+
594
+ default_barometric_pressure = _parse_default_barometric_pressure(d.pop("default_barometric_pressure", UNSET))
595
+
596
+
597
+ def _parse_polynomial_factor_a(data: object) -> Union[None, Unset, float, str]:
598
+ if data is None:
599
+ return data
600
+ if isinstance(data, Unset):
601
+ return data
602
+ return cast(Union[None, Unset, float, str], data)
603
+
604
+ polynomial_factor_a = _parse_polynomial_factor_a(d.pop("polynomial_factor_a", UNSET))
605
+
606
+
607
+ def _parse_polynomial_factor_b(data: object) -> Union[None, Unset, float, str]:
608
+ if data is None:
609
+ return data
610
+ if isinstance(data, Unset):
611
+ return data
612
+ return cast(Union[None, Unset, float, str], data)
613
+
614
+ polynomial_factor_b = _parse_polynomial_factor_b(d.pop("polynomial_factor_b", UNSET))
615
+
616
+
617
+ def _parse_polynomial_factor_k(data: object) -> Union[None, Unset, float, str]:
618
+ if data is None:
619
+ return data
620
+ if isinstance(data, Unset):
621
+ return data
622
+ return cast(Union[None, Unset, float, str], data)
623
+
624
+ polynomial_factor_k = _parse_polynomial_factor_k(d.pop("polynomial_factor_k", UNSET))
625
+
626
+
627
+ def _parse_zero_reading_pore_pressure(data: object) -> Union[None, Unset, float, str]:
628
+ if data is None:
629
+ return data
630
+ if isinstance(data, Unset):
631
+ return data
632
+ return cast(Union[None, Unset, float, str], data)
633
+
634
+ zero_reading_pore_pressure = _parse_zero_reading_pore_pressure(d.pop("zero_reading_pore_pressure", UNSET))
635
+
636
+
637
+ def _parse_zero_reading_barometric_pressure(data: object) -> Union[None, Unset, float, str]:
638
+ if data is None:
639
+ return data
640
+ if isinstance(data, Unset):
641
+ return data
642
+ return cast(Union[None, Unset, float, str], data)
643
+
644
+ zero_reading_barometric_pressure = _parse_zero_reading_barometric_pressure(d.pop("zero_reading_barometric_pressure", UNSET))
645
+
646
+
647
+ def _parse_zero_reading_temperature(data: object) -> Union[None, Unset, float, str]:
648
+ if data is None:
649
+ return data
650
+ if isinstance(data, Unset):
651
+ return data
652
+ return cast(Union[None, Unset, float, str], data)
653
+
654
+ zero_reading_temperature = _parse_zero_reading_temperature(d.pop("zero_reading_temperature", UNSET))
655
+
656
+
657
+ method_pz_update = cls(
658
+ method_id=method_id,
659
+ name=name,
660
+ remarks=remarks,
661
+ method_status_id=method_status_id,
662
+ updated_at=updated_at,
663
+ updated_by=updated_by,
664
+ conducted_by=conducted_by,
665
+ conducted_at=conducted_at,
666
+ method_type_id=method_type_id,
667
+ piezometer_type=piezometer_type,
668
+ depth_top=depth_top,
669
+ depth_base=depth_base,
670
+ distance_over_terrain=distance_over_terrain,
671
+ model_id=model_id,
672
+ transformation_type=transformation_type,
673
+ mandatory_barometric_pressure=mandatory_barometric_pressure,
674
+ mandatory_temperature=mandatory_temperature,
675
+ pore_pressure_unit=pore_pressure_unit,
676
+ serial_number=serial_number,
677
+ default_barometric_pressure=default_barometric_pressure,
678
+ polynomial_factor_a=polynomial_factor_a,
679
+ polynomial_factor_b=polynomial_factor_b,
680
+ polynomial_factor_k=polynomial_factor_k,
681
+ zero_reading_pore_pressure=zero_reading_pore_pressure,
682
+ zero_reading_barometric_pressure=zero_reading_barometric_pressure,
683
+ zero_reading_temperature=zero_reading_temperature,
684
+ )
685
+
686
+
687
+ method_pz_update.additional_properties = d
688
+ return method_pz_update
689
+
690
+ @property
691
+ def additional_keys(self) -> List[str]:
692
+ return list(self.additional_properties.keys())
693
+
694
+ def __getitem__(self, key: str) -> Any:
695
+ return self.additional_properties[key]
696
+
697
+ def __setitem__(self, key: str, value: Any) -> None:
698
+ self.additional_properties[key] = value
699
+
700
+ def __delitem__(self, key: str) -> None:
701
+ del self.additional_properties[key]
702
+
703
+ def __contains__(self, key: str) -> bool:
704
+ return key in self.additional_properties