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,840 @@
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.iogp_type_enum import IOGPTypeEnum
12
+ from ..types import UNSET, Unset
13
+ from dateutil.parser import isoparse
14
+ from typing import cast
15
+ from typing import cast, List
16
+ from typing import cast, Union
17
+ from typing import Dict
18
+ from typing import Union
19
+ from uuid import UUID
20
+ import datetime
21
+
22
+ if TYPE_CHECKING:
23
+ from ..models.method_cpt_create import MethodCPTCreate
24
+ from ..models.method_inc_create import MethodINCCreate
25
+ from ..models.method_rs_create import MethodRSCreate
26
+ from ..models.method_ro_create import MethodROCreate
27
+ from ..models.method_tp_create import MethodTPCreate
28
+ from ..models.method_svt_create import MethodSVTCreate
29
+ from ..models.method_sa_create import MethodSACreate
30
+ from ..models.method_esa_create import MethodESACreate
31
+ from ..models.method_cd_create import MethodCDCreate
32
+ from ..models.method_wst_create import MethodWSTCreate
33
+ from ..models.method_sr_create import MethodSRCreate
34
+ from ..models.method_rcd_create import MethodRCDCreate
35
+ from ..models.method_pz_create import MethodPZCreate
36
+ from ..models.method_dt_create import MethodDTCreate
37
+ from ..models.method_pt_create import MethodPTCreate
38
+ from ..models.method_srs_create import MethodSRSCreate
39
+ from ..models.method_rp_create import MethodRPCreate
40
+ from ..models.method_spt_create import MethodSPTCreate
41
+ from ..models.method_tot_create import MethodTOTCreate
42
+ from ..models.method_rws_create import MethodRWSCreate
43
+ from ..models.method_ad_create import MethodADCreate
44
+ from ..models.method_ss_create import MethodSSCreate
45
+ from ..models.method_dp_create import MethodDPCreate
46
+ from ..models.method_other_create import MethodOTHERCreate
47
+ from ..models.method_iw_create import MethodIWCreate
48
+
49
+
50
+
51
+
52
+
53
+ T = TypeVar("T", bound="LocationCreate")
54
+
55
+
56
+ @_attrs_define
57
+ class LocationCreate:
58
+ """
59
+ Example:
60
+ {'methods': [{'method_type_id': 1}, {'method_type_id': 2}], 'name': 'Loc01', 'point_easting': 1194547,
61
+ 'point_northing': 8388298, 'point_z': 0, 'srid': 3857}
62
+
63
+ Attributes:
64
+ name (str):
65
+ location_type_id (Union[Unset, Any]): Use Project.standard_id instead Default: 1.
66
+ iogp_type_id (Union[Unset, IOGPTypeEnum]): For offshore locations, an IOGP type is required
67
+ created_at (Union[None, Unset, datetime.datetime]):
68
+ created_by (Union[None, Unset, str]):
69
+ updated_at (Union[None, Unset, datetime.datetime]):
70
+ updated_by (Union[None, Unset, str]):
71
+ point_easting (Union[None, Unset, float]):
72
+ point_northing (Union[None, Unset, float]):
73
+ point_z (Union[None, Unset, float]):
74
+ srid (Union[None, Unset, int]):
75
+ point_x_wgs84_pseudo (Union[None, Unset, float]):
76
+ point_y_wgs84_pseudo (Union[None, Unset, float]):
77
+ point_x_wgs84_web (Union[None, Unset, float]):
78
+ point_y_wgs84_web (Union[None, Unset, float]):
79
+ tags (Union[Unset, List[str]]):
80
+ project_id (Union[None, UUID, Unset]):
81
+ methods (Union[Unset, List[Union['MethodADCreate', 'MethodCDCreate', 'MethodCPTCreate', 'MethodDPCreate',
82
+ 'MethodDTCreate', 'MethodESACreate', 'MethodINCCreate', 'MethodIWCreate', 'MethodOTHERCreate', 'MethodPTCreate',
83
+ 'MethodPZCreate', 'MethodRCDCreate', 'MethodROCreate', 'MethodRPCreate', 'MethodRSCreate', 'MethodRWSCreate',
84
+ 'MethodSACreate', 'MethodSPTCreate', 'MethodSRCreate', 'MethodSRSCreate', 'MethodSSCreate', 'MethodSVTCreate',
85
+ 'MethodTOTCreate', 'MethodTPCreate', 'MethodWSTCreate']]]):
86
+ """
87
+
88
+ name: str
89
+ location_type_id: Union[Unset, Any] = 1
90
+ iogp_type_id: Union[Unset, IOGPTypeEnum] = UNSET
91
+ created_at: Union[None, Unset, datetime.datetime] = UNSET
92
+ created_by: Union[None, Unset, str] = UNSET
93
+ updated_at: Union[None, Unset, datetime.datetime] = UNSET
94
+ updated_by: Union[None, Unset, str] = UNSET
95
+ point_easting: Union[None, Unset, float] = UNSET
96
+ point_northing: Union[None, Unset, float] = UNSET
97
+ point_z: Union[None, Unset, float] = UNSET
98
+ srid: Union[None, Unset, int] = UNSET
99
+ point_x_wgs84_pseudo: Union[None, Unset, float] = UNSET
100
+ point_y_wgs84_pseudo: Union[None, Unset, float] = UNSET
101
+ point_x_wgs84_web: Union[None, Unset, float] = UNSET
102
+ point_y_wgs84_web: Union[None, Unset, float] = UNSET
103
+ tags: Union[Unset, List[str]] = UNSET
104
+ project_id: Union[None, UUID, Unset] = UNSET
105
+ methods: Union[Unset, List[Union['MethodADCreate', 'MethodCDCreate', 'MethodCPTCreate', 'MethodDPCreate', 'MethodDTCreate', 'MethodESACreate', 'MethodINCCreate', 'MethodIWCreate', 'MethodOTHERCreate', 'MethodPTCreate', 'MethodPZCreate', 'MethodRCDCreate', 'MethodROCreate', 'MethodRPCreate', 'MethodRSCreate', 'MethodRWSCreate', 'MethodSACreate', 'MethodSPTCreate', 'MethodSRCreate', 'MethodSRSCreate', 'MethodSSCreate', 'MethodSVTCreate', 'MethodTOTCreate', 'MethodTPCreate', 'MethodWSTCreate']]] = UNSET
106
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
107
+
108
+
109
+ def to_dict(self) -> Dict[str, Any]:
110
+ from ..models.method_cpt_create import MethodCPTCreate
111
+ from ..models.method_inc_create import MethodINCCreate
112
+ from ..models.method_rs_create import MethodRSCreate
113
+ from ..models.method_ro_create import MethodROCreate
114
+ from ..models.method_tp_create import MethodTPCreate
115
+ from ..models.method_svt_create import MethodSVTCreate
116
+ from ..models.method_sa_create import MethodSACreate
117
+ from ..models.method_esa_create import MethodESACreate
118
+ from ..models.method_cd_create import MethodCDCreate
119
+ from ..models.method_wst_create import MethodWSTCreate
120
+ from ..models.method_sr_create import MethodSRCreate
121
+ from ..models.method_rcd_create import MethodRCDCreate
122
+ from ..models.method_pz_create import MethodPZCreate
123
+ from ..models.method_dt_create import MethodDTCreate
124
+ from ..models.method_pt_create import MethodPTCreate
125
+ from ..models.method_srs_create import MethodSRSCreate
126
+ from ..models.method_rp_create import MethodRPCreate
127
+ from ..models.method_spt_create import MethodSPTCreate
128
+ from ..models.method_tot_create import MethodTOTCreate
129
+ from ..models.method_rws_create import MethodRWSCreate
130
+ from ..models.method_ad_create import MethodADCreate
131
+ from ..models.method_ss_create import MethodSSCreate
132
+ from ..models.method_dp_create import MethodDPCreate
133
+ from ..models.method_other_create import MethodOTHERCreate
134
+ from ..models.method_iw_create import MethodIWCreate
135
+ name = self.name
136
+
137
+ location_type_id = self.location_type_id
138
+
139
+ iogp_type_id: Union[Unset, str] = UNSET
140
+ if not isinstance(self.iogp_type_id, Unset):
141
+ iogp_type_id = self.iogp_type_id.value
142
+
143
+
144
+ created_at: Union[None, Unset, str]
145
+ if isinstance(self.created_at, Unset):
146
+ created_at = UNSET
147
+ elif isinstance(self.created_at, datetime.datetime):
148
+ created_at = self.created_at.isoformat()
149
+ else:
150
+ created_at = self.created_at
151
+
152
+ created_by: Union[None, Unset, str]
153
+ if isinstance(self.created_by, Unset):
154
+ created_by = UNSET
155
+ else:
156
+ created_by = self.created_by
157
+
158
+ updated_at: Union[None, Unset, str]
159
+ if isinstance(self.updated_at, Unset):
160
+ updated_at = UNSET
161
+ elif isinstance(self.updated_at, datetime.datetime):
162
+ updated_at = self.updated_at.isoformat()
163
+ else:
164
+ updated_at = self.updated_at
165
+
166
+ updated_by: Union[None, Unset, str]
167
+ if isinstance(self.updated_by, Unset):
168
+ updated_by = UNSET
169
+ else:
170
+ updated_by = self.updated_by
171
+
172
+ point_easting: Union[None, Unset, float]
173
+ if isinstance(self.point_easting, Unset):
174
+ point_easting = UNSET
175
+ else:
176
+ point_easting = self.point_easting
177
+
178
+ point_northing: Union[None, Unset, float]
179
+ if isinstance(self.point_northing, Unset):
180
+ point_northing = UNSET
181
+ else:
182
+ point_northing = self.point_northing
183
+
184
+ point_z: Union[None, Unset, float]
185
+ if isinstance(self.point_z, Unset):
186
+ point_z = UNSET
187
+ else:
188
+ point_z = self.point_z
189
+
190
+ srid: Union[None, Unset, int]
191
+ if isinstance(self.srid, Unset):
192
+ srid = UNSET
193
+ else:
194
+ srid = self.srid
195
+
196
+ point_x_wgs84_pseudo: Union[None, Unset, float]
197
+ if isinstance(self.point_x_wgs84_pseudo, Unset):
198
+ point_x_wgs84_pseudo = UNSET
199
+ else:
200
+ point_x_wgs84_pseudo = self.point_x_wgs84_pseudo
201
+
202
+ point_y_wgs84_pseudo: Union[None, Unset, float]
203
+ if isinstance(self.point_y_wgs84_pseudo, Unset):
204
+ point_y_wgs84_pseudo = UNSET
205
+ else:
206
+ point_y_wgs84_pseudo = self.point_y_wgs84_pseudo
207
+
208
+ point_x_wgs84_web: Union[None, Unset, float]
209
+ if isinstance(self.point_x_wgs84_web, Unset):
210
+ point_x_wgs84_web = UNSET
211
+ else:
212
+ point_x_wgs84_web = self.point_x_wgs84_web
213
+
214
+ point_y_wgs84_web: Union[None, Unset, float]
215
+ if isinstance(self.point_y_wgs84_web, Unset):
216
+ point_y_wgs84_web = UNSET
217
+ else:
218
+ point_y_wgs84_web = self.point_y_wgs84_web
219
+
220
+ tags: Union[Unset, List[str]] = UNSET
221
+ if not isinstance(self.tags, Unset):
222
+ tags = self.tags
223
+
224
+
225
+
226
+ project_id: Union[None, Unset, str]
227
+ if isinstance(self.project_id, Unset):
228
+ project_id = UNSET
229
+ elif isinstance(self.project_id, UUID):
230
+ project_id = str(self.project_id)
231
+ else:
232
+ project_id = self.project_id
233
+
234
+ methods: Union[Unset, List[Dict[str, Any]]] = UNSET
235
+ if not isinstance(self.methods, Unset):
236
+ methods = []
237
+ for methods_item_data in self.methods:
238
+ methods_item: Dict[str, Any]
239
+ if isinstance(methods_item_data, MethodADCreate):
240
+ methods_item = methods_item_data.to_dict()
241
+ elif isinstance(methods_item_data, MethodCDCreate):
242
+ methods_item = methods_item_data.to_dict()
243
+ elif isinstance(methods_item_data, MethodCPTCreate):
244
+ methods_item = methods_item_data.to_dict()
245
+ elif isinstance(methods_item_data, MethodDPCreate):
246
+ methods_item = methods_item_data.to_dict()
247
+ elif isinstance(methods_item_data, MethodDTCreate):
248
+ methods_item = methods_item_data.to_dict()
249
+ elif isinstance(methods_item_data, MethodESACreate):
250
+ methods_item = methods_item_data.to_dict()
251
+ elif isinstance(methods_item_data, MethodINCCreate):
252
+ methods_item = methods_item_data.to_dict()
253
+ elif isinstance(methods_item_data, MethodIWCreate):
254
+ methods_item = methods_item_data.to_dict()
255
+ elif isinstance(methods_item_data, MethodOTHERCreate):
256
+ methods_item = methods_item_data.to_dict()
257
+ elif isinstance(methods_item_data, MethodPTCreate):
258
+ methods_item = methods_item_data.to_dict()
259
+ elif isinstance(methods_item_data, MethodPZCreate):
260
+ methods_item = methods_item_data.to_dict()
261
+ elif isinstance(methods_item_data, MethodRCDCreate):
262
+ methods_item = methods_item_data.to_dict()
263
+ elif isinstance(methods_item_data, MethodROCreate):
264
+ methods_item = methods_item_data.to_dict()
265
+ elif isinstance(methods_item_data, MethodRPCreate):
266
+ methods_item = methods_item_data.to_dict()
267
+ elif isinstance(methods_item_data, MethodRSCreate):
268
+ methods_item = methods_item_data.to_dict()
269
+ elif isinstance(methods_item_data, MethodRWSCreate):
270
+ methods_item = methods_item_data.to_dict()
271
+ elif isinstance(methods_item_data, MethodSACreate):
272
+ methods_item = methods_item_data.to_dict()
273
+ elif isinstance(methods_item_data, MethodSPTCreate):
274
+ methods_item = methods_item_data.to_dict()
275
+ elif isinstance(methods_item_data, MethodSRCreate):
276
+ methods_item = methods_item_data.to_dict()
277
+ elif isinstance(methods_item_data, MethodSRSCreate):
278
+ methods_item = methods_item_data.to_dict()
279
+ elif isinstance(methods_item_data, MethodSSCreate):
280
+ methods_item = methods_item_data.to_dict()
281
+ elif isinstance(methods_item_data, MethodSVTCreate):
282
+ methods_item = methods_item_data.to_dict()
283
+ elif isinstance(methods_item_data, MethodTOTCreate):
284
+ methods_item = methods_item_data.to_dict()
285
+ elif isinstance(methods_item_data, MethodTPCreate):
286
+ methods_item = methods_item_data.to_dict()
287
+ else:
288
+ methods_item = methods_item_data.to_dict()
289
+
290
+ methods.append(methods_item)
291
+
292
+
293
+
294
+
295
+ field_dict: Dict[str, Any] = {}
296
+ field_dict.update(self.additional_properties)
297
+ field_dict.update({
298
+ "name": name,
299
+ })
300
+ if location_type_id is not UNSET:
301
+ field_dict["location_type_id"] = location_type_id
302
+ if iogp_type_id is not UNSET:
303
+ field_dict["iogp_type_id"] = iogp_type_id
304
+ if created_at is not UNSET:
305
+ field_dict["created_at"] = created_at
306
+ if created_by is not UNSET:
307
+ field_dict["created_by"] = created_by
308
+ if updated_at is not UNSET:
309
+ field_dict["updated_at"] = updated_at
310
+ if updated_by is not UNSET:
311
+ field_dict["updated_by"] = updated_by
312
+ if point_easting is not UNSET:
313
+ field_dict["point_easting"] = point_easting
314
+ if point_northing is not UNSET:
315
+ field_dict["point_northing"] = point_northing
316
+ if point_z is not UNSET:
317
+ field_dict["point_z"] = point_z
318
+ if srid is not UNSET:
319
+ field_dict["srid"] = srid
320
+ if point_x_wgs84_pseudo is not UNSET:
321
+ field_dict["point_x_wgs84_pseudo"] = point_x_wgs84_pseudo
322
+ if point_y_wgs84_pseudo is not UNSET:
323
+ field_dict["point_y_wgs84_pseudo"] = point_y_wgs84_pseudo
324
+ if point_x_wgs84_web is not UNSET:
325
+ field_dict["point_x_wgs84_web"] = point_x_wgs84_web
326
+ if point_y_wgs84_web is not UNSET:
327
+ field_dict["point_y_wgs84_web"] = point_y_wgs84_web
328
+ if tags is not UNSET:
329
+ field_dict["tags"] = tags
330
+ if project_id is not UNSET:
331
+ field_dict["project_id"] = project_id
332
+ if methods is not UNSET:
333
+ field_dict["methods"] = methods
334
+
335
+ return field_dict
336
+
337
+
338
+
339
+ @classmethod
340
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
341
+ from ..models.method_cpt_create import MethodCPTCreate
342
+ from ..models.method_inc_create import MethodINCCreate
343
+ from ..models.method_rs_create import MethodRSCreate
344
+ from ..models.method_ro_create import MethodROCreate
345
+ from ..models.method_tp_create import MethodTPCreate
346
+ from ..models.method_svt_create import MethodSVTCreate
347
+ from ..models.method_sa_create import MethodSACreate
348
+ from ..models.method_esa_create import MethodESACreate
349
+ from ..models.method_cd_create import MethodCDCreate
350
+ from ..models.method_wst_create import MethodWSTCreate
351
+ from ..models.method_sr_create import MethodSRCreate
352
+ from ..models.method_rcd_create import MethodRCDCreate
353
+ from ..models.method_pz_create import MethodPZCreate
354
+ from ..models.method_dt_create import MethodDTCreate
355
+ from ..models.method_pt_create import MethodPTCreate
356
+ from ..models.method_srs_create import MethodSRSCreate
357
+ from ..models.method_rp_create import MethodRPCreate
358
+ from ..models.method_spt_create import MethodSPTCreate
359
+ from ..models.method_tot_create import MethodTOTCreate
360
+ from ..models.method_rws_create import MethodRWSCreate
361
+ from ..models.method_ad_create import MethodADCreate
362
+ from ..models.method_ss_create import MethodSSCreate
363
+ from ..models.method_dp_create import MethodDPCreate
364
+ from ..models.method_other_create import MethodOTHERCreate
365
+ from ..models.method_iw_create import MethodIWCreate
366
+ d = src_dict.copy()
367
+ name = d.pop("name")
368
+
369
+ location_type_id = d.pop("location_type_id", UNSET)
370
+
371
+ _iogp_type_id = d.pop("iogp_type_id", UNSET)
372
+ iogp_type_id: Union[Unset, IOGPTypeEnum]
373
+ if isinstance(_iogp_type_id, Unset):
374
+ iogp_type_id = UNSET
375
+ else:
376
+ iogp_type_id = IOGPTypeEnum(_iogp_type_id)
377
+
378
+
379
+
380
+
381
+ def _parse_created_at(data: object) -> Union[None, Unset, datetime.datetime]:
382
+ if data is None:
383
+ return data
384
+ if isinstance(data, Unset):
385
+ return data
386
+ try:
387
+ if not isinstance(data, str):
388
+ raise TypeError()
389
+ created_at_type_0 = isoparse(data)
390
+
391
+
392
+
393
+ return created_at_type_0
394
+ except: # noqa: E722
395
+ pass
396
+ return cast(Union[None, Unset, datetime.datetime], data)
397
+
398
+ created_at = _parse_created_at(d.pop("created_at", UNSET))
399
+
400
+
401
+ def _parse_created_by(data: object) -> Union[None, Unset, str]:
402
+ if data is None:
403
+ return data
404
+ if isinstance(data, Unset):
405
+ return data
406
+ return cast(Union[None, Unset, str], data)
407
+
408
+ created_by = _parse_created_by(d.pop("created_by", UNSET))
409
+
410
+
411
+ def _parse_updated_at(data: object) -> Union[None, Unset, datetime.datetime]:
412
+ if data is None:
413
+ return data
414
+ if isinstance(data, Unset):
415
+ return data
416
+ try:
417
+ if not isinstance(data, str):
418
+ raise TypeError()
419
+ updated_at_type_0 = isoparse(data)
420
+
421
+
422
+
423
+ return updated_at_type_0
424
+ except: # noqa: E722
425
+ pass
426
+ return cast(Union[None, Unset, datetime.datetime], data)
427
+
428
+ updated_at = _parse_updated_at(d.pop("updated_at", UNSET))
429
+
430
+
431
+ def _parse_updated_by(data: object) -> Union[None, Unset, str]:
432
+ if data is None:
433
+ return data
434
+ if isinstance(data, Unset):
435
+ return data
436
+ return cast(Union[None, Unset, str], data)
437
+
438
+ updated_by = _parse_updated_by(d.pop("updated_by", UNSET))
439
+
440
+
441
+ def _parse_point_easting(data: object) -> Union[None, Unset, float]:
442
+ if data is None:
443
+ return data
444
+ if isinstance(data, Unset):
445
+ return data
446
+ return cast(Union[None, Unset, float], data)
447
+
448
+ point_easting = _parse_point_easting(d.pop("point_easting", UNSET))
449
+
450
+
451
+ def _parse_point_northing(data: object) -> Union[None, Unset, float]:
452
+ if data is None:
453
+ return data
454
+ if isinstance(data, Unset):
455
+ return data
456
+ return cast(Union[None, Unset, float], data)
457
+
458
+ point_northing = _parse_point_northing(d.pop("point_northing", UNSET))
459
+
460
+
461
+ def _parse_point_z(data: object) -> Union[None, Unset, float]:
462
+ if data is None:
463
+ return data
464
+ if isinstance(data, Unset):
465
+ return data
466
+ return cast(Union[None, Unset, float], data)
467
+
468
+ point_z = _parse_point_z(d.pop("point_z", UNSET))
469
+
470
+
471
+ def _parse_srid(data: object) -> Union[None, Unset, int]:
472
+ if data is None:
473
+ return data
474
+ if isinstance(data, Unset):
475
+ return data
476
+ return cast(Union[None, Unset, int], data)
477
+
478
+ srid = _parse_srid(d.pop("srid", UNSET))
479
+
480
+
481
+ def _parse_point_x_wgs84_pseudo(data: object) -> Union[None, Unset, float]:
482
+ if data is None:
483
+ return data
484
+ if isinstance(data, Unset):
485
+ return data
486
+ return cast(Union[None, Unset, float], data)
487
+
488
+ point_x_wgs84_pseudo = _parse_point_x_wgs84_pseudo(d.pop("point_x_wgs84_pseudo", UNSET))
489
+
490
+
491
+ def _parse_point_y_wgs84_pseudo(data: object) -> Union[None, Unset, float]:
492
+ if data is None:
493
+ return data
494
+ if isinstance(data, Unset):
495
+ return data
496
+ return cast(Union[None, Unset, float], data)
497
+
498
+ point_y_wgs84_pseudo = _parse_point_y_wgs84_pseudo(d.pop("point_y_wgs84_pseudo", UNSET))
499
+
500
+
501
+ def _parse_point_x_wgs84_web(data: object) -> Union[None, Unset, float]:
502
+ if data is None:
503
+ return data
504
+ if isinstance(data, Unset):
505
+ return data
506
+ return cast(Union[None, Unset, float], data)
507
+
508
+ point_x_wgs84_web = _parse_point_x_wgs84_web(d.pop("point_x_wgs84_web", UNSET))
509
+
510
+
511
+ def _parse_point_y_wgs84_web(data: object) -> Union[None, Unset, float]:
512
+ if data is None:
513
+ return data
514
+ if isinstance(data, Unset):
515
+ return data
516
+ return cast(Union[None, Unset, float], data)
517
+
518
+ point_y_wgs84_web = _parse_point_y_wgs84_web(d.pop("point_y_wgs84_web", UNSET))
519
+
520
+
521
+ tags = cast(List[str], d.pop("tags", UNSET))
522
+
523
+
524
+ def _parse_project_id(data: object) -> Union[None, UUID, Unset]:
525
+ if data is None:
526
+ return data
527
+ if isinstance(data, Unset):
528
+ return data
529
+ try:
530
+ if not isinstance(data, str):
531
+ raise TypeError()
532
+ project_id_type_0 = UUID(data)
533
+
534
+
535
+
536
+ return project_id_type_0
537
+ except: # noqa: E722
538
+ pass
539
+ return cast(Union[None, UUID, Unset], data)
540
+
541
+ project_id = _parse_project_id(d.pop("project_id", UNSET))
542
+
543
+
544
+ methods = []
545
+ _methods = d.pop("methods", UNSET)
546
+ for methods_item_data in (_methods or []):
547
+ def _parse_methods_item(data: object) -> Union['MethodADCreate', 'MethodCDCreate', 'MethodCPTCreate', 'MethodDPCreate', 'MethodDTCreate', 'MethodESACreate', 'MethodINCCreate', 'MethodIWCreate', 'MethodOTHERCreate', 'MethodPTCreate', 'MethodPZCreate', 'MethodRCDCreate', 'MethodROCreate', 'MethodRPCreate', 'MethodRSCreate', 'MethodRWSCreate', 'MethodSACreate', 'MethodSPTCreate', 'MethodSRCreate', 'MethodSRSCreate', 'MethodSSCreate', 'MethodSVTCreate', 'MethodTOTCreate', 'MethodTPCreate', 'MethodWSTCreate']:
548
+ try:
549
+ if not isinstance(data, dict):
550
+ raise TypeError()
551
+ methods_item_type_0 = MethodADCreate.from_dict(data)
552
+
553
+
554
+
555
+ return methods_item_type_0
556
+ except: # noqa: E722
557
+ pass
558
+ try:
559
+ if not isinstance(data, dict):
560
+ raise TypeError()
561
+ methods_item_type_1 = MethodCDCreate.from_dict(data)
562
+
563
+
564
+
565
+ return methods_item_type_1
566
+ except: # noqa: E722
567
+ pass
568
+ try:
569
+ if not isinstance(data, dict):
570
+ raise TypeError()
571
+ methods_item_type_2 = MethodCPTCreate.from_dict(data)
572
+
573
+
574
+
575
+ return methods_item_type_2
576
+ except: # noqa: E722
577
+ pass
578
+ try:
579
+ if not isinstance(data, dict):
580
+ raise TypeError()
581
+ methods_item_type_3 = MethodDPCreate.from_dict(data)
582
+
583
+
584
+
585
+ return methods_item_type_3
586
+ except: # noqa: E722
587
+ pass
588
+ try:
589
+ if not isinstance(data, dict):
590
+ raise TypeError()
591
+ methods_item_type_4 = MethodDTCreate.from_dict(data)
592
+
593
+
594
+
595
+ return methods_item_type_4
596
+ except: # noqa: E722
597
+ pass
598
+ try:
599
+ if not isinstance(data, dict):
600
+ raise TypeError()
601
+ methods_item_type_5 = MethodESACreate.from_dict(data)
602
+
603
+
604
+
605
+ return methods_item_type_5
606
+ except: # noqa: E722
607
+ pass
608
+ try:
609
+ if not isinstance(data, dict):
610
+ raise TypeError()
611
+ methods_item_type_6 = MethodINCCreate.from_dict(data)
612
+
613
+
614
+
615
+ return methods_item_type_6
616
+ except: # noqa: E722
617
+ pass
618
+ try:
619
+ if not isinstance(data, dict):
620
+ raise TypeError()
621
+ methods_item_type_7 = MethodIWCreate.from_dict(data)
622
+
623
+
624
+
625
+ return methods_item_type_7
626
+ except: # noqa: E722
627
+ pass
628
+ try:
629
+ if not isinstance(data, dict):
630
+ raise TypeError()
631
+ methods_item_type_8 = MethodOTHERCreate.from_dict(data)
632
+
633
+
634
+
635
+ return methods_item_type_8
636
+ except: # noqa: E722
637
+ pass
638
+ try:
639
+ if not isinstance(data, dict):
640
+ raise TypeError()
641
+ methods_item_type_9 = MethodPTCreate.from_dict(data)
642
+
643
+
644
+
645
+ return methods_item_type_9
646
+ except: # noqa: E722
647
+ pass
648
+ try:
649
+ if not isinstance(data, dict):
650
+ raise TypeError()
651
+ methods_item_type_10 = MethodPZCreate.from_dict(data)
652
+
653
+
654
+
655
+ return methods_item_type_10
656
+ except: # noqa: E722
657
+ pass
658
+ try:
659
+ if not isinstance(data, dict):
660
+ raise TypeError()
661
+ methods_item_type_11 = MethodRCDCreate.from_dict(data)
662
+
663
+
664
+
665
+ return methods_item_type_11
666
+ except: # noqa: E722
667
+ pass
668
+ try:
669
+ if not isinstance(data, dict):
670
+ raise TypeError()
671
+ methods_item_type_12 = MethodROCreate.from_dict(data)
672
+
673
+
674
+
675
+ return methods_item_type_12
676
+ except: # noqa: E722
677
+ pass
678
+ try:
679
+ if not isinstance(data, dict):
680
+ raise TypeError()
681
+ methods_item_type_13 = MethodRPCreate.from_dict(data)
682
+
683
+
684
+
685
+ return methods_item_type_13
686
+ except: # noqa: E722
687
+ pass
688
+ try:
689
+ if not isinstance(data, dict):
690
+ raise TypeError()
691
+ methods_item_type_14 = MethodRSCreate.from_dict(data)
692
+
693
+
694
+
695
+ return methods_item_type_14
696
+ except: # noqa: E722
697
+ pass
698
+ try:
699
+ if not isinstance(data, dict):
700
+ raise TypeError()
701
+ methods_item_type_15 = MethodRWSCreate.from_dict(data)
702
+
703
+
704
+
705
+ return methods_item_type_15
706
+ except: # noqa: E722
707
+ pass
708
+ try:
709
+ if not isinstance(data, dict):
710
+ raise TypeError()
711
+ methods_item_type_16 = MethodSACreate.from_dict(data)
712
+
713
+
714
+
715
+ return methods_item_type_16
716
+ except: # noqa: E722
717
+ pass
718
+ try:
719
+ if not isinstance(data, dict):
720
+ raise TypeError()
721
+ methods_item_type_17 = MethodSPTCreate.from_dict(data)
722
+
723
+
724
+
725
+ return methods_item_type_17
726
+ except: # noqa: E722
727
+ pass
728
+ try:
729
+ if not isinstance(data, dict):
730
+ raise TypeError()
731
+ methods_item_type_18 = MethodSRCreate.from_dict(data)
732
+
733
+
734
+
735
+ return methods_item_type_18
736
+ except: # noqa: E722
737
+ pass
738
+ try:
739
+ if not isinstance(data, dict):
740
+ raise TypeError()
741
+ methods_item_type_19 = MethodSRSCreate.from_dict(data)
742
+
743
+
744
+
745
+ return methods_item_type_19
746
+ except: # noqa: E722
747
+ pass
748
+ try:
749
+ if not isinstance(data, dict):
750
+ raise TypeError()
751
+ methods_item_type_20 = MethodSSCreate.from_dict(data)
752
+
753
+
754
+
755
+ return methods_item_type_20
756
+ except: # noqa: E722
757
+ pass
758
+ try:
759
+ if not isinstance(data, dict):
760
+ raise TypeError()
761
+ methods_item_type_21 = MethodSVTCreate.from_dict(data)
762
+
763
+
764
+
765
+ return methods_item_type_21
766
+ except: # noqa: E722
767
+ pass
768
+ try:
769
+ if not isinstance(data, dict):
770
+ raise TypeError()
771
+ methods_item_type_22 = MethodTOTCreate.from_dict(data)
772
+
773
+
774
+
775
+ return methods_item_type_22
776
+ except: # noqa: E722
777
+ pass
778
+ try:
779
+ if not isinstance(data, dict):
780
+ raise TypeError()
781
+ methods_item_type_23 = MethodTPCreate.from_dict(data)
782
+
783
+
784
+
785
+ return methods_item_type_23
786
+ except: # noqa: E722
787
+ pass
788
+ if not isinstance(data, dict):
789
+ raise TypeError()
790
+ methods_item_type_24 = MethodWSTCreate.from_dict(data)
791
+
792
+
793
+
794
+ return methods_item_type_24
795
+
796
+ methods_item = _parse_methods_item(methods_item_data)
797
+
798
+ methods.append(methods_item)
799
+
800
+
801
+ location_create = cls(
802
+ name=name,
803
+ location_type_id=location_type_id,
804
+ iogp_type_id=iogp_type_id,
805
+ created_at=created_at,
806
+ created_by=created_by,
807
+ updated_at=updated_at,
808
+ updated_by=updated_by,
809
+ point_easting=point_easting,
810
+ point_northing=point_northing,
811
+ point_z=point_z,
812
+ srid=srid,
813
+ point_x_wgs84_pseudo=point_x_wgs84_pseudo,
814
+ point_y_wgs84_pseudo=point_y_wgs84_pseudo,
815
+ point_x_wgs84_web=point_x_wgs84_web,
816
+ point_y_wgs84_web=point_y_wgs84_web,
817
+ tags=tags,
818
+ project_id=project_id,
819
+ methods=methods,
820
+ )
821
+
822
+
823
+ location_create.additional_properties = d
824
+ return location_create
825
+
826
+ @property
827
+ def additional_keys(self) -> List[str]:
828
+ return list(self.additional_properties.keys())
829
+
830
+ def __getitem__(self, key: str) -> Any:
831
+ return self.additional_properties[key]
832
+
833
+ def __setitem__(self, key: str, value: Any) -> None:
834
+ self.additional_properties[key] = value
835
+
836
+ def __delitem__(self, key: str) -> None:
837
+ del self.additional_properties[key]
838
+
839
+ def __contains__(self, key: str) -> bool:
840
+ return key in self.additional_properties