From 3753076557a05032d3e389422dbde6f8727a2e83 Mon Sep 17 00:00:00 2001 From: Joscha Wagner Date: Fri, 9 Feb 2024 13:22:41 +0100 Subject: [PATCH] update to enlish --- oas.yml | 1036 ++++----- ...ion_get.py => accessory_collection_get.py} | 16 +- ...oire_item_get.py => accessory_item_get.py} | 16 +- ...t.py => appointmentcrew_collection_get.py} | 16 +- ...lete.py => appointmentcrew_item_delete.py} | 0 ...tem_get.py => appointmentcrew_item_get.py} | 16 +- ...tem_put.py => appointmentcrew_item_put.py} | 28 +- ...n_get.py => appointment_collection_get.py} | 16 +- ...post.py => appointment_collection_post.py} | 28 +- ...> appointment_item_appointmentcrew_get.py} | 16 +- ... appointment_item_appointmentcrew_post.py} | 28 +- ...m_delete.py => appointment_item_delete.py} | 0 ...ak_item_get.py => appointment_item_get.py} | 16 +- ...ak_item_put.py => appointment_item_put.py} | 28 +- ...get.py => contactperson_collection_get.py} | 16 +- ...delete.py => contactperson_item_delete.py} | 0 ..._item_get.py => contactperson_item_get.py} | 16 +- ..._item_put.py => contactperson_item_put.py} | 28 +- ...et.py => contactpersons_item_files_get.py} | 16 +- ...t.py => contact_item_contactperson_get.py} | 16 +- ....py => contact_item_contactperson_post.py} | 28 +- .../api/contacts/contact_item_files_get.py | 16 +- .../api/contracts/contract_item_files_get.py | 16 +- ...et.py => contract_item_invoiceline_get.py} | 16 +- .../crew_collection_get.py} | 18 +- ...ak_get.py => crew_item_appointment_get.py} | 16 +- ...t.py => crew_item_crewavailability_get.py} | 16 +- ....py => crew_item_crewavailability_post.py} | 28 +- ...arief_get.py => crew_item_crewrate_get.py} | 16 +- ...em_files_get.py => crew_item_files_get.py} | 16 +- .../crew_item_get.py} | 18 +- .../api/crew/medewerker_collection_get.py | 94 - .../api/crew/medewerker_item_get.py | 103 - ...te.py => crew_availability_item_delete.py} | 0 ...m_get.py => crew_availability_item_get.py} | 16 +- ...m_put.py => crew_availability_item_put.py} | 28 +- ....py => crewavailability_collection_get.py} | 16 +- .../api/crewrates/crewrate_collection_get.py | 94 + ...arief_item_get.py => crewrate_item_get.py} | 16 +- .../medewerkertarief_collection_get.py | 94 - ...ion_get.py => equipment_collection_get.py} | 16 +- ...get.py => equipment_item_accessory_get.py} | 16 +- ...quipment_item_equipmentsetscontent_get.py} | 16 +- ...les_get.py => equipment_item_files_get.py} | 16 +- ...iaal_item_get.py => equipment_item_get.py} | 16 +- ...ie_get.py => equipment_item_repair_get.py} | 16 +- ....py => equipment_item_serialnumber_get.py} | 16 +- ...py => equipment_item_stockmovement_get.py} | 16 +- ...y => equipment_item_stockmovement_post.py} | 28 +- ...=> equipmentsetscontent_collection_get.py} | 16 +- ...et.py => equipmentsetscontent_item_get.py} | 16 +- ...llection_get.py => file_collection_get.py} | 16 +- .../{files_item_get.py => file_item_get.py} | 16 +- ...n_get.py => invoiceline_collection_get.py} | 16 +- ...ag_item_get.py => invoiceline_item_get.py} | 16 +- ...ction_get.py => invoice_collection_get.py} | 16 +- ...files_get.py => invoice_item_files_get.py} | 16 +- ...actuur_item_get.py => invoice_item_get.py} | 16 +- ...get.py => invoice_item_invoiceline_get.py} | 16 +- ...ent_get.py => invoice_item_payment_get.py} | 0 ...t_post.py => invoice_item_payment_post.py} | 0 ...on_get.py => ledgercode_collection_get.py} | 16 +- ...oek_item_get.py => ledgercode_item_get.py} | 16 +- .../planningpersoneel_collection_get.py | 94 - .../projectcrew_collection_get.py} | 18 +- ...el_item_get.py => projectcrew_item_get.py} | 16 +- ....py => projectequipment_collection_get.py} | 16 +- ...em_get.py => projectequipment_item_get.py} | 16 +- ...> projectequipmentgroup_collection_get.py} | 18 +- ...t.py => projectequipmentgroup_item_get.py} | 16 +- ...uipmentgroup_item_projectequipment_get.py} | 16 +- ...=> projectfunctiongroup_collection_get.py} | 16 +- ...et.py => projectfunctiongroup_item_get.py} | 16 +- ...functiongroup_item_projectfunction_get.py} | 16 +- ...t.py => projectfunction_collection_get.py} | 16 +- ...tem_get.py => projectfunction_item_get.py} | 16 +- ...> projectfunction_item_projectcrew_get.py} | 16 +- ...rojectfunction_item_projectvehicle_get.py} | 16 +- .../api/projects/project_item_files_get.py | 16 +- ...get.py => project_item_projectcrew_get.py} | 16 +- ...y => project_item_projectequipment_get.py} | 16 +- ...project_item_projectequipmentgroup_get.py} | 18 +- ...py => project_item_projectfunction_get.py} | 16 +- ... project_item_projectfunctiongroup_get.py} | 16 +- ....py => project_item_projectvehicle_get.py} | 16 +- ...ferte_get.py => project_item_quote_get.py} | 16 +- .../projecttype_collection_get.py | 94 + .../api/projecttypes/projecttype_item_get.py | 103 + ...et.py => projectvehicle_collection_get.py} | 16 +- ...item_get.py => projectvehicle_item_get.py} | 16 +- ...lection_get.py => quote_collection_get.py} | 16 +- ...m_files_get.py => quote_item_files_get.py} | 16 +- ...{offerte_item_get.py => quote_item_get.py} | 16 +- ...g_get.py => quote_item_invoiceline_get.py} | 16 +- ...ection_get.py => repair_collection_get.py} | 16 +- ..._files_get.py => repair_item_files_get.py} | 16 +- ...paratie_item_get.py => repair_item_get.py} | 16 +- ..._get.py => serialnumber_collection_get.py} | 16 +- ..._get.py => serialnumber_item_files_get.py} | 16 +- ...r_item_get.py => serialnumber_item_get.py} | 16 +- ...et.py => stock_location_collection_get.py} | 16 +- ..._item_get.py => stocklocation_item_get.py} | 16 +- ...get.py => stockmovement_collection_get.py} | 16 +- ...delete.py => stockmovement_item_delete.py} | 0 ..._item_get.py => stockmovement_item_get.py} | 16 +- ..._item_put.py => stockmovement_item_put.py} | 28 +- .../subprojects/subproject_item_files_get.py | 16 +- ....py => subproject_item_projectcrew_get.py} | 16 +- ...> subproject_item_projectequipment_get.py} | 16 +- ...project_item_projectequipmentgroup_get.py} | 18 +- ...bproject_item_projectfunctiongroup_get.py} | 16 +- ... => subproject_item_projectvehicle_get.py} | 16 +- ...y => subrentalequipment_collection_get.py} | 16 +- ..._get.py => subrentalequipment_item_get.py} | 16 +- .../subrentalequipmentgroup_collection_get.py | 96 + ...py => subrentalequipmentgroup_item_get.py} | 16 +- ...pmentgroup_item_subrentalequipment_get.py} | 16 +- ...ion_get.py => subrental_collection_get.py} | 16 +- ...les_get.py => subrental_item_files_get.py} | 16 +- ...huur_item_get.py => subrental_item_get.py} | 16 +- ... subrental_item_subrentalequipment_get.py} | 16 +- ...ental_item_subrentalequipmentgroup_get.py} | 18 +- ....py => timeregistration_collection_get.py} | 16 +- ....py => timeregistration_item_files_get.py} | 16 +- ...em_get.py => timeregistration_item_get.py} | 16 +- ...tion_item_timeregistrationactivity_get.py} | 18 +- ...imeregistrationactivity_collection_get.py} | 18 +- ...y => timeregistrationactivity_item_get.py} | 16 +- ...ction_get.py => vehicle_collection_get.py} | 16 +- ...files_get.py => vehicle_item_files_get.py} | 16 +- ...ertuig_item_get.py => vehicle_item_get.py} | 16 +- rentman_api_client/models/__init__.py | 2020 +++++++++-------- ...ccessory_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 10 +- ...cessory_collectionpost_response_schema.py} | 16 +- ...llectionpost_response_schema_data_item.py} | 10 +- ...ccessory_collectionput_response_schema.py} | 16 +- ...ollectionput_response_schema_data_item.py} | 10 +- ...py => accessory_itemget_request_schema.py} | 10 +- ...y => accessory_itemget_response_schema.py} | 18 +- ...accessory_itemget_response_schema_data.py} | 10 +- ...y => accessory_itempost_request_schema.py} | 10 +- ... => accessory_itempost_response_schema.py} | 18 +- ...ccessory_itempost_response_schema_data.py} | 10 +- ...py => accessory_itemput_request_schema.py} | 10 +- ...y => accessory_itemput_response_schema.py} | 18 +- ...accessory_itemput_response_schema_data.py} | 10 +- ...ointment_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 20 +- ...ema_data_item_recurrence_interval_unit.py} | 2 +- ...intment_collectionpost_response_schema.py} | 18 +- ...llectionpost_response_schema_data_item.py} | 10 +- ...ointment_collectionput_response_schema.py} | 16 +- ...ollectionput_response_schema_data_item.py} | 10 +- ... => appointment_itemget_request_schema.py} | 20 +- ...equest_schema_recurrence_interval_unit.py} | 2 +- ...=> appointment_itemget_response_schema.py} | 18 +- ...pointment_itemget_response_schema_data.py} | 20 +- ...e_schema_data_recurrence_interval_unit.py} | 2 +- ...=> appointment_itempost_request_schema.py} | 10 +- ...> appointment_itempost_response_schema.py} | 18 +- ...ointment_itempost_response_schema_data.py} | 10 +- ... => appointment_itemput_request_schema.py} | 10 +- ...=> appointment_itemput_response_schema.py} | 18 +- ...pointment_itemput_response_schema_data.py} | 10 +- ...mentcrew_collectionget_response_schema.py} | 18 +- ...ollectionget_response_schema_data_item.py} | 10 +- ...entcrew_collectionpost_response_schema.py} | 18 +- ...llectionpost_response_schema_data_item.py} | 10 +- ...mentcrew_collectionput_response_schema.py} | 18 +- ...ollectionput_response_schema_data_item.py} | 10 +- ...appointmentcrew_itemget_request_schema.py} | 10 +- ...ppointmentcrew_itemget_response_schema.py} | 18 +- ...tmentcrew_itemget_response_schema_data.py} | 10 +- ...ppointmentcrew_itempost_request_schema.py} | 10 +- ...pointmentcrew_itempost_response_schema.py} | 18 +- ...mentcrew_itempost_response_schema_data.py} | 10 +- ...appointmentcrew_itemput_request_schema.py} | 10 +- ...ppointmentcrew_itemput_response_schema.py} | 18 +- ...tmentcrew_itemput_response_schema_data.py} | 10 +- ...on_itemput_response_schema_data_country.py | 196 -- ...ation_itemput_response_schema_data_type.py | 9 - ...hema_data_item_recurrence_interval_unit.py | 12 - ...request_schema_recurrence_interval_unit.py | 12 - ...se_schema_data_recurrence_interval_unit.py | 12 - ...eid_itemput_response_schema_data_status.py | 10 - ...ctperson_collectionget_response_schema.py} | 18 +- ...ollectionget_response_schema_data_item.py} | 30 +- ...nget_response_schema_data_item_country.py} | 2 +- ...ionget_response_schema_data_item_custom.py | 44 + ...tperson_collectionpost_response_schema.py} | 18 +- ...llectionpost_response_schema_data_item.py} | 30 +- ...post_response_schema_data_item_country.py} | 2 +- ...onpost_response_schema_data_item_custom.py | 44 + ...ctperson_collectionput_response_schema.py} | 18 +- ...ollectionput_response_schema_data_item.py} | 30 +- ...nput_response_schema_data_item_country.py} | 2 +- ...ionput_response_schema_data_item_custom.py | 44 + ...> contactperson_itemget_request_schema.py} | 26 +- ...tperson_itemget_request_schema_country.py} | 2 +- ...actperson_itemget_request_schema_custom.py | 44 + ... contactperson_itemget_response_schema.py} | 18 +- ...actperson_itemget_response_schema_data.py} | 26 +- ...n_itemget_response_schema_data_country.py} | 2 +- ...son_itemget_response_schema_data_custom.py | 44 + ... contactperson_itempost_request_schema.py} | 26 +- ...person_itempost_request_schema_country.py} | 2 +- ...tperson_itempost_request_schema_custom.py} | 10 +- ...contactperson_itempost_response_schema.py} | 18 +- ...ctperson_itempost_response_schema_data.py} | 26 +- ..._itempost_response_schema_data_country.py} | 2 +- ...on_itempost_response_schema_data_custom.py | 44 + ...> contactperson_itemput_request_schema.py} | 26 +- ...tperson_itemput_request_schema_country.py} | 2 +- ...actperson_itemput_request_schema_custom.py | 44 + ... contactperson_itemput_response_schema.py} | 18 +- ...actperson_itemput_response_schema_data.py} | 26 +- ...on_itemput_response_schema_data_country.py | 196 ++ ...son_itemput_response_schema_data_custom.py | 44 + ...ew_availability_itemget_response_schema.py | 82 + ...ilability_itemget_response_schema_data.py} | 30 +- ...e_schema_data_recurrence_interval_unit.py} | 2 +- ...ty_itemget_response_schema_data_status.py} | 2 +- ...ew_availability_itemput_request_schema.py} | 28 +- ...equest_schema_recurrence_interval_unit.py} | 2 +- ...lability_itemput_request_schema_status.py} | 2 +- ...ew_availability_itemput_response_schema.py | 82 + ...ilability_itemput_response_schema_data.py} | 30 +- ...se_schema_data_recurrence_interval_unit.py | 12 + ...ty_itemput_response_schema_data_status.py} | 2 +- ... => crew_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 30 +- ...onget_response_schema_data_item_country.py | 196 ++ ...onget_response_schema_data_item_custom.py} | 10 +- ...=> crew_collectionpost_response_schema.py} | 16 +- ...ollectionpost_response_schema_data_item.py | 314 +++ ...npost_response_schema_data_item_country.py | 196 ++ ...npost_response_schema_data_item_custom.py} | 10 +- ... => crew_collectionput_response_schema.py} | 16 +- ...collectionput_response_schema_data_item.py | 312 +++ ...onput_response_schema_data_item_country.py | 196 ++ ...onput_response_schema_data_item_custom.py} | 10 +- ...hema.py => crew_itemget_request_schema.py} | 26 +- ...=> crew_itemget_request_schema_country.py} | 2 +- ... => crew_itemget_request_schema_custom.py} | 10 +- ...ema.py => crew_itemget_response_schema.py} | 18 +- ...y => crew_itemget_response_schema_data.py} | 26 +- ...w_itemget_response_schema_data_country.py} | 2 +- ...ew_itemget_response_schema_data_custom.py} | 10 +- ...ema.py => crew_itempost_request_schema.py} | 26 +- ...> crew_itempost_request_schema_country.py} | 2 +- ...=> crew_itempost_request_schema_custom.py} | 10 +- ...ma.py => crew_itempost_response_schema.py} | 18 +- ... => crew_itempost_response_schema_data.py} | 26 +- ..._itempost_response_schema_data_country.py} | 2 +- ...w_itempost_response_schema_data_custom.py} | 10 +- ...hema.py => crew_itemput_request_schema.py} | 26 +- ...=> crew_itemput_request_schema_country.py} | 2 +- ... => crew_itemput_request_schema_custom.py} | 10 +- ...ema.py => crew_itemput_response_schema.py} | 18 +- ...y => crew_itemput_response_schema_data.py} | 26 +- ...ew_itemput_response_schema_data_country.py | 196 ++ ...ew_itemput_response_schema_data_custom.py} | 10 +- ...lability_collectionget_response_schema.py} | 18 +- ...ollectionget_response_schema_data_item.py} | 30 +- ...ema_data_item_recurrence_interval_unit.py} | 2 +- ...onget_response_schema_data_item_status.py} | 2 +- ...ability_collectionpost_response_schema.py} | 18 +- ...llectionpost_response_schema_data_item.py} | 30 +- ...hema_data_item_recurrence_interval_unit.py | 12 + ...npost_response_schema_data_item_status.py} | 2 +- ...lability_collectionput_response_schema.py} | 18 +- ...ollectionput_response_schema_data_item.py} | 30 +- ...ema_data_item_recurrence_interval_unit.py} | 2 +- ...onput_response_schema_data_item_status.py} | 2 +- ...rewavailability_itemget_request_schema.py} | 28 +- ...equest_schema_recurrence_interval_unit.py} | 2 +- ...lability_itemget_request_schema_status.py} | 2 +- ...ewavailability_itempost_request_schema.py} | 28 +- ...request_schema_recurrence_interval_unit.py | 12 + ...ability_itempost_request_schema_status.py} | 2 +- ...wavailability_itempost_response_schema.py} | 18 +- ...lability_itempost_response_schema_data.py} | 30 +- ...e_schema_data_recurrence_interval_unit.py} | 2 +- ...ty_itempost_response_schema_data_status.py | 10 + ...crewrate_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 10 +- ...rewrate_collectionpost_response_schema.py} | 16 +- ...llectionpost_response_schema_data_item.py} | 10 +- ...crewrate_collectionput_response_schema.py} | 16 +- ...collectionput_response_schema_data_item.py | 117 + ....py => crewrate_itemget_request_schema.py} | 10 +- ...py => crewrate_itemget_response_schema.py} | 18 +- ... crewrate_itemget_response_schema_data.py} | 10 +- ...py => crewrate_itempost_request_schema.py} | 10 +- ...y => crewrate_itempost_response_schema.py} | 18 +- ...crewrate_itempost_response_schema_data.py} | 10 +- ....py => crewrate_itemput_request_schema.py} | 10 +- ...py => crewrate_itemput_response_schema.py} | 18 +- ... crewrate_itemput_response_schema_data.py} | 10 +- ...quipment_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 70 +- ...nse_schema_data_item_country_of_origin.py} | 2 +- ...onget_response_schema_data_item_custom.py} | 10 +- ..._response_schema_data_item_is_physical.py} | 2 +- ...response_schema_data_item_rental_sales.py} | 2 +- ...onse_schema_data_item_stock_management.py} | 2 +- ...tionget_response_schema_data_item_type.py} | 2 +- ...uipment_collectionpost_response_schema.py} | 16 +- ...llectionpost_response_schema_data_item.py} | 70 +- ...nse_schema_data_item_country_of_origin.py} | 2 +- ...npost_response_schema_data_item_custom.py} | 10 +- ..._response_schema_data_item_is_physical.py} | 2 +- ...response_schema_data_item_rental_sales.py} | 2 +- ...onse_schema_data_item_stock_management.py} | 2 +- ...ionpost_response_schema_data_item_type.py} | 2 +- ...equipment_collectionput_response_schema.py | 88 + ...ollectionput_response_schema_data_item.py} | 70 +- ...nse_schema_data_item_country_of_origin.py} | 2 +- ...onput_response_schema_data_item_custom.py} | 10 +- ..._response_schema_data_item_is_physical.py} | 2 +- ...response_schema_data_item_rental_sales.py} | 2 +- ...onse_schema_data_item_stock_management.py} | 2 +- ...tionput_response_schema_data_item_type.py} | 2 +- ...py => equipment_itemget_request_schema.py} | 58 +- ...emget_request_schema_country_of_origin.py} | 2 +- ...quipment_itemget_request_schema_custom.py} | 10 +- ...ent_itemget_request_schema_is_physical.py} | 2 +- ...nt_itemget_request_schema_rental_sales.py} | 2 +- ...temget_request_schema_stock_management.py} | 2 +- ... equipment_itemget_request_schema_type.py} | 2 +- ...y => equipment_itemget_response_schema.py} | 18 +- ...equipment_itemget_response_schema_data.py} | 62 +- ...response_schema_data_country_of_origin.py} | 2 +- ...nt_itemget_response_schema_data_custom.py} | 10 +- ...emget_response_schema_data_is_physical.py} | 2 +- ...mget_response_schema_data_rental_sales.py} | 2 +- ..._response_schema_data_stock_management.py} | 2 +- ...ment_itemget_response_schema_data_type.py} | 2 +- ...y => equipment_itempost_request_schema.py} | 58 +- ...empost_request_schema_country_of_origin.py | 196 ++ ...uipment_itempost_request_schema_custom.py} | 10 +- ...nt_itempost_request_schema_is_physical.py} | 2 +- ...t_itempost_request_schema_rental_sales.py} | 2 +- ...empost_request_schema_stock_management.py} | 2 +- ...equipment_itempost_request_schema_type.py} | 2 +- ... => equipment_itempost_response_schema.py} | 18 +- ...quipment_itempost_response_schema_data.py} | 62 +- ...response_schema_data_country_of_origin.py} | 2 +- ...t_itempost_response_schema_data_custom.py} | 10 +- ...mpost_response_schema_data_is_physical.py} | 2 +- ...post_response_schema_data_rental_sales.py} | 2 +- ..._response_schema_data_stock_management.py} | 2 +- ...ent_itempost_response_schema_data_type.py} | 2 +- ...py => equipment_itemput_request_schema.py} | 58 +- ...temput_request_schema_country_of_origin.py | 196 ++ ...quipment_itemput_request_schema_custom.py} | 10 +- ...ent_itemput_request_schema_is_physical.py} | 2 +- ...nt_itemput_request_schema_rental_sales.py} | 2 +- ...temput_request_schema_stock_management.py} | 2 +- ... equipment_itemput_request_schema_type.py} | 2 +- .../equipment_itemput_response_schema.py | 82 + ...equipment_itemput_response_schema_data.py} | 62 +- ...response_schema_data_country_of_origin.py} | 2 +- ...nt_itemput_response_schema_data_custom.py} | 10 +- ...temput_response_schema_data_is_physical.py | 9 + ...emput_response_schema_data_rental_sales.py | 9 + ..._response_schema_data_stock_management.py} | 2 +- ...pment_itemput_response_schema_data_type.py | 10 + ...tscontent_collectionget_response_schema.py | 90 + ...ollectionget_response_schema_data_item.py} | 20 +- ...nget_response_schema_data_item_is_fixed.py | 9 + ...scontent_collectionpost_response_schema.py | 90 + ...llectionpost_response_schema_data_item.py} | 20 +- ...post_response_schema_data_item_is_fixed.py | 9 + ...tscontent_collectionput_response_schema.py | 90 + ...ollectionput_response_schema_data_item.py} | 20 +- ...nput_response_schema_data_item_is_fixed.py | 9 + ...mentsetscontent_itemget_request_schema.py} | 20 +- ...ontent_itemget_request_schema_is_fixed.py} | 2 +- ...mentsetscontent_itemget_response_schema.py | 82 + ...tscontent_itemget_response_schema_data.py} | 20 +- ..._itemget_response_schema_data_is_fixed.py} | 2 +- ...entsetscontent_itempost_request_schema.py} | 20 +- ...ntent_itempost_request_schema_is_fixed.py} | 2 +- ...ntsetscontent_itempost_response_schema.py} | 18 +- ...scontent_itempost_response_schema_data.py} | 20 +- ...itempost_response_schema_data_is_fixed.py} | 2 +- ...mentsetscontent_itemput_request_schema.py} | 20 +- ...ontent_itemput_request_schema_is_fixed.py} | 2 +- ...mentsetscontent_itemput_response_schema.py | 82 + ...tscontent_itemput_response_schema_data.py} | 20 +- ..._itemput_response_schema_data_is_fixed.py} | 2 +- ...exemplaar_collectionput_response_schema.py | 88 - .../exemplaar_itemput_response_schema.py | 82 - .../models/factuur_itemput_response_schema.py | 82 - ... => file_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 20 +- ...esponse_schema_data_item_previewstatus.py} | 2 +- ...=> file_collectionpost_response_schema.py} | 16 +- ...llectionpost_response_schema_data_item.py} | 20 +- ...esponse_schema_data_item_previewstatus.py} | 2 +- ... => file_collectionput_response_schema.py} | 16 +- ...collectionput_response_schema_data_item.py | 238 ++ ...response_schema_data_item_previewstatus.py | 10 + ...hema.py => file_itemget_request_schema.py} | 18 +- ...e_itemget_request_schema_previewstatus.py} | 2 +- ...ema.py => file_itemget_response_schema.py} | 18 +- ...y => file_itemget_response_schema_data.py} | 18 +- ...get_response_schema_data_previewstatus.py} | 2 +- ...ema.py => file_itempost_request_schema.py} | 18 +- ..._itempost_request_schema_previewstatus.py} | 2 +- ...ma.py => file_itempost_response_schema.py} | 18 +- ... => file_itempost_response_schema_data.py} | 18 +- ...post_response_schema_data_previewstatus.py | 10 + ...hema.py => file_itemput_request_schema.py} | 18 +- ...e_itemput_request_schema_previewstatus.py} | 2 +- ...ema.py => file_itemput_response_schema.py} | 18 +- ...y => file_itemput_response_schema_data.py} | 18 +- ...mput_response_schema_data_previewstatus.py | 10 + .../files_collectionpost_response_schema.py | 88 - ...ollectionpost_response_schema_data_item.py | 238 -- ...response_schema_data_item_previewstatus.py | 10 - ...response_schema_data_item_previewstatus.py | 10 - ...mput_response_schema_data_previewstatus.py | 10 - ...a_data_planperiod_end_schedule_is_start.py | 9 - ...data_planperiod_start_schedule_is_start.py | 9 - ..._data_usageperiod_end_schedule_is_start.py | 9 - ...a_data_planperiod_end_schedule_is_start.py | 9 - ...data_planperiod_start_schedule_is_start.py | 9 - ..._data_usageperiod_end_schedule_is_start.py | 9 - ...unctieuur_collectionget_response_schema.py | 88 - ...unctieuur_collectionput_response_schema.py | 88 - .../functieuur_itemget_response_schema.py | 82 - .../functieuur_itemput_response_schema.py | 82 - ...grootboek_collectionget_response_schema.py | 88 - ...rootboek_collectionpost_response_schema.py | 88 - ...grootboek_collectionput_response_schema.py | 88 - .../grootboek_itemget_response_schema.py | 82 - .../grootboek_itempost_response_schema.py | 82 - .../grootboek_itemput_response_schema.py | 82 - .../models/inhuur_itempost_response_schema.py | 82 - .../inhuur_itemput_request_schema_custom.py | 44 - ...nhuur_itemput_response_schema_data_type.py | 10 - ... invoice_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 10 +- ...invoice_collectionpost_response_schema.py} | 16 +- ...llectionpost_response_schema_data_item.py} | 10 +- ... invoice_collectionput_response_schema.py} | 16 +- ...ollectionput_response_schema_data_item.py} | 10 +- ...a.py => invoice_itemget_request_schema.py} | 10 +- ....py => invoice_itemget_response_schema.py} | 18 +- ...> invoice_itemget_response_schema_data.py} | 10 +- ....py => invoice_itempost_request_schema.py} | 10 +- ...py => invoice_itempost_response_schema.py} | 18 +- ... invoice_itempost_response_schema_data.py} | 10 +- ...a.py => invoice_itemput_request_schema.py} | 10 +- ....py => invoice_itemput_response_schema.py} | 18 +- ...> invoice_itemput_response_schema_data.py} | 10 +- ...oiceline_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 10 +- ...iceline_collectionpost_response_schema.py} | 18 +- ...llectionpost_response_schema_data_item.py} | 10 +- ...oiceline_collectionput_response_schema.py} | 16 +- ...ollectionput_response_schema_data_item.py} | 10 +- ... => invoiceline_itemget_request_schema.py} | 10 +- ...=> invoiceline_itemget_response_schema.py} | 18 +- ...voiceline_itemget_response_schema_data.py} | 10 +- ...=> invoiceline_itempost_request_schema.py} | 10 +- ...> invoiceline_itempost_response_schema.py} | 18 +- ...oiceline_itempost_response_schema_data.py} | 10 +- ... => invoiceline_itemput_request_schema.py} | 10 +- ...=> invoiceline_itemput_response_schema.py} | 18 +- ...voiceline_itemput_response_schema_data.py} | 10 +- ...dgercode_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 10 +- ...dgercode_collectionpost_response_schema.py | 88 + ...llectionpost_response_schema_data_item.py} | 10 +- ...dgercode_collectionput_response_schema.py} | 16 +- ...ollectionput_response_schema_data_item.py} | 10 +- ...y => ledgercode_itemget_request_schema.py} | 10 +- ... => ledgercode_itemget_response_schema.py} | 18 +- ...edgercode_itemget_response_schema_data.py} | 10 +- ... => ledgercode_itempost_request_schema.py} | 10 +- .../ledgercode_itempost_response_schema.py | 82 + ...dgercode_itempost_response_schema_data.py} | 10 +- ...y => ledgercode_itemput_request_schema.py} | 10 +- ... => ledgercode_itemput_response_schema.py} | 18 +- ...edgercode_itemput_response_schema_data.py} | 10 +- ...materiaal_collectionget_response_schema.py | 88 - ...ateriaal_collectionpost_response_schema.py | 88 - ...materiaal_collectionput_response_schema.py | 88 - .../materiaal_itemget_response_schema.py | 82 - ...empost_request_schema_country_of_origin.py | 196 -- .../materiaal_itempost_response_schema.py | 82 - ...temput_request_schema_country_of_origin.py | 196 -- .../materiaal_itemput_response_schema.py | 82 - ...temput_response_schema_data_is_physical.py | 9 - ...emput_response_schema_data_rental_sales.py | 9 - ...riaal_itemput_response_schema_data_type.py | 10 - ...edewerker_collectionget_response_schema.py | 88 - ...collectionget_response_schema_data_item.py | 316 --- ...onget_response_schema_data_item_country.py | 196 -- ...ionget_response_schema_data_item_custom.py | 44 - ...dewerker_collectionpost_response_schema.py | 88 - ...ollectionpost_response_schema_data_item.py | 316 --- ...npost_response_schema_data_item_country.py | 196 -- ...edewerker_collectionput_response_schema.py | 88 - ...onput_response_schema_data_item_country.py | 196 -- ...ionput_response_schema_data_item_custom.py | 44 - ...edewerker_itemget_request_schema_custom.py | 44 - .../medewerker_itemget_response_schema.py | 82 - ...er_itemget_response_schema_data_country.py | 196 -- .../medewerker_itempost_response_schema.py | 82 - ...r_itempost_response_schema_data_country.py | 196 -- ...edewerker_itemput_request_schema_custom.py | 44 - .../medewerker_itemput_response_schema.py | 82 - ...er_itemput_response_schema_data_country.py | 196 -- ...ollectionpost_response_schema_data_item.py | 117 - .../offerte_collectionget_response_schema.py | 88 - .../offerte_collectionput_response_schema.py | 88 - ...onget_response_schema_data_item_country.py | 196 -- .../person_collectionpost_response_schema.py | 88 - ...npost_response_schema_data_item_country.py | 196 -- .../person_collectionput_response_schema.py | 88 - ...onput_response_schema_data_item_country.py | 196 -- ...ionput_response_schema_data_item_custom.py | 44 - .../models/person_itemget_response_schema.py | 82 - ...on_itemget_response_schema_data_country.py | 196 -- ...n_itempost_response_schema_data_country.py | 196 -- .../person_itemput_request_schema_custom.py | 44 - .../models/person_itemput_response_schema.py | 82 - ...on_itemput_response_schema_data_country.py | 196 -- ...ateriaal_collectionpost_response_schema.py | 90 - ...ollectionpost_response_schema_data_item.py | 270 --- ...onpost_response_schema_data_item_custom.py | 44 - ...personeel_collectionget_response_schema.py | 90 - ...ionget_response_schema_data_item_custom.py | 44 - ...get_response_schema_data_item_transport.py | 11 - ...ersoneel_collectionpost_response_schema.py | 90 - ...ollectionpost_response_schema_data_item.py | 251 -- ...onpost_response_schema_data_item_custom.py | 44 - ...ost_response_schema_data_item_transport.py | 11 - ...personeel_collectionput_response_schema.py | 90 - ...collectionput_response_schema_data_item.py | 251 -- ...put_response_schema_data_item_transport.py | 11 - ...personeel_itemget_request_schema_custom.py | 44 - ...eel_itemget_response_schema_data_custom.py | 44 - ...el_itempost_response_schema_data_custom.py | 44 - ...anningpersoneel_itemput_response_schema.py | 82 - ...eel_itemput_response_schema_data_custom.py | 44 - ..._itemput_response_schema_data_transport.py | 11 - ...transport_collectionget_response_schema.py | 90 - ...ionget_response_schema_data_item_custom.py | 44 - ...get_response_schema_data_item_transport.py | 11 - ...ransport_collectionpost_response_schema.py | 90 - ...onpost_response_schema_data_item_custom.py | 44 - ...ost_response_schema_data_item_transport.py | 11 - ...transport_collectionput_response_schema.py | 90 - ...collectionput_response_schema_data_item.py | 195 -- ...ionput_response_schema_data_item_custom.py | 44 - ...put_response_schema_data_item_transport.py | 11 - ...transport_itemget_request_schema_custom.py | 44 - ...anningtransport_itemget_response_schema.py | 82 - ...ort_itemget_response_schema_data_custom.py | 44 - ...nningtransport_itempost_response_schema.py | 82 - ...rt_itempost_response_schema_data_custom.py | 44 - ...anningtransport_itemput_response_schema.py | 82 - ...ort_itemput_response_schema_data_custom.py | 44 - ..._itemput_response_schema_data_transport.py | 11 - ...ojectcrew_collectionget_response_schema.py | 88 + ...ollectionget_response_schema_data_item.py} | 30 +- ...onget_response_schema_data_item_custom.py} | 10 +- ...et_response_schema_data_item_transport.py} | 2 +- ...ectcrew_collectionpost_response_schema.py} | 18 +- ...ollectionpost_response_schema_data_item.py | 251 ++ ...onpost_response_schema_data_item_custom.py | 44 + ...ost_response_schema_data_item_transport.py | 11 + ...ojectcrew_collectionput_response_schema.py | 88 + ...collectionput_response_schema_data_item.py | 251 ++ ...ionput_response_schema_data_item_custom.py | 44 + ...put_response_schema_data_item_transport.py | 11 + ... => projectcrew_itemget_request_schema.py} | 26 +- ...jectcrew_itemget_request_schema_custom.py} | 10 +- ...tcrew_itemget_request_schema_transport.py} | 2 +- .../projectcrew_itemget_response_schema.py | 82 + ...ojectcrew_itemget_response_schema_data.py} | 30 +- ...ew_itemget_response_schema_data_custom.py} | 10 +- ...itemget_response_schema_data_transport.py} | 2 +- ...=> projectcrew_itempost_request_schema.py} | 26 +- ...ectcrew_itempost_request_schema_custom.py} | 10 +- ...crew_itempost_request_schema_transport.py} | 2 +- ...> projectcrew_itempost_response_schema.py} | 18 +- ...jectcrew_itempost_response_schema_data.py} | 30 +- ...w_itempost_response_schema_data_custom.py} | 10 +- ...tempost_response_schema_data_transport.py} | 2 +- ... => projectcrew_itemput_request_schema.py} | 26 +- ...ojectcrew_itemput_request_schema_custom.py | 44 + ...ctcrew_itemput_request_schema_transport.py | 11 + .../projectcrew_itemput_response_schema.py | 82 + ...ojectcrew_itemput_response_schema_data.py} | 30 +- ...ew_itemput_response_schema_data_custom.py} | 10 +- ..._itemput_response_schema_data_transport.py | 11 + ...quipment_collectionget_response_schema.py} | 18 +- ...ollectionget_response_schema_data_item.py} | 20 +- ...ionget_response_schema_data_item_custom.py | 44 + ...uipment_collectionpost_response_schema.py} | 18 +- ...llectionpost_response_schema_data_item.py} | 20 +- ...npost_response_schema_data_item_custom.py} | 10 +- ...equipment_collectionput_response_schema.py | 90 + ...collectionput_response_schema_data_item.py | 270 +++ ...ionput_response_schema_data_item_custom.py | 44 + ...rojectequipment_itemget_request_schema.py} | 18 +- ...quipment_itemget_request_schema_custom.py} | 10 +- ...ojectequipment_itemget_response_schema.py} | 18 +- ...equipment_itemget_response_schema_data.py} | 20 +- ...ent_itemget_response_schema_data_custom.py | 44 + ...ojectequipment_itempost_request_schema.py} | 18 +- ...uipment_itempost_request_schema_custom.py} | 10 +- ...jectequipment_itempost_response_schema.py} | 18 +- ...quipment_itempost_response_schema_data.py} | 20 +- ...t_itempost_response_schema_data_custom.py} | 10 +- ...rojectequipment_itemput_request_schema.py} | 18 +- ...quipment_itemput_request_schema_custom.py} | 10 +- ...ojectequipment_itemput_response_schema.py} | 18 +- ...equipment_itemput_response_schema_data.py} | 20 +- ...ent_itemput_response_schema_data_custom.py | 44 + ...mentgroup_collectionget_response_schema.py | 90 + ...ollectionget_response_schema_data_item.py} | 10 +- ...entgroup_collectionpost_response_schema.py | 90 + ...llectionpost_response_schema_data_item.py} | 10 +- ...mentgroup_collectionput_response_schema.py | 90 + ...ollectionput_response_schema_data_item.py} | 10 +- ...tequipmentgroup_itemget_request_schema.py} | 10 +- ...equipmentgroup_itemget_response_schema.py} | 18 +- ...mentgroup_itemget_response_schema_data.py} | 10 +- ...equipmentgroup_itempost_request_schema.py} | 10 +- ...quipmentgroup_itempost_response_schema.py} | 18 +- ...entgroup_itempost_response_schema_data.py} | 10 +- ...tequipmentgroup_itemput_request_schema.py} | 10 +- ...tequipmentgroup_itemput_response_schema.py | 82 + ...mentgroup_itemput_response_schema_data.py} | 10 +- ...function_collectionget_response_schema.py} | 18 +- ...ollectionget_response_schema_data_item.py} | 90 +- ...ionget_response_schema_data_item_custom.py | 44 + ..._item_planperiod_end_schedule_is_start.py} | 2 +- ...item_planperiod_start_schedule_is_start.py | 9 + ...tionget_response_schema_data_item_type.py} | 2 +- ...item_usageperiod_end_schedule_is_start.py} | 2 +- ...tem_usageperiod_start_schedule_is_start.py | 9 + ...projectfunction_itemget_request_schema.py} | 74 +- ...function_itemget_request_schema_custom.py} | 10 +- ...chema_planperiod_end_schedule_is_start.py} | 2 +- ...ema_planperiod_start_schedule_is_start.py} | 2 +- ...ctfunction_itemget_request_schema_type.py} | 2 +- ...hema_usageperiod_end_schedule_is_start.py} | 2 +- ...ma_usageperiod_start_schedule_is_start.py} | 2 +- ...rojectfunction_itemget_response_schema.py} | 18 +- ...tfunction_itemget_response_schema_data.py} | 74 +- ...ion_itemget_response_schema_data_custom.py | 44 + ..._data_planperiod_end_schedule_is_start.py} | 2 +- ...ata_planperiod_start_schedule_is_start.py} | 2 +- ...tion_itemget_response_schema_data_type.py} | 2 +- ..._data_usageperiod_end_schedule_is_start.py | 9 + ...ta_usageperiod_start_schedule_is_start.py} | 2 +- ...tiongroup_collectionget_response_schema.py | 90 + ...ollectionget_response_schema_data_item.py} | 68 +- ..._item_planperiod_end_schedule_is_start.py} | 2 +- ...item_planperiod_start_schedule_is_start.py | 9 + ...item_usageperiod_end_schedule_is_start.py} | 2 +- ...tem_usageperiod_start_schedule_is_start.py | 9 + ...ctfunctiongroup_itemget_request_schema.py} | 56 +- ...chema_planperiod_end_schedule_is_start.py} | 2 +- ...ema_planperiod_start_schedule_is_start.py} | 2 +- ...hema_usageperiod_end_schedule_is_start.py} | 2 +- ...ma_usageperiod_start_schedule_is_start.py} | 2 +- ...ctfunctiongroup_itemget_response_schema.py | 82 + ...tiongroup_itemget_response_schema_data.py} | 52 +- ..._data_planperiod_end_schedule_is_start.py} | 2 +- ...ata_planperiod_start_schedule_is_start.py} | 2 +- ..._data_usageperiod_end_schedule_is_start.py | 9 + ...ta_usageperiod_start_schedule_is_start.py} | 2 +- ...ojecttype_collectionget_response_schema.py | 88 + ...ollectionget_response_schema_data_item.py} | 20 +- ...tionget_response_schema_data_item_type.py} | 2 +- ...ecttype_collectionpost_response_schema.py} | 18 +- ...llectionpost_response_schema_data_item.py} | 20 +- ...ionpost_response_schema_data_item_type.py} | 2 +- ...ojecttype_collectionput_response_schema.py | 88 + ...ollectionput_response_schema_data_item.py} | 20 +- ...tionput_response_schema_data_item_type.py} | 2 +- ... => projecttype_itemget_request_schema.py} | 18 +- ...rojecttype_itemget_request_schema_type.py} | 2 +- .../projecttype_itemget_response_schema.py | 82 + ...ojecttype_itemget_response_schema_data.py} | 18 +- ...type_itemget_response_schema_data_type.py} | 2 +- ...=> projecttype_itempost_request_schema.py} | 18 +- ...ojecttype_itempost_request_schema_type.py} | 2 +- ...> projecttype_itempost_response_schema.py} | 18 +- ...jecttype_itempost_response_schema_data.py} | 18 +- ...type_itempost_response_schema_data_type.py | 11 + ... => projecttype_itemput_request_schema.py} | 18 +- ...rojecttype_itemput_request_schema_type.py} | 2 +- .../projecttype_itemput_response_schema.py | 82 + ...ojecttype_itemput_response_schema_data.py} | 18 +- ...ttype_itemput_response_schema_data_type.py | 11 + ...ctvehicle_collectionget_response_schema.py | 90 + ...ollectionget_response_schema_data_item.py} | 30 +- ...onget_response_schema_data_item_custom.py} | 10 +- ...et_response_schema_data_item_transport.py} | 2 +- ...vehicle_collectionpost_response_schema.py} | 18 +- ...llectionpost_response_schema_data_item.py} | 30 +- ...onpost_response_schema_data_item_custom.py | 44 + ...ost_response_schema_data_item_transport.py | 11 + ...ctvehicle_collectionput_response_schema.py | 90 + ...collectionput_response_schema_data_item.py | 195 ++ ...onput_response_schema_data_item_custom.py} | 10 +- ...put_response_schema_data_item_transport.py | 11 + ... projectvehicle_itemget_request_schema.py} | 26 +- ...ctvehicle_itemget_request_schema_custom.py | 44 + ...hicle_itemget_request_schema_transport.py} | 2 +- .../projectvehicle_itemget_response_schema.py | 82 + ...ctvehicle_itemget_response_schema_data.py} | 30 +- ...cle_itemget_response_schema_data_custom.py | 44 + ...itemget_response_schema_data_transport.py} | 2 +- ...projectvehicle_itempost_request_schema.py} | 26 +- ...tvehicle_itempost_request_schema_custom.py | 44 + ...icle_itempost_request_schema_transport.py} | 2 +- ...rojectvehicle_itempost_response_schema.py} | 18 +- ...tvehicle_itempost_response_schema_data.py} | 30 +- ...le_itempost_response_schema_data_custom.py | 44 + ...itempost_response_schema_data_transport.py | 11 + ... projectvehicle_itemput_request_schema.py} | 26 +- ...ctvehicle_itemput_request_schema_custom.py | 44 + ...hicle_itemput_request_schema_transport.py} | 2 +- .../projectvehicle_itemput_response_schema.py | 82 + ...ctvehicle_itemput_response_schema_data.py} | 30 +- ...cle_itemput_response_schema_data_custom.py | 44 + ..._itemput_response_schema_data_transport.py | 11 + ...=> quote_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 10 +- ...> quote_collectionpost_response_schema.py} | 16 +- ...llectionpost_response_schema_data_item.py} | 10 +- ...=> quote_collectionput_response_schema.py} | 16 +- ...ollectionput_response_schema_data_item.py} | 10 +- ...ema.py => quote_itemget_request_schema.py} | 10 +- ...ma.py => quote_itemget_response_schema.py} | 18 +- ... => quote_itemget_response_schema_data.py} | 10 +- ...ma.py => quote_itempost_request_schema.py} | 10 +- ...a.py => quote_itempost_response_schema.py} | 18 +- ...=> quote_itempost_response_schema_data.py} | 10 +- ...ema.py => quote_itemput_request_schema.py} | 10 +- ...ma.py => quote_itemput_response_schema.py} | 18 +- ... => quote_itemput_response_schema_data.py} | 10 +- ...> repair_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 30 +- ...onget_response_schema_data_item_custom.py} | 10 +- ...et_response_schema_data_item_is_usable.py} | 2 +- ... repair_collectionpost_response_schema.py} | 16 +- ...llectionpost_response_schema_data_item.py} | 30 +- ...npost_response_schema_data_item_custom.py} | 10 +- ...ost_response_schema_data_item_is_usable.py | 9 + ...> repair_collectionput_response_schema.py} | 16 +- ...collectionput_response_schema_data_item.py | 244 ++ ...onput_response_schema_data_item_custom.py} | 10 +- ...ut_response_schema_data_item_is_usable.py} | 2 +- ...ma.py => repair_itemget_request_schema.py} | 26 +- ...> repair_itemget_request_schema_custom.py} | 10 +- ...epair_itemget_request_schema_is_usable.py} | 2 +- ...a.py => repair_itemget_response_schema.py} | 18 +- ...=> repair_itemget_response_schema_data.py} | 26 +- ...ir_itemget_response_schema_data_custom.py} | 10 +- ...itemget_response_schema_data_is_usable.py} | 2 +- ...a.py => repair_itempost_request_schema.py} | 26 +- ... repair_itempost_request_schema_custom.py} | 10 +- ...pair_itempost_request_schema_is_usable.py} | 2 +- ....py => repair_itempost_response_schema.py} | 18 +- ...> repair_itempost_response_schema_data.py} | 26 +- ...r_itempost_response_schema_data_custom.py} | 10 +- ...itempost_response_schema_data_is_usable.py | 9 + ...ma.py => repair_itemput_request_schema.py} | 26 +- ...> repair_itemput_request_schema_custom.py} | 10 +- ...epair_itemput_request_schema_is_usable.py} | 2 +- ...a.py => repair_itemput_response_schema.py} | 18 +- ...=> repair_itemput_response_schema_data.py} | 26 +- ...ir_itemput_response_schema_data_custom.py} | 10 +- ..._itemput_response_schema_data_is_usable.py | 9 + ...reparatie_collectionget_response_schema.py | 88 - ...ionget_response_schema_data_item_custom.py | 44 - ...get_response_schema_data_item_is_usable.py | 9 - ...eparatie_collectionpost_response_schema.py | 88 - ...onpost_response_schema_data_item_custom.py | 44 - ...ost_response_schema_data_item_is_usable.py | 9 - ...reparatie_collectionput_response_schema.py | 88 - ...collectionput_response_schema_data_item.py | 244 -- ...ionput_response_schema_data_item_custom.py | 44 - ...put_response_schema_data_item_is_usable.py | 9 - ...reparatie_itemget_request_schema_custom.py | 44 - .../reparatie_itemget_response_schema.py | 82 - ...tie_itemget_response_schema_data_custom.py | 44 - ...eparatie_itempost_request_schema_custom.py | 44 - ...ie_itempost_response_schema_data_custom.py | 44 - ...reparatie_itemput_request_schema_custom.py | 44 - .../reparatie_itemput_response_schema.py | 82 - ...tie_itemput_response_schema_data_custom.py | 44 - ..._itemput_response_schema_data_is_usable.py | 9 - ...ialnumber_collectionget_response_schema.py | 90 + ...ollectionget_response_schema_data_item.py} | 20 +- ...ionget_response_schema_data_item_custom.py | 44 + ...alnumber_collectionpost_response_schema.py | 90 + ...llectionpost_response_schema_data_item.py} | 20 +- ...onpost_response_schema_data_item_custom.py | 44 + ...ialnumber_collectionput_response_schema.py | 90 + ...ollectionput_response_schema_data_item.py} | 20 +- ...ionput_response_schema_data_item_custom.py | 44 + ...=> serialnumber_itemget_request_schema.py} | 18 +- ...alnumber_itemget_request_schema_custom.py} | 10 +- .../serialnumber_itemget_response_schema.py | 82 + ...ialnumber_itemget_response_schema_data.py} | 18 +- ...er_itemget_response_schema_data_custom.py} | 10 +- ...> serialnumber_itempost_request_schema.py} | 18 +- ...alnumber_itempost_request_schema_custom.py | 44 + ... serialnumber_itempost_response_schema.py} | 18 +- ...alnumber_itempost_response_schema_data.py} | 18 +- ...er_itempost_response_schema_data_custom.py | 44 + ...=> serialnumber_itemput_request_schema.py} | 18 +- ...ialnumber_itemput_request_schema_custom.py | 44 + .../serialnumber_itemput_response_schema.py | 82 + ...ialnumber_itemput_response_schema_data.py} | 18 +- ...er_itemput_response_schema_data_custom.py} | 10 +- ...setinhoud_collectionget_response_schema.py | 88 - ...etinhoud_collectionpost_response_schema.py | 88 - ...setinhoud_collectionput_response_schema.py | 88 - .../setinhoud_itemget_response_schema.py | 82 - ...d_itemget_response_schema_data_is_fixed.py | 9 - .../setinhoud_itempost_response_schema.py | 82 - ...tinhoud_itemput_request_schema_is_fixed.py | 9 - .../setinhoud_itemput_response_schema.py | 82 - ...d_itemput_response_schema_data_is_fixed.py | 9 - ...location_collectionget_response_schema.py} | 18 +- ...ollectionget_response_schema_data_item.py} | 30 +- ...onget_response_schema_data_item_country.py | 196 ++ ...tionget_response_schema_data_item_type.py} | 2 +- ...location_collectionpost_response_schema.py | 90 + ...llectionpost_response_schema_data_item.py} | 30 +- ...npost_response_schema_data_item_country.py | 196 ++ ...ionpost_response_schema_data_item_type.py} | 2 +- ...klocation_collectionput_response_schema.py | 90 + ...ollectionput_response_schema_data_item.py} | 30 +- ...onput_response_schema_data_item_country.py | 196 ++ ...tionput_response_schema_data_item_type.py} | 2 +- ...> stocklocation_itemget_request_schema.py} | 26 +- ...ocation_itemget_request_schema_country.py} | 2 +- ...cklocation_itemget_request_schema_type.py} | 2 +- .../stocklocation_itemget_response_schema.py | 82 + ...klocation_itemget_response_schema_data.py} | 26 +- ...on_itemget_response_schema_data_country.py | 196 ++ ...tion_itemget_response_schema_data_type.py} | 2 +- ... stocklocation_itempost_request_schema.py} | 26 +- ...ocation_itempost_request_schema_country.py | 196 ++ ...klocation_itempost_request_schema_type.py} | 2 +- .../stocklocation_itempost_response_schema.py | 82 + ...location_itempost_response_schema_data.py} | 26 +- ...n_itempost_response_schema_data_country.py | 196 ++ ...ion_itempost_response_schema_data_type.py} | 2 +- ...> stocklocation_itemput_request_schema.py} | 26 +- ...location_itemput_request_schema_country.py | 196 ++ ...cklocation_itemput_request_schema_type.py} | 2 +- .../stocklocation_itemput_response_schema.py | 82 + ...klocation_itemput_response_schema_data.py} | 26 +- ...on_itemput_response_schema_data_country.py | 196 ++ ...ation_itemput_response_schema_data_type.py | 9 + ...kmovement_collectionget_response_schema.py | 90 + ...ollectionget_response_schema_data_item.py} | 20 +- ...tionget_response_schema_data_item_type.py} | 2 +- ...movement_collectionpost_response_schema.py | 90 + ...llectionpost_response_schema_data_item.py} | 10 +- ...kmovement_collectionput_response_schema.py | 90 + ...ollectionput_response_schema_data_item.py} | 10 +- ...> stockmovement_itemget_request_schema.py} | 18 +- ...ckmovement_itemget_request_schema_type.py} | 2 +- .../stockmovement_itemget_response_schema.py | 82 + ...kmovement_itemget_response_schema_data.py} | 18 +- ...ment_itemget_response_schema_data_type.py} | 2 +- ... stockmovement_itempost_request_schema.py} | 10 +- .../stockmovement_itempost_response_schema.py | 82 + ...movement_itempost_response_schema_data.py} | 10 +- ...> stockmovement_itemput_request_schema.py} | 10 +- .../stockmovement_itemput_response_schema.py | 82 + ...kmovement_itemput_response_schema_data.py} | 10 +- ...subrental_collectionget_response_schema.py | 88 + ...ollectionget_response_schema_data_item.py} | 30 +- ...onget_response_schema_data_item_custom.py} | 10 +- ...tionget_response_schema_data_item_type.py} | 2 +- ...ubrental_collectionpost_response_schema.py | 88 + ...llectionpost_response_schema_data_item.py} | 30 +- ...npost_response_schema_data_item_custom.py} | 10 +- ...ionpost_response_schema_data_item_type.py} | 2 +- ...subrental_collectionput_response_schema.py | 88 + ...ollectionput_response_schema_data_item.py} | 30 +- ...onput_response_schema_data_item_custom.py} | 10 +- ...tionput_response_schema_data_item_type.py} | 2 +- ...py => subrental_itemget_request_schema.py} | 26 +- ...ubrental_itemget_request_schema_custom.py} | 10 +- ... subrental_itemget_request_schema_type.py} | 2 +- .../subrental_itemget_response_schema.py | 82 + ...subrental_itemget_response_schema_data.py} | 26 +- ...al_itemget_response_schema_data_custom.py} | 10 +- ...ntal_itemget_response_schema_data_type.py} | 2 +- ...y => subrental_itempost_request_schema.py} | 26 +- ...brental_itempost_request_schema_custom.py} | 10 +- ...subrental_itempost_request_schema_type.py} | 2 +- .../subrental_itempost_response_schema.py | 82 + ...ubrental_itempost_response_schema_data.py} | 26 +- ...l_itempost_response_schema_data_custom.py} | 10 +- ...ntal_itempost_response_schema_data_type.py | 10 + ...py => subrental_itemput_request_schema.py} | 26 +- ...ubrental_itemput_request_schema_custom.py} | 10 +- ... subrental_itemput_request_schema_type.py} | 2 +- .../subrental_itemput_response_schema.py | 82 + ...subrental_itemput_response_schema_data.py} | 26 +- ...al_itemput_response_schema_data_custom.py} | 10 +- ...ntal_itemput_response_schema_data_type.py} | 2 +- ...quipment_collectionget_response_schema.py} | 18 +- ...ollectionget_response_schema_data_item.py} | 10 +- ...uipment_collectionpost_response_schema.py} | 18 +- ...llectionpost_response_schema_data_item.py} | 10 +- ...quipment_collectionput_response_schema.py} | 18 +- ...ollectionput_response_schema_data_item.py} | 10 +- ...rentalequipment_itemget_request_schema.py} | 10 +- ...entalequipment_itemget_response_schema.py} | 18 +- ...equipment_itemget_response_schema_data.py} | 10 +- ...entalequipment_itempost_request_schema.py} | 10 +- ...ntalequipment_itempost_response_schema.py} | 18 +- ...quipment_itempost_response_schema_data.py} | 10 +- ...rentalequipment_itemput_request_schema.py} | 10 +- ...entalequipment_itemput_response_schema.py} | 18 +- ...equipment_itemput_response_schema_data.py} | 10 +- ...mentgroup_collectionget_response_schema.py | 90 + ...ollectionget_response_schema_data_item.py} | 10 +- ...entgroup_collectionpost_response_schema.py | 90 + ...llectionpost_response_schema_data_item.py} | 10 +- ...mentgroup_collectionput_response_schema.py | 90 + ...ollectionput_response_schema_data_item.py} | 10 +- ...lequipmentgroup_itemget_request_schema.py} | 10 +- ...lequipmentgroup_itemget_response_schema.py | 84 + ...mentgroup_itemget_response_schema_data.py} | 10 +- ...equipmentgroup_itempost_request_schema.py} | 10 +- ...quipmentgroup_itempost_response_schema.py} | 20 +- ...entgroup_itempost_response_schema_data.py} | 10 +- ...lequipmentgroup_itemput_request_schema.py} | 10 +- ...lequipmentgroup_itemput_response_schema.py | 84 + ...mentgroup_itemput_response_schema_data.py} | 10 +- ...istration_collectionget_response_schema.py | 90 + ...ollectionget_response_schema_data_item.py} | 30 +- ...ionget_response_schema_data_item_custom.py | 44 + ...tionget_response_schema_data_item_type.py} | 2 +- ...tration_collectionpost_response_schema.py} | 18 +- ...llectionpost_response_schema_data_item.py} | 30 +- ...npost_response_schema_data_item_custom.py} | 10 +- ...tionpost_response_schema_data_item_type.py | 12 + ...istration_collectionput_response_schema.py | 90 + ...ollectionput_response_schema_data_item.py} | 30 +- ...ionput_response_schema_data_item_custom.py | 44 + ...ctionput_response_schema_data_item_type.py | 12 + ...imeregistration_itemget_request_schema.py} | 26 +- ...istration_itemget_request_schema_custom.py | 44 + ...gistration_itemget_request_schema_type.py} | 2 +- ...meregistration_itemget_response_schema.py} | 18 +- ...istration_itemget_response_schema_data.py} | 28 +- ...ion_itemget_response_schema_data_custom.py | 44 + ...tion_itemget_response_schema_data_type.py} | 2 +- ...meregistration_itempost_request_schema.py} | 26 +- ...tration_itempost_request_schema_custom.py} | 10 +- ...istration_itempost_request_schema_type.py} | 2 +- ...eregistration_itempost_response_schema.py} | 18 +- ...stration_itempost_response_schema_data.py} | 28 +- ...n_itempost_response_schema_data_custom.py} | 10 +- ...ion_itempost_response_schema_data_type.py} | 2 +- ...imeregistration_itemput_request_schema.py} | 26 +- ...stration_itemput_request_schema_custom.py} | 10 +- ...gistration_itemput_request_schema_type.py} | 2 +- ...imeregistration_itemput_response_schema.py | 82 + ...istration_itemput_response_schema_data.py} | 28 +- ...ion_itemput_response_schema_data_custom.py | 44 + ...tion_itemput_response_schema_data_type.py} | 2 +- ...nactivity_collectionget_response_schema.py | 90 + ...ollectionget_response_schema_data_item.py} | 10 +- ...activity_collectionpost_response_schema.py | 90 + ...llectionpost_response_schema_data_item.py} | 10 +- ...nactivity_collectionput_response_schema.py | 90 + ...ollectionput_response_schema_data_item.py} | 10 +- ...trationactivity_itemget_request_schema.py} | 10 +- ...trationactivity_itemget_response_schema.py | 84 + ...nactivity_itemget_response_schema_data.py} | 10 +- ...rationactivity_itempost_request_schema.py} | 10 +- ...rationactivity_itempost_response_schema.py | 84 + ...activity_itempost_response_schema_data.py} | 10 +- ...trationactivity_itemput_request_schema.py} | 10 +- ...trationactivity_itemput_response_schema.py | 84 + ...nactivity_itemput_response_schema_data.py} | 10 +- .../type_itemput_request_schema_type.py | 11 - .../type_itemput_response_schema_data_type.py | 11 - .../uren_itemput_request_schema_type.py | 12 - .../uren_itemput_response_schema_data_type.py | 12 - ... vehicle_collectionget_response_schema.py} | 16 +- ...ollectionget_response_schema_data_item.py} | 30 +- ...onget_response_schema_data_item_custom.py} | 10 +- ...nget_response_schema_data_item_multiple.py | 9 + ...vehicle_collectionpost_response_schema.py} | 16 +- ...llectionpost_response_schema_data_item.py} | 30 +- ...npost_response_schema_data_item_custom.py} | 10 +- ...ost_response_schema_data_item_multiple.py} | 2 +- .../vehicle_collectionput_response_schema.py | 88 + ...collectionput_response_schema_data_item.py | 246 ++ ...onput_response_schema_data_item_custom.py} | 10 +- ...nput_response_schema_data_item_multiple.py | 9 + ...a.py => vehicle_itemget_request_schema.py} | 26 +- ... vehicle_itemget_request_schema_custom.py} | 10 +- ...ehicle_itemget_request_schema_multiple.py} | 2 +- ....py => vehicle_itemget_response_schema.py} | 18 +- ...> vehicle_itemget_response_schema_data.py} | 26 +- ...le_itemget_response_schema_data_custom.py} | 10 +- ...e_itemget_response_schema_data_multiple.py | 9 + ....py => vehicle_itempost_request_schema.py} | 26 +- ...vehicle_itempost_request_schema_custom.py} | 10 +- ...ehicle_itempost_request_schema_multiple.py | 9 + ...py => vehicle_itempost_response_schema.py} | 18 +- ... vehicle_itempost_response_schema_data.py} | 26 +- ...e_itempost_response_schema_data_custom.py} | 10 +- ..._itempost_response_schema_data_multiple.py | 9 + ...a.py => vehicle_itemput_request_schema.py} | 26 +- ... vehicle_itemput_request_schema_custom.py} | 10 +- ...vehicle_itemput_request_schema_multiple.py | 9 + ....py => vehicle_itemput_response_schema.py} | 18 +- ...> vehicle_itemput_response_schema_data.py} | 26 +- ...le_itemput_response_schema_data_custom.py} | 10 +- ...e_itemput_response_schema_data_multiple.py | 9 + .../voertuig_collectionget_response_schema.py | 88 - ...voertuig_collectionpost_response_schema.py | 88 - ...ollectionpost_response_schema_data_item.py | 246 -- ...onpost_response_schema_data_item_custom.py | 44 - ...post_response_schema_data_item_multiple.py | 9 - .../voertuig_collectionput_response_schema.py | 88 - ...ionput_response_schema_data_item_custom.py | 44 - ...nput_response_schema_data_item_multiple.py | 9 - .../voertuig_itemget_response_schema.py | 82 - ...g_itemget_response_schema_data_multiple.py | 9 - ...voertuig_itempost_request_schema_custom.py | 44 - ...ertuig_itempost_request_schema_multiple.py | 9 - .../voertuig_itempost_response_schema.py | 82 - ...ig_itempost_response_schema_data_custom.py | 44 - ..._itempost_response_schema_data_multiple.py | 9 - .../voertuig_itemput_request_schema_custom.py | 44 - .../voertuig_itemput_response_schema.py | 82 - ...g_itemput_response_schema_data_multiple.py | 9 - ...admutatie_collectionget_response_schema.py | 90 - ...dmutatie_collectionpost_response_schema.py | 90 - ...admutatie_collectionput_response_schema.py | 90 - ...voorraadmutatie_itemget_response_schema.py | 82 - ...oorraadmutatie_itempost_response_schema.py | 82 - ...voorraadmutatie_itemput_response_schema.py | 82 - 1062 files changed, 20187 insertions(+), 20053 deletions(-) rename rentman_api_client/api/accessories/{accessoire_collection_get.py => accessory_collection_get.py} (76%) rename rentman_api_client/api/accessories/{accessoire_item_get.py => accessory_item_get.py} (80%) rename rentman_api_client/api/appointmentcrew/{afspraakmedewerker_collection_get.py => appointmentcrew_collection_get.py} (68%) rename rentman_api_client/api/appointmentcrew/{afspraakmedewerker_item_delete.py => appointmentcrew_item_delete.py} (100%) rename rentman_api_client/api/appointmentcrew/{afspraakmedewerker_item_get.py => appointmentcrew_item_get.py} (72%) rename rentman_api_client/api/appointmentcrew/{afspraakmedewerker_item_put.py => appointmentcrew_item_put.py} (64%) rename rentman_api_client/api/appointments/{afspraak_collection_get.py => appointment_collection_get.py} (70%) rename rentman_api_client/api/appointments/{afspraak_collection_post.py => appointment_collection_post.py} (64%) rename rentman_api_client/api/appointments/{afspraak_item_afspraakmedewerker_get.py => appointment_item_appointmentcrew_get.py} (70%) rename rentman_api_client/api/appointments/{afspraak_item_afspraakmedewerker_post.py => appointment_item_appointmentcrew_post.py} (64%) rename rentman_api_client/api/appointments/{afspraak_item_delete.py => appointment_item_delete.py} (100%) rename rentman_api_client/api/appointments/{afspraak_item_get.py => appointment_item_get.py} (74%) rename rentman_api_client/api/appointments/{afspraak_item_put.py => appointment_item_put.py} (66%) rename rentman_api_client/api/contactpersons/{person_collection_get.py => contactperson_collection_get.py} (69%) rename rentman_api_client/api/contactpersons/{person_item_delete.py => contactperson_item_delete.py} (100%) rename rentman_api_client/api/contactpersons/{person_item_get.py => contactperson_item_get.py} (73%) rename rentman_api_client/api/contactpersons/{person_item_put.py => contactperson_item_put.py} (66%) rename rentman_api_client/api/contactpersons/{person_item_files_get.py => contactpersons_item_files_get.py} (80%) rename rentman_api_client/api/contacts/{contact_item_person_get.py => contact_item_contactperson_get.py} (71%) rename rentman_api_client/api/contacts/{contact_item_person_post.py => contact_item_contactperson_post.py} (65%) rename rentman_api_client/api/contracts/{contract_item_btwbedrag_get.py => contract_item_invoiceline_get.py} (72%) rename rentman_api_client/api/{projecttypes/type_collection_get.py => crew/crew_collection_get.py} (72%) rename rentman_api_client/api/crew/{medewerker_item_afspraak_get.py => crew_item_appointment_get.py} (72%) rename rentman_api_client/api/crew/{medewerker_item_beschikbaarheid_get.py => crew_item_crewavailability_get.py} (71%) rename rentman_api_client/api/crew/{medewerker_item_beschikbaarheid_post.py => crew_item_crewavailability_post.py} (64%) rename rentman_api_client/api/crew/{medewerker_item_medewerkertarief_get.py => crew_item_crewrate_get.py} (70%) rename rentman_api_client/api/crew/{medewerker_item_files_get.py => crew_item_files_get.py} (80%) rename rentman_api_client/api/{projecttypes/type_item_get.py => crew/crew_item_get.py} (74%) delete mode 100644 rentman_api_client/api/crew/medewerker_collection_get.py delete mode 100644 rentman_api_client/api/crew/medewerker_item_get.py rename rentman_api_client/api/crewavailability/{beschikbaarheid_item_delete.py => crew_availability_item_delete.py} (100%) rename rentman_api_client/api/crewavailability/{beschikbaarheid_item_get.py => crew_availability_item_get.py} (72%) rename rentman_api_client/api/crewavailability/{beschikbaarheid_item_put.py => crew_availability_item_put.py} (65%) rename rentman_api_client/api/crewavailability/{beschikbaarheid_collection_get.py => crewavailability_collection_get.py} (69%) create mode 100644 rentman_api_client/api/crewrates/crewrate_collection_get.py rename rentman_api_client/api/crewrates/{medewerkertarief_item_get.py => crewrate_item_get.py} (72%) delete mode 100644 rentman_api_client/api/crewrates/medewerkertarief_collection_get.py rename rentman_api_client/api/equipment/{materiaal_collection_get.py => equipment_collection_get.py} (72%) rename rentman_api_client/api/equipment/{materiaal_item_accessoire_get.py => equipment_item_accessory_get.py} (78%) rename rentman_api_client/api/equipment/{materiaal_item_setinhoud_get.py => equipment_item_equipmentsetscontent_get.py} (70%) rename rentman_api_client/api/equipment/{materiaal_item_files_get.py => equipment_item_files_get.py} (80%) rename rentman_api_client/api/equipment/{materiaal_item_get.py => equipment_item_get.py} (75%) rename rentman_api_client/api/equipment/{materiaal_item_reparatie_get.py => equipment_item_repair_get.py} (78%) rename rentman_api_client/api/equipment/{materiaal_item_exemplaar_get.py => equipment_item_serialnumber_get.py} (72%) rename rentman_api_client/api/equipment/{materiaal_item_voorraadmutatie_get.py => equipment_item_stockmovement_get.py} (71%) rename rentman_api_client/api/equipment/{materiaal_item_voorraadmutatie_post.py => equipment_item_stockmovement_post.py} (65%) rename rentman_api_client/api/equipmentsetscontent/{setinhoud_collection_get.py => equipmentsetscontent_collection_get.py} (67%) rename rentman_api_client/api/equipmentsetscontent/{setinhoud_item_get.py => equipmentsetscontent_item_get.py} (71%) rename rentman_api_client/api/files/{files_collection_get.py => file_collection_get.py} (78%) rename rentman_api_client/api/files/{files_item_get.py => file_item_get.py} (82%) rename rentman_api_client/api/invoicelines/{btwbedrag_collection_get.py => invoiceline_collection_get.py} (70%) rename rentman_api_client/api/invoicelines/{btwbedrag_item_get.py => invoiceline_item_get.py} (74%) rename rentman_api_client/api/invoices/{factuur_collection_get.py => invoice_collection_get.py} (72%) rename rentman_api_client/api/invoices/{factuur_item_files_get.py => invoice_item_files_get.py} (80%) rename rentman_api_client/api/invoices/{factuur_item_get.py => invoice_item_get.py} (76%) rename rentman_api_client/api/invoices/{factuur_item_btwbedrag_get.py => invoice_item_invoiceline_get.py} (72%) rename rentman_api_client/api/invoices/{factuur_item_payment_get.py => invoice_item_payment_get.py} (100%) rename rentman_api_client/api/invoices/{factuur_item_payment_post.py => invoice_item_payment_post.py} (100%) rename rentman_api_client/api/ledgercodes/{grootboek_collection_get.py => ledgercode_collection_get.py} (70%) rename rentman_api_client/api/ledgercodes/{grootboek_item_get.py => ledgercode_item_get.py} (74%) delete mode 100644 rentman_api_client/api/projectcrew/planningpersoneel_collection_get.py rename rentman_api_client/api/{subrentalequipmentgroup/inhuurgroep_collection_get.py => projectcrew/projectcrew_collection_get.py} (68%) rename rentman_api_client/api/projectcrew/{planningpersoneel_item_get.py => projectcrew_item_get.py} (72%) rename rentman_api_client/api/projectequipment/{planningmateriaal_collection_get.py => projectequipment_collection_get.py} (68%) rename rentman_api_client/api/projectequipment/{planningmateriaal_item_get.py => projectequipment_item_get.py} (72%) rename rentman_api_client/api/projectequipmentgroup/{materiaal_cat_collection_get.py => projectequipmentgroup_collection_get.py} (67%) rename rentman_api_client/api/projectequipmentgroup/{materiaal_cat_item_get.py => projectequipmentgroup_item_get.py} (71%) rename rentman_api_client/api/projectequipmentgroup/{materiaal_cat_item_planningmateriaal_get.py => projectequipmentgroup_item_projectequipment_get.py} (70%) rename rentman_api_client/api/projectfunctiongroups/{functiegroep_collection_get.py => projectfunctiongroup_collection_get.py} (67%) rename rentman_api_client/api/projectfunctiongroups/{functiegroep_item_get.py => projectfunctiongroup_item_get.py} (71%) rename rentman_api_client/api/projectfunctiongroups/{functiegroep_item_functie_get.py => projectfunctiongroup_item_projectfunction_get.py} (71%) rename rentman_api_client/api/projectfunctions/{functie_collection_get.py => projectfunction_collection_get.py} (69%) rename rentman_api_client/api/projectfunctions/{functie_item_get.py => projectfunction_item_get.py} (72%) rename rentman_api_client/api/projectfunctions/{functie_item_planningpersoneel_get.py => projectfunction_item_projectcrew_get.py} (70%) rename rentman_api_client/api/projectfunctions/{functie_item_planningtransport_get.py => projectfunction_item_projectvehicle_get.py} (70%) rename rentman_api_client/api/projects/{project_item_planningpersoneel_get.py => project_item_projectcrew_get.py} (70%) rename rentman_api_client/api/projects/{project_item_planningmateriaal_get.py => project_item_projectequipment_get.py} (70%) rename rentman_api_client/api/projects/{project_item_materiaal_cat_get.py => project_item_projectequipmentgroup_get.py} (69%) rename rentman_api_client/api/projects/{project_item_functie_get.py => project_item_projectfunction_get.py} (71%) rename rentman_api_client/api/projects/{project_item_functiegroep_get.py => project_item_projectfunctiongroup_get.py} (70%) rename rentman_api_client/api/projects/{project_item_planningtransport_get.py => project_item_projectvehicle_get.py} (70%) rename rentman_api_client/api/projects/{project_item_offerte_get.py => project_item_quote_get.py} (73%) create mode 100644 rentman_api_client/api/projecttypes/projecttype_collection_get.py create mode 100644 rentman_api_client/api/projecttypes/projecttype_item_get.py rename rentman_api_client/api/projectvehicles/{planningtransport_collection_get.py => projectvehicle_collection_get.py} (68%) rename rentman_api_client/api/projectvehicles/{planningtransport_item_get.py => projectvehicle_item_get.py} (72%) rename rentman_api_client/api/quotes/{offerte_collection_get.py => quote_collection_get.py} (71%) rename rentman_api_client/api/quotes/{offerte_item_files_get.py => quote_item_files_get.py} (80%) rename rentman_api_client/api/quotes/{offerte_item_get.py => quote_item_get.py} (75%) rename rentman_api_client/api/quotes/{offerte_item_btwbedrag_get.py => quote_item_invoiceline_get.py} (72%) rename rentman_api_client/api/repairs/{reparatie_collection_get.py => repair_collection_get.py} (77%) rename rentman_api_client/api/repairs/{reparatie_item_files_get.py => repair_item_files_get.py} (80%) rename rentman_api_client/api/repairs/{reparatie_item_get.py => repair_item_get.py} (80%) rename rentman_api_client/api/serialnumbers/{exemplaar_collection_get.py => serialnumber_collection_get.py} (70%) rename rentman_api_client/api/serialnumbers/{exemplaar_item_files_get.py => serialnumber_item_files_get.py} (80%) rename rentman_api_client/api/serialnumbers/{exemplaar_item_get.py => serialnumber_item_get.py} (73%) rename rentman_api_client/api/stocklocations/{asset_location_collection_get.py => stock_location_collection_get.py} (71%) rename rentman_api_client/api/stocklocations/{asset_location_item_get.py => stocklocation_item_get.py} (74%) rename rentman_api_client/api/stockmovements/{voorraadmutatie_collection_get.py => stockmovement_collection_get.py} (69%) rename rentman_api_client/api/stockmovements/{voorraadmutatie_item_delete.py => stockmovement_item_delete.py} (100%) rename rentman_api_client/api/stockmovements/{voorraadmutatie_item_get.py => stockmovement_item_get.py} (72%) rename rentman_api_client/api/stockmovements/{voorraadmutatie_item_put.py => stockmovement_item_put.py} (65%) rename rentman_api_client/api/subprojects/{subproject_item_planningpersoneel_get.py => subproject_item_projectcrew_get.py} (70%) rename rentman_api_client/api/subprojects/{subproject_item_planningmateriaal_get.py => subproject_item_projectequipment_get.py} (70%) rename rentman_api_client/api/subprojects/{subproject_item_materiaal_cat_get.py => subproject_item_projectequipmentgroup_get.py} (69%) rename rentman_api_client/api/subprojects/{subproject_item_functiegroep_get.py => subproject_item_projectfunctiongroup_get.py} (70%) rename rentman_api_client/api/subprojects/{subproject_item_planningtransport_get.py => subproject_item_projectvehicle_get.py} (70%) rename rentman_api_client/api/subrentalequipment/{inhuurmateriaal_collection_get.py => subrentalequipment_collection_get.py} (68%) rename rentman_api_client/api/subrentalequipment/{inhuurmateriaal_item_get.py => subrentalequipment_item_get.py} (72%) create mode 100644 rentman_api_client/api/subrentalequipmentgroup/subrentalequipmentgroup_collection_get.py rename rentman_api_client/api/subrentalequipmentgroup/{inhuurgroep_item_get.py => subrentalequipmentgroup_item_get.py} (70%) rename rentman_api_client/api/subrentalequipmentgroup/{inhuurgroep_item_inhuurmateriaal_get.py => subrentalequipmentgroup_item_subrentalequipment_get.py} (70%) rename rentman_api_client/api/subrentals/{inhuur_collection_get.py => subrental_collection_get.py} (71%) rename rentman_api_client/api/subrentals/{inhuur_item_files_get.py => subrental_item_files_get.py} (80%) rename rentman_api_client/api/subrentals/{inhuur_item_get.py => subrental_item_get.py} (74%) rename rentman_api_client/api/subrentals/{inhuur_item_inhuurmateriaal_get.py => subrental_item_subrentalequipment_get.py} (70%) rename rentman_api_client/api/subrentals/{inhuur_item_inhuurgroep_get.py => subrental_item_subrentalequipmentgroup_get.py} (69%) rename rentman_api_client/api/timeregistration/{uren_collection_get.py => timeregistration_collection_get.py} (69%) rename rentman_api_client/api/timeregistration/{uren_item_files_get.py => timeregistration_item_files_get.py} (80%) rename rentman_api_client/api/timeregistration/{uren_item_get.py => timeregistration_item_get.py} (72%) rename rentman_api_client/api/timeregistration/{uren_item_functieuur_get.py => timeregistration_item_timeregistrationactivity_get.py} (68%) rename rentman_api_client/api/timeregistrationactivities/{functieuur_collection_get.py => timeregistrationactivity_collection_get.py} (66%) rename rentman_api_client/api/timeregistrationactivities/{functieuur_item_get.py => timeregistrationactivity_item_get.py} (70%) rename rentman_api_client/api/vehicles/{voertuig_collection_get.py => vehicle_collection_get.py} (71%) rename rentman_api_client/api/vehicles/{voertuig_item_files_get.py => vehicle_item_files_get.py} (80%) rename rentman_api_client/api/vehicles/{voertuig_item_get.py => vehicle_item_get.py} (75%) rename rentman_api_client/models/{btwbedrag_collectionput_response_schema.py => accessory_collectionget_response_schema.py} (81%) rename rentman_api_client/models/{accessoire_collectionget_response_schema_data_item.py => accessory_collectionget_response_schema_data_item.py} (93%) rename rentman_api_client/models/{accessoire_collectionget_response_schema.py => accessory_collectionpost_response_schema.py} (80%) rename rentman_api_client/models/{accessoire_collectionput_response_schema_data_item.py => accessory_collectionpost_response_schema_data_item.py} (93%) rename rentman_api_client/models/{exemplaar_collectionget_response_schema.py => accessory_collectionput_response_schema.py} (81%) rename rentman_api_client/models/{accessoire_collectionpost_response_schema_data_item.py => accessory_collectionput_response_schema_data_item.py} (93%) rename rentman_api_client/models/{accessoire_itemget_request_schema.py => accessory_itemget_request_schema.py} (91%) rename rentman_api_client/models/{btwbedrag_itemput_response_schema.py => accessory_itemget_response_schema.py} (78%) rename rentman_api_client/models/{accessoire_itemget_response_schema_data.py => accessory_itemget_response_schema_data.py} (94%) rename rentman_api_client/models/{accessoire_itemput_request_schema.py => accessory_itempost_request_schema.py} (91%) rename rentman_api_client/models/{accessoire_itemput_response_schema.py => accessory_itempost_response_schema.py} (78%) rename rentman_api_client/models/{accessoire_itemput_response_schema_data.py => accessory_itempost_response_schema_data.py} (94%) rename rentman_api_client/models/{accessoire_itempost_request_schema.py => accessory_itemput_request_schema.py} (90%) rename rentman_api_client/models/{btwbedrag_itemget_response_schema.py => accessory_itemput_response_schema.py} (78%) rename rentman_api_client/models/{accessoire_itempost_response_schema_data.py => accessory_itemput_response_schema_data.py} (94%) rename rentman_api_client/models/{functieuur_collectionpost_response_schema.py => appointment_collectionget_response_schema.py} (80%) rename rentman_api_client/models/{afspraak_collectionget_response_schema_data_item.py => appointment_collectionget_response_schema_data_item.py} (89%) rename rentman_api_client/models/{afspraak_collectionget_response_schema_data_item_recurrence_interval_unit.py => appointment_collectionget_response_schema_data_item_recurrence_interval_unit.py} (67%) rename rentman_api_client/models/{functiegroep_collectionget_response_schema.py => appointment_collectionpost_response_schema.py} (80%) rename rentman_api_client/models/{afspraak_collectionput_response_schema_data_item.py => appointment_collectionpost_response_schema_data_item.py} (93%) rename rentman_api_client/models/{inhuurgroep_collectionget_response_schema.py => appointment_collectionput_response_schema.py} (80%) rename rentman_api_client/models/{afspraak_collectionpost_response_schema_data_item.py => appointment_collectionput_response_schema_data_item.py} (93%) rename rentman_api_client/models/{afspraak_itemget_request_schema.py => appointment_itemget_request_schema.py} (86%) rename rentman_api_client/models/{afspraak_itemget_request_schema_recurrence_interval_unit.py => appointment_itemget_request_schema_recurrence_interval_unit.py} (71%) rename rentman_api_client/models/{functieuur_itempost_response_schema.py => appointment_itemget_response_schema.py} (78%) rename rentman_api_client/models/{afspraak_itemget_response_schema_data.py => appointment_itemget_response_schema_data.py} (90%) rename rentman_api_client/models/{beschikbaarheid_itempost_request_schema_recurrence_interval_unit.py => appointment_itemget_response_schema_data_recurrence_interval_unit.py} (75%) rename rentman_api_client/models/{afspraak_itemput_request_schema.py => appointment_itempost_request_schema.py} (91%) rename rentman_api_client/models/{inhuurgroep_itempost_response_schema.py => appointment_itempost_response_schema.py} (78%) rename rentman_api_client/models/{afspraak_itempost_response_schema_data.py => appointment_itempost_response_schema_data.py} (94%) rename rentman_api_client/models/{afspraak_itempost_request_schema.py => appointment_itemput_request_schema.py} (91%) rename rentman_api_client/models/{inhuurgroep_itemget_response_schema.py => appointment_itemput_response_schema.py} (78%) rename rentman_api_client/models/{afspraak_itemput_response_schema_data.py => appointment_itemput_response_schema_data.py} (94%) rename rentman_api_client/models/{beschikbaarheid_collectionput_response_schema.py => appointmentcrew_collectionget_response_schema.py} (80%) rename rentman_api_client/models/{afspraakmedewerker_collectionpost_response_schema_data_item.py => appointmentcrew_collectionget_response_schema_data_item.py} (90%) rename rentman_api_client/models/{beschikbaarheid_collectionpost_response_schema.py => appointmentcrew_collectionpost_response_schema.py} (80%) rename rentman_api_client/models/{afspraakmedewerker_collectionput_response_schema_data_item.py => appointmentcrew_collectionpost_response_schema_data_item.py} (89%) rename rentman_api_client/models/{inhuurmateriaal_collectionput_response_schema.py => appointmentcrew_collectionput_response_schema.py} (80%) rename rentman_api_client/models/{afspraakmedewerker_collectionget_response_schema_data_item.py => appointmentcrew_collectionput_response_schema_data_item.py} (89%) rename rentman_api_client/models/{afspraakmedewerker_itemput_request_schema.py => appointmentcrew_itemget_request_schema.py} (79%) rename rentman_api_client/models/{inhuurmateriaal_itemput_response_schema.py => appointmentcrew_itemget_response_schema.py} (77%) rename rentman_api_client/models/{afspraakmedewerker_itemput_response_schema_data.py => appointmentcrew_itemget_response_schema_data.py} (90%) rename rentman_api_client/models/{afspraakmedewerker_itemget_request_schema.py => appointmentcrew_itempost_request_schema.py} (79%) rename rentman_api_client/models/{beschikbaarheid_itempost_response_schema.py => appointmentcrew_itempost_response_schema.py} (77%) rename rentman_api_client/models/{afspraakmedewerker_itemget_response_schema_data.py => appointmentcrew_itempost_response_schema_data.py} (90%) rename rentman_api_client/models/{afspraakmedewerker_itempost_request_schema.py => appointmentcrew_itemput_request_schema.py} (79%) rename rentman_api_client/models/{beschikbaarheid_itemget_response_schema.py => appointmentcrew_itemput_response_schema.py} (77%) rename rentman_api_client/models/{afspraakmedewerker_itempost_response_schema_data.py => appointmentcrew_itemput_response_schema_data.py} (90%) delete mode 100644 rentman_api_client/models/asset_location_itemput_response_schema_data_country.py delete mode 100644 rentman_api_client/models/asset_location_itemput_response_schema_data_type.py delete mode 100644 rentman_api_client/models/beschikbaarheid_collectionput_response_schema_data_item_recurrence_interval_unit.py delete mode 100644 rentman_api_client/models/beschikbaarheid_itemput_request_schema_recurrence_interval_unit.py delete mode 100644 rentman_api_client/models/beschikbaarheid_itemput_response_schema_data_recurrence_interval_unit.py delete mode 100644 rentman_api_client/models/beschikbaarheid_itemput_response_schema_data_status.py rename rentman_api_client/models/{asset_location_collectionput_response_schema.py => contactperson_collectionget_response_schema.py} (79%) rename rentman_api_client/models/{person_collectionput_response_schema_data_item.py => contactperson_collectionget_response_schema_data_item.py} (84%) rename rentman_api_client/models/{asset_location_collectionget_response_schema_data_item_country.py => contactperson_collectionget_response_schema_data_item_country.py} (97%) create mode 100644 rentman_api_client/models/contactperson_collectionget_response_schema_data_item_custom.py rename rentman_api_client/models/{asset_location_collectionpost_response_schema.py => contactperson_collectionpost_response_schema.py} (79%) rename rentman_api_client/models/{person_collectionget_response_schema_data_item.py => contactperson_collectionpost_response_schema_data_item.py} (84%) rename rentman_api_client/models/{asset_location_collectionpost_response_schema_data_item_country.py => contactperson_collectionpost_response_schema_data_item_country.py} (97%) create mode 100644 rentman_api_client/models/contactperson_collectionpost_response_schema_data_item_custom.py rename rentman_api_client/models/{materiaal_cat_collectionpost_response_schema.py => contactperson_collectionput_response_schema.py} (79%) rename rentman_api_client/models/{person_collectionpost_response_schema_data_item.py => contactperson_collectionput_response_schema_data_item.py} (84%) rename rentman_api_client/models/{asset_location_collectionput_response_schema_data_item_country.py => contactperson_collectionput_response_schema_data_item_country.py} (97%) create mode 100644 rentman_api_client/models/contactperson_collectionput_response_schema_data_item_custom.py rename rentman_api_client/models/{person_itempost_request_schema.py => contactperson_itemget_request_schema.py} (82%) rename rentman_api_client/models/{asset_location_itemget_request_schema_country.py => contactperson_itemget_request_schema_country.py} (97%) create mode 100644 rentman_api_client/models/contactperson_itemget_request_schema_custom.py rename rentman_api_client/models/{asset_location_itemget_response_schema.py => contactperson_itemget_response_schema.py} (77%) rename rentman_api_client/models/{person_itempost_response_schema_data.py => contactperson_itemget_response_schema_data.py} (86%) rename rentman_api_client/models/{asset_location_itemget_response_schema_data_country.py => contactperson_itemget_response_schema_data_country.py} (97%) create mode 100644 rentman_api_client/models/contactperson_itemget_response_schema_data_custom.py rename rentman_api_client/models/{person_itemput_request_schema.py => contactperson_itempost_request_schema.py} (81%) rename rentman_api_client/models/{asset_location_itempost_request_schema_country.py => contactperson_itempost_request_schema_country.py} (97%) rename rentman_api_client/models/{voertuig_itemput_response_schema_data_custom.py => contactperson_itempost_request_schema_custom.py} (77%) rename rentman_api_client/models/{asset_location_itempost_response_schema.py => contactperson_itempost_response_schema.py} (77%) rename rentman_api_client/models/{person_itemget_response_schema_data.py => contactperson_itempost_response_schema_data.py} (86%) rename rentman_api_client/models/{asset_location_itempost_response_schema_data_country.py => contactperson_itempost_response_schema_data_country.py} (97%) create mode 100644 rentman_api_client/models/contactperson_itempost_response_schema_data_custom.py rename rentman_api_client/models/{person_itemget_request_schema.py => contactperson_itemput_request_schema.py} (82%) rename rentman_api_client/models/{medewerker_itempost_request_schema_country.py => contactperson_itemput_request_schema_country.py} (97%) create mode 100644 rentman_api_client/models/contactperson_itemput_request_schema_custom.py rename rentman_api_client/models/{asset_location_itemput_response_schema.py => contactperson_itemput_response_schema.py} (77%) rename rentman_api_client/models/{person_itemput_response_schema_data.py => contactperson_itemput_response_schema_data.py} (86%) create mode 100644 rentman_api_client/models/contactperson_itemput_response_schema_data_country.py create mode 100644 rentman_api_client/models/contactperson_itemput_response_schema_data_custom.py create mode 100644 rentman_api_client/models/crew_availability_itemget_response_schema.py rename rentman_api_client/models/{beschikbaarheid_itempost_response_schema_data.py => crew_availability_itemget_response_schema_data.py} (86%) rename rentman_api_client/models/{beschikbaarheid_itempost_response_schema_data_recurrence_interval_unit.py => crew_availability_itemget_response_schema_data_recurrence_interval_unit.py} (75%) rename rentman_api_client/models/{beschikbaarheid_itempost_response_schema_data_status.py => crew_availability_itemget_response_schema_data_status.py} (65%) rename rentman_api_client/models/{beschikbaarheid_itemput_request_schema.py => crew_availability_itemput_request_schema.py} (81%) rename rentman_api_client/models/{afspraak_itemget_response_schema_data_recurrence_interval_unit.py => crew_availability_itemput_request_schema_recurrence_interval_unit.py} (70%) rename rentman_api_client/models/{beschikbaarheid_itempost_request_schema_status.py => crew_availability_itemput_request_schema_status.py} (66%) create mode 100644 rentman_api_client/models/crew_availability_itemput_response_schema.py rename rentman_api_client/models/{beschikbaarheid_itemput_response_schema_data.py => crew_availability_itemput_response_schema_data.py} (85%) create mode 100644 rentman_api_client/models/crew_availability_itemput_response_schema_data_recurrence_interval_unit.py rename rentman_api_client/models/{beschikbaarheid_itemget_response_schema_data_status.py => crew_availability_itemput_response_schema_data_status.py} (64%) rename rentman_api_client/models/{type_collectionput_response_schema.py => crew_collectionget_response_schema.py} (81%) rename rentman_api_client/models/{medewerker_collectionput_response_schema_data_item.py => crew_collectionget_response_schema_data_item.py} (89%) create mode 100644 rentman_api_client/models/crew_collectionget_response_schema_data_item_country.py rename rentman_api_client/models/{uren_collectionget_response_schema_data_item_custom.py => crew_collectionget_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{files_collectionput_response_schema.py => crew_collectionpost_response_schema.py} (81%) create mode 100644 rentman_api_client/models/crew_collectionpost_response_schema_data_item.py create mode 100644 rentman_api_client/models/crew_collectionpost_response_schema_data_item_country.py rename rentman_api_client/models/{uren_collectionpost_response_schema_data_item_custom.py => crew_collectionpost_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{uren_collectionget_response_schema.py => crew_collectionput_response_schema.py} (81%) create mode 100644 rentman_api_client/models/crew_collectionput_response_schema_data_item.py create mode 100644 rentman_api_client/models/crew_collectionput_response_schema_data_item_country.py rename rentman_api_client/models/{uren_collectionput_response_schema_data_item_custom.py => crew_collectionput_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{medewerker_itemput_request_schema.py => crew_itemget_request_schema.py} (89%) rename rentman_api_client/models/{person_itemput_request_schema_country.py => crew_itemget_request_schema_country.py} (98%) rename rentman_api_client/models/{uren_itemget_request_schema_custom.py => crew_itemget_request_schema_custom.py} (79%) rename rentman_api_client/models/{type_itemget_response_schema.py => crew_itemget_response_schema.py} (80%) rename rentman_api_client/models/{medewerker_itemput_response_schema_data.py => crew_itemget_response_schema_data.py} (90%) rename rentman_api_client/models/{medewerker_itemget_request_schema_country.py => crew_itemget_response_schema_data_country.py} (98%) rename rentman_api_client/models/{uren_itemget_response_schema_data_custom.py => crew_itemget_response_schema_data_custom.py} (78%) rename rentman_api_client/models/{medewerker_itempost_request_schema.py => crew_itempost_request_schema.py} (89%) rename rentman_api_client/models/{person_itemget_request_schema_country.py => crew_itempost_request_schema_country.py} (98%) rename rentman_api_client/models/{uren_itempost_request_schema_custom.py => crew_itempost_request_schema_custom.py} (79%) rename rentman_api_client/models/{uren_itempost_response_schema.py => crew_itempost_response_schema.py} (80%) rename rentman_api_client/models/{medewerker_itemget_response_schema_data.py => crew_itempost_response_schema_data.py} (90%) rename rentman_api_client/models/{medewerker_itemput_request_schema_country.py => crew_itempost_response_schema_data_country.py} (98%) rename rentman_api_client/models/{uren_itempost_response_schema_data_custom.py => crew_itempost_response_schema_data_custom.py} (78%) rename rentman_api_client/models/{medewerker_itemget_request_schema.py => crew_itemput_request_schema.py} (89%) rename rentman_api_client/models/{person_itempost_request_schema_country.py => crew_itemput_request_schema_country.py} (98%) rename rentman_api_client/models/{uren_itemput_request_schema_custom.py => crew_itemput_request_schema_custom.py} (79%) rename rentman_api_client/models/{type_itemput_response_schema.py => crew_itemput_response_schema.py} (80%) rename rentman_api_client/models/{medewerker_itempost_response_schema_data.py => crew_itemput_response_schema_data.py} (90%) create mode 100644 rentman_api_client/models/crew_itemput_response_schema_data_country.py rename rentman_api_client/models/{uren_itemput_response_schema_data_custom.py => crew_itemput_response_schema_data_custom.py} (78%) rename rentman_api_client/models/{inhuurmateriaal_collectionpost_response_schema.py => crewavailability_collectionget_response_schema.py} (80%) rename rentman_api_client/models/{beschikbaarheid_collectionpost_response_schema_data_item.py => crewavailability_collectionget_response_schema_data_item.py} (87%) rename rentman_api_client/models/{beschikbaarheid_collectionpost_response_schema_data_item_recurrence_interval_unit.py => crewavailability_collectionget_response_schema_data_item_recurrence_interval_unit.py} (76%) rename rentman_api_client/models/{beschikbaarheid_collectionpost_response_schema_data_item_status.py => crewavailability_collectionget_response_schema_data_item_status.py} (67%) rename rentman_api_client/models/{medewerkertarief_collectionpost_response_schema.py => crewavailability_collectionpost_response_schema.py} (80%) rename rentman_api_client/models/{beschikbaarheid_collectionput_response_schema_data_item.py => crewavailability_collectionpost_response_schema_data_item.py} (84%) create mode 100644 rentman_api_client/models/crewavailability_collectionpost_response_schema_data_item_recurrence_interval_unit.py rename rentman_api_client/models/{beschikbaarheid_collectionput_response_schema_data_item_status.py => crewavailability_collectionpost_response_schema_data_item_status.py} (61%) rename rentman_api_client/models/{medewerkertarief_collectionget_response_schema.py => crewavailability_collectionput_response_schema.py} (80%) rename rentman_api_client/models/{beschikbaarheid_collectionget_response_schema_data_item.py => crewavailability_collectionput_response_schema_data_item.py} (84%) rename rentman_api_client/models/{beschikbaarheid_collectionget_response_schema_data_item_recurrence_interval_unit.py => crewavailability_collectionput_response_schema_data_item_recurrence_interval_unit.py} (66%) rename rentman_api_client/models/{beschikbaarheid_collectionget_response_schema_data_item_status.py => crewavailability_collectionput_response_schema_data_item_status.py} (61%) rename rentman_api_client/models/{beschikbaarheid_itempost_request_schema.py => crewavailability_itemget_request_schema.py} (83%) rename rentman_api_client/models/{beschikbaarheid_itemget_request_schema_recurrence_interval_unit.py => crewavailability_itemget_request_schema_recurrence_interval_unit.py} (70%) rename rentman_api_client/models/{beschikbaarheid_itemput_request_schema_status.py => crewavailability_itemget_request_schema_status.py} (66%) rename rentman_api_client/models/{beschikbaarheid_itemget_request_schema.py => crewavailability_itempost_request_schema.py} (81%) create mode 100644 rentman_api_client/models/crewavailability_itempost_request_schema_recurrence_interval_unit.py rename rentman_api_client/models/{beschikbaarheid_itemget_request_schema_status.py => crewavailability_itempost_request_schema_status.py} (66%) rename rentman_api_client/models/{planningmateriaal_itemget_response_schema.py => crewavailability_itempost_response_schema.py} (77%) rename rentman_api_client/models/{beschikbaarheid_itemget_response_schema_data.py => crewavailability_itempost_response_schema_data.py} (85%) rename rentman_api_client/models/{beschikbaarheid_itemget_response_schema_data_recurrence_interval_unit.py => crewavailability_itempost_response_schema_data_recurrence_interval_unit.py} (68%) create mode 100644 rentman_api_client/models/crewavailability_itempost_response_schema_data_status.py rename rentman_api_client/models/{afspraak_collectionput_response_schema.py => crewrate_collectionget_response_schema.py} (81%) rename rentman_api_client/models/{medewerkertarief_collectionput_response_schema_data_item.py => crewrate_collectionget_response_schema_data_item.py} (90%) rename rentman_api_client/models/{afspraak_collectionpost_response_schema.py => crewrate_collectionpost_response_schema.py} (81%) rename rentman_api_client/models/{medewerkertarief_collectionget_response_schema_data_item.py => crewrate_collectionpost_response_schema_data_item.py} (90%) rename rentman_api_client/models/{afspraak_collectionget_response_schema.py => crewrate_collectionput_response_schema.py} (81%) create mode 100644 rentman_api_client/models/crewrate_collectionput_response_schema_data_item.py rename rentman_api_client/models/{medewerkertarief_itemput_request_schema.py => crewrate_itemget_request_schema.py} (83%) rename rentman_api_client/models/{offerte_itempost_response_schema.py => crewrate_itemget_response_schema.py} (78%) rename rentman_api_client/models/{medewerkertarief_itemput_response_schema_data.py => crewrate_itemget_response_schema_data.py} (91%) rename rentman_api_client/models/{medewerkertarief_itemget_request_schema.py => crewrate_itempost_request_schema.py} (83%) rename rentman_api_client/models/{afspraak_itempost_response_schema.py => crewrate_itempost_response_schema.py} (78%) rename rentman_api_client/models/{medewerkertarief_itemget_response_schema_data.py => crewrate_itempost_response_schema_data.py} (91%) rename rentman_api_client/models/{medewerkertarief_itempost_request_schema.py => crewrate_itemput_request_schema.py} (83%) rename rentman_api_client/models/{afspraak_itemput_response_schema.py => crewrate_itemput_response_schema.py} (78%) rename rentman_api_client/models/{medewerkertarief_itempost_response_schema_data.py => crewrate_itemput_response_schema_data.py} (91%) rename rentman_api_client/models/{btwbedrag_collectionget_response_schema.py => equipment_collectionget_response_schema.py} (81%) rename rentman_api_client/models/{materiaal_collectionget_response_schema_data_item.py => equipment_collectionget_response_schema_data_item.py} (88%) rename rentman_api_client/models/{materiaal_collectionget_response_schema_data_item_country_of_origin.py => equipment_collectionget_response_schema_data_item_country_of_origin.py} (97%) rename rentman_api_client/models/{exemplaar_collectionput_response_schema_data_item_custom.py => equipment_collectionget_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{materiaal_collectionget_response_schema_data_item_is_physical.py => equipment_collectionget_response_schema_data_item_is_physical.py} (73%) rename rentman_api_client/models/{materiaal_collectionget_response_schema_data_item_rental_sales.py => equipment_collectionget_response_schema_data_item_rental_sales.py} (68%) rename rentman_api_client/models/{materiaal_collectionget_response_schema_data_item_stock_management.py => equipment_collectionget_response_schema_data_item_stock_management.py} (75%) rename rentman_api_client/models/{materiaal_collectionget_response_schema_data_item_type.py => equipment_collectionget_response_schema_data_item_type.py} (68%) rename rentman_api_client/models/{btwbedrag_collectionpost_response_schema.py => equipment_collectionpost_response_schema.py} (80%) rename rentman_api_client/models/{materiaal_collectionpost_response_schema_data_item.py => equipment_collectionpost_response_schema_data_item.py} (88%) rename rentman_api_client/models/{materiaal_collectionpost_response_schema_data_item_country_of_origin.py => equipment_collectionpost_response_schema_data_item_country_of_origin.py} (97%) rename rentman_api_client/models/{materiaal_collectionpost_response_schema_data_item_custom.py => equipment_collectionpost_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{materiaal_collectionpost_response_schema_data_item_is_physical.py => equipment_collectionpost_response_schema_data_item_is_physical.py} (73%) rename rentman_api_client/models/{materiaal_collectionpost_response_schema_data_item_rental_sales.py => equipment_collectionpost_response_schema_data_item_rental_sales.py} (68%) rename rentman_api_client/models/{materiaal_collectionpost_response_schema_data_item_stock_management.py => equipment_collectionpost_response_schema_data_item_stock_management.py} (75%) rename rentman_api_client/models/{materiaal_collectionpost_response_schema_data_item_type.py => equipment_collectionpost_response_schema_data_item_type.py} (68%) create mode 100644 rentman_api_client/models/equipment_collectionput_response_schema.py rename rentman_api_client/models/{materiaal_collectionput_response_schema_data_item.py => equipment_collectionput_response_schema_data_item.py} (88%) rename rentman_api_client/models/{materiaal_collectionput_response_schema_data_item_country_of_origin.py => equipment_collectionput_response_schema_data_item_country_of_origin.py} (97%) rename rentman_api_client/models/{materiaal_collectionget_response_schema_data_item_custom.py => equipment_collectionput_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{materiaal_collectionput_response_schema_data_item_is_physical.py => equipment_collectionput_response_schema_data_item_is_physical.py} (73%) rename rentman_api_client/models/{materiaal_collectionput_response_schema_data_item_rental_sales.py => equipment_collectionput_response_schema_data_item_rental_sales.py} (68%) rename rentman_api_client/models/{materiaal_collectionput_response_schema_data_item_stock_management.py => equipment_collectionput_response_schema_data_item_stock_management.py} (75%) rename rentman_api_client/models/{materiaal_collectionput_response_schema_data_item_type.py => equipment_collectionput_response_schema_data_item_type.py} (68%) rename rentman_api_client/models/{materiaal_itemput_request_schema.py => equipment_itemget_request_schema.py} (87%) rename rentman_api_client/models/{materiaal_itemget_request_schema_country_of_origin.py => equipment_itemget_request_schema_country_of_origin.py} (97%) rename rentman_api_client/models/{materiaal_itemget_request_schema_custom.py => equipment_itemget_request_schema_custom.py} (78%) rename rentman_api_client/models/{materiaal_itemput_request_schema_is_physical.py => equipment_itemget_request_schema_is_physical.py} (74%) rename rentman_api_client/models/{materiaal_itemput_request_schema_rental_sales.py => equipment_itemget_request_schema_rental_sales.py} (68%) rename rentman_api_client/models/{materiaal_itemput_request_schema_stock_management.py => equipment_itemget_request_schema_stock_management.py} (74%) rename rentman_api_client/models/{materiaal_itemput_request_schema_type.py => equipment_itemget_request_schema_type.py} (72%) rename rentman_api_client/models/{exemplaar_itemget_response_schema.py => equipment_itemget_response_schema.py} (78%) rename rentman_api_client/models/{materiaal_itemput_response_schema_data.py => equipment_itemget_response_schema_data.py} (89%) rename rentman_api_client/models/{materiaal_itemget_response_schema_data_country_of_origin.py => equipment_itemget_response_schema_data_country_of_origin.py} (97%) rename rentman_api_client/models/{exemplaar_itemput_response_schema_data_custom.py => equipment_itemget_response_schema_data_custom.py} (77%) rename rentman_api_client/models/{materiaal_itemget_response_schema_data_is_physical.py => equipment_itemget_response_schema_data_is_physical.py} (73%) rename rentman_api_client/models/{materiaal_itemget_response_schema_data_rental_sales.py => equipment_itemget_response_schema_data_rental_sales.py} (66%) rename rentman_api_client/models/{materiaal_itemput_response_schema_data_stock_management.py => equipment_itemget_response_schema_data_stock_management.py} (74%) rename rentman_api_client/models/{materiaal_itemget_response_schema_data_type.py => equipment_itemget_response_schema_data_type.py} (70%) rename rentman_api_client/models/{materiaal_itempost_request_schema.py => equipment_itempost_request_schema.py} (87%) create mode 100644 rentman_api_client/models/equipment_itempost_request_schema_country_of_origin.py rename rentman_api_client/models/{exemplaar_itempost_request_schema_custom.py => equipment_itempost_request_schema_custom.py} (78%) rename rentman_api_client/models/{materiaal_itempost_request_schema_is_physical.py => equipment_itempost_request_schema_is_physical.py} (74%) rename rentman_api_client/models/{materiaal_itempost_request_schema_rental_sales.py => equipment_itempost_request_schema_rental_sales.py} (67%) rename rentman_api_client/models/{materiaal_itempost_request_schema_stock_management.py => equipment_itempost_request_schema_stock_management.py} (73%) rename rentman_api_client/models/{materiaal_itempost_request_schema_type.py => equipment_itempost_request_schema_type.py} (72%) rename rentman_api_client/models/{accessoire_itemget_response_schema.py => equipment_itempost_response_schema.py} (78%) rename rentman_api_client/models/{materiaal_itempost_response_schema_data.py => equipment_itempost_response_schema_data.py} (89%) rename rentman_api_client/models/{materiaal_itempost_response_schema_data_country_of_origin.py => equipment_itempost_response_schema_data_country_of_origin.py} (97%) rename rentman_api_client/models/{materiaal_itempost_response_schema_data_custom.py => equipment_itempost_response_schema_data_custom.py} (77%) rename rentman_api_client/models/{materiaal_itempost_response_schema_data_is_physical.py => equipment_itempost_response_schema_data_is_physical.py} (72%) rename rentman_api_client/models/{materiaal_itempost_response_schema_data_rental_sales.py => equipment_itempost_response_schema_data_rental_sales.py} (66%) rename rentman_api_client/models/{materiaal_itempost_response_schema_data_stock_management.py => equipment_itempost_response_schema_data_stock_management.py} (74%) rename rentman_api_client/models/{materiaal_itempost_response_schema_data_type.py => equipment_itempost_response_schema_data_type.py} (70%) rename rentman_api_client/models/{materiaal_itemget_request_schema.py => equipment_itemput_request_schema.py} (87%) create mode 100644 rentman_api_client/models/equipment_itemput_request_schema_country_of_origin.py rename rentman_api_client/models/{materiaal_itemput_request_schema_custom.py => equipment_itemput_request_schema_custom.py} (78%) rename rentman_api_client/models/{materiaal_itemget_request_schema_is_physical.py => equipment_itemput_request_schema_is_physical.py} (74%) rename rentman_api_client/models/{materiaal_itemget_request_schema_rental_sales.py => equipment_itemput_request_schema_rental_sales.py} (68%) rename rentman_api_client/models/{materiaal_itemget_request_schema_stock_management.py => equipment_itemput_request_schema_stock_management.py} (74%) rename rentman_api_client/models/{materiaal_itemget_request_schema_type.py => equipment_itemput_request_schema_type.py} (72%) create mode 100644 rentman_api_client/models/equipment_itemput_response_schema.py rename rentman_api_client/models/{materiaal_itemget_response_schema_data.py => equipment_itemput_response_schema_data.py} (89%) rename rentman_api_client/models/{materiaal_itemput_response_schema_data_country_of_origin.py => equipment_itemput_response_schema_data_country_of_origin.py} (97%) rename rentman_api_client/models/{functie_collectionget_response_schema_data_item_custom.py => equipment_itemput_response_schema_data_custom.py} (78%) create mode 100644 rentman_api_client/models/equipment_itemput_response_schema_data_is_physical.py create mode 100644 rentman_api_client/models/equipment_itemput_response_schema_data_rental_sales.py rename rentman_api_client/models/{materiaal_itemget_response_schema_data_stock_management.py => equipment_itemput_response_schema_data_stock_management.py} (74%) create mode 100644 rentman_api_client/models/equipment_itemput_response_schema_data_type.py create mode 100644 rentman_api_client/models/equipmentsetscontent_collectionget_response_schema.py rename rentman_api_client/models/{setinhoud_collectionget_response_schema_data_item.py => equipmentsetscontent_collectionget_response_schema_data_item.py} (82%) create mode 100644 rentman_api_client/models/equipmentsetscontent_collectionget_response_schema_data_item_is_fixed.py create mode 100644 rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema.py rename rentman_api_client/models/{setinhoud_collectionput_response_schema_data_item.py => equipmentsetscontent_collectionpost_response_schema_data_item.py} (82%) create mode 100644 rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema_data_item_is_fixed.py create mode 100644 rentman_api_client/models/equipmentsetscontent_collectionput_response_schema.py rename rentman_api_client/models/{setinhoud_collectionpost_response_schema_data_item.py => equipmentsetscontent_collectionput_response_schema_data_item.py} (82%) create mode 100644 rentman_api_client/models/equipmentsetscontent_collectionput_response_schema_data_item_is_fixed.py rename rentman_api_client/models/{setinhoud_itempost_request_schema.py => equipmentsetscontent_itemget_request_schema.py} (74%) rename rentman_api_client/models/{setinhoud_itemget_request_schema_is_fixed.py => equipmentsetscontent_itemget_request_schema_is_fixed.py} (76%) create mode 100644 rentman_api_client/models/equipmentsetscontent_itemget_response_schema.py rename rentman_api_client/models/{setinhoud_itemput_response_schema_data.py => equipmentsetscontent_itemget_response_schema_data.py} (84%) rename rentman_api_client/models/{setinhoud_collectionpost_response_schema_data_item_is_fixed.py => equipmentsetscontent_itemget_response_schema_data_is_fixed.py} (77%) rename rentman_api_client/models/{setinhoud_itemget_request_schema.py => equipmentsetscontent_itempost_request_schema.py} (73%) rename rentman_api_client/models/{setinhoud_itempost_response_schema_data_is_fixed.py => equipmentsetscontent_itempost_request_schema_is_fixed.py} (75%) rename rentman_api_client/models/{planningpersoneel_itemget_response_schema.py => equipmentsetscontent_itempost_response_schema.py} (75%) rename rentman_api_client/models/{setinhoud_itemget_response_schema_data.py => equipmentsetscontent_itempost_response_schema_data.py} (84%) rename rentman_api_client/models/{setinhoud_collectionget_response_schema_data_item_is_fixed.py => equipmentsetscontent_itempost_response_schema_data_is_fixed.py} (74%) rename rentman_api_client/models/{setinhoud_itemput_request_schema.py => equipmentsetscontent_itemput_request_schema.py} (74%) rename rentman_api_client/models/{setinhoud_itempost_request_schema_is_fixed.py => equipmentsetscontent_itemput_request_schema_is_fixed.py} (76%) create mode 100644 rentman_api_client/models/equipmentsetscontent_itemput_response_schema.py rename rentman_api_client/models/{setinhoud_itempost_response_schema_data.py => equipmentsetscontent_itemput_response_schema_data.py} (84%) rename rentman_api_client/models/{setinhoud_collectionput_response_schema_data_item_is_fixed.py => equipmentsetscontent_itemput_response_schema_data_is_fixed.py} (74%) delete mode 100644 rentman_api_client/models/exemplaar_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/exemplaar_itemput_response_schema.py delete mode 100644 rentman_api_client/models/factuur_itemput_response_schema.py rename rentman_api_client/models/{type_collectionget_response_schema.py => file_collectionget_response_schema.py} (81%) rename rentman_api_client/models/{files_collectionget_response_schema_data_item.py => file_collectionget_response_schema_data_item.py} (90%) rename rentman_api_client/models/{files_itempost_response_schema_data_previewstatus.py => file_collectionget_response_schema_data_item_previewstatus.py} (68%) rename rentman_api_client/models/{files_collectionget_response_schema.py => file_collectionpost_response_schema.py} (81%) rename rentman_api_client/models/{files_collectionput_response_schema_data_item.py => file_collectionpost_response_schema_data_item.py} (92%) rename rentman_api_client/models/{files_collectionget_response_schema_data_item_previewstatus.py => file_collectionpost_response_schema_data_item_previewstatus.py} (72%) rename rentman_api_client/models/{uren_collectionput_response_schema.py => file_collectionput_response_schema.py} (81%) create mode 100644 rentman_api_client/models/file_collectionput_response_schema_data_item.py create mode 100644 rentman_api_client/models/file_collectionput_response_schema_data_item_previewstatus.py rename rentman_api_client/models/{files_itemget_request_schema.py => file_itemget_request_schema.py} (89%) rename rentman_api_client/models/{files_itemput_request_schema_previewstatus.py => file_itemget_request_schema_previewstatus.py} (73%) rename rentman_api_client/models/{uren_itemget_response_schema.py => file_itemget_response_schema.py} (80%) rename rentman_api_client/models/{files_itemget_response_schema_data.py => file_itemget_response_schema_data.py} (92%) rename rentman_api_client/models/{files_itemget_response_schema_data_previewstatus.py => file_itemget_response_schema_data_previewstatus.py} (71%) rename rentman_api_client/models/{files_itemput_request_schema.py => file_itempost_request_schema.py} (90%) rename rentman_api_client/models/{files_itemget_request_schema_previewstatus.py => file_itempost_request_schema_previewstatus.py} (73%) rename rentman_api_client/models/{type_itempost_response_schema.py => file_itempost_response_schema.py} (80%) rename rentman_api_client/models/{files_itemput_response_schema_data.py => file_itempost_response_schema_data.py} (92%) create mode 100644 rentman_api_client/models/file_itempost_response_schema_data_previewstatus.py rename rentman_api_client/models/{files_itempost_request_schema.py => file_itemput_request_schema.py} (88%) rename rentman_api_client/models/{files_itempost_request_schema_previewstatus.py => file_itemput_request_schema_previewstatus.py} (73%) rename rentman_api_client/models/{uren_itemput_response_schema.py => file_itemput_response_schema.py} (80%) rename rentman_api_client/models/{files_itempost_response_schema_data.py => file_itemput_response_schema_data.py} (91%) create mode 100644 rentman_api_client/models/file_itemput_response_schema_data_previewstatus.py delete mode 100644 rentman_api_client/models/files_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/files_collectionpost_response_schema_data_item.py delete mode 100644 rentman_api_client/models/files_collectionpost_response_schema_data_item_previewstatus.py delete mode 100644 rentman_api_client/models/files_collectionput_response_schema_data_item_previewstatus.py delete mode 100644 rentman_api_client/models/files_itemput_response_schema_data_previewstatus.py delete mode 100644 rentman_api_client/models/functie_itemget_response_schema_data_planperiod_end_schedule_is_start.py delete mode 100644 rentman_api_client/models/functie_itemget_response_schema_data_planperiod_start_schedule_is_start.py delete mode 100644 rentman_api_client/models/functie_itemget_response_schema_data_usageperiod_end_schedule_is_start.py delete mode 100644 rentman_api_client/models/functiegroep_itemget_response_schema_data_planperiod_end_schedule_is_start.py delete mode 100644 rentman_api_client/models/functiegroep_itemget_response_schema_data_planperiod_start_schedule_is_start.py delete mode 100644 rentman_api_client/models/functiegroep_itemget_response_schema_data_usageperiod_end_schedule_is_start.py delete mode 100644 rentman_api_client/models/functieuur_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/functieuur_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/functieuur_itemget_response_schema.py delete mode 100644 rentman_api_client/models/functieuur_itemput_response_schema.py delete mode 100644 rentman_api_client/models/grootboek_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/grootboek_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/grootboek_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/grootboek_itemget_response_schema.py delete mode 100644 rentman_api_client/models/grootboek_itempost_response_schema.py delete mode 100644 rentman_api_client/models/grootboek_itemput_response_schema.py delete mode 100644 rentman_api_client/models/inhuur_itempost_response_schema.py delete mode 100644 rentman_api_client/models/inhuur_itemput_request_schema_custom.py delete mode 100644 rentman_api_client/models/inhuur_itemput_response_schema_data_type.py rename rentman_api_client/models/{factuur_collectionput_response_schema.py => invoice_collectionget_response_schema.py} (81%) rename rentman_api_client/models/{factuur_collectionput_response_schema_data_item.py => invoice_collectionget_response_schema_data_item.py} (94%) rename rentman_api_client/models/{offerte_collectionpost_response_schema.py => invoice_collectionpost_response_schema.py} (81%) rename rentman_api_client/models/{factuur_collectionpost_response_schema_data_item.py => invoice_collectionpost_response_schema_data_item.py} (94%) rename rentman_api_client/models/{functie_collectionget_response_schema.py => invoice_collectionput_response_schema.py} (81%) rename rentman_api_client/models/{factuur_collectionget_response_schema_data_item.py => invoice_collectionput_response_schema_data_item.py} (94%) rename rentman_api_client/models/{factuur_itemput_request_schema.py => invoice_itemget_request_schema.py} (93%) rename rentman_api_client/models/{offerte_itemget_response_schema.py => invoice_itemget_response_schema.py} (80%) rename rentman_api_client/models/{factuur_itemput_response_schema_data.py => invoice_itemget_response_schema_data.py} (96%) rename rentman_api_client/models/{factuur_itempost_request_schema.py => invoice_itempost_request_schema.py} (93%) rename rentman_api_client/models/{factuur_itempost_response_schema.py => invoice_itempost_response_schema.py} (78%) rename rentman_api_client/models/{factuur_itempost_response_schema_data.py => invoice_itempost_response_schema_data.py} (96%) rename rentman_api_client/models/{factuur_itemget_request_schema.py => invoice_itemput_request_schema.py} (93%) rename rentman_api_client/models/{offerte_itemput_response_schema.py => invoice_itemput_response_schema.py} (80%) rename rentman_api_client/models/{factuur_itemget_response_schema_data.py => invoice_itemput_response_schema_data.py} (96%) rename rentman_api_client/models/{accessoire_collectionpost_response_schema.py => invoiceline_collectionget_response_schema.py} (80%) rename rentman_api_client/models/{btwbedrag_collectionpost_response_schema_data_item.py => invoiceline_collectionget_response_schema_data_item.py} (92%) rename rentman_api_client/models/{inhuurgroep_collectionpost_response_schema.py => invoiceline_collectionpost_response_schema.py} (80%) rename rentman_api_client/models/{btwbedrag_collectionget_response_schema_data_item.py => invoiceline_collectionpost_response_schema_data_item.py} (92%) rename rentman_api_client/models/{inhuurgroep_collectionput_response_schema.py => invoiceline_collectionput_response_schema.py} (80%) rename rentman_api_client/models/{btwbedrag_collectionput_response_schema_data_item.py => invoiceline_collectionput_response_schema_data_item.py} (92%) rename rentman_api_client/models/{btwbedrag_itemput_request_schema.py => invoiceline_itemget_request_schema.py} (84%) rename rentman_api_client/models/{accessoire_itempost_response_schema.py => invoiceline_itemget_response_schema.py} (78%) rename rentman_api_client/models/{btwbedrag_itempost_response_schema_data.py => invoiceline_itemget_response_schema_data.py} (93%) rename rentman_api_client/models/{btwbedrag_itempost_request_schema.py => invoiceline_itempost_request_schema.py} (84%) rename rentman_api_client/models/{functiegroep_itemget_response_schema.py => invoiceline_itempost_response_schema.py} (78%) rename rentman_api_client/models/{btwbedrag_itemget_response_schema_data.py => invoiceline_itempost_response_schema_data.py} (93%) rename rentman_api_client/models/{btwbedrag_itemget_request_schema.py => invoiceline_itemput_request_schema.py} (84%) rename rentman_api_client/models/{inhuurgroep_itemput_response_schema.py => invoiceline_itemput_response_schema.py} (78%) rename rentman_api_client/models/{btwbedrag_itemput_response_schema_data.py => invoiceline_itemput_response_schema_data.py} (93%) rename rentman_api_client/models/{exemplaar_collectionpost_response_schema.py => ledgercode_collectionget_response_schema.py} (80%) rename rentman_api_client/models/{grootboek_collectionpost_response_schema_data_item.py => ledgercode_collectionget_response_schema_data_item.py} (90%) create mode 100644 rentman_api_client/models/ledgercode_collectionpost_response_schema.py rename rentman_api_client/models/{grootboek_collectionget_response_schema_data_item.py => ledgercode_collectionpost_response_schema_data_item.py} (89%) rename rentman_api_client/models/{accessoire_collectionput_response_schema.py => ledgercode_collectionput_response_schema.py} (80%) rename rentman_api_client/models/{grootboek_collectionput_response_schema_data_item.py => ledgercode_collectionput_response_schema_data_item.py} (89%) rename rentman_api_client/models/{grootboek_itempost_request_schema.py => ledgercode_itemget_request_schema.py} (82%) rename rentman_api_client/models/{btwbedrag_itempost_response_schema.py => ledgercode_itemget_response_schema.py} (78%) rename rentman_api_client/models/{grootboek_itempost_response_schema_data.py => ledgercode_itemget_response_schema_data.py} (91%) rename rentman_api_client/models/{grootboek_itemput_request_schema.py => ledgercode_itempost_request_schema.py} (82%) create mode 100644 rentman_api_client/models/ledgercode_itempost_response_schema.py rename rentman_api_client/models/{grootboek_itemget_response_schema_data.py => ledgercode_itempost_response_schema_data.py} (91%) rename rentman_api_client/models/{grootboek_itemget_request_schema.py => ledgercode_itemput_request_schema.py} (82%) rename rentman_api_client/models/{exemplaar_itempost_response_schema.py => ledgercode_itemput_response_schema.py} (78%) rename rentman_api_client/models/{grootboek_itemput_response_schema_data.py => ledgercode_itemput_response_schema_data.py} (91%) delete mode 100644 rentman_api_client/models/materiaal_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/materiaal_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/materiaal_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/materiaal_itemget_response_schema.py delete mode 100644 rentman_api_client/models/materiaal_itempost_request_schema_country_of_origin.py delete mode 100644 rentman_api_client/models/materiaal_itempost_response_schema.py delete mode 100644 rentman_api_client/models/materiaal_itemput_request_schema_country_of_origin.py delete mode 100644 rentman_api_client/models/materiaal_itemput_response_schema.py delete mode 100644 rentman_api_client/models/materiaal_itemput_response_schema_data_is_physical.py delete mode 100644 rentman_api_client/models/materiaal_itemput_response_schema_data_rental_sales.py delete mode 100644 rentman_api_client/models/materiaal_itemput_response_schema_data_type.py delete mode 100644 rentman_api_client/models/medewerker_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/medewerker_collectionget_response_schema_data_item.py delete mode 100644 rentman_api_client/models/medewerker_collectionget_response_schema_data_item_country.py delete mode 100644 rentman_api_client/models/medewerker_collectionget_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/medewerker_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/medewerker_collectionpost_response_schema_data_item.py delete mode 100644 rentman_api_client/models/medewerker_collectionpost_response_schema_data_item_country.py delete mode 100644 rentman_api_client/models/medewerker_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/medewerker_collectionput_response_schema_data_item_country.py delete mode 100644 rentman_api_client/models/medewerker_collectionput_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/medewerker_itemget_request_schema_custom.py delete mode 100644 rentman_api_client/models/medewerker_itemget_response_schema.py delete mode 100644 rentman_api_client/models/medewerker_itemget_response_schema_data_country.py delete mode 100644 rentman_api_client/models/medewerker_itempost_response_schema.py delete mode 100644 rentman_api_client/models/medewerker_itempost_response_schema_data_country.py delete mode 100644 rentman_api_client/models/medewerker_itemput_request_schema_custom.py delete mode 100644 rentman_api_client/models/medewerker_itemput_response_schema.py delete mode 100644 rentman_api_client/models/medewerker_itemput_response_schema_data_country.py delete mode 100644 rentman_api_client/models/medewerkertarief_collectionpost_response_schema_data_item.py delete mode 100644 rentman_api_client/models/offerte_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/offerte_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/person_collectionget_response_schema_data_item_country.py delete mode 100644 rentman_api_client/models/person_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/person_collectionpost_response_schema_data_item_country.py delete mode 100644 rentman_api_client/models/person_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/person_collectionput_response_schema_data_item_country.py delete mode 100644 rentman_api_client/models/person_collectionput_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/person_itemget_response_schema.py delete mode 100644 rentman_api_client/models/person_itemget_response_schema_data_country.py delete mode 100644 rentman_api_client/models/person_itempost_response_schema_data_country.py delete mode 100644 rentman_api_client/models/person_itemput_request_schema_custom.py delete mode 100644 rentman_api_client/models/person_itemput_response_schema.py delete mode 100644 rentman_api_client/models/person_itemput_response_schema_data_country.py delete mode 100644 rentman_api_client/models/planningmateriaal_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/planningmateriaal_collectionpost_response_schema_data_item.py delete mode 100644 rentman_api_client/models/planningmateriaal_collectionpost_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/planningpersoneel_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item_transport.py delete mode 100644 rentman_api_client/models/planningpersoneel_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item.py delete mode 100644 rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item_transport.py delete mode 100644 rentman_api_client/models/planningpersoneel_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item.py delete mode 100644 rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item_transport.py delete mode 100644 rentman_api_client/models/planningpersoneel_itemget_request_schema_custom.py delete mode 100644 rentman_api_client/models/planningpersoneel_itemget_response_schema_data_custom.py delete mode 100644 rentman_api_client/models/planningpersoneel_itempost_response_schema_data_custom.py delete mode 100644 rentman_api_client/models/planningpersoneel_itemput_response_schema.py delete mode 100644 rentman_api_client/models/planningpersoneel_itemput_response_schema_data_custom.py delete mode 100644 rentman_api_client/models/planningpersoneel_itemput_response_schema_data_transport.py delete mode 100644 rentman_api_client/models/planningtransport_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/planningtransport_collectionget_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/planningtransport_collectionget_response_schema_data_item_transport.py delete mode 100644 rentman_api_client/models/planningtransport_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item_transport.py delete mode 100644 rentman_api_client/models/planningtransport_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/planningtransport_collectionput_response_schema_data_item.py delete mode 100644 rentman_api_client/models/planningtransport_collectionput_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/planningtransport_collectionput_response_schema_data_item_transport.py delete mode 100644 rentman_api_client/models/planningtransport_itemget_request_schema_custom.py delete mode 100644 rentman_api_client/models/planningtransport_itemget_response_schema.py delete mode 100644 rentman_api_client/models/planningtransport_itemget_response_schema_data_custom.py delete mode 100644 rentman_api_client/models/planningtransport_itempost_response_schema.py delete mode 100644 rentman_api_client/models/planningtransport_itempost_response_schema_data_custom.py delete mode 100644 rentman_api_client/models/planningtransport_itemput_response_schema.py delete mode 100644 rentman_api_client/models/planningtransport_itemput_response_schema_data_custom.py delete mode 100644 rentman_api_client/models/planningtransport_itemput_response_schema_data_transport.py create mode 100644 rentman_api_client/models/projectcrew_collectionget_response_schema.py rename rentman_api_client/models/{planningpersoneel_collectionget_response_schema_data_item.py => projectcrew_collectionget_response_schema_data_item.py} (87%) rename rentman_api_client/models/{medewerker_collectionpost_response_schema_data_item_custom.py => projectcrew_collectionget_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{planningpersoneel_itempost_response_schema_data_transport.py => projectcrew_collectionget_response_schema_data_item_transport.py} (75%) rename rentman_api_client/models/{materiaal_cat_collectionput_response_schema.py => projectcrew_collectionpost_response_schema.py} (79%) create mode 100644 rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item.py create mode 100644 rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item_custom.py create mode 100644 rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item_transport.py create mode 100644 rentman_api_client/models/projectcrew_collectionput_response_schema.py create mode 100644 rentman_api_client/models/projectcrew_collectionput_response_schema_data_item.py create mode 100644 rentman_api_client/models/projectcrew_collectionput_response_schema_data_item_custom.py create mode 100644 rentman_api_client/models/projectcrew_collectionput_response_schema_data_item_transport.py rename rentman_api_client/models/{planningpersoneel_itemget_request_schema.py => projectcrew_itemget_request_schema.py} (83%) rename rentman_api_client/models/{medewerker_itempost_request_schema_custom.py => projectcrew_itemget_request_schema_custom.py} (78%) rename rentman_api_client/models/{planningpersoneel_itemget_request_schema_transport.py => projectcrew_itemget_request_schema_transport.py} (77%) create mode 100644 rentman_api_client/models/projectcrew_itemget_response_schema.py rename rentman_api_client/models/{planningpersoneel_itemput_response_schema_data.py => projectcrew_itemget_response_schema_data.py} (88%) rename rentman_api_client/models/{medewerker_itempost_response_schema_data_custom.py => projectcrew_itemget_response_schema_data_custom.py} (77%) rename rentman_api_client/models/{planningpersoneel_itempost_request_schema_transport.py => projectcrew_itemget_response_schema_data_transport.py} (77%) rename rentman_api_client/models/{planningpersoneel_itemput_request_schema.py => projectcrew_itempost_request_schema.py} (83%) rename rentman_api_client/models/{person_itemget_response_schema_data_custom.py => projectcrew_itempost_request_schema_custom.py} (78%) rename rentman_api_client/models/{planningpersoneel_itemget_response_schema_data_transport.py => projectcrew_itempost_request_schema_transport.py} (76%) rename rentman_api_client/models/{materiaal_cat_itemget_response_schema.py => projectcrew_itempost_response_schema.py} (77%) rename rentman_api_client/models/{planningpersoneel_itemget_response_schema_data.py => projectcrew_itempost_response_schema_data.py} (88%) rename rentman_api_client/models/{planningmateriaal_itempost_request_schema_custom.py => projectcrew_itempost_response_schema_data_custom.py} (76%) rename rentman_api_client/models/{planningpersoneel_itemput_request_schema_transport.py => projectcrew_itempost_response_schema_data_transport.py} (77%) rename rentman_api_client/models/{planningpersoneel_itempost_request_schema.py => projectcrew_itemput_request_schema.py} (83%) create mode 100644 rentman_api_client/models/projectcrew_itemput_request_schema_custom.py create mode 100644 rentman_api_client/models/projectcrew_itemput_request_schema_transport.py create mode 100644 rentman_api_client/models/projectcrew_itemput_response_schema.py rename rentman_api_client/models/{planningpersoneel_itempost_response_schema_data.py => projectcrew_itemput_response_schema_data.py} (88%) rename rentman_api_client/models/{planningmateriaal_itemput_request_schema_custom.py => projectcrew_itemput_response_schema_data_custom.py} (77%) create mode 100644 rentman_api_client/models/projectcrew_itemput_response_schema_data_transport.py rename rentman_api_client/models/{medewerkertarief_collectionput_response_schema.py => projectequipment_collectionget_response_schema.py} (80%) rename rentman_api_client/models/{planningmateriaal_collectionget_response_schema_data_item.py => projectequipment_collectionget_response_schema_data_item.py} (92%) create mode 100644 rentman_api_client/models/projectequipment_collectionget_response_schema_data_item_custom.py rename rentman_api_client/models/{planningmateriaal_collectionget_response_schema.py => projectequipment_collectionpost_response_schema.py} (80%) rename rentman_api_client/models/{planningmateriaal_collectionput_response_schema_data_item.py => projectequipment_collectionpost_response_schema_data_item.py} (93%) rename rentman_api_client/models/{planningmateriaal_collectionget_response_schema_data_item_custom.py => projectequipment_collectionpost_response_schema_data_item_custom.py} (77%) create mode 100644 rentman_api_client/models/projectequipment_collectionput_response_schema.py create mode 100644 rentman_api_client/models/projectequipment_collectionput_response_schema_data_item.py create mode 100644 rentman_api_client/models/projectequipment_collectionput_response_schema_data_item_custom.py rename rentman_api_client/models/{planningmateriaal_itemget_request_schema.py => projectequipment_itemget_request_schema.py} (87%) rename rentman_api_client/models/{medewerker_itemput_response_schema_data_custom.py => projectequipment_itemget_request_schema_custom.py} (77%) rename rentman_api_client/models/{medewerkertarief_itemget_response_schema.py => projectequipment_itemget_response_schema.py} (77%) rename rentman_api_client/models/{planningmateriaal_itemget_response_schema_data.py => projectequipment_itemget_response_schema_data.py} (92%) create mode 100644 rentman_api_client/models/projectequipment_itemget_response_schema_data_custom.py rename rentman_api_client/models/{planningmateriaal_itemput_request_schema.py => projectequipment_itempost_request_schema.py} (89%) rename rentman_api_client/models/{planningpersoneel_itemput_request_schema_custom.py => projectequipment_itempost_request_schema_custom.py} (77%) rename rentman_api_client/models/{planningmateriaal_itemput_response_schema.py => projectequipment_itempost_response_schema.py} (77%) rename rentman_api_client/models/{planningmateriaal_itemput_response_schema_data.py => projectequipment_itempost_response_schema_data.py} (93%) rename rentman_api_client/models/{planningmateriaal_itemget_response_schema_data_custom.py => projectequipment_itempost_response_schema_data_custom.py} (77%) rename rentman_api_client/models/{planningmateriaal_itempost_request_schema.py => projectequipment_itemput_request_schema.py} (87%) rename rentman_api_client/models/{exemplaar_itempost_response_schema_data_custom.py => projectequipment_itemput_request_schema_custom.py} (77%) rename rentman_api_client/models/{medewerkertarief_itemput_response_schema.py => projectequipment_itemput_response_schema.py} (77%) rename rentman_api_client/models/{planningmateriaal_itempost_response_schema_data.py => projectequipment_itemput_response_schema_data.py} (92%) create mode 100644 rentman_api_client/models/projectequipment_itemput_response_schema_data_custom.py create mode 100644 rentman_api_client/models/projectequipmentgroup_collectionget_response_schema.py rename rentman_api_client/models/{materiaal_cat_collectionget_response_schema_data_item.py => projectequipmentgroup_collectionget_response_schema_data_item.py} (95%) create mode 100644 rentman_api_client/models/projectequipmentgroup_collectionpost_response_schema.py rename rentman_api_client/models/{materiaal_cat_collectionpost_response_schema_data_item.py => projectequipmentgroup_collectionpost_response_schema_data_item.py} (95%) create mode 100644 rentman_api_client/models/projectequipmentgroup_collectionput_response_schema.py rename rentman_api_client/models/{materiaal_cat_collectionput_response_schema_data_item.py => projectequipmentgroup_collectionput_response_schema_data_item.py} (95%) rename rentman_api_client/models/{materiaal_cat_itempost_request_schema.py => projectequipmentgroup_itemget_request_schema.py} (94%) rename rentman_api_client/models/{reparatie_itempost_response_schema.py => projectequipmentgroup_itemget_response_schema.py} (76%) rename rentman_api_client/models/{materiaal_cat_itempost_response_schema_data.py => projectequipmentgroup_itemget_response_schema_data.py} (96%) rename rentman_api_client/models/{materiaal_cat_itemget_request_schema.py => projectequipmentgroup_itempost_request_schema.py} (94%) rename rentman_api_client/models/{planningmateriaal_itempost_response_schema.py => projectequipmentgroup_itempost_response_schema.py} (74%) rename rentman_api_client/models/{materiaal_cat_itemput_response_schema_data.py => projectequipmentgroup_itempost_response_schema_data.py} (96%) rename rentman_api_client/models/{materiaal_cat_itemput_request_schema.py => projectequipmentgroup_itemput_request_schema.py} (94%) create mode 100644 rentman_api_client/models/projectequipmentgroup_itemput_response_schema.py rename rentman_api_client/models/{materiaal_cat_itemget_response_schema_data.py => projectequipmentgroup_itemput_response_schema_data.py} (96%) rename rentman_api_client/models/{inhuurmateriaal_collectionget_response_schema.py => projectfunction_collectionget_response_schema.py} (80%) rename rentman_api_client/models/{functie_itemget_response_schema_data.py => projectfunction_collectionget_response_schema_data_item.py} (81%) create mode 100644 rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_custom.py rename rentman_api_client/models/{functie_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py => projectfunction_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py} (59%) create mode 100644 rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py rename rentman_api_client/models/{functie_collectionget_response_schema_data_item_type.py => projectfunction_collectionget_response_schema_data_item_type.py} (74%) rename rentman_api_client/models/{functie_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py => projectfunction_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py} (59%) create mode 100644 rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py rename rentman_api_client/models/{functie_itemget_request_schema.py => projectfunction_itemget_request_schema.py} (81%) rename rentman_api_client/models/{materiaal_itemput_response_schema_data_custom.py => projectfunction_itemget_request_schema_custom.py} (77%) rename rentman_api_client/models/{functie_itemget_response_schema_data_usageperiod_start_schedule_is_start.py => projectfunction_itemget_request_schema_planperiod_end_schedule_is_start.py} (71%) rename rentman_api_client/models/{functie_itemget_request_schema_planperiod_start_schedule_is_start.py => projectfunction_itemget_request_schema_planperiod_start_schedule_is_start.py} (62%) rename rentman_api_client/models/{functie_itemget_request_schema_type.py => projectfunction_itemget_request_schema_type.py} (78%) rename rentman_api_client/models/{functie_itemget_request_schema_usageperiod_start_schedule_is_start.py => projectfunction_itemget_request_schema_usageperiod_end_schedule_is_start.py} (63%) rename rentman_api_client/models/{functie_itemget_request_schema_usageperiod_end_schedule_is_start.py => projectfunction_itemget_request_schema_usageperiod_start_schedule_is_start.py} (62%) rename rentman_api_client/models/{inhuurmateriaal_itemget_response_schema.py => projectfunction_itemget_response_schema.py} (77%) rename rentman_api_client/models/{functie_collectionget_response_schema_data_item.py => projectfunction_itemget_response_schema_data.py} (84%) create mode 100644 rentman_api_client/models/projectfunction_itemget_response_schema_data_custom.py rename rentman_api_client/models/{functie_itemget_request_schema_planperiod_end_schedule_is_start.py => projectfunction_itemget_response_schema_data_planperiod_end_schedule_is_start.py} (62%) rename rentman_api_client/models/{functie_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py => projectfunction_itemget_response_schema_data_planperiod_start_schedule_is_start.py} (72%) rename rentman_api_client/models/{functie_itemget_response_schema_data_type.py => projectfunction_itemget_response_schema_data_type.py} (76%) create mode 100644 rentman_api_client/models/projectfunction_itemget_response_schema_data_usageperiod_end_schedule_is_start.py rename rentman_api_client/models/{functie_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py => projectfunction_itemget_response_schema_data_usageperiod_start_schedule_is_start.py} (72%) create mode 100644 rentman_api_client/models/projectfunctiongroup_collectionget_response_schema.py rename rentman_api_client/models/{functiegroep_itemget_response_schema_data.py => projectfunctiongroup_collectionget_response_schema_data_item.py} (76%) rename rentman_api_client/models/{functiegroep_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py => projectfunctiongroup_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py} (54%) create mode 100644 rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py rename rentman_api_client/models/{functiegroep_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py => projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py} (54%) create mode 100644 rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py rename rentman_api_client/models/{functiegroep_itemget_request_schema.py => projectfunctiongroup_itemget_request_schema.py} (76%) rename rentman_api_client/models/{functiegroep_itemget_response_schema_data_usageperiod_start_schedule_is_start.py => projectfunctiongroup_itemget_request_schema_planperiod_end_schedule_is_start.py} (68%) rename rentman_api_client/models/{functiegroep_itemget_request_schema_planperiod_start_schedule_is_start.py => projectfunctiongroup_itemget_request_schema_planperiod_start_schedule_is_start.py} (58%) rename rentman_api_client/models/{functiegroep_itemget_request_schema_usageperiod_start_schedule_is_start.py => projectfunctiongroup_itemget_request_schema_usageperiod_end_schedule_is_start.py} (58%) rename rentman_api_client/models/{functiegroep_itemget_request_schema_usageperiod_end_schedule_is_start.py => projectfunctiongroup_itemget_request_schema_usageperiod_start_schedule_is_start.py} (57%) create mode 100644 rentman_api_client/models/projectfunctiongroup_itemget_response_schema.py rename rentman_api_client/models/{functiegroep_collectionget_response_schema_data_item.py => projectfunctiongroup_itemget_response_schema_data.py} (81%) rename rentman_api_client/models/{functiegroep_itemget_request_schema_planperiod_end_schedule_is_start.py => projectfunctiongroup_itemget_response_schema_data_planperiod_end_schedule_is_start.py} (57%) rename rentman_api_client/models/{functiegroep_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py => projectfunctiongroup_itemget_response_schema_data_planperiod_start_schedule_is_start.py} (56%) create mode 100644 rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_usageperiod_end_schedule_is_start.py rename rentman_api_client/models/{functiegroep_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py => projectfunctiongroup_itemget_response_schema_data_usageperiod_start_schedule_is_start.py} (56%) create mode 100644 rentman_api_client/models/projecttype_collectionget_response_schema.py rename rentman_api_client/models/{type_collectionput_response_schema_data_item.py => projecttype_collectionget_response_schema_data_item.py} (82%) rename rentman_api_client/models/{type_collectionput_response_schema_data_item_type.py => projecttype_collectionget_response_schema_data_item_type.py} (72%) rename rentman_api_client/models/{materiaal_cat_collectionget_response_schema.py => projecttype_collectionpost_response_schema.py} (79%) rename rentman_api_client/models/{type_collectionpost_response_schema_data_item.py => projecttype_collectionpost_response_schema_data_item.py} (82%) rename rentman_api_client/models/{type_collectionpost_response_schema_data_item_type.py => projecttype_collectionpost_response_schema_data_item_type.py} (72%) create mode 100644 rentman_api_client/models/projecttype_collectionput_response_schema.py rename rentman_api_client/models/{type_collectionget_response_schema_data_item.py => projecttype_collectionput_response_schema_data_item.py} (82%) rename rentman_api_client/models/{type_collectionget_response_schema_data_item_type.py => projecttype_collectionput_response_schema_data_item_type.py} (72%) rename rentman_api_client/models/{type_itemput_request_schema.py => projecttype_itemget_request_schema.py} (75%) rename rentman_api_client/models/{type_itempost_request_schema_type.py => projecttype_itemget_request_schema_type.py} (77%) create mode 100644 rentman_api_client/models/projecttype_itemget_response_schema.py rename rentman_api_client/models/{type_itempost_response_schema_data.py => projecttype_itemget_response_schema_data.py} (84%) rename rentman_api_client/models/{type_itemget_request_schema_type.py => projecttype_itemget_response_schema_data_type.py} (75%) rename rentman_api_client/models/{type_itempost_request_schema.py => projecttype_itempost_request_schema.py} (74%) rename rentman_api_client/models/{type_itempost_response_schema_data_type.py => projecttype_itempost_request_schema_type.py} (76%) rename rentman_api_client/models/{materiaal_cat_itemput_response_schema.py => projecttype_itempost_response_schema.py} (77%) rename rentman_api_client/models/{type_itemput_response_schema_data.py => projecttype_itempost_response_schema_data.py} (84%) create mode 100644 rentman_api_client/models/projecttype_itempost_response_schema_data_type.py rename rentman_api_client/models/{type_itemget_request_schema.py => projecttype_itemput_request_schema.py} (75%) rename rentman_api_client/models/{type_itemget_response_schema_data_type.py => projecttype_itemput_request_schema_type.py} (77%) create mode 100644 rentman_api_client/models/projecttype_itemput_response_schema.py rename rentman_api_client/models/{type_itemget_response_schema_data.py => projecttype_itemput_response_schema_data.py} (84%) create mode 100644 rentman_api_client/models/projecttype_itemput_response_schema_data_type.py create mode 100644 rentman_api_client/models/projectvehicle_collectionget_response_schema.py rename rentman_api_client/models/{planningtransport_collectionpost_response_schema_data_item.py => projectvehicle_collectionget_response_schema_data_item.py} (83%) rename rentman_api_client/models/{planningtransport_itemput_request_schema_custom.py => projectvehicle_collectionget_response_schema_data_item_custom.py} (76%) rename rentman_api_client/models/{planningtransport_itempost_response_schema_data_transport.py => projectvehicle_collectionget_response_schema_data_item_transport.py} (74%) rename rentman_api_client/models/{beschikbaarheid_collectionget_response_schema.py => projectvehicle_collectionpost_response_schema.py} (80%) rename rentman_api_client/models/{planningtransport_collectionget_response_schema_data_item.py => projectvehicle_collectionpost_response_schema_data_item.py} (83%) create mode 100644 rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item_custom.py create mode 100644 rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item_transport.py create mode 100644 rentman_api_client/models/projectvehicle_collectionput_response_schema.py create mode 100644 rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item.py rename rentman_api_client/models/{planningpersoneel_collectionput_response_schema_data_item_custom.py => projectvehicle_collectionput_response_schema_data_item_custom.py} (80%) create mode 100644 rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item_transport.py rename rentman_api_client/models/{planningtransport_itempost_request_schema.py => projectvehicle_itemget_request_schema.py} (80%) create mode 100644 rentman_api_client/models/projectvehicle_itemget_request_schema_custom.py rename rentman_api_client/models/{planningtransport_itemput_request_schema_transport.py => projectvehicle_itemget_request_schema_transport.py} (77%) create mode 100644 rentman_api_client/models/projectvehicle_itemget_response_schema.py rename rentman_api_client/models/{planningtransport_itempost_response_schema_data.py => projectvehicle_itemget_response_schema_data.py} (85%) create mode 100644 rentman_api_client/models/projectvehicle_itemget_response_schema_data_custom.py rename rentman_api_client/models/{planningtransport_itemget_response_schema_data_transport.py => projectvehicle_itemget_response_schema_data_transport.py} (76%) rename rentman_api_client/models/{planningtransport_itemget_request_schema.py => projectvehicle_itempost_request_schema.py} (80%) create mode 100644 rentman_api_client/models/projectvehicle_itempost_request_schema_custom.py rename rentman_api_client/models/{planningtransport_itemget_request_schema_transport.py => projectvehicle_itempost_request_schema_transport.py} (77%) rename rentman_api_client/models/{beschikbaarheid_itemput_response_schema.py => projectvehicle_itempost_response_schema.py} (77%) rename rentman_api_client/models/{planningtransport_itemput_response_schema_data.py => projectvehicle_itempost_response_schema_data.py} (84%) create mode 100644 rentman_api_client/models/projectvehicle_itempost_response_schema_data_custom.py create mode 100644 rentman_api_client/models/projectvehicle_itempost_response_schema_data_transport.py rename rentman_api_client/models/{planningtransport_itemput_request_schema.py => projectvehicle_itemput_request_schema.py} (80%) create mode 100644 rentman_api_client/models/projectvehicle_itemput_request_schema_custom.py rename rentman_api_client/models/{planningtransport_itempost_request_schema_transport.py => projectvehicle_itemput_request_schema_transport.py} (77%) create mode 100644 rentman_api_client/models/projectvehicle_itemput_response_schema.py rename rentman_api_client/models/{planningtransport_itemget_response_schema_data.py => projectvehicle_itemput_response_schema_data.py} (85%) create mode 100644 rentman_api_client/models/projectvehicle_itemput_response_schema_data_custom.py create mode 100644 rentman_api_client/models/projectvehicle_itemput_response_schema_data_transport.py rename rentman_api_client/models/{uren_collectionpost_response_schema.py => quote_collectionget_response_schema.py} (81%) rename rentman_api_client/models/{offerte_collectionput_response_schema_data_item.py => quote_collectionget_response_schema_data_item.py} (94%) rename rentman_api_client/models/{inhuur_collectionput_response_schema.py => quote_collectionpost_response_schema.py} (81%) rename rentman_api_client/models/{offerte_collectionget_response_schema_data_item.py => quote_collectionpost_response_schema_data_item.py} (94%) rename rentman_api_client/models/{type_collectionpost_response_schema.py => quote_collectionput_response_schema.py} (81%) rename rentman_api_client/models/{offerte_collectionpost_response_schema_data_item.py => quote_collectionput_response_schema_data_item.py} (94%) rename rentman_api_client/models/{offerte_itemput_request_schema.py => quote_itemget_request_schema.py} (92%) rename rentman_api_client/models/{files_itemget_response_schema.py => quote_itemget_response_schema.py} (80%) rename rentman_api_client/models/{offerte_itemput_response_schema_data.py => quote_itemget_response_schema_data.py} (96%) rename rentman_api_client/models/{offerte_itemget_request_schema.py => quote_itempost_request_schema.py} (92%) rename rentman_api_client/models/{files_itempost_response_schema.py => quote_itempost_response_schema.py} (80%) rename rentman_api_client/models/{offerte_itemget_response_schema_data.py => quote_itempost_response_schema_data.py} (96%) rename rentman_api_client/models/{offerte_itempost_request_schema.py => quote_itemput_request_schema.py} (92%) rename rentman_api_client/models/{files_itemput_response_schema.py => quote_itemput_response_schema.py} (80%) rename rentman_api_client/models/{offerte_itempost_response_schema_data.py => quote_itemput_response_schema_data.py} (96%) rename rentman_api_client/models/{person_collectionget_response_schema.py => repair_collectionget_response_schema.py} (81%) rename rentman_api_client/models/{reparatie_collectionpost_response_schema_data_item.py => repair_collectionget_response_schema_data_item.py} (88%) rename rentman_api_client/models/{inhuur_collectionput_response_schema_data_item_custom.py => repair_collectionget_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{reparatie_itemget_response_schema_data_is_usable.py => repair_collectionget_response_schema_data_item_is_usable.py} (64%) rename rentman_api_client/models/{factuur_collectionget_response_schema.py => repair_collectionpost_response_schema.py} (81%) rename rentman_api_client/models/{reparatie_collectionget_response_schema_data_item.py => repair_collectionpost_response_schema_data_item.py} (87%) rename rentman_api_client/models/{inhuur_collectionpost_response_schema_data_item_custom.py => repair_collectionpost_response_schema_data_item_custom.py} (77%) create mode 100644 rentman_api_client/models/repair_collectionpost_response_schema_data_item_is_usable.py rename rentman_api_client/models/{inhuur_collectionget_response_schema.py => repair_collectionput_response_schema.py} (81%) create mode 100644 rentman_api_client/models/repair_collectionput_response_schema_data_item.py rename rentman_api_client/models/{person_collectionget_response_schema_data_item_custom.py => repair_collectionput_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{reparatie_itempost_response_schema_data_is_usable.py => repair_collectionput_response_schema_data_item_is_usable.py} (64%) rename rentman_api_client/models/{reparatie_itempost_request_schema.py => repair_itemget_request_schema.py} (87%) rename rentman_api_client/models/{inhuur_itemget_request_schema_custom.py => repair_itemget_request_schema_custom.py} (79%) rename rentman_api_client/models/{voertuig_itemget_request_schema_multiple.py => repair_itemget_request_schema_is_usable.py} (69%) rename rentman_api_client/models/{inhuur_itemget_response_schema.py => repair_itemget_response_schema.py} (80%) rename rentman_api_client/models/{reparatie_itempost_response_schema_data.py => repair_itemget_response_schema_data.py} (89%) rename rentman_api_client/models/{inhuur_itemget_response_schema_data_custom.py => repair_itemget_response_schema_data_custom.py} (78%) rename rentman_api_client/models/{reparatie_itempost_request_schema_is_usable.py => repair_itemget_response_schema_data_is_usable.py} (68%) rename rentman_api_client/models/{reparatie_itemget_request_schema.py => repair_itempost_request_schema.py} (87%) rename rentman_api_client/models/{person_itempost_request_schema_custom.py => repair_itempost_request_schema_custom.py} (79%) rename rentman_api_client/models/{voertuig_itemput_request_schema_multiple.py => repair_itempost_request_schema_is_usable.py} (69%) rename rentman_api_client/models/{person_itempost_response_schema.py => repair_itempost_response_schema.py} (80%) rename rentman_api_client/models/{reparatie_itemput_response_schema_data.py => repair_itempost_response_schema_data.py} (89%) rename rentman_api_client/models/{functie_itemget_response_schema_data_custom.py => repair_itempost_response_schema_data_custom.py} (78%) create mode 100644 rentman_api_client/models/repair_itempost_response_schema_data_is_usable.py rename rentman_api_client/models/{reparatie_itemput_request_schema.py => repair_itemput_request_schema.py} (87%) rename rentman_api_client/models/{person_itemget_request_schema_custom.py => repair_itemput_request_schema_custom.py} (79%) rename rentman_api_client/models/{reparatie_itemput_request_schema_is_usable.py => repair_itemput_request_schema_is_usable.py} (69%) rename rentman_api_client/models/{inhuur_itemput_response_schema.py => repair_itemput_response_schema.py} (80%) rename rentman_api_client/models/{reparatie_itemget_response_schema_data.py => repair_itemput_response_schema_data.py} (89%) rename rentman_api_client/models/{inhuur_itemput_response_schema_data_custom.py => repair_itemput_response_schema_data_custom.py} (78%) create mode 100644 rentman_api_client/models/repair_itemput_response_schema_data_is_usable.py delete mode 100644 rentman_api_client/models/reparatie_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/reparatie_collectionget_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/reparatie_collectionget_response_schema_data_item_is_usable.py delete mode 100644 rentman_api_client/models/reparatie_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/reparatie_collectionpost_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/reparatie_collectionpost_response_schema_data_item_is_usable.py delete mode 100644 rentman_api_client/models/reparatie_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/reparatie_collectionput_response_schema_data_item.py delete mode 100644 rentman_api_client/models/reparatie_collectionput_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/reparatie_collectionput_response_schema_data_item_is_usable.py delete mode 100644 rentman_api_client/models/reparatie_itemget_request_schema_custom.py delete mode 100644 rentman_api_client/models/reparatie_itemget_response_schema.py delete mode 100644 rentman_api_client/models/reparatie_itemget_response_schema_data_custom.py delete mode 100644 rentman_api_client/models/reparatie_itempost_request_schema_custom.py delete mode 100644 rentman_api_client/models/reparatie_itempost_response_schema_data_custom.py delete mode 100644 rentman_api_client/models/reparatie_itemput_request_schema_custom.py delete mode 100644 rentman_api_client/models/reparatie_itemput_response_schema.py delete mode 100644 rentman_api_client/models/reparatie_itemput_response_schema_data_custom.py delete mode 100644 rentman_api_client/models/reparatie_itemput_response_schema_data_is_usable.py create mode 100644 rentman_api_client/models/serialnumber_collectionget_response_schema.py rename rentman_api_client/models/{exemplaar_collectionpost_response_schema_data_item.py => serialnumber_collectionget_response_schema_data_item.py} (89%) create mode 100644 rentman_api_client/models/serialnumber_collectionget_response_schema_data_item_custom.py create mode 100644 rentman_api_client/models/serialnumber_collectionpost_response_schema.py rename rentman_api_client/models/{exemplaar_collectionput_response_schema_data_item.py => serialnumber_collectionpost_response_schema_data_item.py} (89%) create mode 100644 rentman_api_client/models/serialnumber_collectionpost_response_schema_data_item_custom.py create mode 100644 rentman_api_client/models/serialnumber_collectionput_response_schema.py rename rentman_api_client/models/{exemplaar_collectionget_response_schema_data_item.py => serialnumber_collectionput_response_schema_data_item.py} (89%) create mode 100644 rentman_api_client/models/serialnumber_collectionput_response_schema_data_item_custom.py rename rentman_api_client/models/{exemplaar_itempost_request_schema.py => serialnumber_itemget_request_schema.py} (85%) rename rentman_api_client/models/{person_itemput_response_schema_data_custom.py => serialnumber_itemget_request_schema_custom.py} (78%) create mode 100644 rentman_api_client/models/serialnumber_itemget_response_schema.py rename rentman_api_client/models/{exemplaar_itemget_response_schema_data.py => serialnumber_itemget_response_schema_data.py} (91%) rename rentman_api_client/models/{planningpersoneel_itempost_request_schema_custom.py => serialnumber_itemget_response_schema_data_custom.py} (76%) rename rentman_api_client/models/{exemplaar_itemget_request_schema.py => serialnumber_itempost_request_schema.py} (85%) create mode 100644 rentman_api_client/models/serialnumber_itempost_request_schema_custom.py rename rentman_api_client/models/{materiaal_cat_itempost_response_schema.py => serialnumber_itempost_response_schema.py} (77%) rename rentman_api_client/models/{exemplaar_itemput_response_schema_data.py => serialnumber_itempost_response_schema_data.py} (91%) create mode 100644 rentman_api_client/models/serialnumber_itempost_response_schema_data_custom.py rename rentman_api_client/models/{exemplaar_itemput_request_schema.py => serialnumber_itemput_request_schema.py} (85%) create mode 100644 rentman_api_client/models/serialnumber_itemput_request_schema_custom.py create mode 100644 rentman_api_client/models/serialnumber_itemput_response_schema.py rename rentman_api_client/models/{exemplaar_itempost_response_schema_data.py => serialnumber_itemput_response_schema_data.py} (91%) rename rentman_api_client/models/{planningtransport_itempost_request_schema_custom.py => serialnumber_itemput_response_schema_data_custom.py} (76%) delete mode 100644 rentman_api_client/models/setinhoud_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/setinhoud_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/setinhoud_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/setinhoud_itemget_response_schema.py delete mode 100644 rentman_api_client/models/setinhoud_itemget_response_schema_data_is_fixed.py delete mode 100644 rentman_api_client/models/setinhoud_itempost_response_schema.py delete mode 100644 rentman_api_client/models/setinhoud_itemput_request_schema_is_fixed.py delete mode 100644 rentman_api_client/models/setinhoud_itemput_response_schema.py delete mode 100644 rentman_api_client/models/setinhoud_itemput_response_schema_data_is_fixed.py rename rentman_api_client/models/{asset_location_collectionget_response_schema.py => stock_location_collectionget_response_schema.py} (80%) rename rentman_api_client/models/{asset_location_collectionput_response_schema_data_item.py => stock_location_collectionget_response_schema_data_item.py} (85%) create mode 100644 rentman_api_client/models/stock_location_collectionget_response_schema_data_item_country.py rename rentman_api_client/models/{asset_location_collectionput_response_schema_data_item_type.py => stock_location_collectionget_response_schema_data_item_type.py} (70%) create mode 100644 rentman_api_client/models/stocklocation_collectionpost_response_schema.py rename rentman_api_client/models/{asset_location_collectionpost_response_schema_data_item.py => stocklocation_collectionpost_response_schema_data_item.py} (84%) create mode 100644 rentman_api_client/models/stocklocation_collectionpost_response_schema_data_item_country.py rename rentman_api_client/models/{asset_location_collectionpost_response_schema_data_item_type.py => stocklocation_collectionpost_response_schema_data_item_type.py} (70%) create mode 100644 rentman_api_client/models/stocklocation_collectionput_response_schema.py rename rentman_api_client/models/{asset_location_collectionget_response_schema_data_item.py => stocklocation_collectionput_response_schema_data_item.py} (84%) create mode 100644 rentman_api_client/models/stocklocation_collectionput_response_schema_data_item_country.py rename rentman_api_client/models/{asset_location_collectionget_response_schema_data_item_type.py => stocklocation_collectionput_response_schema_data_item_type.py} (70%) rename rentman_api_client/models/{asset_location_itemput_request_schema.py => stocklocation_itemget_request_schema.py} (81%) rename rentman_api_client/models/{asset_location_itemput_request_schema_country.py => stocklocation_itemget_request_schema_country.py} (97%) rename rentman_api_client/models/{asset_location_itemget_request_schema_type.py => stocklocation_itemget_request_schema_type.py} (72%) create mode 100644 rentman_api_client/models/stocklocation_itemget_response_schema.py rename rentman_api_client/models/{asset_location_itemput_response_schema_data.py => stocklocation_itemget_response_schema_data.py} (85%) create mode 100644 rentman_api_client/models/stocklocation_itemget_response_schema_data_country.py rename rentman_api_client/models/{asset_location_itemget_response_schema_data_type.py => stocklocation_itemget_response_schema_data_type.py} (70%) rename rentman_api_client/models/{asset_location_itempost_request_schema.py => stocklocation_itempost_request_schema.py} (81%) create mode 100644 rentman_api_client/models/stocklocation_itempost_request_schema_country.py rename rentman_api_client/models/{asset_location_itempost_request_schema_type.py => stocklocation_itempost_request_schema_type.py} (72%) create mode 100644 rentman_api_client/models/stocklocation_itempost_response_schema.py rename rentman_api_client/models/{asset_location_itempost_response_schema_data.py => stocklocation_itempost_response_schema_data.py} (85%) create mode 100644 rentman_api_client/models/stocklocation_itempost_response_schema_data_country.py rename rentman_api_client/models/{asset_location_itempost_response_schema_data_type.py => stocklocation_itempost_response_schema_data_type.py} (70%) rename rentman_api_client/models/{asset_location_itemget_request_schema.py => stocklocation_itemput_request_schema.py} (81%) create mode 100644 rentman_api_client/models/stocklocation_itemput_request_schema_country.py rename rentman_api_client/models/{asset_location_itemput_request_schema_type.py => stocklocation_itemput_request_schema_type.py} (72%) create mode 100644 rentman_api_client/models/stocklocation_itemput_response_schema.py rename rentman_api_client/models/{asset_location_itemget_response_schema_data.py => stocklocation_itemput_response_schema_data.py} (85%) create mode 100644 rentman_api_client/models/stocklocation_itemput_response_schema_data_country.py create mode 100644 rentman_api_client/models/stocklocation_itemput_response_schema_data_type.py create mode 100644 rentman_api_client/models/stockmovement_collectionget_response_schema.py rename rentman_api_client/models/{voorraadmutatie_collectionget_response_schema_data_item.py => stockmovement_collectionget_response_schema_data_item.py} (86%) rename rentman_api_client/models/{voorraadmutatie_collectionget_response_schema_data_item_type.py => stockmovement_collectionget_response_schema_data_item_type.py} (90%) create mode 100644 rentman_api_client/models/stockmovement_collectionpost_response_schema.py rename rentman_api_client/models/{voorraadmutatie_collectionput_response_schema_data_item.py => stockmovement_collectionpost_response_schema_data_item.py} (92%) create mode 100644 rentman_api_client/models/stockmovement_collectionput_response_schema.py rename rentman_api_client/models/{voorraadmutatie_collectionpost_response_schema_data_item.py => stockmovement_collectionput_response_schema_data_item.py} (92%) rename rentman_api_client/models/{voorraadmutatie_itemget_request_schema.py => stockmovement_itemget_request_schema.py} (83%) rename rentman_api_client/models/{voorraadmutatie_itemget_request_schema_type.py => stockmovement_itemget_request_schema_type.py} (92%) create mode 100644 rentman_api_client/models/stockmovement_itemget_response_schema.py rename rentman_api_client/models/{voorraadmutatie_itemget_response_schema_data.py => stockmovement_itemget_response_schema_data.py} (88%) rename rentman_api_client/models/{voorraadmutatie_itemget_response_schema_data_type.py => stockmovement_itemget_response_schema_data_type.py} (92%) rename rentman_api_client/models/{voorraadmutatie_itemput_request_schema.py => stockmovement_itempost_request_schema.py} (90%) create mode 100644 rentman_api_client/models/stockmovement_itempost_response_schema.py rename rentman_api_client/models/{voorraadmutatie_itemput_response_schema_data.py => stockmovement_itempost_response_schema_data.py} (93%) rename rentman_api_client/models/{voorraadmutatie_itempost_request_schema.py => stockmovement_itemput_request_schema.py} (90%) create mode 100644 rentman_api_client/models/stockmovement_itemput_response_schema.py rename rentman_api_client/models/{voorraadmutatie_itempost_response_schema_data.py => stockmovement_itemput_response_schema_data.py} (93%) create mode 100644 rentman_api_client/models/subrental_collectionget_response_schema.py rename rentman_api_client/models/{inhuur_collectionpost_response_schema_data_item.py => subrental_collectionget_response_schema_data_item.py} (91%) rename rentman_api_client/models/{exemplaar_collectionget_response_schema_data_item_custom.py => subrental_collectionget_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{inhuur_collectionget_response_schema_data_item_type.py => subrental_collectionget_response_schema_data_item_type.py} (75%) create mode 100644 rentman_api_client/models/subrental_collectionpost_response_schema.py rename rentman_api_client/models/{inhuur_collectionget_response_schema_data_item.py => subrental_collectionpost_response_schema_data_item.py} (92%) rename rentman_api_client/models/{exemplaar_collectionpost_response_schema_data_item_custom.py => subrental_collectionpost_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{inhuur_collectionput_response_schema_data_item_type.py => subrental_collectionpost_response_schema_data_item_type.py} (75%) create mode 100644 rentman_api_client/models/subrental_collectionput_response_schema.py rename rentman_api_client/models/{inhuur_collectionput_response_schema_data_item.py => subrental_collectionput_response_schema_data_item.py} (91%) rename rentman_api_client/models/{materiaal_collectionput_response_schema_data_item_custom.py => subrental_collectionput_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{inhuur_collectionpost_response_schema_data_item_type.py => subrental_collectionput_response_schema_data_item_type.py} (75%) rename rentman_api_client/models/{inhuur_itempost_request_schema.py => subrental_itemget_request_schema.py} (92%) rename rentman_api_client/models/{exemplaar_itemget_request_schema_custom.py => subrental_itemget_request_schema_custom.py} (78%) rename rentman_api_client/models/{inhuur_itempost_request_schema_type.py => subrental_itemget_request_schema_type.py} (80%) create mode 100644 rentman_api_client/models/subrental_itemget_response_schema.py rename rentman_api_client/models/{inhuur_itempost_response_schema_data.py => subrental_itemget_response_schema_data.py} (93%) rename rentman_api_client/models/{exemplaar_itemget_response_schema_data_custom.py => subrental_itemget_response_schema_data_custom.py} (77%) rename rentman_api_client/models/{inhuur_itemget_response_schema_data_type.py => subrental_itemget_response_schema_data_type.py} (78%) rename rentman_api_client/models/{inhuur_itemput_request_schema.py => subrental_itempost_request_schema.py} (92%) rename rentman_api_client/models/{materiaal_itempost_request_schema_custom.py => subrental_itempost_request_schema_custom.py} (78%) rename rentman_api_client/models/{inhuur_itemget_request_schema_type.py => subrental_itempost_request_schema_type.py} (80%) create mode 100644 rentman_api_client/models/subrental_itempost_response_schema.py rename rentman_api_client/models/{inhuur_itemget_response_schema_data.py => subrental_itempost_response_schema_data.py} (93%) rename rentman_api_client/models/{medewerker_itemget_response_schema_data_custom.py => subrental_itempost_response_schema_data_custom.py} (77%) create mode 100644 rentman_api_client/models/subrental_itempost_response_schema_data_type.py rename rentman_api_client/models/{inhuur_itemget_request_schema.py => subrental_itemput_request_schema.py} (92%) rename rentman_api_client/models/{exemplaar_itemput_request_schema_custom.py => subrental_itemput_request_schema_custom.py} (78%) rename rentman_api_client/models/{inhuur_itemput_request_schema_type.py => subrental_itemput_request_schema_type.py} (80%) create mode 100644 rentman_api_client/models/subrental_itemput_response_schema.py rename rentman_api_client/models/{inhuur_itemput_response_schema_data.py => subrental_itemput_response_schema_data.py} (93%) rename rentman_api_client/models/{materiaal_itemget_response_schema_data_custom.py => subrental_itemput_response_schema_data_custom.py} (77%) rename rentman_api_client/models/{inhuur_itempost_response_schema_data_type.py => subrental_itemput_response_schema_data_type.py} (78%) rename rentman_api_client/models/{afspraakmedewerker_collectionget_response_schema.py => subrentalequipment_collectionget_response_schema.py} (80%) rename rentman_api_client/models/{inhuurmateriaal_collectionpost_response_schema_data_item.py => subrentalequipment_collectionget_response_schema_data_item.py} (95%) rename rentman_api_client/models/{afspraakmedewerker_collectionpost_response_schema.py => subrentalequipment_collectionpost_response_schema.py} (80%) rename rentman_api_client/models/{inhuurmateriaal_collectionget_response_schema_data_item.py => subrentalequipment_collectionpost_response_schema_data_item.py} (94%) rename rentman_api_client/models/{afspraakmedewerker_collectionput_response_schema.py => subrentalequipment_collectionput_response_schema.py} (80%) rename rentman_api_client/models/{inhuurmateriaal_collectionput_response_schema_data_item.py => subrentalequipment_collectionput_response_schema_data_item.py} (95%) rename rentman_api_client/models/{inhuurmateriaal_itemput_request_schema.py => subrentalequipment_itemget_request_schema.py} (94%) rename rentman_api_client/models/{afspraakmedewerker_itemget_response_schema.py => subrentalequipment_itemget_response_schema.py} (77%) rename rentman_api_client/models/{inhuurmateriaal_itempost_response_schema_data.py => subrentalequipment_itemget_response_schema_data.py} (95%) rename rentman_api_client/models/{inhuurmateriaal_itemget_request_schema.py => subrentalequipment_itempost_request_schema.py} (94%) rename rentman_api_client/models/{afspraakmedewerker_itempost_response_schema.py => subrentalequipment_itempost_response_schema.py} (77%) rename rentman_api_client/models/{inhuurmateriaal_itemget_response_schema_data.py => subrentalequipment_itempost_response_schema_data.py} (95%) rename rentman_api_client/models/{inhuurmateriaal_itempost_request_schema.py => subrentalequipment_itemput_request_schema.py} (94%) rename rentman_api_client/models/{afspraakmedewerker_itemput_response_schema.py => subrentalequipment_itemput_response_schema.py} (77%) rename rentman_api_client/models/{inhuurmateriaal_itemput_response_schema_data.py => subrentalequipment_itemput_response_schema_data.py} (95%) create mode 100644 rentman_api_client/models/subrentalequipmentgroup_collectionget_response_schema.py rename rentman_api_client/models/{inhuurgroep_collectionput_response_schema_data_item.py => subrentalequipmentgroup_collectionget_response_schema_data_item.py} (90%) create mode 100644 rentman_api_client/models/subrentalequipmentgroup_collectionpost_response_schema.py rename rentman_api_client/models/{inhuurgroep_collectionpost_response_schema_data_item.py => subrentalequipmentgroup_collectionpost_response_schema_data_item.py} (90%) create mode 100644 rentman_api_client/models/subrentalequipmentgroup_collectionput_response_schema.py rename rentman_api_client/models/{inhuurgroep_collectionget_response_schema_data_item.py => subrentalequipmentgroup_collectionput_response_schema_data_item.py} (90%) rename rentman_api_client/models/{inhuurgroep_itempost_request_schema.py => subrentalequipmentgroup_itemget_request_schema.py} (84%) create mode 100644 rentman_api_client/models/subrentalequipmentgroup_itemget_response_schema.py rename rentman_api_client/models/{inhuurgroep_itempost_response_schema_data.py => subrentalequipmentgroup_itemget_response_schema_data.py} (91%) rename rentman_api_client/models/{inhuurgroep_itemget_request_schema.py => subrentalequipmentgroup_itempost_request_schema.py} (84%) rename rentman_api_client/models/{planningpersoneel_itempost_response_schema.py => subrentalequipmentgroup_itempost_response_schema.py} (73%) rename rentman_api_client/models/{inhuurgroep_itemget_response_schema_data.py => subrentalequipmentgroup_itempost_response_schema_data.py} (91%) rename rentman_api_client/models/{inhuurgroep_itemput_request_schema.py => subrentalequipmentgroup_itemput_request_schema.py} (84%) create mode 100644 rentman_api_client/models/subrentalequipmentgroup_itemput_response_schema.py rename rentman_api_client/models/{inhuurgroep_itemput_response_schema_data.py => subrentalequipmentgroup_itemput_response_schema_data.py} (91%) create mode 100644 rentman_api_client/models/timeregistration_collectionget_response_schema.py rename rentman_api_client/models/{uren_collectionput_response_schema_data_item.py => timeregistration_collectionget_response_schema_data_item.py} (84%) create mode 100644 rentman_api_client/models/timeregistration_collectionget_response_schema_data_item_custom.py rename rentman_api_client/models/{uren_itemget_request_schema_type.py => timeregistration_collectionget_response_schema_data_item_type.py} (75%) rename rentman_api_client/models/{planningmateriaal_collectionput_response_schema.py => timeregistration_collectionpost_response_schema.py} (80%) rename rentman_api_client/models/{uren_collectionpost_response_schema_data_item.py => timeregistration_collectionpost_response_schema_data_item.py} (84%) rename rentman_api_client/models/{planningmateriaal_collectionput_response_schema_data_item_custom.py => timeregistration_collectionpost_response_schema_data_item_custom.py} (77%) create mode 100644 rentman_api_client/models/timeregistration_collectionpost_response_schema_data_item_type.py create mode 100644 rentman_api_client/models/timeregistration_collectionput_response_schema.py rename rentman_api_client/models/{uren_collectionget_response_schema_data_item.py => timeregistration_collectionput_response_schema_data_item.py} (84%) create mode 100644 rentman_api_client/models/timeregistration_collectionput_response_schema_data_item_custom.py create mode 100644 rentman_api_client/models/timeregistration_collectionput_response_schema_data_item_type.py rename rentman_api_client/models/{uren_itemget_request_schema.py => timeregistration_itemget_request_schema.py} (83%) create mode 100644 rentman_api_client/models/timeregistration_itemget_request_schema_custom.py rename rentman_api_client/models/{uren_itempost_request_schema_type.py => timeregistration_itemget_request_schema_type.py} (79%) rename rentman_api_client/models/{inhuurmateriaal_itempost_response_schema.py => timeregistration_itemget_response_schema.py} (77%) rename rentman_api_client/models/{uren_itemget_response_schema_data.py => timeregistration_itemget_response_schema_data.py} (86%) create mode 100644 rentman_api_client/models/timeregistration_itemget_response_schema_data_custom.py rename rentman_api_client/models/{uren_collectionget_response_schema_data_item_type.py => timeregistration_itemget_response_schema_data_type.py} (77%) rename rentman_api_client/models/{uren_itempost_request_schema.py => timeregistration_itempost_request_schema.py} (83%) rename rentman_api_client/models/{planningmateriaal_itemget_request_schema_custom.py => timeregistration_itempost_request_schema_custom.py} (77%) rename rentman_api_client/models/{uren_itempost_response_schema_data_type.py => timeregistration_itempost_request_schema_type.py} (79%) rename rentman_api_client/models/{medewerkertarief_itempost_response_schema.py => timeregistration_itempost_response_schema.py} (77%) rename rentman_api_client/models/{uren_itemput_response_schema_data.py => timeregistration_itempost_response_schema_data.py} (86%) rename rentman_api_client/models/{planningmateriaal_itemput_response_schema_data_custom.py => timeregistration_itempost_response_schema_data_custom.py} (77%) rename rentman_api_client/models/{uren_collectionput_response_schema_data_item_type.py => timeregistration_itempost_response_schema_data_type.py} (77%) rename rentman_api_client/models/{uren_itemput_request_schema.py => timeregistration_itemput_request_schema.py} (83%) rename rentman_api_client/models/{inhuur_collectionget_response_schema_data_item_custom.py => timeregistration_itemput_request_schema_custom.py} (77%) rename rentman_api_client/models/{uren_itemget_response_schema_data_type.py => timeregistration_itemput_request_schema_type.py} (79%) create mode 100644 rentman_api_client/models/timeregistration_itemput_response_schema.py rename rentman_api_client/models/{uren_itempost_response_schema_data.py => timeregistration_itemput_response_schema_data.py} (86%) create mode 100644 rentman_api_client/models/timeregistration_itemput_response_schema_data_custom.py rename rentman_api_client/models/{uren_collectionpost_response_schema_data_item_type.py => timeregistration_itemput_response_schema_data_type.py} (77%) create mode 100644 rentman_api_client/models/timeregistrationactivity_collectionget_response_schema.py rename rentman_api_client/models/{functieuur_collectionpost_response_schema_data_item.py => timeregistrationactivity_collectionget_response_schema_data_item.py} (90%) create mode 100644 rentman_api_client/models/timeregistrationactivity_collectionpost_response_schema.py rename rentman_api_client/models/{functieuur_collectionget_response_schema_data_item.py => timeregistrationactivity_collectionpost_response_schema_data_item.py} (90%) create mode 100644 rentman_api_client/models/timeregistrationactivity_collectionput_response_schema.py rename rentman_api_client/models/{functieuur_collectionput_response_schema_data_item.py => timeregistrationactivity_collectionput_response_schema_data_item.py} (90%) rename rentman_api_client/models/{functieuur_itempost_request_schema.py => timeregistrationactivity_itemget_request_schema.py} (84%) create mode 100644 rentman_api_client/models/timeregistrationactivity_itemget_response_schema.py rename rentman_api_client/models/{functieuur_itempost_response_schema_data.py => timeregistrationactivity_itemget_response_schema_data.py} (91%) rename rentman_api_client/models/{functieuur_itemput_request_schema.py => timeregistrationactivity_itempost_request_schema.py} (84%) create mode 100644 rentman_api_client/models/timeregistrationactivity_itempost_response_schema.py rename rentman_api_client/models/{functieuur_itemget_response_schema_data.py => timeregistrationactivity_itempost_response_schema_data.py} (91%) rename rentman_api_client/models/{functieuur_itemget_request_schema.py => timeregistrationactivity_itemput_request_schema.py} (84%) create mode 100644 rentman_api_client/models/timeregistrationactivity_itemput_response_schema.py rename rentman_api_client/models/{functieuur_itemput_response_schema_data.py => timeregistrationactivity_itemput_response_schema_data.py} (91%) delete mode 100644 rentman_api_client/models/type_itemput_request_schema_type.py delete mode 100644 rentman_api_client/models/type_itemput_response_schema_data_type.py delete mode 100644 rentman_api_client/models/uren_itemput_request_schema_type.py delete mode 100644 rentman_api_client/models/uren_itemput_response_schema_data_type.py rename rentman_api_client/models/{inhuur_collectionpost_response_schema.py => vehicle_collectionget_response_schema.py} (81%) rename rentman_api_client/models/{voertuig_collectionget_response_schema_data_item.py => vehicle_collectionget_response_schema_data_item.py} (87%) rename rentman_api_client/models/{person_collectionpost_response_schema_data_item_custom.py => vehicle_collectionget_response_schema_data_item_custom.py} (77%) create mode 100644 rentman_api_client/models/vehicle_collectionget_response_schema_data_item_multiple.py rename rentman_api_client/models/{factuur_collectionpost_response_schema.py => vehicle_collectionpost_response_schema.py} (81%) rename rentman_api_client/models/{voertuig_collectionput_response_schema_data_item.py => vehicle_collectionpost_response_schema_data_item.py} (89%) rename rentman_api_client/models/{voertuig_collectionget_response_schema_data_item_custom.py => vehicle_collectionpost_response_schema_data_item_custom.py} (77%) rename rentman_api_client/models/{voertuig_collectionget_response_schema_data_item_multiple.py => vehicle_collectionpost_response_schema_data_item_multiple.py} (66%) create mode 100644 rentman_api_client/models/vehicle_collectionput_response_schema.py create mode 100644 rentman_api_client/models/vehicle_collectionput_response_schema_data_item.py rename rentman_api_client/models/{planningmateriaal_itempost_response_schema_data_custom.py => vehicle_collectionput_response_schema_data_item_custom.py} (76%) create mode 100644 rentman_api_client/models/vehicle_collectionput_response_schema_data_item_multiple.py rename rentman_api_client/models/{voertuig_itemput_request_schema.py => vehicle_itemget_request_schema.py} (84%) rename rentman_api_client/models/{functie_itemget_request_schema_custom.py => vehicle_itemget_request_schema_custom.py} (79%) rename rentman_api_client/models/{reparatie_itemget_request_schema_is_usable.py => vehicle_itemget_request_schema_multiple.py} (69%) rename rentman_api_client/models/{functie_itemget_response_schema.py => vehicle_itemget_response_schema.py} (80%) rename rentman_api_client/models/{voertuig_itemget_response_schema_data.py => vehicle_itemget_response_schema_data.py} (88%) rename rentman_api_client/models/{inhuur_itempost_response_schema_data_custom.py => vehicle_itemget_response_schema_data_custom.py} (78%) create mode 100644 rentman_api_client/models/vehicle_itemget_response_schema_data_multiple.py rename rentman_api_client/models/{voertuig_itemget_request_schema.py => vehicle_itempost_request_schema.py} (85%) rename rentman_api_client/models/{voertuig_itemget_request_schema_custom.py => vehicle_itempost_request_schema_custom.py} (79%) create mode 100644 rentman_api_client/models/vehicle_itempost_request_schema_multiple.py rename rentman_api_client/models/{afspraak_itemget_response_schema.py => vehicle_itempost_response_schema.py} (78%) rename rentman_api_client/models/{voertuig_itemput_response_schema_data.py => vehicle_itempost_response_schema_data.py} (89%) rename rentman_api_client/models/{voertuig_itemget_response_schema_data_custom.py => vehicle_itempost_response_schema_data_custom.py} (78%) create mode 100644 rentman_api_client/models/vehicle_itempost_response_schema_data_multiple.py rename rentman_api_client/models/{voertuig_itempost_request_schema.py => vehicle_itemput_request_schema.py} (84%) rename rentman_api_client/models/{inhuur_itempost_request_schema_custom.py => vehicle_itemput_request_schema_custom.py} (79%) create mode 100644 rentman_api_client/models/vehicle_itemput_request_schema_multiple.py rename rentman_api_client/models/{factuur_itemget_response_schema.py => vehicle_itemput_response_schema.py} (79%) rename rentman_api_client/models/{voertuig_itempost_response_schema_data.py => vehicle_itemput_response_schema_data.py} (88%) rename rentman_api_client/models/{person_itempost_response_schema_data_custom.py => vehicle_itemput_response_schema_data_custom.py} (78%) create mode 100644 rentman_api_client/models/vehicle_itemput_response_schema_data_multiple.py delete mode 100644 rentman_api_client/models/voertuig_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/voertuig_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/voertuig_collectionpost_response_schema_data_item.py delete mode 100644 rentman_api_client/models/voertuig_collectionpost_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/voertuig_collectionpost_response_schema_data_item_multiple.py delete mode 100644 rentman_api_client/models/voertuig_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/voertuig_collectionput_response_schema_data_item_custom.py delete mode 100644 rentman_api_client/models/voertuig_collectionput_response_schema_data_item_multiple.py delete mode 100644 rentman_api_client/models/voertuig_itemget_response_schema.py delete mode 100644 rentman_api_client/models/voertuig_itemget_response_schema_data_multiple.py delete mode 100644 rentman_api_client/models/voertuig_itempost_request_schema_custom.py delete mode 100644 rentman_api_client/models/voertuig_itempost_request_schema_multiple.py delete mode 100644 rentman_api_client/models/voertuig_itempost_response_schema.py delete mode 100644 rentman_api_client/models/voertuig_itempost_response_schema_data_custom.py delete mode 100644 rentman_api_client/models/voertuig_itempost_response_schema_data_multiple.py delete mode 100644 rentman_api_client/models/voertuig_itemput_request_schema_custom.py delete mode 100644 rentman_api_client/models/voertuig_itemput_response_schema.py delete mode 100644 rentman_api_client/models/voertuig_itemput_response_schema_data_multiple.py delete mode 100644 rentman_api_client/models/voorraadmutatie_collectionget_response_schema.py delete mode 100644 rentman_api_client/models/voorraadmutatie_collectionpost_response_schema.py delete mode 100644 rentman_api_client/models/voorraadmutatie_collectionput_response_schema.py delete mode 100644 rentman_api_client/models/voorraadmutatie_itemget_response_schema.py delete mode 100644 rentman_api_client/models/voorraadmutatie_itempost_response_schema.py delete mode 100644 rentman_api_client/models/voorraadmutatie_itemput_response_schema.py diff --git a/oas.yml b/oas.yml index 84fb3ec..95abaa4 100644 --- a/oas.yml +++ b/oas.yml @@ -145,7 +145,7 @@ tags: paths: /accessories: get: - operationId: Accessoire_collection_get + operationId: Accessory_collection_get summary: 'Get accessories collection.' description: "" tags: @@ -156,10 +156,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AccessoireCollectiongetResponseSchema' + $ref: '#/components/schemas/AccessoryCollectiongetResponseSchema' /appointmentcrew: get: - operationId: Afspraakmedewerker_collection_get + operationId: Appointmentcrew_collection_get summary: 'Get appointmentcrew collection.' description: "" tags: @@ -170,10 +170,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AfspraakmedewerkerCollectiongetResponseSchema' + $ref: '#/components/schemas/AppointmentcrewCollectiongetResponseSchema' /appointments: post: - operationId: Afspraak_collection_post + operationId: Appointment_collection_post summary: 'Create appointments item.' description: "" tags: @@ -184,15 +184,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AfspraakItempostResponseSchema' + $ref: '#/components/schemas/AppointmentItempostResponseSchema' requestBody: description: "" content: application/json: schema: - $ref: '#/components/schemas/AfspraakItempostRequestSchema' + $ref: '#/components/schemas/AppointmentItempostRequestSchema' get: - operationId: Afspraak_collection_get + operationId: Appointment_collection_get summary: 'Get appointments collection.' description: "" tags: @@ -203,10 +203,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AfspraakCollectiongetResponseSchema' + $ref: '#/components/schemas/AppointmentCollectiongetResponseSchema' /contactpersons: get: - operationId: Person_collection_get + operationId: Contactperson_collection_get summary: 'Get contactpersons collection.' description: "" tags: @@ -217,7 +217,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PersonCollectiongetResponseSchema' + $ref: '#/components/schemas/ContactpersonCollectiongetResponseSchema' /contacts: post: operationId: Contact_collection_post @@ -281,7 +281,7 @@ paths: $ref: '#/components/schemas/CostCollectiongetResponseSchema' /crew: get: - operationId: Medewerker_collection_get + operationId: Crew_collection_get summary: 'Get crew collection.' description: "" tags: @@ -292,10 +292,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MedewerkerCollectiongetResponseSchema' + $ref: '#/components/schemas/CrewCollectiongetResponseSchema' /crewavailability: get: - operationId: Beschikbaarheid_collection_get + operationId: Crewavailability_collection_get summary: 'Get crewavailability collection.' description: "" tags: @@ -306,10 +306,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BeschikbaarheidCollectiongetResponseSchema' + $ref: '#/components/schemas/CrewavailabilityCollectiongetResponseSchema' /crewrates: get: - operationId: Medewerkertarief_collection_get + operationId: Crewrate_collection_get summary: 'Get crewrates collection.' description: "" tags: @@ -320,10 +320,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MedewerkertariefCollectiongetResponseSchema' + $ref: '#/components/schemas/CrewrateCollectiongetResponseSchema' /equipment: get: - operationId: Materiaal_collection_get + operationId: Equipment_collection_get summary: 'Get equipment collection.' description: "" tags: @@ -334,10 +334,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MateriaalCollectiongetResponseSchema' + $ref: '#/components/schemas/EquipmentCollectiongetResponseSchema' /equipmentsetscontent: get: - operationId: Setinhoud_collection_get + operationId: Equipmentsetscontent_collection_get summary: 'Get equipmentsetscontent collection.' description: "" tags: @@ -348,10 +348,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetinhoudCollectiongetResponseSchema' + $ref: '#/components/schemas/EquipmentsetscontentCollectiongetResponseSchema' /files: get: - operationId: Files_collection_get + operationId: File_collection_get summary: 'Get files collection.' description: "" tags: @@ -362,7 +362,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' /folders: get: operationId: Folder_collection_get @@ -379,7 +379,7 @@ paths: $ref: '#/components/schemas/FolderCollectiongetResponseSchema' /invoicelines: get: - operationId: Btwbedrag_collection_get + operationId: Invoiceline_collection_get summary: 'Get invoicelines collection.' description: "" tags: @@ -390,10 +390,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BtwbedragCollectiongetResponseSchema' + $ref: '#/components/schemas/InvoicelineCollectiongetResponseSchema' /invoices: get: - operationId: Factuur_collection_get + operationId: Invoice_collection_get summary: 'Get invoices collection.' description: "" tags: @@ -404,10 +404,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FactuurCollectiongetResponseSchema' + $ref: '#/components/schemas/InvoiceCollectiongetResponseSchema' /ledgercodes: get: - operationId: Grootboek_collection_get + operationId: Ledgercode_collection_get summary: 'Get ledgercodes collection.' description: "" tags: @@ -418,7 +418,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GrootboekCollectiongetResponseSchema' + $ref: '#/components/schemas/LedgercodeCollectiongetResponseSchema' /payments: get: operationId: Payment_collection_get @@ -435,7 +435,7 @@ paths: $ref: '#/components/schemas/PaymentCollectiongetResponseSchema' /projectcrew: get: - operationId: Planningpersoneel_collection_get + operationId: Projectcrew_collection_get summary: 'Get projectcrew collection.' description: "" tags: @@ -446,10 +446,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningpersoneelCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectcrewCollectiongetResponseSchema' /projectequipment: get: - operationId: Planningmateriaal_collection_get + operationId: Projectequipment_collection_get summary: 'Get projectequipment collection.' description: "" tags: @@ -460,10 +460,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningmateriaalCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectequipmentCollectiongetResponseSchema' /projectequipmentgroup: get: - operationId: MateriaalCat_collection_get + operationId: Projectequipmentgroup_collection_get summary: 'Get projectequipmentgroup collection.' description: "" tags: @@ -474,10 +474,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MateriaalCatCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectequipmentgroupCollectiongetResponseSchema' /projectfunctiongroups: get: - operationId: Functiegroep_collection_get + operationId: Projectfunctiongroup_collection_get summary: 'Get projectfunctiongroups collection.' description: "" tags: @@ -488,10 +488,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctiegroepCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectfunctiongroupCollectiongetResponseSchema' /projectfunctions: get: - operationId: Functie_collection_get + operationId: Projectfunction_collection_get summary: 'Get projectfunctions collection.' description: "" tags: @@ -502,7 +502,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctieCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectfunctionCollectiongetResponseSchema' /projectrequestequipment: get: operationId: ProjectRequestEquipment_collection_get @@ -566,7 +566,7 @@ paths: $ref: '#/components/schemas/ProjectCollectiongetResponseSchema' /projecttypes: get: - operationId: Type_collection_get + operationId: Projecttype_collection_get summary: 'Get projecttypes collection.' description: "" tags: @@ -577,10 +577,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TypeCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjecttypeCollectiongetResponseSchema' /projectvehicles: get: - operationId: Planningtransport_collection_get + operationId: Projectvehicle_collection_get summary: 'Get projectvehicles collection.' description: "" tags: @@ -591,10 +591,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningtransportCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectvehicleCollectiongetResponseSchema' /quotes: get: - operationId: Offerte_collection_get + operationId: Quote_collection_get summary: 'Get quotes collection.' description: "" tags: @@ -605,7 +605,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/OfferteCollectiongetResponseSchema' + $ref: '#/components/schemas/QuoteCollectiongetResponseSchema' /ratefactors: get: operationId: RateFactor_collection_get @@ -636,7 +636,7 @@ paths: $ref: '#/components/schemas/RateCollectiongetResponseSchema' /repairs: get: - operationId: Reparatie_collection_get + operationId: Repair_collection_get summary: 'Get repairs collection.' description: "" tags: @@ -647,10 +647,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ReparatieCollectiongetResponseSchema' + $ref: '#/components/schemas/RepairCollectiongetResponseSchema' /serialnumbers: get: - operationId: Exemplaar_collection_get + operationId: Serialnumber_collection_get summary: 'Get serialnumbers collection.' description: "" tags: @@ -661,7 +661,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExemplaarCollectiongetResponseSchema' + $ref: '#/components/schemas/SerialnumberCollectiongetResponseSchema' /statuses: get: operationId: Status_collection_get @@ -678,7 +678,7 @@ paths: $ref: '#/components/schemas/StatusCollectiongetResponseSchema' /stocklocations: get: - operationId: AssetLocation_collection_get + operationId: StockLocation_collection_get summary: 'Get stocklocations collection.' description: "" tags: @@ -689,10 +689,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AssetLocationCollectiongetResponseSchema' + $ref: '#/components/schemas/StockLocationCollectiongetResponseSchema' /stockmovements: get: - operationId: Voorraadmutatie_collection_get + operationId: Stockmovement_collection_get summary: 'Get stockmovements collection.' description: "" tags: @@ -703,7 +703,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VoorraadmutatieCollectiongetResponseSchema' + $ref: '#/components/schemas/StockmovementCollectiongetResponseSchema' /subprojects: get: operationId: Subproject_collection_get @@ -720,7 +720,7 @@ paths: $ref: '#/components/schemas/SubprojectCollectiongetResponseSchema' /subrentalequipment: get: - operationId: Inhuurmateriaal_collection_get + operationId: Subrentalequipment_collection_get summary: 'Get subrentalequipment collection.' description: "" tags: @@ -731,10 +731,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InhuurmateriaalCollectiongetResponseSchema' + $ref: '#/components/schemas/SubrentalequipmentCollectiongetResponseSchema' /subrentalequipmentgroup: get: - operationId: Inhuurgroep_collection_get + operationId: Subrentalequipmentgroup_collection_get summary: 'Get subrentalequipmentgroup collection.' description: "" tags: @@ -745,10 +745,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InhuurgroepCollectiongetResponseSchema' + $ref: '#/components/schemas/SubrentalequipmentgroupCollectiongetResponseSchema' /subrentals: get: - operationId: Inhuur_collection_get + operationId: Subrental_collection_get summary: 'Get subrentals collection.' description: "" tags: @@ -759,7 +759,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InhuurCollectiongetResponseSchema' + $ref: '#/components/schemas/SubrentalCollectiongetResponseSchema' /taxclasses: get: operationId: TaxClass_collection_get @@ -776,7 +776,7 @@ paths: $ref: '#/components/schemas/TaxClassCollectiongetResponseSchema' /timeregistration: get: - operationId: Uren_collection_get + operationId: Timeregistration_collection_get summary: 'Get timeregistration collection.' description: "" tags: @@ -787,10 +787,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UrenCollectiongetResponseSchema' + $ref: '#/components/schemas/TimeregistrationCollectiongetResponseSchema' /timeregistrationactivities: get: - operationId: Functieuur_collection_get + operationId: Timeregistrationactivity_collection_get summary: 'Get timeregistrationactivities collection.' description: "" tags: @@ -801,10 +801,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctieuurCollectiongetResponseSchema' + $ref: '#/components/schemas/TimeregistrationactivityCollectiongetResponseSchema' /vehicles: get: - operationId: Voertuig_collection_get + operationId: Vehicle_collection_get summary: 'Get vehicles collection.' description: "" tags: @@ -815,10 +815,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VoertuigCollectiongetResponseSchema' + $ref: '#/components/schemas/VehicleCollectiongetResponseSchema' '/accessories/{id}': get: - operationId: Accessoire_item_get + operationId: Accessory_item_get summary: 'Get accessories item.' description: "" tags: @@ -837,10 +837,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AccessoireItemgetResponseSchema' + $ref: '#/components/schemas/AccessoryItemgetResponseSchema' '/appointmentcrew/{id}': get: - operationId: Afspraakmedewerker_item_get + operationId: Appointmentcrew_item_get summary: 'Get appointmentcrew item.' description: "" tags: @@ -859,9 +859,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AfspraakmedewerkerItemgetResponseSchema' + $ref: '#/components/schemas/AppointmentcrewItemgetResponseSchema' put: - operationId: Afspraakmedewerker_item_put + operationId: Appointmentcrew_item_put summary: 'Update appointmentcrew item.' description: "" tags: @@ -880,15 +880,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AfspraakmedewerkerItemputResponseSchema' + $ref: '#/components/schemas/AppointmentcrewItemputResponseSchema' requestBody: description: "" content: application/json: schema: - $ref: '#/components/schemas/AfspraakmedewerkerItemputRequestSchema' + $ref: '#/components/schemas/AppointmentcrewItemputRequestSchema' delete: - operationId: Afspraakmedewerker_item_delete + operationId: Appointmentcrew_item_delete summary: 'Delete appointmentcrew item.' description: "" tags: @@ -906,7 +906,7 @@ paths: description: 'Successful request (note that the ''data'' field can be expanded)' '/appointments/{id}': get: - operationId: Afspraak_item_get + operationId: Appointment_item_get summary: 'Get appointments item.' description: "" tags: @@ -925,9 +925,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AfspraakItemgetResponseSchema' + $ref: '#/components/schemas/AppointmentItemgetResponseSchema' put: - operationId: Afspraak_item_put + operationId: Appointment_item_put summary: 'Update appointments item.' description: "" tags: @@ -946,15 +946,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AfspraakItemputResponseSchema' + $ref: '#/components/schemas/AppointmentItemputResponseSchema' requestBody: description: "" content: application/json: schema: - $ref: '#/components/schemas/AfspraakItemputRequestSchema' + $ref: '#/components/schemas/AppointmentItemputRequestSchema' delete: - operationId: Afspraak_item_delete + operationId: Appointment_item_delete summary: 'Delete appointments item.' description: "" tags: @@ -972,7 +972,7 @@ paths: description: 'Successful request (note that the ''data'' field can be expanded)' '/contactpersons/{id}': get: - operationId: Person_item_get + operationId: Contactperson_item_get summary: 'Get contactpersons item.' description: "" tags: @@ -991,9 +991,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PersonItemgetResponseSchema' + $ref: '#/components/schemas/ContactpersonItemgetResponseSchema' put: - operationId: Person_item_put + operationId: Contactperson_item_put summary: 'Update contactpersons item.' description: "" tags: @@ -1012,15 +1012,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PersonItemputResponseSchema' + $ref: '#/components/schemas/ContactpersonItemputResponseSchema' requestBody: description: "" content: application/json: schema: - $ref: '#/components/schemas/PersonItemputRequestSchema' + $ref: '#/components/schemas/ContactpersonItemputRequestSchema' delete: - operationId: Person_item_delete + operationId: Contactperson_item_delete summary: 'Delete contactpersons item.' description: "" tags: @@ -1192,7 +1192,7 @@ paths: description: 'Successful request (note that the ''data'' field can be expanded)' '/crew/{id}': get: - operationId: Medewerker_item_get + operationId: Crew_item_get summary: 'Get crew item.' description: "" tags: @@ -1211,10 +1211,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MedewerkerItemgetResponseSchema' + $ref: '#/components/schemas/CrewItemgetResponseSchema' '/crewavailability/{id}': get: - operationId: Beschikbaarheid_item_get + operationId: CrewAvailability_item_get summary: 'Get crewavailability item.' description: "" tags: @@ -1233,9 +1233,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BeschikbaarheidItemgetResponseSchema' + $ref: '#/components/schemas/CrewAvailabilityItemgetResponseSchema' put: - operationId: Beschikbaarheid_item_put + operationId: CrewAvailability_item_put summary: 'Update crewavailability item.' description: "" tags: @@ -1254,15 +1254,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BeschikbaarheidItemputResponseSchema' + $ref: '#/components/schemas/CrewAvailabilityItemputResponseSchema' requestBody: description: "" content: application/json: schema: - $ref: '#/components/schemas/BeschikbaarheidItemputRequestSchema' + $ref: '#/components/schemas/CrewAvailabilityItemputRequestSchema' delete: - operationId: Beschikbaarheid_item_delete + operationId: CrewAvailability_item_delete summary: 'Delete crewavailability item.' description: "" tags: @@ -1280,7 +1280,7 @@ paths: description: 'Successful request (note that the ''data'' field can be expanded)' '/crewrates/{id}': get: - operationId: Medewerkertarief_item_get + operationId: Crewrate_item_get summary: 'Get crewrates item.' description: "" tags: @@ -1299,10 +1299,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MedewerkertariefItemgetResponseSchema' + $ref: '#/components/schemas/CrewrateItemgetResponseSchema' '/equipment/{id}': get: - operationId: Materiaal_item_get + operationId: Equipment_item_get summary: 'Get equipment item.' description: "" tags: @@ -1321,10 +1321,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MateriaalItemgetResponseSchema' + $ref: '#/components/schemas/EquipmentItemgetResponseSchema' '/equipmentsetscontent/{id}': get: - operationId: Setinhoud_item_get + operationId: Equipmentsetscontent_item_get summary: 'Get equipmentsetscontent item.' description: "" tags: @@ -1343,10 +1343,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetinhoudItemgetResponseSchema' + $ref: '#/components/schemas/EquipmentsetscontentItemgetResponseSchema' '/files/{id}': get: - operationId: Files_item_get + operationId: File_item_get summary: 'Get files item.' description: "" tags: @@ -1365,7 +1365,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesItemgetResponseSchema' + $ref: '#/components/schemas/FileItemgetResponseSchema' '/folders/{id}': get: operationId: Folder_item_get @@ -1390,7 +1390,7 @@ paths: $ref: '#/components/schemas/FolderItemgetResponseSchema' '/invoicelines/{id}': get: - operationId: Btwbedrag_item_get + operationId: Invoiceline_item_get summary: 'Get invoicelines item.' description: "" tags: @@ -1409,10 +1409,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BtwbedragItemgetResponseSchema' + $ref: '#/components/schemas/InvoicelineItemgetResponseSchema' '/invoices/{id}': get: - operationId: Factuur_item_get + operationId: Invoice_item_get summary: 'Get invoices item.' description: "" tags: @@ -1431,10 +1431,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FactuurItemgetResponseSchema' + $ref: '#/components/schemas/InvoiceItemgetResponseSchema' '/ledgercodes/{id}': get: - operationId: Grootboek_item_get + operationId: Ledgercode_item_get summary: 'Get ledgercodes item.' description: "" tags: @@ -1453,7 +1453,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GrootboekItemgetResponseSchema' + $ref: '#/components/schemas/LedgercodeItemgetResponseSchema' '/payments/{id}': get: operationId: Payment_item_get @@ -1505,7 +1505,7 @@ paths: $ref: '#/components/schemas/PaymentItemputRequestSchema' '/projectcrew/{id}': get: - operationId: Planningpersoneel_item_get + operationId: Projectcrew_item_get summary: 'Get projectcrew item.' description: "" tags: @@ -1524,10 +1524,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningpersoneelItemgetResponseSchema' + $ref: '#/components/schemas/ProjectcrewItemgetResponseSchema' '/projectequipment/{id}': get: - operationId: Planningmateriaal_item_get + operationId: Projectequipment_item_get summary: 'Get projectequipment item.' description: "" tags: @@ -1546,10 +1546,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningmateriaalItemgetResponseSchema' + $ref: '#/components/schemas/ProjectequipmentItemgetResponseSchema' '/projectequipmentgroup/{id}': get: - operationId: MateriaalCat_item_get + operationId: Projectequipmentgroup_item_get summary: 'Get projectequipmentgroup item.' description: "" tags: @@ -1568,10 +1568,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MateriaalCatItemgetResponseSchema' + $ref: '#/components/schemas/ProjectequipmentgroupItemgetResponseSchema' '/projectfunctiongroups/{id}': get: - operationId: Functiegroep_item_get + operationId: Projectfunctiongroup_item_get summary: 'Get projectfunctiongroups item.' description: "" tags: @@ -1590,10 +1590,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctiegroepItemgetResponseSchema' + $ref: '#/components/schemas/ProjectfunctiongroupItemgetResponseSchema' '/projectfunctions/{id}': get: - operationId: Functie_item_get + operationId: Projectfunction_item_get summary: 'Get projectfunctions item.' description: "" tags: @@ -1612,7 +1612,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctieItemgetResponseSchema' + $ref: '#/components/schemas/ProjectfunctionItemgetResponseSchema' '/projectrequestequipment/{id}': get: operationId: ProjectRequestEquipment_item_get @@ -1769,7 +1769,7 @@ paths: $ref: '#/components/schemas/ProjectItemgetResponseSchema' '/projecttypes/{id}': get: - operationId: Type_item_get + operationId: Projecttype_item_get summary: 'Get projecttypes item.' description: "" tags: @@ -1788,10 +1788,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TypeItemgetResponseSchema' + $ref: '#/components/schemas/ProjecttypeItemgetResponseSchema' '/projectvehicles/{id}': get: - operationId: Planningtransport_item_get + operationId: Projectvehicle_item_get summary: 'Get projectvehicles item.' description: "" tags: @@ -1810,10 +1810,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningtransportItemgetResponseSchema' + $ref: '#/components/schemas/ProjectvehicleItemgetResponseSchema' '/quotes/{id}': get: - operationId: Offerte_item_get + operationId: Quote_item_get summary: 'Get quotes item.' description: "" tags: @@ -1832,7 +1832,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/OfferteItemgetResponseSchema' + $ref: '#/components/schemas/QuoteItemgetResponseSchema' '/ratefactors/{id}': get: operationId: RateFactor_item_get @@ -1879,7 +1879,7 @@ paths: $ref: '#/components/schemas/RateItemgetResponseSchema' '/repairs/{id}': get: - operationId: Reparatie_item_get + operationId: Repair_item_get summary: 'Get repairs item.' description: "" tags: @@ -1898,10 +1898,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ReparatieItemgetResponseSchema' + $ref: '#/components/schemas/RepairItemgetResponseSchema' '/serialnumbers/{id}': get: - operationId: Exemplaar_item_get + operationId: Serialnumber_item_get summary: 'Get serialnumbers item.' description: "" tags: @@ -1920,7 +1920,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExemplaarItemgetResponseSchema' + $ref: '#/components/schemas/SerialnumberItemgetResponseSchema' '/statuses/{id}': get: operationId: Status_item_get @@ -1945,7 +1945,7 @@ paths: $ref: '#/components/schemas/StatusItemgetResponseSchema' '/stocklocations/{id}': get: - operationId: AssetLocation_item_get + operationId: Stocklocation_item_get summary: 'Get stocklocations item.' description: "" tags: @@ -1964,10 +1964,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AssetLocationItemgetResponseSchema' + $ref: '#/components/schemas/StocklocationItemgetResponseSchema' '/stockmovements/{id}': get: - operationId: Voorraadmutatie_item_get + operationId: Stockmovement_item_get summary: 'Get stockmovements item.' description: "" tags: @@ -1986,9 +1986,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VoorraadmutatieItemgetResponseSchema' + $ref: '#/components/schemas/StockmovementItemgetResponseSchema' put: - operationId: Voorraadmutatie_item_put + operationId: Stockmovement_item_put summary: 'Update stockmovements item.' description: "" tags: @@ -2007,15 +2007,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VoorraadmutatieItemputResponseSchema' + $ref: '#/components/schemas/StockmovementItemputResponseSchema' requestBody: description: "" content: application/json: schema: - $ref: '#/components/schemas/VoorraadmutatieItemputRequestSchema' + $ref: '#/components/schemas/StockmovementItemputRequestSchema' delete: - operationId: Voorraadmutatie_item_delete + operationId: Stockmovement_item_delete summary: 'Delete stockmovements item.' description: "" tags: @@ -2055,7 +2055,7 @@ paths: $ref: '#/components/schemas/SubprojectItemgetResponseSchema' '/subrentalequipment/{id}': get: - operationId: Inhuurmateriaal_item_get + operationId: Subrentalequipment_item_get summary: 'Get subrentalequipment item.' description: "" tags: @@ -2074,10 +2074,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InhuurmateriaalItemgetResponseSchema' + $ref: '#/components/schemas/SubrentalequipmentItemgetResponseSchema' '/subrentalequipmentgroup/{id}': get: - operationId: Inhuurgroep_item_get + operationId: Subrentalequipmentgroup_item_get summary: 'Get subrentalequipmentgroup item.' description: "" tags: @@ -2096,10 +2096,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InhuurgroepItemgetResponseSchema' + $ref: '#/components/schemas/SubrentalequipmentgroupItemgetResponseSchema' '/subrentals/{id}': get: - operationId: Inhuur_item_get + operationId: Subrental_item_get summary: 'Get subrentals item.' description: "" tags: @@ -2118,7 +2118,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InhuurItemgetResponseSchema' + $ref: '#/components/schemas/SubrentalItemgetResponseSchema' '/taxclasses/{id}': get: operationId: TaxClass_item_get @@ -2143,7 +2143,7 @@ paths: $ref: '#/components/schemas/TaxClassItemgetResponseSchema' '/timeregistration/{id}': get: - operationId: Uren_item_get + operationId: Timeregistration_item_get summary: 'Get timeregistration item.' description: "" tags: @@ -2162,10 +2162,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UrenItemgetResponseSchema' + $ref: '#/components/schemas/TimeregistrationItemgetResponseSchema' '/timeregistrationactivities/{id}': get: - operationId: Functieuur_item_get + operationId: Timeregistrationactivity_item_get summary: 'Get timeregistrationactivities item.' description: "" tags: @@ -2184,10 +2184,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctieuurItemgetResponseSchema' + $ref: '#/components/schemas/TimeregistrationactivityItemgetResponseSchema' '/vehicles/{id}': get: - operationId: Voertuig_item_get + operationId: Vehicle_item_get summary: 'Get vehicles item.' description: "" tags: @@ -2206,10 +2206,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VoertuigItemgetResponseSchema' + $ref: '#/components/schemas/VehicleItemgetResponseSchema' '/appointments/{id}/appointmentcrew': post: - operationId: Afspraak_item_Afspraakmedewerker_post + operationId: Appointment_item_Appointmentcrew_post summary: 'Create appointmentcrew linked item.' description: "" tags: @@ -2228,15 +2228,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AfspraakmedewerkerItempostResponseSchema' + $ref: '#/components/schemas/AppointmentcrewItempostResponseSchema' requestBody: description: "" content: application/json: schema: - $ref: '#/components/schemas/AfspraakmedewerkerItempostRequestSchema' + $ref: '#/components/schemas/AppointmentcrewItempostRequestSchema' get: - operationId: Afspraak_item_Afspraakmedewerker_get + operationId: Appointment_item_Appointmentcrew_get summary: 'Get appointmentcrew linked collection.' description: "" tags: @@ -2255,10 +2255,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AfspraakmedewerkerCollectiongetResponseSchema' + $ref: '#/components/schemas/AppointmentcrewCollectiongetResponseSchema' '/contactpersons/{id}/files': get: - operationId: Person_item_Files_get + operationId: Contactpersons_item_Files_get summary: 'Get files linked collection.' description: "" tags: @@ -2277,10 +2277,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/contacts/{id}/contactpersons': post: - operationId: Contact_item_Person_post + operationId: Contact_item_Contactperson_post summary: 'Create contactpersons linked item.' description: "" tags: @@ -2299,15 +2299,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PersonItempostResponseSchema' + $ref: '#/components/schemas/ContactpersonItempostResponseSchema' requestBody: description: "" content: application/json: schema: - $ref: '#/components/schemas/PersonItempostRequestSchema' + $ref: '#/components/schemas/ContactpersonItempostRequestSchema' get: - operationId: Contact_item_Person_get + operationId: Contact_item_Contactperson_get summary: 'Get contactpersons linked collection.' description: "" tags: @@ -2326,7 +2326,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PersonCollectiongetResponseSchema' + $ref: '#/components/schemas/ContactpersonCollectiongetResponseSchema' '/contacts/{id}/files': get: operationId: Contact_item_Files_get @@ -2348,7 +2348,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/contracts/{id}/files': get: operationId: Contract_item_Files_get @@ -2370,10 +2370,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/contracts/{id}/invoicelines': get: - operationId: Contract_item_Btwbedrag_get + operationId: Contract_item_Invoiceline_get summary: 'Get invoicelines linked collection.' description: "" tags: @@ -2392,10 +2392,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BtwbedragCollectiongetResponseSchema' + $ref: '#/components/schemas/InvoicelineCollectiongetResponseSchema' '/crew/{id}/crewrates': get: - operationId: Medewerker_item_Medewerkertarief_get + operationId: Crew_item_Crewrate_get summary: 'Get crewrates linked collection.' description: "" tags: @@ -2414,10 +2414,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MedewerkertariefCollectiongetResponseSchema' + $ref: '#/components/schemas/CrewrateCollectiongetResponseSchema' '/crew/{id}/crewavailability': post: - operationId: Medewerker_item_Beschikbaarheid_post + operationId: Crew_item_Crewavailability_post summary: 'Create crewavailability linked item.' description: "" tags: @@ -2436,15 +2436,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BeschikbaarheidItempostResponseSchema' + $ref: '#/components/schemas/CrewavailabilityItempostResponseSchema' requestBody: description: "" content: application/json: schema: - $ref: '#/components/schemas/BeschikbaarheidItempostRequestSchema' + $ref: '#/components/schemas/CrewavailabilityItempostRequestSchema' get: - operationId: Medewerker_item_Beschikbaarheid_get + operationId: Crew_item_Crewavailability_get summary: 'Get crewavailability linked collection.' description: "" tags: @@ -2463,10 +2463,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BeschikbaarheidCollectiongetResponseSchema' + $ref: '#/components/schemas/CrewavailabilityCollectiongetResponseSchema' '/crew/{id}/files': get: - operationId: Medewerker_item_Files_get + operationId: Crew_item_Files_get summary: 'Get files linked collection.' description: "" tags: @@ -2485,10 +2485,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/crew/{id}/appointments': get: - operationId: Medewerker_item_Afspraak_get + operationId: Crew_item_Appointment_get summary: 'Get appointments custom linked collection.' description: "" tags: @@ -2507,10 +2507,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AfspraakCollectiongetResponseSchema' + $ref: '#/components/schemas/AppointmentCollectiongetResponseSchema' '/equipment/{id}/files': get: - operationId: Materiaal_item_Files_get + operationId: Equipment_item_Files_get summary: 'Get files linked collection.' description: "" tags: @@ -2529,10 +2529,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/equipment/{id}/equipmentsetscontent': get: - operationId: Materiaal_item_Setinhoud_get + operationId: Equipment_item_Equipmentsetscontent_get summary: 'Get equipmentsetscontent linked collection.' description: "" tags: @@ -2551,10 +2551,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetinhoudCollectiongetResponseSchema' + $ref: '#/components/schemas/EquipmentsetscontentCollectiongetResponseSchema' '/equipment/{id}/repairs': get: - operationId: Materiaal_item_Reparatie_get + operationId: Equipment_item_Repair_get summary: 'Get repairs linked collection.' description: "" tags: @@ -2573,10 +2573,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ReparatieCollectiongetResponseSchema' + $ref: '#/components/schemas/RepairCollectiongetResponseSchema' '/equipment/{id}/serialnumbers': get: - operationId: Materiaal_item_Exemplaar_get + operationId: Equipment_item_Serialnumber_get summary: 'Get serialnumbers linked collection.' description: "" tags: @@ -2595,10 +2595,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExemplaarCollectiongetResponseSchema' + $ref: '#/components/schemas/SerialnumberCollectiongetResponseSchema' '/equipment/{id}/stockmovements': post: - operationId: Materiaal_item_Voorraadmutatie_post + operationId: Equipment_item_Stockmovement_post summary: 'Create stockmovements linked item.' description: "" tags: @@ -2617,15 +2617,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VoorraadmutatieItempostResponseSchema' + $ref: '#/components/schemas/StockmovementItempostResponseSchema' requestBody: description: "" content: application/json: schema: - $ref: '#/components/schemas/VoorraadmutatieItempostRequestSchema' + $ref: '#/components/schemas/StockmovementItempostRequestSchema' get: - operationId: Materiaal_item_Voorraadmutatie_get + operationId: Equipment_item_Stockmovement_get summary: 'Get stockmovements linked collection.' description: "" tags: @@ -2644,10 +2644,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VoorraadmutatieCollectiongetResponseSchema' + $ref: '#/components/schemas/StockmovementCollectiongetResponseSchema' '/equipment/{id}/accessories': get: - operationId: Materiaal_item_Accessoire_get + operationId: Equipment_item_Accessory_get summary: 'Get accessories linked collection.' description: "" tags: @@ -2666,10 +2666,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AccessoireCollectiongetResponseSchema' + $ref: '#/components/schemas/AccessoryCollectiongetResponseSchema' '/invoices/{id}/invoicelines': get: - operationId: Factuur_item_Btwbedrag_get + operationId: Invoice_item_Invoiceline_get summary: 'Get invoicelines linked collection.' description: "" tags: @@ -2688,10 +2688,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BtwbedragCollectiongetResponseSchema' + $ref: '#/components/schemas/InvoicelineCollectiongetResponseSchema' '/invoices/{id}/files': get: - operationId: Factuur_item_Files_get + operationId: Invoice_item_Files_get summary: 'Get files linked collection.' description: "" tags: @@ -2710,10 +2710,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/invoices/{id}/payments': post: - operationId: Factuur_item_Payment_post + operationId: Invoice_item_Payment_post summary: 'Create payments linked item.' description: "" tags: @@ -2740,7 +2740,7 @@ paths: schema: $ref: '#/components/schemas/PaymentItempostRequestSchema' get: - operationId: Factuur_item_Payment_get + operationId: Invoice_item_Payment_get summary: 'Get payments linked collection.' description: "" tags: @@ -2762,7 +2762,7 @@ paths: $ref: '#/components/schemas/PaymentCollectiongetResponseSchema' '/projectequipmentgroup/{id}/projectequipment': get: - operationId: MateriaalCat_item_Planningmateriaal_get + operationId: Projectequipmentgroup_item_Projectequipment_get summary: 'Get projectequipment linked collection.' description: "" tags: @@ -2781,10 +2781,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningmateriaalCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectequipmentCollectiongetResponseSchema' '/projectfunctiongroups/{id}/projectfunctions': get: - operationId: Functiegroep_item_Functie_get + operationId: Projectfunctiongroup_item_Projectfunction_get summary: 'Get projectfunctions custom linked collection.' description: "" tags: @@ -2803,10 +2803,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctieCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectfunctionCollectiongetResponseSchema' '/projectfunctions/{id}/projectcrew': get: - operationId: Functie_item_Planningpersoneel_get + operationId: Projectfunction_item_Projectcrew_get summary: 'Get projectcrew linked collection.' description: "" tags: @@ -2825,10 +2825,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningpersoneelCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectcrewCollectiongetResponseSchema' '/projectfunctions/{id}/projectvehicles': get: - operationId: Functie_item_Planningtransport_get + operationId: Projectfunction_item_Projectvehicle_get summary: 'Get projectvehicles linked collection.' description: "" tags: @@ -2847,7 +2847,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningtransportCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectvehicleCollectiongetResponseSchema' '/projectrequests/{id}/projectrequestequipment': post: operationId: ProjectRequest_item_ProjectRequestEquipment_post @@ -2899,7 +2899,7 @@ paths: $ref: '#/components/schemas/ProjectRequestEquipmentCollectiongetResponseSchema' '/projects/{id}/projectequipmentgroup': get: - operationId: Project_item_MateriaalCat_get + operationId: Project_item_Projectequipmentgroup_get summary: 'Get projectequipmentgroup linked collection.' description: "" tags: @@ -2918,7 +2918,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MateriaalCatCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectequipmentgroupCollectiongetResponseSchema' '/projects/{id}/contracts': get: operationId: Project_item_Contract_get @@ -2992,7 +2992,7 @@ paths: $ref: '#/components/schemas/CostCollectiongetResponseSchema' '/projects/{id}/projectfunctions': get: - operationId: Project_item_Functie_get + operationId: Project_item_Projectfunction_get summary: 'Get projectfunctions linked collection.' description: "" tags: @@ -3011,7 +3011,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctieCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectfunctionCollectiongetResponseSchema' '/projects/{id}/subprojects': get: operationId: Project_item_Subproject_get @@ -3036,7 +3036,7 @@ paths: $ref: '#/components/schemas/SubprojectCollectiongetResponseSchema' '/projects/{id}/projectfunctiongroups': get: - operationId: Project_item_Functiegroep_get + operationId: Project_item_Projectfunctiongroup_get summary: 'Get projectfunctiongroups linked collection.' description: "" tags: @@ -3055,10 +3055,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctiegroepCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectfunctiongroupCollectiongetResponseSchema' '/projects/{id}/quotes': get: - operationId: Project_item_Offerte_get + operationId: Project_item_Quote_get summary: 'Get quotes linked collection.' description: "" tags: @@ -3077,7 +3077,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/OfferteCollectiongetResponseSchema' + $ref: '#/components/schemas/QuoteCollectiongetResponseSchema' '/projects/{id}/files': get: operationId: Project_item_Files_get @@ -3099,10 +3099,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/projects/{id}/projectvehicles': get: - operationId: Project_item_Planningtransport_get + operationId: Project_item_Projectvehicle_get summary: 'Get projectvehicles custom linked collection.' description: "" tags: @@ -3121,10 +3121,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningtransportCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectvehicleCollectiongetResponseSchema' '/projects/{id}/projectcrew': get: - operationId: Project_item_Planningpersoneel_get + operationId: Project_item_Projectcrew_get summary: 'Get projectcrew custom linked collection.' description: "" tags: @@ -3143,10 +3143,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningpersoneelCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectcrewCollectiongetResponseSchema' '/projects/{id}/projectequipment': get: - operationId: Project_item_Planningmateriaal_get + operationId: Project_item_Projectequipment_get summary: 'Get projectequipment custom linked collection.' description: "" tags: @@ -3165,10 +3165,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningmateriaalCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectequipmentCollectiongetResponseSchema' '/quotes/{id}/files': get: - operationId: Offerte_item_Files_get + operationId: Quote_item_Files_get summary: 'Get files linked collection.' description: "" tags: @@ -3187,10 +3187,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/quotes/{id}/invoicelines': get: - operationId: Offerte_item_Btwbedrag_get + operationId: Quote_item_Invoiceline_get summary: 'Get invoicelines linked collection.' description: "" tags: @@ -3209,7 +3209,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BtwbedragCollectiongetResponseSchema' + $ref: '#/components/schemas/InvoicelineCollectiongetResponseSchema' '/rates/{id}/ratefactors': get: operationId: Rate_item_RateFactor_get @@ -3234,7 +3234,7 @@ paths: $ref: '#/components/schemas/RateFactorCollectiongetResponseSchema' '/repairs/{id}/files': get: - operationId: Reparatie_item_Files_get + operationId: Repair_item_Files_get summary: 'Get files linked collection.' description: "" tags: @@ -3253,10 +3253,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/serialnumbers/{id}/files': get: - operationId: Exemplaar_item_Files_get + operationId: Serialnumber_item_Files_get summary: 'Get files linked collection.' description: "" tags: @@ -3275,7 +3275,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/subprojects/{id}/files': get: operationId: Subproject_item_Files_get @@ -3297,10 +3297,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/subprojects/{id}/projectvehicles': get: - operationId: Subproject_item_Planningtransport_get + operationId: Subproject_item_Projectvehicle_get summary: 'Get projectvehicles custom linked collection.' description: "" tags: @@ -3319,10 +3319,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningtransportCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectvehicleCollectiongetResponseSchema' '/subprojects/{id}/projectequipmentgroup': get: - operationId: Subproject_item_MateriaalCat_get + operationId: Subproject_item_Projectequipmentgroup_get summary: 'Get projectequipmentgroup custom linked collection.' description: "" tags: @@ -3341,10 +3341,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MateriaalCatCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectequipmentgroupCollectiongetResponseSchema' '/subprojects/{id}/projectcrew': get: - operationId: Subproject_item_Planningpersoneel_get + operationId: Subproject_item_Projectcrew_get summary: 'Get projectcrew custom linked collection.' description: "" tags: @@ -3363,10 +3363,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningpersoneelCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectcrewCollectiongetResponseSchema' '/subprojects/{id}/projectequipment': get: - operationId: Subproject_item_Planningmateriaal_get + operationId: Subproject_item_Projectequipment_get summary: 'Get projectequipment custom linked collection.' description: "" tags: @@ -3385,10 +3385,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlanningmateriaalCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectequipmentCollectiongetResponseSchema' '/subprojects/{id}/projectfunctiongroups': get: - operationId: Subproject_item_Functiegroep_get + operationId: Subproject_item_Projectfunctiongroup_get summary: 'Get projectfunctiongroups custom linked collection.' description: "" tags: @@ -3407,10 +3407,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctiegroepCollectiongetResponseSchema' + $ref: '#/components/schemas/ProjectfunctiongroupCollectiongetResponseSchema' '/subrentalequipmentgroup/{id}/subrentalequipment': get: - operationId: Inhuurgroep_item_Inhuurmateriaal_get + operationId: Subrentalequipmentgroup_item_Subrentalequipment_get summary: 'Get subrentalequipment custom linked collection.' description: "" tags: @@ -3429,10 +3429,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InhuurmateriaalCollectiongetResponseSchema' + $ref: '#/components/schemas/SubrentalequipmentCollectiongetResponseSchema' '/subrentals/{id}/subrentalequipmentgroup': get: - operationId: Inhuur_item_Inhuurgroep_get + operationId: Subrental_item_Subrentalequipmentgroup_get summary: 'Get subrentalequipmentgroup custom linked collection.' description: "" tags: @@ -3451,10 +3451,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InhuurgroepCollectiongetResponseSchema' + $ref: '#/components/schemas/SubrentalequipmentgroupCollectiongetResponseSchema' '/subrentals/{id}/files': get: - operationId: Inhuur_item_Files_get + operationId: Subrental_item_Files_get summary: 'Get files linked collection.' description: "" tags: @@ -3473,10 +3473,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/subrentals/{id}/subrentalequipment': get: - operationId: Inhuur_item_Inhuurmateriaal_get + operationId: Subrental_item_Subrentalequipment_get summary: 'Get subrentalequipment custom linked collection.' description: "" tags: @@ -3495,10 +3495,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InhuurmateriaalCollectiongetResponseSchema' + $ref: '#/components/schemas/SubrentalequipmentCollectiongetResponseSchema' '/timeregistration/{id}/files': get: - operationId: Uren_item_Files_get + operationId: Timeregistration_item_Files_get summary: 'Get files linked collection.' description: "" tags: @@ -3517,10 +3517,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' '/timeregistration/{id}/timeregistrationactivities': get: - operationId: Uren_item_Functieuur_get + operationId: Timeregistration_item_Timeregistrationactivity_get summary: 'Get timeregistrationactivities linked collection.' description: "" tags: @@ -3539,10 +3539,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FunctieuurCollectiongetResponseSchema' + $ref: '#/components/schemas/TimeregistrationactivityCollectiongetResponseSchema' '/vehicles/{id}/files': get: - operationId: Voertuig_item_Files_get + operationId: Vehicle_item_Files_get summary: 'Get files linked collection.' description: "" tags: @@ -3561,7 +3561,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FilesCollectiongetResponseSchema' + $ref: '#/components/schemas/FileCollectiongetResponseSchema' components: securitySchemes: BearerAuth: # Kann ein beliebiger Name sein @@ -3569,7 +3569,7 @@ components: scheme: bearer bearerFormat: JWT # Optional, um das Format anzugeben schemas: - AccessoireItemgetRequestSchema: + AccessoryItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -3596,7 +3596,7 @@ components: add_as_new_line: type: boolean description: 'The accessory is always added as a new line in the project as opposed to merging with the same accessory' - AccessoireItemgetResponseSchema: + AccessoryItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -3661,7 +3661,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AccessoireCollectiongetResponseSchema: + AccessoryCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -3728,7 +3728,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AccessoireItempostRequestSchema: + AccessoryItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -3755,7 +3755,7 @@ components: add_as_new_line: type: boolean description: 'The accessory is always added as a new line in the project as opposed to merging with the same accessory' - AccessoireItempostResponseSchema: + AccessoryItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -3820,7 +3820,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AccessoireCollectionpostResponseSchema: + AccessoryCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -3887,7 +3887,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AccessoireItemputRequestSchema: + AccessoryItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -3914,7 +3914,7 @@ components: add_as_new_line: type: boolean description: 'The accessory is always added as a new line in the project as opposed to merging with the same accessory' - AccessoireItemputResponseSchema: + AccessoryItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -3979,7 +3979,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AccessoireCollectionputResponseSchema: + AccessoryCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4046,7 +4046,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakmedewerkerItemgetRequestSchema: + AppointmentcrewItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - crew @@ -4056,7 +4056,7 @@ components: type: string description: "" example: /crew/0 - AfspraakmedewerkerItemgetResponseSchema: + AppointmentcrewItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4102,7 +4102,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakmedewerkerCollectiongetResponseSchema: + AppointmentcrewCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4150,7 +4150,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakmedewerkerItempostRequestSchema: + AppointmentcrewItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - crew @@ -4160,7 +4160,7 @@ components: type: string description: "" example: /crew/0 - AfspraakmedewerkerItempostResponseSchema: + AppointmentcrewItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4206,7 +4206,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakmedewerkerCollectionpostResponseSchema: + AppointmentcrewCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4254,7 +4254,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakmedewerkerItemputRequestSchema: + AppointmentcrewItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - crew @@ -4264,7 +4264,7 @@ components: type: string description: "" example: /crew/0 - AfspraakmedewerkerItemputResponseSchema: + AppointmentcrewItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4310,7 +4310,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakmedewerkerCollectionputResponseSchema: + AppointmentcrewCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4358,7 +4358,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakItemgetRequestSchema: + AppointmentItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - start @@ -4416,7 +4416,7 @@ components: synchronisation_uri: type: string description: "" - AfspraakItemgetResponseSchema: + AppointmentItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4505,7 +4505,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakCollectiongetResponseSchema: + AppointmentCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4596,7 +4596,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakItempostRequestSchema: + AppointmentItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - start @@ -4629,7 +4629,7 @@ components: is_plannable: type: boolean description: 'If yes, employees can be scheduled during this appointment' - AfspraakItempostResponseSchema: + AppointmentItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4693,7 +4693,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakCollectionpostResponseSchema: + AppointmentCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4759,7 +4759,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakItemputRequestSchema: + AppointmentItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - start @@ -4792,7 +4792,7 @@ components: is_plannable: type: boolean description: 'If yes, employees can be scheduled during this appointment' - AfspraakItemputResponseSchema: + AppointmentItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4856,7 +4856,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AfspraakCollectionputResponseSchema: + AppointmentCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -4922,7 +4922,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PersonItemgetRequestSchema: + ContactpersonItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -5162,7 +5162,7 @@ components: example: custom_1: string custom_2: 2 - PersonItemgetResponseSchema: + ContactpersonItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -5443,7 +5443,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PersonCollectiongetResponseSchema: + ContactpersonCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -5726,7 +5726,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PersonItempostRequestSchema: + ContactpersonItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -5966,7 +5966,7 @@ components: example: custom_1: string custom_2: 2 - PersonItempostResponseSchema: + ContactpersonItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -6247,7 +6247,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PersonCollectionpostResponseSchema: + ContactpersonCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -6530,7 +6530,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PersonItemputRequestSchema: + ContactpersonItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -6770,7 +6770,7 @@ components: example: custom_1: string custom_2: 2 - PersonItemputResponseSchema: + ContactpersonItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -7051,7 +7051,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PersonCollectionputResponseSchema: + ContactpersonCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -15641,7 +15641,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkerItemgetRequestSchema: + CrewItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -15929,7 +15929,7 @@ components: example: custom_1: string custom_2: 2 - MedewerkerItemgetResponseSchema: + CrewItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -16254,7 +16254,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkerCollectiongetResponseSchema: + CrewCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -16581,7 +16581,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkerItempostRequestSchema: + CrewItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -16869,7 +16869,7 @@ components: example: custom_1: string custom_2: 2 - MedewerkerItempostResponseSchema: + CrewItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -17194,7 +17194,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkerCollectionpostResponseSchema: + CrewCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -17521,7 +17521,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkerItemputRequestSchema: + CrewItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -17809,7 +17809,7 @@ components: example: custom_1: string custom_2: 2 - MedewerkerItemputResponseSchema: + CrewItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -18134,7 +18134,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkerCollectionputResponseSchema: + CrewCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -18461,7 +18461,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BeschikbaarheidItemgetRequestSchema: + CrewavailabilityItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -18514,7 +18514,7 @@ components: recurrent_group: type: integer description: "" - BeschikbaarheidItemgetResponseSchema: + CrewAvailabilityItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -18605,7 +18605,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BeschikbaarheidCollectiongetResponseSchema: + CrewavailabilityCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -18698,7 +18698,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BeschikbaarheidItempostRequestSchema: + CrewavailabilityItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -18751,7 +18751,7 @@ components: recurrent_group: type: integer description: "" - BeschikbaarheidItempostResponseSchema: + CrewavailabilityItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -18842,7 +18842,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BeschikbaarheidCollectionpostResponseSchema: + CrewavailabilityCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -18935,7 +18935,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BeschikbaarheidItemputRequestSchema: + CrewAvailabilityItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -18988,7 +18988,7 @@ components: recurrent_group: type: integer description: "" - BeschikbaarheidItemputResponseSchema: + CrewAvailabilityItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19079,7 +19079,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BeschikbaarheidCollectionputResponseSchema: + CrewavailabilityCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19172,7 +19172,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkertariefItemgetRequestSchema: + CrewrateItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19184,7 +19184,7 @@ components: nullable: true description: "" example: /rates/0 - MedewerkertariefItemgetResponseSchema: + CrewrateItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19234,7 +19234,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkertariefCollectiongetResponseSchema: + CrewrateCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19286,7 +19286,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkertariefItempostRequestSchema: + CrewrateItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19298,7 +19298,7 @@ components: nullable: true description: "" example: /rates/0 - MedewerkertariefItempostResponseSchema: + CrewrateItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19348,7 +19348,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkertariefCollectionpostResponseSchema: + CrewrateCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19400,7 +19400,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkertariefItemputRequestSchema: + CrewrateItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19412,7 +19412,7 @@ components: nullable: true description: "" example: /rates/0 - MedewerkertariefItemputResponseSchema: + CrewrateItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19462,7 +19462,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MedewerkertariefCollectionputResponseSchema: + CrewrateCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19514,7 +19514,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalItemgetRequestSchema: + EquipmentItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -19861,7 +19861,7 @@ components: example: custom_1: string custom_2: 2 - MateriaalItemgetResponseSchema: + EquipmentItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -20260,7 +20260,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalCollectiongetResponseSchema: + EquipmentCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -20652,7 +20652,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalItempostRequestSchema: + EquipmentItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -20999,7 +20999,7 @@ components: example: custom_1: string custom_2: 2 - MateriaalItempostResponseSchema: + EquipmentItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -21398,7 +21398,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalCollectionpostResponseSchema: + EquipmentCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -21790,7 +21790,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalItemputRequestSchema: + EquipmentItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -22137,7 +22137,7 @@ components: example: custom_1: string custom_2: 2 - MateriaalItemputResponseSchema: + EquipmentItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -22536,7 +22536,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalCollectionputResponseSchema: + EquipmentCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -22928,7 +22928,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - SetinhoudItemgetRequestSchema: + EquipmentsetscontentItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - equipment @@ -22950,7 +22950,7 @@ components: enum: - 'Available outside this combination' - 'Reserved from stock' - SetinhoudItemgetResponseSchema: + EquipmentsetscontentItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23008,7 +23008,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - SetinhoudCollectiongetResponseSchema: + EquipmentsetscontentCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23068,7 +23068,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - SetinhoudItempostRequestSchema: + EquipmentsetscontentItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - equipment @@ -23090,7 +23090,7 @@ components: enum: - 'Available outside this combination' - 'Reserved from stock' - SetinhoudItempostResponseSchema: + EquipmentsetscontentItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23148,7 +23148,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - SetinhoudCollectionpostResponseSchema: + EquipmentsetscontentCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23208,7 +23208,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - SetinhoudItemputRequestSchema: + EquipmentsetscontentItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - equipment @@ -23230,7 +23230,7 @@ components: enum: - 'Available outside this combination' - 'Reserved from stock' - SetinhoudItemputResponseSchema: + EquipmentsetscontentItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23288,7 +23288,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - SetinhoudCollectionputResponseSchema: + EquipmentsetscontentCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23348,7 +23348,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FilesItemgetRequestSchema: + FileItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23405,7 +23405,7 @@ components: file_itemtype: type: string description: "" - FilesItemgetResponseSchema: + FileItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23509,7 +23509,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FilesCollectiongetResponseSchema: + FileCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23615,7 +23615,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FilesItempostRequestSchema: + FileItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23672,7 +23672,7 @@ components: file_itemtype: type: string description: "" - FilesItempostResponseSchema: + FileItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23776,7 +23776,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FilesCollectionpostResponseSchema: + FileCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23882,7 +23882,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FilesItemputRequestSchema: + FileItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -23939,7 +23939,7 @@ components: file_itemtype: type: string description: "" - FilesItemputResponseSchema: + FileItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24043,7 +24043,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FilesCollectionputResponseSchema: + FileCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24593,7 +24593,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BtwbedragItemgetRequestSchema: + InvoicelineItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24604,7 +24604,7 @@ components: type: string description: "" example: /ledgercodes/0 - BtwbedragItemgetResponseSchema: + InvoicelineItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24665,7 +24665,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BtwbedragCollectiongetResponseSchema: + InvoicelineCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24728,7 +24728,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BtwbedragItempostRequestSchema: + InvoicelineItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24739,7 +24739,7 @@ components: type: string description: "" example: /ledgercodes/0 - BtwbedragItempostResponseSchema: + InvoicelineItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24800,7 +24800,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BtwbedragCollectionpostResponseSchema: + InvoicelineCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24863,7 +24863,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BtwbedragItemputRequestSchema: + InvoicelineItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24874,7 +24874,7 @@ components: type: string description: "" example: /ledgercodes/0 - BtwbedragItemputResponseSchema: + InvoicelineItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24935,7 +24935,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - BtwbedragCollectionputResponseSchema: + InvoicelineCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -24998,7 +24998,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FactuurItemgetRequestSchema: + InvoiceItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25045,7 +25045,7 @@ components: filename: type: string description: "" - FactuurItemgetResponseSchema: + InvoiceItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25150,7 +25150,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FactuurCollectiongetResponseSchema: + InvoiceCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25236,7 +25236,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FactuurItempostRequestSchema: + InvoiceItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25283,7 +25283,7 @@ components: filename: type: string description: "" - FactuurItempostResponseSchema: + InvoiceItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25388,7 +25388,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FactuurCollectionpostResponseSchema: + InvoiceCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25474,7 +25474,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FactuurItemputRequestSchema: + InvoiceItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25521,7 +25521,7 @@ components: filename: type: string description: "" - FactuurItemputResponseSchema: + InvoiceItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25626,7 +25626,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FactuurCollectionputResponseSchema: + InvoiceCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25712,14 +25712,14 @@ components: offset: type: number description: 'The amount of items skipped in data' - GrootboekItemgetRequestSchema: + LedgercodeItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: code: type: string description: "" - GrootboekItemgetResponseSchema: + LedgercodeItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25760,7 +25760,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - GrootboekCollectiongetResponseSchema: + LedgercodeCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25803,14 +25803,14 @@ components: offset: type: number description: 'The amount of items skipped in data' - GrootboekItempostRequestSchema: + LedgercodeItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: code: type: string description: "" - GrootboekItempostResponseSchema: + LedgercodeItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25851,7 +25851,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - GrootboekCollectionpostResponseSchema: + LedgercodeCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25894,14 +25894,14 @@ components: offset: type: number description: 'The amount of items skipped in data' - GrootboekItemputRequestSchema: + LedgercodeItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: code: type: string description: "" - GrootboekItemputResponseSchema: + LedgercodeItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -25942,7 +25942,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - GrootboekCollectionputResponseSchema: + LedgercodeCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -26432,7 +26432,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningpersoneelItemgetRequestSchema: + ProjectcrewItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - crewmember @@ -26489,7 +26489,7 @@ components: example: custom_1: string custom_2: 2 - PlanningpersoneelItemgetResponseSchema: + ProjectcrewItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -26599,7 +26599,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningpersoneelCollectiongetResponseSchema: + ProjectcrewCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -26711,7 +26711,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningpersoneelItempostRequestSchema: + ProjectcrewItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - crewmember @@ -26768,7 +26768,7 @@ components: example: custom_1: string custom_2: 2 - PlanningpersoneelItempostResponseSchema: + ProjectcrewItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -26878,7 +26878,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningpersoneelCollectionpostResponseSchema: + ProjectcrewCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -26990,7 +26990,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningpersoneelItemputRequestSchema: + ProjectcrewItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - crewmember @@ -27047,7 +27047,7 @@ components: example: custom_1: string custom_2: 2 - PlanningpersoneelItemputResponseSchema: + ProjectcrewItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -27157,7 +27157,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningpersoneelCollectionputResponseSchema: + ProjectcrewCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -27269,7 +27269,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningmateriaalItemgetRequestSchema: + ProjectequipmentItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -27327,7 +27327,7 @@ components: example: custom_1: string custom_2: 2 - PlanningmateriaalItemgetResponseSchema: + ProjectequipmentItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -27445,7 +27445,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningmateriaalCollectiongetResponseSchema: + ProjectequipmentCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -27565,7 +27565,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningmateriaalItempostRequestSchema: + ProjectequipmentItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -27623,7 +27623,7 @@ components: example: custom_1: string custom_2: 2 - PlanningmateriaalItempostResponseSchema: + ProjectequipmentItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -27741,7 +27741,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningmateriaalCollectionpostResponseSchema: + ProjectequipmentCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -27861,7 +27861,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningmateriaalItemputRequestSchema: + ProjectequipmentItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -27919,7 +27919,7 @@ components: example: custom_1: string custom_2: 2 - PlanningmateriaalItemputResponseSchema: + ProjectequipmentItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -28037,7 +28037,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningmateriaalCollectionputResponseSchema: + ProjectequipmentCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -28157,7 +28157,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalCatItemgetRequestSchema: + ProjectequipmentgroupItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - subproject @@ -28209,7 +28209,7 @@ components: remark: type: string description: "" - MateriaalCatItemgetResponseSchema: + ProjectequipmentgroupItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -28312,7 +28312,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalCatCollectiongetResponseSchema: + ProjectequipmentgroupCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -28417,7 +28417,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalCatItempostRequestSchema: + ProjectequipmentgroupItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - subproject @@ -28469,7 +28469,7 @@ components: remark: type: string description: "" - MateriaalCatItempostResponseSchema: + ProjectequipmentgroupItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -28572,7 +28572,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalCatCollectionpostResponseSchema: + ProjectequipmentgroupCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -28677,7 +28677,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalCatItemputRequestSchema: + ProjectequipmentgroupItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - subproject @@ -28729,7 +28729,7 @@ components: remark: type: string description: "" - MateriaalCatItemputResponseSchema: + ProjectequipmentgroupItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -28832,7 +28832,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - MateriaalCatCollectionputResponseSchema: + ProjectequipmentgroupCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -28937,7 +28937,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FunctiegroepItemgetRequestSchema: + ProjectfunctiongroupItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - subproject @@ -29001,7 +29001,7 @@ components: remark: type: string description: "" - FunctiegroepItemgetResponseSchema: + ProjectfunctiongroupItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -29101,7 +29101,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FunctiegroepCollectiongetResponseSchema: + ProjectfunctiongroupCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -29203,7 +29203,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FunctieItemgetRequestSchema: + ProjectfunctionItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - cost_rate @@ -29351,7 +29351,7 @@ components: example: custom_1: string custom_2: 2 - FunctieItemgetResponseSchema: + ProjectfunctionItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -29554,7 +29554,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FunctieCollectiongetResponseSchema: + ProjectfunctionCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -31992,7 +31992,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - TypeItemgetRequestSchema: + ProjecttypeItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32010,7 +32010,7 @@ components: - supplier - transfer - shifts - TypeItemgetResponseSchema: + ProjecttypeItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32062,7 +32062,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - TypeCollectiongetResponseSchema: + ProjecttypeCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32116,7 +32116,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - TypeItempostRequestSchema: + ProjecttypeItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32134,7 +32134,7 @@ components: - supplier - transfer - shifts - TypeItempostResponseSchema: + ProjecttypeItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32186,7 +32186,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - TypeCollectionpostResponseSchema: + ProjecttypeCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32240,7 +32240,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - TypeItemputRequestSchema: + ProjecttypeItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32258,7 +32258,7 @@ components: - supplier - transfer - shifts - TypeItemputResponseSchema: + ProjecttypeItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32310,7 +32310,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - TypeCollectionputResponseSchema: + ProjecttypeCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32364,7 +32364,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningtransportItemgetRequestSchema: + ProjectvehicleItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - vehicle @@ -32409,7 +32409,7 @@ components: example: custom_1: string custom_2: 2 - PlanningtransportItemgetResponseSchema: + ProjectvehicleItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32493,7 +32493,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningtransportCollectiongetResponseSchema: + ProjectvehicleCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32579,7 +32579,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningtransportItempostRequestSchema: + ProjectvehicleItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - vehicle @@ -32624,7 +32624,7 @@ components: example: custom_1: string custom_2: 2 - PlanningtransportItempostResponseSchema: + ProjectvehicleItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32708,7 +32708,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningtransportCollectionpostResponseSchema: + ProjectvehicleCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32794,7 +32794,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningtransportItemputRequestSchema: + ProjectvehicleItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' required: - vehicle @@ -32839,7 +32839,7 @@ components: example: custom_1: string custom_2: 2 - PlanningtransportItemputResponseSchema: + ProjectvehicleItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -32923,7 +32923,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - PlanningtransportCollectionputResponseSchema: + ProjectvehicleCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -33009,7 +33009,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - OfferteItemgetRequestSchema: + QuoteItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -33046,7 +33046,7 @@ components: filename: type: string description: "" - OfferteItemgetResponseSchema: + QuoteItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -33151,7 +33151,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - OfferteCollectiongetResponseSchema: + QuoteCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -33237,7 +33237,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - OfferteItempostRequestSchema: + QuoteItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -33274,7 +33274,7 @@ components: filename: type: string description: "" - OfferteItempostResponseSchema: + QuoteItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -33379,7 +33379,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - OfferteCollectionpostResponseSchema: + QuoteCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -33465,7 +33465,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - OfferteItemputRequestSchema: + QuoteItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -33502,7 +33502,7 @@ components: filename: type: string description: "" - OfferteItemputResponseSchema: + QuoteItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -33607,7 +33607,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - OfferteCollectionputResponseSchema: + QuoteCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -34228,7 +34228,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ReparatieItemgetRequestSchema: + RepairItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -34301,7 +34301,7 @@ components: example: custom_1: string custom_2: 2 - ReparatieItemgetResponseSchema: + RepairItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -34415,7 +34415,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ReparatieCollectiongetResponseSchema: + RepairCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -34531,7 +34531,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ReparatieItempostRequestSchema: + RepairItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -34604,7 +34604,7 @@ components: example: custom_1: string custom_2: 2 - ReparatieItempostResponseSchema: + RepairItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -34718,7 +34718,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ReparatieCollectionpostResponseSchema: + RepairCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -34834,7 +34834,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ReparatieItemputRequestSchema: + RepairItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -34907,7 +34907,7 @@ components: example: custom_1: string custom_2: 2 - ReparatieItemputResponseSchema: + RepairItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -35021,7 +35021,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ReparatieCollectionputResponseSchema: + RepairCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -35137,7 +35137,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ExemplaarItemgetRequestSchema: + SerialnumberItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -35177,7 +35177,7 @@ components: example: custom_1: string custom_2: 2 - ExemplaarItemgetResponseSchema: + SerialnumberItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -35268,7 +35268,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ExemplaarCollectiongetResponseSchema: + SerialnumberCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -35361,7 +35361,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ExemplaarItempostRequestSchema: + SerialnumberItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -35401,7 +35401,7 @@ components: example: custom_1: string custom_2: 2 - ExemplaarItempostResponseSchema: + SerialnumberItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -35492,7 +35492,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ExemplaarCollectionpostResponseSchema: + SerialnumberCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -35585,7 +35585,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ExemplaarItemputRequestSchema: + SerialnumberItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -35625,7 +35625,7 @@ components: example: custom_1: string custom_2: 2 - ExemplaarItemputResponseSchema: + SerialnumberItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -35716,7 +35716,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - ExemplaarCollectionputResponseSchema: + SerialnumberCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -36082,7 +36082,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AssetLocationItemgetRequestSchema: + StocklocationItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -36312,7 +36312,7 @@ components: in_archive: type: boolean description: 'This stock location is archived. This means that it cannot be used in equipment planning.' - AssetLocationItemgetResponseSchema: + StocklocationItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -36576,7 +36576,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AssetLocationCollectiongetResponseSchema: + StockLocationCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -36842,7 +36842,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AssetLocationItempostRequestSchema: + StocklocationItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -37072,7 +37072,7 @@ components: in_archive: type: boolean description: 'This stock location is archived. This means that it cannot be used in equipment planning.' - AssetLocationItempostResponseSchema: + StocklocationItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -37336,7 +37336,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AssetLocationCollectionpostResponseSchema: + StocklocationCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -37602,7 +37602,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AssetLocationItemputRequestSchema: + StocklocationItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -37832,7 +37832,7 @@ components: in_archive: type: boolean description: 'This stock location is archived. This means that it cannot be used in equipment planning.' - AssetLocationItemputResponseSchema: + StocklocationItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -38096,7 +38096,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - AssetLocationCollectionputResponseSchema: + StocklocationCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -38362,7 +38362,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoorraadmutatieItemgetRequestSchema: + StockmovementItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -38409,7 +38409,7 @@ components: nullable: true description: "" example: /stocklocations/0 - VoorraadmutatieItemgetResponseSchema: + StockmovementItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -38494,7 +38494,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoorraadmutatieCollectiongetResponseSchema: + StockmovementCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -38581,7 +38581,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoorraadmutatieItempostRequestSchema: + StockmovementItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -38609,7 +38609,7 @@ components: nullable: true description: "" example: /stocklocations/0 - VoorraadmutatieItempostResponseSchema: + StockmovementItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -38675,7 +38675,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoorraadmutatieCollectionpostResponseSchema: + StockmovementCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -38743,7 +38743,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoorraadmutatieItemputRequestSchema: + StockmovementItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -38771,7 +38771,7 @@ components: nullable: true description: "" example: /stocklocations/0 - VoorraadmutatieItemputResponseSchema: + StockmovementItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -38837,7 +38837,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoorraadmutatieCollectionputResponseSchema: + StockmovementCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -39302,7 +39302,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurmateriaalItemgetRequestSchema: + SubrentalequipmentItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -39358,7 +39358,7 @@ components: nullable: true description: "" example: /projectequipment/0 - InhuurmateriaalItemgetResponseSchema: + SubrentalequipmentItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -39452,7 +39452,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurmateriaalCollectiongetResponseSchema: + SubrentalequipmentCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -39548,7 +39548,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurmateriaalItempostRequestSchema: + SubrentalequipmentItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -39604,7 +39604,7 @@ components: nullable: true description: "" example: /projectequipment/0 - InhuurmateriaalItempostResponseSchema: + SubrentalequipmentItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -39698,7 +39698,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurmateriaalCollectionpostResponseSchema: + SubrentalequipmentCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -39794,7 +39794,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurmateriaalItemputRequestSchema: + SubrentalequipmentItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -39850,7 +39850,7 @@ components: nullable: true description: "" example: /projectequipment/0 - InhuurmateriaalItemputResponseSchema: + SubrentalequipmentItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -39944,7 +39944,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurmateriaalCollectionputResponseSchema: + SubrentalequipmentCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40040,7 +40040,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurgroepItemgetRequestSchema: + SubrentalequipmentgroupItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40055,7 +40055,7 @@ components: nullable: true description: "" example: /projectequipmentgroup/0 - InhuurgroepItemgetResponseSchema: + SubrentalequipmentgroupItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40108,7 +40108,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurgroepCollectiongetResponseSchema: + SubrentalequipmentgroupCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40163,7 +40163,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurgroepItempostRequestSchema: + SubrentalequipmentgroupItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40178,7 +40178,7 @@ components: nullable: true description: "" example: /projectequipmentgroup/0 - InhuurgroepItempostResponseSchema: + SubrentalequipmentgroupItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40231,7 +40231,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurgroepCollectionpostResponseSchema: + SubrentalequipmentgroupCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40286,7 +40286,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurgroepItemputRequestSchema: + SubrentalequipmentgroupItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40301,7 +40301,7 @@ components: nullable: true description: "" example: /projectequipmentgroup/0 - InhuurgroepItemputResponseSchema: + SubrentalequipmentgroupItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40354,7 +40354,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurgroepCollectionputResponseSchema: + SubrentalequipmentgroupCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40409,7 +40409,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurItemgetRequestSchema: + SubrentalItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40532,7 +40532,7 @@ components: example: custom_1: string custom_2: 2 - InhuurItemgetResponseSchema: + SubrentalItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40692,7 +40692,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurCollectiongetResponseSchema: + SubrentalCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40854,7 +40854,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurItempostRequestSchema: + SubrentalItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -40977,7 +40977,7 @@ components: example: custom_1: string custom_2: 2 - InhuurItempostResponseSchema: + SubrentalItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -41137,7 +41137,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurCollectionpostResponseSchema: + SubrentalCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -41299,7 +41299,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurItemputRequestSchema: + SubrentalItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -41422,7 +41422,7 @@ components: example: custom_1: string custom_2: 2 - InhuurItemputResponseSchema: + SubrentalItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -41582,7 +41582,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - InhuurCollectionputResponseSchema: + SubrentalCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42107,7 +42107,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - UrenItemgetRequestSchema: + TimeregistrationItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42165,7 +42165,7 @@ components: example: custom_1: string custom_2: 2 - UrenItemgetResponseSchema: + TimeregistrationItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42257,7 +42257,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - UrenCollectiongetResponseSchema: + TimeregistrationCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42351,7 +42351,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - UrenItempostRequestSchema: + TimeregistrationItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42409,7 +42409,7 @@ components: example: custom_1: string custom_2: 2 - UrenItempostResponseSchema: + TimeregistrationItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42501,7 +42501,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - UrenCollectionpostResponseSchema: + TimeregistrationCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42595,7 +42595,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - UrenItemputRequestSchema: + TimeregistrationItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42653,7 +42653,7 @@ components: example: custom_1: string custom_2: 2 - UrenItemputResponseSchema: + TimeregistrationItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42745,7 +42745,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - UrenCollectionputResponseSchema: + TimeregistrationCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42839,7 +42839,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FunctieuurItemgetRequestSchema: + TimeregistrationactivityItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42855,7 +42855,7 @@ components: type: number nullable: true description: "" - FunctieuurItemgetResponseSchema: + TimeregistrationactivityItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42909,7 +42909,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FunctieuurCollectiongetResponseSchema: + TimeregistrationactivityCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42965,7 +42965,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FunctieuurItempostRequestSchema: + TimeregistrationactivityItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -42981,7 +42981,7 @@ components: type: number nullable: true description: "" - FunctieuurItempostResponseSchema: + TimeregistrationactivityItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43035,7 +43035,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FunctieuurCollectionpostResponseSchema: + TimeregistrationactivityCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43091,7 +43091,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FunctieuurItemputRequestSchema: + TimeregistrationactivityItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43107,7 +43107,7 @@ components: type: number nullable: true description: "" - FunctieuurItemputResponseSchema: + TimeregistrationactivityItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43161,7 +43161,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - FunctieuurCollectionputResponseSchema: + TimeregistrationactivityCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43217,7 +43217,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoertuigItemgetRequestSchema: + VehicleItemgetRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43282,7 +43282,7 @@ components: example: custom_1: string custom_2: 2 - VoertuigItemgetResponseSchema: + VehicleItemgetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43390,7 +43390,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoertuigCollectiongetResponseSchema: + VehicleCollectiongetResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43500,7 +43500,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoertuigItempostRequestSchema: + VehicleItempostRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43565,7 +43565,7 @@ components: example: custom_1: string custom_2: 2 - VoertuigItempostResponseSchema: + VehicleItempostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43673,7 +43673,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoertuigCollectionpostResponseSchema: + VehicleCollectionpostResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43783,7 +43783,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoertuigItemputRequestSchema: + VehicleItemputRequestSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43848,7 +43848,7 @@ components: example: custom_1: string custom_2: 2 - VoertuigItemputResponseSchema: + VehicleItemputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: @@ -43956,7 +43956,7 @@ components: offset: type: number description: 'The amount of items skipped in data' - VoertuigCollectionputResponseSchema: + VehicleCollectionputResponseSchema: $schema: 'http://json-schema.org/draft-04/schema#' type: object properties: diff --git a/rentman_api_client/api/accessories/accessoire_collection_get.py b/rentman_api_client/api/accessories/accessory_collection_get.py similarity index 76% rename from rentman_api_client/api/accessories/accessoire_collection_get.py rename to rentman_api_client/api/accessories/accessory_collection_get.py index 0b47b7e..505e7b9 100644 --- a/rentman_api_client/api/accessories/accessoire_collection_get.py +++ b/rentman_api_client/api/accessories/accessory_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.accessoire_collectionget_response_schema import AccessoireCollectiongetResponseSchema +from ...models.accessory_collectionget_response_schema import AccessoryCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AccessoireCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AccessoryCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = AccessoireCollectiongetResponseSchema.from_dict(response.json()) + response_200 = AccessoryCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AccessoireCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AccessoryCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[AccessoireCollectio def sync_detailed( *, client: Client, -) -> Response[AccessoireCollectiongetResponseSchema]: +) -> Response[AccessoryCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[AccessoireCollectiongetResponseSchema]: +) -> Optional[AccessoryCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[AccessoireCollectiongetResponseSchema]: +) -> Response[AccessoryCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[AccessoireCollectiongetResponseSchema]: +) -> Optional[AccessoryCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/accessories/accessoire_item_get.py b/rentman_api_client/api/accessories/accessory_item_get.py similarity index 80% rename from rentman_api_client/api/accessories/accessoire_item_get.py rename to rentman_api_client/api/accessories/accessory_item_get.py index eaa4599..0a88648 100644 --- a/rentman_api_client/api/accessories/accessoire_item_get.py +++ b/rentman_api_client/api/accessories/accessory_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.accessoire_itemget_response_schema import AccessoireItemgetResponseSchema +from ...models.accessory_itemget_response_schema import AccessoryItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AccessoireItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AccessoryItemgetResponseSchema]: if response.status_code == 200: - response_200 = AccessoireItemgetResponseSchema.from_dict(response.json()) + response_200 = AccessoryItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AccessoireItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AccessoryItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[AccessoireItemgetResponseSchema]: +) -> Response[AccessoryItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[AccessoireItemgetResponseSchema]: +) -> Optional[AccessoryItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[AccessoireItemgetResponseSchema]: +) -> Response[AccessoryItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[AccessoireItemgetResponseSchema]: +) -> Optional[AccessoryItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/appointmentcrew/afspraakmedewerker_collection_get.py b/rentman_api_client/api/appointmentcrew/appointmentcrew_collection_get.py similarity index 68% rename from rentman_api_client/api/appointmentcrew/afspraakmedewerker_collection_get.py rename to rentman_api_client/api/appointmentcrew/appointmentcrew_collection_get.py index 663ced4..b3a3d01 100644 --- a/rentman_api_client/api/appointmentcrew/afspraakmedewerker_collection_get.py +++ b/rentman_api_client/api/appointmentcrew/appointmentcrew_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.afspraakmedewerker_collectionget_response_schema import AfspraakmedewerkerCollectiongetResponseSchema +from ...models.appointmentcrew_collectionget_response_schema import AppointmentcrewCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AfspraakmedewerkerCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AppointmentcrewCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = AfspraakmedewerkerCollectiongetResponseSchema.from_dict(response.json()) + response_200 = AppointmentcrewCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AfspraakmedewerkerCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AppointmentcrewCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[AfspraakmedewerkerC def sync_detailed( *, client: Client, -) -> Response[AfspraakmedewerkerCollectiongetResponseSchema]: +) -> Response[AppointmentcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[AfspraakmedewerkerCollectiongetResponseSchema]: +) -> Optional[AppointmentcrewCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[AfspraakmedewerkerCollectiongetResponseSchema]: +) -> Response[AppointmentcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[AfspraakmedewerkerCollectiongetResponseSchema]: +) -> Optional[AppointmentcrewCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/appointmentcrew/afspraakmedewerker_item_delete.py b/rentman_api_client/api/appointmentcrew/appointmentcrew_item_delete.py similarity index 100% rename from rentman_api_client/api/appointmentcrew/afspraakmedewerker_item_delete.py rename to rentman_api_client/api/appointmentcrew/appointmentcrew_item_delete.py diff --git a/rentman_api_client/api/appointmentcrew/afspraakmedewerker_item_get.py b/rentman_api_client/api/appointmentcrew/appointmentcrew_item_get.py similarity index 72% rename from rentman_api_client/api/appointmentcrew/afspraakmedewerker_item_get.py rename to rentman_api_client/api/appointmentcrew/appointmentcrew_item_get.py index f4c1762..fd36c2e 100644 --- a/rentman_api_client/api/appointmentcrew/afspraakmedewerker_item_get.py +++ b/rentman_api_client/api/appointmentcrew/appointmentcrew_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.afspraakmedewerker_itemget_response_schema import AfspraakmedewerkerItemgetResponseSchema +from ...models.appointmentcrew_itemget_response_schema import AppointmentcrewItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AfspraakmedewerkerItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AppointmentcrewItemgetResponseSchema]: if response.status_code == 200: - response_200 = AfspraakmedewerkerItemgetResponseSchema.from_dict(response.json()) + response_200 = AppointmentcrewItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AfspraakmedewerkerItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AppointmentcrewItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[AfspraakmedewerkerItemgetResponseSchema]: +) -> Response[AppointmentcrewItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[AfspraakmedewerkerItemgetResponseSchema]: +) -> Optional[AppointmentcrewItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[AfspraakmedewerkerItemgetResponseSchema]: +) -> Response[AppointmentcrewItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[AfspraakmedewerkerItemgetResponseSchema]: +) -> Optional[AppointmentcrewItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/appointmentcrew/afspraakmedewerker_item_put.py b/rentman_api_client/api/appointmentcrew/appointmentcrew_item_put.py similarity index 64% rename from rentman_api_client/api/appointmentcrew/afspraakmedewerker_item_put.py rename to rentman_api_client/api/appointmentcrew/appointmentcrew_item_put.py index 99a1683..9d8a9e0 100644 --- a/rentman_api_client/api/appointmentcrew/afspraakmedewerker_item_put.py +++ b/rentman_api_client/api/appointmentcrew/appointmentcrew_item_put.py @@ -3,8 +3,8 @@ import httpx from ...client import Client -from ...models.afspraakmedewerker_itemput_request_schema import AfspraakmedewerkerItemputRequestSchema -from ...models.afspraakmedewerker_itemput_response_schema import AfspraakmedewerkerItemputResponseSchema +from ...models.appointmentcrew_itemput_request_schema import AppointmentcrewItemputRequestSchema +from ...models.appointmentcrew_itemput_response_schema import AppointmentcrewItemputResponseSchema from ...types import Response @@ -12,7 +12,7 @@ def _get_kwargs( *, client: Client, id: int, - json_body: AfspraakmedewerkerItemputRequestSchema, + json_body: AppointmentcrewItemputRequestSchema, ) -> Dict[str, Any]: url = "{}/appointmentcrew/{id}".format(client.base_url, id=id) @@ -30,15 +30,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AfspraakmedewerkerItemputResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AppointmentcrewItemputResponseSchema]: if response.status_code == 200: - response_200 = AfspraakmedewerkerItemputResponseSchema.from_dict(response.json()) + response_200 = AppointmentcrewItemputResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AfspraakmedewerkerItemputResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AppointmentcrewItemputResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -51,8 +51,8 @@ def sync_detailed( *, client: Client, id: int, - json_body: AfspraakmedewerkerItemputRequestSchema, -) -> Response[AfspraakmedewerkerItemputResponseSchema]: + json_body: AppointmentcrewItemputRequestSchema, +) -> Response[AppointmentcrewItemputResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -70,8 +70,8 @@ def sync( *, client: Client, id: int, - json_body: AfspraakmedewerkerItemputRequestSchema, -) -> Optional[AfspraakmedewerkerItemputResponseSchema]: + json_body: AppointmentcrewItemputRequestSchema, +) -> Optional[AppointmentcrewItemputResponseSchema]: """ """ return sync_detailed( @@ -85,8 +85,8 @@ async def asyncio_detailed( *, client: Client, id: int, - json_body: AfspraakmedewerkerItemputRequestSchema, -) -> Response[AfspraakmedewerkerItemputResponseSchema]: + json_body: AppointmentcrewItemputRequestSchema, +) -> Response[AppointmentcrewItemputResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -103,8 +103,8 @@ async def asyncio( *, client: Client, id: int, - json_body: AfspraakmedewerkerItemputRequestSchema, -) -> Optional[AfspraakmedewerkerItemputResponseSchema]: + json_body: AppointmentcrewItemputRequestSchema, +) -> Optional[AppointmentcrewItemputResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/appointments/afspraak_collection_get.py b/rentman_api_client/api/appointments/appointment_collection_get.py similarity index 70% rename from rentman_api_client/api/appointments/afspraak_collection_get.py rename to rentman_api_client/api/appointments/appointment_collection_get.py index 391a49b..dd266f2 100644 --- a/rentman_api_client/api/appointments/afspraak_collection_get.py +++ b/rentman_api_client/api/appointments/appointment_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.afspraak_collectionget_response_schema import AfspraakCollectiongetResponseSchema +from ...models.appointment_collectionget_response_schema import AppointmentCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AfspraakCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AppointmentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = AfspraakCollectiongetResponseSchema.from_dict(response.json()) + response_200 = AppointmentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AfspraakCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AppointmentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[AfspraakCollectiong def sync_detailed( *, client: Client, -) -> Response[AfspraakCollectiongetResponseSchema]: +) -> Response[AppointmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[AfspraakCollectiongetResponseSchema]: +) -> Optional[AppointmentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[AfspraakCollectiongetResponseSchema]: +) -> Response[AppointmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[AfspraakCollectiongetResponseSchema]: +) -> Optional[AppointmentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/appointments/afspraak_collection_post.py b/rentman_api_client/api/appointments/appointment_collection_post.py similarity index 64% rename from rentman_api_client/api/appointments/afspraak_collection_post.py rename to rentman_api_client/api/appointments/appointment_collection_post.py index 9327104..4dc44d7 100644 --- a/rentman_api_client/api/appointments/afspraak_collection_post.py +++ b/rentman_api_client/api/appointments/appointment_collection_post.py @@ -3,15 +3,15 @@ import httpx from ...client import Client -from ...models.afspraak_itempost_request_schema import AfspraakItempostRequestSchema -from ...models.afspraak_itempost_response_schema import AfspraakItempostResponseSchema +from ...models.appointment_itempost_request_schema import AppointmentItempostRequestSchema +from ...models.appointment_itempost_response_schema import AppointmentItempostResponseSchema from ...types import Response def _get_kwargs( *, client: Client, - json_body: AfspraakItempostRequestSchema, + json_body: AppointmentItempostRequestSchema, ) -> Dict[str, Any]: url = "{}/appointments".format(client.base_url) @@ -29,15 +29,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AfspraakItempostResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AppointmentItempostResponseSchema]: if response.status_code == 200: - response_200 = AfspraakItempostResponseSchema.from_dict(response.json()) + response_200 = AppointmentItempostResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AfspraakItempostResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AppointmentItempostResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -49,8 +49,8 @@ def _build_response(*, response: httpx.Response) -> Response[AfspraakItempostRes def sync_detailed( *, client: Client, - json_body: AfspraakItempostRequestSchema, -) -> Response[AfspraakItempostResponseSchema]: + json_body: AppointmentItempostRequestSchema, +) -> Response[AppointmentItempostResponseSchema]: kwargs = _get_kwargs( client=client, json_body=json_body, @@ -66,8 +66,8 @@ def sync_detailed( def sync( *, client: Client, - json_body: AfspraakItempostRequestSchema, -) -> Optional[AfspraakItempostResponseSchema]: + json_body: AppointmentItempostRequestSchema, +) -> Optional[AppointmentItempostResponseSchema]: """ """ return sync_detailed( @@ -79,8 +79,8 @@ def sync( async def asyncio_detailed( *, client: Client, - json_body: AfspraakItempostRequestSchema, -) -> Response[AfspraakItempostResponseSchema]: + json_body: AppointmentItempostRequestSchema, +) -> Response[AppointmentItempostResponseSchema]: kwargs = _get_kwargs( client=client, json_body=json_body, @@ -95,8 +95,8 @@ async def asyncio_detailed( async def asyncio( *, client: Client, - json_body: AfspraakItempostRequestSchema, -) -> Optional[AfspraakItempostResponseSchema]: + json_body: AppointmentItempostRequestSchema, +) -> Optional[AppointmentItempostResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/appointments/afspraak_item_afspraakmedewerker_get.py b/rentman_api_client/api/appointments/appointment_item_appointmentcrew_get.py similarity index 70% rename from rentman_api_client/api/appointments/afspraak_item_afspraakmedewerker_get.py rename to rentman_api_client/api/appointments/appointment_item_appointmentcrew_get.py index 1f1bfd3..022b39a 100644 --- a/rentman_api_client/api/appointments/afspraak_item_afspraakmedewerker_get.py +++ b/rentman_api_client/api/appointments/appointment_item_appointmentcrew_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.afspraakmedewerker_collectionget_response_schema import AfspraakmedewerkerCollectiongetResponseSchema +from ...models.appointmentcrew_collectionget_response_schema import AppointmentcrewCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AfspraakmedewerkerCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AppointmentcrewCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = AfspraakmedewerkerCollectiongetResponseSchema.from_dict(response.json()) + response_200 = AppointmentcrewCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AfspraakmedewerkerCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AppointmentcrewCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[AfspraakmedewerkerCollectiongetResponseSchema]: +) -> Response[AppointmentcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[AfspraakmedewerkerCollectiongetResponseSchema]: +) -> Optional[AppointmentcrewCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[AfspraakmedewerkerCollectiongetResponseSchema]: +) -> Response[AppointmentcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[AfspraakmedewerkerCollectiongetResponseSchema]: +) -> Optional[AppointmentcrewCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/appointments/afspraak_item_afspraakmedewerker_post.py b/rentman_api_client/api/appointments/appointment_item_appointmentcrew_post.py similarity index 64% rename from rentman_api_client/api/appointments/afspraak_item_afspraakmedewerker_post.py rename to rentman_api_client/api/appointments/appointment_item_appointmentcrew_post.py index f4c2282..bae60c9 100644 --- a/rentman_api_client/api/appointments/afspraak_item_afspraakmedewerker_post.py +++ b/rentman_api_client/api/appointments/appointment_item_appointmentcrew_post.py @@ -3,8 +3,8 @@ import httpx from ...client import Client -from ...models.afspraakmedewerker_itempost_request_schema import AfspraakmedewerkerItempostRequestSchema -from ...models.afspraakmedewerker_itempost_response_schema import AfspraakmedewerkerItempostResponseSchema +from ...models.appointmentcrew_itempost_request_schema import AppointmentcrewItempostRequestSchema +from ...models.appointmentcrew_itempost_response_schema import AppointmentcrewItempostResponseSchema from ...types import Response @@ -12,7 +12,7 @@ def _get_kwargs( *, client: Client, id: int, - json_body: AfspraakmedewerkerItempostRequestSchema, + json_body: AppointmentcrewItempostRequestSchema, ) -> Dict[str, Any]: url = "{}/appointments/{id}/appointmentcrew".format(client.base_url, id=id) @@ -30,15 +30,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AfspraakmedewerkerItempostResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AppointmentcrewItempostResponseSchema]: if response.status_code == 200: - response_200 = AfspraakmedewerkerItempostResponseSchema.from_dict(response.json()) + response_200 = AppointmentcrewItempostResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AfspraakmedewerkerItempostResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AppointmentcrewItempostResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -51,8 +51,8 @@ def sync_detailed( *, client: Client, id: int, - json_body: AfspraakmedewerkerItempostRequestSchema, -) -> Response[AfspraakmedewerkerItempostResponseSchema]: + json_body: AppointmentcrewItempostRequestSchema, +) -> Response[AppointmentcrewItempostResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -70,8 +70,8 @@ def sync( *, client: Client, id: int, - json_body: AfspraakmedewerkerItempostRequestSchema, -) -> Optional[AfspraakmedewerkerItempostResponseSchema]: + json_body: AppointmentcrewItempostRequestSchema, +) -> Optional[AppointmentcrewItempostResponseSchema]: """ """ return sync_detailed( @@ -85,8 +85,8 @@ async def asyncio_detailed( *, client: Client, id: int, - json_body: AfspraakmedewerkerItempostRequestSchema, -) -> Response[AfspraakmedewerkerItempostResponseSchema]: + json_body: AppointmentcrewItempostRequestSchema, +) -> Response[AppointmentcrewItempostResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -103,8 +103,8 @@ async def asyncio( *, client: Client, id: int, - json_body: AfspraakmedewerkerItempostRequestSchema, -) -> Optional[AfspraakmedewerkerItempostResponseSchema]: + json_body: AppointmentcrewItempostRequestSchema, +) -> Optional[AppointmentcrewItempostResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/appointments/afspraak_item_delete.py b/rentman_api_client/api/appointments/appointment_item_delete.py similarity index 100% rename from rentman_api_client/api/appointments/afspraak_item_delete.py rename to rentman_api_client/api/appointments/appointment_item_delete.py diff --git a/rentman_api_client/api/appointments/afspraak_item_get.py b/rentman_api_client/api/appointments/appointment_item_get.py similarity index 74% rename from rentman_api_client/api/appointments/afspraak_item_get.py rename to rentman_api_client/api/appointments/appointment_item_get.py index 954b7b5..530215d 100644 --- a/rentman_api_client/api/appointments/afspraak_item_get.py +++ b/rentman_api_client/api/appointments/appointment_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.afspraak_itemget_response_schema import AfspraakItemgetResponseSchema +from ...models.appointment_itemget_response_schema import AppointmentItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AfspraakItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AppointmentItemgetResponseSchema]: if response.status_code == 200: - response_200 = AfspraakItemgetResponseSchema.from_dict(response.json()) + response_200 = AppointmentItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AfspraakItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AppointmentItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[AfspraakItemgetResponseSchema]: +) -> Response[AppointmentItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[AfspraakItemgetResponseSchema]: +) -> Optional[AppointmentItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[AfspraakItemgetResponseSchema]: +) -> Response[AppointmentItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[AfspraakItemgetResponseSchema]: +) -> Optional[AppointmentItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/appointments/afspraak_item_put.py b/rentman_api_client/api/appointments/appointment_item_put.py similarity index 66% rename from rentman_api_client/api/appointments/afspraak_item_put.py rename to rentman_api_client/api/appointments/appointment_item_put.py index 8755816..4c583ee 100644 --- a/rentman_api_client/api/appointments/afspraak_item_put.py +++ b/rentman_api_client/api/appointments/appointment_item_put.py @@ -3,8 +3,8 @@ import httpx from ...client import Client -from ...models.afspraak_itemput_request_schema import AfspraakItemputRequestSchema -from ...models.afspraak_itemput_response_schema import AfspraakItemputResponseSchema +from ...models.appointment_itemput_request_schema import AppointmentItemputRequestSchema +from ...models.appointment_itemput_response_schema import AppointmentItemputResponseSchema from ...types import Response @@ -12,7 +12,7 @@ def _get_kwargs( *, client: Client, id: int, - json_body: AfspraakItemputRequestSchema, + json_body: AppointmentItemputRequestSchema, ) -> Dict[str, Any]: url = "{}/appointments/{id}".format(client.base_url, id=id) @@ -30,15 +30,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AfspraakItemputResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AppointmentItemputResponseSchema]: if response.status_code == 200: - response_200 = AfspraakItemputResponseSchema.from_dict(response.json()) + response_200 = AppointmentItemputResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AfspraakItemputResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AppointmentItemputResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -51,8 +51,8 @@ def sync_detailed( *, client: Client, id: int, - json_body: AfspraakItemputRequestSchema, -) -> Response[AfspraakItemputResponseSchema]: + json_body: AppointmentItemputRequestSchema, +) -> Response[AppointmentItemputResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -70,8 +70,8 @@ def sync( *, client: Client, id: int, - json_body: AfspraakItemputRequestSchema, -) -> Optional[AfspraakItemputResponseSchema]: + json_body: AppointmentItemputRequestSchema, +) -> Optional[AppointmentItemputResponseSchema]: """ """ return sync_detailed( @@ -85,8 +85,8 @@ async def asyncio_detailed( *, client: Client, id: int, - json_body: AfspraakItemputRequestSchema, -) -> Response[AfspraakItemputResponseSchema]: + json_body: AppointmentItemputRequestSchema, +) -> Response[AppointmentItemputResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -103,8 +103,8 @@ async def asyncio( *, client: Client, id: int, - json_body: AfspraakItemputRequestSchema, -) -> Optional[AfspraakItemputResponseSchema]: + json_body: AppointmentItemputRequestSchema, +) -> Optional[AppointmentItemputResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/contactpersons/person_collection_get.py b/rentman_api_client/api/contactpersons/contactperson_collection_get.py similarity index 69% rename from rentman_api_client/api/contactpersons/person_collection_get.py rename to rentman_api_client/api/contactpersons/contactperson_collection_get.py index 165511b..30df046 100644 --- a/rentman_api_client/api/contactpersons/person_collection_get.py +++ b/rentman_api_client/api/contactpersons/contactperson_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.person_collectionget_response_schema import PersonCollectiongetResponseSchema +from ...models.contactperson_collectionget_response_schema import ContactpersonCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PersonCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ContactpersonCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PersonCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ContactpersonCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PersonCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ContactpersonCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[PersonCollectionget def sync_detailed( *, client: Client, -) -> Response[PersonCollectiongetResponseSchema]: +) -> Response[ContactpersonCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[PersonCollectiongetResponseSchema]: +) -> Optional[ContactpersonCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[PersonCollectiongetResponseSchema]: +) -> Response[ContactpersonCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[PersonCollectiongetResponseSchema]: +) -> Optional[ContactpersonCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/contactpersons/person_item_delete.py b/rentman_api_client/api/contactpersons/contactperson_item_delete.py similarity index 100% rename from rentman_api_client/api/contactpersons/person_item_delete.py rename to rentman_api_client/api/contactpersons/contactperson_item_delete.py diff --git a/rentman_api_client/api/contactpersons/person_item_get.py b/rentman_api_client/api/contactpersons/contactperson_item_get.py similarity index 73% rename from rentman_api_client/api/contactpersons/person_item_get.py rename to rentman_api_client/api/contactpersons/contactperson_item_get.py index b82cd46..0b96587 100644 --- a/rentman_api_client/api/contactpersons/person_item_get.py +++ b/rentman_api_client/api/contactpersons/contactperson_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.person_itemget_response_schema import PersonItemgetResponseSchema +from ...models.contactperson_itemget_response_schema import ContactpersonItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PersonItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ContactpersonItemgetResponseSchema]: if response.status_code == 200: - response_200 = PersonItemgetResponseSchema.from_dict(response.json()) + response_200 = ContactpersonItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PersonItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ContactpersonItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PersonItemgetResponseSchema]: +) -> Response[ContactpersonItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PersonItemgetResponseSchema]: +) -> Optional[ContactpersonItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PersonItemgetResponseSchema]: +) -> Response[ContactpersonItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PersonItemgetResponseSchema]: +) -> Optional[ContactpersonItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/contactpersons/person_item_put.py b/rentman_api_client/api/contactpersons/contactperson_item_put.py similarity index 66% rename from rentman_api_client/api/contactpersons/person_item_put.py rename to rentman_api_client/api/contactpersons/contactperson_item_put.py index 5c13631..2dc0b25 100644 --- a/rentman_api_client/api/contactpersons/person_item_put.py +++ b/rentman_api_client/api/contactpersons/contactperson_item_put.py @@ -3,8 +3,8 @@ import httpx from ...client import Client -from ...models.person_itemput_request_schema import PersonItemputRequestSchema -from ...models.person_itemput_response_schema import PersonItemputResponseSchema +from ...models.contactperson_itemput_request_schema import ContactpersonItemputRequestSchema +from ...models.contactperson_itemput_response_schema import ContactpersonItemputResponseSchema from ...types import Response @@ -12,7 +12,7 @@ def _get_kwargs( *, client: Client, id: int, - json_body: PersonItemputRequestSchema, + json_body: ContactpersonItemputRequestSchema, ) -> Dict[str, Any]: url = "{}/contactpersons/{id}".format(client.base_url, id=id) @@ -30,15 +30,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PersonItemputResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ContactpersonItemputResponseSchema]: if response.status_code == 200: - response_200 = PersonItemputResponseSchema.from_dict(response.json()) + response_200 = ContactpersonItemputResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PersonItemputResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ContactpersonItemputResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -51,8 +51,8 @@ def sync_detailed( *, client: Client, id: int, - json_body: PersonItemputRequestSchema, -) -> Response[PersonItemputResponseSchema]: + json_body: ContactpersonItemputRequestSchema, +) -> Response[ContactpersonItemputResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -70,8 +70,8 @@ def sync( *, client: Client, id: int, - json_body: PersonItemputRequestSchema, -) -> Optional[PersonItemputResponseSchema]: + json_body: ContactpersonItemputRequestSchema, +) -> Optional[ContactpersonItemputResponseSchema]: """ """ return sync_detailed( @@ -85,8 +85,8 @@ async def asyncio_detailed( *, client: Client, id: int, - json_body: PersonItemputRequestSchema, -) -> Response[PersonItemputResponseSchema]: + json_body: ContactpersonItemputRequestSchema, +) -> Response[ContactpersonItemputResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -103,8 +103,8 @@ async def asyncio( *, client: Client, id: int, - json_body: PersonItemputRequestSchema, -) -> Optional[PersonItemputResponseSchema]: + json_body: ContactpersonItemputRequestSchema, +) -> Optional[ContactpersonItemputResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/contactpersons/person_item_files_get.py b/rentman_api_client/api/contactpersons/contactpersons_item_files_get.py similarity index 80% rename from rentman_api_client/api/contactpersons/person_item_files_get.py rename to rentman_api_client/api/contactpersons/contactpersons_item_files_get.py index 5d24b9e..ec0cf13 100644 --- a/rentman_api_client/api/contactpersons/person_item_files_get.py +++ b/rentman_api_client/api/contactpersons/contactpersons_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/contacts/contact_item_person_get.py b/rentman_api_client/api/contacts/contact_item_contactperson_get.py similarity index 71% rename from rentman_api_client/api/contacts/contact_item_person_get.py rename to rentman_api_client/api/contacts/contact_item_contactperson_get.py index b709573..4daff94 100644 --- a/rentman_api_client/api/contacts/contact_item_person_get.py +++ b/rentman_api_client/api/contacts/contact_item_contactperson_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.person_collectionget_response_schema import PersonCollectiongetResponseSchema +from ...models.contactperson_collectionget_response_schema import ContactpersonCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PersonCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ContactpersonCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PersonCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ContactpersonCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PersonCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ContactpersonCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PersonCollectiongetResponseSchema]: +) -> Response[ContactpersonCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PersonCollectiongetResponseSchema]: +) -> Optional[ContactpersonCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PersonCollectiongetResponseSchema]: +) -> Response[ContactpersonCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PersonCollectiongetResponseSchema]: +) -> Optional[ContactpersonCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/contacts/contact_item_person_post.py b/rentman_api_client/api/contacts/contact_item_contactperson_post.py similarity index 65% rename from rentman_api_client/api/contacts/contact_item_person_post.py rename to rentman_api_client/api/contacts/contact_item_contactperson_post.py index ca105dd..0709b9c 100644 --- a/rentman_api_client/api/contacts/contact_item_person_post.py +++ b/rentman_api_client/api/contacts/contact_item_contactperson_post.py @@ -3,8 +3,8 @@ import httpx from ...client import Client -from ...models.person_itempost_request_schema import PersonItempostRequestSchema -from ...models.person_itempost_response_schema import PersonItempostResponseSchema +from ...models.contactperson_itempost_request_schema import ContactpersonItempostRequestSchema +from ...models.contactperson_itempost_response_schema import ContactpersonItempostResponseSchema from ...types import Response @@ -12,7 +12,7 @@ def _get_kwargs( *, client: Client, id: int, - json_body: PersonItempostRequestSchema, + json_body: ContactpersonItempostRequestSchema, ) -> Dict[str, Any]: url = "{}/contacts/{id}/contactpersons".format(client.base_url, id=id) @@ -30,15 +30,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PersonItempostResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ContactpersonItempostResponseSchema]: if response.status_code == 200: - response_200 = PersonItempostResponseSchema.from_dict(response.json()) + response_200 = ContactpersonItempostResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PersonItempostResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ContactpersonItempostResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -51,8 +51,8 @@ def sync_detailed( *, client: Client, id: int, - json_body: PersonItempostRequestSchema, -) -> Response[PersonItempostResponseSchema]: + json_body: ContactpersonItempostRequestSchema, +) -> Response[ContactpersonItempostResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -70,8 +70,8 @@ def sync( *, client: Client, id: int, - json_body: PersonItempostRequestSchema, -) -> Optional[PersonItempostResponseSchema]: + json_body: ContactpersonItempostRequestSchema, +) -> Optional[ContactpersonItempostResponseSchema]: """ """ return sync_detailed( @@ -85,8 +85,8 @@ async def asyncio_detailed( *, client: Client, id: int, - json_body: PersonItempostRequestSchema, -) -> Response[PersonItempostResponseSchema]: + json_body: ContactpersonItempostRequestSchema, +) -> Response[ContactpersonItempostResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -103,8 +103,8 @@ async def asyncio( *, client: Client, id: int, - json_body: PersonItempostRequestSchema, -) -> Optional[PersonItempostResponseSchema]: + json_body: ContactpersonItempostRequestSchema, +) -> Optional[ContactpersonItempostResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/contacts/contact_item_files_get.py b/rentman_api_client/api/contacts/contact_item_files_get.py index 6ae3b66..d2305bf 100644 --- a/rentman_api_client/api/contacts/contact_item_files_get.py +++ b/rentman_api_client/api/contacts/contact_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/contracts/contract_item_files_get.py b/rentman_api_client/api/contracts/contract_item_files_get.py index 2791fc0..ab3fc60 100644 --- a/rentman_api_client/api/contracts/contract_item_files_get.py +++ b/rentman_api_client/api/contracts/contract_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/contracts/contract_item_btwbedrag_get.py b/rentman_api_client/api/contracts/contract_item_invoiceline_get.py similarity index 72% rename from rentman_api_client/api/contracts/contract_item_btwbedrag_get.py rename to rentman_api_client/api/contracts/contract_item_invoiceline_get.py index 3fb31fe..37d307a 100644 --- a/rentman_api_client/api/contracts/contract_item_btwbedrag_get.py +++ b/rentman_api_client/api/contracts/contract_item_invoiceline_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.btwbedrag_collectionget_response_schema import BtwbedragCollectiongetResponseSchema +from ...models.invoiceline_collectionget_response_schema import InvoicelineCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[BtwbedragCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[InvoicelineCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = BtwbedragCollectiongetResponseSchema.from_dict(response.json()) + response_200 = InvoicelineCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[BtwbedragCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[InvoicelineCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[BtwbedragCollectiongetResponseSchema]: +) -> Response[InvoicelineCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[BtwbedragCollectiongetResponseSchema]: +) -> Optional[InvoicelineCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[BtwbedragCollectiongetResponseSchema]: +) -> Response[InvoicelineCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[BtwbedragCollectiongetResponseSchema]: +) -> Optional[InvoicelineCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projecttypes/type_collection_get.py b/rentman_api_client/api/crew/crew_collection_get.py similarity index 72% rename from rentman_api_client/api/projecttypes/type_collection_get.py rename to rentman_api_client/api/crew/crew_collection_get.py index 38d5ef9..c75fecb 100644 --- a/rentman_api_client/api/projecttypes/type_collection_get.py +++ b/rentman_api_client/api/crew/crew_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.type_collectionget_response_schema import TypeCollectiongetResponseSchema +from ...models.crew_collectionget_response_schema import CrewCollectiongetResponseSchema from ...types import Response @@ -11,7 +11,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/projecttypes".format(client.base_url) + url = "{}/crew".format(client.base_url) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[TypeCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[CrewCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = TypeCollectiongetResponseSchema.from_dict(response.json()) + response_200 = CrewCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[TypeCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[CrewCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[TypeCollectiongetRe def sync_detailed( *, client: Client, -) -> Response[TypeCollectiongetResponseSchema]: +) -> Response[CrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[TypeCollectiongetResponseSchema]: +) -> Optional[CrewCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[TypeCollectiongetResponseSchema]: +) -> Response[CrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[TypeCollectiongetResponseSchema]: +) -> Optional[CrewCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/crew/medewerker_item_afspraak_get.py b/rentman_api_client/api/crew/crew_item_appointment_get.py similarity index 72% rename from rentman_api_client/api/crew/medewerker_item_afspraak_get.py rename to rentman_api_client/api/crew/crew_item_appointment_get.py index bec2f51..c7b043c 100644 --- a/rentman_api_client/api/crew/medewerker_item_afspraak_get.py +++ b/rentman_api_client/api/crew/crew_item_appointment_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.afspraak_collectionget_response_schema import AfspraakCollectiongetResponseSchema +from ...models.appointment_collectionget_response_schema import AppointmentCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AfspraakCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AppointmentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = AfspraakCollectiongetResponseSchema.from_dict(response.json()) + response_200 = AppointmentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AfspraakCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AppointmentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[AfspraakCollectiongetResponseSchema]: +) -> Response[AppointmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[AfspraakCollectiongetResponseSchema]: +) -> Optional[AppointmentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[AfspraakCollectiongetResponseSchema]: +) -> Response[AppointmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[AfspraakCollectiongetResponseSchema]: +) -> Optional[AppointmentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/crew/medewerker_item_beschikbaarheid_get.py b/rentman_api_client/api/crew/crew_item_crewavailability_get.py similarity index 71% rename from rentman_api_client/api/crew/medewerker_item_beschikbaarheid_get.py rename to rentman_api_client/api/crew/crew_item_crewavailability_get.py index 9dd70e2..b55b45c 100644 --- a/rentman_api_client/api/crew/medewerker_item_beschikbaarheid_get.py +++ b/rentman_api_client/api/crew/crew_item_crewavailability_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.beschikbaarheid_collectionget_response_schema import BeschikbaarheidCollectiongetResponseSchema +from ...models.crewavailability_collectionget_response_schema import CrewavailabilityCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[BeschikbaarheidCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[CrewavailabilityCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = BeschikbaarheidCollectiongetResponseSchema.from_dict(response.json()) + response_200 = CrewavailabilityCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[BeschikbaarheidCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[CrewavailabilityCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[BeschikbaarheidCollectiongetResponseSchema]: +) -> Response[CrewavailabilityCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[BeschikbaarheidCollectiongetResponseSchema]: +) -> Optional[CrewavailabilityCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[BeschikbaarheidCollectiongetResponseSchema]: +) -> Response[CrewavailabilityCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[BeschikbaarheidCollectiongetResponseSchema]: +) -> Optional[CrewavailabilityCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/crew/medewerker_item_beschikbaarheid_post.py b/rentman_api_client/api/crew/crew_item_crewavailability_post.py similarity index 64% rename from rentman_api_client/api/crew/medewerker_item_beschikbaarheid_post.py rename to rentman_api_client/api/crew/crew_item_crewavailability_post.py index 1727cb7..442785f 100644 --- a/rentman_api_client/api/crew/medewerker_item_beschikbaarheid_post.py +++ b/rentman_api_client/api/crew/crew_item_crewavailability_post.py @@ -3,8 +3,8 @@ import httpx from ...client import Client -from ...models.beschikbaarheid_itempost_request_schema import BeschikbaarheidItempostRequestSchema -from ...models.beschikbaarheid_itempost_response_schema import BeschikbaarheidItempostResponseSchema +from ...models.crewavailability_itempost_request_schema import CrewavailabilityItempostRequestSchema +from ...models.crewavailability_itempost_response_schema import CrewavailabilityItempostResponseSchema from ...types import Response @@ -12,7 +12,7 @@ def _get_kwargs( *, client: Client, id: int, - json_body: BeschikbaarheidItempostRequestSchema, + json_body: CrewavailabilityItempostRequestSchema, ) -> Dict[str, Any]: url = "{}/crew/{id}/crewavailability".format(client.base_url, id=id) @@ -30,15 +30,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[BeschikbaarheidItempostResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[CrewavailabilityItempostResponseSchema]: if response.status_code == 200: - response_200 = BeschikbaarheidItempostResponseSchema.from_dict(response.json()) + response_200 = CrewavailabilityItempostResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[BeschikbaarheidItempostResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[CrewavailabilityItempostResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -51,8 +51,8 @@ def sync_detailed( *, client: Client, id: int, - json_body: BeschikbaarheidItempostRequestSchema, -) -> Response[BeschikbaarheidItempostResponseSchema]: + json_body: CrewavailabilityItempostRequestSchema, +) -> Response[CrewavailabilityItempostResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -70,8 +70,8 @@ def sync( *, client: Client, id: int, - json_body: BeschikbaarheidItempostRequestSchema, -) -> Optional[BeschikbaarheidItempostResponseSchema]: + json_body: CrewavailabilityItempostRequestSchema, +) -> Optional[CrewavailabilityItempostResponseSchema]: """ """ return sync_detailed( @@ -85,8 +85,8 @@ async def asyncio_detailed( *, client: Client, id: int, - json_body: BeschikbaarheidItempostRequestSchema, -) -> Response[BeschikbaarheidItempostResponseSchema]: + json_body: CrewavailabilityItempostRequestSchema, +) -> Response[CrewavailabilityItempostResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -103,8 +103,8 @@ async def asyncio( *, client: Client, id: int, - json_body: BeschikbaarheidItempostRequestSchema, -) -> Optional[BeschikbaarheidItempostResponseSchema]: + json_body: CrewavailabilityItempostRequestSchema, +) -> Optional[CrewavailabilityItempostResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/crew/medewerker_item_medewerkertarief_get.py b/rentman_api_client/api/crew/crew_item_crewrate_get.py similarity index 70% rename from rentman_api_client/api/crew/medewerker_item_medewerkertarief_get.py rename to rentman_api_client/api/crew/crew_item_crewrate_get.py index e706d9c..a9fe48b 100644 --- a/rentman_api_client/api/crew/medewerker_item_medewerkertarief_get.py +++ b/rentman_api_client/api/crew/crew_item_crewrate_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.medewerkertarief_collectionget_response_schema import MedewerkertariefCollectiongetResponseSchema +from ...models.crewrate_collectionget_response_schema import CrewrateCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[MedewerkertariefCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[CrewrateCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = MedewerkertariefCollectiongetResponseSchema.from_dict(response.json()) + response_200 = CrewrateCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[MedewerkertariefCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[CrewrateCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[MedewerkertariefCollectiongetResponseSchema]: +) -> Response[CrewrateCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[MedewerkertariefCollectiongetResponseSchema]: +) -> Optional[CrewrateCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[MedewerkertariefCollectiongetResponseSchema]: +) -> Response[CrewrateCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[MedewerkertariefCollectiongetResponseSchema]: +) -> Optional[CrewrateCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/crew/medewerker_item_files_get.py b/rentman_api_client/api/crew/crew_item_files_get.py similarity index 80% rename from rentman_api_client/api/crew/medewerker_item_files_get.py rename to rentman_api_client/api/crew/crew_item_files_get.py index e6a73fa..b141228 100644 --- a/rentman_api_client/api/crew/medewerker_item_files_get.py +++ b/rentman_api_client/api/crew/crew_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projecttypes/type_item_get.py b/rentman_api_client/api/crew/crew_item_get.py similarity index 74% rename from rentman_api_client/api/projecttypes/type_item_get.py rename to rentman_api_client/api/crew/crew_item_get.py index 538a33f..c44edc4 100644 --- a/rentman_api_client/api/projecttypes/type_item_get.py +++ b/rentman_api_client/api/crew/crew_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.type_itemget_response_schema import TypeItemgetResponseSchema +from ...models.crew_itemget_response_schema import CrewItemgetResponseSchema from ...types import Response @@ -12,7 +12,7 @@ def _get_kwargs( client: Client, id: int, ) -> Dict[str, Any]: - url = "{}/projecttypes/{id}".format(client.base_url, id=id) + url = "{}/crew/{id}".format(client.base_url, id=id) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[TypeItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[CrewItemgetResponseSchema]: if response.status_code == 200: - response_200 = TypeItemgetResponseSchema.from_dict(response.json()) + response_200 = CrewItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[TypeItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[CrewItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[TypeItemgetResponseSchema]: +) -> Response[CrewItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[TypeItemgetResponseSchema]: +) -> Optional[CrewItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[TypeItemgetResponseSchema]: +) -> Response[CrewItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[TypeItemgetResponseSchema]: +) -> Optional[CrewItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/crew/medewerker_collection_get.py b/rentman_api_client/api/crew/medewerker_collection_get.py deleted file mode 100644 index 33f2c1a..0000000 --- a/rentman_api_client/api/crew/medewerker_collection_get.py +++ /dev/null @@ -1,94 +0,0 @@ -from typing import Any, Dict, Optional - -import httpx - -from ...client import Client -from ...models.medewerker_collectionget_response_schema import MedewerkerCollectiongetResponseSchema -from ...types import Response - - -def _get_kwargs( - *, - client: Client, -) -> Dict[str, Any]: - url = "{}/crew".format(client.base_url) - - headers: Dict[str, Any] = client.get_headers() - cookies: Dict[str, Any] = client.get_cookies() - - return { - "url": url, - "headers": headers, - "cookies": cookies, - "timeout": client.get_timeout(), - } - - -def _parse_response(*, response: httpx.Response) -> Optional[MedewerkerCollectiongetResponseSchema]: - if response.status_code == 200: - response_200 = MedewerkerCollectiongetResponseSchema.from_dict(response.json()) - - return response_200 - return None - - -def _build_response(*, response: httpx.Response) -> Response[MedewerkerCollectiongetResponseSchema]: - return Response( - status_code=response.status_code, - content=response.content, - headers=response.headers, - parsed=_parse_response(response=response), - ) - - -def sync_detailed( - *, - client: Client, -) -> Response[MedewerkerCollectiongetResponseSchema]: - kwargs = _get_kwargs( - client=client, - ) - - response = httpx.get( - **kwargs, - ) - - return _build_response(response=response) - - -def sync( - *, - client: Client, -) -> Optional[MedewerkerCollectiongetResponseSchema]: - """ """ - - return sync_detailed( - client=client, - ).parsed - - -async def asyncio_detailed( - *, - client: Client, -) -> Response[MedewerkerCollectiongetResponseSchema]: - kwargs = _get_kwargs( - client=client, - ) - - async with httpx.AsyncClient() as _client: - response = await _client.get(**kwargs) - - return _build_response(response=response) - - -async def asyncio( - *, - client: Client, -) -> Optional[MedewerkerCollectiongetResponseSchema]: - """ """ - - return ( - await asyncio_detailed( - client=client, - ) - ).parsed diff --git a/rentman_api_client/api/crew/medewerker_item_get.py b/rentman_api_client/api/crew/medewerker_item_get.py deleted file mode 100644 index 252bb72..0000000 --- a/rentman_api_client/api/crew/medewerker_item_get.py +++ /dev/null @@ -1,103 +0,0 @@ -from typing import Any, Dict, Optional - -import httpx - -from ...client import Client -from ...models.medewerker_itemget_response_schema import MedewerkerItemgetResponseSchema -from ...types import Response - - -def _get_kwargs( - *, - client: Client, - id: int, -) -> Dict[str, Any]: - url = "{}/crew/{id}".format(client.base_url, id=id) - - headers: Dict[str, Any] = client.get_headers() - cookies: Dict[str, Any] = client.get_cookies() - - return { - "url": url, - "headers": headers, - "cookies": cookies, - "timeout": client.get_timeout(), - } - - -def _parse_response(*, response: httpx.Response) -> Optional[MedewerkerItemgetResponseSchema]: - if response.status_code == 200: - response_200 = MedewerkerItemgetResponseSchema.from_dict(response.json()) - - return response_200 - return None - - -def _build_response(*, response: httpx.Response) -> Response[MedewerkerItemgetResponseSchema]: - return Response( - status_code=response.status_code, - content=response.content, - headers=response.headers, - parsed=_parse_response(response=response), - ) - - -def sync_detailed( - *, - client: Client, - id: int, -) -> Response[MedewerkerItemgetResponseSchema]: - kwargs = _get_kwargs( - client=client, - id=id, - ) - - response = httpx.get( - **kwargs, - ) - - return _build_response(response=response) - - -def sync( - *, - client: Client, - id: int, -) -> Optional[MedewerkerItemgetResponseSchema]: - """ """ - - return sync_detailed( - client=client, - id=id, - ).parsed - - -async def asyncio_detailed( - *, - client: Client, - id: int, -) -> Response[MedewerkerItemgetResponseSchema]: - kwargs = _get_kwargs( - client=client, - id=id, - ) - - async with httpx.AsyncClient() as _client: - response = await _client.get(**kwargs) - - return _build_response(response=response) - - -async def asyncio( - *, - client: Client, - id: int, -) -> Optional[MedewerkerItemgetResponseSchema]: - """ """ - - return ( - await asyncio_detailed( - client=client, - id=id, - ) - ).parsed diff --git a/rentman_api_client/api/crewavailability/beschikbaarheid_item_delete.py b/rentman_api_client/api/crewavailability/crew_availability_item_delete.py similarity index 100% rename from rentman_api_client/api/crewavailability/beschikbaarheid_item_delete.py rename to rentman_api_client/api/crewavailability/crew_availability_item_delete.py diff --git a/rentman_api_client/api/crewavailability/beschikbaarheid_item_get.py b/rentman_api_client/api/crewavailability/crew_availability_item_get.py similarity index 72% rename from rentman_api_client/api/crewavailability/beschikbaarheid_item_get.py rename to rentman_api_client/api/crewavailability/crew_availability_item_get.py index a448be8..4f9ae03 100644 --- a/rentman_api_client/api/crewavailability/beschikbaarheid_item_get.py +++ b/rentman_api_client/api/crewavailability/crew_availability_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.beschikbaarheid_itemget_response_schema import BeschikbaarheidItemgetResponseSchema +from ...models.crew_availability_itemget_response_schema import CrewAvailabilityItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[BeschikbaarheidItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[CrewAvailabilityItemgetResponseSchema]: if response.status_code == 200: - response_200 = BeschikbaarheidItemgetResponseSchema.from_dict(response.json()) + response_200 = CrewAvailabilityItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[BeschikbaarheidItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[CrewAvailabilityItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[BeschikbaarheidItemgetResponseSchema]: +) -> Response[CrewAvailabilityItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[BeschikbaarheidItemgetResponseSchema]: +) -> Optional[CrewAvailabilityItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[BeschikbaarheidItemgetResponseSchema]: +) -> Response[CrewAvailabilityItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[BeschikbaarheidItemgetResponseSchema]: +) -> Optional[CrewAvailabilityItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/crewavailability/beschikbaarheid_item_put.py b/rentman_api_client/api/crewavailability/crew_availability_item_put.py similarity index 65% rename from rentman_api_client/api/crewavailability/beschikbaarheid_item_put.py rename to rentman_api_client/api/crewavailability/crew_availability_item_put.py index 3fe72ea..33eeba2 100644 --- a/rentman_api_client/api/crewavailability/beschikbaarheid_item_put.py +++ b/rentman_api_client/api/crewavailability/crew_availability_item_put.py @@ -3,8 +3,8 @@ import httpx from ...client import Client -from ...models.beschikbaarheid_itemput_request_schema import BeschikbaarheidItemputRequestSchema -from ...models.beschikbaarheid_itemput_response_schema import BeschikbaarheidItemputResponseSchema +from ...models.crew_availability_itemput_request_schema import CrewAvailabilityItemputRequestSchema +from ...models.crew_availability_itemput_response_schema import CrewAvailabilityItemputResponseSchema from ...types import Response @@ -12,7 +12,7 @@ def _get_kwargs( *, client: Client, id: int, - json_body: BeschikbaarheidItemputRequestSchema, + json_body: CrewAvailabilityItemputRequestSchema, ) -> Dict[str, Any]: url = "{}/crewavailability/{id}".format(client.base_url, id=id) @@ -30,15 +30,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[BeschikbaarheidItemputResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[CrewAvailabilityItemputResponseSchema]: if response.status_code == 200: - response_200 = BeschikbaarheidItemputResponseSchema.from_dict(response.json()) + response_200 = CrewAvailabilityItemputResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[BeschikbaarheidItemputResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[CrewAvailabilityItemputResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -51,8 +51,8 @@ def sync_detailed( *, client: Client, id: int, - json_body: BeschikbaarheidItemputRequestSchema, -) -> Response[BeschikbaarheidItemputResponseSchema]: + json_body: CrewAvailabilityItemputRequestSchema, +) -> Response[CrewAvailabilityItemputResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -70,8 +70,8 @@ def sync( *, client: Client, id: int, - json_body: BeschikbaarheidItemputRequestSchema, -) -> Optional[BeschikbaarheidItemputResponseSchema]: + json_body: CrewAvailabilityItemputRequestSchema, +) -> Optional[CrewAvailabilityItemputResponseSchema]: """ """ return sync_detailed( @@ -85,8 +85,8 @@ async def asyncio_detailed( *, client: Client, id: int, - json_body: BeschikbaarheidItemputRequestSchema, -) -> Response[BeschikbaarheidItemputResponseSchema]: + json_body: CrewAvailabilityItemputRequestSchema, +) -> Response[CrewAvailabilityItemputResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -103,8 +103,8 @@ async def asyncio( *, client: Client, id: int, - json_body: BeschikbaarheidItemputRequestSchema, -) -> Optional[BeschikbaarheidItemputResponseSchema]: + json_body: CrewAvailabilityItemputRequestSchema, +) -> Optional[CrewAvailabilityItemputResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/crewavailability/beschikbaarheid_collection_get.py b/rentman_api_client/api/crewavailability/crewavailability_collection_get.py similarity index 69% rename from rentman_api_client/api/crewavailability/beschikbaarheid_collection_get.py rename to rentman_api_client/api/crewavailability/crewavailability_collection_get.py index 39ba9b9..e7e3d08 100644 --- a/rentman_api_client/api/crewavailability/beschikbaarheid_collection_get.py +++ b/rentman_api_client/api/crewavailability/crewavailability_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.beschikbaarheid_collectionget_response_schema import BeschikbaarheidCollectiongetResponseSchema +from ...models.crewavailability_collectionget_response_schema import CrewavailabilityCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[BeschikbaarheidCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[CrewavailabilityCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = BeschikbaarheidCollectiongetResponseSchema.from_dict(response.json()) + response_200 = CrewavailabilityCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[BeschikbaarheidCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[CrewavailabilityCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[BeschikbaarheidColl def sync_detailed( *, client: Client, -) -> Response[BeschikbaarheidCollectiongetResponseSchema]: +) -> Response[CrewavailabilityCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[BeschikbaarheidCollectiongetResponseSchema]: +) -> Optional[CrewavailabilityCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[BeschikbaarheidCollectiongetResponseSchema]: +) -> Response[CrewavailabilityCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[BeschikbaarheidCollectiongetResponseSchema]: +) -> Optional[CrewavailabilityCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/crewrates/crewrate_collection_get.py b/rentman_api_client/api/crewrates/crewrate_collection_get.py new file mode 100644 index 0000000..f9f47e4 --- /dev/null +++ b/rentman_api_client/api/crewrates/crewrate_collection_get.py @@ -0,0 +1,94 @@ +from typing import Any, Dict, Optional + +import httpx + +from ...client import Client +from ...models.crewrate_collectionget_response_schema import CrewrateCollectiongetResponseSchema +from ...types import Response + + +def _get_kwargs( + *, + client: Client, +) -> Dict[str, Any]: + url = "{}/crewrates".format(client.base_url) + + headers: Dict[str, Any] = client.get_headers() + cookies: Dict[str, Any] = client.get_cookies() + + return { + "url": url, + "headers": headers, + "cookies": cookies, + "timeout": client.get_timeout(), + } + + +def _parse_response(*, response: httpx.Response) -> Optional[CrewrateCollectiongetResponseSchema]: + if response.status_code == 200: + response_200 = CrewrateCollectiongetResponseSchema.from_dict(response.json()) + + return response_200 + return None + + +def _build_response(*, response: httpx.Response) -> Response[CrewrateCollectiongetResponseSchema]: + return Response( + status_code=response.status_code, + content=response.content, + headers=response.headers, + parsed=_parse_response(response=response), + ) + + +def sync_detailed( + *, + client: Client, +) -> Response[CrewrateCollectiongetResponseSchema]: + kwargs = _get_kwargs( + client=client, + ) + + response = httpx.get( + **kwargs, + ) + + return _build_response(response=response) + + +def sync( + *, + client: Client, +) -> Optional[CrewrateCollectiongetResponseSchema]: + """ """ + + return sync_detailed( + client=client, + ).parsed + + +async def asyncio_detailed( + *, + client: Client, +) -> Response[CrewrateCollectiongetResponseSchema]: + kwargs = _get_kwargs( + client=client, + ) + + async with httpx.AsyncClient() as _client: + response = await _client.get(**kwargs) + + return _build_response(response=response) + + +async def asyncio( + *, + client: Client, +) -> Optional[CrewrateCollectiongetResponseSchema]: + """ """ + + return ( + await asyncio_detailed( + client=client, + ) + ).parsed diff --git a/rentman_api_client/api/crewrates/medewerkertarief_item_get.py b/rentman_api_client/api/crewrates/crewrate_item_get.py similarity index 72% rename from rentman_api_client/api/crewrates/medewerkertarief_item_get.py rename to rentman_api_client/api/crewrates/crewrate_item_get.py index b539924..3c9f051 100644 --- a/rentman_api_client/api/crewrates/medewerkertarief_item_get.py +++ b/rentman_api_client/api/crewrates/crewrate_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.medewerkertarief_itemget_response_schema import MedewerkertariefItemgetResponseSchema +from ...models.crewrate_itemget_response_schema import CrewrateItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[MedewerkertariefItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[CrewrateItemgetResponseSchema]: if response.status_code == 200: - response_200 = MedewerkertariefItemgetResponseSchema.from_dict(response.json()) + response_200 = CrewrateItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[MedewerkertariefItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[CrewrateItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[MedewerkertariefItemgetResponseSchema]: +) -> Response[CrewrateItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[MedewerkertariefItemgetResponseSchema]: +) -> Optional[CrewrateItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[MedewerkertariefItemgetResponseSchema]: +) -> Response[CrewrateItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[MedewerkertariefItemgetResponseSchema]: +) -> Optional[CrewrateItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/crewrates/medewerkertarief_collection_get.py b/rentman_api_client/api/crewrates/medewerkertarief_collection_get.py deleted file mode 100644 index 3747c6e..0000000 --- a/rentman_api_client/api/crewrates/medewerkertarief_collection_get.py +++ /dev/null @@ -1,94 +0,0 @@ -from typing import Any, Dict, Optional - -import httpx - -from ...client import Client -from ...models.medewerkertarief_collectionget_response_schema import MedewerkertariefCollectiongetResponseSchema -from ...types import Response - - -def _get_kwargs( - *, - client: Client, -) -> Dict[str, Any]: - url = "{}/crewrates".format(client.base_url) - - headers: Dict[str, Any] = client.get_headers() - cookies: Dict[str, Any] = client.get_cookies() - - return { - "url": url, - "headers": headers, - "cookies": cookies, - "timeout": client.get_timeout(), - } - - -def _parse_response(*, response: httpx.Response) -> Optional[MedewerkertariefCollectiongetResponseSchema]: - if response.status_code == 200: - response_200 = MedewerkertariefCollectiongetResponseSchema.from_dict(response.json()) - - return response_200 - return None - - -def _build_response(*, response: httpx.Response) -> Response[MedewerkertariefCollectiongetResponseSchema]: - return Response( - status_code=response.status_code, - content=response.content, - headers=response.headers, - parsed=_parse_response(response=response), - ) - - -def sync_detailed( - *, - client: Client, -) -> Response[MedewerkertariefCollectiongetResponseSchema]: - kwargs = _get_kwargs( - client=client, - ) - - response = httpx.get( - **kwargs, - ) - - return _build_response(response=response) - - -def sync( - *, - client: Client, -) -> Optional[MedewerkertariefCollectiongetResponseSchema]: - """ """ - - return sync_detailed( - client=client, - ).parsed - - -async def asyncio_detailed( - *, - client: Client, -) -> Response[MedewerkertariefCollectiongetResponseSchema]: - kwargs = _get_kwargs( - client=client, - ) - - async with httpx.AsyncClient() as _client: - response = await _client.get(**kwargs) - - return _build_response(response=response) - - -async def asyncio( - *, - client: Client, -) -> Optional[MedewerkertariefCollectiongetResponseSchema]: - """ """ - - return ( - await asyncio_detailed( - client=client, - ) - ).parsed diff --git a/rentman_api_client/api/equipment/materiaal_collection_get.py b/rentman_api_client/api/equipment/equipment_collection_get.py similarity index 72% rename from rentman_api_client/api/equipment/materiaal_collection_get.py rename to rentman_api_client/api/equipment/equipment_collection_get.py index 75f61e9..1b1cbdd 100644 --- a/rentman_api_client/api/equipment/materiaal_collection_get.py +++ b/rentman_api_client/api/equipment/equipment_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.materiaal_collectionget_response_schema import MateriaalCollectiongetResponseSchema +from ...models.equipment_collectionget_response_schema import EquipmentCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[MateriaalCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[EquipmentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = MateriaalCollectiongetResponseSchema.from_dict(response.json()) + response_200 = EquipmentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[MateriaalCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[EquipmentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[MateriaalCollection def sync_detailed( *, client: Client, -) -> Response[MateriaalCollectiongetResponseSchema]: +) -> Response[EquipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[MateriaalCollectiongetResponseSchema]: +) -> Optional[EquipmentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[MateriaalCollectiongetResponseSchema]: +) -> Response[EquipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[MateriaalCollectiongetResponseSchema]: +) -> Optional[EquipmentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/equipment/materiaal_item_accessoire_get.py b/rentman_api_client/api/equipment/equipment_item_accessory_get.py similarity index 78% rename from rentman_api_client/api/equipment/materiaal_item_accessoire_get.py rename to rentman_api_client/api/equipment/equipment_item_accessory_get.py index aa724ed..1af4bb1 100644 --- a/rentman_api_client/api/equipment/materiaal_item_accessoire_get.py +++ b/rentman_api_client/api/equipment/equipment_item_accessory_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.accessoire_collectionget_response_schema import AccessoireCollectiongetResponseSchema +from ...models.accessory_collectionget_response_schema import AccessoryCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AccessoireCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[AccessoryCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = AccessoireCollectiongetResponseSchema.from_dict(response.json()) + response_200 = AccessoryCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AccessoireCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[AccessoryCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[AccessoireCollectiongetResponseSchema]: +) -> Response[AccessoryCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[AccessoireCollectiongetResponseSchema]: +) -> Optional[AccessoryCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[AccessoireCollectiongetResponseSchema]: +) -> Response[AccessoryCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[AccessoireCollectiongetResponseSchema]: +) -> Optional[AccessoryCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/equipment/materiaal_item_setinhoud_get.py b/rentman_api_client/api/equipment/equipment_item_equipmentsetscontent_get.py similarity index 70% rename from rentman_api_client/api/equipment/materiaal_item_setinhoud_get.py rename to rentman_api_client/api/equipment/equipment_item_equipmentsetscontent_get.py index d73aafb..436ddc0 100644 --- a/rentman_api_client/api/equipment/materiaal_item_setinhoud_get.py +++ b/rentman_api_client/api/equipment/equipment_item_equipmentsetscontent_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.setinhoud_collectionget_response_schema import SetinhoudCollectiongetResponseSchema +from ...models.equipmentsetscontent_collectionget_response_schema import EquipmentsetscontentCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[SetinhoudCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[EquipmentsetscontentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = SetinhoudCollectiongetResponseSchema.from_dict(response.json()) + response_200 = EquipmentsetscontentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[SetinhoudCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[EquipmentsetscontentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[SetinhoudCollectiongetResponseSchema]: +) -> Response[EquipmentsetscontentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[SetinhoudCollectiongetResponseSchema]: +) -> Optional[EquipmentsetscontentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[SetinhoudCollectiongetResponseSchema]: +) -> Response[EquipmentsetscontentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[SetinhoudCollectiongetResponseSchema]: +) -> Optional[EquipmentsetscontentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/equipment/materiaal_item_files_get.py b/rentman_api_client/api/equipment/equipment_item_files_get.py similarity index 80% rename from rentman_api_client/api/equipment/materiaal_item_files_get.py rename to rentman_api_client/api/equipment/equipment_item_files_get.py index fbd17d2..e31c03a 100644 --- a/rentman_api_client/api/equipment/materiaal_item_files_get.py +++ b/rentman_api_client/api/equipment/equipment_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/equipment/materiaal_item_get.py b/rentman_api_client/api/equipment/equipment_item_get.py similarity index 75% rename from rentman_api_client/api/equipment/materiaal_item_get.py rename to rentman_api_client/api/equipment/equipment_item_get.py index 457b6e6..2d019c0 100644 --- a/rentman_api_client/api/equipment/materiaal_item_get.py +++ b/rentman_api_client/api/equipment/equipment_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.materiaal_itemget_response_schema import MateriaalItemgetResponseSchema +from ...models.equipment_itemget_response_schema import EquipmentItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[MateriaalItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[EquipmentItemgetResponseSchema]: if response.status_code == 200: - response_200 = MateriaalItemgetResponseSchema.from_dict(response.json()) + response_200 = EquipmentItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[MateriaalItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[EquipmentItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[MateriaalItemgetResponseSchema]: +) -> Response[EquipmentItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[MateriaalItemgetResponseSchema]: +) -> Optional[EquipmentItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[MateriaalItemgetResponseSchema]: +) -> Response[EquipmentItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[MateriaalItemgetResponseSchema]: +) -> Optional[EquipmentItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/equipment/materiaal_item_reparatie_get.py b/rentman_api_client/api/equipment/equipment_item_repair_get.py similarity index 78% rename from rentman_api_client/api/equipment/materiaal_item_reparatie_get.py rename to rentman_api_client/api/equipment/equipment_item_repair_get.py index a42cf29..3bf6a72 100644 --- a/rentman_api_client/api/equipment/materiaal_item_reparatie_get.py +++ b/rentman_api_client/api/equipment/equipment_item_repair_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.reparatie_collectionget_response_schema import ReparatieCollectiongetResponseSchema +from ...models.repair_collectionget_response_schema import RepairCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[ReparatieCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[RepairCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = ReparatieCollectiongetResponseSchema.from_dict(response.json()) + response_200 = RepairCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[ReparatieCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[RepairCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[ReparatieCollectiongetResponseSchema]: +) -> Response[RepairCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[ReparatieCollectiongetResponseSchema]: +) -> Optional[RepairCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[ReparatieCollectiongetResponseSchema]: +) -> Response[RepairCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[ReparatieCollectiongetResponseSchema]: +) -> Optional[RepairCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/equipment/materiaal_item_exemplaar_get.py b/rentman_api_client/api/equipment/equipment_item_serialnumber_get.py similarity index 72% rename from rentman_api_client/api/equipment/materiaal_item_exemplaar_get.py rename to rentman_api_client/api/equipment/equipment_item_serialnumber_get.py index c073d55..ea1f72d 100644 --- a/rentman_api_client/api/equipment/materiaal_item_exemplaar_get.py +++ b/rentman_api_client/api/equipment/equipment_item_serialnumber_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.exemplaar_collectionget_response_schema import ExemplaarCollectiongetResponseSchema +from ...models.serialnumber_collectionget_response_schema import SerialnumberCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[ExemplaarCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SerialnumberCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = ExemplaarCollectiongetResponseSchema.from_dict(response.json()) + response_200 = SerialnumberCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[ExemplaarCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SerialnumberCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[ExemplaarCollectiongetResponseSchema]: +) -> Response[SerialnumberCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[ExemplaarCollectiongetResponseSchema]: +) -> Optional[SerialnumberCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[ExemplaarCollectiongetResponseSchema]: +) -> Response[SerialnumberCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[ExemplaarCollectiongetResponseSchema]: +) -> Optional[SerialnumberCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/equipment/materiaal_item_voorraadmutatie_get.py b/rentman_api_client/api/equipment/equipment_item_stockmovement_get.py similarity index 71% rename from rentman_api_client/api/equipment/materiaal_item_voorraadmutatie_get.py rename to rentman_api_client/api/equipment/equipment_item_stockmovement_get.py index 5ecbff7..ca0d187 100644 --- a/rentman_api_client/api/equipment/materiaal_item_voorraadmutatie_get.py +++ b/rentman_api_client/api/equipment/equipment_item_stockmovement_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.voorraadmutatie_collectionget_response_schema import VoorraadmutatieCollectiongetResponseSchema +from ...models.stockmovement_collectionget_response_schema import StockmovementCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[VoorraadmutatieCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[StockmovementCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = VoorraadmutatieCollectiongetResponseSchema.from_dict(response.json()) + response_200 = StockmovementCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[VoorraadmutatieCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[StockmovementCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[VoorraadmutatieCollectiongetResponseSchema]: +) -> Response[StockmovementCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[VoorraadmutatieCollectiongetResponseSchema]: +) -> Optional[StockmovementCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[VoorraadmutatieCollectiongetResponseSchema]: +) -> Response[StockmovementCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[VoorraadmutatieCollectiongetResponseSchema]: +) -> Optional[StockmovementCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/equipment/materiaal_item_voorraadmutatie_post.py b/rentman_api_client/api/equipment/equipment_item_stockmovement_post.py similarity index 65% rename from rentman_api_client/api/equipment/materiaal_item_voorraadmutatie_post.py rename to rentman_api_client/api/equipment/equipment_item_stockmovement_post.py index cd3c297..4dc749a 100644 --- a/rentman_api_client/api/equipment/materiaal_item_voorraadmutatie_post.py +++ b/rentman_api_client/api/equipment/equipment_item_stockmovement_post.py @@ -3,8 +3,8 @@ import httpx from ...client import Client -from ...models.voorraadmutatie_itempost_request_schema import VoorraadmutatieItempostRequestSchema -from ...models.voorraadmutatie_itempost_response_schema import VoorraadmutatieItempostResponseSchema +from ...models.stockmovement_itempost_request_schema import StockmovementItempostRequestSchema +from ...models.stockmovement_itempost_response_schema import StockmovementItempostResponseSchema from ...types import Response @@ -12,7 +12,7 @@ def _get_kwargs( *, client: Client, id: int, - json_body: VoorraadmutatieItempostRequestSchema, + json_body: StockmovementItempostRequestSchema, ) -> Dict[str, Any]: url = "{}/equipment/{id}/stockmovements".format(client.base_url, id=id) @@ -30,15 +30,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[VoorraadmutatieItempostResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[StockmovementItempostResponseSchema]: if response.status_code == 200: - response_200 = VoorraadmutatieItempostResponseSchema.from_dict(response.json()) + response_200 = StockmovementItempostResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[VoorraadmutatieItempostResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[StockmovementItempostResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -51,8 +51,8 @@ def sync_detailed( *, client: Client, id: int, - json_body: VoorraadmutatieItempostRequestSchema, -) -> Response[VoorraadmutatieItempostResponseSchema]: + json_body: StockmovementItempostRequestSchema, +) -> Response[StockmovementItempostResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -70,8 +70,8 @@ def sync( *, client: Client, id: int, - json_body: VoorraadmutatieItempostRequestSchema, -) -> Optional[VoorraadmutatieItempostResponseSchema]: + json_body: StockmovementItempostRequestSchema, +) -> Optional[StockmovementItempostResponseSchema]: """ """ return sync_detailed( @@ -85,8 +85,8 @@ async def asyncio_detailed( *, client: Client, id: int, - json_body: VoorraadmutatieItempostRequestSchema, -) -> Response[VoorraadmutatieItempostResponseSchema]: + json_body: StockmovementItempostRequestSchema, +) -> Response[StockmovementItempostResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -103,8 +103,8 @@ async def asyncio( *, client: Client, id: int, - json_body: VoorraadmutatieItempostRequestSchema, -) -> Optional[VoorraadmutatieItempostResponseSchema]: + json_body: StockmovementItempostRequestSchema, +) -> Optional[StockmovementItempostResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/equipmentsetscontent/setinhoud_collection_get.py b/rentman_api_client/api/equipmentsetscontent/equipmentsetscontent_collection_get.py similarity index 67% rename from rentman_api_client/api/equipmentsetscontent/setinhoud_collection_get.py rename to rentman_api_client/api/equipmentsetscontent/equipmentsetscontent_collection_get.py index ece23d5..19c6661 100644 --- a/rentman_api_client/api/equipmentsetscontent/setinhoud_collection_get.py +++ b/rentman_api_client/api/equipmentsetscontent/equipmentsetscontent_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.setinhoud_collectionget_response_schema import SetinhoudCollectiongetResponseSchema +from ...models.equipmentsetscontent_collectionget_response_schema import EquipmentsetscontentCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[SetinhoudCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[EquipmentsetscontentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = SetinhoudCollectiongetResponseSchema.from_dict(response.json()) + response_200 = EquipmentsetscontentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[SetinhoudCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[EquipmentsetscontentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[SetinhoudCollection def sync_detailed( *, client: Client, -) -> Response[SetinhoudCollectiongetResponseSchema]: +) -> Response[EquipmentsetscontentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[SetinhoudCollectiongetResponseSchema]: +) -> Optional[EquipmentsetscontentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[SetinhoudCollectiongetResponseSchema]: +) -> Response[EquipmentsetscontentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[SetinhoudCollectiongetResponseSchema]: +) -> Optional[EquipmentsetscontentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/equipmentsetscontent/setinhoud_item_get.py b/rentman_api_client/api/equipmentsetscontent/equipmentsetscontent_item_get.py similarity index 71% rename from rentman_api_client/api/equipmentsetscontent/setinhoud_item_get.py rename to rentman_api_client/api/equipmentsetscontent/equipmentsetscontent_item_get.py index 11af7d7..556a329 100644 --- a/rentman_api_client/api/equipmentsetscontent/setinhoud_item_get.py +++ b/rentman_api_client/api/equipmentsetscontent/equipmentsetscontent_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.setinhoud_itemget_response_schema import SetinhoudItemgetResponseSchema +from ...models.equipmentsetscontent_itemget_response_schema import EquipmentsetscontentItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[SetinhoudItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[EquipmentsetscontentItemgetResponseSchema]: if response.status_code == 200: - response_200 = SetinhoudItemgetResponseSchema.from_dict(response.json()) + response_200 = EquipmentsetscontentItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[SetinhoudItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[EquipmentsetscontentItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[SetinhoudItemgetResponseSchema]: +) -> Response[EquipmentsetscontentItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[SetinhoudItemgetResponseSchema]: +) -> Optional[EquipmentsetscontentItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[SetinhoudItemgetResponseSchema]: +) -> Response[EquipmentsetscontentItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[SetinhoudItemgetResponseSchema]: +) -> Optional[EquipmentsetscontentItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/files/files_collection_get.py b/rentman_api_client/api/files/file_collection_get.py similarity index 78% rename from rentman_api_client/api/files/files_collection_get.py rename to rentman_api_client/api/files/file_collection_get.py index dd869f7..03de68d 100644 --- a/rentman_api_client/api/files/files_collection_get.py +++ b/rentman_api_client/api/files/file_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetR def sync_detailed( *, client: Client, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/files/files_item_get.py b/rentman_api_client/api/files/file_item_get.py similarity index 82% rename from rentman_api_client/api/files/files_item_get.py rename to rentman_api_client/api/files/file_item_get.py index 64b70af..3956226 100644 --- a/rentman_api_client/api/files/files_item_get.py +++ b/rentman_api_client/api/files/file_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_itemget_response_schema import FilesItemgetResponseSchema +from ...models.file_itemget_response_schema import FileItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileItemgetResponseSchema]: if response.status_code == 200: - response_200 = FilesItemgetResponseSchema.from_dict(response.json()) + response_200 = FileItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesItemgetResponseSchema]: +) -> Response[FileItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesItemgetResponseSchema]: +) -> Optional[FileItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesItemgetResponseSchema]: +) -> Response[FileItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesItemgetResponseSchema]: +) -> Optional[FileItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/invoicelines/btwbedrag_collection_get.py b/rentman_api_client/api/invoicelines/invoiceline_collection_get.py similarity index 70% rename from rentman_api_client/api/invoicelines/btwbedrag_collection_get.py rename to rentman_api_client/api/invoicelines/invoiceline_collection_get.py index ae9494c..a795dcc 100644 --- a/rentman_api_client/api/invoicelines/btwbedrag_collection_get.py +++ b/rentman_api_client/api/invoicelines/invoiceline_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.btwbedrag_collectionget_response_schema import BtwbedragCollectiongetResponseSchema +from ...models.invoiceline_collectionget_response_schema import InvoicelineCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[BtwbedragCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[InvoicelineCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = BtwbedragCollectiongetResponseSchema.from_dict(response.json()) + response_200 = InvoicelineCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[BtwbedragCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[InvoicelineCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[BtwbedragCollection def sync_detailed( *, client: Client, -) -> Response[BtwbedragCollectiongetResponseSchema]: +) -> Response[InvoicelineCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[BtwbedragCollectiongetResponseSchema]: +) -> Optional[InvoicelineCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[BtwbedragCollectiongetResponseSchema]: +) -> Response[InvoicelineCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[BtwbedragCollectiongetResponseSchema]: +) -> Optional[InvoicelineCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/invoicelines/btwbedrag_item_get.py b/rentman_api_client/api/invoicelines/invoiceline_item_get.py similarity index 74% rename from rentman_api_client/api/invoicelines/btwbedrag_item_get.py rename to rentman_api_client/api/invoicelines/invoiceline_item_get.py index 26c4a53..154562a 100644 --- a/rentman_api_client/api/invoicelines/btwbedrag_item_get.py +++ b/rentman_api_client/api/invoicelines/invoiceline_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.btwbedrag_itemget_response_schema import BtwbedragItemgetResponseSchema +from ...models.invoiceline_itemget_response_schema import InvoicelineItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[BtwbedragItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[InvoicelineItemgetResponseSchema]: if response.status_code == 200: - response_200 = BtwbedragItemgetResponseSchema.from_dict(response.json()) + response_200 = InvoicelineItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[BtwbedragItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[InvoicelineItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[BtwbedragItemgetResponseSchema]: +) -> Response[InvoicelineItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[BtwbedragItemgetResponseSchema]: +) -> Optional[InvoicelineItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[BtwbedragItemgetResponseSchema]: +) -> Response[InvoicelineItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[BtwbedragItemgetResponseSchema]: +) -> Optional[InvoicelineItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/invoices/factuur_collection_get.py b/rentman_api_client/api/invoices/invoice_collection_get.py similarity index 72% rename from rentman_api_client/api/invoices/factuur_collection_get.py rename to rentman_api_client/api/invoices/invoice_collection_get.py index 3ad3ace..6d5ba1f 100644 --- a/rentman_api_client/api/invoices/factuur_collection_get.py +++ b/rentman_api_client/api/invoices/invoice_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.factuur_collectionget_response_schema import FactuurCollectiongetResponseSchema +from ...models.invoice_collectionget_response_schema import InvoiceCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FactuurCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[InvoiceCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FactuurCollectiongetResponseSchema.from_dict(response.json()) + response_200 = InvoiceCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FactuurCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[InvoiceCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[FactuurCollectionge def sync_detailed( *, client: Client, -) -> Response[FactuurCollectiongetResponseSchema]: +) -> Response[InvoiceCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[FactuurCollectiongetResponseSchema]: +) -> Optional[InvoiceCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[FactuurCollectiongetResponseSchema]: +) -> Response[InvoiceCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[FactuurCollectiongetResponseSchema]: +) -> Optional[InvoiceCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/invoices/factuur_item_files_get.py b/rentman_api_client/api/invoices/invoice_item_files_get.py similarity index 80% rename from rentman_api_client/api/invoices/factuur_item_files_get.py rename to rentman_api_client/api/invoices/invoice_item_files_get.py index 811c13a..01dac63 100644 --- a/rentman_api_client/api/invoices/factuur_item_files_get.py +++ b/rentman_api_client/api/invoices/invoice_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/invoices/factuur_item_get.py b/rentman_api_client/api/invoices/invoice_item_get.py similarity index 76% rename from rentman_api_client/api/invoices/factuur_item_get.py rename to rentman_api_client/api/invoices/invoice_item_get.py index 3ea5f60..e464045 100644 --- a/rentman_api_client/api/invoices/factuur_item_get.py +++ b/rentman_api_client/api/invoices/invoice_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.factuur_itemget_response_schema import FactuurItemgetResponseSchema +from ...models.invoice_itemget_response_schema import InvoiceItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FactuurItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[InvoiceItemgetResponseSchema]: if response.status_code == 200: - response_200 = FactuurItemgetResponseSchema.from_dict(response.json()) + response_200 = InvoiceItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FactuurItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[InvoiceItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FactuurItemgetResponseSchema]: +) -> Response[InvoiceItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FactuurItemgetResponseSchema]: +) -> Optional[InvoiceItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FactuurItemgetResponseSchema]: +) -> Response[InvoiceItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FactuurItemgetResponseSchema]: +) -> Optional[InvoiceItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/invoices/factuur_item_btwbedrag_get.py b/rentman_api_client/api/invoices/invoice_item_invoiceline_get.py similarity index 72% rename from rentman_api_client/api/invoices/factuur_item_btwbedrag_get.py rename to rentman_api_client/api/invoices/invoice_item_invoiceline_get.py index e9c6377..9ce1d29 100644 --- a/rentman_api_client/api/invoices/factuur_item_btwbedrag_get.py +++ b/rentman_api_client/api/invoices/invoice_item_invoiceline_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.btwbedrag_collectionget_response_schema import BtwbedragCollectiongetResponseSchema +from ...models.invoiceline_collectionget_response_schema import InvoicelineCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[BtwbedragCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[InvoicelineCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = BtwbedragCollectiongetResponseSchema.from_dict(response.json()) + response_200 = InvoicelineCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[BtwbedragCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[InvoicelineCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[BtwbedragCollectiongetResponseSchema]: +) -> Response[InvoicelineCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[BtwbedragCollectiongetResponseSchema]: +) -> Optional[InvoicelineCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[BtwbedragCollectiongetResponseSchema]: +) -> Response[InvoicelineCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[BtwbedragCollectiongetResponseSchema]: +) -> Optional[InvoicelineCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/invoices/factuur_item_payment_get.py b/rentman_api_client/api/invoices/invoice_item_payment_get.py similarity index 100% rename from rentman_api_client/api/invoices/factuur_item_payment_get.py rename to rentman_api_client/api/invoices/invoice_item_payment_get.py diff --git a/rentman_api_client/api/invoices/factuur_item_payment_post.py b/rentman_api_client/api/invoices/invoice_item_payment_post.py similarity index 100% rename from rentman_api_client/api/invoices/factuur_item_payment_post.py rename to rentman_api_client/api/invoices/invoice_item_payment_post.py diff --git a/rentman_api_client/api/ledgercodes/grootboek_collection_get.py b/rentman_api_client/api/ledgercodes/ledgercode_collection_get.py similarity index 70% rename from rentman_api_client/api/ledgercodes/grootboek_collection_get.py rename to rentman_api_client/api/ledgercodes/ledgercode_collection_get.py index 45af65e..ebd2e86 100644 --- a/rentman_api_client/api/ledgercodes/grootboek_collection_get.py +++ b/rentman_api_client/api/ledgercodes/ledgercode_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.grootboek_collectionget_response_schema import GrootboekCollectiongetResponseSchema +from ...models.ledgercode_collectionget_response_schema import LedgercodeCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[GrootboekCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[LedgercodeCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = GrootboekCollectiongetResponseSchema.from_dict(response.json()) + response_200 = LedgercodeCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[GrootboekCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[LedgercodeCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[GrootboekCollection def sync_detailed( *, client: Client, -) -> Response[GrootboekCollectiongetResponseSchema]: +) -> Response[LedgercodeCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[GrootboekCollectiongetResponseSchema]: +) -> Optional[LedgercodeCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[GrootboekCollectiongetResponseSchema]: +) -> Response[LedgercodeCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[GrootboekCollectiongetResponseSchema]: +) -> Optional[LedgercodeCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/ledgercodes/grootboek_item_get.py b/rentman_api_client/api/ledgercodes/ledgercode_item_get.py similarity index 74% rename from rentman_api_client/api/ledgercodes/grootboek_item_get.py rename to rentman_api_client/api/ledgercodes/ledgercode_item_get.py index 9d23363..ba8aabd 100644 --- a/rentman_api_client/api/ledgercodes/grootboek_item_get.py +++ b/rentman_api_client/api/ledgercodes/ledgercode_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.grootboek_itemget_response_schema import GrootboekItemgetResponseSchema +from ...models.ledgercode_itemget_response_schema import LedgercodeItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[GrootboekItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[LedgercodeItemgetResponseSchema]: if response.status_code == 200: - response_200 = GrootboekItemgetResponseSchema.from_dict(response.json()) + response_200 = LedgercodeItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[GrootboekItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[LedgercodeItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[GrootboekItemgetResponseSchema]: +) -> Response[LedgercodeItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[GrootboekItemgetResponseSchema]: +) -> Optional[LedgercodeItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[GrootboekItemgetResponseSchema]: +) -> Response[LedgercodeItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[GrootboekItemgetResponseSchema]: +) -> Optional[LedgercodeItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectcrew/planningpersoneel_collection_get.py b/rentman_api_client/api/projectcrew/planningpersoneel_collection_get.py deleted file mode 100644 index 4386437..0000000 --- a/rentman_api_client/api/projectcrew/planningpersoneel_collection_get.py +++ /dev/null @@ -1,94 +0,0 @@ -from typing import Any, Dict, Optional - -import httpx - -from ...client import Client -from ...models.planningpersoneel_collectionget_response_schema import PlanningpersoneelCollectiongetResponseSchema -from ...types import Response - - -def _get_kwargs( - *, - client: Client, -) -> Dict[str, Any]: - url = "{}/projectcrew".format(client.base_url) - - headers: Dict[str, Any] = client.get_headers() - cookies: Dict[str, Any] = client.get_cookies() - - return { - "url": url, - "headers": headers, - "cookies": cookies, - "timeout": client.get_timeout(), - } - - -def _parse_response(*, response: httpx.Response) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: - if response.status_code == 200: - response_200 = PlanningpersoneelCollectiongetResponseSchema.from_dict(response.json()) - - return response_200 - return None - - -def _build_response(*, response: httpx.Response) -> Response[PlanningpersoneelCollectiongetResponseSchema]: - return Response( - status_code=response.status_code, - content=response.content, - headers=response.headers, - parsed=_parse_response(response=response), - ) - - -def sync_detailed( - *, - client: Client, -) -> Response[PlanningpersoneelCollectiongetResponseSchema]: - kwargs = _get_kwargs( - client=client, - ) - - response = httpx.get( - **kwargs, - ) - - return _build_response(response=response) - - -def sync( - *, - client: Client, -) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: - """ """ - - return sync_detailed( - client=client, - ).parsed - - -async def asyncio_detailed( - *, - client: Client, -) -> Response[PlanningpersoneelCollectiongetResponseSchema]: - kwargs = _get_kwargs( - client=client, - ) - - async with httpx.AsyncClient() as _client: - response = await _client.get(**kwargs) - - return _build_response(response=response) - - -async def asyncio( - *, - client: Client, -) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: - """ """ - - return ( - await asyncio_detailed( - client=client, - ) - ).parsed diff --git a/rentman_api_client/api/subrentalequipmentgroup/inhuurgroep_collection_get.py b/rentman_api_client/api/projectcrew/projectcrew_collection_get.py similarity index 68% rename from rentman_api_client/api/subrentalequipmentgroup/inhuurgroep_collection_get.py rename to rentman_api_client/api/projectcrew/projectcrew_collection_get.py index 8ea5b89..4eea9d7 100644 --- a/rentman_api_client/api/subrentalequipmentgroup/inhuurgroep_collection_get.py +++ b/rentman_api_client/api/projectcrew/projectcrew_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.inhuurgroep_collectionget_response_schema import InhuurgroepCollectiongetResponseSchema +from ...models.projectcrew_collectionget_response_schema import ProjectcrewCollectiongetResponseSchema from ...types import Response @@ -11,7 +11,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/subrentalequipmentgroup".format(client.base_url) + url = "{}/projectcrew".format(client.base_url) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[InhuurgroepCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectcrewCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = InhuurgroepCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectcrewCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[InhuurgroepCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectcrewCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[InhuurgroepCollecti def sync_detailed( *, client: Client, -) -> Response[InhuurgroepCollectiongetResponseSchema]: +) -> Response[ProjectcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[InhuurgroepCollectiongetResponseSchema]: +) -> Optional[ProjectcrewCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[InhuurgroepCollectiongetResponseSchema]: +) -> Response[ProjectcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[InhuurgroepCollectiongetResponseSchema]: +) -> Optional[ProjectcrewCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectcrew/planningpersoneel_item_get.py b/rentman_api_client/api/projectcrew/projectcrew_item_get.py similarity index 72% rename from rentman_api_client/api/projectcrew/planningpersoneel_item_get.py rename to rentman_api_client/api/projectcrew/projectcrew_item_get.py index 2871b55..b462daf 100644 --- a/rentman_api_client/api/projectcrew/planningpersoneel_item_get.py +++ b/rentman_api_client/api/projectcrew/projectcrew_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningpersoneel_itemget_response_schema import PlanningpersoneelItemgetResponseSchema +from ...models.projectcrew_itemget_response_schema import ProjectcrewItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningpersoneelItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectcrewItemgetResponseSchema]: if response.status_code == 200: - response_200 = PlanningpersoneelItemgetResponseSchema.from_dict(response.json()) + response_200 = ProjectcrewItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningpersoneelItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectcrewItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningpersoneelItemgetResponseSchema]: +) -> Response[ProjectcrewItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningpersoneelItemgetResponseSchema]: +) -> Optional[ProjectcrewItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningpersoneelItemgetResponseSchema]: +) -> Response[ProjectcrewItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningpersoneelItemgetResponseSchema]: +) -> Optional[ProjectcrewItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectequipment/planningmateriaal_collection_get.py b/rentman_api_client/api/projectequipment/projectequipment_collection_get.py similarity index 68% rename from rentman_api_client/api/projectequipment/planningmateriaal_collection_get.py rename to rentman_api_client/api/projectequipment/projectequipment_collection_get.py index 14e6c56..3199f53 100644 --- a/rentman_api_client/api/projectequipment/planningmateriaal_collection_get.py +++ b/rentman_api_client/api/projectequipment/projectequipment_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningmateriaal_collectionget_response_schema import PlanningmateriaalCollectiongetResponseSchema +from ...models.projectequipment_collectionget_response_schema import ProjectequipmentCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectequipmentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningmateriaalCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectequipmentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectequipmentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[PlanningmateriaalCo def sync_detailed( *, client: Client, -) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +) -> Response[ProjectequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +) -> Response[ProjectequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectequipment/planningmateriaal_item_get.py b/rentman_api_client/api/projectequipment/projectequipment_item_get.py similarity index 72% rename from rentman_api_client/api/projectequipment/planningmateriaal_item_get.py rename to rentman_api_client/api/projectequipment/projectequipment_item_get.py index 4230f55..ee9ea3c 100644 --- a/rentman_api_client/api/projectequipment/planningmateriaal_item_get.py +++ b/rentman_api_client/api/projectequipment/projectequipment_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningmateriaal_itemget_response_schema import PlanningmateriaalItemgetResponseSchema +from ...models.projectequipment_itemget_response_schema import ProjectequipmentItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningmateriaalItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectequipmentItemgetResponseSchema]: if response.status_code == 200: - response_200 = PlanningmateriaalItemgetResponseSchema.from_dict(response.json()) + response_200 = ProjectequipmentItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningmateriaalItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectequipmentItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningmateriaalItemgetResponseSchema]: +) -> Response[ProjectequipmentItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningmateriaalItemgetResponseSchema]: +) -> Optional[ProjectequipmentItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningmateriaalItemgetResponseSchema]: +) -> Response[ProjectequipmentItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningmateriaalItemgetResponseSchema]: +) -> Optional[ProjectequipmentItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectequipmentgroup/materiaal_cat_collection_get.py b/rentman_api_client/api/projectequipmentgroup/projectequipmentgroup_collection_get.py similarity index 67% rename from rentman_api_client/api/projectequipmentgroup/materiaal_cat_collection_get.py rename to rentman_api_client/api/projectequipmentgroup/projectequipmentgroup_collection_get.py index 8064b91..9d4d4bd 100644 --- a/rentman_api_client/api/projectequipmentgroup/materiaal_cat_collection_get.py +++ b/rentman_api_client/api/projectequipmentgroup/projectequipmentgroup_collection_get.py @@ -3,7 +3,9 @@ import httpx from ...client import Client -from ...models.materiaal_cat_collectionget_response_schema import MateriaalCatCollectiongetResponseSchema +from ...models.projectequipmentgroup_collectionget_response_schema import ( + ProjectequipmentgroupCollectiongetResponseSchema, +) from ...types import Response @@ -24,15 +26,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[MateriaalCatCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectequipmentgroupCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = MateriaalCatCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectequipmentgroupCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[MateriaalCatCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectequipmentgroupCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +46,7 @@ def _build_response(*, response: httpx.Response) -> Response[MateriaalCatCollect def sync_detailed( *, client: Client, -) -> Response[MateriaalCatCollectiongetResponseSchema]: +) -> Response[ProjectequipmentgroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +61,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[MateriaalCatCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentgroupCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +72,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[MateriaalCatCollectiongetResponseSchema]: +) -> Response[ProjectequipmentgroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +86,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[MateriaalCatCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentgroupCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectequipmentgroup/materiaal_cat_item_get.py b/rentman_api_client/api/projectequipmentgroup/projectequipmentgroup_item_get.py similarity index 71% rename from rentman_api_client/api/projectequipmentgroup/materiaal_cat_item_get.py rename to rentman_api_client/api/projectequipmentgroup/projectequipmentgroup_item_get.py index 9fc7e84..eb0d479 100644 --- a/rentman_api_client/api/projectequipmentgroup/materiaal_cat_item_get.py +++ b/rentman_api_client/api/projectequipmentgroup/projectequipmentgroup_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.materiaal_cat_itemget_response_schema import MateriaalCatItemgetResponseSchema +from ...models.projectequipmentgroup_itemget_response_schema import ProjectequipmentgroupItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[MateriaalCatItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectequipmentgroupItemgetResponseSchema]: if response.status_code == 200: - response_200 = MateriaalCatItemgetResponseSchema.from_dict(response.json()) + response_200 = ProjectequipmentgroupItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[MateriaalCatItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectequipmentgroupItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[MateriaalCatItemgetResponseSchema]: +) -> Response[ProjectequipmentgroupItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[MateriaalCatItemgetResponseSchema]: +) -> Optional[ProjectequipmentgroupItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[MateriaalCatItemgetResponseSchema]: +) -> Response[ProjectequipmentgroupItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[MateriaalCatItemgetResponseSchema]: +) -> Optional[ProjectequipmentgroupItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectequipmentgroup/materiaal_cat_item_planningmateriaal_get.py b/rentman_api_client/api/projectequipmentgroup/projectequipmentgroup_item_projectequipment_get.py similarity index 70% rename from rentman_api_client/api/projectequipmentgroup/materiaal_cat_item_planningmateriaal_get.py rename to rentman_api_client/api/projectequipmentgroup/projectequipmentgroup_item_projectequipment_get.py index 0593ba6..1039355 100644 --- a/rentman_api_client/api/projectequipmentgroup/materiaal_cat_item_planningmateriaal_get.py +++ b/rentman_api_client/api/projectequipmentgroup/projectequipmentgroup_item_projectequipment_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningmateriaal_collectionget_response_schema import PlanningmateriaalCollectiongetResponseSchema +from ...models.projectequipment_collectionget_response_schema import ProjectequipmentCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectequipmentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningmateriaalCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectequipmentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectequipmentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +) -> Response[ProjectequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +) -> Response[ProjectequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectfunctiongroups/functiegroep_collection_get.py b/rentman_api_client/api/projectfunctiongroups/projectfunctiongroup_collection_get.py similarity index 67% rename from rentman_api_client/api/projectfunctiongroups/functiegroep_collection_get.py rename to rentman_api_client/api/projectfunctiongroups/projectfunctiongroup_collection_get.py index 311d873..fca1453 100644 --- a/rentman_api_client/api/projectfunctiongroups/functiegroep_collection_get.py +++ b/rentman_api_client/api/projectfunctiongroups/projectfunctiongroup_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.functiegroep_collectionget_response_schema import FunctiegroepCollectiongetResponseSchema +from ...models.projectfunctiongroup_collectionget_response_schema import ProjectfunctiongroupCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctiegroepCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectfunctiongroupCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FunctiegroepCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectfunctiongroupCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctiegroepCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectfunctiongroupCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[FunctiegroepCollect def sync_detailed( *, client: Client, -) -> Response[FunctiegroepCollectiongetResponseSchema]: +) -> Response[ProjectfunctiongroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[FunctiegroepCollectiongetResponseSchema]: +) -> Optional[ProjectfunctiongroupCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[FunctiegroepCollectiongetResponseSchema]: +) -> Response[ProjectfunctiongroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[FunctiegroepCollectiongetResponseSchema]: +) -> Optional[ProjectfunctiongroupCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectfunctiongroups/functiegroep_item_get.py b/rentman_api_client/api/projectfunctiongroups/projectfunctiongroup_item_get.py similarity index 71% rename from rentman_api_client/api/projectfunctiongroups/functiegroep_item_get.py rename to rentman_api_client/api/projectfunctiongroups/projectfunctiongroup_item_get.py index ae852c8..dbe9fa5 100644 --- a/rentman_api_client/api/projectfunctiongroups/functiegroep_item_get.py +++ b/rentman_api_client/api/projectfunctiongroups/projectfunctiongroup_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.functiegroep_itemget_response_schema import FunctiegroepItemgetResponseSchema +from ...models.projectfunctiongroup_itemget_response_schema import ProjectfunctiongroupItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctiegroepItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectfunctiongroupItemgetResponseSchema]: if response.status_code == 200: - response_200 = FunctiegroepItemgetResponseSchema.from_dict(response.json()) + response_200 = ProjectfunctiongroupItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctiegroepItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectfunctiongroupItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FunctiegroepItemgetResponseSchema]: +) -> Response[ProjectfunctiongroupItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FunctiegroepItemgetResponseSchema]: +) -> Optional[ProjectfunctiongroupItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FunctiegroepItemgetResponseSchema]: +) -> Response[ProjectfunctiongroupItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FunctiegroepItemgetResponseSchema]: +) -> Optional[ProjectfunctiongroupItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectfunctiongroups/functiegroep_item_functie_get.py b/rentman_api_client/api/projectfunctiongroups/projectfunctiongroup_item_projectfunction_get.py similarity index 71% rename from rentman_api_client/api/projectfunctiongroups/functiegroep_item_functie_get.py rename to rentman_api_client/api/projectfunctiongroups/projectfunctiongroup_item_projectfunction_get.py index b7f6168..7c46a81 100644 --- a/rentman_api_client/api/projectfunctiongroups/functiegroep_item_functie_get.py +++ b/rentman_api_client/api/projectfunctiongroups/projectfunctiongroup_item_projectfunction_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.functie_collectionget_response_schema import FunctieCollectiongetResponseSchema +from ...models.projectfunction_collectionget_response_schema import ProjectfunctionCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctieCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectfunctionCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FunctieCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectfunctionCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctieCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectfunctionCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FunctieCollectiongetResponseSchema]: +) -> Response[ProjectfunctionCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FunctieCollectiongetResponseSchema]: +) -> Optional[ProjectfunctionCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FunctieCollectiongetResponseSchema]: +) -> Response[ProjectfunctionCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FunctieCollectiongetResponseSchema]: +) -> Optional[ProjectfunctionCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectfunctions/functie_collection_get.py b/rentman_api_client/api/projectfunctions/projectfunction_collection_get.py similarity index 69% rename from rentman_api_client/api/projectfunctions/functie_collection_get.py rename to rentman_api_client/api/projectfunctions/projectfunction_collection_get.py index 530d551..cd94420 100644 --- a/rentman_api_client/api/projectfunctions/functie_collection_get.py +++ b/rentman_api_client/api/projectfunctions/projectfunction_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.functie_collectionget_response_schema import FunctieCollectiongetResponseSchema +from ...models.projectfunction_collectionget_response_schema import ProjectfunctionCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctieCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectfunctionCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FunctieCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectfunctionCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctieCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectfunctionCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[FunctieCollectionge def sync_detailed( *, client: Client, -) -> Response[FunctieCollectiongetResponseSchema]: +) -> Response[ProjectfunctionCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[FunctieCollectiongetResponseSchema]: +) -> Optional[ProjectfunctionCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[FunctieCollectiongetResponseSchema]: +) -> Response[ProjectfunctionCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[FunctieCollectiongetResponseSchema]: +) -> Optional[ProjectfunctionCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectfunctions/functie_item_get.py b/rentman_api_client/api/projectfunctions/projectfunction_item_get.py similarity index 72% rename from rentman_api_client/api/projectfunctions/functie_item_get.py rename to rentman_api_client/api/projectfunctions/projectfunction_item_get.py index 99d81de..d7aeebd 100644 --- a/rentman_api_client/api/projectfunctions/functie_item_get.py +++ b/rentman_api_client/api/projectfunctions/projectfunction_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.functie_itemget_response_schema import FunctieItemgetResponseSchema +from ...models.projectfunction_itemget_response_schema import ProjectfunctionItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctieItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectfunctionItemgetResponseSchema]: if response.status_code == 200: - response_200 = FunctieItemgetResponseSchema.from_dict(response.json()) + response_200 = ProjectfunctionItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctieItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectfunctionItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FunctieItemgetResponseSchema]: +) -> Response[ProjectfunctionItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FunctieItemgetResponseSchema]: +) -> Optional[ProjectfunctionItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FunctieItemgetResponseSchema]: +) -> Response[ProjectfunctionItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FunctieItemgetResponseSchema]: +) -> Optional[ProjectfunctionItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectfunctions/functie_item_planningpersoneel_get.py b/rentman_api_client/api/projectfunctions/projectfunction_item_projectcrew_get.py similarity index 70% rename from rentman_api_client/api/projectfunctions/functie_item_planningpersoneel_get.py rename to rentman_api_client/api/projectfunctions/projectfunction_item_projectcrew_get.py index a15be96..0ad4d7f 100644 --- a/rentman_api_client/api/projectfunctions/functie_item_planningpersoneel_get.py +++ b/rentman_api_client/api/projectfunctions/projectfunction_item_projectcrew_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningpersoneel_collectionget_response_schema import PlanningpersoneelCollectiongetResponseSchema +from ...models.projectcrew_collectionget_response_schema import ProjectcrewCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectcrewCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningpersoneelCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectcrewCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningpersoneelCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectcrewCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningpersoneelCollectiongetResponseSchema]: +) -> Response[ProjectcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: +) -> Optional[ProjectcrewCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningpersoneelCollectiongetResponseSchema]: +) -> Response[ProjectcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: +) -> Optional[ProjectcrewCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectfunctions/functie_item_planningtransport_get.py b/rentman_api_client/api/projectfunctions/projectfunction_item_projectvehicle_get.py similarity index 70% rename from rentman_api_client/api/projectfunctions/functie_item_planningtransport_get.py rename to rentman_api_client/api/projectfunctions/projectfunction_item_projectvehicle_get.py index 59b239a..0cbbecc 100644 --- a/rentman_api_client/api/projectfunctions/functie_item_planningtransport_get.py +++ b/rentman_api_client/api/projectfunctions/projectfunction_item_projectvehicle_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningtransport_collectionget_response_schema import PlanningtransportCollectiongetResponseSchema +from ...models.projectvehicle_collectionget_response_schema import ProjectvehicleCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningtransportCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectvehicleCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningtransportCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectvehicleCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningtransportCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectvehicleCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningtransportCollectiongetResponseSchema]: +) -> Response[ProjectvehicleCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningtransportCollectiongetResponseSchema]: +) -> Optional[ProjectvehicleCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningtransportCollectiongetResponseSchema]: +) -> Response[ProjectvehicleCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningtransportCollectiongetResponseSchema]: +) -> Optional[ProjectvehicleCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projects/project_item_files_get.py b/rentman_api_client/api/projects/project_item_files_get.py index c92d446..784a122 100644 --- a/rentman_api_client/api/projects/project_item_files_get.py +++ b/rentman_api_client/api/projects/project_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projects/project_item_planningpersoneel_get.py b/rentman_api_client/api/projects/project_item_projectcrew_get.py similarity index 70% rename from rentman_api_client/api/projects/project_item_planningpersoneel_get.py rename to rentman_api_client/api/projects/project_item_projectcrew_get.py index af7ee3a..ec228b0 100644 --- a/rentman_api_client/api/projects/project_item_planningpersoneel_get.py +++ b/rentman_api_client/api/projects/project_item_projectcrew_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningpersoneel_collectionget_response_schema import PlanningpersoneelCollectiongetResponseSchema +from ...models.projectcrew_collectionget_response_schema import ProjectcrewCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectcrewCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningpersoneelCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectcrewCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningpersoneelCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectcrewCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningpersoneelCollectiongetResponseSchema]: +) -> Response[ProjectcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: +) -> Optional[ProjectcrewCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningpersoneelCollectiongetResponseSchema]: +) -> Response[ProjectcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: +) -> Optional[ProjectcrewCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projects/project_item_planningmateriaal_get.py b/rentman_api_client/api/projects/project_item_projectequipment_get.py similarity index 70% rename from rentman_api_client/api/projects/project_item_planningmateriaal_get.py rename to rentman_api_client/api/projects/project_item_projectequipment_get.py index a0d274a..61fcb33 100644 --- a/rentman_api_client/api/projects/project_item_planningmateriaal_get.py +++ b/rentman_api_client/api/projects/project_item_projectequipment_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningmateriaal_collectionget_response_schema import PlanningmateriaalCollectiongetResponseSchema +from ...models.projectequipment_collectionget_response_schema import ProjectequipmentCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectequipmentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningmateriaalCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectequipmentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectequipmentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +) -> Response[ProjectequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +) -> Response[ProjectequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projects/project_item_materiaal_cat_get.py b/rentman_api_client/api/projects/project_item_projectequipmentgroup_get.py similarity index 69% rename from rentman_api_client/api/projects/project_item_materiaal_cat_get.py rename to rentman_api_client/api/projects/project_item_projectequipmentgroup_get.py index 3664e5b..7842475 100644 --- a/rentman_api_client/api/projects/project_item_materiaal_cat_get.py +++ b/rentman_api_client/api/projects/project_item_projectequipmentgroup_get.py @@ -3,7 +3,9 @@ import httpx from ...client import Client -from ...models.materiaal_cat_collectionget_response_schema import MateriaalCatCollectiongetResponseSchema +from ...models.projectequipmentgroup_collectionget_response_schema import ( + ProjectequipmentgroupCollectiongetResponseSchema, +) from ...types import Response @@ -25,15 +27,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[MateriaalCatCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectequipmentgroupCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = MateriaalCatCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectequipmentgroupCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[MateriaalCatCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectequipmentgroupCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +48,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[MateriaalCatCollectiongetResponseSchema]: +) -> Response[ProjectequipmentgroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +65,7 @@ def sync( *, client: Client, id: int, -) -> Optional[MateriaalCatCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentgroupCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +78,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[MateriaalCatCollectiongetResponseSchema]: +) -> Response[ProjectequipmentgroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +94,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[MateriaalCatCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentgroupCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projects/project_item_functie_get.py b/rentman_api_client/api/projects/project_item_projectfunction_get.py similarity index 71% rename from rentman_api_client/api/projects/project_item_functie_get.py rename to rentman_api_client/api/projects/project_item_projectfunction_get.py index a02c1ba..58c63b9 100644 --- a/rentman_api_client/api/projects/project_item_functie_get.py +++ b/rentman_api_client/api/projects/project_item_projectfunction_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.functie_collectionget_response_schema import FunctieCollectiongetResponseSchema +from ...models.projectfunction_collectionget_response_schema import ProjectfunctionCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctieCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectfunctionCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FunctieCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectfunctionCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctieCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectfunctionCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FunctieCollectiongetResponseSchema]: +) -> Response[ProjectfunctionCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FunctieCollectiongetResponseSchema]: +) -> Optional[ProjectfunctionCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FunctieCollectiongetResponseSchema]: +) -> Response[ProjectfunctionCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FunctieCollectiongetResponseSchema]: +) -> Optional[ProjectfunctionCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projects/project_item_functiegroep_get.py b/rentman_api_client/api/projects/project_item_projectfunctiongroup_get.py similarity index 70% rename from rentman_api_client/api/projects/project_item_functiegroep_get.py rename to rentman_api_client/api/projects/project_item_projectfunctiongroup_get.py index 16f033b..c60d79c 100644 --- a/rentman_api_client/api/projects/project_item_functiegroep_get.py +++ b/rentman_api_client/api/projects/project_item_projectfunctiongroup_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.functiegroep_collectionget_response_schema import FunctiegroepCollectiongetResponseSchema +from ...models.projectfunctiongroup_collectionget_response_schema import ProjectfunctiongroupCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctiegroepCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectfunctiongroupCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FunctiegroepCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectfunctiongroupCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctiegroepCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectfunctiongroupCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FunctiegroepCollectiongetResponseSchema]: +) -> Response[ProjectfunctiongroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FunctiegroepCollectiongetResponseSchema]: +) -> Optional[ProjectfunctiongroupCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FunctiegroepCollectiongetResponseSchema]: +) -> Response[ProjectfunctiongroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FunctiegroepCollectiongetResponseSchema]: +) -> Optional[ProjectfunctiongroupCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projects/project_item_planningtransport_get.py b/rentman_api_client/api/projects/project_item_projectvehicle_get.py similarity index 70% rename from rentman_api_client/api/projects/project_item_planningtransport_get.py rename to rentman_api_client/api/projects/project_item_projectvehicle_get.py index 3c1ed06..d5df773 100644 --- a/rentman_api_client/api/projects/project_item_planningtransport_get.py +++ b/rentman_api_client/api/projects/project_item_projectvehicle_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningtransport_collectionget_response_schema import PlanningtransportCollectiongetResponseSchema +from ...models.projectvehicle_collectionget_response_schema import ProjectvehicleCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningtransportCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectvehicleCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningtransportCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectvehicleCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningtransportCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectvehicleCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningtransportCollectiongetResponseSchema]: +) -> Response[ProjectvehicleCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningtransportCollectiongetResponseSchema]: +) -> Optional[ProjectvehicleCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningtransportCollectiongetResponseSchema]: +) -> Response[ProjectvehicleCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningtransportCollectiongetResponseSchema]: +) -> Optional[ProjectvehicleCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projects/project_item_offerte_get.py b/rentman_api_client/api/projects/project_item_quote_get.py similarity index 73% rename from rentman_api_client/api/projects/project_item_offerte_get.py rename to rentman_api_client/api/projects/project_item_quote_get.py index c07b656..6e384f0 100644 --- a/rentman_api_client/api/projects/project_item_offerte_get.py +++ b/rentman_api_client/api/projects/project_item_quote_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.offerte_collectionget_response_schema import OfferteCollectiongetResponseSchema +from ...models.quote_collectionget_response_schema import QuoteCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[OfferteCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[QuoteCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = OfferteCollectiongetResponseSchema.from_dict(response.json()) + response_200 = QuoteCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[OfferteCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[QuoteCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[OfferteCollectiongetResponseSchema]: +) -> Response[QuoteCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[OfferteCollectiongetResponseSchema]: +) -> Optional[QuoteCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[OfferteCollectiongetResponseSchema]: +) -> Response[QuoteCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[OfferteCollectiongetResponseSchema]: +) -> Optional[QuoteCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projecttypes/projecttype_collection_get.py b/rentman_api_client/api/projecttypes/projecttype_collection_get.py new file mode 100644 index 0000000..86dded1 --- /dev/null +++ b/rentman_api_client/api/projecttypes/projecttype_collection_get.py @@ -0,0 +1,94 @@ +from typing import Any, Dict, Optional + +import httpx + +from ...client import Client +from ...models.projecttype_collectionget_response_schema import ProjecttypeCollectiongetResponseSchema +from ...types import Response + + +def _get_kwargs( + *, + client: Client, +) -> Dict[str, Any]: + url = "{}/projecttypes".format(client.base_url) + + headers: Dict[str, Any] = client.get_headers() + cookies: Dict[str, Any] = client.get_cookies() + + return { + "url": url, + "headers": headers, + "cookies": cookies, + "timeout": client.get_timeout(), + } + + +def _parse_response(*, response: httpx.Response) -> Optional[ProjecttypeCollectiongetResponseSchema]: + if response.status_code == 200: + response_200 = ProjecttypeCollectiongetResponseSchema.from_dict(response.json()) + + return response_200 + return None + + +def _build_response(*, response: httpx.Response) -> Response[ProjecttypeCollectiongetResponseSchema]: + return Response( + status_code=response.status_code, + content=response.content, + headers=response.headers, + parsed=_parse_response(response=response), + ) + + +def sync_detailed( + *, + client: Client, +) -> Response[ProjecttypeCollectiongetResponseSchema]: + kwargs = _get_kwargs( + client=client, + ) + + response = httpx.get( + **kwargs, + ) + + return _build_response(response=response) + + +def sync( + *, + client: Client, +) -> Optional[ProjecttypeCollectiongetResponseSchema]: + """ """ + + return sync_detailed( + client=client, + ).parsed + + +async def asyncio_detailed( + *, + client: Client, +) -> Response[ProjecttypeCollectiongetResponseSchema]: + kwargs = _get_kwargs( + client=client, + ) + + async with httpx.AsyncClient() as _client: + response = await _client.get(**kwargs) + + return _build_response(response=response) + + +async def asyncio( + *, + client: Client, +) -> Optional[ProjecttypeCollectiongetResponseSchema]: + """ """ + + return ( + await asyncio_detailed( + client=client, + ) + ).parsed diff --git a/rentman_api_client/api/projecttypes/projecttype_item_get.py b/rentman_api_client/api/projecttypes/projecttype_item_get.py new file mode 100644 index 0000000..8151d5f --- /dev/null +++ b/rentman_api_client/api/projecttypes/projecttype_item_get.py @@ -0,0 +1,103 @@ +from typing import Any, Dict, Optional + +import httpx + +from ...client import Client +from ...models.projecttype_itemget_response_schema import ProjecttypeItemgetResponseSchema +from ...types import Response + + +def _get_kwargs( + *, + client: Client, + id: int, +) -> Dict[str, Any]: + url = "{}/projecttypes/{id}".format(client.base_url, id=id) + + headers: Dict[str, Any] = client.get_headers() + cookies: Dict[str, Any] = client.get_cookies() + + return { + "url": url, + "headers": headers, + "cookies": cookies, + "timeout": client.get_timeout(), + } + + +def _parse_response(*, response: httpx.Response) -> Optional[ProjecttypeItemgetResponseSchema]: + if response.status_code == 200: + response_200 = ProjecttypeItemgetResponseSchema.from_dict(response.json()) + + return response_200 + return None + + +def _build_response(*, response: httpx.Response) -> Response[ProjecttypeItemgetResponseSchema]: + return Response( + status_code=response.status_code, + content=response.content, + headers=response.headers, + parsed=_parse_response(response=response), + ) + + +def sync_detailed( + *, + client: Client, + id: int, +) -> Response[ProjecttypeItemgetResponseSchema]: + kwargs = _get_kwargs( + client=client, + id=id, + ) + + response = httpx.get( + **kwargs, + ) + + return _build_response(response=response) + + +def sync( + *, + client: Client, + id: int, +) -> Optional[ProjecttypeItemgetResponseSchema]: + """ """ + + return sync_detailed( + client=client, + id=id, + ).parsed + + +async def asyncio_detailed( + *, + client: Client, + id: int, +) -> Response[ProjecttypeItemgetResponseSchema]: + kwargs = _get_kwargs( + client=client, + id=id, + ) + + async with httpx.AsyncClient() as _client: + response = await _client.get(**kwargs) + + return _build_response(response=response) + + +async def asyncio( + *, + client: Client, + id: int, +) -> Optional[ProjecttypeItemgetResponseSchema]: + """ """ + + return ( + await asyncio_detailed( + client=client, + id=id, + ) + ).parsed diff --git a/rentman_api_client/api/projectvehicles/planningtransport_collection_get.py b/rentman_api_client/api/projectvehicles/projectvehicle_collection_get.py similarity index 68% rename from rentman_api_client/api/projectvehicles/planningtransport_collection_get.py rename to rentman_api_client/api/projectvehicles/projectvehicle_collection_get.py index d3cec8c..1a6b181 100644 --- a/rentman_api_client/api/projectvehicles/planningtransport_collection_get.py +++ b/rentman_api_client/api/projectvehicles/projectvehicle_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningtransport_collectionget_response_schema import PlanningtransportCollectiongetResponseSchema +from ...models.projectvehicle_collectionget_response_schema import ProjectvehicleCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningtransportCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectvehicleCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningtransportCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectvehicleCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningtransportCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectvehicleCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[PlanningtransportCo def sync_detailed( *, client: Client, -) -> Response[PlanningtransportCollectiongetResponseSchema]: +) -> Response[ProjectvehicleCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[PlanningtransportCollectiongetResponseSchema]: +) -> Optional[ProjectvehicleCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[PlanningtransportCollectiongetResponseSchema]: +) -> Response[ProjectvehicleCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[PlanningtransportCollectiongetResponseSchema]: +) -> Optional[ProjectvehicleCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/projectvehicles/planningtransport_item_get.py b/rentman_api_client/api/projectvehicles/projectvehicle_item_get.py similarity index 72% rename from rentman_api_client/api/projectvehicles/planningtransport_item_get.py rename to rentman_api_client/api/projectvehicles/projectvehicle_item_get.py index 425927a..131569e 100644 --- a/rentman_api_client/api/projectvehicles/planningtransport_item_get.py +++ b/rentman_api_client/api/projectvehicles/projectvehicle_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningtransport_itemget_response_schema import PlanningtransportItemgetResponseSchema +from ...models.projectvehicle_itemget_response_schema import ProjectvehicleItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningtransportItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectvehicleItemgetResponseSchema]: if response.status_code == 200: - response_200 = PlanningtransportItemgetResponseSchema.from_dict(response.json()) + response_200 = ProjectvehicleItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningtransportItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectvehicleItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningtransportItemgetResponseSchema]: +) -> Response[ProjectvehicleItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningtransportItemgetResponseSchema]: +) -> Optional[ProjectvehicleItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningtransportItemgetResponseSchema]: +) -> Response[ProjectvehicleItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningtransportItemgetResponseSchema]: +) -> Optional[ProjectvehicleItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/quotes/offerte_collection_get.py b/rentman_api_client/api/quotes/quote_collection_get.py similarity index 71% rename from rentman_api_client/api/quotes/offerte_collection_get.py rename to rentman_api_client/api/quotes/quote_collection_get.py index aa87c8a..0b56c48 100644 --- a/rentman_api_client/api/quotes/offerte_collection_get.py +++ b/rentman_api_client/api/quotes/quote_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.offerte_collectionget_response_schema import OfferteCollectiongetResponseSchema +from ...models.quote_collectionget_response_schema import QuoteCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[OfferteCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[QuoteCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = OfferteCollectiongetResponseSchema.from_dict(response.json()) + response_200 = QuoteCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[OfferteCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[QuoteCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[OfferteCollectionge def sync_detailed( *, client: Client, -) -> Response[OfferteCollectiongetResponseSchema]: +) -> Response[QuoteCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[OfferteCollectiongetResponseSchema]: +) -> Optional[QuoteCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[OfferteCollectiongetResponseSchema]: +) -> Response[QuoteCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[OfferteCollectiongetResponseSchema]: +) -> Optional[QuoteCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/quotes/offerte_item_files_get.py b/rentman_api_client/api/quotes/quote_item_files_get.py similarity index 80% rename from rentman_api_client/api/quotes/offerte_item_files_get.py rename to rentman_api_client/api/quotes/quote_item_files_get.py index 56de1a1..b670e3a 100644 --- a/rentman_api_client/api/quotes/offerte_item_files_get.py +++ b/rentman_api_client/api/quotes/quote_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/quotes/offerte_item_get.py b/rentman_api_client/api/quotes/quote_item_get.py similarity index 75% rename from rentman_api_client/api/quotes/offerte_item_get.py rename to rentman_api_client/api/quotes/quote_item_get.py index 2177741..4c5ad1a 100644 --- a/rentman_api_client/api/quotes/offerte_item_get.py +++ b/rentman_api_client/api/quotes/quote_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.offerte_itemget_response_schema import OfferteItemgetResponseSchema +from ...models.quote_itemget_response_schema import QuoteItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[OfferteItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[QuoteItemgetResponseSchema]: if response.status_code == 200: - response_200 = OfferteItemgetResponseSchema.from_dict(response.json()) + response_200 = QuoteItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[OfferteItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[QuoteItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[OfferteItemgetResponseSchema]: +) -> Response[QuoteItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[OfferteItemgetResponseSchema]: +) -> Optional[QuoteItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[OfferteItemgetResponseSchema]: +) -> Response[QuoteItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[OfferteItemgetResponseSchema]: +) -> Optional[QuoteItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/quotes/offerte_item_btwbedrag_get.py b/rentman_api_client/api/quotes/quote_item_invoiceline_get.py similarity index 72% rename from rentman_api_client/api/quotes/offerte_item_btwbedrag_get.py rename to rentman_api_client/api/quotes/quote_item_invoiceline_get.py index f8ea85e..278450c 100644 --- a/rentman_api_client/api/quotes/offerte_item_btwbedrag_get.py +++ b/rentman_api_client/api/quotes/quote_item_invoiceline_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.btwbedrag_collectionget_response_schema import BtwbedragCollectiongetResponseSchema +from ...models.invoiceline_collectionget_response_schema import InvoicelineCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[BtwbedragCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[InvoicelineCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = BtwbedragCollectiongetResponseSchema.from_dict(response.json()) + response_200 = InvoicelineCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[BtwbedragCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[InvoicelineCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[BtwbedragCollectiongetResponseSchema]: +) -> Response[InvoicelineCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[BtwbedragCollectiongetResponseSchema]: +) -> Optional[InvoicelineCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[BtwbedragCollectiongetResponseSchema]: +) -> Response[InvoicelineCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[BtwbedragCollectiongetResponseSchema]: +) -> Optional[InvoicelineCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/repairs/reparatie_collection_get.py b/rentman_api_client/api/repairs/repair_collection_get.py similarity index 77% rename from rentman_api_client/api/repairs/reparatie_collection_get.py rename to rentman_api_client/api/repairs/repair_collection_get.py index aaf0bc6..67279b3 100644 --- a/rentman_api_client/api/repairs/reparatie_collection_get.py +++ b/rentman_api_client/api/repairs/repair_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.reparatie_collectionget_response_schema import ReparatieCollectiongetResponseSchema +from ...models.repair_collectionget_response_schema import RepairCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[ReparatieCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[RepairCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = ReparatieCollectiongetResponseSchema.from_dict(response.json()) + response_200 = RepairCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[ReparatieCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[RepairCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[ReparatieCollection def sync_detailed( *, client: Client, -) -> Response[ReparatieCollectiongetResponseSchema]: +) -> Response[RepairCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[ReparatieCollectiongetResponseSchema]: +) -> Optional[RepairCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[ReparatieCollectiongetResponseSchema]: +) -> Response[RepairCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[ReparatieCollectiongetResponseSchema]: +) -> Optional[RepairCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/repairs/reparatie_item_files_get.py b/rentman_api_client/api/repairs/repair_item_files_get.py similarity index 80% rename from rentman_api_client/api/repairs/reparatie_item_files_get.py rename to rentman_api_client/api/repairs/repair_item_files_get.py index e93eac8..6eb4548 100644 --- a/rentman_api_client/api/repairs/reparatie_item_files_get.py +++ b/rentman_api_client/api/repairs/repair_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/repairs/reparatie_item_get.py b/rentman_api_client/api/repairs/repair_item_get.py similarity index 80% rename from rentman_api_client/api/repairs/reparatie_item_get.py rename to rentman_api_client/api/repairs/repair_item_get.py index 99f432f..068f6e3 100644 --- a/rentman_api_client/api/repairs/reparatie_item_get.py +++ b/rentman_api_client/api/repairs/repair_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.reparatie_itemget_response_schema import ReparatieItemgetResponseSchema +from ...models.repair_itemget_response_schema import RepairItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[ReparatieItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[RepairItemgetResponseSchema]: if response.status_code == 200: - response_200 = ReparatieItemgetResponseSchema.from_dict(response.json()) + response_200 = RepairItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[ReparatieItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[RepairItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[ReparatieItemgetResponseSchema]: +) -> Response[RepairItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[ReparatieItemgetResponseSchema]: +) -> Optional[RepairItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[ReparatieItemgetResponseSchema]: +) -> Response[RepairItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[ReparatieItemgetResponseSchema]: +) -> Optional[RepairItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/serialnumbers/exemplaar_collection_get.py b/rentman_api_client/api/serialnumbers/serialnumber_collection_get.py similarity index 70% rename from rentman_api_client/api/serialnumbers/exemplaar_collection_get.py rename to rentman_api_client/api/serialnumbers/serialnumber_collection_get.py index 6f8d2c5..8875a1c 100644 --- a/rentman_api_client/api/serialnumbers/exemplaar_collection_get.py +++ b/rentman_api_client/api/serialnumbers/serialnumber_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.exemplaar_collectionget_response_schema import ExemplaarCollectiongetResponseSchema +from ...models.serialnumber_collectionget_response_schema import SerialnumberCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[ExemplaarCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SerialnumberCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = ExemplaarCollectiongetResponseSchema.from_dict(response.json()) + response_200 = SerialnumberCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[ExemplaarCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SerialnumberCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[ExemplaarCollection def sync_detailed( *, client: Client, -) -> Response[ExemplaarCollectiongetResponseSchema]: +) -> Response[SerialnumberCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[ExemplaarCollectiongetResponseSchema]: +) -> Optional[SerialnumberCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[ExemplaarCollectiongetResponseSchema]: +) -> Response[SerialnumberCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[ExemplaarCollectiongetResponseSchema]: +) -> Optional[SerialnumberCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/serialnumbers/exemplaar_item_files_get.py b/rentman_api_client/api/serialnumbers/serialnumber_item_files_get.py similarity index 80% rename from rentman_api_client/api/serialnumbers/exemplaar_item_files_get.py rename to rentman_api_client/api/serialnumbers/serialnumber_item_files_get.py index 8d94546..dff2333 100644 --- a/rentman_api_client/api/serialnumbers/exemplaar_item_files_get.py +++ b/rentman_api_client/api/serialnumbers/serialnumber_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/serialnumbers/exemplaar_item_get.py b/rentman_api_client/api/serialnumbers/serialnumber_item_get.py similarity index 73% rename from rentman_api_client/api/serialnumbers/exemplaar_item_get.py rename to rentman_api_client/api/serialnumbers/serialnumber_item_get.py index 0c9264c..44c427a 100644 --- a/rentman_api_client/api/serialnumbers/exemplaar_item_get.py +++ b/rentman_api_client/api/serialnumbers/serialnumber_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.exemplaar_itemget_response_schema import ExemplaarItemgetResponseSchema +from ...models.serialnumber_itemget_response_schema import SerialnumberItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[ExemplaarItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SerialnumberItemgetResponseSchema]: if response.status_code == 200: - response_200 = ExemplaarItemgetResponseSchema.from_dict(response.json()) + response_200 = SerialnumberItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[ExemplaarItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SerialnumberItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[ExemplaarItemgetResponseSchema]: +) -> Response[SerialnumberItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[ExemplaarItemgetResponseSchema]: +) -> Optional[SerialnumberItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[ExemplaarItemgetResponseSchema]: +) -> Response[SerialnumberItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[ExemplaarItemgetResponseSchema]: +) -> Optional[SerialnumberItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/stocklocations/asset_location_collection_get.py b/rentman_api_client/api/stocklocations/stock_location_collection_get.py similarity index 71% rename from rentman_api_client/api/stocklocations/asset_location_collection_get.py rename to rentman_api_client/api/stocklocations/stock_location_collection_get.py index 7e4f904..04b04d4 100644 --- a/rentman_api_client/api/stocklocations/asset_location_collection_get.py +++ b/rentman_api_client/api/stocklocations/stock_location_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.asset_location_collectionget_response_schema import AssetLocationCollectiongetResponseSchema +from ...models.stock_location_collectionget_response_schema import StockLocationCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AssetLocationCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[StockLocationCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = AssetLocationCollectiongetResponseSchema.from_dict(response.json()) + response_200 = StockLocationCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AssetLocationCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[StockLocationCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[AssetLocationCollec def sync_detailed( *, client: Client, -) -> Response[AssetLocationCollectiongetResponseSchema]: +) -> Response[StockLocationCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[AssetLocationCollectiongetResponseSchema]: +) -> Optional[StockLocationCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[AssetLocationCollectiongetResponseSchema]: +) -> Response[StockLocationCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[AssetLocationCollectiongetResponseSchema]: +) -> Optional[StockLocationCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/stocklocations/asset_location_item_get.py b/rentman_api_client/api/stocklocations/stocklocation_item_get.py similarity index 74% rename from rentman_api_client/api/stocklocations/asset_location_item_get.py rename to rentman_api_client/api/stocklocations/stocklocation_item_get.py index 2d4ce27..a634da7 100644 --- a/rentman_api_client/api/stocklocations/asset_location_item_get.py +++ b/rentman_api_client/api/stocklocations/stocklocation_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.asset_location_itemget_response_schema import AssetLocationItemgetResponseSchema +from ...models.stocklocation_itemget_response_schema import StocklocationItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[AssetLocationItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[StocklocationItemgetResponseSchema]: if response.status_code == 200: - response_200 = AssetLocationItemgetResponseSchema.from_dict(response.json()) + response_200 = StocklocationItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[AssetLocationItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[StocklocationItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[AssetLocationItemgetResponseSchema]: +) -> Response[StocklocationItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[AssetLocationItemgetResponseSchema]: +) -> Optional[StocklocationItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[AssetLocationItemgetResponseSchema]: +) -> Response[StocklocationItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[AssetLocationItemgetResponseSchema]: +) -> Optional[StocklocationItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/stockmovements/voorraadmutatie_collection_get.py b/rentman_api_client/api/stockmovements/stockmovement_collection_get.py similarity index 69% rename from rentman_api_client/api/stockmovements/voorraadmutatie_collection_get.py rename to rentman_api_client/api/stockmovements/stockmovement_collection_get.py index 72792f4..1268d9d 100644 --- a/rentman_api_client/api/stockmovements/voorraadmutatie_collection_get.py +++ b/rentman_api_client/api/stockmovements/stockmovement_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.voorraadmutatie_collectionget_response_schema import VoorraadmutatieCollectiongetResponseSchema +from ...models.stockmovement_collectionget_response_schema import StockmovementCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[VoorraadmutatieCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[StockmovementCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = VoorraadmutatieCollectiongetResponseSchema.from_dict(response.json()) + response_200 = StockmovementCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[VoorraadmutatieCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[StockmovementCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[VoorraadmutatieColl def sync_detailed( *, client: Client, -) -> Response[VoorraadmutatieCollectiongetResponseSchema]: +) -> Response[StockmovementCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[VoorraadmutatieCollectiongetResponseSchema]: +) -> Optional[StockmovementCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[VoorraadmutatieCollectiongetResponseSchema]: +) -> Response[StockmovementCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[VoorraadmutatieCollectiongetResponseSchema]: +) -> Optional[StockmovementCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/stockmovements/voorraadmutatie_item_delete.py b/rentman_api_client/api/stockmovements/stockmovement_item_delete.py similarity index 100% rename from rentman_api_client/api/stockmovements/voorraadmutatie_item_delete.py rename to rentman_api_client/api/stockmovements/stockmovement_item_delete.py diff --git a/rentman_api_client/api/stockmovements/voorraadmutatie_item_get.py b/rentman_api_client/api/stockmovements/stockmovement_item_get.py similarity index 72% rename from rentman_api_client/api/stockmovements/voorraadmutatie_item_get.py rename to rentman_api_client/api/stockmovements/stockmovement_item_get.py index cf8bba3..2613f56 100644 --- a/rentman_api_client/api/stockmovements/voorraadmutatie_item_get.py +++ b/rentman_api_client/api/stockmovements/stockmovement_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.voorraadmutatie_itemget_response_schema import VoorraadmutatieItemgetResponseSchema +from ...models.stockmovement_itemget_response_schema import StockmovementItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[VoorraadmutatieItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[StockmovementItemgetResponseSchema]: if response.status_code == 200: - response_200 = VoorraadmutatieItemgetResponseSchema.from_dict(response.json()) + response_200 = StockmovementItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[VoorraadmutatieItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[StockmovementItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[VoorraadmutatieItemgetResponseSchema]: +) -> Response[StockmovementItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[VoorraadmutatieItemgetResponseSchema]: +) -> Optional[StockmovementItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[VoorraadmutatieItemgetResponseSchema]: +) -> Response[StockmovementItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[VoorraadmutatieItemgetResponseSchema]: +) -> Optional[StockmovementItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/stockmovements/voorraadmutatie_item_put.py b/rentman_api_client/api/stockmovements/stockmovement_item_put.py similarity index 65% rename from rentman_api_client/api/stockmovements/voorraadmutatie_item_put.py rename to rentman_api_client/api/stockmovements/stockmovement_item_put.py index d55d8fb..82ebeca 100644 --- a/rentman_api_client/api/stockmovements/voorraadmutatie_item_put.py +++ b/rentman_api_client/api/stockmovements/stockmovement_item_put.py @@ -3,8 +3,8 @@ import httpx from ...client import Client -from ...models.voorraadmutatie_itemput_request_schema import VoorraadmutatieItemputRequestSchema -from ...models.voorraadmutatie_itemput_response_schema import VoorraadmutatieItemputResponseSchema +from ...models.stockmovement_itemput_request_schema import StockmovementItemputRequestSchema +from ...models.stockmovement_itemput_response_schema import StockmovementItemputResponseSchema from ...types import Response @@ -12,7 +12,7 @@ def _get_kwargs( *, client: Client, id: int, - json_body: VoorraadmutatieItemputRequestSchema, + json_body: StockmovementItemputRequestSchema, ) -> Dict[str, Any]: url = "{}/stockmovements/{id}".format(client.base_url, id=id) @@ -30,15 +30,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[VoorraadmutatieItemputResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[StockmovementItemputResponseSchema]: if response.status_code == 200: - response_200 = VoorraadmutatieItemputResponseSchema.from_dict(response.json()) + response_200 = StockmovementItemputResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[VoorraadmutatieItemputResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[StockmovementItemputResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -51,8 +51,8 @@ def sync_detailed( *, client: Client, id: int, - json_body: VoorraadmutatieItemputRequestSchema, -) -> Response[VoorraadmutatieItemputResponseSchema]: + json_body: StockmovementItemputRequestSchema, +) -> Response[StockmovementItemputResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -70,8 +70,8 @@ def sync( *, client: Client, id: int, - json_body: VoorraadmutatieItemputRequestSchema, -) -> Optional[VoorraadmutatieItemputResponseSchema]: + json_body: StockmovementItemputRequestSchema, +) -> Optional[StockmovementItemputResponseSchema]: """ """ return sync_detailed( @@ -85,8 +85,8 @@ async def asyncio_detailed( *, client: Client, id: int, - json_body: VoorraadmutatieItemputRequestSchema, -) -> Response[VoorraadmutatieItemputResponseSchema]: + json_body: StockmovementItemputRequestSchema, +) -> Response[StockmovementItemputResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -103,8 +103,8 @@ async def asyncio( *, client: Client, id: int, - json_body: VoorraadmutatieItemputRequestSchema, -) -> Optional[VoorraadmutatieItemputResponseSchema]: + json_body: StockmovementItemputRequestSchema, +) -> Optional[StockmovementItemputResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subprojects/subproject_item_files_get.py b/rentman_api_client/api/subprojects/subproject_item_files_get.py index 3c1f2dd..d658da8 100644 --- a/rentman_api_client/api/subprojects/subproject_item_files_get.py +++ b/rentman_api_client/api/subprojects/subproject_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subprojects/subproject_item_planningpersoneel_get.py b/rentman_api_client/api/subprojects/subproject_item_projectcrew_get.py similarity index 70% rename from rentman_api_client/api/subprojects/subproject_item_planningpersoneel_get.py rename to rentman_api_client/api/subprojects/subproject_item_projectcrew_get.py index 4c275f0..491c3ba 100644 --- a/rentman_api_client/api/subprojects/subproject_item_planningpersoneel_get.py +++ b/rentman_api_client/api/subprojects/subproject_item_projectcrew_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningpersoneel_collectionget_response_schema import PlanningpersoneelCollectiongetResponseSchema +from ...models.projectcrew_collectionget_response_schema import ProjectcrewCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectcrewCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningpersoneelCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectcrewCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningpersoneelCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectcrewCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningpersoneelCollectiongetResponseSchema]: +) -> Response[ProjectcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: +) -> Optional[ProjectcrewCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningpersoneelCollectiongetResponseSchema]: +) -> Response[ProjectcrewCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningpersoneelCollectiongetResponseSchema]: +) -> Optional[ProjectcrewCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subprojects/subproject_item_planningmateriaal_get.py b/rentman_api_client/api/subprojects/subproject_item_projectequipment_get.py similarity index 70% rename from rentman_api_client/api/subprojects/subproject_item_planningmateriaal_get.py rename to rentman_api_client/api/subprojects/subproject_item_projectequipment_get.py index b5d16c6..52a0ce7 100644 --- a/rentman_api_client/api/subprojects/subproject_item_planningmateriaal_get.py +++ b/rentman_api_client/api/subprojects/subproject_item_projectequipment_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningmateriaal_collectionget_response_schema import PlanningmateriaalCollectiongetResponseSchema +from ...models.projectequipment_collectionget_response_schema import ProjectequipmentCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectequipmentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningmateriaalCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectequipmentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectequipmentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +) -> Response[ProjectequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningmateriaalCollectiongetResponseSchema]: +) -> Response[ProjectequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningmateriaalCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subprojects/subproject_item_materiaal_cat_get.py b/rentman_api_client/api/subprojects/subproject_item_projectequipmentgroup_get.py similarity index 69% rename from rentman_api_client/api/subprojects/subproject_item_materiaal_cat_get.py rename to rentman_api_client/api/subprojects/subproject_item_projectequipmentgroup_get.py index 4cbf82a..2844d13 100644 --- a/rentman_api_client/api/subprojects/subproject_item_materiaal_cat_get.py +++ b/rentman_api_client/api/subprojects/subproject_item_projectequipmentgroup_get.py @@ -3,7 +3,9 @@ import httpx from ...client import Client -from ...models.materiaal_cat_collectionget_response_schema import MateriaalCatCollectiongetResponseSchema +from ...models.projectequipmentgroup_collectionget_response_schema import ( + ProjectequipmentgroupCollectiongetResponseSchema, +) from ...types import Response @@ -25,15 +27,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[MateriaalCatCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectequipmentgroupCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = MateriaalCatCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectequipmentgroupCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[MateriaalCatCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectequipmentgroupCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +48,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[MateriaalCatCollectiongetResponseSchema]: +) -> Response[ProjectequipmentgroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +65,7 @@ def sync( *, client: Client, id: int, -) -> Optional[MateriaalCatCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentgroupCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +78,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[MateriaalCatCollectiongetResponseSchema]: +) -> Response[ProjectequipmentgroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +94,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[MateriaalCatCollectiongetResponseSchema]: +) -> Optional[ProjectequipmentgroupCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subprojects/subproject_item_functiegroep_get.py b/rentman_api_client/api/subprojects/subproject_item_projectfunctiongroup_get.py similarity index 70% rename from rentman_api_client/api/subprojects/subproject_item_functiegroep_get.py rename to rentman_api_client/api/subprojects/subproject_item_projectfunctiongroup_get.py index f3880a0..f2fbc63 100644 --- a/rentman_api_client/api/subprojects/subproject_item_functiegroep_get.py +++ b/rentman_api_client/api/subprojects/subproject_item_projectfunctiongroup_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.functiegroep_collectionget_response_schema import FunctiegroepCollectiongetResponseSchema +from ...models.projectfunctiongroup_collectionget_response_schema import ProjectfunctiongroupCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctiegroepCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectfunctiongroupCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FunctiegroepCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectfunctiongroupCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctiegroepCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectfunctiongroupCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FunctiegroepCollectiongetResponseSchema]: +) -> Response[ProjectfunctiongroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FunctiegroepCollectiongetResponseSchema]: +) -> Optional[ProjectfunctiongroupCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FunctiegroepCollectiongetResponseSchema]: +) -> Response[ProjectfunctiongroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FunctiegroepCollectiongetResponseSchema]: +) -> Optional[ProjectfunctiongroupCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subprojects/subproject_item_planningtransport_get.py b/rentman_api_client/api/subprojects/subproject_item_projectvehicle_get.py similarity index 70% rename from rentman_api_client/api/subprojects/subproject_item_planningtransport_get.py rename to rentman_api_client/api/subprojects/subproject_item_projectvehicle_get.py index afc4618..b5d734a 100644 --- a/rentman_api_client/api/subprojects/subproject_item_planningtransport_get.py +++ b/rentman_api_client/api/subprojects/subproject_item_projectvehicle_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.planningtransport_collectionget_response_schema import PlanningtransportCollectiongetResponseSchema +from ...models.projectvehicle_collectionget_response_schema import ProjectvehicleCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[PlanningtransportCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[ProjectvehicleCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = PlanningtransportCollectiongetResponseSchema.from_dict(response.json()) + response_200 = ProjectvehicleCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[PlanningtransportCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[ProjectvehicleCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[PlanningtransportCollectiongetResponseSchema]: +) -> Response[ProjectvehicleCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[PlanningtransportCollectiongetResponseSchema]: +) -> Optional[ProjectvehicleCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[PlanningtransportCollectiongetResponseSchema]: +) -> Response[ProjectvehicleCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[PlanningtransportCollectiongetResponseSchema]: +) -> Optional[ProjectvehicleCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subrentalequipment/inhuurmateriaal_collection_get.py b/rentman_api_client/api/subrentalequipment/subrentalequipment_collection_get.py similarity index 68% rename from rentman_api_client/api/subrentalequipment/inhuurmateriaal_collection_get.py rename to rentman_api_client/api/subrentalequipment/subrentalequipment_collection_get.py index 6ef5c38..66a3f57 100644 --- a/rentman_api_client/api/subrentalequipment/inhuurmateriaal_collection_get.py +++ b/rentman_api_client/api/subrentalequipment/subrentalequipment_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.inhuurmateriaal_collectionget_response_schema import InhuurmateriaalCollectiongetResponseSchema +from ...models.subrentalequipment_collectionget_response_schema import SubrentalequipmentCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[InhuurmateriaalCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SubrentalequipmentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = InhuurmateriaalCollectiongetResponseSchema.from_dict(response.json()) + response_200 = SubrentalequipmentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[InhuurmateriaalCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SubrentalequipmentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[InhuurmateriaalColl def sync_detailed( *, client: Client, -) -> Response[InhuurmateriaalCollectiongetResponseSchema]: +) -> Response[SubrentalequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[InhuurmateriaalCollectiongetResponseSchema]: +) -> Optional[SubrentalequipmentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[InhuurmateriaalCollectiongetResponseSchema]: +) -> Response[SubrentalequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[InhuurmateriaalCollectiongetResponseSchema]: +) -> Optional[SubrentalequipmentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subrentalequipment/inhuurmateriaal_item_get.py b/rentman_api_client/api/subrentalequipment/subrentalequipment_item_get.py similarity index 72% rename from rentman_api_client/api/subrentalequipment/inhuurmateriaal_item_get.py rename to rentman_api_client/api/subrentalequipment/subrentalequipment_item_get.py index 09368bc..91ceb5e 100644 --- a/rentman_api_client/api/subrentalequipment/inhuurmateriaal_item_get.py +++ b/rentman_api_client/api/subrentalequipment/subrentalequipment_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.inhuurmateriaal_itemget_response_schema import InhuurmateriaalItemgetResponseSchema +from ...models.subrentalequipment_itemget_response_schema import SubrentalequipmentItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[InhuurmateriaalItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SubrentalequipmentItemgetResponseSchema]: if response.status_code == 200: - response_200 = InhuurmateriaalItemgetResponseSchema.from_dict(response.json()) + response_200 = SubrentalequipmentItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[InhuurmateriaalItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SubrentalequipmentItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[InhuurmateriaalItemgetResponseSchema]: +) -> Response[SubrentalequipmentItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[InhuurmateriaalItemgetResponseSchema]: +) -> Optional[SubrentalequipmentItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[InhuurmateriaalItemgetResponseSchema]: +) -> Response[SubrentalequipmentItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[InhuurmateriaalItemgetResponseSchema]: +) -> Optional[SubrentalequipmentItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subrentalequipmentgroup/subrentalequipmentgroup_collection_get.py b/rentman_api_client/api/subrentalequipmentgroup/subrentalequipmentgroup_collection_get.py new file mode 100644 index 0000000..f43196d --- /dev/null +++ b/rentman_api_client/api/subrentalequipmentgroup/subrentalequipmentgroup_collection_get.py @@ -0,0 +1,96 @@ +from typing import Any, Dict, Optional + +import httpx + +from ...client import Client +from ...models.subrentalequipmentgroup_collectionget_response_schema import ( + SubrentalequipmentgroupCollectiongetResponseSchema, +) +from ...types import Response + + +def _get_kwargs( + *, + client: Client, +) -> Dict[str, Any]: + url = "{}/subrentalequipmentgroup".format(client.base_url) + + headers: Dict[str, Any] = client.get_headers() + cookies: Dict[str, Any] = client.get_cookies() + + return { + "url": url, + "headers": headers, + "cookies": cookies, + "timeout": client.get_timeout(), + } + + +def _parse_response(*, response: httpx.Response) -> Optional[SubrentalequipmentgroupCollectiongetResponseSchema]: + if response.status_code == 200: + response_200 = SubrentalequipmentgroupCollectiongetResponseSchema.from_dict(response.json()) + + return response_200 + return None + + +def _build_response(*, response: httpx.Response) -> Response[SubrentalequipmentgroupCollectiongetResponseSchema]: + return Response( + status_code=response.status_code, + content=response.content, + headers=response.headers, + parsed=_parse_response(response=response), + ) + + +def sync_detailed( + *, + client: Client, +) -> Response[SubrentalequipmentgroupCollectiongetResponseSchema]: + kwargs = _get_kwargs( + client=client, + ) + + response = httpx.get( + **kwargs, + ) + + return _build_response(response=response) + + +def sync( + *, + client: Client, +) -> Optional[SubrentalequipmentgroupCollectiongetResponseSchema]: + """ """ + + return sync_detailed( + client=client, + ).parsed + + +async def asyncio_detailed( + *, + client: Client, +) -> Response[SubrentalequipmentgroupCollectiongetResponseSchema]: + kwargs = _get_kwargs( + client=client, + ) + + async with httpx.AsyncClient() as _client: + response = await _client.get(**kwargs) + + return _build_response(response=response) + + +async def asyncio( + *, + client: Client, +) -> Optional[SubrentalequipmentgroupCollectiongetResponseSchema]: + """ """ + + return ( + await asyncio_detailed( + client=client, + ) + ).parsed diff --git a/rentman_api_client/api/subrentalequipmentgroup/inhuurgroep_item_get.py b/rentman_api_client/api/subrentalequipmentgroup/subrentalequipmentgroup_item_get.py similarity index 70% rename from rentman_api_client/api/subrentalequipmentgroup/inhuurgroep_item_get.py rename to rentman_api_client/api/subrentalequipmentgroup/subrentalequipmentgroup_item_get.py index 849c875..cc96282 100644 --- a/rentman_api_client/api/subrentalequipmentgroup/inhuurgroep_item_get.py +++ b/rentman_api_client/api/subrentalequipmentgroup/subrentalequipmentgroup_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.inhuurgroep_itemget_response_schema import InhuurgroepItemgetResponseSchema +from ...models.subrentalequipmentgroup_itemget_response_schema import SubrentalequipmentgroupItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[InhuurgroepItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SubrentalequipmentgroupItemgetResponseSchema]: if response.status_code == 200: - response_200 = InhuurgroepItemgetResponseSchema.from_dict(response.json()) + response_200 = SubrentalequipmentgroupItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[InhuurgroepItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SubrentalequipmentgroupItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[InhuurgroepItemgetResponseSchema]: +) -> Response[SubrentalequipmentgroupItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[InhuurgroepItemgetResponseSchema]: +) -> Optional[SubrentalequipmentgroupItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[InhuurgroepItemgetResponseSchema]: +) -> Response[SubrentalequipmentgroupItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[InhuurgroepItemgetResponseSchema]: +) -> Optional[SubrentalequipmentgroupItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subrentalequipmentgroup/inhuurgroep_item_inhuurmateriaal_get.py b/rentman_api_client/api/subrentalequipmentgroup/subrentalequipmentgroup_item_subrentalequipment_get.py similarity index 70% rename from rentman_api_client/api/subrentalequipmentgroup/inhuurgroep_item_inhuurmateriaal_get.py rename to rentman_api_client/api/subrentalequipmentgroup/subrentalequipmentgroup_item_subrentalequipment_get.py index 6b9b768..00709cd 100644 --- a/rentman_api_client/api/subrentalequipmentgroup/inhuurgroep_item_inhuurmateriaal_get.py +++ b/rentman_api_client/api/subrentalequipmentgroup/subrentalequipmentgroup_item_subrentalequipment_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.inhuurmateriaal_collectionget_response_schema import InhuurmateriaalCollectiongetResponseSchema +from ...models.subrentalequipment_collectionget_response_schema import SubrentalequipmentCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[InhuurmateriaalCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SubrentalequipmentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = InhuurmateriaalCollectiongetResponseSchema.from_dict(response.json()) + response_200 = SubrentalequipmentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[InhuurmateriaalCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SubrentalequipmentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[InhuurmateriaalCollectiongetResponseSchema]: +) -> Response[SubrentalequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[InhuurmateriaalCollectiongetResponseSchema]: +) -> Optional[SubrentalequipmentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[InhuurmateriaalCollectiongetResponseSchema]: +) -> Response[SubrentalequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[InhuurmateriaalCollectiongetResponseSchema]: +) -> Optional[SubrentalequipmentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subrentals/inhuur_collection_get.py b/rentman_api_client/api/subrentals/subrental_collection_get.py similarity index 71% rename from rentman_api_client/api/subrentals/inhuur_collection_get.py rename to rentman_api_client/api/subrentals/subrental_collection_get.py index e389436..b9ce893 100644 --- a/rentman_api_client/api/subrentals/inhuur_collection_get.py +++ b/rentman_api_client/api/subrentals/subrental_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.inhuur_collectionget_response_schema import InhuurCollectiongetResponseSchema +from ...models.subrental_collectionget_response_schema import SubrentalCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[InhuurCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SubrentalCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = InhuurCollectiongetResponseSchema.from_dict(response.json()) + response_200 = SubrentalCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[InhuurCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SubrentalCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[InhuurCollectionget def sync_detailed( *, client: Client, -) -> Response[InhuurCollectiongetResponseSchema]: +) -> Response[SubrentalCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[InhuurCollectiongetResponseSchema]: +) -> Optional[SubrentalCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[InhuurCollectiongetResponseSchema]: +) -> Response[SubrentalCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[InhuurCollectiongetResponseSchema]: +) -> Optional[SubrentalCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subrentals/inhuur_item_files_get.py b/rentman_api_client/api/subrentals/subrental_item_files_get.py similarity index 80% rename from rentman_api_client/api/subrentals/inhuur_item_files_get.py rename to rentman_api_client/api/subrentals/subrental_item_files_get.py index f50ac42..9b2f3da 100644 --- a/rentman_api_client/api/subrentals/inhuur_item_files_get.py +++ b/rentman_api_client/api/subrentals/subrental_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subrentals/inhuur_item_get.py b/rentman_api_client/api/subrentals/subrental_item_get.py similarity index 74% rename from rentman_api_client/api/subrentals/inhuur_item_get.py rename to rentman_api_client/api/subrentals/subrental_item_get.py index dca560e..a00ad9e 100644 --- a/rentman_api_client/api/subrentals/inhuur_item_get.py +++ b/rentman_api_client/api/subrentals/subrental_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.inhuur_itemget_response_schema import InhuurItemgetResponseSchema +from ...models.subrental_itemget_response_schema import SubrentalItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[InhuurItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SubrentalItemgetResponseSchema]: if response.status_code == 200: - response_200 = InhuurItemgetResponseSchema.from_dict(response.json()) + response_200 = SubrentalItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[InhuurItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SubrentalItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[InhuurItemgetResponseSchema]: +) -> Response[SubrentalItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[InhuurItemgetResponseSchema]: +) -> Optional[SubrentalItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[InhuurItemgetResponseSchema]: +) -> Response[SubrentalItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[InhuurItemgetResponseSchema]: +) -> Optional[SubrentalItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subrentals/inhuur_item_inhuurmateriaal_get.py b/rentman_api_client/api/subrentals/subrental_item_subrentalequipment_get.py similarity index 70% rename from rentman_api_client/api/subrentals/inhuur_item_inhuurmateriaal_get.py rename to rentman_api_client/api/subrentals/subrental_item_subrentalequipment_get.py index e78eec7..6613700 100644 --- a/rentman_api_client/api/subrentals/inhuur_item_inhuurmateriaal_get.py +++ b/rentman_api_client/api/subrentals/subrental_item_subrentalequipment_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.inhuurmateriaal_collectionget_response_schema import InhuurmateriaalCollectiongetResponseSchema +from ...models.subrentalequipment_collectionget_response_schema import SubrentalequipmentCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[InhuurmateriaalCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SubrentalequipmentCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = InhuurmateriaalCollectiongetResponseSchema.from_dict(response.json()) + response_200 = SubrentalequipmentCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[InhuurmateriaalCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SubrentalequipmentCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[InhuurmateriaalCollectiongetResponseSchema]: +) -> Response[SubrentalequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[InhuurmateriaalCollectiongetResponseSchema]: +) -> Optional[SubrentalequipmentCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[InhuurmateriaalCollectiongetResponseSchema]: +) -> Response[SubrentalequipmentCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[InhuurmateriaalCollectiongetResponseSchema]: +) -> Optional[SubrentalequipmentCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/subrentals/inhuur_item_inhuurgroep_get.py b/rentman_api_client/api/subrentals/subrental_item_subrentalequipmentgroup_get.py similarity index 69% rename from rentman_api_client/api/subrentals/inhuur_item_inhuurgroep_get.py rename to rentman_api_client/api/subrentals/subrental_item_subrentalequipmentgroup_get.py index 49227e4..a330cf6 100644 --- a/rentman_api_client/api/subrentals/inhuur_item_inhuurgroep_get.py +++ b/rentman_api_client/api/subrentals/subrental_item_subrentalequipmentgroup_get.py @@ -3,7 +3,9 @@ import httpx from ...client import Client -from ...models.inhuurgroep_collectionget_response_schema import InhuurgroepCollectiongetResponseSchema +from ...models.subrentalequipmentgroup_collectionget_response_schema import ( + SubrentalequipmentgroupCollectiongetResponseSchema, +) from ...types import Response @@ -25,15 +27,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[InhuurgroepCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[SubrentalequipmentgroupCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = InhuurgroepCollectiongetResponseSchema.from_dict(response.json()) + response_200 = SubrentalequipmentgroupCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[InhuurgroepCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[SubrentalequipmentgroupCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +48,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[InhuurgroepCollectiongetResponseSchema]: +) -> Response[SubrentalequipmentgroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +65,7 @@ def sync( *, client: Client, id: int, -) -> Optional[InhuurgroepCollectiongetResponseSchema]: +) -> Optional[SubrentalequipmentgroupCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +78,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[InhuurgroepCollectiongetResponseSchema]: +) -> Response[SubrentalequipmentgroupCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +94,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[InhuurgroepCollectiongetResponseSchema]: +) -> Optional[SubrentalequipmentgroupCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/timeregistration/uren_collection_get.py b/rentman_api_client/api/timeregistration/timeregistration_collection_get.py similarity index 69% rename from rentman_api_client/api/timeregistration/uren_collection_get.py rename to rentman_api_client/api/timeregistration/timeregistration_collection_get.py index abff8ce..b10d027 100644 --- a/rentman_api_client/api/timeregistration/uren_collection_get.py +++ b/rentman_api_client/api/timeregistration/timeregistration_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.uren_collectionget_response_schema import UrenCollectiongetResponseSchema +from ...models.timeregistration_collectionget_response_schema import TimeregistrationCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[UrenCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[TimeregistrationCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = UrenCollectiongetResponseSchema.from_dict(response.json()) + response_200 = TimeregistrationCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[UrenCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[TimeregistrationCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[UrenCollectiongetRe def sync_detailed( *, client: Client, -) -> Response[UrenCollectiongetResponseSchema]: +) -> Response[TimeregistrationCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[UrenCollectiongetResponseSchema]: +) -> Optional[TimeregistrationCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[UrenCollectiongetResponseSchema]: +) -> Response[TimeregistrationCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[UrenCollectiongetResponseSchema]: +) -> Optional[TimeregistrationCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/timeregistration/uren_item_files_get.py b/rentman_api_client/api/timeregistration/timeregistration_item_files_get.py similarity index 80% rename from rentman_api_client/api/timeregistration/uren_item_files_get.py rename to rentman_api_client/api/timeregistration/timeregistration_item_files_get.py index 8b70799..8187cc7 100644 --- a/rentman_api_client/api/timeregistration/uren_item_files_get.py +++ b/rentman_api_client/api/timeregistration/timeregistration_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/timeregistration/uren_item_get.py b/rentman_api_client/api/timeregistration/timeregistration_item_get.py similarity index 72% rename from rentman_api_client/api/timeregistration/uren_item_get.py rename to rentman_api_client/api/timeregistration/timeregistration_item_get.py index d577fe3..da7ade6 100644 --- a/rentman_api_client/api/timeregistration/uren_item_get.py +++ b/rentman_api_client/api/timeregistration/timeregistration_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.uren_itemget_response_schema import UrenItemgetResponseSchema +from ...models.timeregistration_itemget_response_schema import TimeregistrationItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[UrenItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[TimeregistrationItemgetResponseSchema]: if response.status_code == 200: - response_200 = UrenItemgetResponseSchema.from_dict(response.json()) + response_200 = TimeregistrationItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[UrenItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[TimeregistrationItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[UrenItemgetResponseSchema]: +) -> Response[TimeregistrationItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[UrenItemgetResponseSchema]: +) -> Optional[TimeregistrationItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[UrenItemgetResponseSchema]: +) -> Response[TimeregistrationItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[UrenItemgetResponseSchema]: +) -> Optional[TimeregistrationItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/timeregistration/uren_item_functieuur_get.py b/rentman_api_client/api/timeregistration/timeregistration_item_timeregistrationactivity_get.py similarity index 68% rename from rentman_api_client/api/timeregistration/uren_item_functieuur_get.py rename to rentman_api_client/api/timeregistration/timeregistration_item_timeregistrationactivity_get.py index 5c3b53e..3852004 100644 --- a/rentman_api_client/api/timeregistration/uren_item_functieuur_get.py +++ b/rentman_api_client/api/timeregistration/timeregistration_item_timeregistrationactivity_get.py @@ -3,7 +3,9 @@ import httpx from ...client import Client -from ...models.functieuur_collectionget_response_schema import FunctieuurCollectiongetResponseSchema +from ...models.timeregistrationactivity_collectionget_response_schema import ( + TimeregistrationactivityCollectiongetResponseSchema, +) from ...types import Response @@ -25,15 +27,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctieuurCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[TimeregistrationactivityCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FunctieuurCollectiongetResponseSchema.from_dict(response.json()) + response_200 = TimeregistrationactivityCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctieuurCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[TimeregistrationactivityCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +48,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FunctieuurCollectiongetResponseSchema]: +) -> Response[TimeregistrationactivityCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +65,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FunctieuurCollectiongetResponseSchema]: +) -> Optional[TimeregistrationactivityCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +78,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FunctieuurCollectiongetResponseSchema]: +) -> Response[TimeregistrationactivityCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +94,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FunctieuurCollectiongetResponseSchema]: +) -> Optional[TimeregistrationactivityCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/timeregistrationactivities/functieuur_collection_get.py b/rentman_api_client/api/timeregistrationactivities/timeregistrationactivity_collection_get.py similarity index 66% rename from rentman_api_client/api/timeregistrationactivities/functieuur_collection_get.py rename to rentman_api_client/api/timeregistrationactivities/timeregistrationactivity_collection_get.py index 705a495..a2db326 100644 --- a/rentman_api_client/api/timeregistrationactivities/functieuur_collection_get.py +++ b/rentman_api_client/api/timeregistrationactivities/timeregistrationactivity_collection_get.py @@ -3,7 +3,9 @@ import httpx from ...client import Client -from ...models.functieuur_collectionget_response_schema import FunctieuurCollectiongetResponseSchema +from ...models.timeregistrationactivity_collectionget_response_schema import ( + TimeregistrationactivityCollectiongetResponseSchema, +) from ...types import Response @@ -24,15 +26,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctieuurCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[TimeregistrationactivityCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FunctieuurCollectiongetResponseSchema.from_dict(response.json()) + response_200 = TimeregistrationactivityCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctieuurCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[TimeregistrationactivityCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +46,7 @@ def _build_response(*, response: httpx.Response) -> Response[FunctieuurCollectio def sync_detailed( *, client: Client, -) -> Response[FunctieuurCollectiongetResponseSchema]: +) -> Response[TimeregistrationactivityCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +61,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[FunctieuurCollectiongetResponseSchema]: +) -> Optional[TimeregistrationactivityCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +72,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[FunctieuurCollectiongetResponseSchema]: +) -> Response[TimeregistrationactivityCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +86,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[FunctieuurCollectiongetResponseSchema]: +) -> Optional[TimeregistrationactivityCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/timeregistrationactivities/functieuur_item_get.py b/rentman_api_client/api/timeregistrationactivities/timeregistrationactivity_item_get.py similarity index 70% rename from rentman_api_client/api/timeregistrationactivities/functieuur_item_get.py rename to rentman_api_client/api/timeregistrationactivities/timeregistrationactivity_item_get.py index d4127b9..9fadf98 100644 --- a/rentman_api_client/api/timeregistrationactivities/functieuur_item_get.py +++ b/rentman_api_client/api/timeregistrationactivities/timeregistrationactivity_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.functieuur_itemget_response_schema import FunctieuurItemgetResponseSchema +from ...models.timeregistrationactivity_itemget_response_schema import TimeregistrationactivityItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FunctieuurItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[TimeregistrationactivityItemgetResponseSchema]: if response.status_code == 200: - response_200 = FunctieuurItemgetResponseSchema.from_dict(response.json()) + response_200 = TimeregistrationactivityItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FunctieuurItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[TimeregistrationactivityItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FunctieuurItemgetResponseSchema]: +) -> Response[TimeregistrationactivityItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FunctieuurItemgetResponseSchema]: +) -> Optional[TimeregistrationactivityItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FunctieuurItemgetResponseSchema]: +) -> Response[TimeregistrationactivityItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FunctieuurItemgetResponseSchema]: +) -> Optional[TimeregistrationactivityItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/vehicles/voertuig_collection_get.py b/rentman_api_client/api/vehicles/vehicle_collection_get.py similarity index 71% rename from rentman_api_client/api/vehicles/voertuig_collection_get.py rename to rentman_api_client/api/vehicles/vehicle_collection_get.py index e783630..676c284 100644 --- a/rentman_api_client/api/vehicles/voertuig_collection_get.py +++ b/rentman_api_client/api/vehicles/vehicle_collection_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.voertuig_collectionget_response_schema import VoertuigCollectiongetResponseSchema +from ...models.vehicle_collectionget_response_schema import VehicleCollectiongetResponseSchema from ...types import Response @@ -24,15 +24,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[VoertuigCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[VehicleCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = VoertuigCollectiongetResponseSchema.from_dict(response.json()) + response_200 = VehicleCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[VoertuigCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[VehicleCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -44,7 +44,7 @@ def _build_response(*, response: httpx.Response) -> Response[VoertuigCollectiong def sync_detailed( *, client: Client, -) -> Response[VoertuigCollectiongetResponseSchema]: +) -> Response[VehicleCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -59,7 +59,7 @@ def sync_detailed( def sync( *, client: Client, -) -> Optional[VoertuigCollectiongetResponseSchema]: +) -> Optional[VehicleCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -70,7 +70,7 @@ def sync( async def asyncio_detailed( *, client: Client, -) -> Response[VoertuigCollectiongetResponseSchema]: +) -> Response[VehicleCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, ) @@ -84,7 +84,7 @@ async def asyncio_detailed( async def asyncio( *, client: Client, -) -> Optional[VoertuigCollectiongetResponseSchema]: +) -> Optional[VehicleCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/vehicles/voertuig_item_files_get.py b/rentman_api_client/api/vehicles/vehicle_item_files_get.py similarity index 80% rename from rentman_api_client/api/vehicles/voertuig_item_files_get.py rename to rentman_api_client/api/vehicles/vehicle_item_files_get.py index 13446e2..07ac6f6 100644 --- a/rentman_api_client/api/vehicles/voertuig_item_files_get.py +++ b/rentman_api_client/api/vehicles/vehicle_item_files_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.files_collectionget_response_schema import FilesCollectiongetResponseSchema +from ...models.file_collectionget_response_schema import FileCollectiongetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[FilesCollectiongetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[FileCollectiongetResponseSchema]: if response.status_code == 200: - response_200 = FilesCollectiongetResponseSchema.from_dict(response.json()) + response_200 = FileCollectiongetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[FilesCollectiongetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[FileCollectiongetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[FilesCollectiongetResponseSchema]: +) -> Response[FileCollectiongetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[FilesCollectiongetResponseSchema]: +) -> Optional[FileCollectiongetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/api/vehicles/voertuig_item_get.py b/rentman_api_client/api/vehicles/vehicle_item_get.py similarity index 75% rename from rentman_api_client/api/vehicles/voertuig_item_get.py rename to rentman_api_client/api/vehicles/vehicle_item_get.py index bf57ec4..4773e8e 100644 --- a/rentman_api_client/api/vehicles/voertuig_item_get.py +++ b/rentman_api_client/api/vehicles/vehicle_item_get.py @@ -3,7 +3,7 @@ import httpx from ...client import Client -from ...models.voertuig_itemget_response_schema import VoertuigItemgetResponseSchema +from ...models.vehicle_itemget_response_schema import VehicleItemgetResponseSchema from ...types import Response @@ -25,15 +25,15 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[VoertuigItemgetResponseSchema]: +def _parse_response(*, response: httpx.Response) -> Optional[VehicleItemgetResponseSchema]: if response.status_code == 200: - response_200 = VoertuigItemgetResponseSchema.from_dict(response.json()) + response_200 = VehicleItemgetResponseSchema.from_dict(response.json()) return response_200 return None -def _build_response(*, response: httpx.Response) -> Response[VoertuigItemgetResponseSchema]: +def _build_response(*, response: httpx.Response) -> Response[VehicleItemgetResponseSchema]: return Response( status_code=response.status_code, content=response.content, @@ -46,7 +46,7 @@ def sync_detailed( *, client: Client, id: int, -) -> Response[VoertuigItemgetResponseSchema]: +) -> Response[VehicleItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -63,7 +63,7 @@ def sync( *, client: Client, id: int, -) -> Optional[VoertuigItemgetResponseSchema]: +) -> Optional[VehicleItemgetResponseSchema]: """ """ return sync_detailed( @@ -76,7 +76,7 @@ async def asyncio_detailed( *, client: Client, id: int, -) -> Response[VoertuigItemgetResponseSchema]: +) -> Response[VehicleItemgetResponseSchema]: kwargs = _get_kwargs( client=client, id=id, @@ -92,7 +92,7 @@ async def asyncio( *, client: Client, id: int, -) -> Optional[VoertuigItemgetResponseSchema]: +) -> Optional[VehicleItemgetResponseSchema]: """ """ return ( diff --git a/rentman_api_client/models/__init__.py b/rentman_api_client/models/__init__.py index 08eecea..1e67666 100644 --- a/rentman_api_client/models/__init__.py +++ b/rentman_api_client/models/__init__.py @@ -1,182 +1,61 @@ """ Contains all the data models used in inputs/outputs """ -from .accessoire_collectionget_response_schema import AccessoireCollectiongetResponseSchema -from .accessoire_collectionget_response_schema_data_item import AccessoireCollectiongetResponseSchemaDataItem -from .accessoire_collectionpost_response_schema import AccessoireCollectionpostResponseSchema -from .accessoire_collectionpost_response_schema_data_item import AccessoireCollectionpostResponseSchemaDataItem -from .accessoire_collectionput_response_schema import AccessoireCollectionputResponseSchema -from .accessoire_collectionput_response_schema_data_item import AccessoireCollectionputResponseSchemaDataItem -from .accessoire_itemget_request_schema import AccessoireItemgetRequestSchema -from .accessoire_itemget_response_schema import AccessoireItemgetResponseSchema -from .accessoire_itemget_response_schema_data import AccessoireItemgetResponseSchemaData -from .accessoire_itempost_request_schema import AccessoireItempostRequestSchema -from .accessoire_itempost_response_schema import AccessoireItempostResponseSchema -from .accessoire_itempost_response_schema_data import AccessoireItempostResponseSchemaData -from .accessoire_itemput_request_schema import AccessoireItemputRequestSchema -from .accessoire_itemput_response_schema import AccessoireItemputResponseSchema -from .accessoire_itemput_response_schema_data import AccessoireItemputResponseSchemaData -from .afspraak_collectionget_response_schema import AfspraakCollectiongetResponseSchema -from .afspraak_collectionget_response_schema_data_item import AfspraakCollectiongetResponseSchemaDataItem -from .afspraak_collectionget_response_schema_data_item_recurrence_interval_unit import ( - AfspraakCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit, -) -from .afspraak_collectionpost_response_schema import AfspraakCollectionpostResponseSchema -from .afspraak_collectionpost_response_schema_data_item import AfspraakCollectionpostResponseSchemaDataItem -from .afspraak_collectionput_response_schema import AfspraakCollectionputResponseSchema -from .afspraak_collectionput_response_schema_data_item import AfspraakCollectionputResponseSchemaDataItem -from .afspraak_itemget_request_schema import AfspraakItemgetRequestSchema -from .afspraak_itemget_request_schema_recurrence_interval_unit import AfspraakItemgetRequestSchemaRecurrenceIntervalUnit -from .afspraak_itemget_response_schema import AfspraakItemgetResponseSchema -from .afspraak_itemget_response_schema_data import AfspraakItemgetResponseSchemaData -from .afspraak_itemget_response_schema_data_recurrence_interval_unit import ( - AfspraakItemgetResponseSchemaDataRecurrenceIntervalUnit, -) -from .afspraak_itempost_request_schema import AfspraakItempostRequestSchema -from .afspraak_itempost_response_schema import AfspraakItempostResponseSchema -from .afspraak_itempost_response_schema_data import AfspraakItempostResponseSchemaData -from .afspraak_itemput_request_schema import AfspraakItemputRequestSchema -from .afspraak_itemput_response_schema import AfspraakItemputResponseSchema -from .afspraak_itemput_response_schema_data import AfspraakItemputResponseSchemaData -from .afspraakmedewerker_collectionget_response_schema import AfspraakmedewerkerCollectiongetResponseSchema -from .afspraakmedewerker_collectionget_response_schema_data_item import ( - AfspraakmedewerkerCollectiongetResponseSchemaDataItem, -) -from .afspraakmedewerker_collectionpost_response_schema import AfspraakmedewerkerCollectionpostResponseSchema -from .afspraakmedewerker_collectionpost_response_schema_data_item import ( - AfspraakmedewerkerCollectionpostResponseSchemaDataItem, -) -from .afspraakmedewerker_collectionput_response_schema import AfspraakmedewerkerCollectionputResponseSchema -from .afspraakmedewerker_collectionput_response_schema_data_item import ( - AfspraakmedewerkerCollectionputResponseSchemaDataItem, -) -from .afspraakmedewerker_itemget_request_schema import AfspraakmedewerkerItemgetRequestSchema -from .afspraakmedewerker_itemget_response_schema import AfspraakmedewerkerItemgetResponseSchema -from .afspraakmedewerker_itemget_response_schema_data import AfspraakmedewerkerItemgetResponseSchemaData -from .afspraakmedewerker_itempost_request_schema import AfspraakmedewerkerItempostRequestSchema -from .afspraakmedewerker_itempost_response_schema import AfspraakmedewerkerItempostResponseSchema -from .afspraakmedewerker_itempost_response_schema_data import AfspraakmedewerkerItempostResponseSchemaData -from .afspraakmedewerker_itemput_request_schema import AfspraakmedewerkerItemputRequestSchema -from .afspraakmedewerker_itemput_response_schema import AfspraakmedewerkerItemputResponseSchema -from .afspraakmedewerker_itemput_response_schema_data import AfspraakmedewerkerItemputResponseSchemaData -from .asset_location_collectionget_response_schema import AssetLocationCollectiongetResponseSchema -from .asset_location_collectionget_response_schema_data_item import AssetLocationCollectiongetResponseSchemaDataItem -from .asset_location_collectionget_response_schema_data_item_country import ( - AssetLocationCollectiongetResponseSchemaDataItemCountry, -) -from .asset_location_collectionget_response_schema_data_item_type import ( - AssetLocationCollectiongetResponseSchemaDataItemType, -) -from .asset_location_collectionpost_response_schema import AssetLocationCollectionpostResponseSchema -from .asset_location_collectionpost_response_schema_data_item import AssetLocationCollectionpostResponseSchemaDataItem -from .asset_location_collectionpost_response_schema_data_item_country import ( - AssetLocationCollectionpostResponseSchemaDataItemCountry, -) -from .asset_location_collectionpost_response_schema_data_item_type import ( - AssetLocationCollectionpostResponseSchemaDataItemType, -) -from .asset_location_collectionput_response_schema import AssetLocationCollectionputResponseSchema -from .asset_location_collectionput_response_schema_data_item import AssetLocationCollectionputResponseSchemaDataItem -from .asset_location_collectionput_response_schema_data_item_country import ( - AssetLocationCollectionputResponseSchemaDataItemCountry, -) -from .asset_location_collectionput_response_schema_data_item_type import ( - AssetLocationCollectionputResponseSchemaDataItemType, -) -from .asset_location_itemget_request_schema import AssetLocationItemgetRequestSchema -from .asset_location_itemget_request_schema_country import AssetLocationItemgetRequestSchemaCountry -from .asset_location_itemget_request_schema_type import AssetLocationItemgetRequestSchemaType -from .asset_location_itemget_response_schema import AssetLocationItemgetResponseSchema -from .asset_location_itemget_response_schema_data import AssetLocationItemgetResponseSchemaData -from .asset_location_itemget_response_schema_data_country import AssetLocationItemgetResponseSchemaDataCountry -from .asset_location_itemget_response_schema_data_type import AssetLocationItemgetResponseSchemaDataType -from .asset_location_itempost_request_schema import AssetLocationItempostRequestSchema -from .asset_location_itempost_request_schema_country import AssetLocationItempostRequestSchemaCountry -from .asset_location_itempost_request_schema_type import AssetLocationItempostRequestSchemaType -from .asset_location_itempost_response_schema import AssetLocationItempostResponseSchema -from .asset_location_itempost_response_schema_data import AssetLocationItempostResponseSchemaData -from .asset_location_itempost_response_schema_data_country import AssetLocationItempostResponseSchemaDataCountry -from .asset_location_itempost_response_schema_data_type import AssetLocationItempostResponseSchemaDataType -from .asset_location_itemput_request_schema import AssetLocationItemputRequestSchema -from .asset_location_itemput_request_schema_country import AssetLocationItemputRequestSchemaCountry -from .asset_location_itemput_request_schema_type import AssetLocationItemputRequestSchemaType -from .asset_location_itemput_response_schema import AssetLocationItemputResponseSchema -from .asset_location_itemput_response_schema_data import AssetLocationItemputResponseSchemaData -from .asset_location_itemput_response_schema_data_country import AssetLocationItemputResponseSchemaDataCountry -from .asset_location_itemput_response_schema_data_type import AssetLocationItemputResponseSchemaDataType -from .beschikbaarheid_collectionget_response_schema import BeschikbaarheidCollectiongetResponseSchema -from .beschikbaarheid_collectionget_response_schema_data_item import BeschikbaarheidCollectiongetResponseSchemaDataItem -from .beschikbaarheid_collectionget_response_schema_data_item_recurrence_interval_unit import ( - BeschikbaarheidCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit, -) -from .beschikbaarheid_collectionget_response_schema_data_item_status import ( - BeschikbaarheidCollectiongetResponseSchemaDataItemStatus, -) -from .beschikbaarheid_collectionpost_response_schema import BeschikbaarheidCollectionpostResponseSchema -from .beschikbaarheid_collectionpost_response_schema_data_item import ( - BeschikbaarheidCollectionpostResponseSchemaDataItem, -) -from .beschikbaarheid_collectionpost_response_schema_data_item_recurrence_interval_unit import ( - BeschikbaarheidCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit, -) -from .beschikbaarheid_collectionpost_response_schema_data_item_status import ( - BeschikbaarheidCollectionpostResponseSchemaDataItemStatus, -) -from .beschikbaarheid_collectionput_response_schema import BeschikbaarheidCollectionputResponseSchema -from .beschikbaarheid_collectionput_response_schema_data_item import BeschikbaarheidCollectionputResponseSchemaDataItem -from .beschikbaarheid_collectionput_response_schema_data_item_recurrence_interval_unit import ( - BeschikbaarheidCollectionputResponseSchemaDataItemRecurrenceIntervalUnit, -) -from .beschikbaarheid_collectionput_response_schema_data_item_status import ( - BeschikbaarheidCollectionputResponseSchemaDataItemStatus, -) -from .beschikbaarheid_itemget_request_schema import BeschikbaarheidItemgetRequestSchema -from .beschikbaarheid_itemget_request_schema_recurrence_interval_unit import ( - BeschikbaarheidItemgetRequestSchemaRecurrenceIntervalUnit, -) -from .beschikbaarheid_itemget_request_schema_status import BeschikbaarheidItemgetRequestSchemaStatus -from .beschikbaarheid_itemget_response_schema import BeschikbaarheidItemgetResponseSchema -from .beschikbaarheid_itemget_response_schema_data import BeschikbaarheidItemgetResponseSchemaData -from .beschikbaarheid_itemget_response_schema_data_recurrence_interval_unit import ( - BeschikbaarheidItemgetResponseSchemaDataRecurrenceIntervalUnit, -) -from .beschikbaarheid_itemget_response_schema_data_status import BeschikbaarheidItemgetResponseSchemaDataStatus -from .beschikbaarheid_itempost_request_schema import BeschikbaarheidItempostRequestSchema -from .beschikbaarheid_itempost_request_schema_recurrence_interval_unit import ( - BeschikbaarheidItempostRequestSchemaRecurrenceIntervalUnit, -) -from .beschikbaarheid_itempost_request_schema_status import BeschikbaarheidItempostRequestSchemaStatus -from .beschikbaarheid_itempost_response_schema import BeschikbaarheidItempostResponseSchema -from .beschikbaarheid_itempost_response_schema_data import BeschikbaarheidItempostResponseSchemaData -from .beschikbaarheid_itempost_response_schema_data_recurrence_interval_unit import ( - BeschikbaarheidItempostResponseSchemaDataRecurrenceIntervalUnit, -) -from .beschikbaarheid_itempost_response_schema_data_status import BeschikbaarheidItempostResponseSchemaDataStatus -from .beschikbaarheid_itemput_request_schema import BeschikbaarheidItemputRequestSchema -from .beschikbaarheid_itemput_request_schema_recurrence_interval_unit import ( - BeschikbaarheidItemputRequestSchemaRecurrenceIntervalUnit, -) -from .beschikbaarheid_itemput_request_schema_status import BeschikbaarheidItemputRequestSchemaStatus -from .beschikbaarheid_itemput_response_schema import BeschikbaarheidItemputResponseSchema -from .beschikbaarheid_itemput_response_schema_data import BeschikbaarheidItemputResponseSchemaData -from .beschikbaarheid_itemput_response_schema_data_recurrence_interval_unit import ( - BeschikbaarheidItemputResponseSchemaDataRecurrenceIntervalUnit, -) -from .beschikbaarheid_itemput_response_schema_data_status import BeschikbaarheidItemputResponseSchemaDataStatus -from .btwbedrag_collectionget_response_schema import BtwbedragCollectiongetResponseSchema -from .btwbedrag_collectionget_response_schema_data_item import BtwbedragCollectiongetResponseSchemaDataItem -from .btwbedrag_collectionpost_response_schema import BtwbedragCollectionpostResponseSchema -from .btwbedrag_collectionpost_response_schema_data_item import BtwbedragCollectionpostResponseSchemaDataItem -from .btwbedrag_collectionput_response_schema import BtwbedragCollectionputResponseSchema -from .btwbedrag_collectionput_response_schema_data_item import BtwbedragCollectionputResponseSchemaDataItem -from .btwbedrag_itemget_request_schema import BtwbedragItemgetRequestSchema -from .btwbedrag_itemget_response_schema import BtwbedragItemgetResponseSchema -from .btwbedrag_itemget_response_schema_data import BtwbedragItemgetResponseSchemaData -from .btwbedrag_itempost_request_schema import BtwbedragItempostRequestSchema -from .btwbedrag_itempost_response_schema import BtwbedragItempostResponseSchema -from .btwbedrag_itempost_response_schema_data import BtwbedragItempostResponseSchemaData -from .btwbedrag_itemput_request_schema import BtwbedragItemputRequestSchema -from .btwbedrag_itemput_response_schema import BtwbedragItemputResponseSchema -from .btwbedrag_itemput_response_schema_data import BtwbedragItemputResponseSchemaData +from .accessory_collectionget_response_schema import AccessoryCollectiongetResponseSchema +from .accessory_collectionget_response_schema_data_item import AccessoryCollectiongetResponseSchemaDataItem +from .accessory_collectionpost_response_schema import AccessoryCollectionpostResponseSchema +from .accessory_collectionpost_response_schema_data_item import AccessoryCollectionpostResponseSchemaDataItem +from .accessory_collectionput_response_schema import AccessoryCollectionputResponseSchema +from .accessory_collectionput_response_schema_data_item import AccessoryCollectionputResponseSchemaDataItem +from .accessory_itemget_request_schema import AccessoryItemgetRequestSchema +from .accessory_itemget_response_schema import AccessoryItemgetResponseSchema +from .accessory_itemget_response_schema_data import AccessoryItemgetResponseSchemaData +from .accessory_itempost_request_schema import AccessoryItempostRequestSchema +from .accessory_itempost_response_schema import AccessoryItempostResponseSchema +from .accessory_itempost_response_schema_data import AccessoryItempostResponseSchemaData +from .accessory_itemput_request_schema import AccessoryItemputRequestSchema +from .accessory_itemput_response_schema import AccessoryItemputResponseSchema +from .accessory_itemput_response_schema_data import AccessoryItemputResponseSchemaData +from .appointment_collectionget_response_schema import AppointmentCollectiongetResponseSchema +from .appointment_collectionget_response_schema_data_item import AppointmentCollectiongetResponseSchemaDataItem +from .appointment_collectionget_response_schema_data_item_recurrence_interval_unit import ( + AppointmentCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit, +) +from .appointment_collectionpost_response_schema import AppointmentCollectionpostResponseSchema +from .appointment_collectionpost_response_schema_data_item import AppointmentCollectionpostResponseSchemaDataItem +from .appointment_collectionput_response_schema import AppointmentCollectionputResponseSchema +from .appointment_collectionput_response_schema_data_item import AppointmentCollectionputResponseSchemaDataItem +from .appointment_itemget_request_schema import AppointmentItemgetRequestSchema +from .appointment_itemget_request_schema_recurrence_interval_unit import ( + AppointmentItemgetRequestSchemaRecurrenceIntervalUnit, +) +from .appointment_itemget_response_schema import AppointmentItemgetResponseSchema +from .appointment_itemget_response_schema_data import AppointmentItemgetResponseSchemaData +from .appointment_itemget_response_schema_data_recurrence_interval_unit import ( + AppointmentItemgetResponseSchemaDataRecurrenceIntervalUnit, +) +from .appointment_itempost_request_schema import AppointmentItempostRequestSchema +from .appointment_itempost_response_schema import AppointmentItempostResponseSchema +from .appointment_itempost_response_schema_data import AppointmentItempostResponseSchemaData +from .appointment_itemput_request_schema import AppointmentItemputRequestSchema +from .appointment_itemput_response_schema import AppointmentItemputResponseSchema +from .appointment_itemput_response_schema_data import AppointmentItemputResponseSchemaData +from .appointmentcrew_collectionget_response_schema import AppointmentcrewCollectiongetResponseSchema +from .appointmentcrew_collectionget_response_schema_data_item import AppointmentcrewCollectiongetResponseSchemaDataItem +from .appointmentcrew_collectionpost_response_schema import AppointmentcrewCollectionpostResponseSchema +from .appointmentcrew_collectionpost_response_schema_data_item import ( + AppointmentcrewCollectionpostResponseSchemaDataItem, +) +from .appointmentcrew_collectionput_response_schema import AppointmentcrewCollectionputResponseSchema +from .appointmentcrew_collectionput_response_schema_data_item import AppointmentcrewCollectionputResponseSchemaDataItem +from .appointmentcrew_itemget_request_schema import AppointmentcrewItemgetRequestSchema +from .appointmentcrew_itemget_response_schema import AppointmentcrewItemgetResponseSchema +from .appointmentcrew_itemget_response_schema_data import AppointmentcrewItemgetResponseSchemaData +from .appointmentcrew_itempost_request_schema import AppointmentcrewItempostRequestSchema +from .appointmentcrew_itempost_response_schema import AppointmentcrewItempostResponseSchema +from .appointmentcrew_itempost_response_schema_data import AppointmentcrewItempostResponseSchemaData +from .appointmentcrew_itemput_request_schema import AppointmentcrewItemputRequestSchema +from .appointmentcrew_itemput_response_schema import AppointmentcrewItemputResponseSchema +from .appointmentcrew_itemput_response_schema_data import AppointmentcrewItemputResponseSchemaData from .contact_collectionget_response_schema import ContactCollectiongetResponseSchema from .contact_collectionget_response_schema_data_item import ContactCollectiongetResponseSchemaDataItem from .contact_collectionget_response_schema_data_item_country import ContactCollectiongetResponseSchemaDataItemCountry @@ -249,6 +128,51 @@ from .contact_itemput_response_schema_data_invoice_country import ContactItemputResponseSchemaDataInvoiceCountry from .contact_itemput_response_schema_data_mailing_country import ContactItemputResponseSchemaDataMailingCountry from .contact_itemput_response_schema_data_type import ContactItemputResponseSchemaDataType +from .contactperson_collectionget_response_schema import ContactpersonCollectiongetResponseSchema +from .contactperson_collectionget_response_schema_data_item import ContactpersonCollectiongetResponseSchemaDataItem +from .contactperson_collectionget_response_schema_data_item_country import ( + ContactpersonCollectiongetResponseSchemaDataItemCountry, +) +from .contactperson_collectionget_response_schema_data_item_custom import ( + ContactpersonCollectiongetResponseSchemaDataItemCustom, +) +from .contactperson_collectionpost_response_schema import ContactpersonCollectionpostResponseSchema +from .contactperson_collectionpost_response_schema_data_item import ContactpersonCollectionpostResponseSchemaDataItem +from .contactperson_collectionpost_response_schema_data_item_country import ( + ContactpersonCollectionpostResponseSchemaDataItemCountry, +) +from .contactperson_collectionpost_response_schema_data_item_custom import ( + ContactpersonCollectionpostResponseSchemaDataItemCustom, +) +from .contactperson_collectionput_response_schema import ContactpersonCollectionputResponseSchema +from .contactperson_collectionput_response_schema_data_item import ContactpersonCollectionputResponseSchemaDataItem +from .contactperson_collectionput_response_schema_data_item_country import ( + ContactpersonCollectionputResponseSchemaDataItemCountry, +) +from .contactperson_collectionput_response_schema_data_item_custom import ( + ContactpersonCollectionputResponseSchemaDataItemCustom, +) +from .contactperson_itemget_request_schema import ContactpersonItemgetRequestSchema +from .contactperson_itemget_request_schema_country import ContactpersonItemgetRequestSchemaCountry +from .contactperson_itemget_request_schema_custom import ContactpersonItemgetRequestSchemaCustom +from .contactperson_itemget_response_schema import ContactpersonItemgetResponseSchema +from .contactperson_itemget_response_schema_data import ContactpersonItemgetResponseSchemaData +from .contactperson_itemget_response_schema_data_country import ContactpersonItemgetResponseSchemaDataCountry +from .contactperson_itemget_response_schema_data_custom import ContactpersonItemgetResponseSchemaDataCustom +from .contactperson_itempost_request_schema import ContactpersonItempostRequestSchema +from .contactperson_itempost_request_schema_country import ContactpersonItempostRequestSchemaCountry +from .contactperson_itempost_request_schema_custom import ContactpersonItempostRequestSchemaCustom +from .contactperson_itempost_response_schema import ContactpersonItempostResponseSchema +from .contactperson_itempost_response_schema_data import ContactpersonItempostResponseSchemaData +from .contactperson_itempost_response_schema_data_country import ContactpersonItempostResponseSchemaDataCountry +from .contactperson_itempost_response_schema_data_custom import ContactpersonItempostResponseSchemaDataCustom +from .contactperson_itemput_request_schema import ContactpersonItemputRequestSchema +from .contactperson_itemput_request_schema_country import ContactpersonItemputRequestSchemaCountry +from .contactperson_itemput_request_schema_custom import ContactpersonItemputRequestSchemaCustom +from .contactperson_itemput_response_schema import ContactpersonItemputResponseSchema +from .contactperson_itemput_response_schema_data import ContactpersonItemputResponseSchemaData +from .contactperson_itemput_response_schema_data_country import ContactpersonItemputResponseSchemaDataCountry +from .contactperson_itemput_response_schema_data_custom import ContactpersonItemputResponseSchemaDataCustom from .contract_collectionget_response_schema import ContractCollectiongetResponseSchema from .contract_collectionget_response_schema_data_item import ContractCollectiongetResponseSchemaDataItem from .contract_collectionpost_response_schema import ContractCollectionpostResponseSchema @@ -288,77 +212,286 @@ from .cost_itemput_response_schema import CostItemputResponseSchema from .cost_itemput_response_schema_data import CostItemputResponseSchemaData from .cost_itemput_response_schema_data_custom import CostItemputResponseSchemaDataCustom -from .exemplaar_collectionget_response_schema import ExemplaarCollectiongetResponseSchema -from .exemplaar_collectionget_response_schema_data_item import ExemplaarCollectiongetResponseSchemaDataItem -from .exemplaar_collectionget_response_schema_data_item_custom import ExemplaarCollectiongetResponseSchemaDataItemCustom -from .exemplaar_collectionpost_response_schema import ExemplaarCollectionpostResponseSchema -from .exemplaar_collectionpost_response_schema_data_item import ExemplaarCollectionpostResponseSchemaDataItem -from .exemplaar_collectionpost_response_schema_data_item_custom import ( - ExemplaarCollectionpostResponseSchemaDataItemCustom, -) -from .exemplaar_collectionput_response_schema import ExemplaarCollectionputResponseSchema -from .exemplaar_collectionput_response_schema_data_item import ExemplaarCollectionputResponseSchemaDataItem -from .exemplaar_collectionput_response_schema_data_item_custom import ExemplaarCollectionputResponseSchemaDataItemCustom -from .exemplaar_itemget_request_schema import ExemplaarItemgetRequestSchema -from .exemplaar_itemget_request_schema_custom import ExemplaarItemgetRequestSchemaCustom -from .exemplaar_itemget_response_schema import ExemplaarItemgetResponseSchema -from .exemplaar_itemget_response_schema_data import ExemplaarItemgetResponseSchemaData -from .exemplaar_itemget_response_schema_data_custom import ExemplaarItemgetResponseSchemaDataCustom -from .exemplaar_itempost_request_schema import ExemplaarItempostRequestSchema -from .exemplaar_itempost_request_schema_custom import ExemplaarItempostRequestSchemaCustom -from .exemplaar_itempost_response_schema import ExemplaarItempostResponseSchema -from .exemplaar_itempost_response_schema_data import ExemplaarItempostResponseSchemaData -from .exemplaar_itempost_response_schema_data_custom import ExemplaarItempostResponseSchemaDataCustom -from .exemplaar_itemput_request_schema import ExemplaarItemputRequestSchema -from .exemplaar_itemput_request_schema_custom import ExemplaarItemputRequestSchemaCustom -from .exemplaar_itemput_response_schema import ExemplaarItemputResponseSchema -from .exemplaar_itemput_response_schema_data import ExemplaarItemputResponseSchemaData -from .exemplaar_itemput_response_schema_data_custom import ExemplaarItemputResponseSchemaDataCustom -from .factuur_collectionget_response_schema import FactuurCollectiongetResponseSchema -from .factuur_collectionget_response_schema_data_item import FactuurCollectiongetResponseSchemaDataItem -from .factuur_collectionpost_response_schema import FactuurCollectionpostResponseSchema -from .factuur_collectionpost_response_schema_data_item import FactuurCollectionpostResponseSchemaDataItem -from .factuur_collectionput_response_schema import FactuurCollectionputResponseSchema -from .factuur_collectionput_response_schema_data_item import FactuurCollectionputResponseSchemaDataItem -from .factuur_itemget_request_schema import FactuurItemgetRequestSchema -from .factuur_itemget_response_schema import FactuurItemgetResponseSchema -from .factuur_itemget_response_schema_data import FactuurItemgetResponseSchemaData -from .factuur_itempost_request_schema import FactuurItempostRequestSchema -from .factuur_itempost_response_schema import FactuurItempostResponseSchema -from .factuur_itempost_response_schema_data import FactuurItempostResponseSchemaData -from .factuur_itemput_request_schema import FactuurItemputRequestSchema -from .factuur_itemput_response_schema import FactuurItemputResponseSchema -from .factuur_itemput_response_schema_data import FactuurItemputResponseSchemaData -from .files_collectionget_response_schema import FilesCollectiongetResponseSchema -from .files_collectionget_response_schema_data_item import FilesCollectiongetResponseSchemaDataItem -from .files_collectionget_response_schema_data_item_previewstatus import ( - FilesCollectiongetResponseSchemaDataItemPreviewstatus, -) -from .files_collectionpost_response_schema import FilesCollectionpostResponseSchema -from .files_collectionpost_response_schema_data_item import FilesCollectionpostResponseSchemaDataItem -from .files_collectionpost_response_schema_data_item_previewstatus import ( - FilesCollectionpostResponseSchemaDataItemPreviewstatus, -) -from .files_collectionput_response_schema import FilesCollectionputResponseSchema -from .files_collectionput_response_schema_data_item import FilesCollectionputResponseSchemaDataItem -from .files_collectionput_response_schema_data_item_previewstatus import ( - FilesCollectionputResponseSchemaDataItemPreviewstatus, -) -from .files_itemget_request_schema import FilesItemgetRequestSchema -from .files_itemget_request_schema_previewstatus import FilesItemgetRequestSchemaPreviewstatus -from .files_itemget_response_schema import FilesItemgetResponseSchema -from .files_itemget_response_schema_data import FilesItemgetResponseSchemaData -from .files_itemget_response_schema_data_previewstatus import FilesItemgetResponseSchemaDataPreviewstatus -from .files_itempost_request_schema import FilesItempostRequestSchema -from .files_itempost_request_schema_previewstatus import FilesItempostRequestSchemaPreviewstatus -from .files_itempost_response_schema import FilesItempostResponseSchema -from .files_itempost_response_schema_data import FilesItempostResponseSchemaData -from .files_itempost_response_schema_data_previewstatus import FilesItempostResponseSchemaDataPreviewstatus -from .files_itemput_request_schema import FilesItemputRequestSchema -from .files_itemput_request_schema_previewstatus import FilesItemputRequestSchemaPreviewstatus -from .files_itemput_response_schema import FilesItemputResponseSchema -from .files_itemput_response_schema_data import FilesItemputResponseSchemaData -from .files_itemput_response_schema_data_previewstatus import FilesItemputResponseSchemaDataPreviewstatus +from .crew_availability_itemget_response_schema import CrewAvailabilityItemgetResponseSchema +from .crew_availability_itemget_response_schema_data import CrewAvailabilityItemgetResponseSchemaData +from .crew_availability_itemget_response_schema_data_recurrence_interval_unit import ( + CrewAvailabilityItemgetResponseSchemaDataRecurrenceIntervalUnit, +) +from .crew_availability_itemget_response_schema_data_status import CrewAvailabilityItemgetResponseSchemaDataStatus +from .crew_availability_itemput_request_schema import CrewAvailabilityItemputRequestSchema +from .crew_availability_itemput_request_schema_recurrence_interval_unit import ( + CrewAvailabilityItemputRequestSchemaRecurrenceIntervalUnit, +) +from .crew_availability_itemput_request_schema_status import CrewAvailabilityItemputRequestSchemaStatus +from .crew_availability_itemput_response_schema import CrewAvailabilityItemputResponseSchema +from .crew_availability_itemput_response_schema_data import CrewAvailabilityItemputResponseSchemaData +from .crew_availability_itemput_response_schema_data_recurrence_interval_unit import ( + CrewAvailabilityItemputResponseSchemaDataRecurrenceIntervalUnit, +) +from .crew_availability_itemput_response_schema_data_status import CrewAvailabilityItemputResponseSchemaDataStatus +from .crew_collectionget_response_schema import CrewCollectiongetResponseSchema +from .crew_collectionget_response_schema_data_item import CrewCollectiongetResponseSchemaDataItem +from .crew_collectionget_response_schema_data_item_country import CrewCollectiongetResponseSchemaDataItemCountry +from .crew_collectionget_response_schema_data_item_custom import CrewCollectiongetResponseSchemaDataItemCustom +from .crew_collectionpost_response_schema import CrewCollectionpostResponseSchema +from .crew_collectionpost_response_schema_data_item import CrewCollectionpostResponseSchemaDataItem +from .crew_collectionpost_response_schema_data_item_country import CrewCollectionpostResponseSchemaDataItemCountry +from .crew_collectionpost_response_schema_data_item_custom import CrewCollectionpostResponseSchemaDataItemCustom +from .crew_collectionput_response_schema import CrewCollectionputResponseSchema +from .crew_collectionput_response_schema_data_item import CrewCollectionputResponseSchemaDataItem +from .crew_collectionput_response_schema_data_item_country import CrewCollectionputResponseSchemaDataItemCountry +from .crew_collectionput_response_schema_data_item_custom import CrewCollectionputResponseSchemaDataItemCustom +from .crew_itemget_request_schema import CrewItemgetRequestSchema +from .crew_itemget_request_schema_country import CrewItemgetRequestSchemaCountry +from .crew_itemget_request_schema_custom import CrewItemgetRequestSchemaCustom +from .crew_itemget_response_schema import CrewItemgetResponseSchema +from .crew_itemget_response_schema_data import CrewItemgetResponseSchemaData +from .crew_itemget_response_schema_data_country import CrewItemgetResponseSchemaDataCountry +from .crew_itemget_response_schema_data_custom import CrewItemgetResponseSchemaDataCustom +from .crew_itempost_request_schema import CrewItempostRequestSchema +from .crew_itempost_request_schema_country import CrewItempostRequestSchemaCountry +from .crew_itempost_request_schema_custom import CrewItempostRequestSchemaCustom +from .crew_itempost_response_schema import CrewItempostResponseSchema +from .crew_itempost_response_schema_data import CrewItempostResponseSchemaData +from .crew_itempost_response_schema_data_country import CrewItempostResponseSchemaDataCountry +from .crew_itempost_response_schema_data_custom import CrewItempostResponseSchemaDataCustom +from .crew_itemput_request_schema import CrewItemputRequestSchema +from .crew_itemput_request_schema_country import CrewItemputRequestSchemaCountry +from .crew_itemput_request_schema_custom import CrewItemputRequestSchemaCustom +from .crew_itemput_response_schema import CrewItemputResponseSchema +from .crew_itemput_response_schema_data import CrewItemputResponseSchemaData +from .crew_itemput_response_schema_data_country import CrewItemputResponseSchemaDataCountry +from .crew_itemput_response_schema_data_custom import CrewItemputResponseSchemaDataCustom +from .crewavailability_collectionget_response_schema import CrewavailabilityCollectiongetResponseSchema +from .crewavailability_collectionget_response_schema_data_item import ( + CrewavailabilityCollectiongetResponseSchemaDataItem, +) +from .crewavailability_collectionget_response_schema_data_item_recurrence_interval_unit import ( + CrewavailabilityCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit, +) +from .crewavailability_collectionget_response_schema_data_item_status import ( + CrewavailabilityCollectiongetResponseSchemaDataItemStatus, +) +from .crewavailability_collectionpost_response_schema import CrewavailabilityCollectionpostResponseSchema +from .crewavailability_collectionpost_response_schema_data_item import ( + CrewavailabilityCollectionpostResponseSchemaDataItem, +) +from .crewavailability_collectionpost_response_schema_data_item_recurrence_interval_unit import ( + CrewavailabilityCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit, +) +from .crewavailability_collectionpost_response_schema_data_item_status import ( + CrewavailabilityCollectionpostResponseSchemaDataItemStatus, +) +from .crewavailability_collectionput_response_schema import CrewavailabilityCollectionputResponseSchema +from .crewavailability_collectionput_response_schema_data_item import ( + CrewavailabilityCollectionputResponseSchemaDataItem, +) +from .crewavailability_collectionput_response_schema_data_item_recurrence_interval_unit import ( + CrewavailabilityCollectionputResponseSchemaDataItemRecurrenceIntervalUnit, +) +from .crewavailability_collectionput_response_schema_data_item_status import ( + CrewavailabilityCollectionputResponseSchemaDataItemStatus, +) +from .crewavailability_itemget_request_schema import CrewavailabilityItemgetRequestSchema +from .crewavailability_itemget_request_schema_recurrence_interval_unit import ( + CrewavailabilityItemgetRequestSchemaRecurrenceIntervalUnit, +) +from .crewavailability_itemget_request_schema_status import CrewavailabilityItemgetRequestSchemaStatus +from .crewavailability_itempost_request_schema import CrewavailabilityItempostRequestSchema +from .crewavailability_itempost_request_schema_recurrence_interval_unit import ( + CrewavailabilityItempostRequestSchemaRecurrenceIntervalUnit, +) +from .crewavailability_itempost_request_schema_status import CrewavailabilityItempostRequestSchemaStatus +from .crewavailability_itempost_response_schema import CrewavailabilityItempostResponseSchema +from .crewavailability_itempost_response_schema_data import CrewavailabilityItempostResponseSchemaData +from .crewavailability_itempost_response_schema_data_recurrence_interval_unit import ( + CrewavailabilityItempostResponseSchemaDataRecurrenceIntervalUnit, +) +from .crewavailability_itempost_response_schema_data_status import CrewavailabilityItempostResponseSchemaDataStatus +from .crewrate_collectionget_response_schema import CrewrateCollectiongetResponseSchema +from .crewrate_collectionget_response_schema_data_item import CrewrateCollectiongetResponseSchemaDataItem +from .crewrate_collectionpost_response_schema import CrewrateCollectionpostResponseSchema +from .crewrate_collectionpost_response_schema_data_item import CrewrateCollectionpostResponseSchemaDataItem +from .crewrate_collectionput_response_schema import CrewrateCollectionputResponseSchema +from .crewrate_collectionput_response_schema_data_item import CrewrateCollectionputResponseSchemaDataItem +from .crewrate_itemget_request_schema import CrewrateItemgetRequestSchema +from .crewrate_itemget_response_schema import CrewrateItemgetResponseSchema +from .crewrate_itemget_response_schema_data import CrewrateItemgetResponseSchemaData +from .crewrate_itempost_request_schema import CrewrateItempostRequestSchema +from .crewrate_itempost_response_schema import CrewrateItempostResponseSchema +from .crewrate_itempost_response_schema_data import CrewrateItempostResponseSchemaData +from .crewrate_itemput_request_schema import CrewrateItemputRequestSchema +from .crewrate_itemput_response_schema import CrewrateItemputResponseSchema +from .crewrate_itemput_response_schema_data import CrewrateItemputResponseSchemaData +from .equipment_collectionget_response_schema import EquipmentCollectiongetResponseSchema +from .equipment_collectionget_response_schema_data_item import EquipmentCollectiongetResponseSchemaDataItem +from .equipment_collectionget_response_schema_data_item_country_of_origin import ( + EquipmentCollectiongetResponseSchemaDataItemCountryOfOrigin, +) +from .equipment_collectionget_response_schema_data_item_custom import EquipmentCollectiongetResponseSchemaDataItemCustom +from .equipment_collectionget_response_schema_data_item_is_physical import ( + EquipmentCollectiongetResponseSchemaDataItemIsPhysical, +) +from .equipment_collectionget_response_schema_data_item_rental_sales import ( + EquipmentCollectiongetResponseSchemaDataItemRentalSales, +) +from .equipment_collectionget_response_schema_data_item_stock_management import ( + EquipmentCollectiongetResponseSchemaDataItemStockManagement, +) +from .equipment_collectionget_response_schema_data_item_type import EquipmentCollectiongetResponseSchemaDataItemType +from .equipment_collectionpost_response_schema import EquipmentCollectionpostResponseSchema +from .equipment_collectionpost_response_schema_data_item import EquipmentCollectionpostResponseSchemaDataItem +from .equipment_collectionpost_response_schema_data_item_country_of_origin import ( + EquipmentCollectionpostResponseSchemaDataItemCountryOfOrigin, +) +from .equipment_collectionpost_response_schema_data_item_custom import ( + EquipmentCollectionpostResponseSchemaDataItemCustom, +) +from .equipment_collectionpost_response_schema_data_item_is_physical import ( + EquipmentCollectionpostResponseSchemaDataItemIsPhysical, +) +from .equipment_collectionpost_response_schema_data_item_rental_sales import ( + EquipmentCollectionpostResponseSchemaDataItemRentalSales, +) +from .equipment_collectionpost_response_schema_data_item_stock_management import ( + EquipmentCollectionpostResponseSchemaDataItemStockManagement, +) +from .equipment_collectionpost_response_schema_data_item_type import EquipmentCollectionpostResponseSchemaDataItemType +from .equipment_collectionput_response_schema import EquipmentCollectionputResponseSchema +from .equipment_collectionput_response_schema_data_item import EquipmentCollectionputResponseSchemaDataItem +from .equipment_collectionput_response_schema_data_item_country_of_origin import ( + EquipmentCollectionputResponseSchemaDataItemCountryOfOrigin, +) +from .equipment_collectionput_response_schema_data_item_custom import EquipmentCollectionputResponseSchemaDataItemCustom +from .equipment_collectionput_response_schema_data_item_is_physical import ( + EquipmentCollectionputResponseSchemaDataItemIsPhysical, +) +from .equipment_collectionput_response_schema_data_item_rental_sales import ( + EquipmentCollectionputResponseSchemaDataItemRentalSales, +) +from .equipment_collectionput_response_schema_data_item_stock_management import ( + EquipmentCollectionputResponseSchemaDataItemStockManagement, +) +from .equipment_collectionput_response_schema_data_item_type import EquipmentCollectionputResponseSchemaDataItemType +from .equipment_itemget_request_schema import EquipmentItemgetRequestSchema +from .equipment_itemget_request_schema_country_of_origin import EquipmentItemgetRequestSchemaCountryOfOrigin +from .equipment_itemget_request_schema_custom import EquipmentItemgetRequestSchemaCustom +from .equipment_itemget_request_schema_is_physical import EquipmentItemgetRequestSchemaIsPhysical +from .equipment_itemget_request_schema_rental_sales import EquipmentItemgetRequestSchemaRentalSales +from .equipment_itemget_request_schema_stock_management import EquipmentItemgetRequestSchemaStockManagement +from .equipment_itemget_request_schema_type import EquipmentItemgetRequestSchemaType +from .equipment_itemget_response_schema import EquipmentItemgetResponseSchema +from .equipment_itemget_response_schema_data import EquipmentItemgetResponseSchemaData +from .equipment_itemget_response_schema_data_country_of_origin import EquipmentItemgetResponseSchemaDataCountryOfOrigin +from .equipment_itemget_response_schema_data_custom import EquipmentItemgetResponseSchemaDataCustom +from .equipment_itemget_response_schema_data_is_physical import EquipmentItemgetResponseSchemaDataIsPhysical +from .equipment_itemget_response_schema_data_rental_sales import EquipmentItemgetResponseSchemaDataRentalSales +from .equipment_itemget_response_schema_data_stock_management import EquipmentItemgetResponseSchemaDataStockManagement +from .equipment_itemget_response_schema_data_type import EquipmentItemgetResponseSchemaDataType +from .equipment_itempost_request_schema import EquipmentItempostRequestSchema +from .equipment_itempost_request_schema_country_of_origin import EquipmentItempostRequestSchemaCountryOfOrigin +from .equipment_itempost_request_schema_custom import EquipmentItempostRequestSchemaCustom +from .equipment_itempost_request_schema_is_physical import EquipmentItempostRequestSchemaIsPhysical +from .equipment_itempost_request_schema_rental_sales import EquipmentItempostRequestSchemaRentalSales +from .equipment_itempost_request_schema_stock_management import EquipmentItempostRequestSchemaStockManagement +from .equipment_itempost_request_schema_type import EquipmentItempostRequestSchemaType +from .equipment_itempost_response_schema import EquipmentItempostResponseSchema +from .equipment_itempost_response_schema_data import EquipmentItempostResponseSchemaData +from .equipment_itempost_response_schema_data_country_of_origin import ( + EquipmentItempostResponseSchemaDataCountryOfOrigin, +) +from .equipment_itempost_response_schema_data_custom import EquipmentItempostResponseSchemaDataCustom +from .equipment_itempost_response_schema_data_is_physical import EquipmentItempostResponseSchemaDataIsPhysical +from .equipment_itempost_response_schema_data_rental_sales import EquipmentItempostResponseSchemaDataRentalSales +from .equipment_itempost_response_schema_data_stock_management import EquipmentItempostResponseSchemaDataStockManagement +from .equipment_itempost_response_schema_data_type import EquipmentItempostResponseSchemaDataType +from .equipment_itemput_request_schema import EquipmentItemputRequestSchema +from .equipment_itemput_request_schema_country_of_origin import EquipmentItemputRequestSchemaCountryOfOrigin +from .equipment_itemput_request_schema_custom import EquipmentItemputRequestSchemaCustom +from .equipment_itemput_request_schema_is_physical import EquipmentItemputRequestSchemaIsPhysical +from .equipment_itemput_request_schema_rental_sales import EquipmentItemputRequestSchemaRentalSales +from .equipment_itemput_request_schema_stock_management import EquipmentItemputRequestSchemaStockManagement +from .equipment_itemput_request_schema_type import EquipmentItemputRequestSchemaType +from .equipment_itemput_response_schema import EquipmentItemputResponseSchema +from .equipment_itemput_response_schema_data import EquipmentItemputResponseSchemaData +from .equipment_itemput_response_schema_data_country_of_origin import EquipmentItemputResponseSchemaDataCountryOfOrigin +from .equipment_itemput_response_schema_data_custom import EquipmentItemputResponseSchemaDataCustom +from .equipment_itemput_response_schema_data_is_physical import EquipmentItemputResponseSchemaDataIsPhysical +from .equipment_itemput_response_schema_data_rental_sales import EquipmentItemputResponseSchemaDataRentalSales +from .equipment_itemput_response_schema_data_stock_management import EquipmentItemputResponseSchemaDataStockManagement +from .equipment_itemput_response_schema_data_type import EquipmentItemputResponseSchemaDataType +from .equipmentsetscontent_collectionget_response_schema import EquipmentsetscontentCollectiongetResponseSchema +from .equipmentsetscontent_collectionget_response_schema_data_item import ( + EquipmentsetscontentCollectiongetResponseSchemaDataItem, +) +from .equipmentsetscontent_collectionget_response_schema_data_item_is_fixed import ( + EquipmentsetscontentCollectiongetResponseSchemaDataItemIsFixed, +) +from .equipmentsetscontent_collectionpost_response_schema import EquipmentsetscontentCollectionpostResponseSchema +from .equipmentsetscontent_collectionpost_response_schema_data_item import ( + EquipmentsetscontentCollectionpostResponseSchemaDataItem, +) +from .equipmentsetscontent_collectionpost_response_schema_data_item_is_fixed import ( + EquipmentsetscontentCollectionpostResponseSchemaDataItemIsFixed, +) +from .equipmentsetscontent_collectionput_response_schema import EquipmentsetscontentCollectionputResponseSchema +from .equipmentsetscontent_collectionput_response_schema_data_item import ( + EquipmentsetscontentCollectionputResponseSchemaDataItem, +) +from .equipmentsetscontent_collectionput_response_schema_data_item_is_fixed import ( + EquipmentsetscontentCollectionputResponseSchemaDataItemIsFixed, +) +from .equipmentsetscontent_itemget_request_schema import EquipmentsetscontentItemgetRequestSchema +from .equipmentsetscontent_itemget_request_schema_is_fixed import EquipmentsetscontentItemgetRequestSchemaIsFixed +from .equipmentsetscontent_itemget_response_schema import EquipmentsetscontentItemgetResponseSchema +from .equipmentsetscontent_itemget_response_schema_data import EquipmentsetscontentItemgetResponseSchemaData +from .equipmentsetscontent_itemget_response_schema_data_is_fixed import ( + EquipmentsetscontentItemgetResponseSchemaDataIsFixed, +) +from .equipmentsetscontent_itempost_request_schema import EquipmentsetscontentItempostRequestSchema +from .equipmentsetscontent_itempost_request_schema_is_fixed import EquipmentsetscontentItempostRequestSchemaIsFixed +from .equipmentsetscontent_itempost_response_schema import EquipmentsetscontentItempostResponseSchema +from .equipmentsetscontent_itempost_response_schema_data import EquipmentsetscontentItempostResponseSchemaData +from .equipmentsetscontent_itempost_response_schema_data_is_fixed import ( + EquipmentsetscontentItempostResponseSchemaDataIsFixed, +) +from .equipmentsetscontent_itemput_request_schema import EquipmentsetscontentItemputRequestSchema +from .equipmentsetscontent_itemput_request_schema_is_fixed import EquipmentsetscontentItemputRequestSchemaIsFixed +from .equipmentsetscontent_itemput_response_schema import EquipmentsetscontentItemputResponseSchema +from .equipmentsetscontent_itemput_response_schema_data import EquipmentsetscontentItemputResponseSchemaData +from .equipmentsetscontent_itemput_response_schema_data_is_fixed import ( + EquipmentsetscontentItemputResponseSchemaDataIsFixed, +) +from .file_collectionget_response_schema import FileCollectiongetResponseSchema +from .file_collectionget_response_schema_data_item import FileCollectiongetResponseSchemaDataItem +from .file_collectionget_response_schema_data_item_previewstatus import ( + FileCollectiongetResponseSchemaDataItemPreviewstatus, +) +from .file_collectionpost_response_schema import FileCollectionpostResponseSchema +from .file_collectionpost_response_schema_data_item import FileCollectionpostResponseSchemaDataItem +from .file_collectionpost_response_schema_data_item_previewstatus import ( + FileCollectionpostResponseSchemaDataItemPreviewstatus, +) +from .file_collectionput_response_schema import FileCollectionputResponseSchema +from .file_collectionput_response_schema_data_item import FileCollectionputResponseSchemaDataItem +from .file_collectionput_response_schema_data_item_previewstatus import ( + FileCollectionputResponseSchemaDataItemPreviewstatus, +) +from .file_itemget_request_schema import FileItemgetRequestSchema +from .file_itemget_request_schema_previewstatus import FileItemgetRequestSchemaPreviewstatus +from .file_itemget_response_schema import FileItemgetResponseSchema +from .file_itemget_response_schema_data import FileItemgetResponseSchemaData +from .file_itemget_response_schema_data_previewstatus import FileItemgetResponseSchemaDataPreviewstatus +from .file_itempost_request_schema import FileItempostRequestSchema +from .file_itempost_request_schema_previewstatus import FileItempostRequestSchemaPreviewstatus +from .file_itempost_response_schema import FileItempostResponseSchema +from .file_itempost_response_schema_data import FileItempostResponseSchemaData +from .file_itempost_response_schema_data_previewstatus import FileItempostResponseSchemaDataPreviewstatus +from .file_itemput_request_schema import FileItemputRequestSchema +from .file_itemput_request_schema_previewstatus import FileItemputRequestSchemaPreviewstatus +from .file_itemput_response_schema import FileItemputResponseSchema +from .file_itemput_response_schema_data import FileItemputResponseSchemaData +from .file_itemput_response_schema_data_previewstatus import FileItemputResponseSchemaDataPreviewstatus from .folder_collectionget_response_schema import FolderCollectiongetResponseSchema from .folder_collectionget_response_schema_data_item import FolderCollectiongetResponseSchemaDataItem from .folder_collectionget_response_schema_data_item_itemtype import FolderCollectiongetResponseSchemaDataItemItemtype @@ -383,382 +516,51 @@ from .folder_itemput_response_schema import FolderItemputResponseSchema from .folder_itemput_response_schema_data import FolderItemputResponseSchemaData from .folder_itemput_response_schema_data_itemtype import FolderItemputResponseSchemaDataItemtype -from .functie_collectionget_response_schema import FunctieCollectiongetResponseSchema -from .functie_collectionget_response_schema_data_item import FunctieCollectiongetResponseSchemaDataItem -from .functie_collectionget_response_schema_data_item_custom import FunctieCollectiongetResponseSchemaDataItemCustom -from .functie_collectionget_response_schema_data_item_planperiod_end_schedule_is_start import ( - FunctieCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart, -) -from .functie_collectionget_response_schema_data_item_planperiod_start_schedule_is_start import ( - FunctieCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart, -) -from .functie_collectionget_response_schema_data_item_type import FunctieCollectiongetResponseSchemaDataItemType -from .functie_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start import ( - FunctieCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart, -) -from .functie_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start import ( - FunctieCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart, -) -from .functie_itemget_request_schema import FunctieItemgetRequestSchema -from .functie_itemget_request_schema_custom import FunctieItemgetRequestSchemaCustom -from .functie_itemget_request_schema_planperiod_end_schedule_is_start import ( - FunctieItemgetRequestSchemaPlanperiodEndScheduleIsStart, -) -from .functie_itemget_request_schema_planperiod_start_schedule_is_start import ( - FunctieItemgetRequestSchemaPlanperiodStartScheduleIsStart, -) -from .functie_itemget_request_schema_type import FunctieItemgetRequestSchemaType -from .functie_itemget_request_schema_usageperiod_end_schedule_is_start import ( - FunctieItemgetRequestSchemaUsageperiodEndScheduleIsStart, -) -from .functie_itemget_request_schema_usageperiod_start_schedule_is_start import ( - FunctieItemgetRequestSchemaUsageperiodStartScheduleIsStart, -) -from .functie_itemget_response_schema import FunctieItemgetResponseSchema -from .functie_itemget_response_schema_data import FunctieItemgetResponseSchemaData -from .functie_itemget_response_schema_data_custom import FunctieItemgetResponseSchemaDataCustom -from .functie_itemget_response_schema_data_planperiod_end_schedule_is_start import ( - FunctieItemgetResponseSchemaDataPlanperiodEndScheduleIsStart, -) -from .functie_itemget_response_schema_data_planperiod_start_schedule_is_start import ( - FunctieItemgetResponseSchemaDataPlanperiodStartScheduleIsStart, -) -from .functie_itemget_response_schema_data_type import FunctieItemgetResponseSchemaDataType -from .functie_itemget_response_schema_data_usageperiod_end_schedule_is_start import ( - FunctieItemgetResponseSchemaDataUsageperiodEndScheduleIsStart, -) -from .functie_itemget_response_schema_data_usageperiod_start_schedule_is_start import ( - FunctieItemgetResponseSchemaDataUsageperiodStartScheduleIsStart, -) -from .functiegroep_collectionget_response_schema import FunctiegroepCollectiongetResponseSchema -from .functiegroep_collectionget_response_schema_data_item import FunctiegroepCollectiongetResponseSchemaDataItem -from .functiegroep_collectionget_response_schema_data_item_planperiod_end_schedule_is_start import ( - FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart, -) -from .functiegroep_collectionget_response_schema_data_item_planperiod_start_schedule_is_start import ( - FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart, -) -from .functiegroep_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start import ( - FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart, -) -from .functiegroep_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start import ( - FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart, -) -from .functiegroep_itemget_request_schema import FunctiegroepItemgetRequestSchema -from .functiegroep_itemget_request_schema_planperiod_end_schedule_is_start import ( - FunctiegroepItemgetRequestSchemaPlanperiodEndScheduleIsStart, -) -from .functiegroep_itemget_request_schema_planperiod_start_schedule_is_start import ( - FunctiegroepItemgetRequestSchemaPlanperiodStartScheduleIsStart, -) -from .functiegroep_itemget_request_schema_usageperiod_end_schedule_is_start import ( - FunctiegroepItemgetRequestSchemaUsageperiodEndScheduleIsStart, -) -from .functiegroep_itemget_request_schema_usageperiod_start_schedule_is_start import ( - FunctiegroepItemgetRequestSchemaUsageperiodStartScheduleIsStart, -) -from .functiegroep_itemget_response_schema import FunctiegroepItemgetResponseSchema -from .functiegroep_itemget_response_schema_data import FunctiegroepItemgetResponseSchemaData -from .functiegroep_itemget_response_schema_data_planperiod_end_schedule_is_start import ( - FunctiegroepItemgetResponseSchemaDataPlanperiodEndScheduleIsStart, -) -from .functiegroep_itemget_response_schema_data_planperiod_start_schedule_is_start import ( - FunctiegroepItemgetResponseSchemaDataPlanperiodStartScheduleIsStart, -) -from .functiegroep_itemget_response_schema_data_usageperiod_end_schedule_is_start import ( - FunctiegroepItemgetResponseSchemaDataUsageperiodEndScheduleIsStart, -) -from .functiegroep_itemget_response_schema_data_usageperiod_start_schedule_is_start import ( - FunctiegroepItemgetResponseSchemaDataUsageperiodStartScheduleIsStart, -) -from .functieuur_collectionget_response_schema import FunctieuurCollectiongetResponseSchema -from .functieuur_collectionget_response_schema_data_item import FunctieuurCollectiongetResponseSchemaDataItem -from .functieuur_collectionpost_response_schema import FunctieuurCollectionpostResponseSchema -from .functieuur_collectionpost_response_schema_data_item import FunctieuurCollectionpostResponseSchemaDataItem -from .functieuur_collectionput_response_schema import FunctieuurCollectionputResponseSchema -from .functieuur_collectionput_response_schema_data_item import FunctieuurCollectionputResponseSchemaDataItem -from .functieuur_itemget_request_schema import FunctieuurItemgetRequestSchema -from .functieuur_itemget_response_schema import FunctieuurItemgetResponseSchema -from .functieuur_itemget_response_schema_data import FunctieuurItemgetResponseSchemaData -from .functieuur_itempost_request_schema import FunctieuurItempostRequestSchema -from .functieuur_itempost_response_schema import FunctieuurItempostResponseSchema -from .functieuur_itempost_response_schema_data import FunctieuurItempostResponseSchemaData -from .functieuur_itemput_request_schema import FunctieuurItemputRequestSchema -from .functieuur_itemput_response_schema import FunctieuurItemputResponseSchema -from .functieuur_itemput_response_schema_data import FunctieuurItemputResponseSchemaData -from .grootboek_collectionget_response_schema import GrootboekCollectiongetResponseSchema -from .grootboek_collectionget_response_schema_data_item import GrootboekCollectiongetResponseSchemaDataItem -from .grootboek_collectionpost_response_schema import GrootboekCollectionpostResponseSchema -from .grootboek_collectionpost_response_schema_data_item import GrootboekCollectionpostResponseSchemaDataItem -from .grootboek_collectionput_response_schema import GrootboekCollectionputResponseSchema -from .grootboek_collectionput_response_schema_data_item import GrootboekCollectionputResponseSchemaDataItem -from .grootboek_itemget_request_schema import GrootboekItemgetRequestSchema -from .grootboek_itemget_response_schema import GrootboekItemgetResponseSchema -from .grootboek_itemget_response_schema_data import GrootboekItemgetResponseSchemaData -from .grootboek_itempost_request_schema import GrootboekItempostRequestSchema -from .grootboek_itempost_response_schema import GrootboekItempostResponseSchema -from .grootboek_itempost_response_schema_data import GrootboekItempostResponseSchemaData -from .grootboek_itemput_request_schema import GrootboekItemputRequestSchema -from .grootboek_itemput_response_schema import GrootboekItemputResponseSchema -from .grootboek_itemput_response_schema_data import GrootboekItemputResponseSchemaData -from .inhuur_collectionget_response_schema import InhuurCollectiongetResponseSchema -from .inhuur_collectionget_response_schema_data_item import InhuurCollectiongetResponseSchemaDataItem -from .inhuur_collectionget_response_schema_data_item_custom import InhuurCollectiongetResponseSchemaDataItemCustom -from .inhuur_collectionget_response_schema_data_item_type import InhuurCollectiongetResponseSchemaDataItemType -from .inhuur_collectionpost_response_schema import InhuurCollectionpostResponseSchema -from .inhuur_collectionpost_response_schema_data_item import InhuurCollectionpostResponseSchemaDataItem -from .inhuur_collectionpost_response_schema_data_item_custom import InhuurCollectionpostResponseSchemaDataItemCustom -from .inhuur_collectionpost_response_schema_data_item_type import InhuurCollectionpostResponseSchemaDataItemType -from .inhuur_collectionput_response_schema import InhuurCollectionputResponseSchema -from .inhuur_collectionput_response_schema_data_item import InhuurCollectionputResponseSchemaDataItem -from .inhuur_collectionput_response_schema_data_item_custom import InhuurCollectionputResponseSchemaDataItemCustom -from .inhuur_collectionput_response_schema_data_item_type import InhuurCollectionputResponseSchemaDataItemType -from .inhuur_itemget_request_schema import InhuurItemgetRequestSchema -from .inhuur_itemget_request_schema_custom import InhuurItemgetRequestSchemaCustom -from .inhuur_itemget_request_schema_type import InhuurItemgetRequestSchemaType -from .inhuur_itemget_response_schema import InhuurItemgetResponseSchema -from .inhuur_itemget_response_schema_data import InhuurItemgetResponseSchemaData -from .inhuur_itemget_response_schema_data_custom import InhuurItemgetResponseSchemaDataCustom -from .inhuur_itemget_response_schema_data_type import InhuurItemgetResponseSchemaDataType -from .inhuur_itempost_request_schema import InhuurItempostRequestSchema -from .inhuur_itempost_request_schema_custom import InhuurItempostRequestSchemaCustom -from .inhuur_itempost_request_schema_type import InhuurItempostRequestSchemaType -from .inhuur_itempost_response_schema import InhuurItempostResponseSchema -from .inhuur_itempost_response_schema_data import InhuurItempostResponseSchemaData -from .inhuur_itempost_response_schema_data_custom import InhuurItempostResponseSchemaDataCustom -from .inhuur_itempost_response_schema_data_type import InhuurItempostResponseSchemaDataType -from .inhuur_itemput_request_schema import InhuurItemputRequestSchema -from .inhuur_itemput_request_schema_custom import InhuurItemputRequestSchemaCustom -from .inhuur_itemput_request_schema_type import InhuurItemputRequestSchemaType -from .inhuur_itemput_response_schema import InhuurItemputResponseSchema -from .inhuur_itemput_response_schema_data import InhuurItemputResponseSchemaData -from .inhuur_itemput_response_schema_data_custom import InhuurItemputResponseSchemaDataCustom -from .inhuur_itemput_response_schema_data_type import InhuurItemputResponseSchemaDataType -from .inhuurgroep_collectionget_response_schema import InhuurgroepCollectiongetResponseSchema -from .inhuurgroep_collectionget_response_schema_data_item import InhuurgroepCollectiongetResponseSchemaDataItem -from .inhuurgroep_collectionpost_response_schema import InhuurgroepCollectionpostResponseSchema -from .inhuurgroep_collectionpost_response_schema_data_item import InhuurgroepCollectionpostResponseSchemaDataItem -from .inhuurgroep_collectionput_response_schema import InhuurgroepCollectionputResponseSchema -from .inhuurgroep_collectionput_response_schema_data_item import InhuurgroepCollectionputResponseSchemaDataItem -from .inhuurgroep_itemget_request_schema import InhuurgroepItemgetRequestSchema -from .inhuurgroep_itemget_response_schema import InhuurgroepItemgetResponseSchema -from .inhuurgroep_itemget_response_schema_data import InhuurgroepItemgetResponseSchemaData -from .inhuurgroep_itempost_request_schema import InhuurgroepItempostRequestSchema -from .inhuurgroep_itempost_response_schema import InhuurgroepItempostResponseSchema -from .inhuurgroep_itempost_response_schema_data import InhuurgroepItempostResponseSchemaData -from .inhuurgroep_itemput_request_schema import InhuurgroepItemputRequestSchema -from .inhuurgroep_itemput_response_schema import InhuurgroepItemputResponseSchema -from .inhuurgroep_itemput_response_schema_data import InhuurgroepItemputResponseSchemaData -from .inhuurmateriaal_collectionget_response_schema import InhuurmateriaalCollectiongetResponseSchema -from .inhuurmateriaal_collectionget_response_schema_data_item import InhuurmateriaalCollectiongetResponseSchemaDataItem -from .inhuurmateriaal_collectionpost_response_schema import InhuurmateriaalCollectionpostResponseSchema -from .inhuurmateriaal_collectionpost_response_schema_data_item import ( - InhuurmateriaalCollectionpostResponseSchemaDataItem, -) -from .inhuurmateriaal_collectionput_response_schema import InhuurmateriaalCollectionputResponseSchema -from .inhuurmateriaal_collectionput_response_schema_data_item import InhuurmateriaalCollectionputResponseSchemaDataItem -from .inhuurmateriaal_itemget_request_schema import InhuurmateriaalItemgetRequestSchema -from .inhuurmateriaal_itemget_response_schema import InhuurmateriaalItemgetResponseSchema -from .inhuurmateriaal_itemget_response_schema_data import InhuurmateriaalItemgetResponseSchemaData -from .inhuurmateriaal_itempost_request_schema import InhuurmateriaalItempostRequestSchema -from .inhuurmateriaal_itempost_response_schema import InhuurmateriaalItempostResponseSchema -from .inhuurmateriaal_itempost_response_schema_data import InhuurmateriaalItempostResponseSchemaData -from .inhuurmateriaal_itemput_request_schema import InhuurmateriaalItemputRequestSchema -from .inhuurmateriaal_itemput_response_schema import InhuurmateriaalItemputResponseSchema -from .inhuurmateriaal_itemput_response_schema_data import InhuurmateriaalItemputResponseSchemaData -from .materiaal_cat_collectionget_response_schema import MateriaalCatCollectiongetResponseSchema -from .materiaal_cat_collectionget_response_schema_data_item import MateriaalCatCollectiongetResponseSchemaDataItem -from .materiaal_cat_collectionpost_response_schema import MateriaalCatCollectionpostResponseSchema -from .materiaal_cat_collectionpost_response_schema_data_item import MateriaalCatCollectionpostResponseSchemaDataItem -from .materiaal_cat_collectionput_response_schema import MateriaalCatCollectionputResponseSchema -from .materiaal_cat_collectionput_response_schema_data_item import MateriaalCatCollectionputResponseSchemaDataItem -from .materiaal_cat_itemget_request_schema import MateriaalCatItemgetRequestSchema -from .materiaal_cat_itemget_response_schema import MateriaalCatItemgetResponseSchema -from .materiaal_cat_itemget_response_schema_data import MateriaalCatItemgetResponseSchemaData -from .materiaal_cat_itempost_request_schema import MateriaalCatItempostRequestSchema -from .materiaal_cat_itempost_response_schema import MateriaalCatItempostResponseSchema -from .materiaal_cat_itempost_response_schema_data import MateriaalCatItempostResponseSchemaData -from .materiaal_cat_itemput_request_schema import MateriaalCatItemputRequestSchema -from .materiaal_cat_itemput_response_schema import MateriaalCatItemputResponseSchema -from .materiaal_cat_itemput_response_schema_data import MateriaalCatItemputResponseSchemaData -from .materiaal_collectionget_response_schema import MateriaalCollectiongetResponseSchema -from .materiaal_collectionget_response_schema_data_item import MateriaalCollectiongetResponseSchemaDataItem -from .materiaal_collectionget_response_schema_data_item_country_of_origin import ( - MateriaalCollectiongetResponseSchemaDataItemCountryOfOrigin, -) -from .materiaal_collectionget_response_schema_data_item_custom import MateriaalCollectiongetResponseSchemaDataItemCustom -from .materiaal_collectionget_response_schema_data_item_is_physical import ( - MateriaalCollectiongetResponseSchemaDataItemIsPhysical, -) -from .materiaal_collectionget_response_schema_data_item_rental_sales import ( - MateriaalCollectiongetResponseSchemaDataItemRentalSales, -) -from .materiaal_collectionget_response_schema_data_item_stock_management import ( - MateriaalCollectiongetResponseSchemaDataItemStockManagement, -) -from .materiaal_collectionget_response_schema_data_item_type import MateriaalCollectiongetResponseSchemaDataItemType -from .materiaal_collectionpost_response_schema import MateriaalCollectionpostResponseSchema -from .materiaal_collectionpost_response_schema_data_item import MateriaalCollectionpostResponseSchemaDataItem -from .materiaal_collectionpost_response_schema_data_item_country_of_origin import ( - MateriaalCollectionpostResponseSchemaDataItemCountryOfOrigin, -) -from .materiaal_collectionpost_response_schema_data_item_custom import ( - MateriaalCollectionpostResponseSchemaDataItemCustom, -) -from .materiaal_collectionpost_response_schema_data_item_is_physical import ( - MateriaalCollectionpostResponseSchemaDataItemIsPhysical, -) -from .materiaal_collectionpost_response_schema_data_item_rental_sales import ( - MateriaalCollectionpostResponseSchemaDataItemRentalSales, -) -from .materiaal_collectionpost_response_schema_data_item_stock_management import ( - MateriaalCollectionpostResponseSchemaDataItemStockManagement, -) -from .materiaal_collectionpost_response_schema_data_item_type import MateriaalCollectionpostResponseSchemaDataItemType -from .materiaal_collectionput_response_schema import MateriaalCollectionputResponseSchema -from .materiaal_collectionput_response_schema_data_item import MateriaalCollectionputResponseSchemaDataItem -from .materiaal_collectionput_response_schema_data_item_country_of_origin import ( - MateriaalCollectionputResponseSchemaDataItemCountryOfOrigin, -) -from .materiaal_collectionput_response_schema_data_item_custom import MateriaalCollectionputResponseSchemaDataItemCustom -from .materiaal_collectionput_response_schema_data_item_is_physical import ( - MateriaalCollectionputResponseSchemaDataItemIsPhysical, -) -from .materiaal_collectionput_response_schema_data_item_rental_sales import ( - MateriaalCollectionputResponseSchemaDataItemRentalSales, -) -from .materiaal_collectionput_response_schema_data_item_stock_management import ( - MateriaalCollectionputResponseSchemaDataItemStockManagement, -) -from .materiaal_collectionput_response_schema_data_item_type import MateriaalCollectionputResponseSchemaDataItemType -from .materiaal_itemget_request_schema import MateriaalItemgetRequestSchema -from .materiaal_itemget_request_schema_country_of_origin import MateriaalItemgetRequestSchemaCountryOfOrigin -from .materiaal_itemget_request_schema_custom import MateriaalItemgetRequestSchemaCustom -from .materiaal_itemget_request_schema_is_physical import MateriaalItemgetRequestSchemaIsPhysical -from .materiaal_itemget_request_schema_rental_sales import MateriaalItemgetRequestSchemaRentalSales -from .materiaal_itemget_request_schema_stock_management import MateriaalItemgetRequestSchemaStockManagement -from .materiaal_itemget_request_schema_type import MateriaalItemgetRequestSchemaType -from .materiaal_itemget_response_schema import MateriaalItemgetResponseSchema -from .materiaal_itemget_response_schema_data import MateriaalItemgetResponseSchemaData -from .materiaal_itemget_response_schema_data_country_of_origin import MateriaalItemgetResponseSchemaDataCountryOfOrigin -from .materiaal_itemget_response_schema_data_custom import MateriaalItemgetResponseSchemaDataCustom -from .materiaal_itemget_response_schema_data_is_physical import MateriaalItemgetResponseSchemaDataIsPhysical -from .materiaal_itemget_response_schema_data_rental_sales import MateriaalItemgetResponseSchemaDataRentalSales -from .materiaal_itemget_response_schema_data_stock_management import MateriaalItemgetResponseSchemaDataStockManagement -from .materiaal_itemget_response_schema_data_type import MateriaalItemgetResponseSchemaDataType -from .materiaal_itempost_request_schema import MateriaalItempostRequestSchema -from .materiaal_itempost_request_schema_country_of_origin import MateriaalItempostRequestSchemaCountryOfOrigin -from .materiaal_itempost_request_schema_custom import MateriaalItempostRequestSchemaCustom -from .materiaal_itempost_request_schema_is_physical import MateriaalItempostRequestSchemaIsPhysical -from .materiaal_itempost_request_schema_rental_sales import MateriaalItempostRequestSchemaRentalSales -from .materiaal_itempost_request_schema_stock_management import MateriaalItempostRequestSchemaStockManagement -from .materiaal_itempost_request_schema_type import MateriaalItempostRequestSchemaType -from .materiaal_itempost_response_schema import MateriaalItempostResponseSchema -from .materiaal_itempost_response_schema_data import MateriaalItempostResponseSchemaData -from .materiaal_itempost_response_schema_data_country_of_origin import ( - MateriaalItempostResponseSchemaDataCountryOfOrigin, -) -from .materiaal_itempost_response_schema_data_custom import MateriaalItempostResponseSchemaDataCustom -from .materiaal_itempost_response_schema_data_is_physical import MateriaalItempostResponseSchemaDataIsPhysical -from .materiaal_itempost_response_schema_data_rental_sales import MateriaalItempostResponseSchemaDataRentalSales -from .materiaal_itempost_response_schema_data_stock_management import MateriaalItempostResponseSchemaDataStockManagement -from .materiaal_itempost_response_schema_data_type import MateriaalItempostResponseSchemaDataType -from .materiaal_itemput_request_schema import MateriaalItemputRequestSchema -from .materiaal_itemput_request_schema_country_of_origin import MateriaalItemputRequestSchemaCountryOfOrigin -from .materiaal_itemput_request_schema_custom import MateriaalItemputRequestSchemaCustom -from .materiaal_itemput_request_schema_is_physical import MateriaalItemputRequestSchemaIsPhysical -from .materiaal_itemput_request_schema_rental_sales import MateriaalItemputRequestSchemaRentalSales -from .materiaal_itemput_request_schema_stock_management import MateriaalItemputRequestSchemaStockManagement -from .materiaal_itemput_request_schema_type import MateriaalItemputRequestSchemaType -from .materiaal_itemput_response_schema import MateriaalItemputResponseSchema -from .materiaal_itemput_response_schema_data import MateriaalItemputResponseSchemaData -from .materiaal_itemput_response_schema_data_country_of_origin import MateriaalItemputResponseSchemaDataCountryOfOrigin -from .materiaal_itemput_response_schema_data_custom import MateriaalItemputResponseSchemaDataCustom -from .materiaal_itemput_response_schema_data_is_physical import MateriaalItemputResponseSchemaDataIsPhysical -from .materiaal_itemput_response_schema_data_rental_sales import MateriaalItemputResponseSchemaDataRentalSales -from .materiaal_itemput_response_schema_data_stock_management import MateriaalItemputResponseSchemaDataStockManagement -from .materiaal_itemput_response_schema_data_type import MateriaalItemputResponseSchemaDataType -from .medewerker_collectionget_response_schema import MedewerkerCollectiongetResponseSchema -from .medewerker_collectionget_response_schema_data_item import MedewerkerCollectiongetResponseSchemaDataItem -from .medewerker_collectionget_response_schema_data_item_country import ( - MedewerkerCollectiongetResponseSchemaDataItemCountry, -) -from .medewerker_collectionget_response_schema_data_item_custom import ( - MedewerkerCollectiongetResponseSchemaDataItemCustom, -) -from .medewerker_collectionpost_response_schema import MedewerkerCollectionpostResponseSchema -from .medewerker_collectionpost_response_schema_data_item import MedewerkerCollectionpostResponseSchemaDataItem -from .medewerker_collectionpost_response_schema_data_item_country import ( - MedewerkerCollectionpostResponseSchemaDataItemCountry, -) -from .medewerker_collectionpost_response_schema_data_item_custom import ( - MedewerkerCollectionpostResponseSchemaDataItemCustom, -) -from .medewerker_collectionput_response_schema import MedewerkerCollectionputResponseSchema -from .medewerker_collectionput_response_schema_data_item import MedewerkerCollectionputResponseSchemaDataItem -from .medewerker_collectionput_response_schema_data_item_country import ( - MedewerkerCollectionputResponseSchemaDataItemCountry, -) -from .medewerker_collectionput_response_schema_data_item_custom import ( - MedewerkerCollectionputResponseSchemaDataItemCustom, -) -from .medewerker_itemget_request_schema import MedewerkerItemgetRequestSchema -from .medewerker_itemget_request_schema_country import MedewerkerItemgetRequestSchemaCountry -from .medewerker_itemget_request_schema_custom import MedewerkerItemgetRequestSchemaCustom -from .medewerker_itemget_response_schema import MedewerkerItemgetResponseSchema -from .medewerker_itemget_response_schema_data import MedewerkerItemgetResponseSchemaData -from .medewerker_itemget_response_schema_data_country import MedewerkerItemgetResponseSchemaDataCountry -from .medewerker_itemget_response_schema_data_custom import MedewerkerItemgetResponseSchemaDataCustom -from .medewerker_itempost_request_schema import MedewerkerItempostRequestSchema -from .medewerker_itempost_request_schema_country import MedewerkerItempostRequestSchemaCountry -from .medewerker_itempost_request_schema_custom import MedewerkerItempostRequestSchemaCustom -from .medewerker_itempost_response_schema import MedewerkerItempostResponseSchema -from .medewerker_itempost_response_schema_data import MedewerkerItempostResponseSchemaData -from .medewerker_itempost_response_schema_data_country import MedewerkerItempostResponseSchemaDataCountry -from .medewerker_itempost_response_schema_data_custom import MedewerkerItempostResponseSchemaDataCustom -from .medewerker_itemput_request_schema import MedewerkerItemputRequestSchema -from .medewerker_itemput_request_schema_country import MedewerkerItemputRequestSchemaCountry -from .medewerker_itemput_request_schema_custom import MedewerkerItemputRequestSchemaCustom -from .medewerker_itemput_response_schema import MedewerkerItemputResponseSchema -from .medewerker_itemput_response_schema_data import MedewerkerItemputResponseSchemaData -from .medewerker_itemput_response_schema_data_country import MedewerkerItemputResponseSchemaDataCountry -from .medewerker_itemput_response_schema_data_custom import MedewerkerItemputResponseSchemaDataCustom -from .medewerkertarief_collectionget_response_schema import MedewerkertariefCollectiongetResponseSchema -from .medewerkertarief_collectionget_response_schema_data_item import ( - MedewerkertariefCollectiongetResponseSchemaDataItem, -) -from .medewerkertarief_collectionpost_response_schema import MedewerkertariefCollectionpostResponseSchema -from .medewerkertarief_collectionpost_response_schema_data_item import ( - MedewerkertariefCollectionpostResponseSchemaDataItem, -) -from .medewerkertarief_collectionput_response_schema import MedewerkertariefCollectionputResponseSchema -from .medewerkertarief_collectionput_response_schema_data_item import ( - MedewerkertariefCollectionputResponseSchemaDataItem, -) -from .medewerkertarief_itemget_request_schema import MedewerkertariefItemgetRequestSchema -from .medewerkertarief_itemget_response_schema import MedewerkertariefItemgetResponseSchema -from .medewerkertarief_itemget_response_schema_data import MedewerkertariefItemgetResponseSchemaData -from .medewerkertarief_itempost_request_schema import MedewerkertariefItempostRequestSchema -from .medewerkertarief_itempost_response_schema import MedewerkertariefItempostResponseSchema -from .medewerkertarief_itempost_response_schema_data import MedewerkertariefItempostResponseSchemaData -from .medewerkertarief_itemput_request_schema import MedewerkertariefItemputRequestSchema -from .medewerkertarief_itemput_response_schema import MedewerkertariefItemputResponseSchema -from .medewerkertarief_itemput_response_schema_data import MedewerkertariefItemputResponseSchemaData -from .offerte_collectionget_response_schema import OfferteCollectiongetResponseSchema -from .offerte_collectionget_response_schema_data_item import OfferteCollectiongetResponseSchemaDataItem -from .offerte_collectionpost_response_schema import OfferteCollectionpostResponseSchema -from .offerte_collectionpost_response_schema_data_item import OfferteCollectionpostResponseSchemaDataItem -from .offerte_collectionput_response_schema import OfferteCollectionputResponseSchema -from .offerte_collectionput_response_schema_data_item import OfferteCollectionputResponseSchemaDataItem -from .offerte_itemget_request_schema import OfferteItemgetRequestSchema -from .offerte_itemget_response_schema import OfferteItemgetResponseSchema -from .offerte_itemget_response_schema_data import OfferteItemgetResponseSchemaData -from .offerte_itempost_request_schema import OfferteItempostRequestSchema -from .offerte_itempost_response_schema import OfferteItempostResponseSchema -from .offerte_itempost_response_schema_data import OfferteItempostResponseSchemaData -from .offerte_itemput_request_schema import OfferteItemputRequestSchema -from .offerte_itemput_response_schema import OfferteItemputResponseSchema -from .offerte_itemput_response_schema_data import OfferteItemputResponseSchemaData +from .invoice_collectionget_response_schema import InvoiceCollectiongetResponseSchema +from .invoice_collectionget_response_schema_data_item import InvoiceCollectiongetResponseSchemaDataItem +from .invoice_collectionpost_response_schema import InvoiceCollectionpostResponseSchema +from .invoice_collectionpost_response_schema_data_item import InvoiceCollectionpostResponseSchemaDataItem +from .invoice_collectionput_response_schema import InvoiceCollectionputResponseSchema +from .invoice_collectionput_response_schema_data_item import InvoiceCollectionputResponseSchemaDataItem +from .invoice_itemget_request_schema import InvoiceItemgetRequestSchema +from .invoice_itemget_response_schema import InvoiceItemgetResponseSchema +from .invoice_itemget_response_schema_data import InvoiceItemgetResponseSchemaData +from .invoice_itempost_request_schema import InvoiceItempostRequestSchema +from .invoice_itempost_response_schema import InvoiceItempostResponseSchema +from .invoice_itempost_response_schema_data import InvoiceItempostResponseSchemaData +from .invoice_itemput_request_schema import InvoiceItemputRequestSchema +from .invoice_itemput_response_schema import InvoiceItemputResponseSchema +from .invoice_itemput_response_schema_data import InvoiceItemputResponseSchemaData +from .invoiceline_collectionget_response_schema import InvoicelineCollectiongetResponseSchema +from .invoiceline_collectionget_response_schema_data_item import InvoicelineCollectiongetResponseSchemaDataItem +from .invoiceline_collectionpost_response_schema import InvoicelineCollectionpostResponseSchema +from .invoiceline_collectionpost_response_schema_data_item import InvoicelineCollectionpostResponseSchemaDataItem +from .invoiceline_collectionput_response_schema import InvoicelineCollectionputResponseSchema +from .invoiceline_collectionput_response_schema_data_item import InvoicelineCollectionputResponseSchemaDataItem +from .invoiceline_itemget_request_schema import InvoicelineItemgetRequestSchema +from .invoiceline_itemget_response_schema import InvoicelineItemgetResponseSchema +from .invoiceline_itemget_response_schema_data import InvoicelineItemgetResponseSchemaData +from .invoiceline_itempost_request_schema import InvoicelineItempostRequestSchema +from .invoiceline_itempost_response_schema import InvoicelineItempostResponseSchema +from .invoiceline_itempost_response_schema_data import InvoicelineItempostResponseSchemaData +from .invoiceline_itemput_request_schema import InvoicelineItemputRequestSchema +from .invoiceline_itemput_response_schema import InvoicelineItemputResponseSchema +from .invoiceline_itemput_response_schema_data import InvoicelineItemputResponseSchemaData +from .ledgercode_collectionget_response_schema import LedgercodeCollectiongetResponseSchema +from .ledgercode_collectionget_response_schema_data_item import LedgercodeCollectiongetResponseSchemaDataItem +from .ledgercode_collectionpost_response_schema import LedgercodeCollectionpostResponseSchema +from .ledgercode_collectionpost_response_schema_data_item import LedgercodeCollectionpostResponseSchemaDataItem +from .ledgercode_collectionput_response_schema import LedgercodeCollectionputResponseSchema +from .ledgercode_collectionput_response_schema_data_item import LedgercodeCollectionputResponseSchemaDataItem +from .ledgercode_itemget_request_schema import LedgercodeItemgetRequestSchema +from .ledgercode_itemget_response_schema import LedgercodeItemgetResponseSchema +from .ledgercode_itemget_response_schema_data import LedgercodeItemgetResponseSchemaData +from .ledgercode_itempost_request_schema import LedgercodeItempostRequestSchema +from .ledgercode_itempost_response_schema import LedgercodeItempostResponseSchema +from .ledgercode_itempost_response_schema_data import LedgercodeItempostResponseSchemaData +from .ledgercode_itemput_request_schema import LedgercodeItemputRequestSchema +from .ledgercode_itemput_response_schema import LedgercodeItemputResponseSchema +from .ledgercode_itemput_response_schema_data import LedgercodeItemputResponseSchemaData from .payment_collectionget_response_schema import PaymentCollectiongetResponseSchema from .payment_collectionget_response_schema_data_item import PaymentCollectiongetResponseSchemaDataItem from .payment_collectionget_response_schema_data_item_payment_import_source import ( @@ -795,189 +597,6 @@ from .payment_itemput_response_schema_data_payment_import_source import ( PaymentItemputResponseSchemaDataPaymentImportSource, ) -from .person_collectionget_response_schema import PersonCollectiongetResponseSchema -from .person_collectionget_response_schema_data_item import PersonCollectiongetResponseSchemaDataItem -from .person_collectionget_response_schema_data_item_country import PersonCollectiongetResponseSchemaDataItemCountry -from .person_collectionget_response_schema_data_item_custom import PersonCollectiongetResponseSchemaDataItemCustom -from .person_collectionpost_response_schema import PersonCollectionpostResponseSchema -from .person_collectionpost_response_schema_data_item import PersonCollectionpostResponseSchemaDataItem -from .person_collectionpost_response_schema_data_item_country import PersonCollectionpostResponseSchemaDataItemCountry -from .person_collectionpost_response_schema_data_item_custom import PersonCollectionpostResponseSchemaDataItemCustom -from .person_collectionput_response_schema import PersonCollectionputResponseSchema -from .person_collectionput_response_schema_data_item import PersonCollectionputResponseSchemaDataItem -from .person_collectionput_response_schema_data_item_country import PersonCollectionputResponseSchemaDataItemCountry -from .person_collectionput_response_schema_data_item_custom import PersonCollectionputResponseSchemaDataItemCustom -from .person_itemget_request_schema import PersonItemgetRequestSchema -from .person_itemget_request_schema_country import PersonItemgetRequestSchemaCountry -from .person_itemget_request_schema_custom import PersonItemgetRequestSchemaCustom -from .person_itemget_response_schema import PersonItemgetResponseSchema -from .person_itemget_response_schema_data import PersonItemgetResponseSchemaData -from .person_itemget_response_schema_data_country import PersonItemgetResponseSchemaDataCountry -from .person_itemget_response_schema_data_custom import PersonItemgetResponseSchemaDataCustom -from .person_itempost_request_schema import PersonItempostRequestSchema -from .person_itempost_request_schema_country import PersonItempostRequestSchemaCountry -from .person_itempost_request_schema_custom import PersonItempostRequestSchemaCustom -from .person_itempost_response_schema import PersonItempostResponseSchema -from .person_itempost_response_schema_data import PersonItempostResponseSchemaData -from .person_itempost_response_schema_data_country import PersonItempostResponseSchemaDataCountry -from .person_itempost_response_schema_data_custom import PersonItempostResponseSchemaDataCustom -from .person_itemput_request_schema import PersonItemputRequestSchema -from .person_itemput_request_schema_country import PersonItemputRequestSchemaCountry -from .person_itemput_request_schema_custom import PersonItemputRequestSchemaCustom -from .person_itemput_response_schema import PersonItemputResponseSchema -from .person_itemput_response_schema_data import PersonItemputResponseSchemaData -from .person_itemput_response_schema_data_country import PersonItemputResponseSchemaDataCountry -from .person_itemput_response_schema_data_custom import PersonItemputResponseSchemaDataCustom -from .planningmateriaal_collectionget_response_schema import PlanningmateriaalCollectiongetResponseSchema -from .planningmateriaal_collectionget_response_schema_data_item import ( - PlanningmateriaalCollectiongetResponseSchemaDataItem, -) -from .planningmateriaal_collectionget_response_schema_data_item_custom import ( - PlanningmateriaalCollectiongetResponseSchemaDataItemCustom, -) -from .planningmateriaal_collectionpost_response_schema import PlanningmateriaalCollectionpostResponseSchema -from .planningmateriaal_collectionpost_response_schema_data_item import ( - PlanningmateriaalCollectionpostResponseSchemaDataItem, -) -from .planningmateriaal_collectionpost_response_schema_data_item_custom import ( - PlanningmateriaalCollectionpostResponseSchemaDataItemCustom, -) -from .planningmateriaal_collectionput_response_schema import PlanningmateriaalCollectionputResponseSchema -from .planningmateriaal_collectionput_response_schema_data_item import ( - PlanningmateriaalCollectionputResponseSchemaDataItem, -) -from .planningmateriaal_collectionput_response_schema_data_item_custom import ( - PlanningmateriaalCollectionputResponseSchemaDataItemCustom, -) -from .planningmateriaal_itemget_request_schema import PlanningmateriaalItemgetRequestSchema -from .planningmateriaal_itemget_request_schema_custom import PlanningmateriaalItemgetRequestSchemaCustom -from .planningmateriaal_itemget_response_schema import PlanningmateriaalItemgetResponseSchema -from .planningmateriaal_itemget_response_schema_data import PlanningmateriaalItemgetResponseSchemaData -from .planningmateriaal_itemget_response_schema_data_custom import PlanningmateriaalItemgetResponseSchemaDataCustom -from .planningmateriaal_itempost_request_schema import PlanningmateriaalItempostRequestSchema -from .planningmateriaal_itempost_request_schema_custom import PlanningmateriaalItempostRequestSchemaCustom -from .planningmateriaal_itempost_response_schema import PlanningmateriaalItempostResponseSchema -from .planningmateriaal_itempost_response_schema_data import PlanningmateriaalItempostResponseSchemaData -from .planningmateriaal_itempost_response_schema_data_custom import PlanningmateriaalItempostResponseSchemaDataCustom -from .planningmateriaal_itemput_request_schema import PlanningmateriaalItemputRequestSchema -from .planningmateriaal_itemput_request_schema_custom import PlanningmateriaalItemputRequestSchemaCustom -from .planningmateriaal_itemput_response_schema import PlanningmateriaalItemputResponseSchema -from .planningmateriaal_itemput_response_schema_data import PlanningmateriaalItemputResponseSchemaData -from .planningmateriaal_itemput_response_schema_data_custom import PlanningmateriaalItemputResponseSchemaDataCustom -from .planningpersoneel_collectionget_response_schema import PlanningpersoneelCollectiongetResponseSchema -from .planningpersoneel_collectionget_response_schema_data_item import ( - PlanningpersoneelCollectiongetResponseSchemaDataItem, -) -from .planningpersoneel_collectionget_response_schema_data_item_custom import ( - PlanningpersoneelCollectiongetResponseSchemaDataItemCustom, -) -from .planningpersoneel_collectionget_response_schema_data_item_transport import ( - PlanningpersoneelCollectiongetResponseSchemaDataItemTransport, -) -from .planningpersoneel_collectionpost_response_schema import PlanningpersoneelCollectionpostResponseSchema -from .planningpersoneel_collectionpost_response_schema_data_item import ( - PlanningpersoneelCollectionpostResponseSchemaDataItem, -) -from .planningpersoneel_collectionpost_response_schema_data_item_custom import ( - PlanningpersoneelCollectionpostResponseSchemaDataItemCustom, -) -from .planningpersoneel_collectionpost_response_schema_data_item_transport import ( - PlanningpersoneelCollectionpostResponseSchemaDataItemTransport, -) -from .planningpersoneel_collectionput_response_schema import PlanningpersoneelCollectionputResponseSchema -from .planningpersoneel_collectionput_response_schema_data_item import ( - PlanningpersoneelCollectionputResponseSchemaDataItem, -) -from .planningpersoneel_collectionput_response_schema_data_item_custom import ( - PlanningpersoneelCollectionputResponseSchemaDataItemCustom, -) -from .planningpersoneel_collectionput_response_schema_data_item_transport import ( - PlanningpersoneelCollectionputResponseSchemaDataItemTransport, -) -from .planningpersoneel_itemget_request_schema import PlanningpersoneelItemgetRequestSchema -from .planningpersoneel_itemget_request_schema_custom import PlanningpersoneelItemgetRequestSchemaCustom -from .planningpersoneel_itemget_request_schema_transport import PlanningpersoneelItemgetRequestSchemaTransport -from .planningpersoneel_itemget_response_schema import PlanningpersoneelItemgetResponseSchema -from .planningpersoneel_itemget_response_schema_data import PlanningpersoneelItemgetResponseSchemaData -from .planningpersoneel_itemget_response_schema_data_custom import PlanningpersoneelItemgetResponseSchemaDataCustom -from .planningpersoneel_itemget_response_schema_data_transport import ( - PlanningpersoneelItemgetResponseSchemaDataTransport, -) -from .planningpersoneel_itempost_request_schema import PlanningpersoneelItempostRequestSchema -from .planningpersoneel_itempost_request_schema_custom import PlanningpersoneelItempostRequestSchemaCustom -from .planningpersoneel_itempost_request_schema_transport import PlanningpersoneelItempostRequestSchemaTransport -from .planningpersoneel_itempost_response_schema import PlanningpersoneelItempostResponseSchema -from .planningpersoneel_itempost_response_schema_data import PlanningpersoneelItempostResponseSchemaData -from .planningpersoneel_itempost_response_schema_data_custom import PlanningpersoneelItempostResponseSchemaDataCustom -from .planningpersoneel_itempost_response_schema_data_transport import ( - PlanningpersoneelItempostResponseSchemaDataTransport, -) -from .planningpersoneel_itemput_request_schema import PlanningpersoneelItemputRequestSchema -from .planningpersoneel_itemput_request_schema_custom import PlanningpersoneelItemputRequestSchemaCustom -from .planningpersoneel_itemput_request_schema_transport import PlanningpersoneelItemputRequestSchemaTransport -from .planningpersoneel_itemput_response_schema import PlanningpersoneelItemputResponseSchema -from .planningpersoneel_itemput_response_schema_data import PlanningpersoneelItemputResponseSchemaData -from .planningpersoneel_itemput_response_schema_data_custom import PlanningpersoneelItemputResponseSchemaDataCustom -from .planningpersoneel_itemput_response_schema_data_transport import ( - PlanningpersoneelItemputResponseSchemaDataTransport, -) -from .planningtransport_collectionget_response_schema import PlanningtransportCollectiongetResponseSchema -from .planningtransport_collectionget_response_schema_data_item import ( - PlanningtransportCollectiongetResponseSchemaDataItem, -) -from .planningtransport_collectionget_response_schema_data_item_custom import ( - PlanningtransportCollectiongetResponseSchemaDataItemCustom, -) -from .planningtransport_collectionget_response_schema_data_item_transport import ( - PlanningtransportCollectiongetResponseSchemaDataItemTransport, -) -from .planningtransport_collectionpost_response_schema import PlanningtransportCollectionpostResponseSchema -from .planningtransport_collectionpost_response_schema_data_item import ( - PlanningtransportCollectionpostResponseSchemaDataItem, -) -from .planningtransport_collectionpost_response_schema_data_item_custom import ( - PlanningtransportCollectionpostResponseSchemaDataItemCustom, -) -from .planningtransport_collectionpost_response_schema_data_item_transport import ( - PlanningtransportCollectionpostResponseSchemaDataItemTransport, -) -from .planningtransport_collectionput_response_schema import PlanningtransportCollectionputResponseSchema -from .planningtransport_collectionput_response_schema_data_item import ( - PlanningtransportCollectionputResponseSchemaDataItem, -) -from .planningtransport_collectionput_response_schema_data_item_custom import ( - PlanningtransportCollectionputResponseSchemaDataItemCustom, -) -from .planningtransport_collectionput_response_schema_data_item_transport import ( - PlanningtransportCollectionputResponseSchemaDataItemTransport, -) -from .planningtransport_itemget_request_schema import PlanningtransportItemgetRequestSchema -from .planningtransport_itemget_request_schema_custom import PlanningtransportItemgetRequestSchemaCustom -from .planningtransport_itemget_request_schema_transport import PlanningtransportItemgetRequestSchemaTransport -from .planningtransport_itemget_response_schema import PlanningtransportItemgetResponseSchema -from .planningtransport_itemget_response_schema_data import PlanningtransportItemgetResponseSchemaData -from .planningtransport_itemget_response_schema_data_custom import PlanningtransportItemgetResponseSchemaDataCustom -from .planningtransport_itemget_response_schema_data_transport import ( - PlanningtransportItemgetResponseSchemaDataTransport, -) -from .planningtransport_itempost_request_schema import PlanningtransportItempostRequestSchema -from .planningtransport_itempost_request_schema_custom import PlanningtransportItempostRequestSchemaCustom -from .planningtransport_itempost_request_schema_transport import PlanningtransportItempostRequestSchemaTransport -from .planningtransport_itempost_response_schema import PlanningtransportItempostResponseSchema -from .planningtransport_itempost_response_schema_data import PlanningtransportItempostResponseSchemaData -from .planningtransport_itempost_response_schema_data_custom import PlanningtransportItempostResponseSchemaDataCustom -from .planningtransport_itempost_response_schema_data_transport import ( - PlanningtransportItempostResponseSchemaDataTransport, -) -from .planningtransport_itemput_request_schema import PlanningtransportItemputRequestSchema -from .planningtransport_itemput_request_schema_custom import PlanningtransportItemputRequestSchemaCustom -from .planningtransport_itemput_request_schema_transport import PlanningtransportItemputRequestSchemaTransport -from .planningtransport_itemput_response_schema import PlanningtransportItemputResponseSchema -from .planningtransport_itemput_response_schema_data import PlanningtransportItemputResponseSchemaData -from .planningtransport_itemput_response_schema_data_custom import PlanningtransportItemputResponseSchemaDataCustom -from .planningtransport_itemput_response_schema_data_transport import ( - PlanningtransportItemputResponseSchemaDataTransport, -) from .project_collectionget_response_schema import ProjectCollectiongetResponseSchema from .project_collectionget_response_schema_data_item import ProjectCollectiongetResponseSchemaDataItem from .project_collectionget_response_schema_data_item_custom import ProjectCollectiongetResponseSchemaDataItemCustom @@ -1039,6 +658,288 @@ from .project_request_itemput_request_schema import ProjectRequestItemputRequestSchema from .project_request_itemput_response_schema import ProjectRequestItemputResponseSchema from .project_request_itemput_response_schema_data import ProjectRequestItemputResponseSchemaData +from .projectcrew_collectionget_response_schema import ProjectcrewCollectiongetResponseSchema +from .projectcrew_collectionget_response_schema_data_item import ProjectcrewCollectiongetResponseSchemaDataItem +from .projectcrew_collectionget_response_schema_data_item_custom import ( + ProjectcrewCollectiongetResponseSchemaDataItemCustom, +) +from .projectcrew_collectionget_response_schema_data_item_transport import ( + ProjectcrewCollectiongetResponseSchemaDataItemTransport, +) +from .projectcrew_collectionpost_response_schema import ProjectcrewCollectionpostResponseSchema +from .projectcrew_collectionpost_response_schema_data_item import ProjectcrewCollectionpostResponseSchemaDataItem +from .projectcrew_collectionpost_response_schema_data_item_custom import ( + ProjectcrewCollectionpostResponseSchemaDataItemCustom, +) +from .projectcrew_collectionpost_response_schema_data_item_transport import ( + ProjectcrewCollectionpostResponseSchemaDataItemTransport, +) +from .projectcrew_collectionput_response_schema import ProjectcrewCollectionputResponseSchema +from .projectcrew_collectionput_response_schema_data_item import ProjectcrewCollectionputResponseSchemaDataItem +from .projectcrew_collectionput_response_schema_data_item_custom import ( + ProjectcrewCollectionputResponseSchemaDataItemCustom, +) +from .projectcrew_collectionput_response_schema_data_item_transport import ( + ProjectcrewCollectionputResponseSchemaDataItemTransport, +) +from .projectcrew_itemget_request_schema import ProjectcrewItemgetRequestSchema +from .projectcrew_itemget_request_schema_custom import ProjectcrewItemgetRequestSchemaCustom +from .projectcrew_itemget_request_schema_transport import ProjectcrewItemgetRequestSchemaTransport +from .projectcrew_itemget_response_schema import ProjectcrewItemgetResponseSchema +from .projectcrew_itemget_response_schema_data import ProjectcrewItemgetResponseSchemaData +from .projectcrew_itemget_response_schema_data_custom import ProjectcrewItemgetResponseSchemaDataCustom +from .projectcrew_itemget_response_schema_data_transport import ProjectcrewItemgetResponseSchemaDataTransport +from .projectcrew_itempost_request_schema import ProjectcrewItempostRequestSchema +from .projectcrew_itempost_request_schema_custom import ProjectcrewItempostRequestSchemaCustom +from .projectcrew_itempost_request_schema_transport import ProjectcrewItempostRequestSchemaTransport +from .projectcrew_itempost_response_schema import ProjectcrewItempostResponseSchema +from .projectcrew_itempost_response_schema_data import ProjectcrewItempostResponseSchemaData +from .projectcrew_itempost_response_schema_data_custom import ProjectcrewItempostResponseSchemaDataCustom +from .projectcrew_itempost_response_schema_data_transport import ProjectcrewItempostResponseSchemaDataTransport +from .projectcrew_itemput_request_schema import ProjectcrewItemputRequestSchema +from .projectcrew_itemput_request_schema_custom import ProjectcrewItemputRequestSchemaCustom +from .projectcrew_itemput_request_schema_transport import ProjectcrewItemputRequestSchemaTransport +from .projectcrew_itemput_response_schema import ProjectcrewItemputResponseSchema +from .projectcrew_itemput_response_schema_data import ProjectcrewItemputResponseSchemaData +from .projectcrew_itemput_response_schema_data_custom import ProjectcrewItemputResponseSchemaDataCustom +from .projectcrew_itemput_response_schema_data_transport import ProjectcrewItemputResponseSchemaDataTransport +from .projectequipment_collectionget_response_schema import ProjectequipmentCollectiongetResponseSchema +from .projectequipment_collectionget_response_schema_data_item import ( + ProjectequipmentCollectiongetResponseSchemaDataItem, +) +from .projectequipment_collectionget_response_schema_data_item_custom import ( + ProjectequipmentCollectiongetResponseSchemaDataItemCustom, +) +from .projectequipment_collectionpost_response_schema import ProjectequipmentCollectionpostResponseSchema +from .projectequipment_collectionpost_response_schema_data_item import ( + ProjectequipmentCollectionpostResponseSchemaDataItem, +) +from .projectequipment_collectionpost_response_schema_data_item_custom import ( + ProjectequipmentCollectionpostResponseSchemaDataItemCustom, +) +from .projectequipment_collectionput_response_schema import ProjectequipmentCollectionputResponseSchema +from .projectequipment_collectionput_response_schema_data_item import ( + ProjectequipmentCollectionputResponseSchemaDataItem, +) +from .projectequipment_collectionput_response_schema_data_item_custom import ( + ProjectequipmentCollectionputResponseSchemaDataItemCustom, +) +from .projectequipment_itemget_request_schema import ProjectequipmentItemgetRequestSchema +from .projectequipment_itemget_request_schema_custom import ProjectequipmentItemgetRequestSchemaCustom +from .projectequipment_itemget_response_schema import ProjectequipmentItemgetResponseSchema +from .projectequipment_itemget_response_schema_data import ProjectequipmentItemgetResponseSchemaData +from .projectequipment_itemget_response_schema_data_custom import ProjectequipmentItemgetResponseSchemaDataCustom +from .projectequipment_itempost_request_schema import ProjectequipmentItempostRequestSchema +from .projectequipment_itempost_request_schema_custom import ProjectequipmentItempostRequestSchemaCustom +from .projectequipment_itempost_response_schema import ProjectequipmentItempostResponseSchema +from .projectequipment_itempost_response_schema_data import ProjectequipmentItempostResponseSchemaData +from .projectequipment_itempost_response_schema_data_custom import ProjectequipmentItempostResponseSchemaDataCustom +from .projectequipment_itemput_request_schema import ProjectequipmentItemputRequestSchema +from .projectequipment_itemput_request_schema_custom import ProjectequipmentItemputRequestSchemaCustom +from .projectequipment_itemput_response_schema import ProjectequipmentItemputResponseSchema +from .projectequipment_itemput_response_schema_data import ProjectequipmentItemputResponseSchemaData +from .projectequipment_itemput_response_schema_data_custom import ProjectequipmentItemputResponseSchemaDataCustom +from .projectequipmentgroup_collectionget_response_schema import ProjectequipmentgroupCollectiongetResponseSchema +from .projectequipmentgroup_collectionget_response_schema_data_item import ( + ProjectequipmentgroupCollectiongetResponseSchemaDataItem, +) +from .projectequipmentgroup_collectionpost_response_schema import ProjectequipmentgroupCollectionpostResponseSchema +from .projectequipmentgroup_collectionpost_response_schema_data_item import ( + ProjectequipmentgroupCollectionpostResponseSchemaDataItem, +) +from .projectequipmentgroup_collectionput_response_schema import ProjectequipmentgroupCollectionputResponseSchema +from .projectequipmentgroup_collectionput_response_schema_data_item import ( + ProjectequipmentgroupCollectionputResponseSchemaDataItem, +) +from .projectequipmentgroup_itemget_request_schema import ProjectequipmentgroupItemgetRequestSchema +from .projectequipmentgroup_itemget_response_schema import ProjectequipmentgroupItemgetResponseSchema +from .projectequipmentgroup_itemget_response_schema_data import ProjectequipmentgroupItemgetResponseSchemaData +from .projectequipmentgroup_itempost_request_schema import ProjectequipmentgroupItempostRequestSchema +from .projectequipmentgroup_itempost_response_schema import ProjectequipmentgroupItempostResponseSchema +from .projectequipmentgroup_itempost_response_schema_data import ProjectequipmentgroupItempostResponseSchemaData +from .projectequipmentgroup_itemput_request_schema import ProjectequipmentgroupItemputRequestSchema +from .projectequipmentgroup_itemput_response_schema import ProjectequipmentgroupItemputResponseSchema +from .projectequipmentgroup_itemput_response_schema_data import ProjectequipmentgroupItemputResponseSchemaData +from .projectfunction_collectionget_response_schema import ProjectfunctionCollectiongetResponseSchema +from .projectfunction_collectionget_response_schema_data_item import ProjectfunctionCollectiongetResponseSchemaDataItem +from .projectfunction_collectionget_response_schema_data_item_custom import ( + ProjectfunctionCollectiongetResponseSchemaDataItemCustom, +) +from .projectfunction_collectionget_response_schema_data_item_planperiod_end_schedule_is_start import ( + ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart, +) +from .projectfunction_collectionget_response_schema_data_item_planperiod_start_schedule_is_start import ( + ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart, +) +from .projectfunction_collectionget_response_schema_data_item_type import ( + ProjectfunctionCollectiongetResponseSchemaDataItemType, +) +from .projectfunction_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start import ( + ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart, +) +from .projectfunction_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start import ( + ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart, +) +from .projectfunction_itemget_request_schema import ProjectfunctionItemgetRequestSchema +from .projectfunction_itemget_request_schema_custom import ProjectfunctionItemgetRequestSchemaCustom +from .projectfunction_itemget_request_schema_planperiod_end_schedule_is_start import ( + ProjectfunctionItemgetRequestSchemaPlanperiodEndScheduleIsStart, +) +from .projectfunction_itemget_request_schema_planperiod_start_schedule_is_start import ( + ProjectfunctionItemgetRequestSchemaPlanperiodStartScheduleIsStart, +) +from .projectfunction_itemget_request_schema_type import ProjectfunctionItemgetRequestSchemaType +from .projectfunction_itemget_request_schema_usageperiod_end_schedule_is_start import ( + ProjectfunctionItemgetRequestSchemaUsageperiodEndScheduleIsStart, +) +from .projectfunction_itemget_request_schema_usageperiod_start_schedule_is_start import ( + ProjectfunctionItemgetRequestSchemaUsageperiodStartScheduleIsStart, +) +from .projectfunction_itemget_response_schema import ProjectfunctionItemgetResponseSchema +from .projectfunction_itemget_response_schema_data import ProjectfunctionItemgetResponseSchemaData +from .projectfunction_itemget_response_schema_data_custom import ProjectfunctionItemgetResponseSchemaDataCustom +from .projectfunction_itemget_response_schema_data_planperiod_end_schedule_is_start import ( + ProjectfunctionItemgetResponseSchemaDataPlanperiodEndScheduleIsStart, +) +from .projectfunction_itemget_response_schema_data_planperiod_start_schedule_is_start import ( + ProjectfunctionItemgetResponseSchemaDataPlanperiodStartScheduleIsStart, +) +from .projectfunction_itemget_response_schema_data_type import ProjectfunctionItemgetResponseSchemaDataType +from .projectfunction_itemget_response_schema_data_usageperiod_end_schedule_is_start import ( + ProjectfunctionItemgetResponseSchemaDataUsageperiodEndScheduleIsStart, +) +from .projectfunction_itemget_response_schema_data_usageperiod_start_schedule_is_start import ( + ProjectfunctionItemgetResponseSchemaDataUsageperiodStartScheduleIsStart, +) +from .projectfunctiongroup_collectionget_response_schema import ProjectfunctiongroupCollectiongetResponseSchema +from .projectfunctiongroup_collectionget_response_schema_data_item import ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItem, +) +from .projectfunctiongroup_collectionget_response_schema_data_item_planperiod_end_schedule_is_start import ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart, +) +from .projectfunctiongroup_collectionget_response_schema_data_item_planperiod_start_schedule_is_start import ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart, +) +from .projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start import ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart, +) +from .projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start import ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart, +) +from .projectfunctiongroup_itemget_request_schema import ProjectfunctiongroupItemgetRequestSchema +from .projectfunctiongroup_itemget_request_schema_planperiod_end_schedule_is_start import ( + ProjectfunctiongroupItemgetRequestSchemaPlanperiodEndScheduleIsStart, +) +from .projectfunctiongroup_itemget_request_schema_planperiod_start_schedule_is_start import ( + ProjectfunctiongroupItemgetRequestSchemaPlanperiodStartScheduleIsStart, +) +from .projectfunctiongroup_itemget_request_schema_usageperiod_end_schedule_is_start import ( + ProjectfunctiongroupItemgetRequestSchemaUsageperiodEndScheduleIsStart, +) +from .projectfunctiongroup_itemget_request_schema_usageperiod_start_schedule_is_start import ( + ProjectfunctiongroupItemgetRequestSchemaUsageperiodStartScheduleIsStart, +) +from .projectfunctiongroup_itemget_response_schema import ProjectfunctiongroupItemgetResponseSchema +from .projectfunctiongroup_itemget_response_schema_data import ProjectfunctiongroupItemgetResponseSchemaData +from .projectfunctiongroup_itemget_response_schema_data_planperiod_end_schedule_is_start import ( + ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodEndScheduleIsStart, +) +from .projectfunctiongroup_itemget_response_schema_data_planperiod_start_schedule_is_start import ( + ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodStartScheduleIsStart, +) +from .projectfunctiongroup_itemget_response_schema_data_usageperiod_end_schedule_is_start import ( + ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodEndScheduleIsStart, +) +from .projectfunctiongroup_itemget_response_schema_data_usageperiod_start_schedule_is_start import ( + ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodStartScheduleIsStart, +) +from .projecttype_collectionget_response_schema import ProjecttypeCollectiongetResponseSchema +from .projecttype_collectionget_response_schema_data_item import ProjecttypeCollectiongetResponseSchemaDataItem +from .projecttype_collectionget_response_schema_data_item_type import ProjecttypeCollectiongetResponseSchemaDataItemType +from .projecttype_collectionpost_response_schema import ProjecttypeCollectionpostResponseSchema +from .projecttype_collectionpost_response_schema_data_item import ProjecttypeCollectionpostResponseSchemaDataItem +from .projecttype_collectionpost_response_schema_data_item_type import ( + ProjecttypeCollectionpostResponseSchemaDataItemType, +) +from .projecttype_collectionput_response_schema import ProjecttypeCollectionputResponseSchema +from .projecttype_collectionput_response_schema_data_item import ProjecttypeCollectionputResponseSchemaDataItem +from .projecttype_collectionput_response_schema_data_item_type import ProjecttypeCollectionputResponseSchemaDataItemType +from .projecttype_itemget_request_schema import ProjecttypeItemgetRequestSchema +from .projecttype_itemget_request_schema_type import ProjecttypeItemgetRequestSchemaType +from .projecttype_itemget_response_schema import ProjecttypeItemgetResponseSchema +from .projecttype_itemget_response_schema_data import ProjecttypeItemgetResponseSchemaData +from .projecttype_itemget_response_schema_data_type import ProjecttypeItemgetResponseSchemaDataType +from .projecttype_itempost_request_schema import ProjecttypeItempostRequestSchema +from .projecttype_itempost_request_schema_type import ProjecttypeItempostRequestSchemaType +from .projecttype_itempost_response_schema import ProjecttypeItempostResponseSchema +from .projecttype_itempost_response_schema_data import ProjecttypeItempostResponseSchemaData +from .projecttype_itempost_response_schema_data_type import ProjecttypeItempostResponseSchemaDataType +from .projecttype_itemput_request_schema import ProjecttypeItemputRequestSchema +from .projecttype_itemput_request_schema_type import ProjecttypeItemputRequestSchemaType +from .projecttype_itemput_response_schema import ProjecttypeItemputResponseSchema +from .projecttype_itemput_response_schema_data import ProjecttypeItemputResponseSchemaData +from .projecttype_itemput_response_schema_data_type import ProjecttypeItemputResponseSchemaDataType +from .projectvehicle_collectionget_response_schema import ProjectvehicleCollectiongetResponseSchema +from .projectvehicle_collectionget_response_schema_data_item import ProjectvehicleCollectiongetResponseSchemaDataItem +from .projectvehicle_collectionget_response_schema_data_item_custom import ( + ProjectvehicleCollectiongetResponseSchemaDataItemCustom, +) +from .projectvehicle_collectionget_response_schema_data_item_transport import ( + ProjectvehicleCollectiongetResponseSchemaDataItemTransport, +) +from .projectvehicle_collectionpost_response_schema import ProjectvehicleCollectionpostResponseSchema +from .projectvehicle_collectionpost_response_schema_data_item import ProjectvehicleCollectionpostResponseSchemaDataItem +from .projectvehicle_collectionpost_response_schema_data_item_custom import ( + ProjectvehicleCollectionpostResponseSchemaDataItemCustom, +) +from .projectvehicle_collectionpost_response_schema_data_item_transport import ( + ProjectvehicleCollectionpostResponseSchemaDataItemTransport, +) +from .projectvehicle_collectionput_response_schema import ProjectvehicleCollectionputResponseSchema +from .projectvehicle_collectionput_response_schema_data_item import ProjectvehicleCollectionputResponseSchemaDataItem +from .projectvehicle_collectionput_response_schema_data_item_custom import ( + ProjectvehicleCollectionputResponseSchemaDataItemCustom, +) +from .projectvehicle_collectionput_response_schema_data_item_transport import ( + ProjectvehicleCollectionputResponseSchemaDataItemTransport, +) +from .projectvehicle_itemget_request_schema import ProjectvehicleItemgetRequestSchema +from .projectvehicle_itemget_request_schema_custom import ProjectvehicleItemgetRequestSchemaCustom +from .projectvehicle_itemget_request_schema_transport import ProjectvehicleItemgetRequestSchemaTransport +from .projectvehicle_itemget_response_schema import ProjectvehicleItemgetResponseSchema +from .projectvehicle_itemget_response_schema_data import ProjectvehicleItemgetResponseSchemaData +from .projectvehicle_itemget_response_schema_data_custom import ProjectvehicleItemgetResponseSchemaDataCustom +from .projectvehicle_itemget_response_schema_data_transport import ProjectvehicleItemgetResponseSchemaDataTransport +from .projectvehicle_itempost_request_schema import ProjectvehicleItempostRequestSchema +from .projectvehicle_itempost_request_schema_custom import ProjectvehicleItempostRequestSchemaCustom +from .projectvehicle_itempost_request_schema_transport import ProjectvehicleItempostRequestSchemaTransport +from .projectvehicle_itempost_response_schema import ProjectvehicleItempostResponseSchema +from .projectvehicle_itempost_response_schema_data import ProjectvehicleItempostResponseSchemaData +from .projectvehicle_itempost_response_schema_data_custom import ProjectvehicleItempostResponseSchemaDataCustom +from .projectvehicle_itempost_response_schema_data_transport import ProjectvehicleItempostResponseSchemaDataTransport +from .projectvehicle_itemput_request_schema import ProjectvehicleItemputRequestSchema +from .projectvehicle_itemput_request_schema_custom import ProjectvehicleItemputRequestSchemaCustom +from .projectvehicle_itemput_request_schema_transport import ProjectvehicleItemputRequestSchemaTransport +from .projectvehicle_itemput_response_schema import ProjectvehicleItemputResponseSchema +from .projectvehicle_itemput_response_schema_data import ProjectvehicleItemputResponseSchemaData +from .projectvehicle_itemput_response_schema_data_custom import ProjectvehicleItemputResponseSchemaDataCustom +from .projectvehicle_itemput_response_schema_data_transport import ProjectvehicleItemputResponseSchemaDataTransport +from .quote_collectionget_response_schema import QuoteCollectiongetResponseSchema +from .quote_collectionget_response_schema_data_item import QuoteCollectiongetResponseSchemaDataItem +from .quote_collectionpost_response_schema import QuoteCollectionpostResponseSchema +from .quote_collectionpost_response_schema_data_item import QuoteCollectionpostResponseSchemaDataItem +from .quote_collectionput_response_schema import QuoteCollectionputResponseSchema +from .quote_collectionput_response_schema_data_item import QuoteCollectionputResponseSchemaDataItem +from .quote_itemget_request_schema import QuoteItemgetRequestSchema +from .quote_itemget_response_schema import QuoteItemgetResponseSchema +from .quote_itemget_response_schema_data import QuoteItemgetResponseSchemaData +from .quote_itempost_request_schema import QuoteItempostRequestSchema +from .quote_itempost_response_schema import QuoteItempostResponseSchema +from .quote_itempost_response_schema_data import QuoteItempostResponseSchemaData +from .quote_itemput_request_schema import QuoteItemputRequestSchema +from .quote_itemput_response_schema import QuoteItemputResponseSchema +from .quote_itemput_response_schema_data import QuoteItemputResponseSchemaData from .rate_collectionget_response_schema import RateCollectiongetResponseSchema from .rate_collectionget_response_schema_data_item import RateCollectiongetResponseSchemaDataItem from .rate_collectionget_response_schema_data_item_subtype import RateCollectiongetResponseSchemaDataItemSubtype @@ -1065,77 +966,71 @@ from .rate_itemget_response_schema_data import RateItemgetResponseSchemaData from .rate_itemget_response_schema_data_subtype import RateItemgetResponseSchemaDataSubtype from .rate_itemget_response_schema_data_type import RateItemgetResponseSchemaDataType -from .reparatie_collectionget_response_schema import ReparatieCollectiongetResponseSchema -from .reparatie_collectionget_response_schema_data_item import ReparatieCollectiongetResponseSchemaDataItem -from .reparatie_collectionget_response_schema_data_item_custom import ReparatieCollectiongetResponseSchemaDataItemCustom -from .reparatie_collectionget_response_schema_data_item_is_usable import ( - ReparatieCollectiongetResponseSchemaDataItemIsUsable, -) -from .reparatie_collectionpost_response_schema import ReparatieCollectionpostResponseSchema -from .reparatie_collectionpost_response_schema_data_item import ReparatieCollectionpostResponseSchemaDataItem -from .reparatie_collectionpost_response_schema_data_item_custom import ( - ReparatieCollectionpostResponseSchemaDataItemCustom, -) -from .reparatie_collectionpost_response_schema_data_item_is_usable import ( - ReparatieCollectionpostResponseSchemaDataItemIsUsable, -) -from .reparatie_collectionput_response_schema import ReparatieCollectionputResponseSchema -from .reparatie_collectionput_response_schema_data_item import ReparatieCollectionputResponseSchemaDataItem -from .reparatie_collectionput_response_schema_data_item_custom import ReparatieCollectionputResponseSchemaDataItemCustom -from .reparatie_collectionput_response_schema_data_item_is_usable import ( - ReparatieCollectionputResponseSchemaDataItemIsUsable, -) -from .reparatie_itemget_request_schema import ReparatieItemgetRequestSchema -from .reparatie_itemget_request_schema_custom import ReparatieItemgetRequestSchemaCustom -from .reparatie_itemget_request_schema_is_usable import ReparatieItemgetRequestSchemaIsUsable -from .reparatie_itemget_response_schema import ReparatieItemgetResponseSchema -from .reparatie_itemget_response_schema_data import ReparatieItemgetResponseSchemaData -from .reparatie_itemget_response_schema_data_custom import ReparatieItemgetResponseSchemaDataCustom -from .reparatie_itemget_response_schema_data_is_usable import ReparatieItemgetResponseSchemaDataIsUsable -from .reparatie_itempost_request_schema import ReparatieItempostRequestSchema -from .reparatie_itempost_request_schema_custom import ReparatieItempostRequestSchemaCustom -from .reparatie_itempost_request_schema_is_usable import ReparatieItempostRequestSchemaIsUsable -from .reparatie_itempost_response_schema import ReparatieItempostResponseSchema -from .reparatie_itempost_response_schema_data import ReparatieItempostResponseSchemaData -from .reparatie_itempost_response_schema_data_custom import ReparatieItempostResponseSchemaDataCustom -from .reparatie_itempost_response_schema_data_is_usable import ReparatieItempostResponseSchemaDataIsUsable -from .reparatie_itemput_request_schema import ReparatieItemputRequestSchema -from .reparatie_itemput_request_schema_custom import ReparatieItemputRequestSchemaCustom -from .reparatie_itemput_request_schema_is_usable import ReparatieItemputRequestSchemaIsUsable -from .reparatie_itemput_response_schema import ReparatieItemputResponseSchema -from .reparatie_itemput_response_schema_data import ReparatieItemputResponseSchemaData -from .reparatie_itemput_response_schema_data_custom import ReparatieItemputResponseSchemaDataCustom -from .reparatie_itemput_response_schema_data_is_usable import ReparatieItemputResponseSchemaDataIsUsable -from .setinhoud_collectionget_response_schema import SetinhoudCollectiongetResponseSchema -from .setinhoud_collectionget_response_schema_data_item import SetinhoudCollectiongetResponseSchemaDataItem -from .setinhoud_collectionget_response_schema_data_item_is_fixed import ( - SetinhoudCollectiongetResponseSchemaDataItemIsFixed, -) -from .setinhoud_collectionpost_response_schema import SetinhoudCollectionpostResponseSchema -from .setinhoud_collectionpost_response_schema_data_item import SetinhoudCollectionpostResponseSchemaDataItem -from .setinhoud_collectionpost_response_schema_data_item_is_fixed import ( - SetinhoudCollectionpostResponseSchemaDataItemIsFixed, -) -from .setinhoud_collectionput_response_schema import SetinhoudCollectionputResponseSchema -from .setinhoud_collectionput_response_schema_data_item import SetinhoudCollectionputResponseSchemaDataItem -from .setinhoud_collectionput_response_schema_data_item_is_fixed import ( - SetinhoudCollectionputResponseSchemaDataItemIsFixed, -) -from .setinhoud_itemget_request_schema import SetinhoudItemgetRequestSchema -from .setinhoud_itemget_request_schema_is_fixed import SetinhoudItemgetRequestSchemaIsFixed -from .setinhoud_itemget_response_schema import SetinhoudItemgetResponseSchema -from .setinhoud_itemget_response_schema_data import SetinhoudItemgetResponseSchemaData -from .setinhoud_itemget_response_schema_data_is_fixed import SetinhoudItemgetResponseSchemaDataIsFixed -from .setinhoud_itempost_request_schema import SetinhoudItempostRequestSchema -from .setinhoud_itempost_request_schema_is_fixed import SetinhoudItempostRequestSchemaIsFixed -from .setinhoud_itempost_response_schema import SetinhoudItempostResponseSchema -from .setinhoud_itempost_response_schema_data import SetinhoudItempostResponseSchemaData -from .setinhoud_itempost_response_schema_data_is_fixed import SetinhoudItempostResponseSchemaDataIsFixed -from .setinhoud_itemput_request_schema import SetinhoudItemputRequestSchema -from .setinhoud_itemput_request_schema_is_fixed import SetinhoudItemputRequestSchemaIsFixed -from .setinhoud_itemput_response_schema import SetinhoudItemputResponseSchema -from .setinhoud_itemput_response_schema_data import SetinhoudItemputResponseSchemaData -from .setinhoud_itemput_response_schema_data_is_fixed import SetinhoudItemputResponseSchemaDataIsFixed +from .repair_collectionget_response_schema import RepairCollectiongetResponseSchema +from .repair_collectionget_response_schema_data_item import RepairCollectiongetResponseSchemaDataItem +from .repair_collectionget_response_schema_data_item_custom import RepairCollectiongetResponseSchemaDataItemCustom +from .repair_collectionget_response_schema_data_item_is_usable import RepairCollectiongetResponseSchemaDataItemIsUsable +from .repair_collectionpost_response_schema import RepairCollectionpostResponseSchema +from .repair_collectionpost_response_schema_data_item import RepairCollectionpostResponseSchemaDataItem +from .repair_collectionpost_response_schema_data_item_custom import RepairCollectionpostResponseSchemaDataItemCustom +from .repair_collectionpost_response_schema_data_item_is_usable import ( + RepairCollectionpostResponseSchemaDataItemIsUsable, +) +from .repair_collectionput_response_schema import RepairCollectionputResponseSchema +from .repair_collectionput_response_schema_data_item import RepairCollectionputResponseSchemaDataItem +from .repair_collectionput_response_schema_data_item_custom import RepairCollectionputResponseSchemaDataItemCustom +from .repair_collectionput_response_schema_data_item_is_usable import RepairCollectionputResponseSchemaDataItemIsUsable +from .repair_itemget_request_schema import RepairItemgetRequestSchema +from .repair_itemget_request_schema_custom import RepairItemgetRequestSchemaCustom +from .repair_itemget_request_schema_is_usable import RepairItemgetRequestSchemaIsUsable +from .repair_itemget_response_schema import RepairItemgetResponseSchema +from .repair_itemget_response_schema_data import RepairItemgetResponseSchemaData +from .repair_itemget_response_schema_data_custom import RepairItemgetResponseSchemaDataCustom +from .repair_itemget_response_schema_data_is_usable import RepairItemgetResponseSchemaDataIsUsable +from .repair_itempost_request_schema import RepairItempostRequestSchema +from .repair_itempost_request_schema_custom import RepairItempostRequestSchemaCustom +from .repair_itempost_request_schema_is_usable import RepairItempostRequestSchemaIsUsable +from .repair_itempost_response_schema import RepairItempostResponseSchema +from .repair_itempost_response_schema_data import RepairItempostResponseSchemaData +from .repair_itempost_response_schema_data_custom import RepairItempostResponseSchemaDataCustom +from .repair_itempost_response_schema_data_is_usable import RepairItempostResponseSchemaDataIsUsable +from .repair_itemput_request_schema import RepairItemputRequestSchema +from .repair_itemput_request_schema_custom import RepairItemputRequestSchemaCustom +from .repair_itemput_request_schema_is_usable import RepairItemputRequestSchemaIsUsable +from .repair_itemput_response_schema import RepairItemputResponseSchema +from .repair_itemput_response_schema_data import RepairItemputResponseSchemaData +from .repair_itemput_response_schema_data_custom import RepairItemputResponseSchemaDataCustom +from .repair_itemput_response_schema_data_is_usable import RepairItemputResponseSchemaDataIsUsable +from .serialnumber_collectionget_response_schema import SerialnumberCollectiongetResponseSchema +from .serialnumber_collectionget_response_schema_data_item import SerialnumberCollectiongetResponseSchemaDataItem +from .serialnumber_collectionget_response_schema_data_item_custom import ( + SerialnumberCollectiongetResponseSchemaDataItemCustom, +) +from .serialnumber_collectionpost_response_schema import SerialnumberCollectionpostResponseSchema +from .serialnumber_collectionpost_response_schema_data_item import SerialnumberCollectionpostResponseSchemaDataItem +from .serialnumber_collectionpost_response_schema_data_item_custom import ( + SerialnumberCollectionpostResponseSchemaDataItemCustom, +) +from .serialnumber_collectionput_response_schema import SerialnumberCollectionputResponseSchema +from .serialnumber_collectionput_response_schema_data_item import SerialnumberCollectionputResponseSchemaDataItem +from .serialnumber_collectionput_response_schema_data_item_custom import ( + SerialnumberCollectionputResponseSchemaDataItemCustom, +) +from .serialnumber_itemget_request_schema import SerialnumberItemgetRequestSchema +from .serialnumber_itemget_request_schema_custom import SerialnumberItemgetRequestSchemaCustom +from .serialnumber_itemget_response_schema import SerialnumberItemgetResponseSchema +from .serialnumber_itemget_response_schema_data import SerialnumberItemgetResponseSchemaData +from .serialnumber_itemget_response_schema_data_custom import SerialnumberItemgetResponseSchemaDataCustom +from .serialnumber_itempost_request_schema import SerialnumberItempostRequestSchema +from .serialnumber_itempost_request_schema_custom import SerialnumberItempostRequestSchemaCustom +from .serialnumber_itempost_response_schema import SerialnumberItempostResponseSchema +from .serialnumber_itempost_response_schema_data import SerialnumberItempostResponseSchemaData +from .serialnumber_itempost_response_schema_data_custom import SerialnumberItempostResponseSchemaDataCustom +from .serialnumber_itemput_request_schema import SerialnumberItemputRequestSchema +from .serialnumber_itemput_request_schema_custom import SerialnumberItemputRequestSchemaCustom +from .serialnumber_itemput_response_schema import SerialnumberItemputResponseSchema +from .serialnumber_itemput_response_schema_data import SerialnumberItemputResponseSchemaData +from .serialnumber_itemput_response_schema_data_custom import SerialnumberItemputResponseSchemaDataCustom from .status_collectionget_response_schema import StatusCollectiongetResponseSchema from .status_collectionget_response_schema_data_item import StatusCollectiongetResponseSchemaDataItem from .status_collectionpost_response_schema import StatusCollectionpostResponseSchema @@ -1151,6 +1046,71 @@ from .status_itemput_request_schema import StatusItemputRequestSchema from .status_itemput_response_schema import StatusItemputResponseSchema from .status_itemput_response_schema_data import StatusItemputResponseSchemaData +from .stock_location_collectionget_response_schema import StockLocationCollectiongetResponseSchema +from .stock_location_collectionget_response_schema_data_item import StockLocationCollectiongetResponseSchemaDataItem +from .stock_location_collectionget_response_schema_data_item_country import ( + StockLocationCollectiongetResponseSchemaDataItemCountry, +) +from .stock_location_collectionget_response_schema_data_item_type import ( + StockLocationCollectiongetResponseSchemaDataItemType, +) +from .stocklocation_collectionpost_response_schema import StocklocationCollectionpostResponseSchema +from .stocklocation_collectionpost_response_schema_data_item import StocklocationCollectionpostResponseSchemaDataItem +from .stocklocation_collectionpost_response_schema_data_item_country import ( + StocklocationCollectionpostResponseSchemaDataItemCountry, +) +from .stocklocation_collectionpost_response_schema_data_item_type import ( + StocklocationCollectionpostResponseSchemaDataItemType, +) +from .stocklocation_collectionput_response_schema import StocklocationCollectionputResponseSchema +from .stocklocation_collectionput_response_schema_data_item import StocklocationCollectionputResponseSchemaDataItem +from .stocklocation_collectionput_response_schema_data_item_country import ( + StocklocationCollectionputResponseSchemaDataItemCountry, +) +from .stocklocation_collectionput_response_schema_data_item_type import ( + StocklocationCollectionputResponseSchemaDataItemType, +) +from .stocklocation_itemget_request_schema import StocklocationItemgetRequestSchema +from .stocklocation_itemget_request_schema_country import StocklocationItemgetRequestSchemaCountry +from .stocklocation_itemget_request_schema_type import StocklocationItemgetRequestSchemaType +from .stocklocation_itemget_response_schema import StocklocationItemgetResponseSchema +from .stocklocation_itemget_response_schema_data import StocklocationItemgetResponseSchemaData +from .stocklocation_itemget_response_schema_data_country import StocklocationItemgetResponseSchemaDataCountry +from .stocklocation_itemget_response_schema_data_type import StocklocationItemgetResponseSchemaDataType +from .stocklocation_itempost_request_schema import StocklocationItempostRequestSchema +from .stocklocation_itempost_request_schema_country import StocklocationItempostRequestSchemaCountry +from .stocklocation_itempost_request_schema_type import StocklocationItempostRequestSchemaType +from .stocklocation_itempost_response_schema import StocklocationItempostResponseSchema +from .stocklocation_itempost_response_schema_data import StocklocationItempostResponseSchemaData +from .stocklocation_itempost_response_schema_data_country import StocklocationItempostResponseSchemaDataCountry +from .stocklocation_itempost_response_schema_data_type import StocklocationItempostResponseSchemaDataType +from .stocklocation_itemput_request_schema import StocklocationItemputRequestSchema +from .stocklocation_itemput_request_schema_country import StocklocationItemputRequestSchemaCountry +from .stocklocation_itemput_request_schema_type import StocklocationItemputRequestSchemaType +from .stocklocation_itemput_response_schema import StocklocationItemputResponseSchema +from .stocklocation_itemput_response_schema_data import StocklocationItemputResponseSchemaData +from .stocklocation_itemput_response_schema_data_country import StocklocationItemputResponseSchemaDataCountry +from .stocklocation_itemput_response_schema_data_type import StocklocationItemputResponseSchemaDataType +from .stockmovement_collectionget_response_schema import StockmovementCollectiongetResponseSchema +from .stockmovement_collectionget_response_schema_data_item import StockmovementCollectiongetResponseSchemaDataItem +from .stockmovement_collectionget_response_schema_data_item_type import ( + StockmovementCollectiongetResponseSchemaDataItemType, +) +from .stockmovement_collectionpost_response_schema import StockmovementCollectionpostResponseSchema +from .stockmovement_collectionpost_response_schema_data_item import StockmovementCollectionpostResponseSchemaDataItem +from .stockmovement_collectionput_response_schema import StockmovementCollectionputResponseSchema +from .stockmovement_collectionput_response_schema_data_item import StockmovementCollectionputResponseSchemaDataItem +from .stockmovement_itemget_request_schema import StockmovementItemgetRequestSchema +from .stockmovement_itemget_request_schema_type import StockmovementItemgetRequestSchemaType +from .stockmovement_itemget_response_schema import StockmovementItemgetResponseSchema +from .stockmovement_itemget_response_schema_data import StockmovementItemgetResponseSchemaData +from .stockmovement_itemget_response_schema_data_type import StockmovementItemgetResponseSchemaDataType +from .stockmovement_itempost_request_schema import StockmovementItempostRequestSchema +from .stockmovement_itempost_response_schema import StockmovementItempostResponseSchema +from .stockmovement_itempost_response_schema_data import StockmovementItempostResponseSchemaData +from .stockmovement_itemput_request_schema import StockmovementItemputRequestSchema +from .stockmovement_itemput_response_schema import StockmovementItemputResponseSchema +from .stockmovement_itemput_response_schema_data import StockmovementItemputResponseSchemaData from .subproject_collectionget_response_schema import SubprojectCollectiongetResponseSchema from .subproject_collectionget_response_schema_data_item import SubprojectCollectiongetResponseSchemaDataItem from .subproject_collectionget_response_schema_data_item_custom import ( @@ -1161,6 +1121,83 @@ from .subproject_itemget_response_schema import SubprojectItemgetResponseSchema from .subproject_itemget_response_schema_data import SubprojectItemgetResponseSchemaData from .subproject_itemget_response_schema_data_custom import SubprojectItemgetResponseSchemaDataCustom +from .subrental_collectionget_response_schema import SubrentalCollectiongetResponseSchema +from .subrental_collectionget_response_schema_data_item import SubrentalCollectiongetResponseSchemaDataItem +from .subrental_collectionget_response_schema_data_item_custom import SubrentalCollectiongetResponseSchemaDataItemCustom +from .subrental_collectionget_response_schema_data_item_type import SubrentalCollectiongetResponseSchemaDataItemType +from .subrental_collectionpost_response_schema import SubrentalCollectionpostResponseSchema +from .subrental_collectionpost_response_schema_data_item import SubrentalCollectionpostResponseSchemaDataItem +from .subrental_collectionpost_response_schema_data_item_custom import ( + SubrentalCollectionpostResponseSchemaDataItemCustom, +) +from .subrental_collectionpost_response_schema_data_item_type import SubrentalCollectionpostResponseSchemaDataItemType +from .subrental_collectionput_response_schema import SubrentalCollectionputResponseSchema +from .subrental_collectionput_response_schema_data_item import SubrentalCollectionputResponseSchemaDataItem +from .subrental_collectionput_response_schema_data_item_custom import SubrentalCollectionputResponseSchemaDataItemCustom +from .subrental_collectionput_response_schema_data_item_type import SubrentalCollectionputResponseSchemaDataItemType +from .subrental_itemget_request_schema import SubrentalItemgetRequestSchema +from .subrental_itemget_request_schema_custom import SubrentalItemgetRequestSchemaCustom +from .subrental_itemget_request_schema_type import SubrentalItemgetRequestSchemaType +from .subrental_itemget_response_schema import SubrentalItemgetResponseSchema +from .subrental_itemget_response_schema_data import SubrentalItemgetResponseSchemaData +from .subrental_itemget_response_schema_data_custom import SubrentalItemgetResponseSchemaDataCustom +from .subrental_itemget_response_schema_data_type import SubrentalItemgetResponseSchemaDataType +from .subrental_itempost_request_schema import SubrentalItempostRequestSchema +from .subrental_itempost_request_schema_custom import SubrentalItempostRequestSchemaCustom +from .subrental_itempost_request_schema_type import SubrentalItempostRequestSchemaType +from .subrental_itempost_response_schema import SubrentalItempostResponseSchema +from .subrental_itempost_response_schema_data import SubrentalItempostResponseSchemaData +from .subrental_itempost_response_schema_data_custom import SubrentalItempostResponseSchemaDataCustom +from .subrental_itempost_response_schema_data_type import SubrentalItempostResponseSchemaDataType +from .subrental_itemput_request_schema import SubrentalItemputRequestSchema +from .subrental_itemput_request_schema_custom import SubrentalItemputRequestSchemaCustom +from .subrental_itemput_request_schema_type import SubrentalItemputRequestSchemaType +from .subrental_itemput_response_schema import SubrentalItemputResponseSchema +from .subrental_itemput_response_schema_data import SubrentalItemputResponseSchemaData +from .subrental_itemput_response_schema_data_custom import SubrentalItemputResponseSchemaDataCustom +from .subrental_itemput_response_schema_data_type import SubrentalItemputResponseSchemaDataType +from .subrentalequipment_collectionget_response_schema import SubrentalequipmentCollectiongetResponseSchema +from .subrentalequipment_collectionget_response_schema_data_item import ( + SubrentalequipmentCollectiongetResponseSchemaDataItem, +) +from .subrentalequipment_collectionpost_response_schema import SubrentalequipmentCollectionpostResponseSchema +from .subrentalequipment_collectionpost_response_schema_data_item import ( + SubrentalequipmentCollectionpostResponseSchemaDataItem, +) +from .subrentalequipment_collectionput_response_schema import SubrentalequipmentCollectionputResponseSchema +from .subrentalequipment_collectionput_response_schema_data_item import ( + SubrentalequipmentCollectionputResponseSchemaDataItem, +) +from .subrentalequipment_itemget_request_schema import SubrentalequipmentItemgetRequestSchema +from .subrentalequipment_itemget_response_schema import SubrentalequipmentItemgetResponseSchema +from .subrentalequipment_itemget_response_schema_data import SubrentalequipmentItemgetResponseSchemaData +from .subrentalequipment_itempost_request_schema import SubrentalequipmentItempostRequestSchema +from .subrentalequipment_itempost_response_schema import SubrentalequipmentItempostResponseSchema +from .subrentalequipment_itempost_response_schema_data import SubrentalequipmentItempostResponseSchemaData +from .subrentalequipment_itemput_request_schema import SubrentalequipmentItemputRequestSchema +from .subrentalequipment_itemput_response_schema import SubrentalequipmentItemputResponseSchema +from .subrentalequipment_itemput_response_schema_data import SubrentalequipmentItemputResponseSchemaData +from .subrentalequipmentgroup_collectionget_response_schema import SubrentalequipmentgroupCollectiongetResponseSchema +from .subrentalequipmentgroup_collectionget_response_schema_data_item import ( + SubrentalequipmentgroupCollectiongetResponseSchemaDataItem, +) +from .subrentalequipmentgroup_collectionpost_response_schema import SubrentalequipmentgroupCollectionpostResponseSchema +from .subrentalequipmentgroup_collectionpost_response_schema_data_item import ( + SubrentalequipmentgroupCollectionpostResponseSchemaDataItem, +) +from .subrentalequipmentgroup_collectionput_response_schema import SubrentalequipmentgroupCollectionputResponseSchema +from .subrentalequipmentgroup_collectionput_response_schema_data_item import ( + SubrentalequipmentgroupCollectionputResponseSchemaDataItem, +) +from .subrentalequipmentgroup_itemget_request_schema import SubrentalequipmentgroupItemgetRequestSchema +from .subrentalequipmentgroup_itemget_response_schema import SubrentalequipmentgroupItemgetResponseSchema +from .subrentalequipmentgroup_itemget_response_schema_data import SubrentalequipmentgroupItemgetResponseSchemaData +from .subrentalequipmentgroup_itempost_request_schema import SubrentalequipmentgroupItempostRequestSchema +from .subrentalequipmentgroup_itempost_response_schema import SubrentalequipmentgroupItempostResponseSchema +from .subrentalequipmentgroup_itempost_response_schema_data import SubrentalequipmentgroupItempostResponseSchemaData +from .subrentalequipmentgroup_itemput_request_schema import SubrentalequipmentgroupItemputRequestSchema +from .subrentalequipmentgroup_itemput_response_schema import SubrentalequipmentgroupItemputResponseSchema +from .subrentalequipmentgroup_itemput_response_schema_data import SubrentalequipmentgroupItemputResponseSchemaData from .tax_class_collectionget_response_schema import TaxClassCollectiongetResponseSchema from .tax_class_collectionget_response_schema_data_item import TaxClassCollectiongetResponseSchemaDataItem from .tax_class_collectionget_response_schema_data_item_type import TaxClassCollectiongetResponseSchemaDataItemType @@ -1185,121 +1222,112 @@ from .tax_class_itemput_response_schema import TaxClassItemputResponseSchema from .tax_class_itemput_response_schema_data import TaxClassItemputResponseSchemaData from .tax_class_itemput_response_schema_data_type import TaxClassItemputResponseSchemaDataType -from .type_collectionget_response_schema import TypeCollectiongetResponseSchema -from .type_collectionget_response_schema_data_item import TypeCollectiongetResponseSchemaDataItem -from .type_collectionget_response_schema_data_item_type import TypeCollectiongetResponseSchemaDataItemType -from .type_collectionpost_response_schema import TypeCollectionpostResponseSchema -from .type_collectionpost_response_schema_data_item import TypeCollectionpostResponseSchemaDataItem -from .type_collectionpost_response_schema_data_item_type import TypeCollectionpostResponseSchemaDataItemType -from .type_collectionput_response_schema import TypeCollectionputResponseSchema -from .type_collectionput_response_schema_data_item import TypeCollectionputResponseSchemaDataItem -from .type_collectionput_response_schema_data_item_type import TypeCollectionputResponseSchemaDataItemType -from .type_itemget_request_schema import TypeItemgetRequestSchema -from .type_itemget_request_schema_type import TypeItemgetRequestSchemaType -from .type_itemget_response_schema import TypeItemgetResponseSchema -from .type_itemget_response_schema_data import TypeItemgetResponseSchemaData -from .type_itemget_response_schema_data_type import TypeItemgetResponseSchemaDataType -from .type_itempost_request_schema import TypeItempostRequestSchema -from .type_itempost_request_schema_type import TypeItempostRequestSchemaType -from .type_itempost_response_schema import TypeItempostResponseSchema -from .type_itempost_response_schema_data import TypeItempostResponseSchemaData -from .type_itempost_response_schema_data_type import TypeItempostResponseSchemaDataType -from .type_itemput_request_schema import TypeItemputRequestSchema -from .type_itemput_request_schema_type import TypeItemputRequestSchemaType -from .type_itemput_response_schema import TypeItemputResponseSchema -from .type_itemput_response_schema_data import TypeItemputResponseSchemaData -from .type_itemput_response_schema_data_type import TypeItemputResponseSchemaDataType -from .uren_collectionget_response_schema import UrenCollectiongetResponseSchema -from .uren_collectionget_response_schema_data_item import UrenCollectiongetResponseSchemaDataItem -from .uren_collectionget_response_schema_data_item_custom import UrenCollectiongetResponseSchemaDataItemCustom -from .uren_collectionget_response_schema_data_item_type import UrenCollectiongetResponseSchemaDataItemType -from .uren_collectionpost_response_schema import UrenCollectionpostResponseSchema -from .uren_collectionpost_response_schema_data_item import UrenCollectionpostResponseSchemaDataItem -from .uren_collectionpost_response_schema_data_item_custom import UrenCollectionpostResponseSchemaDataItemCustom -from .uren_collectionpost_response_schema_data_item_type import UrenCollectionpostResponseSchemaDataItemType -from .uren_collectionput_response_schema import UrenCollectionputResponseSchema -from .uren_collectionput_response_schema_data_item import UrenCollectionputResponseSchemaDataItem -from .uren_collectionput_response_schema_data_item_custom import UrenCollectionputResponseSchemaDataItemCustom -from .uren_collectionput_response_schema_data_item_type import UrenCollectionputResponseSchemaDataItemType -from .uren_itemget_request_schema import UrenItemgetRequestSchema -from .uren_itemget_request_schema_custom import UrenItemgetRequestSchemaCustom -from .uren_itemget_request_schema_type import UrenItemgetRequestSchemaType -from .uren_itemget_response_schema import UrenItemgetResponseSchema -from .uren_itemget_response_schema_data import UrenItemgetResponseSchemaData -from .uren_itemget_response_schema_data_custom import UrenItemgetResponseSchemaDataCustom -from .uren_itemget_response_schema_data_type import UrenItemgetResponseSchemaDataType -from .uren_itempost_request_schema import UrenItempostRequestSchema -from .uren_itempost_request_schema_custom import UrenItempostRequestSchemaCustom -from .uren_itempost_request_schema_type import UrenItempostRequestSchemaType -from .uren_itempost_response_schema import UrenItempostResponseSchema -from .uren_itempost_response_schema_data import UrenItempostResponseSchemaData -from .uren_itempost_response_schema_data_custom import UrenItempostResponseSchemaDataCustom -from .uren_itempost_response_schema_data_type import UrenItempostResponseSchemaDataType -from .uren_itemput_request_schema import UrenItemputRequestSchema -from .uren_itemput_request_schema_custom import UrenItemputRequestSchemaCustom -from .uren_itemput_request_schema_type import UrenItemputRequestSchemaType -from .uren_itemput_response_schema import UrenItemputResponseSchema -from .uren_itemput_response_schema_data import UrenItemputResponseSchemaData -from .uren_itemput_response_schema_data_custom import UrenItemputResponseSchemaDataCustom -from .uren_itemput_response_schema_data_type import UrenItemputResponseSchemaDataType -from .voertuig_collectionget_response_schema import VoertuigCollectiongetResponseSchema -from .voertuig_collectionget_response_schema_data_item import VoertuigCollectiongetResponseSchemaDataItem -from .voertuig_collectionget_response_schema_data_item_custom import VoertuigCollectiongetResponseSchemaDataItemCustom -from .voertuig_collectionget_response_schema_data_item_multiple import ( - VoertuigCollectiongetResponseSchemaDataItemMultiple, -) -from .voertuig_collectionpost_response_schema import VoertuigCollectionpostResponseSchema -from .voertuig_collectionpost_response_schema_data_item import VoertuigCollectionpostResponseSchemaDataItem -from .voertuig_collectionpost_response_schema_data_item_custom import VoertuigCollectionpostResponseSchemaDataItemCustom -from .voertuig_collectionpost_response_schema_data_item_multiple import ( - VoertuigCollectionpostResponseSchemaDataItemMultiple, -) -from .voertuig_collectionput_response_schema import VoertuigCollectionputResponseSchema -from .voertuig_collectionput_response_schema_data_item import VoertuigCollectionputResponseSchemaDataItem -from .voertuig_collectionput_response_schema_data_item_custom import VoertuigCollectionputResponseSchemaDataItemCustom -from .voertuig_collectionput_response_schema_data_item_multiple import ( - VoertuigCollectionputResponseSchemaDataItemMultiple, -) -from .voertuig_itemget_request_schema import VoertuigItemgetRequestSchema -from .voertuig_itemget_request_schema_custom import VoertuigItemgetRequestSchemaCustom -from .voertuig_itemget_request_schema_multiple import VoertuigItemgetRequestSchemaMultiple -from .voertuig_itemget_response_schema import VoertuigItemgetResponseSchema -from .voertuig_itemget_response_schema_data import VoertuigItemgetResponseSchemaData -from .voertuig_itemget_response_schema_data_custom import VoertuigItemgetResponseSchemaDataCustom -from .voertuig_itemget_response_schema_data_multiple import VoertuigItemgetResponseSchemaDataMultiple -from .voertuig_itempost_request_schema import VoertuigItempostRequestSchema -from .voertuig_itempost_request_schema_custom import VoertuigItempostRequestSchemaCustom -from .voertuig_itempost_request_schema_multiple import VoertuigItempostRequestSchemaMultiple -from .voertuig_itempost_response_schema import VoertuigItempostResponseSchema -from .voertuig_itempost_response_schema_data import VoertuigItempostResponseSchemaData -from .voertuig_itempost_response_schema_data_custom import VoertuigItempostResponseSchemaDataCustom -from .voertuig_itempost_response_schema_data_multiple import VoertuigItempostResponseSchemaDataMultiple -from .voertuig_itemput_request_schema import VoertuigItemputRequestSchema -from .voertuig_itemput_request_schema_custom import VoertuigItemputRequestSchemaCustom -from .voertuig_itemput_request_schema_multiple import VoertuigItemputRequestSchemaMultiple -from .voertuig_itemput_response_schema import VoertuigItemputResponseSchema -from .voertuig_itemput_response_schema_data import VoertuigItemputResponseSchemaData -from .voertuig_itemput_response_schema_data_custom import VoertuigItemputResponseSchemaDataCustom -from .voertuig_itemput_response_schema_data_multiple import VoertuigItemputResponseSchemaDataMultiple -from .voorraadmutatie_collectionget_response_schema import VoorraadmutatieCollectiongetResponseSchema -from .voorraadmutatie_collectionget_response_schema_data_item import VoorraadmutatieCollectiongetResponseSchemaDataItem -from .voorraadmutatie_collectionget_response_schema_data_item_type import ( - VoorraadmutatieCollectiongetResponseSchemaDataItemType, -) -from .voorraadmutatie_collectionpost_response_schema import VoorraadmutatieCollectionpostResponseSchema -from .voorraadmutatie_collectionpost_response_schema_data_item import ( - VoorraadmutatieCollectionpostResponseSchemaDataItem, -) -from .voorraadmutatie_collectionput_response_schema import VoorraadmutatieCollectionputResponseSchema -from .voorraadmutatie_collectionput_response_schema_data_item import VoorraadmutatieCollectionputResponseSchemaDataItem -from .voorraadmutatie_itemget_request_schema import VoorraadmutatieItemgetRequestSchema -from .voorraadmutatie_itemget_request_schema_type import VoorraadmutatieItemgetRequestSchemaType -from .voorraadmutatie_itemget_response_schema import VoorraadmutatieItemgetResponseSchema -from .voorraadmutatie_itemget_response_schema_data import VoorraadmutatieItemgetResponseSchemaData -from .voorraadmutatie_itemget_response_schema_data_type import VoorraadmutatieItemgetResponseSchemaDataType -from .voorraadmutatie_itempost_request_schema import VoorraadmutatieItempostRequestSchema -from .voorraadmutatie_itempost_response_schema import VoorraadmutatieItempostResponseSchema -from .voorraadmutatie_itempost_response_schema_data import VoorraadmutatieItempostResponseSchemaData -from .voorraadmutatie_itemput_request_schema import VoorraadmutatieItemputRequestSchema -from .voorraadmutatie_itemput_response_schema import VoorraadmutatieItemputResponseSchema -from .voorraadmutatie_itemput_response_schema_data import VoorraadmutatieItemputResponseSchemaData +from .timeregistration_collectionget_response_schema import TimeregistrationCollectiongetResponseSchema +from .timeregistration_collectionget_response_schema_data_item import ( + TimeregistrationCollectiongetResponseSchemaDataItem, +) +from .timeregistration_collectionget_response_schema_data_item_custom import ( + TimeregistrationCollectiongetResponseSchemaDataItemCustom, +) +from .timeregistration_collectionget_response_schema_data_item_type import ( + TimeregistrationCollectiongetResponseSchemaDataItemType, +) +from .timeregistration_collectionpost_response_schema import TimeregistrationCollectionpostResponseSchema +from .timeregistration_collectionpost_response_schema_data_item import ( + TimeregistrationCollectionpostResponseSchemaDataItem, +) +from .timeregistration_collectionpost_response_schema_data_item_custom import ( + TimeregistrationCollectionpostResponseSchemaDataItemCustom, +) +from .timeregistration_collectionpost_response_schema_data_item_type import ( + TimeregistrationCollectionpostResponseSchemaDataItemType, +) +from .timeregistration_collectionput_response_schema import TimeregistrationCollectionputResponseSchema +from .timeregistration_collectionput_response_schema_data_item import ( + TimeregistrationCollectionputResponseSchemaDataItem, +) +from .timeregistration_collectionput_response_schema_data_item_custom import ( + TimeregistrationCollectionputResponseSchemaDataItemCustom, +) +from .timeregistration_collectionput_response_schema_data_item_type import ( + TimeregistrationCollectionputResponseSchemaDataItemType, +) +from .timeregistration_itemget_request_schema import TimeregistrationItemgetRequestSchema +from .timeregistration_itemget_request_schema_custom import TimeregistrationItemgetRequestSchemaCustom +from .timeregistration_itemget_request_schema_type import TimeregistrationItemgetRequestSchemaType +from .timeregistration_itemget_response_schema import TimeregistrationItemgetResponseSchema +from .timeregistration_itemget_response_schema_data import TimeregistrationItemgetResponseSchemaData +from .timeregistration_itemget_response_schema_data_custom import TimeregistrationItemgetResponseSchemaDataCustom +from .timeregistration_itemget_response_schema_data_type import TimeregistrationItemgetResponseSchemaDataType +from .timeregistration_itempost_request_schema import TimeregistrationItempostRequestSchema +from .timeregistration_itempost_request_schema_custom import TimeregistrationItempostRequestSchemaCustom +from .timeregistration_itempost_request_schema_type import TimeregistrationItempostRequestSchemaType +from .timeregistration_itempost_response_schema import TimeregistrationItempostResponseSchema +from .timeregistration_itempost_response_schema_data import TimeregistrationItempostResponseSchemaData +from .timeregistration_itempost_response_schema_data_custom import TimeregistrationItempostResponseSchemaDataCustom +from .timeregistration_itempost_response_schema_data_type import TimeregistrationItempostResponseSchemaDataType +from .timeregistration_itemput_request_schema import TimeregistrationItemputRequestSchema +from .timeregistration_itemput_request_schema_custom import TimeregistrationItemputRequestSchemaCustom +from .timeregistration_itemput_request_schema_type import TimeregistrationItemputRequestSchemaType +from .timeregistration_itemput_response_schema import TimeregistrationItemputResponseSchema +from .timeregistration_itemput_response_schema_data import TimeregistrationItemputResponseSchemaData +from .timeregistration_itemput_response_schema_data_custom import TimeregistrationItemputResponseSchemaDataCustom +from .timeregistration_itemput_response_schema_data_type import TimeregistrationItemputResponseSchemaDataType +from .timeregistrationactivity_collectionget_response_schema import TimeregistrationactivityCollectiongetResponseSchema +from .timeregistrationactivity_collectionget_response_schema_data_item import ( + TimeregistrationactivityCollectiongetResponseSchemaDataItem, +) +from .timeregistrationactivity_collectionpost_response_schema import ( + TimeregistrationactivityCollectionpostResponseSchema, +) +from .timeregistrationactivity_collectionpost_response_schema_data_item import ( + TimeregistrationactivityCollectionpostResponseSchemaDataItem, +) +from .timeregistrationactivity_collectionput_response_schema import TimeregistrationactivityCollectionputResponseSchema +from .timeregistrationactivity_collectionput_response_schema_data_item import ( + TimeregistrationactivityCollectionputResponseSchemaDataItem, +) +from .timeregistrationactivity_itemget_request_schema import TimeregistrationactivityItemgetRequestSchema +from .timeregistrationactivity_itemget_response_schema import TimeregistrationactivityItemgetResponseSchema +from .timeregistrationactivity_itemget_response_schema_data import TimeregistrationactivityItemgetResponseSchemaData +from .timeregistrationactivity_itempost_request_schema import TimeregistrationactivityItempostRequestSchema +from .timeregistrationactivity_itempost_response_schema import TimeregistrationactivityItempostResponseSchema +from .timeregistrationactivity_itempost_response_schema_data import TimeregistrationactivityItempostResponseSchemaData +from .timeregistrationactivity_itemput_request_schema import TimeregistrationactivityItemputRequestSchema +from .timeregistrationactivity_itemput_response_schema import TimeregistrationactivityItemputResponseSchema +from .timeregistrationactivity_itemput_response_schema_data import TimeregistrationactivityItemputResponseSchemaData +from .vehicle_collectionget_response_schema import VehicleCollectiongetResponseSchema +from .vehicle_collectionget_response_schema_data_item import VehicleCollectiongetResponseSchemaDataItem +from .vehicle_collectionget_response_schema_data_item_custom import VehicleCollectiongetResponseSchemaDataItemCustom +from .vehicle_collectionget_response_schema_data_item_multiple import VehicleCollectiongetResponseSchemaDataItemMultiple +from .vehicle_collectionpost_response_schema import VehicleCollectionpostResponseSchema +from .vehicle_collectionpost_response_schema_data_item import VehicleCollectionpostResponseSchemaDataItem +from .vehicle_collectionpost_response_schema_data_item_custom import VehicleCollectionpostResponseSchemaDataItemCustom +from .vehicle_collectionpost_response_schema_data_item_multiple import ( + VehicleCollectionpostResponseSchemaDataItemMultiple, +) +from .vehicle_collectionput_response_schema import VehicleCollectionputResponseSchema +from .vehicle_collectionput_response_schema_data_item import VehicleCollectionputResponseSchemaDataItem +from .vehicle_collectionput_response_schema_data_item_custom import VehicleCollectionputResponseSchemaDataItemCustom +from .vehicle_collectionput_response_schema_data_item_multiple import VehicleCollectionputResponseSchemaDataItemMultiple +from .vehicle_itemget_request_schema import VehicleItemgetRequestSchema +from .vehicle_itemget_request_schema_custom import VehicleItemgetRequestSchemaCustom +from .vehicle_itemget_request_schema_multiple import VehicleItemgetRequestSchemaMultiple +from .vehicle_itemget_response_schema import VehicleItemgetResponseSchema +from .vehicle_itemget_response_schema_data import VehicleItemgetResponseSchemaData +from .vehicle_itemget_response_schema_data_custom import VehicleItemgetResponseSchemaDataCustom +from .vehicle_itemget_response_schema_data_multiple import VehicleItemgetResponseSchemaDataMultiple +from .vehicle_itempost_request_schema import VehicleItempostRequestSchema +from .vehicle_itempost_request_schema_custom import VehicleItempostRequestSchemaCustom +from .vehicle_itempost_request_schema_multiple import VehicleItempostRequestSchemaMultiple +from .vehicle_itempost_response_schema import VehicleItempostResponseSchema +from .vehicle_itempost_response_schema_data import VehicleItempostResponseSchemaData +from .vehicle_itempost_response_schema_data_custom import VehicleItempostResponseSchemaDataCustom +from .vehicle_itempost_response_schema_data_multiple import VehicleItempostResponseSchemaDataMultiple +from .vehicle_itemput_request_schema import VehicleItemputRequestSchema +from .vehicle_itemput_request_schema_custom import VehicleItemputRequestSchemaCustom +from .vehicle_itemput_request_schema_multiple import VehicleItemputRequestSchemaMultiple +from .vehicle_itemput_response_schema import VehicleItemputResponseSchema +from .vehicle_itemput_response_schema_data import VehicleItemputResponseSchemaData +from .vehicle_itemput_response_schema_data_custom import VehicleItemputResponseSchemaDataCustom +from .vehicle_itemput_response_schema_data_multiple import VehicleItemputResponseSchemaDataMultiple diff --git a/rentman_api_client/models/btwbedrag_collectionput_response_schema.py b/rentman_api_client/models/accessory_collectionget_response_schema.py similarity index 81% rename from rentman_api_client/models/btwbedrag_collectionput_response_schema.py rename to rentman_api_client/models/accessory_collectionget_response_schema.py index ea8507f..22ed092 100644 --- a/rentman_api_client/models/btwbedrag_collectionput_response_schema.py +++ b/rentman_api_client/models/accessory_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.btwbedrag_collectionput_response_schema_data_item import BtwbedragCollectionputResponseSchemaDataItem +from ..models.accessory_collectionget_response_schema_data_item import AccessoryCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragCollectionputResponseSchema") +T = TypeVar("T", bound="AccessoryCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class BtwbedragCollectionputResponseSchema: +class AccessoryCollectiongetResponseSchema: """ """ - data: Union[Unset, List[BtwbedragCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[AccessoryCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = BtwbedragCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = AccessoryCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - btwbedrag_collectionput_response_schema = cls( + accessory_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - btwbedrag_collectionput_response_schema.additional_properties = d - return btwbedrag_collectionput_response_schema + accessory_collectionget_response_schema.additional_properties = d + return accessory_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_collectionget_response_schema_data_item.py b/rentman_api_client/models/accessory_collectionget_response_schema_data_item.py similarity index 93% rename from rentman_api_client/models/accessoire_collectionget_response_schema_data_item.py rename to rentman_api_client/models/accessory_collectionget_response_schema_data_item.py index 075d524..4c6f99e 100644 --- a/rentman_api_client/models/accessoire_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/accessory_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="AccessoryCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AccessoireCollectiongetResponseSchemaDataItem: +class AccessoryCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -116,7 +116,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line = d.pop("add_as_new_line", UNSET) - accessoire_collectionget_response_schema_data_item = cls( + accessory_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -132,8 +132,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line=add_as_new_line, ) - accessoire_collectionget_response_schema_data_item.additional_properties = d - return accessoire_collectionget_response_schema_data_item + accessory_collectionget_response_schema_data_item.additional_properties = d + return accessory_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_collectionget_response_schema.py b/rentman_api_client/models/accessory_collectionpost_response_schema.py similarity index 80% rename from rentman_api_client/models/accessoire_collectionget_response_schema.py rename to rentman_api_client/models/accessory_collectionpost_response_schema.py index 4798edc..67bcc31 100644 --- a/rentman_api_client/models/accessoire_collectionget_response_schema.py +++ b/rentman_api_client/models/accessory_collectionpost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.accessoire_collectionget_response_schema_data_item import AccessoireCollectiongetResponseSchemaDataItem +from ..models.accessory_collectionpost_response_schema_data_item import AccessoryCollectionpostResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireCollectiongetResponseSchema") +T = TypeVar("T", bound="AccessoryCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class AccessoireCollectiongetResponseSchema: +class AccessoryCollectionpostResponseSchema: """ """ - data: Union[Unset, List[AccessoireCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[AccessoryCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AccessoireCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = AccessoryCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - accessoire_collectionget_response_schema = cls( + accessory_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - accessoire_collectionget_response_schema.additional_properties = d - return accessoire_collectionget_response_schema + accessory_collectionpost_response_schema.additional_properties = d + return accessory_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_collectionput_response_schema_data_item.py b/rentman_api_client/models/accessory_collectionpost_response_schema_data_item.py similarity index 93% rename from rentman_api_client/models/accessoire_collectionput_response_schema_data_item.py rename to rentman_api_client/models/accessory_collectionpost_response_schema_data_item.py index abad569..e0a7d20 100644 --- a/rentman_api_client/models/accessoire_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/accessory_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="AccessoryCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AccessoireCollectionputResponseSchemaDataItem: +class AccessoryCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -116,7 +116,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line = d.pop("add_as_new_line", UNSET) - accessoire_collectionput_response_schema_data_item = cls( + accessory_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -132,8 +132,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line=add_as_new_line, ) - accessoire_collectionput_response_schema_data_item.additional_properties = d - return accessoire_collectionput_response_schema_data_item + accessory_collectionpost_response_schema_data_item.additional_properties = d + return accessory_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_collectionget_response_schema.py b/rentman_api_client/models/accessory_collectionput_response_schema.py similarity index 81% rename from rentman_api_client/models/exemplaar_collectionget_response_schema.py rename to rentman_api_client/models/accessory_collectionput_response_schema.py index 1b14b7d..48369aa 100644 --- a/rentman_api_client/models/exemplaar_collectionget_response_schema.py +++ b/rentman_api_client/models/accessory_collectionput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.exemplaar_collectionget_response_schema_data_item import ExemplaarCollectiongetResponseSchemaDataItem +from ..models.accessory_collectionput_response_schema_data_item import AccessoryCollectionputResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarCollectiongetResponseSchema") +T = TypeVar("T", bound="AccessoryCollectionputResponseSchema") @attr.s(auto_attribs=True) -class ExemplaarCollectiongetResponseSchema: +class AccessoryCollectionputResponseSchema: """ """ - data: Union[Unset, List[ExemplaarCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[AccessoryCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = ExemplaarCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = AccessoryCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - exemplaar_collectionget_response_schema = cls( + accessory_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - exemplaar_collectionget_response_schema.additional_properties = d - return exemplaar_collectionget_response_schema + accessory_collectionput_response_schema.additional_properties = d + return accessory_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_collectionpost_response_schema_data_item.py b/rentman_api_client/models/accessory_collectionput_response_schema_data_item.py similarity index 93% rename from rentman_api_client/models/accessoire_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/accessory_collectionput_response_schema_data_item.py index d1ca3ce..a930ca3 100644 --- a/rentman_api_client/models/accessoire_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/accessory_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="AccessoryCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AccessoireCollectionpostResponseSchemaDataItem: +class AccessoryCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -116,7 +116,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line = d.pop("add_as_new_line", UNSET) - accessoire_collectionpost_response_schema_data_item = cls( + accessory_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -132,8 +132,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line=add_as_new_line, ) - accessoire_collectionpost_response_schema_data_item.additional_properties = d - return accessoire_collectionpost_response_schema_data_item + accessory_collectionput_response_schema_data_item.additional_properties = d + return accessory_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_itemget_request_schema.py b/rentman_api_client/models/accessory_itemget_request_schema.py similarity index 91% rename from rentman_api_client/models/accessoire_itemget_request_schema.py rename to rentman_api_client/models/accessory_itemget_request_schema.py index 78c6e14..8c5392d 100644 --- a/rentman_api_client/models/accessoire_itemget_request_schema.py +++ b/rentman_api_client/models/accessory_itemget_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireItemgetRequestSchema") +T = TypeVar("T", bound="AccessoryItemgetRequestSchema") @attr.s(auto_attribs=True) -class AccessoireItemgetRequestSchema: +class AccessoryItemgetRequestSchema: """ """ equipment: Union[Unset, None, str] = UNSET @@ -66,7 +66,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line = d.pop("add_as_new_line", UNSET) - accessoire_itemget_request_schema = cls( + accessory_itemget_request_schema = cls( equipment=equipment, quantity=quantity, automatic=automatic, @@ -76,8 +76,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line=add_as_new_line, ) - accessoire_itemget_request_schema.additional_properties = d - return accessoire_itemget_request_schema + accessory_itemget_request_schema.additional_properties = d + return accessory_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_itemput_response_schema.py b/rentman_api_client/models/accessory_itemget_response_schema.py similarity index 78% rename from rentman_api_client/models/btwbedrag_itemput_response_schema.py rename to rentman_api_client/models/accessory_itemget_response_schema.py index ef5a064..d9bb217 100644 --- a/rentman_api_client/models/btwbedrag_itemput_response_schema.py +++ b/rentman_api_client/models/accessory_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.btwbedrag_itemput_response_schema_data import BtwbedragItemputResponseSchemaData +from ..models.accessory_itemget_response_schema_data import AccessoryItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragItemputResponseSchema") +T = TypeVar("T", bound="AccessoryItemgetResponseSchema") @attr.s(auto_attribs=True) -class BtwbedragItemputResponseSchema: +class AccessoryItemgetResponseSchema: """ """ - data: Union[Unset, BtwbedragItemputResponseSchemaData] = UNSET + data: Union[Unset, AccessoryItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, BtwbedragItemputResponseSchemaData] = UNSET + data: Union[Unset, AccessoryItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = BtwbedragItemputResponseSchemaData.from_dict(_data) + data = AccessoryItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - btwbedrag_itemput_response_schema = cls( + accessory_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - btwbedrag_itemput_response_schema.additional_properties = d - return btwbedrag_itemput_response_schema + accessory_itemget_response_schema.additional_properties = d + return accessory_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_itemget_response_schema_data.py b/rentman_api_client/models/accessory_itemget_response_schema_data.py similarity index 94% rename from rentman_api_client/models/accessoire_itemget_response_schema_data.py rename to rentman_api_client/models/accessory_itemget_response_schema_data.py index 758f557..5abb332 100644 --- a/rentman_api_client/models/accessoire_itemget_response_schema_data.py +++ b/rentman_api_client/models/accessory_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireItemgetResponseSchemaData") +T = TypeVar("T", bound="AccessoryItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class AccessoireItemgetResponseSchemaData: +class AccessoryItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -116,7 +116,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line = d.pop("add_as_new_line", UNSET) - accessoire_itemget_response_schema_data = cls( + accessory_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -132,8 +132,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line=add_as_new_line, ) - accessoire_itemget_response_schema_data.additional_properties = d - return accessoire_itemget_response_schema_data + accessory_itemget_response_schema_data.additional_properties = d + return accessory_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_itemput_request_schema.py b/rentman_api_client/models/accessory_itempost_request_schema.py similarity index 91% rename from rentman_api_client/models/accessoire_itemput_request_schema.py rename to rentman_api_client/models/accessory_itempost_request_schema.py index 18b5583..947fa0d 100644 --- a/rentman_api_client/models/accessoire_itemput_request_schema.py +++ b/rentman_api_client/models/accessory_itempost_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireItemputRequestSchema") +T = TypeVar("T", bound="AccessoryItempostRequestSchema") @attr.s(auto_attribs=True) -class AccessoireItemputRequestSchema: +class AccessoryItempostRequestSchema: """ """ equipment: Union[Unset, None, str] = UNSET @@ -66,7 +66,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line = d.pop("add_as_new_line", UNSET) - accessoire_itemput_request_schema = cls( + accessory_itempost_request_schema = cls( equipment=equipment, quantity=quantity, automatic=automatic, @@ -76,8 +76,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line=add_as_new_line, ) - accessoire_itemput_request_schema.additional_properties = d - return accessoire_itemput_request_schema + accessory_itempost_request_schema.additional_properties = d + return accessory_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_itemput_response_schema.py b/rentman_api_client/models/accessory_itempost_response_schema.py similarity index 78% rename from rentman_api_client/models/accessoire_itemput_response_schema.py rename to rentman_api_client/models/accessory_itempost_response_schema.py index fa02359..1cf869a 100644 --- a/rentman_api_client/models/accessoire_itemput_response_schema.py +++ b/rentman_api_client/models/accessory_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.accessoire_itemput_response_schema_data import AccessoireItemputResponseSchemaData +from ..models.accessory_itempost_response_schema_data import AccessoryItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireItemputResponseSchema") +T = TypeVar("T", bound="AccessoryItempostResponseSchema") @attr.s(auto_attribs=True) -class AccessoireItemputResponseSchema: +class AccessoryItempostResponseSchema: """ """ - data: Union[Unset, AccessoireItemputResponseSchemaData] = UNSET + data: Union[Unset, AccessoryItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AccessoireItemputResponseSchemaData] = UNSET + data: Union[Unset, AccessoryItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AccessoireItemputResponseSchemaData.from_dict(_data) + data = AccessoryItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - accessoire_itemput_response_schema = cls( + accessory_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - accessoire_itemput_response_schema.additional_properties = d - return accessoire_itemput_response_schema + accessory_itempost_response_schema.additional_properties = d + return accessory_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_itemput_response_schema_data.py b/rentman_api_client/models/accessory_itempost_response_schema_data.py similarity index 94% rename from rentman_api_client/models/accessoire_itemput_response_schema_data.py rename to rentman_api_client/models/accessory_itempost_response_schema_data.py index ca6d5a8..9cb267f 100644 --- a/rentman_api_client/models/accessoire_itemput_response_schema_data.py +++ b/rentman_api_client/models/accessory_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireItemputResponseSchemaData") +T = TypeVar("T", bound="AccessoryItempostResponseSchemaData") @attr.s(auto_attribs=True) -class AccessoireItemputResponseSchemaData: +class AccessoryItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -116,7 +116,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line = d.pop("add_as_new_line", UNSET) - accessoire_itemput_response_schema_data = cls( + accessory_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -132,8 +132,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line=add_as_new_line, ) - accessoire_itemput_response_schema_data.additional_properties = d - return accessoire_itemput_response_schema_data + accessory_itempost_response_schema_data.additional_properties = d + return accessory_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_itempost_request_schema.py b/rentman_api_client/models/accessory_itemput_request_schema.py similarity index 90% rename from rentman_api_client/models/accessoire_itempost_request_schema.py rename to rentman_api_client/models/accessory_itemput_request_schema.py index b6559e7..247ddbd 100644 --- a/rentman_api_client/models/accessoire_itempost_request_schema.py +++ b/rentman_api_client/models/accessory_itemput_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireItempostRequestSchema") +T = TypeVar("T", bound="AccessoryItemputRequestSchema") @attr.s(auto_attribs=True) -class AccessoireItempostRequestSchema: +class AccessoryItemputRequestSchema: """ """ equipment: Union[Unset, None, str] = UNSET @@ -66,7 +66,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line = d.pop("add_as_new_line", UNSET) - accessoire_itempost_request_schema = cls( + accessory_itemput_request_schema = cls( equipment=equipment, quantity=quantity, automatic=automatic, @@ -76,8 +76,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line=add_as_new_line, ) - accessoire_itempost_request_schema.additional_properties = d - return accessoire_itempost_request_schema + accessory_itemput_request_schema.additional_properties = d + return accessory_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_itemget_response_schema.py b/rentman_api_client/models/accessory_itemput_response_schema.py similarity index 78% rename from rentman_api_client/models/btwbedrag_itemget_response_schema.py rename to rentman_api_client/models/accessory_itemput_response_schema.py index 1180ee8..5455615 100644 --- a/rentman_api_client/models/btwbedrag_itemget_response_schema.py +++ b/rentman_api_client/models/accessory_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.btwbedrag_itemget_response_schema_data import BtwbedragItemgetResponseSchemaData +from ..models.accessory_itemput_response_schema_data import AccessoryItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragItemgetResponseSchema") +T = TypeVar("T", bound="AccessoryItemputResponseSchema") @attr.s(auto_attribs=True) -class BtwbedragItemgetResponseSchema: +class AccessoryItemputResponseSchema: """ """ - data: Union[Unset, BtwbedragItemgetResponseSchemaData] = UNSET + data: Union[Unset, AccessoryItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, BtwbedragItemgetResponseSchemaData] = UNSET + data: Union[Unset, AccessoryItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = BtwbedragItemgetResponseSchemaData.from_dict(_data) + data = AccessoryItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - btwbedrag_itemget_response_schema = cls( + accessory_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - btwbedrag_itemget_response_schema.additional_properties = d - return btwbedrag_itemget_response_schema + accessory_itemput_response_schema.additional_properties = d + return accessory_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_itempost_response_schema_data.py b/rentman_api_client/models/accessory_itemput_response_schema_data.py similarity index 94% rename from rentman_api_client/models/accessoire_itempost_response_schema_data.py rename to rentman_api_client/models/accessory_itemput_response_schema_data.py index f4299dc..5b2edf4 100644 --- a/rentman_api_client/models/accessoire_itempost_response_schema_data.py +++ b/rentman_api_client/models/accessory_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireItempostResponseSchemaData") +T = TypeVar("T", bound="AccessoryItemputResponseSchemaData") @attr.s(auto_attribs=True) -class AccessoireItempostResponseSchemaData: +class AccessoryItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -116,7 +116,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line = d.pop("add_as_new_line", UNSET) - accessoire_itempost_response_schema_data = cls( + accessory_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -132,8 +132,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: add_as_new_line=add_as_new_line, ) - accessoire_itempost_response_schema_data.additional_properties = d - return accessoire_itempost_response_schema_data + accessory_itemput_response_schema_data.additional_properties = d + return accessory_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functieuur_collectionpost_response_schema.py b/rentman_api_client/models/appointment_collectionget_response_schema.py similarity index 80% rename from rentman_api_client/models/functieuur_collectionpost_response_schema.py rename to rentman_api_client/models/appointment_collectionget_response_schema.py index 290b188..653a9b1 100644 --- a/rentman_api_client/models/functieuur_collectionpost_response_schema.py +++ b/rentman_api_client/models/appointment_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.functieuur_collectionpost_response_schema_data_item import FunctieuurCollectionpostResponseSchemaDataItem +from ..models.appointment_collectionget_response_schema_data_item import AppointmentCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurCollectionpostResponseSchema") +T = TypeVar("T", bound="AppointmentCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class FunctieuurCollectionpostResponseSchema: +class AppointmentCollectiongetResponseSchema: """ """ - data: Union[Unset, List[FunctieuurCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[AppointmentCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = FunctieuurCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = AppointmentCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - functieuur_collectionpost_response_schema = cls( + appointment_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - functieuur_collectionpost_response_schema.additional_properties = d - return functieuur_collectionpost_response_schema + appointment_collectionget_response_schema.additional_properties = d + return appointment_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_collectionget_response_schema_data_item.py b/rentman_api_client/models/appointment_collectionget_response_schema_data_item.py similarity index 89% rename from rentman_api_client/models/afspraak_collectionget_response_schema_data_item.py rename to rentman_api_client/models/appointment_collectionget_response_schema_data_item.py index 3303819..3f27aef 100644 --- a/rentman_api_client/models/afspraak_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/appointment_collectionget_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.afspraak_collectionget_response_schema_data_item_recurrence_interval_unit import ( - AfspraakCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit, +from ..models.appointment_collectionget_response_schema_data_item_recurrence_interval_unit import ( + AppointmentCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="AppointmentCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AfspraakCollectiongetResponseSchemaDataItem: +class AppointmentCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -29,7 +29,7 @@ class AfspraakCollectiongetResponseSchemaDataItem: remark: Union[Unset, str] = UNSET is_public: Union[Unset, bool] = UNSET is_plannable: Union[Unset, bool] = UNSET - recurrence_interval_unit: Union[Unset, AfspraakCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, AppointmentCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET recurrence_group: Union[Unset, int] = UNSET @@ -159,11 +159,11 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable = d.pop("is_plannable", UNSET) recurrence_interval_unit: Union[ - Unset, AfspraakCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit + Unset, AppointmentCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit ] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = AfspraakCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit( + recurrence_interval_unit = AppointmentCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -177,7 +177,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: synchronisation_uri = d.pop("synchronisation_uri", UNSET) - afspraak_collectionget_response_schema_data_item = cls( + appointment_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -199,8 +199,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: synchronisation_uri=synchronisation_uri, ) - afspraak_collectionget_response_schema_data_item.additional_properties = d - return afspraak_collectionget_response_schema_data_item + appointment_collectionget_response_schema_data_item.additional_properties = d + return appointment_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_collectionget_response_schema_data_item_recurrence_interval_unit.py b/rentman_api_client/models/appointment_collectionget_response_schema_data_item_recurrence_interval_unit.py similarity index 67% rename from rentman_api_client/models/afspraak_collectionget_response_schema_data_item_recurrence_interval_unit.py rename to rentman_api_client/models/appointment_collectionget_response_schema_data_item_recurrence_interval_unit.py index 10e1d76..0fb228a 100644 --- a/rentman_api_client/models/afspraak_collectionget_response_schema_data_item_recurrence_interval_unit.py +++ b/rentman_api_client/models/appointment_collectionget_response_schema_data_item_recurrence_interval_unit.py @@ -1,7 +1,7 @@ from enum import Enum -class AfspraakCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit(str, Enum): +class AppointmentCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit(str, Enum): ONCE = "once" DAYS = "days" WEEKS = "weeks" diff --git a/rentman_api_client/models/functiegroep_collectionget_response_schema.py b/rentman_api_client/models/appointment_collectionpost_response_schema.py similarity index 80% rename from rentman_api_client/models/functiegroep_collectionget_response_schema.py rename to rentman_api_client/models/appointment_collectionpost_response_schema.py index b7c8c9d..d0fb209 100644 --- a/rentman_api_client/models/functiegroep_collectionget_response_schema.py +++ b/rentman_api_client/models/appointment_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.functiegroep_collectionget_response_schema_data_item import ( - FunctiegroepCollectiongetResponseSchemaDataItem, +from ..models.appointment_collectionpost_response_schema_data_item import ( + AppointmentCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctiegroepCollectiongetResponseSchema") +T = TypeVar("T", bound="AppointmentCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class FunctiegroepCollectiongetResponseSchema: +class AppointmentCollectionpostResponseSchema: """ """ - data: Union[Unset, List[FunctiegroepCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[AppointmentCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = FunctiegroepCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = AppointmentCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - functiegroep_collectionget_response_schema = cls( + appointment_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - functiegroep_collectionget_response_schema.additional_properties = d - return functiegroep_collectionget_response_schema + appointment_collectionpost_response_schema.additional_properties = d + return appointment_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_collectionput_response_schema_data_item.py b/rentman_api_client/models/appointment_collectionpost_response_schema_data_item.py similarity index 93% rename from rentman_api_client/models/afspraak_collectionput_response_schema_data_item.py rename to rentman_api_client/models/appointment_collectionpost_response_schema_data_item.py index 4abf42a..3724c23 100644 --- a/rentman_api_client/models/afspraak_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/appointment_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="AppointmentCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AfspraakCollectionputResponseSchemaDataItem: +class AppointmentCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -128,7 +128,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable = d.pop("is_plannable", UNSET) - afspraak_collectionput_response_schema_data_item = cls( + appointment_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -144,8 +144,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable=is_plannable, ) - afspraak_collectionput_response_schema_data_item.additional_properties = d - return afspraak_collectionput_response_schema_data_item + appointment_collectionpost_response_schema_data_item.additional_properties = d + return appointment_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurgroep_collectionget_response_schema.py b/rentman_api_client/models/appointment_collectionput_response_schema.py similarity index 80% rename from rentman_api_client/models/inhuurgroep_collectionget_response_schema.py rename to rentman_api_client/models/appointment_collectionput_response_schema.py index b687969..bbc703b 100644 --- a/rentman_api_client/models/inhuurgroep_collectionget_response_schema.py +++ b/rentman_api_client/models/appointment_collectionput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuurgroep_collectionget_response_schema_data_item import InhuurgroepCollectiongetResponseSchemaDataItem +from ..models.appointment_collectionput_response_schema_data_item import AppointmentCollectionputResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepCollectiongetResponseSchema") +T = TypeVar("T", bound="AppointmentCollectionputResponseSchema") @attr.s(auto_attribs=True) -class InhuurgroepCollectiongetResponseSchema: +class AppointmentCollectionputResponseSchema: """ """ - data: Union[Unset, List[InhuurgroepCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[AppointmentCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = InhuurgroepCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = AppointmentCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurgroep_collectionget_response_schema = cls( + appointment_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurgroep_collectionget_response_schema.additional_properties = d - return inhuurgroep_collectionget_response_schema + appointment_collectionput_response_schema.additional_properties = d + return appointment_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_collectionpost_response_schema_data_item.py b/rentman_api_client/models/appointment_collectionput_response_schema_data_item.py similarity index 93% rename from rentman_api_client/models/afspraak_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/appointment_collectionput_response_schema_data_item.py index a062ca5..7345d20 100644 --- a/rentman_api_client/models/afspraak_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/appointment_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="AppointmentCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AfspraakCollectionpostResponseSchemaDataItem: +class AppointmentCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -128,7 +128,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable = d.pop("is_plannable", UNSET) - afspraak_collectionpost_response_schema_data_item = cls( + appointment_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -144,8 +144,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable=is_plannable, ) - afspraak_collectionpost_response_schema_data_item.additional_properties = d - return afspraak_collectionpost_response_schema_data_item + appointment_collectionput_response_schema_data_item.additional_properties = d + return appointment_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_itemget_request_schema.py b/rentman_api_client/models/appointment_itemget_request_schema.py similarity index 86% rename from rentman_api_client/models/afspraak_itemget_request_schema.py rename to rentman_api_client/models/appointment_itemget_request_schema.py index 1dec7d2..fb53547 100644 --- a/rentman_api_client/models/afspraak_itemget_request_schema.py +++ b/rentman_api_client/models/appointment_itemget_request_schema.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.afspraak_itemget_request_schema_recurrence_interval_unit import ( - AfspraakItemgetRequestSchemaRecurrenceIntervalUnit, +from ..models.appointment_itemget_request_schema_recurrence_interval_unit import ( + AppointmentItemgetRequestSchemaRecurrenceIntervalUnit, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakItemgetRequestSchema") +T = TypeVar("T", bound="AppointmentItemgetRequestSchema") @attr.s(auto_attribs=True) -class AfspraakItemgetRequestSchema: +class AppointmentItemgetRequestSchema: """ """ start: datetime.datetime @@ -24,7 +24,7 @@ class AfspraakItemgetRequestSchema: remark: Union[Unset, str] = UNSET is_public: Union[Unset, bool] = UNSET is_plannable: Union[Unset, bool] = UNSET - recurrence_interval_unit: Union[Unset, AfspraakItemgetRequestSchemaRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, AppointmentItemgetRequestSchemaRecurrenceIntervalUnit] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET recurrence_group: Union[Unset, int] = UNSET @@ -107,10 +107,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable = d.pop("is_plannable", UNSET) - recurrence_interval_unit: Union[Unset, AfspraakItemgetRequestSchemaRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, AppointmentItemgetRequestSchemaRecurrenceIntervalUnit] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = AfspraakItemgetRequestSchemaRecurrenceIntervalUnit(_recurrence_interval_unit) + recurrence_interval_unit = AppointmentItemgetRequestSchemaRecurrenceIntervalUnit(_recurrence_interval_unit) recurrence_enddate = d.pop("recurrence_enddate", UNSET) @@ -122,7 +122,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: synchronisation_uri = d.pop("synchronisation_uri", UNSET) - afspraak_itemget_request_schema = cls( + appointment_itemget_request_schema = cls( start=start, end=end, name=name, @@ -139,8 +139,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: synchronisation_uri=synchronisation_uri, ) - afspraak_itemget_request_schema.additional_properties = d - return afspraak_itemget_request_schema + appointment_itemget_request_schema.additional_properties = d + return appointment_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_itemget_request_schema_recurrence_interval_unit.py b/rentman_api_client/models/appointment_itemget_request_schema_recurrence_interval_unit.py similarity index 71% rename from rentman_api_client/models/afspraak_itemget_request_schema_recurrence_interval_unit.py rename to rentman_api_client/models/appointment_itemget_request_schema_recurrence_interval_unit.py index 8f3afe9..e8a5034 100644 --- a/rentman_api_client/models/afspraak_itemget_request_schema_recurrence_interval_unit.py +++ b/rentman_api_client/models/appointment_itemget_request_schema_recurrence_interval_unit.py @@ -1,7 +1,7 @@ from enum import Enum -class AfspraakItemgetRequestSchemaRecurrenceIntervalUnit(str, Enum): +class AppointmentItemgetRequestSchemaRecurrenceIntervalUnit(str, Enum): ONCE = "once" DAYS = "days" WEEKS = "weeks" diff --git a/rentman_api_client/models/functieuur_itempost_response_schema.py b/rentman_api_client/models/appointment_itemget_response_schema.py similarity index 78% rename from rentman_api_client/models/functieuur_itempost_response_schema.py rename to rentman_api_client/models/appointment_itemget_response_schema.py index 09be5c9..3e57b26 100644 --- a/rentman_api_client/models/functieuur_itempost_response_schema.py +++ b/rentman_api_client/models/appointment_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.functieuur_itempost_response_schema_data import FunctieuurItempostResponseSchemaData +from ..models.appointment_itemget_response_schema_data import AppointmentItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurItempostResponseSchema") +T = TypeVar("T", bound="AppointmentItemgetResponseSchema") @attr.s(auto_attribs=True) -class FunctieuurItempostResponseSchema: +class AppointmentItemgetResponseSchema: """ """ - data: Union[Unset, FunctieuurItempostResponseSchemaData] = UNSET + data: Union[Unset, AppointmentItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, FunctieuurItempostResponseSchemaData] = UNSET + data: Union[Unset, AppointmentItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = FunctieuurItempostResponseSchemaData.from_dict(_data) + data = AppointmentItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - functieuur_itempost_response_schema = cls( + appointment_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - functieuur_itempost_response_schema.additional_properties = d - return functieuur_itempost_response_schema + appointment_itemget_response_schema.additional_properties = d + return appointment_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_itemget_response_schema_data.py b/rentman_api_client/models/appointment_itemget_response_schema_data.py similarity index 90% rename from rentman_api_client/models/afspraak_itemget_response_schema_data.py rename to rentman_api_client/models/appointment_itemget_response_schema_data.py index 4605585..9d100ad 100644 --- a/rentman_api_client/models/afspraak_itemget_response_schema_data.py +++ b/rentman_api_client/models/appointment_itemget_response_schema_data.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.afspraak_itemget_response_schema_data_recurrence_interval_unit import ( - AfspraakItemgetResponseSchemaDataRecurrenceIntervalUnit, +from ..models.appointment_itemget_response_schema_data_recurrence_interval_unit import ( + AppointmentItemgetResponseSchemaDataRecurrenceIntervalUnit, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakItemgetResponseSchemaData") +T = TypeVar("T", bound="AppointmentItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class AfspraakItemgetResponseSchemaData: +class AppointmentItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -29,7 +29,7 @@ class AfspraakItemgetResponseSchemaData: remark: Union[Unset, str] = UNSET is_public: Union[Unset, bool] = UNSET is_plannable: Union[Unset, bool] = UNSET - recurrence_interval_unit: Union[Unset, AfspraakItemgetResponseSchemaDataRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, AppointmentItemgetResponseSchemaDataRecurrenceIntervalUnit] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET recurrence_group: Union[Unset, int] = UNSET @@ -158,10 +158,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable = d.pop("is_plannable", UNSET) - recurrence_interval_unit: Union[Unset, AfspraakItemgetResponseSchemaDataRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, AppointmentItemgetResponseSchemaDataRecurrenceIntervalUnit] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = AfspraakItemgetResponseSchemaDataRecurrenceIntervalUnit( + recurrence_interval_unit = AppointmentItemgetResponseSchemaDataRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -175,7 +175,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: synchronisation_uri = d.pop("synchronisation_uri", UNSET) - afspraak_itemget_response_schema_data = cls( + appointment_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -197,8 +197,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: synchronisation_uri=synchronisation_uri, ) - afspraak_itemget_response_schema_data.additional_properties = d - return afspraak_itemget_response_schema_data + appointment_itemget_response_schema_data.additional_properties = d + return appointment_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_itempost_request_schema_recurrence_interval_unit.py b/rentman_api_client/models/appointment_itemget_response_schema_data_recurrence_interval_unit.py similarity index 75% rename from rentman_api_client/models/beschikbaarheid_itempost_request_schema_recurrence_interval_unit.py rename to rentman_api_client/models/appointment_itemget_response_schema_data_recurrence_interval_unit.py index 1e1c475..5ff3a1c 100644 --- a/rentman_api_client/models/beschikbaarheid_itempost_request_schema_recurrence_interval_unit.py +++ b/rentman_api_client/models/appointment_itemget_response_schema_data_recurrence_interval_unit.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidItempostRequestSchemaRecurrenceIntervalUnit(str, Enum): +class AppointmentItemgetResponseSchemaDataRecurrenceIntervalUnit(str, Enum): ONCE = "once" DAYS = "days" WEEKS = "weeks" diff --git a/rentman_api_client/models/afspraak_itemput_request_schema.py b/rentman_api_client/models/appointment_itempost_request_schema.py similarity index 91% rename from rentman_api_client/models/afspraak_itemput_request_schema.py rename to rentman_api_client/models/appointment_itempost_request_schema.py index e5421e7..701c8d1 100644 --- a/rentman_api_client/models/afspraak_itemput_request_schema.py +++ b/rentman_api_client/models/appointment_itempost_request_schema.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakItemputRequestSchema") +T = TypeVar("T", bound="AppointmentItempostRequestSchema") @attr.s(auto_attribs=True) -class AfspraakItemputRequestSchema: +class AppointmentItempostRequestSchema: """ """ start: datetime.datetime @@ -77,7 +77,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable = d.pop("is_plannable", UNSET) - afspraak_itemput_request_schema = cls( + appointment_itempost_request_schema = cls( start=start, end=end, name=name, @@ -88,8 +88,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable=is_plannable, ) - afspraak_itemput_request_schema.additional_properties = d - return afspraak_itemput_request_schema + appointment_itempost_request_schema.additional_properties = d + return appointment_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurgroep_itempost_response_schema.py b/rentman_api_client/models/appointment_itempost_response_schema.py similarity index 78% rename from rentman_api_client/models/inhuurgroep_itempost_response_schema.py rename to rentman_api_client/models/appointment_itempost_response_schema.py index 891078b..933895e 100644 --- a/rentman_api_client/models/inhuurgroep_itempost_response_schema.py +++ b/rentman_api_client/models/appointment_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuurgroep_itempost_response_schema_data import InhuurgroepItempostResponseSchemaData +from ..models.appointment_itempost_response_schema_data import AppointmentItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepItempostResponseSchema") +T = TypeVar("T", bound="AppointmentItempostResponseSchema") @attr.s(auto_attribs=True) -class InhuurgroepItempostResponseSchema: +class AppointmentItempostResponseSchema: """ """ - data: Union[Unset, InhuurgroepItempostResponseSchemaData] = UNSET + data: Union[Unset, AppointmentItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, InhuurgroepItempostResponseSchemaData] = UNSET + data: Union[Unset, AppointmentItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = InhuurgroepItempostResponseSchemaData.from_dict(_data) + data = AppointmentItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurgroep_itempost_response_schema = cls( + appointment_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurgroep_itempost_response_schema.additional_properties = d - return inhuurgroep_itempost_response_schema + appointment_itempost_response_schema.additional_properties = d + return appointment_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_itempost_response_schema_data.py b/rentman_api_client/models/appointment_itempost_response_schema_data.py similarity index 94% rename from rentman_api_client/models/afspraak_itempost_response_schema_data.py rename to rentman_api_client/models/appointment_itempost_response_schema_data.py index 6157b5f..3a2ea0d 100644 --- a/rentman_api_client/models/afspraak_itempost_response_schema_data.py +++ b/rentman_api_client/models/appointment_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakItempostResponseSchemaData") +T = TypeVar("T", bound="AppointmentItempostResponseSchemaData") @attr.s(auto_attribs=True) -class AfspraakItempostResponseSchemaData: +class AppointmentItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -128,7 +128,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable = d.pop("is_plannable", UNSET) - afspraak_itempost_response_schema_data = cls( + appointment_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -144,8 +144,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable=is_plannable, ) - afspraak_itempost_response_schema_data.additional_properties = d - return afspraak_itempost_response_schema_data + appointment_itempost_response_schema_data.additional_properties = d + return appointment_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_itempost_request_schema.py b/rentman_api_client/models/appointment_itemput_request_schema.py similarity index 91% rename from rentman_api_client/models/afspraak_itempost_request_schema.py rename to rentman_api_client/models/appointment_itemput_request_schema.py index 674588d..538898f 100644 --- a/rentman_api_client/models/afspraak_itempost_request_schema.py +++ b/rentman_api_client/models/appointment_itemput_request_schema.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakItempostRequestSchema") +T = TypeVar("T", bound="AppointmentItemputRequestSchema") @attr.s(auto_attribs=True) -class AfspraakItempostRequestSchema: +class AppointmentItemputRequestSchema: """ """ start: datetime.datetime @@ -77,7 +77,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable = d.pop("is_plannable", UNSET) - afspraak_itempost_request_schema = cls( + appointment_itemput_request_schema = cls( start=start, end=end, name=name, @@ -88,8 +88,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable=is_plannable, ) - afspraak_itempost_request_schema.additional_properties = d - return afspraak_itempost_request_schema + appointment_itemput_request_schema.additional_properties = d + return appointment_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurgroep_itemget_response_schema.py b/rentman_api_client/models/appointment_itemput_response_schema.py similarity index 78% rename from rentman_api_client/models/inhuurgroep_itemget_response_schema.py rename to rentman_api_client/models/appointment_itemput_response_schema.py index 51ffa44..bc39174 100644 --- a/rentman_api_client/models/inhuurgroep_itemget_response_schema.py +++ b/rentman_api_client/models/appointment_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuurgroep_itemget_response_schema_data import InhuurgroepItemgetResponseSchemaData +from ..models.appointment_itemput_response_schema_data import AppointmentItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepItemgetResponseSchema") +T = TypeVar("T", bound="AppointmentItemputResponseSchema") @attr.s(auto_attribs=True) -class InhuurgroepItemgetResponseSchema: +class AppointmentItemputResponseSchema: """ """ - data: Union[Unset, InhuurgroepItemgetResponseSchemaData] = UNSET + data: Union[Unset, AppointmentItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, InhuurgroepItemgetResponseSchemaData] = UNSET + data: Union[Unset, AppointmentItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = InhuurgroepItemgetResponseSchemaData.from_dict(_data) + data = AppointmentItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurgroep_itemget_response_schema = cls( + appointment_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurgroep_itemget_response_schema.additional_properties = d - return inhuurgroep_itemget_response_schema + appointment_itemput_response_schema.additional_properties = d + return appointment_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_itemput_response_schema_data.py b/rentman_api_client/models/appointment_itemput_response_schema_data.py similarity index 94% rename from rentman_api_client/models/afspraak_itemput_response_schema_data.py rename to rentman_api_client/models/appointment_itemput_response_schema_data.py index ecc4283..5c29fc2 100644 --- a/rentman_api_client/models/afspraak_itemput_response_schema_data.py +++ b/rentman_api_client/models/appointment_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakItemputResponseSchemaData") +T = TypeVar("T", bound="AppointmentItemputResponseSchemaData") @attr.s(auto_attribs=True) -class AfspraakItemputResponseSchemaData: +class AppointmentItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -128,7 +128,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable = d.pop("is_plannable", UNSET) - afspraak_itemput_response_schema_data = cls( + appointment_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -144,8 +144,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable=is_plannable, ) - afspraak_itemput_response_schema_data.additional_properties = d - return afspraak_itemput_response_schema_data + appointment_itemput_response_schema_data.additional_properties = d + return appointment_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_collectionput_response_schema.py b/rentman_api_client/models/appointmentcrew_collectionget_response_schema.py similarity index 80% rename from rentman_api_client/models/beschikbaarheid_collectionput_response_schema.py rename to rentman_api_client/models/appointmentcrew_collectionget_response_schema.py index 8c8e47d..2e4cbd8 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionput_response_schema.py +++ b/rentman_api_client/models/appointmentcrew_collectionget_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.beschikbaarheid_collectionput_response_schema_data_item import ( - BeschikbaarheidCollectionputResponseSchemaDataItem, +from ..models.appointmentcrew_collectionget_response_schema_data_item import ( + AppointmentcrewCollectiongetResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidCollectionputResponseSchema") +T = TypeVar("T", bound="AppointmentcrewCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class BeschikbaarheidCollectionputResponseSchema: +class AppointmentcrewCollectiongetResponseSchema: """ """ - data: Union[Unset, List[BeschikbaarheidCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[AppointmentcrewCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = BeschikbaarheidCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = AppointmentcrewCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - beschikbaarheid_collectionput_response_schema = cls( + appointmentcrew_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - beschikbaarheid_collectionput_response_schema.additional_properties = d - return beschikbaarheid_collectionput_response_schema + appointmentcrew_collectionget_response_schema.additional_properties = d + return appointmentcrew_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_collectionpost_response_schema_data_item.py b/rentman_api_client/models/appointmentcrew_collectionget_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/afspraakmedewerker_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/appointmentcrew_collectionget_response_schema_data_item.py index 71d5d26..fff1cb5 100644 --- a/rentman_api_client/models/afspraakmedewerker_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/appointmentcrew_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="AppointmentcrewCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AfspraakmedewerkerCollectionpostResponseSchemaDataItem: +class AppointmentcrewCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -80,7 +80,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew = d.pop("crew", UNSET) - afspraakmedewerker_collectionpost_response_schema_data_item = cls( + appointmentcrew_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -90,8 +90,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew=crew, ) - afspraakmedewerker_collectionpost_response_schema_data_item.additional_properties = d - return afspraakmedewerker_collectionpost_response_schema_data_item + appointmentcrew_collectionget_response_schema_data_item.additional_properties = d + return appointmentcrew_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_collectionpost_response_schema.py b/rentman_api_client/models/appointmentcrew_collectionpost_response_schema.py similarity index 80% rename from rentman_api_client/models/beschikbaarheid_collectionpost_response_schema.py rename to rentman_api_client/models/appointmentcrew_collectionpost_response_schema.py index bccad20..d373a23 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionpost_response_schema.py +++ b/rentman_api_client/models/appointmentcrew_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.beschikbaarheid_collectionpost_response_schema_data_item import ( - BeschikbaarheidCollectionpostResponseSchemaDataItem, +from ..models.appointmentcrew_collectionpost_response_schema_data_item import ( + AppointmentcrewCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidCollectionpostResponseSchema") +T = TypeVar("T", bound="AppointmentcrewCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class BeschikbaarheidCollectionpostResponseSchema: +class AppointmentcrewCollectionpostResponseSchema: """ """ - data: Union[Unset, List[BeschikbaarheidCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[AppointmentcrewCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = BeschikbaarheidCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = AppointmentcrewCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - beschikbaarheid_collectionpost_response_schema = cls( + appointmentcrew_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - beschikbaarheid_collectionpost_response_schema.additional_properties = d - return beschikbaarheid_collectionpost_response_schema + appointmentcrew_collectionpost_response_schema.additional_properties = d + return appointmentcrew_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_collectionput_response_schema_data_item.py b/rentman_api_client/models/appointmentcrew_collectionpost_response_schema_data_item.py similarity index 89% rename from rentman_api_client/models/afspraakmedewerker_collectionput_response_schema_data_item.py rename to rentman_api_client/models/appointmentcrew_collectionpost_response_schema_data_item.py index 12120be..036b722 100644 --- a/rentman_api_client/models/afspraakmedewerker_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/appointmentcrew_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="AppointmentcrewCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AfspraakmedewerkerCollectionputResponseSchemaDataItem: +class AppointmentcrewCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -80,7 +80,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew = d.pop("crew", UNSET) - afspraakmedewerker_collectionput_response_schema_data_item = cls( + appointmentcrew_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -90,8 +90,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew=crew, ) - afspraakmedewerker_collectionput_response_schema_data_item.additional_properties = d - return afspraakmedewerker_collectionput_response_schema_data_item + appointmentcrew_collectionpost_response_schema_data_item.additional_properties = d + return appointmentcrew_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_collectionput_response_schema.py b/rentman_api_client/models/appointmentcrew_collectionput_response_schema.py similarity index 80% rename from rentman_api_client/models/inhuurmateriaal_collectionput_response_schema.py rename to rentman_api_client/models/appointmentcrew_collectionput_response_schema.py index ad3086f..ce41c38 100644 --- a/rentman_api_client/models/inhuurmateriaal_collectionput_response_schema.py +++ b/rentman_api_client/models/appointmentcrew_collectionput_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.inhuurmateriaal_collectionput_response_schema_data_item import ( - InhuurmateriaalCollectionputResponseSchemaDataItem, +from ..models.appointmentcrew_collectionput_response_schema_data_item import ( + AppointmentcrewCollectionputResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalCollectionputResponseSchema") +T = TypeVar("T", bound="AppointmentcrewCollectionputResponseSchema") @attr.s(auto_attribs=True) -class InhuurmateriaalCollectionputResponseSchema: +class AppointmentcrewCollectionputResponseSchema: """ """ - data: Union[Unset, List[InhuurmateriaalCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[AppointmentcrewCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = InhuurmateriaalCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = AppointmentcrewCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurmateriaal_collectionput_response_schema = cls( + appointmentcrew_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurmateriaal_collectionput_response_schema.additional_properties = d - return inhuurmateriaal_collectionput_response_schema + appointmentcrew_collectionput_response_schema.additional_properties = d + return appointmentcrew_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_collectionget_response_schema_data_item.py b/rentman_api_client/models/appointmentcrew_collectionput_response_schema_data_item.py similarity index 89% rename from rentman_api_client/models/afspraakmedewerker_collectionget_response_schema_data_item.py rename to rentman_api_client/models/appointmentcrew_collectionput_response_schema_data_item.py index 095d032..bbfa9a5 100644 --- a/rentman_api_client/models/afspraakmedewerker_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/appointmentcrew_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="AppointmentcrewCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AfspraakmedewerkerCollectiongetResponseSchemaDataItem: +class AppointmentcrewCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -80,7 +80,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew = d.pop("crew", UNSET) - afspraakmedewerker_collectionget_response_schema_data_item = cls( + appointmentcrew_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -90,8 +90,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew=crew, ) - afspraakmedewerker_collectionget_response_schema_data_item.additional_properties = d - return afspraakmedewerker_collectionget_response_schema_data_item + appointmentcrew_collectionput_response_schema_data_item.additional_properties = d + return appointmentcrew_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_itemput_request_schema.py b/rentman_api_client/models/appointmentcrew_itemget_request_schema.py similarity index 79% rename from rentman_api_client/models/afspraakmedewerker_itemput_request_schema.py rename to rentman_api_client/models/appointmentcrew_itemget_request_schema.py index 6d31900..bef0a96 100644 --- a/rentman_api_client/models/afspraakmedewerker_itemput_request_schema.py +++ b/rentman_api_client/models/appointmentcrew_itemget_request_schema.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="AfspraakmedewerkerItemputRequestSchema") +T = TypeVar("T", bound="AppointmentcrewItemgetRequestSchema") @attr.s(auto_attribs=True) -class AfspraakmedewerkerItemputRequestSchema: +class AppointmentcrewItemgetRequestSchema: """ """ crew: str @@ -30,12 +30,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() crew = d.pop("crew") - afspraakmedewerker_itemput_request_schema = cls( + appointmentcrew_itemget_request_schema = cls( crew=crew, ) - afspraakmedewerker_itemput_request_schema.additional_properties = d - return afspraakmedewerker_itemput_request_schema + appointmentcrew_itemget_request_schema.additional_properties = d + return appointmentcrew_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_itemput_response_schema.py b/rentman_api_client/models/appointmentcrew_itemget_response_schema.py similarity index 77% rename from rentman_api_client/models/inhuurmateriaal_itemput_response_schema.py rename to rentman_api_client/models/appointmentcrew_itemget_response_schema.py index 26a36b8..dbcd1eb 100644 --- a/rentman_api_client/models/inhuurmateriaal_itemput_response_schema.py +++ b/rentman_api_client/models/appointmentcrew_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuurmateriaal_itemput_response_schema_data import InhuurmateriaalItemputResponseSchemaData +from ..models.appointmentcrew_itemget_response_schema_data import AppointmentcrewItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalItemputResponseSchema") +T = TypeVar("T", bound="AppointmentcrewItemgetResponseSchema") @attr.s(auto_attribs=True) -class InhuurmateriaalItemputResponseSchema: +class AppointmentcrewItemgetResponseSchema: """ """ - data: Union[Unset, InhuurmateriaalItemputResponseSchemaData] = UNSET + data: Union[Unset, AppointmentcrewItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, InhuurmateriaalItemputResponseSchemaData] = UNSET + data: Union[Unset, AppointmentcrewItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = InhuurmateriaalItemputResponseSchemaData.from_dict(_data) + data = AppointmentcrewItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurmateriaal_itemput_response_schema = cls( + appointmentcrew_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurmateriaal_itemput_response_schema.additional_properties = d - return inhuurmateriaal_itemput_response_schema + appointmentcrew_itemget_response_schema.additional_properties = d + return appointmentcrew_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_itemput_response_schema_data.py b/rentman_api_client/models/appointmentcrew_itemget_response_schema_data.py similarity index 90% rename from rentman_api_client/models/afspraakmedewerker_itemput_response_schema_data.py rename to rentman_api_client/models/appointmentcrew_itemget_response_schema_data.py index b7f7178..8f27f92 100644 --- a/rentman_api_client/models/afspraakmedewerker_itemput_response_schema_data.py +++ b/rentman_api_client/models/appointmentcrew_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerItemputResponseSchemaData") +T = TypeVar("T", bound="AppointmentcrewItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class AfspraakmedewerkerItemputResponseSchemaData: +class AppointmentcrewItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -80,7 +80,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew = d.pop("crew", UNSET) - afspraakmedewerker_itemput_response_schema_data = cls( + appointmentcrew_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -90,8 +90,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew=crew, ) - afspraakmedewerker_itemput_response_schema_data.additional_properties = d - return afspraakmedewerker_itemput_response_schema_data + appointmentcrew_itemget_response_schema_data.additional_properties = d + return appointmentcrew_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_itemget_request_schema.py b/rentman_api_client/models/appointmentcrew_itempost_request_schema.py similarity index 79% rename from rentman_api_client/models/afspraakmedewerker_itemget_request_schema.py rename to rentman_api_client/models/appointmentcrew_itempost_request_schema.py index 420593b..39728d9 100644 --- a/rentman_api_client/models/afspraakmedewerker_itemget_request_schema.py +++ b/rentman_api_client/models/appointmentcrew_itempost_request_schema.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="AfspraakmedewerkerItemgetRequestSchema") +T = TypeVar("T", bound="AppointmentcrewItempostRequestSchema") @attr.s(auto_attribs=True) -class AfspraakmedewerkerItemgetRequestSchema: +class AppointmentcrewItempostRequestSchema: """ """ crew: str @@ -30,12 +30,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() crew = d.pop("crew") - afspraakmedewerker_itemget_request_schema = cls( + appointmentcrew_itempost_request_schema = cls( crew=crew, ) - afspraakmedewerker_itemget_request_schema.additional_properties = d - return afspraakmedewerker_itemget_request_schema + appointmentcrew_itempost_request_schema.additional_properties = d + return appointmentcrew_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_itempost_response_schema.py b/rentman_api_client/models/appointmentcrew_itempost_response_schema.py similarity index 77% rename from rentman_api_client/models/beschikbaarheid_itempost_response_schema.py rename to rentman_api_client/models/appointmentcrew_itempost_response_schema.py index 8c7cfd7..2dc6c01 100644 --- a/rentman_api_client/models/beschikbaarheid_itempost_response_schema.py +++ b/rentman_api_client/models/appointmentcrew_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.beschikbaarheid_itempost_response_schema_data import BeschikbaarheidItempostResponseSchemaData +from ..models.appointmentcrew_itempost_response_schema_data import AppointmentcrewItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidItempostResponseSchema") +T = TypeVar("T", bound="AppointmentcrewItempostResponseSchema") @attr.s(auto_attribs=True) -class BeschikbaarheidItempostResponseSchema: +class AppointmentcrewItempostResponseSchema: """ """ - data: Union[Unset, BeschikbaarheidItempostResponseSchemaData] = UNSET + data: Union[Unset, AppointmentcrewItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, BeschikbaarheidItempostResponseSchemaData] = UNSET + data: Union[Unset, AppointmentcrewItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = BeschikbaarheidItempostResponseSchemaData.from_dict(_data) + data = AppointmentcrewItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - beschikbaarheid_itempost_response_schema = cls( + appointmentcrew_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - beschikbaarheid_itempost_response_schema.additional_properties = d - return beschikbaarheid_itempost_response_schema + appointmentcrew_itempost_response_schema.additional_properties = d + return appointmentcrew_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_itemget_response_schema_data.py b/rentman_api_client/models/appointmentcrew_itempost_response_schema_data.py similarity index 90% rename from rentman_api_client/models/afspraakmedewerker_itemget_response_schema_data.py rename to rentman_api_client/models/appointmentcrew_itempost_response_schema_data.py index e40a37f..8a5a5fb 100644 --- a/rentman_api_client/models/afspraakmedewerker_itemget_response_schema_data.py +++ b/rentman_api_client/models/appointmentcrew_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerItemgetResponseSchemaData") +T = TypeVar("T", bound="AppointmentcrewItempostResponseSchemaData") @attr.s(auto_attribs=True) -class AfspraakmedewerkerItemgetResponseSchemaData: +class AppointmentcrewItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -80,7 +80,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew = d.pop("crew", UNSET) - afspraakmedewerker_itemget_response_schema_data = cls( + appointmentcrew_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -90,8 +90,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew=crew, ) - afspraakmedewerker_itemget_response_schema_data.additional_properties = d - return afspraakmedewerker_itemget_response_schema_data + appointmentcrew_itempost_response_schema_data.additional_properties = d + return appointmentcrew_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_itempost_request_schema.py b/rentman_api_client/models/appointmentcrew_itemput_request_schema.py similarity index 79% rename from rentman_api_client/models/afspraakmedewerker_itempost_request_schema.py rename to rentman_api_client/models/appointmentcrew_itemput_request_schema.py index 3d3bbe0..58c1163 100644 --- a/rentman_api_client/models/afspraakmedewerker_itempost_request_schema.py +++ b/rentman_api_client/models/appointmentcrew_itemput_request_schema.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="AfspraakmedewerkerItempostRequestSchema") +T = TypeVar("T", bound="AppointmentcrewItemputRequestSchema") @attr.s(auto_attribs=True) -class AfspraakmedewerkerItempostRequestSchema: +class AppointmentcrewItemputRequestSchema: """ """ crew: str @@ -30,12 +30,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() crew = d.pop("crew") - afspraakmedewerker_itempost_request_schema = cls( + appointmentcrew_itemput_request_schema = cls( crew=crew, ) - afspraakmedewerker_itempost_request_schema.additional_properties = d - return afspraakmedewerker_itempost_request_schema + appointmentcrew_itemput_request_schema.additional_properties = d + return appointmentcrew_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_itemget_response_schema.py b/rentman_api_client/models/appointmentcrew_itemput_response_schema.py similarity index 77% rename from rentman_api_client/models/beschikbaarheid_itemget_response_schema.py rename to rentman_api_client/models/appointmentcrew_itemput_response_schema.py index 021d3d9..613b907 100644 --- a/rentman_api_client/models/beschikbaarheid_itemget_response_schema.py +++ b/rentman_api_client/models/appointmentcrew_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.beschikbaarheid_itemget_response_schema_data import BeschikbaarheidItemgetResponseSchemaData +from ..models.appointmentcrew_itemput_response_schema_data import AppointmentcrewItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidItemgetResponseSchema") +T = TypeVar("T", bound="AppointmentcrewItemputResponseSchema") @attr.s(auto_attribs=True) -class BeschikbaarheidItemgetResponseSchema: +class AppointmentcrewItemputResponseSchema: """ """ - data: Union[Unset, BeschikbaarheidItemgetResponseSchemaData] = UNSET + data: Union[Unset, AppointmentcrewItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, BeschikbaarheidItemgetResponseSchemaData] = UNSET + data: Union[Unset, AppointmentcrewItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = BeschikbaarheidItemgetResponseSchemaData.from_dict(_data) + data = AppointmentcrewItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - beschikbaarheid_itemget_response_schema = cls( + appointmentcrew_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - beschikbaarheid_itemget_response_schema.additional_properties = d - return beschikbaarheid_itemget_response_schema + appointmentcrew_itemput_response_schema.additional_properties = d + return appointmentcrew_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_itempost_response_schema_data.py b/rentman_api_client/models/appointmentcrew_itemput_response_schema_data.py similarity index 90% rename from rentman_api_client/models/afspraakmedewerker_itempost_response_schema_data.py rename to rentman_api_client/models/appointmentcrew_itemput_response_schema_data.py index af43f36..59b3dd1 100644 --- a/rentman_api_client/models/afspraakmedewerker_itempost_response_schema_data.py +++ b/rentman_api_client/models/appointmentcrew_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerItempostResponseSchemaData") +T = TypeVar("T", bound="AppointmentcrewItemputResponseSchemaData") @attr.s(auto_attribs=True) -class AfspraakmedewerkerItempostResponseSchemaData: +class AppointmentcrewItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -80,7 +80,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew = d.pop("crew", UNSET) - afspraakmedewerker_itempost_response_schema_data = cls( + appointmentcrew_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -90,8 +90,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crew=crew, ) - afspraakmedewerker_itempost_response_schema_data.additional_properties = d - return afspraakmedewerker_itempost_response_schema_data + appointmentcrew_itemput_response_schema_data.additional_properties = d + return appointmentcrew_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_itemput_response_schema_data_country.py b/rentman_api_client/models/asset_location_itemput_response_schema_data_country.py deleted file mode 100644 index 26e8ac6..0000000 --- a/rentman_api_client/models/asset_location_itemput_response_schema_data_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class AssetLocationItemputResponseSchemaDataCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/asset_location_itemput_response_schema_data_type.py b/rentman_api_client/models/asset_location_itemput_response_schema_data_type.py deleted file mode 100644 index de9fbf0..0000000 --- a/rentman_api_client/models/asset_location_itemput_response_schema_data_type.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import Enum - - -class AssetLocationItemputResponseSchemaDataType(str, Enum): - PLANNABLE = "plannable" - NONPLANNABLE = "nonplannable" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/beschikbaarheid_collectionput_response_schema_data_item_recurrence_interval_unit.py b/rentman_api_client/models/beschikbaarheid_collectionput_response_schema_data_item_recurrence_interval_unit.py deleted file mode 100644 index 0891b5d..0000000 --- a/rentman_api_client/models/beschikbaarheid_collectionput_response_schema_data_item_recurrence_interval_unit.py +++ /dev/null @@ -1,12 +0,0 @@ -from enum import Enum - - -class BeschikbaarheidCollectionputResponseSchemaDataItemRecurrenceIntervalUnit(str, Enum): - ONCE = "once" - DAYS = "days" - WEEKS = "weeks" - MONTHS = "months" - YEARS = "years" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/beschikbaarheid_itemput_request_schema_recurrence_interval_unit.py b/rentman_api_client/models/beschikbaarheid_itemput_request_schema_recurrence_interval_unit.py deleted file mode 100644 index ece6d54..0000000 --- a/rentman_api_client/models/beschikbaarheid_itemput_request_schema_recurrence_interval_unit.py +++ /dev/null @@ -1,12 +0,0 @@ -from enum import Enum - - -class BeschikbaarheidItemputRequestSchemaRecurrenceIntervalUnit(str, Enum): - ONCE = "once" - DAYS = "days" - WEEKS = "weeks" - MONTHS = "months" - YEARS = "years" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/beschikbaarheid_itemput_response_schema_data_recurrence_interval_unit.py b/rentman_api_client/models/beschikbaarheid_itemput_response_schema_data_recurrence_interval_unit.py deleted file mode 100644 index 6c2048e..0000000 --- a/rentman_api_client/models/beschikbaarheid_itemput_response_schema_data_recurrence_interval_unit.py +++ /dev/null @@ -1,12 +0,0 @@ -from enum import Enum - - -class BeschikbaarheidItemputResponseSchemaDataRecurrenceIntervalUnit(str, Enum): - ONCE = "once" - DAYS = "days" - WEEKS = "weeks" - MONTHS = "months" - YEARS = "years" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/beschikbaarheid_itemput_response_schema_data_status.py b/rentman_api_client/models/beschikbaarheid_itemput_response_schema_data_status.py deleted file mode 100644 index 568924b..0000000 --- a/rentman_api_client/models/beschikbaarheid_itemput_response_schema_data_status.py +++ /dev/null @@ -1,10 +0,0 @@ -from enum import Enum - - -class BeschikbaarheidItemputResponseSchemaDataStatus(str, Enum): - B = "B" - N = "N" - O = "O" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/asset_location_collectionput_response_schema.py b/rentman_api_client/models/contactperson_collectionget_response_schema.py similarity index 79% rename from rentman_api_client/models/asset_location_collectionput_response_schema.py rename to rentman_api_client/models/contactperson_collectionget_response_schema.py index 99bf1f0..3889851 100644 --- a/rentman_api_client/models/asset_location_collectionput_response_schema.py +++ b/rentman_api_client/models/contactperson_collectionget_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.asset_location_collectionput_response_schema_data_item import ( - AssetLocationCollectionputResponseSchemaDataItem, +from ..models.contactperson_collectionget_response_schema_data_item import ( + ContactpersonCollectiongetResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationCollectionputResponseSchema") +T = TypeVar("T", bound="ContactpersonCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class AssetLocationCollectionputResponseSchema: +class ContactpersonCollectiongetResponseSchema: """ """ - data: Union[Unset, List[AssetLocationCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[ContactpersonCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AssetLocationCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = ContactpersonCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - asset_location_collectionput_response_schema = cls( + contactperson_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - asset_location_collectionput_response_schema.additional_properties = d - return asset_location_collectionput_response_schema + contactperson_collectionget_response_schema.additional_properties = d + return contactperson_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_collectionput_response_schema_data_item.py b/rentman_api_client/models/contactperson_collectionget_response_schema_data_item.py similarity index 84% rename from rentman_api_client/models/person_collectionput_response_schema_data_item.py rename to rentman_api_client/models/contactperson_collectionget_response_schema_data_item.py index 3ad3028..41dc8c7 100644 --- a/rentman_api_client/models/person_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/contactperson_collectionget_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.person_collectionput_response_schema_data_item_country import ( - PersonCollectionputResponseSchemaDataItemCountry, +from ..models.contactperson_collectionget_response_schema_data_item_country import ( + ContactpersonCollectiongetResponseSchemaDataItemCountry, ) -from ..models.person_collectionput_response_schema_data_item_custom import ( - PersonCollectionputResponseSchemaDataItemCustom, +from ..models.contactperson_collectionget_response_schema_data_item_custom import ( + ContactpersonCollectiongetResponseSchemaDataItemCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="ContactpersonCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class PersonCollectionputResponseSchemaDataItem: +class ContactpersonCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -35,11 +35,11 @@ class PersonCollectionputResponseSchemaDataItem: postalcode: Union[Unset, str] = UNSET city: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, PersonCollectionputResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, ContactpersonCollectiongetResponseSchemaDataItemCountry] = UNSET mobilephone: Union[Unset, str] = UNSET email: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, PersonCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ContactpersonCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -165,10 +165,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, PersonCollectionputResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, ContactpersonCollectiongetResponseSchemaDataItemCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = PersonCollectionputResponseSchemaDataItemCountry(_country) + country = ContactpersonCollectiongetResponseSchemaDataItemCountry(_country) mobilephone = d.pop("mobilephone", UNSET) @@ -176,12 +176,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, PersonCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ContactpersonCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PersonCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + custom = ContactpersonCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - person_collectionput_response_schema_data_item = cls( + contactperson_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -205,8 +205,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - person_collectionput_response_schema_data_item.additional_properties = d - return person_collectionput_response_schema_data_item + contactperson_collectionget_response_schema_data_item.additional_properties = d + return contactperson_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_collectionget_response_schema_data_item_country.py b/rentman_api_client/models/contactperson_collectionget_response_schema_data_item_country.py similarity index 97% rename from rentman_api_client/models/asset_location_collectionget_response_schema_data_item_country.py rename to rentman_api_client/models/contactperson_collectionget_response_schema_data_item_country.py index f304050..843d47a 100644 --- a/rentman_api_client/models/asset_location_collectionget_response_schema_data_item_country.py +++ b/rentman_api_client/models/contactperson_collectionget_response_schema_data_item_country.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationCollectiongetResponseSchemaDataItemCountry(str, Enum): +class ContactpersonCollectiongetResponseSchemaDataItemCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/contactperson_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/contactperson_collectionget_response_schema_data_item_custom.py new file mode 100644 index 0000000..64a5be2 --- /dev/null +++ b/rentman_api_client/models/contactperson_collectionget_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ContactpersonCollectiongetResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class ContactpersonCollectiongetResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + contactperson_collectionget_response_schema_data_item_custom = cls() + + contactperson_collectionget_response_schema_data_item_custom.additional_properties = d + return contactperson_collectionget_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/asset_location_collectionpost_response_schema.py b/rentman_api_client/models/contactperson_collectionpost_response_schema.py similarity index 79% rename from rentman_api_client/models/asset_location_collectionpost_response_schema.py rename to rentman_api_client/models/contactperson_collectionpost_response_schema.py index 0792428..8721aa6 100644 --- a/rentman_api_client/models/asset_location_collectionpost_response_schema.py +++ b/rentman_api_client/models/contactperson_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.asset_location_collectionpost_response_schema_data_item import ( - AssetLocationCollectionpostResponseSchemaDataItem, +from ..models.contactperson_collectionpost_response_schema_data_item import ( + ContactpersonCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationCollectionpostResponseSchema") +T = TypeVar("T", bound="ContactpersonCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class AssetLocationCollectionpostResponseSchema: +class ContactpersonCollectionpostResponseSchema: """ """ - data: Union[Unset, List[AssetLocationCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[ContactpersonCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AssetLocationCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = ContactpersonCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - asset_location_collectionpost_response_schema = cls( + contactperson_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - asset_location_collectionpost_response_schema.additional_properties = d - return asset_location_collectionpost_response_schema + contactperson_collectionpost_response_schema.additional_properties = d + return contactperson_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_collectionget_response_schema_data_item.py b/rentman_api_client/models/contactperson_collectionpost_response_schema_data_item.py similarity index 84% rename from rentman_api_client/models/person_collectionget_response_schema_data_item.py rename to rentman_api_client/models/contactperson_collectionpost_response_schema_data_item.py index 9b17b18..0072915 100644 --- a/rentman_api_client/models/person_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/contactperson_collectionpost_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.person_collectionget_response_schema_data_item_country import ( - PersonCollectiongetResponseSchemaDataItemCountry, +from ..models.contactperson_collectionpost_response_schema_data_item_country import ( + ContactpersonCollectionpostResponseSchemaDataItemCountry, ) -from ..models.person_collectionget_response_schema_data_item_custom import ( - PersonCollectiongetResponseSchemaDataItemCustom, +from ..models.contactperson_collectionpost_response_schema_data_item_custom import ( + ContactpersonCollectionpostResponseSchemaDataItemCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="ContactpersonCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class PersonCollectiongetResponseSchemaDataItem: +class ContactpersonCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -35,11 +35,11 @@ class PersonCollectiongetResponseSchemaDataItem: postalcode: Union[Unset, str] = UNSET city: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, PersonCollectiongetResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, ContactpersonCollectionpostResponseSchemaDataItemCountry] = UNSET mobilephone: Union[Unset, str] = UNSET email: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, PersonCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ContactpersonCollectionpostResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -165,10 +165,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, PersonCollectiongetResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, ContactpersonCollectionpostResponseSchemaDataItemCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = PersonCollectiongetResponseSchemaDataItemCountry(_country) + country = ContactpersonCollectionpostResponseSchemaDataItemCountry(_country) mobilephone = d.pop("mobilephone", UNSET) @@ -176,12 +176,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, PersonCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ContactpersonCollectionpostResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PersonCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = ContactpersonCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - person_collectionget_response_schema_data_item = cls( + contactperson_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -205,8 +205,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - person_collectionget_response_schema_data_item.additional_properties = d - return person_collectionget_response_schema_data_item + contactperson_collectionpost_response_schema_data_item.additional_properties = d + return contactperson_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_collectionpost_response_schema_data_item_country.py b/rentman_api_client/models/contactperson_collectionpost_response_schema_data_item_country.py similarity index 97% rename from rentman_api_client/models/asset_location_collectionpost_response_schema_data_item_country.py rename to rentman_api_client/models/contactperson_collectionpost_response_schema_data_item_country.py index 49d7fef..bf9a73c 100644 --- a/rentman_api_client/models/asset_location_collectionpost_response_schema_data_item_country.py +++ b/rentman_api_client/models/contactperson_collectionpost_response_schema_data_item_country.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationCollectionpostResponseSchemaDataItemCountry(str, Enum): +class ContactpersonCollectionpostResponseSchemaDataItemCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/contactperson_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/contactperson_collectionpost_response_schema_data_item_custom.py new file mode 100644 index 0000000..feda254 --- /dev/null +++ b/rentman_api_client/models/contactperson_collectionpost_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ContactpersonCollectionpostResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class ContactpersonCollectionpostResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + contactperson_collectionpost_response_schema_data_item_custom = cls() + + contactperson_collectionpost_response_schema_data_item_custom.additional_properties = d + return contactperson_collectionpost_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_cat_collectionpost_response_schema.py b/rentman_api_client/models/contactperson_collectionput_response_schema.py similarity index 79% rename from rentman_api_client/models/materiaal_cat_collectionpost_response_schema.py rename to rentman_api_client/models/contactperson_collectionput_response_schema.py index c9288b9..a2ce35f 100644 --- a/rentman_api_client/models/materiaal_cat_collectionpost_response_schema.py +++ b/rentman_api_client/models/contactperson_collectionput_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.materiaal_cat_collectionpost_response_schema_data_item import ( - MateriaalCatCollectionpostResponseSchemaDataItem, +from ..models.contactperson_collectionput_response_schema_data_item import ( + ContactpersonCollectionputResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatCollectionpostResponseSchema") +T = TypeVar("T", bound="ContactpersonCollectionputResponseSchema") @attr.s(auto_attribs=True) -class MateriaalCatCollectionpostResponseSchema: +class ContactpersonCollectionputResponseSchema: """ """ - data: Union[Unset, List[MateriaalCatCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[ContactpersonCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = MateriaalCatCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = ContactpersonCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - materiaal_cat_collectionpost_response_schema = cls( + contactperson_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - materiaal_cat_collectionpost_response_schema.additional_properties = d - return materiaal_cat_collectionpost_response_schema + contactperson_collectionput_response_schema.additional_properties = d + return contactperson_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_collectionpost_response_schema_data_item.py b/rentman_api_client/models/contactperson_collectionput_response_schema_data_item.py similarity index 84% rename from rentman_api_client/models/person_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/contactperson_collectionput_response_schema_data_item.py index be321fb..21cf9d9 100644 --- a/rentman_api_client/models/person_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/contactperson_collectionput_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.person_collectionpost_response_schema_data_item_country import ( - PersonCollectionpostResponseSchemaDataItemCountry, +from ..models.contactperson_collectionput_response_schema_data_item_country import ( + ContactpersonCollectionputResponseSchemaDataItemCountry, ) -from ..models.person_collectionpost_response_schema_data_item_custom import ( - PersonCollectionpostResponseSchemaDataItemCustom, +from ..models.contactperson_collectionput_response_schema_data_item_custom import ( + ContactpersonCollectionputResponseSchemaDataItemCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="ContactpersonCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class PersonCollectionpostResponseSchemaDataItem: +class ContactpersonCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -35,11 +35,11 @@ class PersonCollectionpostResponseSchemaDataItem: postalcode: Union[Unset, str] = UNSET city: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, PersonCollectionpostResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, ContactpersonCollectionputResponseSchemaDataItemCountry] = UNSET mobilephone: Union[Unset, str] = UNSET email: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, PersonCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ContactpersonCollectionputResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -165,10 +165,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, PersonCollectionpostResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, ContactpersonCollectionputResponseSchemaDataItemCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = PersonCollectionpostResponseSchemaDataItemCountry(_country) + country = ContactpersonCollectionputResponseSchemaDataItemCountry(_country) mobilephone = d.pop("mobilephone", UNSET) @@ -176,12 +176,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, PersonCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ContactpersonCollectionputResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PersonCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) + custom = ContactpersonCollectionputResponseSchemaDataItemCustom.from_dict(_custom) - person_collectionpost_response_schema_data_item = cls( + contactperson_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -205,8 +205,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - person_collectionpost_response_schema_data_item.additional_properties = d - return person_collectionpost_response_schema_data_item + contactperson_collectionput_response_schema_data_item.additional_properties = d + return contactperson_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_collectionput_response_schema_data_item_country.py b/rentman_api_client/models/contactperson_collectionput_response_schema_data_item_country.py similarity index 97% rename from rentman_api_client/models/asset_location_collectionput_response_schema_data_item_country.py rename to rentman_api_client/models/contactperson_collectionput_response_schema_data_item_country.py index ca85e5c..2253c43 100644 --- a/rentman_api_client/models/asset_location_collectionput_response_schema_data_item_country.py +++ b/rentman_api_client/models/contactperson_collectionput_response_schema_data_item_country.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationCollectionputResponseSchemaDataItemCountry(str, Enum): +class ContactpersonCollectionputResponseSchemaDataItemCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/contactperson_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/contactperson_collectionput_response_schema_data_item_custom.py new file mode 100644 index 0000000..7e3dbbb --- /dev/null +++ b/rentman_api_client/models/contactperson_collectionput_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ContactpersonCollectionputResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class ContactpersonCollectionputResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + contactperson_collectionput_response_schema_data_item_custom = cls() + + contactperson_collectionput_response_schema_data_item_custom.additional_properties = d + return contactperson_collectionput_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/person_itempost_request_schema.py b/rentman_api_client/models/contactperson_itemget_request_schema.py similarity index 82% rename from rentman_api_client/models/person_itempost_request_schema.py rename to rentman_api_client/models/contactperson_itemget_request_schema.py index 43e13b2..58aa3ac 100644 --- a/rentman_api_client/models/person_itempost_request_schema.py +++ b/rentman_api_client/models/contactperson_itemget_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.person_itempost_request_schema_country import PersonItempostRequestSchemaCountry -from ..models.person_itempost_request_schema_custom import PersonItempostRequestSchemaCustom +from ..models.contactperson_itemget_request_schema_country import ContactpersonItemgetRequestSchemaCountry +from ..models.contactperson_itemget_request_schema_custom import ContactpersonItemgetRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonItempostRequestSchema") +T = TypeVar("T", bound="ContactpersonItemgetRequestSchema") @attr.s(auto_attribs=True) -class PersonItempostRequestSchema: +class ContactpersonItemgetRequestSchema: """ """ firstname: Union[Unset, str] = UNSET @@ -23,10 +23,10 @@ class PersonItempostRequestSchema: postalcode: Union[Unset, str] = UNSET city: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, PersonItempostRequestSchemaCountry] = UNSET + country: Union[Unset, ContactpersonItemgetRequestSchemaCountry] = UNSET mobilephone: Union[Unset, str] = UNSET email: Union[Unset, str] = UNSET - custom: Union[Unset, PersonItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, ContactpersonItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -107,21 +107,21 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, PersonItempostRequestSchemaCountry] = UNSET + country: Union[Unset, ContactpersonItemgetRequestSchemaCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = PersonItempostRequestSchemaCountry(_country) + country = ContactpersonItemgetRequestSchemaCountry(_country) mobilephone = d.pop("mobilephone", UNSET) email = d.pop("email", UNSET) - custom: Union[Unset, PersonItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, ContactpersonItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PersonItempostRequestSchemaCustom.from_dict(_custom) + custom = ContactpersonItemgetRequestSchemaCustom.from_dict(_custom) - person_itempost_request_schema = cls( + contactperson_itemget_request_schema = cls( firstname=firstname, middle_name=middle_name, lastname=lastname, @@ -138,8 +138,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - person_itempost_request_schema.additional_properties = d - return person_itempost_request_schema + contactperson_itemget_request_schema.additional_properties = d + return contactperson_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_itemget_request_schema_country.py b/rentman_api_client/models/contactperson_itemget_request_schema_country.py similarity index 97% rename from rentman_api_client/models/asset_location_itemget_request_schema_country.py rename to rentman_api_client/models/contactperson_itemget_request_schema_country.py index 292294c..5789f66 100644 --- a/rentman_api_client/models/asset_location_itemget_request_schema_country.py +++ b/rentman_api_client/models/contactperson_itemget_request_schema_country.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationItemgetRequestSchemaCountry(str, Enum): +class ContactpersonItemgetRequestSchemaCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/contactperson_itemget_request_schema_custom.py b/rentman_api_client/models/contactperson_itemget_request_schema_custom.py new file mode 100644 index 0000000..6a32d0e --- /dev/null +++ b/rentman_api_client/models/contactperson_itemget_request_schema_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ContactpersonItemgetRequestSchemaCustom") + + +@attr.s(auto_attribs=True) +class ContactpersonItemgetRequestSchemaCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + contactperson_itemget_request_schema_custom = cls() + + contactperson_itemget_request_schema_custom.additional_properties = d + return contactperson_itemget_request_schema_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/asset_location_itemget_response_schema.py b/rentman_api_client/models/contactperson_itemget_response_schema.py similarity index 77% rename from rentman_api_client/models/asset_location_itemget_response_schema.py rename to rentman_api_client/models/contactperson_itemget_response_schema.py index d939591..9a812dc 100644 --- a/rentman_api_client/models/asset_location_itemget_response_schema.py +++ b/rentman_api_client/models/contactperson_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.asset_location_itemget_response_schema_data import AssetLocationItemgetResponseSchemaData +from ..models.contactperson_itemget_response_schema_data import ContactpersonItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationItemgetResponseSchema") +T = TypeVar("T", bound="ContactpersonItemgetResponseSchema") @attr.s(auto_attribs=True) -class AssetLocationItemgetResponseSchema: +class ContactpersonItemgetResponseSchema: """ """ - data: Union[Unset, AssetLocationItemgetResponseSchemaData] = UNSET + data: Union[Unset, ContactpersonItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AssetLocationItemgetResponseSchemaData] = UNSET + data: Union[Unset, ContactpersonItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AssetLocationItemgetResponseSchemaData.from_dict(_data) + data = ContactpersonItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - asset_location_itemget_response_schema = cls( + contactperson_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - asset_location_itemget_response_schema.additional_properties = d - return asset_location_itemget_response_schema + contactperson_itemget_response_schema.additional_properties = d + return contactperson_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itempost_response_schema_data.py b/rentman_api_client/models/contactperson_itemget_response_schema_data.py similarity index 86% rename from rentman_api_client/models/person_itempost_response_schema_data.py rename to rentman_api_client/models/contactperson_itemget_response_schema_data.py index dca0790..39fe249 100644 --- a/rentman_api_client/models/person_itempost_response_schema_data.py +++ b/rentman_api_client/models/contactperson_itemget_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.person_itempost_response_schema_data_country import PersonItempostResponseSchemaDataCountry -from ..models.person_itempost_response_schema_data_custom import PersonItempostResponseSchemaDataCustom +from ..models.contactperson_itemget_response_schema_data_country import ContactpersonItemgetResponseSchemaDataCountry +from ..models.contactperson_itemget_response_schema_data_custom import ContactpersonItemgetResponseSchemaDataCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonItempostResponseSchemaData") +T = TypeVar("T", bound="ContactpersonItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class PersonItempostResponseSchemaData: +class ContactpersonItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -31,11 +31,11 @@ class PersonItempostResponseSchemaData: postalcode: Union[Unset, str] = UNSET city: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, PersonItempostResponseSchemaDataCountry] = UNSET + country: Union[Unset, ContactpersonItemgetResponseSchemaDataCountry] = UNSET mobilephone: Union[Unset, str] = UNSET email: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, PersonItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ContactpersonItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -161,10 +161,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, PersonItempostResponseSchemaDataCountry] = UNSET + country: Union[Unset, ContactpersonItemgetResponseSchemaDataCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = PersonItempostResponseSchemaDataCountry(_country) + country = ContactpersonItemgetResponseSchemaDataCountry(_country) mobilephone = d.pop("mobilephone", UNSET) @@ -172,12 +172,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, PersonItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ContactpersonItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PersonItempostResponseSchemaDataCustom.from_dict(_custom) + custom = ContactpersonItemgetResponseSchemaDataCustom.from_dict(_custom) - person_itempost_response_schema_data = cls( + contactperson_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -201,8 +201,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - person_itempost_response_schema_data.additional_properties = d - return person_itempost_response_schema_data + contactperson_itemget_response_schema_data.additional_properties = d + return contactperson_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_itemget_response_schema_data_country.py b/rentman_api_client/models/contactperson_itemget_response_schema_data_country.py similarity index 97% rename from rentman_api_client/models/asset_location_itemget_response_schema_data_country.py rename to rentman_api_client/models/contactperson_itemget_response_schema_data_country.py index 4a80d88..7b3c5d4 100644 --- a/rentman_api_client/models/asset_location_itemget_response_schema_data_country.py +++ b/rentman_api_client/models/contactperson_itemget_response_schema_data_country.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationItemgetResponseSchemaDataCountry(str, Enum): +class ContactpersonItemgetResponseSchemaDataCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/contactperson_itemget_response_schema_data_custom.py b/rentman_api_client/models/contactperson_itemget_response_schema_data_custom.py new file mode 100644 index 0000000..683de17 --- /dev/null +++ b/rentman_api_client/models/contactperson_itemget_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ContactpersonItemgetResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class ContactpersonItemgetResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + contactperson_itemget_response_schema_data_custom = cls() + + contactperson_itemget_response_schema_data_custom.additional_properties = d + return contactperson_itemget_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/person_itemput_request_schema.py b/rentman_api_client/models/contactperson_itempost_request_schema.py similarity index 81% rename from rentman_api_client/models/person_itemput_request_schema.py rename to rentman_api_client/models/contactperson_itempost_request_schema.py index 0aee1d3..13bd38e 100644 --- a/rentman_api_client/models/person_itemput_request_schema.py +++ b/rentman_api_client/models/contactperson_itempost_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.person_itemput_request_schema_country import PersonItemputRequestSchemaCountry -from ..models.person_itemput_request_schema_custom import PersonItemputRequestSchemaCustom +from ..models.contactperson_itempost_request_schema_country import ContactpersonItempostRequestSchemaCountry +from ..models.contactperson_itempost_request_schema_custom import ContactpersonItempostRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonItemputRequestSchema") +T = TypeVar("T", bound="ContactpersonItempostRequestSchema") @attr.s(auto_attribs=True) -class PersonItemputRequestSchema: +class ContactpersonItempostRequestSchema: """ """ firstname: Union[Unset, str] = UNSET @@ -23,10 +23,10 @@ class PersonItemputRequestSchema: postalcode: Union[Unset, str] = UNSET city: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, PersonItemputRequestSchemaCountry] = UNSET + country: Union[Unset, ContactpersonItempostRequestSchemaCountry] = UNSET mobilephone: Union[Unset, str] = UNSET email: Union[Unset, str] = UNSET - custom: Union[Unset, PersonItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, ContactpersonItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -107,21 +107,21 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, PersonItemputRequestSchemaCountry] = UNSET + country: Union[Unset, ContactpersonItempostRequestSchemaCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = PersonItemputRequestSchemaCountry(_country) + country = ContactpersonItempostRequestSchemaCountry(_country) mobilephone = d.pop("mobilephone", UNSET) email = d.pop("email", UNSET) - custom: Union[Unset, PersonItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, ContactpersonItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PersonItemputRequestSchemaCustom.from_dict(_custom) + custom = ContactpersonItempostRequestSchemaCustom.from_dict(_custom) - person_itemput_request_schema = cls( + contactperson_itempost_request_schema = cls( firstname=firstname, middle_name=middle_name, lastname=lastname, @@ -138,8 +138,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - person_itemput_request_schema.additional_properties = d - return person_itemput_request_schema + contactperson_itempost_request_schema.additional_properties = d + return contactperson_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_itempost_request_schema_country.py b/rentman_api_client/models/contactperson_itempost_request_schema_country.py similarity index 97% rename from rentman_api_client/models/asset_location_itempost_request_schema_country.py rename to rentman_api_client/models/contactperson_itempost_request_schema_country.py index dab5c95..06bd716 100644 --- a/rentman_api_client/models/asset_location_itempost_request_schema_country.py +++ b/rentman_api_client/models/contactperson_itempost_request_schema_country.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationItempostRequestSchemaCountry(str, Enum): +class ContactpersonItempostRequestSchemaCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/voertuig_itemput_response_schema_data_custom.py b/rentman_api_client/models/contactperson_itempost_request_schema_custom.py similarity index 77% rename from rentman_api_client/models/voertuig_itemput_response_schema_data_custom.py rename to rentman_api_client/models/contactperson_itempost_request_schema_custom.py index 0b5e3aa..ac5cac7 100644 --- a/rentman_api_client/models/voertuig_itemput_response_schema_data_custom.py +++ b/rentman_api_client/models/contactperson_itempost_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="VoertuigItemputResponseSchemaDataCustom") +T = TypeVar("T", bound="ContactpersonItempostRequestSchemaCustom") @attr.s(auto_attribs=True) -class VoertuigItemputResponseSchemaDataCustom: +class ContactpersonItempostRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - voertuig_itemput_response_schema_data_custom = cls() + contactperson_itempost_request_schema_custom = cls() - voertuig_itemput_response_schema_data_custom.additional_properties = d - return voertuig_itemput_response_schema_data_custom + contactperson_itempost_request_schema_custom.additional_properties = d + return contactperson_itempost_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_itempost_response_schema.py b/rentman_api_client/models/contactperson_itempost_response_schema.py similarity index 77% rename from rentman_api_client/models/asset_location_itempost_response_schema.py rename to rentman_api_client/models/contactperson_itempost_response_schema.py index d75cc18..f1c741c 100644 --- a/rentman_api_client/models/asset_location_itempost_response_schema.py +++ b/rentman_api_client/models/contactperson_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.asset_location_itempost_response_schema_data import AssetLocationItempostResponseSchemaData +from ..models.contactperson_itempost_response_schema_data import ContactpersonItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationItempostResponseSchema") +T = TypeVar("T", bound="ContactpersonItempostResponseSchema") @attr.s(auto_attribs=True) -class AssetLocationItempostResponseSchema: +class ContactpersonItempostResponseSchema: """ """ - data: Union[Unset, AssetLocationItempostResponseSchemaData] = UNSET + data: Union[Unset, ContactpersonItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AssetLocationItempostResponseSchemaData] = UNSET + data: Union[Unset, ContactpersonItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AssetLocationItempostResponseSchemaData.from_dict(_data) + data = ContactpersonItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - asset_location_itempost_response_schema = cls( + contactperson_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - asset_location_itempost_response_schema.additional_properties = d - return asset_location_itempost_response_schema + contactperson_itempost_response_schema.additional_properties = d + return contactperson_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itemget_response_schema_data.py b/rentman_api_client/models/contactperson_itempost_response_schema_data.py similarity index 86% rename from rentman_api_client/models/person_itemget_response_schema_data.py rename to rentman_api_client/models/contactperson_itempost_response_schema_data.py index f44befd..b393028 100644 --- a/rentman_api_client/models/person_itemget_response_schema_data.py +++ b/rentman_api_client/models/contactperson_itempost_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.person_itemget_response_schema_data_country import PersonItemgetResponseSchemaDataCountry -from ..models.person_itemget_response_schema_data_custom import PersonItemgetResponseSchemaDataCustom +from ..models.contactperson_itempost_response_schema_data_country import ContactpersonItempostResponseSchemaDataCountry +from ..models.contactperson_itempost_response_schema_data_custom import ContactpersonItempostResponseSchemaDataCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonItemgetResponseSchemaData") +T = TypeVar("T", bound="ContactpersonItempostResponseSchemaData") @attr.s(auto_attribs=True) -class PersonItemgetResponseSchemaData: +class ContactpersonItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -31,11 +31,11 @@ class PersonItemgetResponseSchemaData: postalcode: Union[Unset, str] = UNSET city: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, PersonItemgetResponseSchemaDataCountry] = UNSET + country: Union[Unset, ContactpersonItempostResponseSchemaDataCountry] = UNSET mobilephone: Union[Unset, str] = UNSET email: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, PersonItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ContactpersonItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -161,10 +161,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, PersonItemgetResponseSchemaDataCountry] = UNSET + country: Union[Unset, ContactpersonItempostResponseSchemaDataCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = PersonItemgetResponseSchemaDataCountry(_country) + country = ContactpersonItempostResponseSchemaDataCountry(_country) mobilephone = d.pop("mobilephone", UNSET) @@ -172,12 +172,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, PersonItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ContactpersonItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PersonItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = ContactpersonItempostResponseSchemaDataCustom.from_dict(_custom) - person_itemget_response_schema_data = cls( + contactperson_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -201,8 +201,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - person_itemget_response_schema_data.additional_properties = d - return person_itemget_response_schema_data + contactperson_itempost_response_schema_data.additional_properties = d + return contactperson_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_itempost_response_schema_data_country.py b/rentman_api_client/models/contactperson_itempost_response_schema_data_country.py similarity index 97% rename from rentman_api_client/models/asset_location_itempost_response_schema_data_country.py rename to rentman_api_client/models/contactperson_itempost_response_schema_data_country.py index c4665a3..41e8fda 100644 --- a/rentman_api_client/models/asset_location_itempost_response_schema_data_country.py +++ b/rentman_api_client/models/contactperson_itempost_response_schema_data_country.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationItempostResponseSchemaDataCountry(str, Enum): +class ContactpersonItempostResponseSchemaDataCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/contactperson_itempost_response_schema_data_custom.py b/rentman_api_client/models/contactperson_itempost_response_schema_data_custom.py new file mode 100644 index 0000000..9103bda --- /dev/null +++ b/rentman_api_client/models/contactperson_itempost_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ContactpersonItempostResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class ContactpersonItempostResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + contactperson_itempost_response_schema_data_custom = cls() + + contactperson_itempost_response_schema_data_custom.additional_properties = d + return contactperson_itempost_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/person_itemget_request_schema.py b/rentman_api_client/models/contactperson_itemput_request_schema.py similarity index 82% rename from rentman_api_client/models/person_itemget_request_schema.py rename to rentman_api_client/models/contactperson_itemput_request_schema.py index 42c33f9..42d8002 100644 --- a/rentman_api_client/models/person_itemget_request_schema.py +++ b/rentman_api_client/models/contactperson_itemput_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.person_itemget_request_schema_country import PersonItemgetRequestSchemaCountry -from ..models.person_itemget_request_schema_custom import PersonItemgetRequestSchemaCustom +from ..models.contactperson_itemput_request_schema_country import ContactpersonItemputRequestSchemaCountry +from ..models.contactperson_itemput_request_schema_custom import ContactpersonItemputRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonItemgetRequestSchema") +T = TypeVar("T", bound="ContactpersonItemputRequestSchema") @attr.s(auto_attribs=True) -class PersonItemgetRequestSchema: +class ContactpersonItemputRequestSchema: """ """ firstname: Union[Unset, str] = UNSET @@ -23,10 +23,10 @@ class PersonItemgetRequestSchema: postalcode: Union[Unset, str] = UNSET city: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, PersonItemgetRequestSchemaCountry] = UNSET + country: Union[Unset, ContactpersonItemputRequestSchemaCountry] = UNSET mobilephone: Union[Unset, str] = UNSET email: Union[Unset, str] = UNSET - custom: Union[Unset, PersonItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, ContactpersonItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -107,21 +107,21 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, PersonItemgetRequestSchemaCountry] = UNSET + country: Union[Unset, ContactpersonItemputRequestSchemaCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = PersonItemgetRequestSchemaCountry(_country) + country = ContactpersonItemputRequestSchemaCountry(_country) mobilephone = d.pop("mobilephone", UNSET) email = d.pop("email", UNSET) - custom: Union[Unset, PersonItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, ContactpersonItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PersonItemgetRequestSchemaCustom.from_dict(_custom) + custom = ContactpersonItemputRequestSchemaCustom.from_dict(_custom) - person_itemget_request_schema = cls( + contactperson_itemput_request_schema = cls( firstname=firstname, middle_name=middle_name, lastname=lastname, @@ -138,8 +138,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - person_itemget_request_schema.additional_properties = d - return person_itemget_request_schema + contactperson_itemput_request_schema.additional_properties = d + return contactperson_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itempost_request_schema_country.py b/rentman_api_client/models/contactperson_itemput_request_schema_country.py similarity index 97% rename from rentman_api_client/models/medewerker_itempost_request_schema_country.py rename to rentman_api_client/models/contactperson_itemput_request_schema_country.py index e4c2210..8514435 100644 --- a/rentman_api_client/models/medewerker_itempost_request_schema_country.py +++ b/rentman_api_client/models/contactperson_itemput_request_schema_country.py @@ -1,7 +1,7 @@ from enum import Enum -class MedewerkerItempostRequestSchemaCountry(str, Enum): +class ContactpersonItemputRequestSchemaCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/contactperson_itemput_request_schema_custom.py b/rentman_api_client/models/contactperson_itemput_request_schema_custom.py new file mode 100644 index 0000000..cf096d3 --- /dev/null +++ b/rentman_api_client/models/contactperson_itemput_request_schema_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ContactpersonItemputRequestSchemaCustom") + + +@attr.s(auto_attribs=True) +class ContactpersonItemputRequestSchemaCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + contactperson_itemput_request_schema_custom = cls() + + contactperson_itemput_request_schema_custom.additional_properties = d + return contactperson_itemput_request_schema_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/asset_location_itemput_response_schema.py b/rentman_api_client/models/contactperson_itemput_response_schema.py similarity index 77% rename from rentman_api_client/models/asset_location_itemput_response_schema.py rename to rentman_api_client/models/contactperson_itemput_response_schema.py index bc50b96..f0a2e2d 100644 --- a/rentman_api_client/models/asset_location_itemput_response_schema.py +++ b/rentman_api_client/models/contactperson_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.asset_location_itemput_response_schema_data import AssetLocationItemputResponseSchemaData +from ..models.contactperson_itemput_response_schema_data import ContactpersonItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationItemputResponseSchema") +T = TypeVar("T", bound="ContactpersonItemputResponseSchema") @attr.s(auto_attribs=True) -class AssetLocationItemputResponseSchema: +class ContactpersonItemputResponseSchema: """ """ - data: Union[Unset, AssetLocationItemputResponseSchemaData] = UNSET + data: Union[Unset, ContactpersonItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AssetLocationItemputResponseSchemaData] = UNSET + data: Union[Unset, ContactpersonItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AssetLocationItemputResponseSchemaData.from_dict(_data) + data = ContactpersonItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - asset_location_itemput_response_schema = cls( + contactperson_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - asset_location_itemput_response_schema.additional_properties = d - return asset_location_itemput_response_schema + contactperson_itemput_response_schema.additional_properties = d + return contactperson_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itemput_response_schema_data.py b/rentman_api_client/models/contactperson_itemput_response_schema_data.py similarity index 86% rename from rentman_api_client/models/person_itemput_response_schema_data.py rename to rentman_api_client/models/contactperson_itemput_response_schema_data.py index ebdf2a4..38085c2 100644 --- a/rentman_api_client/models/person_itemput_response_schema_data.py +++ b/rentman_api_client/models/contactperson_itemput_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.person_itemput_response_schema_data_country import PersonItemputResponseSchemaDataCountry -from ..models.person_itemput_response_schema_data_custom import PersonItemputResponseSchemaDataCustom +from ..models.contactperson_itemput_response_schema_data_country import ContactpersonItemputResponseSchemaDataCountry +from ..models.contactperson_itemput_response_schema_data_custom import ContactpersonItemputResponseSchemaDataCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonItemputResponseSchemaData") +T = TypeVar("T", bound="ContactpersonItemputResponseSchemaData") @attr.s(auto_attribs=True) -class PersonItemputResponseSchemaData: +class ContactpersonItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -31,11 +31,11 @@ class PersonItemputResponseSchemaData: postalcode: Union[Unset, str] = UNSET city: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, PersonItemputResponseSchemaDataCountry] = UNSET + country: Union[Unset, ContactpersonItemputResponseSchemaDataCountry] = UNSET mobilephone: Union[Unset, str] = UNSET email: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, PersonItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ContactpersonItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -161,10 +161,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, PersonItemputResponseSchemaDataCountry] = UNSET + country: Union[Unset, ContactpersonItemputResponseSchemaDataCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = PersonItemputResponseSchemaDataCountry(_country) + country = ContactpersonItemputResponseSchemaDataCountry(_country) mobilephone = d.pop("mobilephone", UNSET) @@ -172,12 +172,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, PersonItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ContactpersonItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PersonItemputResponseSchemaDataCustom.from_dict(_custom) + custom = ContactpersonItemputResponseSchemaDataCustom.from_dict(_custom) - person_itemput_response_schema_data = cls( + contactperson_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -201,8 +201,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - person_itemput_response_schema_data.additional_properties = d - return person_itemput_response_schema_data + contactperson_itemput_response_schema_data.additional_properties = d + return contactperson_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/contactperson_itemput_response_schema_data_country.py b/rentman_api_client/models/contactperson_itemput_response_schema_data_country.py new file mode 100644 index 0000000..10e1b72 --- /dev/null +++ b/rentman_api_client/models/contactperson_itemput_response_schema_data_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class ContactpersonItemputResponseSchemaDataCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/contactperson_itemput_response_schema_data_custom.py b/rentman_api_client/models/contactperson_itemput_response_schema_data_custom.py new file mode 100644 index 0000000..3686b51 --- /dev/null +++ b/rentman_api_client/models/contactperson_itemput_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ContactpersonItemputResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class ContactpersonItemputResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + contactperson_itemput_response_schema_data_custom = cls() + + contactperson_itemput_response_schema_data_custom.additional_properties = d + return contactperson_itemput_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/crew_availability_itemget_response_schema.py b/rentman_api_client/models/crew_availability_itemget_response_schema.py new file mode 100644 index 0000000..62ce196 --- /dev/null +++ b/rentman_api_client/models/crew_availability_itemget_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.crew_availability_itemget_response_schema_data import CrewAvailabilityItemgetResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="CrewAvailabilityItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class CrewAvailabilityItemgetResponseSchema: + """ """ + + data: Union[Unset, CrewAvailabilityItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, CrewAvailabilityItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = CrewAvailabilityItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + crew_availability_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + crew_availability_itemget_response_schema.additional_properties = d + return crew_availability_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/beschikbaarheid_itempost_response_schema_data.py b/rentman_api_client/models/crew_availability_itemget_response_schema_data.py similarity index 86% rename from rentman_api_client/models/beschikbaarheid_itempost_response_schema_data.py rename to rentman_api_client/models/crew_availability_itemget_response_schema_data.py index aa1caf1..23a3747 100644 --- a/rentman_api_client/models/beschikbaarheid_itempost_response_schema_data.py +++ b/rentman_api_client/models/crew_availability_itemget_response_schema_data.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.beschikbaarheid_itempost_response_schema_data_recurrence_interval_unit import ( - BeschikbaarheidItempostResponseSchemaDataRecurrenceIntervalUnit, +from ..models.crew_availability_itemget_response_schema_data_recurrence_interval_unit import ( + CrewAvailabilityItemgetResponseSchemaDataRecurrenceIntervalUnit, ) -from ..models.beschikbaarheid_itempost_response_schema_data_status import ( - BeschikbaarheidItempostResponseSchemaDataStatus, +from ..models.crew_availability_itemget_response_schema_data_status import ( + CrewAvailabilityItemgetResponseSchemaDataStatus, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidItempostResponseSchemaData") +T = TypeVar("T", bound="CrewAvailabilityItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class BeschikbaarheidItempostResponseSchemaData: +class CrewAvailabilityItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -29,9 +29,9 @@ class BeschikbaarheidItempostResponseSchemaData: start: Union[Unset, None, datetime.datetime] = UNSET end: Union[Unset, None, datetime.datetime] = UNSET crewmember: Union[Unset, str] = UNSET - status: Union[Unset, BeschikbaarheidItempostResponseSchemaDataStatus] = UNSET + status: Union[Unset, CrewAvailabilityItemgetResponseSchemaDataStatus] = UNSET remark: Union[Unset, str] = UNSET - recurrence_interval_unit: Union[Unset, BeschikbaarheidItempostResponseSchemaDataRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewAvailabilityItemgetResponseSchemaDataRecurrenceIntervalUnit] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET recurrent_group: Union[Unset, int] = UNSET @@ -152,17 +152,17 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crewmember = d.pop("crewmember", UNSET) - status: Union[Unset, BeschikbaarheidItempostResponseSchemaDataStatus] = UNSET + status: Union[Unset, CrewAvailabilityItemgetResponseSchemaDataStatus] = UNSET _status = d.pop("status", UNSET) if not isinstance(_status, Unset): - status = BeschikbaarheidItempostResponseSchemaDataStatus(_status) + status = CrewAvailabilityItemgetResponseSchemaDataStatus(_status) remark = d.pop("remark", UNSET) - recurrence_interval_unit: Union[Unset, BeschikbaarheidItempostResponseSchemaDataRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewAvailabilityItemgetResponseSchemaDataRecurrenceIntervalUnit] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = BeschikbaarheidItempostResponseSchemaDataRecurrenceIntervalUnit( + recurrence_interval_unit = CrewAvailabilityItemgetResponseSchemaDataRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -172,7 +172,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group = d.pop("recurrent_group", UNSET) - beschikbaarheid_itempost_response_schema_data = cls( + crew_availability_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -191,8 +191,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group=recurrent_group, ) - beschikbaarheid_itempost_response_schema_data.additional_properties = d - return beschikbaarheid_itempost_response_schema_data + crew_availability_itemget_response_schema_data.additional_properties = d + return crew_availability_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_itempost_response_schema_data_recurrence_interval_unit.py b/rentman_api_client/models/crew_availability_itemget_response_schema_data_recurrence_interval_unit.py similarity index 75% rename from rentman_api_client/models/beschikbaarheid_itempost_response_schema_data_recurrence_interval_unit.py rename to rentman_api_client/models/crew_availability_itemget_response_schema_data_recurrence_interval_unit.py index 2b55c5e..a0a5c0d 100644 --- a/rentman_api_client/models/beschikbaarheid_itempost_response_schema_data_recurrence_interval_unit.py +++ b/rentman_api_client/models/crew_availability_itemget_response_schema_data_recurrence_interval_unit.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidItempostResponseSchemaDataRecurrenceIntervalUnit(str, Enum): +class CrewAvailabilityItemgetResponseSchemaDataRecurrenceIntervalUnit(str, Enum): ONCE = "once" DAYS = "days" WEEKS = "weeks" diff --git a/rentman_api_client/models/beschikbaarheid_itempost_response_schema_data_status.py b/rentman_api_client/models/crew_availability_itemget_response_schema_data_status.py similarity index 65% rename from rentman_api_client/models/beschikbaarheid_itempost_response_schema_data_status.py rename to rentman_api_client/models/crew_availability_itemget_response_schema_data_status.py index fe66008..6917ca4 100644 --- a/rentman_api_client/models/beschikbaarheid_itempost_response_schema_data_status.py +++ b/rentman_api_client/models/crew_availability_itemget_response_schema_data_status.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidItempostResponseSchemaDataStatus(str, Enum): +class CrewAvailabilityItemgetResponseSchemaDataStatus(str, Enum): B = "B" N = "N" O = "O" diff --git a/rentman_api_client/models/beschikbaarheid_itemput_request_schema.py b/rentman_api_client/models/crew_availability_itemput_request_schema.py similarity index 81% rename from rentman_api_client/models/beschikbaarheid_itemput_request_schema.py rename to rentman_api_client/models/crew_availability_itemput_request_schema.py index 37e536f..8061a4d 100644 --- a/rentman_api_client/models/beschikbaarheid_itemput_request_schema.py +++ b/rentman_api_client/models/crew_availability_itemput_request_schema.py @@ -4,26 +4,26 @@ import attr from dateutil.parser import isoparse -from ..models.beschikbaarheid_itemput_request_schema_recurrence_interval_unit import ( - BeschikbaarheidItemputRequestSchemaRecurrenceIntervalUnit, +from ..models.crew_availability_itemput_request_schema_recurrence_interval_unit import ( + CrewAvailabilityItemputRequestSchemaRecurrenceIntervalUnit, ) -from ..models.beschikbaarheid_itemput_request_schema_status import BeschikbaarheidItemputRequestSchemaStatus +from ..models.crew_availability_itemput_request_schema_status import CrewAvailabilityItemputRequestSchemaStatus from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidItemputRequestSchema") +T = TypeVar("T", bound="CrewAvailabilityItemputRequestSchema") @attr.s(auto_attribs=True) -class BeschikbaarheidItemputRequestSchema: +class CrewAvailabilityItemputRequestSchema: """ """ last_updater: Union[Unset, None, str] = UNSET last_updated: Union[Unset, None, datetime.datetime] = UNSET start: Union[Unset, None, datetime.datetime] = UNSET end: Union[Unset, None, datetime.datetime] = UNSET - status: Union[Unset, BeschikbaarheidItemputRequestSchemaStatus] = UNSET + status: Union[Unset, CrewAvailabilityItemputRequestSchemaStatus] = UNSET remark: Union[Unset, str] = UNSET - recurrence_interval_unit: Union[Unset, BeschikbaarheidItemputRequestSchemaRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewAvailabilityItemputRequestSchemaRecurrenceIntervalUnit] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET recurrent_group: Union[Unset, int] = UNSET @@ -102,17 +102,17 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _end is not None and not isinstance(_end, Unset): end = isoparse(_end) - status: Union[Unset, BeschikbaarheidItemputRequestSchemaStatus] = UNSET + status: Union[Unset, CrewAvailabilityItemputRequestSchemaStatus] = UNSET _status = d.pop("status", UNSET) if not isinstance(_status, Unset): - status = BeschikbaarheidItemputRequestSchemaStatus(_status) + status = CrewAvailabilityItemputRequestSchemaStatus(_status) remark = d.pop("remark", UNSET) - recurrence_interval_unit: Union[Unset, BeschikbaarheidItemputRequestSchemaRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewAvailabilityItemputRequestSchemaRecurrenceIntervalUnit] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = BeschikbaarheidItemputRequestSchemaRecurrenceIntervalUnit( + recurrence_interval_unit = CrewAvailabilityItemputRequestSchemaRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -122,7 +122,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group = d.pop("recurrent_group", UNSET) - beschikbaarheid_itemput_request_schema = cls( + crew_availability_itemput_request_schema = cls( last_updater=last_updater, last_updated=last_updated, start=start, @@ -135,8 +135,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group=recurrent_group, ) - beschikbaarheid_itemput_request_schema.additional_properties = d - return beschikbaarheid_itemput_request_schema + crew_availability_itemput_request_schema.additional_properties = d + return crew_availability_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_itemget_response_schema_data_recurrence_interval_unit.py b/rentman_api_client/models/crew_availability_itemput_request_schema_recurrence_interval_unit.py similarity index 70% rename from rentman_api_client/models/afspraak_itemget_response_schema_data_recurrence_interval_unit.py rename to rentman_api_client/models/crew_availability_itemput_request_schema_recurrence_interval_unit.py index a5aa0fa..a543307 100644 --- a/rentman_api_client/models/afspraak_itemget_response_schema_data_recurrence_interval_unit.py +++ b/rentman_api_client/models/crew_availability_itemput_request_schema_recurrence_interval_unit.py @@ -1,7 +1,7 @@ from enum import Enum -class AfspraakItemgetResponseSchemaDataRecurrenceIntervalUnit(str, Enum): +class CrewAvailabilityItemputRequestSchemaRecurrenceIntervalUnit(str, Enum): ONCE = "once" DAYS = "days" WEEKS = "weeks" diff --git a/rentman_api_client/models/beschikbaarheid_itempost_request_schema_status.py b/rentman_api_client/models/crew_availability_itemput_request_schema_status.py similarity index 66% rename from rentman_api_client/models/beschikbaarheid_itempost_request_schema_status.py rename to rentman_api_client/models/crew_availability_itemput_request_schema_status.py index a19c284..2aa7916 100644 --- a/rentman_api_client/models/beschikbaarheid_itempost_request_schema_status.py +++ b/rentman_api_client/models/crew_availability_itemput_request_schema_status.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidItempostRequestSchemaStatus(str, Enum): +class CrewAvailabilityItemputRequestSchemaStatus(str, Enum): B = "B" N = "N" O = "O" diff --git a/rentman_api_client/models/crew_availability_itemput_response_schema.py b/rentman_api_client/models/crew_availability_itemput_response_schema.py new file mode 100644 index 0000000..30ba190 --- /dev/null +++ b/rentman_api_client/models/crew_availability_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.crew_availability_itemput_response_schema_data import CrewAvailabilityItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="CrewAvailabilityItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class CrewAvailabilityItemputResponseSchema: + """ """ + + data: Union[Unset, CrewAvailabilityItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, CrewAvailabilityItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = CrewAvailabilityItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + crew_availability_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + crew_availability_itemput_response_schema.additional_properties = d + return crew_availability_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/beschikbaarheid_itemput_response_schema_data.py b/rentman_api_client/models/crew_availability_itemput_response_schema_data.py similarity index 85% rename from rentman_api_client/models/beschikbaarheid_itemput_response_schema_data.py rename to rentman_api_client/models/crew_availability_itemput_response_schema_data.py index 2eb923a..301733d 100644 --- a/rentman_api_client/models/beschikbaarheid_itemput_response_schema_data.py +++ b/rentman_api_client/models/crew_availability_itemput_response_schema_data.py @@ -4,17 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.beschikbaarheid_itemput_response_schema_data_recurrence_interval_unit import ( - BeschikbaarheidItemputResponseSchemaDataRecurrenceIntervalUnit, +from ..models.crew_availability_itemput_response_schema_data_recurrence_interval_unit import ( + CrewAvailabilityItemputResponseSchemaDataRecurrenceIntervalUnit, +) +from ..models.crew_availability_itemput_response_schema_data_status import ( + CrewAvailabilityItemputResponseSchemaDataStatus, ) -from ..models.beschikbaarheid_itemput_response_schema_data_status import BeschikbaarheidItemputResponseSchemaDataStatus from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidItemputResponseSchemaData") +T = TypeVar("T", bound="CrewAvailabilityItemputResponseSchemaData") @attr.s(auto_attribs=True) -class BeschikbaarheidItemputResponseSchemaData: +class CrewAvailabilityItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -27,9 +29,9 @@ class BeschikbaarheidItemputResponseSchemaData: start: Union[Unset, None, datetime.datetime] = UNSET end: Union[Unset, None, datetime.datetime] = UNSET crewmember: Union[Unset, str] = UNSET - status: Union[Unset, BeschikbaarheidItemputResponseSchemaDataStatus] = UNSET + status: Union[Unset, CrewAvailabilityItemputResponseSchemaDataStatus] = UNSET remark: Union[Unset, str] = UNSET - recurrence_interval_unit: Union[Unset, BeschikbaarheidItemputResponseSchemaDataRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewAvailabilityItemputResponseSchemaDataRecurrenceIntervalUnit] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET recurrent_group: Union[Unset, int] = UNSET @@ -150,17 +152,17 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crewmember = d.pop("crewmember", UNSET) - status: Union[Unset, BeschikbaarheidItemputResponseSchemaDataStatus] = UNSET + status: Union[Unset, CrewAvailabilityItemputResponseSchemaDataStatus] = UNSET _status = d.pop("status", UNSET) if not isinstance(_status, Unset): - status = BeschikbaarheidItemputResponseSchemaDataStatus(_status) + status = CrewAvailabilityItemputResponseSchemaDataStatus(_status) remark = d.pop("remark", UNSET) - recurrence_interval_unit: Union[Unset, BeschikbaarheidItemputResponseSchemaDataRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewAvailabilityItemputResponseSchemaDataRecurrenceIntervalUnit] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = BeschikbaarheidItemputResponseSchemaDataRecurrenceIntervalUnit( + recurrence_interval_unit = CrewAvailabilityItemputResponseSchemaDataRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -170,7 +172,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group = d.pop("recurrent_group", UNSET) - beschikbaarheid_itemput_response_schema_data = cls( + crew_availability_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -189,8 +191,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group=recurrent_group, ) - beschikbaarheid_itemput_response_schema_data.additional_properties = d - return beschikbaarheid_itemput_response_schema_data + crew_availability_itemput_response_schema_data.additional_properties = d + return crew_availability_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/crew_availability_itemput_response_schema_data_recurrence_interval_unit.py b/rentman_api_client/models/crew_availability_itemput_response_schema_data_recurrence_interval_unit.py new file mode 100644 index 0000000..d4d055c --- /dev/null +++ b/rentman_api_client/models/crew_availability_itemput_response_schema_data_recurrence_interval_unit.py @@ -0,0 +1,12 @@ +from enum import Enum + + +class CrewAvailabilityItemputResponseSchemaDataRecurrenceIntervalUnit(str, Enum): + ONCE = "once" + DAYS = "days" + WEEKS = "weeks" + MONTHS = "months" + YEARS = "years" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/beschikbaarheid_itemget_response_schema_data_status.py b/rentman_api_client/models/crew_availability_itemput_response_schema_data_status.py similarity index 64% rename from rentman_api_client/models/beschikbaarheid_itemget_response_schema_data_status.py rename to rentman_api_client/models/crew_availability_itemput_response_schema_data_status.py index e4bc56c..4c677f3 100644 --- a/rentman_api_client/models/beschikbaarheid_itemget_response_schema_data_status.py +++ b/rentman_api_client/models/crew_availability_itemput_response_schema_data_status.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidItemgetResponseSchemaDataStatus(str, Enum): +class CrewAvailabilityItemputResponseSchemaDataStatus(str, Enum): B = "B" N = "N" O = "O" diff --git a/rentman_api_client/models/type_collectionput_response_schema.py b/rentman_api_client/models/crew_collectionget_response_schema.py similarity index 81% rename from rentman_api_client/models/type_collectionput_response_schema.py rename to rentman_api_client/models/crew_collectionget_response_schema.py index f411541..e3e4ce7 100644 --- a/rentman_api_client/models/type_collectionput_response_schema.py +++ b/rentman_api_client/models/crew_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.type_collectionput_response_schema_data_item import TypeCollectionputResponseSchemaDataItem +from ..models.crew_collectionget_response_schema_data_item import CrewCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeCollectionputResponseSchema") +T = TypeVar("T", bound="CrewCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class TypeCollectionputResponseSchema: +class CrewCollectiongetResponseSchema: """ """ - data: Union[Unset, List[TypeCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[CrewCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = TypeCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = CrewCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - type_collectionput_response_schema = cls( + crew_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - type_collectionput_response_schema.additional_properties = d - return type_collectionput_response_schema + crew_collectionget_response_schema.additional_properties = d + return crew_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_collectionput_response_schema_data_item.py b/rentman_api_client/models/crew_collectionget_response_schema_data_item.py similarity index 89% rename from rentman_api_client/models/medewerker_collectionput_response_schema_data_item.py rename to rentman_api_client/models/crew_collectionget_response_schema_data_item.py index fecf96f..872266f 100644 --- a/rentman_api_client/models/medewerker_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/crew_collectionget_response_schema_data_item.py @@ -4,19 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.medewerker_collectionput_response_schema_data_item_country import ( - MedewerkerCollectionputResponseSchemaDataItemCountry, -) -from ..models.medewerker_collectionput_response_schema_data_item_custom import ( - MedewerkerCollectionputResponseSchemaDataItemCustom, -) +from ..models.crew_collectionget_response_schema_data_item_country import CrewCollectiongetResponseSchemaDataItemCountry +from ..models.crew_collectionget_response_schema_data_item_custom import CrewCollectiongetResponseSchemaDataItemCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkerCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="CrewCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class MedewerkerCollectionputResponseSchemaDataItem: +class CrewCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -31,7 +27,7 @@ class MedewerkerCollectionputResponseSchemaDataItem: postal_code: Union[Unset, str] = UNSET addressline_2: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, MedewerkerCollectionputResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, CrewCollectiongetResponseSchemaDataItemCountry] = UNSET birthdate: Union[Unset, None, str] = UNSET passport_number: Union[Unset, str] = UNSET emergency_contact: Union[Unset, str] = UNSET @@ -52,7 +48,7 @@ class MedewerkerCollectionputResponseSchemaDataItem: avatar: Union[Unset, None, str] = UNSET vt_fullname: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, MedewerkerCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, CrewCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -209,10 +205,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, MedewerkerCollectionputResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, CrewCollectiongetResponseSchemaDataItemCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = MedewerkerCollectionputResponseSchemaDataItemCountry(_country) + country = CrewCollectiongetResponseSchemaDataItemCountry(_country) birthdate = d.pop("birthdate", UNSET) @@ -254,12 +250,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, MedewerkerCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, CrewCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MedewerkerCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + custom = CrewCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - medewerker_collectionput_response_schema_data_item = cls( + crew_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -296,8 +292,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - medewerker_collectionput_response_schema_data_item.additional_properties = d - return medewerker_collectionput_response_schema_data_item + crew_collectionget_response_schema_data_item.additional_properties = d + return crew_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/crew_collectionget_response_schema_data_item_country.py b/rentman_api_client/models/crew_collectionget_response_schema_data_item_country.py new file mode 100644 index 0000000..a3a9923 --- /dev/null +++ b/rentman_api_client/models/crew_collectionget_response_schema_data_item_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class CrewCollectiongetResponseSchemaDataItemCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/uren_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/crew_collectionget_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/uren_collectionget_response_schema_data_item_custom.py rename to rentman_api_client/models/crew_collectionget_response_schema_data_item_custom.py index 3efb53b..418e30c 100644 --- a/rentman_api_client/models/uren_collectionget_response_schema_data_item_custom.py +++ b/rentman_api_client/models/crew_collectionget_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="UrenCollectiongetResponseSchemaDataItemCustom") +T = TypeVar("T", bound="CrewCollectiongetResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class UrenCollectiongetResponseSchemaDataItemCustom: +class CrewCollectiongetResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - uren_collectionget_response_schema_data_item_custom = cls() + crew_collectionget_response_schema_data_item_custom = cls() - uren_collectionget_response_schema_data_item_custom.additional_properties = d - return uren_collectionget_response_schema_data_item_custom + crew_collectionget_response_schema_data_item_custom.additional_properties = d + return crew_collectionget_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_collectionput_response_schema.py b/rentman_api_client/models/crew_collectionpost_response_schema.py similarity index 81% rename from rentman_api_client/models/files_collectionput_response_schema.py rename to rentman_api_client/models/crew_collectionpost_response_schema.py index 54cf965..5587212 100644 --- a/rentman_api_client/models/files_collectionput_response_schema.py +++ b/rentman_api_client/models/crew_collectionpost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.files_collectionput_response_schema_data_item import FilesCollectionputResponseSchemaDataItem +from ..models.crew_collectionpost_response_schema_data_item import CrewCollectionpostResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesCollectionputResponseSchema") +T = TypeVar("T", bound="CrewCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class FilesCollectionputResponseSchema: +class CrewCollectionpostResponseSchema: """ """ - data: Union[Unset, List[FilesCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[CrewCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = FilesCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = CrewCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - files_collectionput_response_schema = cls( + crew_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - files_collectionput_response_schema.additional_properties = d - return files_collectionput_response_schema + crew_collectionpost_response_schema.additional_properties = d + return crew_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/crew_collectionpost_response_schema_data_item.py b/rentman_api_client/models/crew_collectionpost_response_schema_data_item.py new file mode 100644 index 0000000..4dc1506 --- /dev/null +++ b/rentman_api_client/models/crew_collectionpost_response_schema_data_item.py @@ -0,0 +1,314 @@ +import datetime +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr +from dateutil.parser import isoparse + +from ..models.crew_collectionpost_response_schema_data_item_country import ( + CrewCollectionpostResponseSchemaDataItemCountry, +) +from ..models.crew_collectionpost_response_schema_data_item_custom import CrewCollectionpostResponseSchemaDataItemCustom +from ..types import UNSET, Unset + +T = TypeVar("T", bound="CrewCollectionpostResponseSchemaDataItem") + + +@attr.s(auto_attribs=True) +class CrewCollectionpostResponseSchemaDataItem: + """ """ + + id: Union[Unset, int] = UNSET + created: Union[Unset, None, datetime.datetime] = UNSET + modified: Union[Unset, None, datetime.datetime] = UNSET + creator: Union[Unset, None, str] = UNSET + displayname: Union[Unset, str] = UNSET + folder: Union[Unset, None, str] = UNSET + street: Union[Unset, str] = UNSET + housenumber: Union[Unset, str] = UNSET + city: Union[Unset, str] = UNSET + postal_code: Union[Unset, str] = UNSET + addressline_2: Union[Unset, str] = UNSET + state: Union[Unset, str] = UNSET + country: Union[Unset, CrewCollectionpostResponseSchemaDataItemCountry] = UNSET + birthdate: Union[Unset, None, str] = UNSET + passport_number: Union[Unset, str] = UNSET + emergency_contact: Union[Unset, str] = UNSET + remark: Union[Unset, str] = UNSET + driving_license: Union[Unset, str] = UNSET + contract: Union[Unset, str] = UNSET + bank: Union[Unset, str] = UNSET + contract_date: Union[Unset, None, str] = UNSET + company_name: Union[Unset, str] = UNSET + vat_code: Union[Unset, str] = UNSET + coc_code: Union[Unset, str] = UNSET + firstname: Union[Unset, str] = UNSET + middle_name: Union[Unset, str] = UNSET + lastname: Union[Unset, str] = UNSET + email: Union[Unset, str] = UNSET + phone: Union[Unset, str] = UNSET + active: Union[Unset, bool] = UNSET + avatar: Union[Unset, None, str] = UNSET + vt_fullname: Union[Unset, str] = UNSET + tags: Union[Unset, str] = UNSET + custom: Union[Unset, CrewCollectionpostResponseSchemaDataItemCustom] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + id = self.id + created: Union[Unset, None, str] = UNSET + if not isinstance(self.created, Unset): + created = self.created.isoformat() if self.created else None + + modified: Union[Unset, None, str] = UNSET + if not isinstance(self.modified, Unset): + modified = self.modified.isoformat() if self.modified else None + + creator = self.creator + displayname = self.displayname + folder = self.folder + street = self.street + housenumber = self.housenumber + city = self.city + postal_code = self.postal_code + addressline_2 = self.addressline_2 + state = self.state + country: Union[Unset, str] = UNSET + if not isinstance(self.country, Unset): + country = self.country.value + + birthdate = self.birthdate + passport_number = self.passport_number + emergency_contact = self.emergency_contact + remark = self.remark + driving_license = self.driving_license + contract = self.contract + bank = self.bank + contract_date = self.contract_date + company_name = self.company_name + vat_code = self.vat_code + coc_code = self.coc_code + firstname = self.firstname + middle_name = self.middle_name + lastname = self.lastname + email = self.email + phone = self.phone + active = self.active + avatar = self.avatar + vt_fullname = self.vt_fullname + tags = self.tags + custom: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.custom, Unset): + custom = self.custom.to_dict() + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if id is not UNSET: + field_dict["id"] = id + if created is not UNSET: + field_dict["created"] = created + if modified is not UNSET: + field_dict["modified"] = modified + if creator is not UNSET: + field_dict["creator"] = creator + if displayname is not UNSET: + field_dict["displayname"] = displayname + if folder is not UNSET: + field_dict["folder"] = folder + if street is not UNSET: + field_dict["street"] = street + if housenumber is not UNSET: + field_dict["housenumber"] = housenumber + if city is not UNSET: + field_dict["city"] = city + if postal_code is not UNSET: + field_dict["postal_code"] = postal_code + if addressline_2 is not UNSET: + field_dict["addressline2"] = addressline_2 + if state is not UNSET: + field_dict["state"] = state + if country is not UNSET: + field_dict["country"] = country + if birthdate is not UNSET: + field_dict["birthdate"] = birthdate + if passport_number is not UNSET: + field_dict["passport_number"] = passport_number + if emergency_contact is not UNSET: + field_dict["emergency_contact"] = emergency_contact + if remark is not UNSET: + field_dict["remark"] = remark + if driving_license is not UNSET: + field_dict["driving_license"] = driving_license + if contract is not UNSET: + field_dict["contract"] = contract + if bank is not UNSET: + field_dict["bank"] = bank + if contract_date is not UNSET: + field_dict["contract_date"] = contract_date + if company_name is not UNSET: + field_dict["company_name"] = company_name + if vat_code is not UNSET: + field_dict["vat_code"] = vat_code + if coc_code is not UNSET: + field_dict["coc_code"] = coc_code + if firstname is not UNSET: + field_dict["firstname"] = firstname + if middle_name is not UNSET: + field_dict["middle_name"] = middle_name + if lastname is not UNSET: + field_dict["lastname"] = lastname + if email is not UNSET: + field_dict["email"] = email + if phone is not UNSET: + field_dict["phone"] = phone + if active is not UNSET: + field_dict["active"] = active + if avatar is not UNSET: + field_dict["avatar"] = avatar + if vt_fullname is not UNSET: + field_dict["vt_fullname"] = vt_fullname + if tags is not UNSET: + field_dict["tags"] = tags + if custom is not UNSET: + field_dict["custom"] = custom + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + id = d.pop("id", UNSET) + + created = None + _created = d.pop("created", UNSET) + if _created is not None and not isinstance(_created, Unset): + created = isoparse(_created) + + modified = None + _modified = d.pop("modified", UNSET) + if _modified is not None and not isinstance(_modified, Unset): + modified = isoparse(_modified) + + creator = d.pop("creator", UNSET) + + displayname = d.pop("displayname", UNSET) + + folder = d.pop("folder", UNSET) + + street = d.pop("street", UNSET) + + housenumber = d.pop("housenumber", UNSET) + + city = d.pop("city", UNSET) + + postal_code = d.pop("postal_code", UNSET) + + addressline_2 = d.pop("addressline2", UNSET) + + state = d.pop("state", UNSET) + + country: Union[Unset, CrewCollectionpostResponseSchemaDataItemCountry] = UNSET + _country = d.pop("country", UNSET) + if not isinstance(_country, Unset): + country = CrewCollectionpostResponseSchemaDataItemCountry(_country) + + birthdate = d.pop("birthdate", UNSET) + + passport_number = d.pop("passport_number", UNSET) + + emergency_contact = d.pop("emergency_contact", UNSET) + + remark = d.pop("remark", UNSET) + + driving_license = d.pop("driving_license", UNSET) + + contract = d.pop("contract", UNSET) + + bank = d.pop("bank", UNSET) + + contract_date = d.pop("contract_date", UNSET) + + company_name = d.pop("company_name", UNSET) + + vat_code = d.pop("vat_code", UNSET) + + coc_code = d.pop("coc_code", UNSET) + + firstname = d.pop("firstname", UNSET) + + middle_name = d.pop("middle_name", UNSET) + + lastname = d.pop("lastname", UNSET) + + email = d.pop("email", UNSET) + + phone = d.pop("phone", UNSET) + + active = d.pop("active", UNSET) + + avatar = d.pop("avatar", UNSET) + + vt_fullname = d.pop("vt_fullname", UNSET) + + tags = d.pop("tags", UNSET) + + custom: Union[Unset, CrewCollectionpostResponseSchemaDataItemCustom] = UNSET + _custom = d.pop("custom", UNSET) + if not isinstance(_custom, Unset): + custom = CrewCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) + + crew_collectionpost_response_schema_data_item = cls( + id=id, + created=created, + modified=modified, + creator=creator, + displayname=displayname, + folder=folder, + street=street, + housenumber=housenumber, + city=city, + postal_code=postal_code, + addressline_2=addressline_2, + state=state, + country=country, + birthdate=birthdate, + passport_number=passport_number, + emergency_contact=emergency_contact, + remark=remark, + driving_license=driving_license, + contract=contract, + bank=bank, + contract_date=contract_date, + company_name=company_name, + vat_code=vat_code, + coc_code=coc_code, + firstname=firstname, + middle_name=middle_name, + lastname=lastname, + email=email, + phone=phone, + active=active, + avatar=avatar, + vt_fullname=vt_fullname, + tags=tags, + custom=custom, + ) + + crew_collectionpost_response_schema_data_item.additional_properties = d + return crew_collectionpost_response_schema_data_item + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/crew_collectionpost_response_schema_data_item_country.py b/rentman_api_client/models/crew_collectionpost_response_schema_data_item_country.py new file mode 100644 index 0000000..5ae6ab0 --- /dev/null +++ b/rentman_api_client/models/crew_collectionpost_response_schema_data_item_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class CrewCollectionpostResponseSchemaDataItemCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/uren_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/crew_collectionpost_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/uren_collectionpost_response_schema_data_item_custom.py rename to rentman_api_client/models/crew_collectionpost_response_schema_data_item_custom.py index 6b7697c..1c437cb 100644 --- a/rentman_api_client/models/uren_collectionpost_response_schema_data_item_custom.py +++ b/rentman_api_client/models/crew_collectionpost_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="UrenCollectionpostResponseSchemaDataItemCustom") +T = TypeVar("T", bound="CrewCollectionpostResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class UrenCollectionpostResponseSchemaDataItemCustom: +class CrewCollectionpostResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - uren_collectionpost_response_schema_data_item_custom = cls() + crew_collectionpost_response_schema_data_item_custom = cls() - uren_collectionpost_response_schema_data_item_custom.additional_properties = d - return uren_collectionpost_response_schema_data_item_custom + crew_collectionpost_response_schema_data_item_custom.additional_properties = d + return crew_collectionpost_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/uren_collectionget_response_schema.py b/rentman_api_client/models/crew_collectionput_response_schema.py similarity index 81% rename from rentman_api_client/models/uren_collectionget_response_schema.py rename to rentman_api_client/models/crew_collectionput_response_schema.py index 8ec53c7..b4a3760 100644 --- a/rentman_api_client/models/uren_collectionget_response_schema.py +++ b/rentman_api_client/models/crew_collectionput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.uren_collectionget_response_schema_data_item import UrenCollectiongetResponseSchemaDataItem +from ..models.crew_collectionput_response_schema_data_item import CrewCollectionputResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenCollectiongetResponseSchema") +T = TypeVar("T", bound="CrewCollectionputResponseSchema") @attr.s(auto_attribs=True) -class UrenCollectiongetResponseSchema: +class CrewCollectionputResponseSchema: """ """ - data: Union[Unset, List[UrenCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[CrewCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = UrenCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = CrewCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - uren_collectionget_response_schema = cls( + crew_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - uren_collectionget_response_schema.additional_properties = d - return uren_collectionget_response_schema + crew_collectionput_response_schema.additional_properties = d + return crew_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/crew_collectionput_response_schema_data_item.py b/rentman_api_client/models/crew_collectionput_response_schema_data_item.py new file mode 100644 index 0000000..512fddf --- /dev/null +++ b/rentman_api_client/models/crew_collectionput_response_schema_data_item.py @@ -0,0 +1,312 @@ +import datetime +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr +from dateutil.parser import isoparse + +from ..models.crew_collectionput_response_schema_data_item_country import CrewCollectionputResponseSchemaDataItemCountry +from ..models.crew_collectionput_response_schema_data_item_custom import CrewCollectionputResponseSchemaDataItemCustom +from ..types import UNSET, Unset + +T = TypeVar("T", bound="CrewCollectionputResponseSchemaDataItem") + + +@attr.s(auto_attribs=True) +class CrewCollectionputResponseSchemaDataItem: + """ """ + + id: Union[Unset, int] = UNSET + created: Union[Unset, None, datetime.datetime] = UNSET + modified: Union[Unset, None, datetime.datetime] = UNSET + creator: Union[Unset, None, str] = UNSET + displayname: Union[Unset, str] = UNSET + folder: Union[Unset, None, str] = UNSET + street: Union[Unset, str] = UNSET + housenumber: Union[Unset, str] = UNSET + city: Union[Unset, str] = UNSET + postal_code: Union[Unset, str] = UNSET + addressline_2: Union[Unset, str] = UNSET + state: Union[Unset, str] = UNSET + country: Union[Unset, CrewCollectionputResponseSchemaDataItemCountry] = UNSET + birthdate: Union[Unset, None, str] = UNSET + passport_number: Union[Unset, str] = UNSET + emergency_contact: Union[Unset, str] = UNSET + remark: Union[Unset, str] = UNSET + driving_license: Union[Unset, str] = UNSET + contract: Union[Unset, str] = UNSET + bank: Union[Unset, str] = UNSET + contract_date: Union[Unset, None, str] = UNSET + company_name: Union[Unset, str] = UNSET + vat_code: Union[Unset, str] = UNSET + coc_code: Union[Unset, str] = UNSET + firstname: Union[Unset, str] = UNSET + middle_name: Union[Unset, str] = UNSET + lastname: Union[Unset, str] = UNSET + email: Union[Unset, str] = UNSET + phone: Union[Unset, str] = UNSET + active: Union[Unset, bool] = UNSET + avatar: Union[Unset, None, str] = UNSET + vt_fullname: Union[Unset, str] = UNSET + tags: Union[Unset, str] = UNSET + custom: Union[Unset, CrewCollectionputResponseSchemaDataItemCustom] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + id = self.id + created: Union[Unset, None, str] = UNSET + if not isinstance(self.created, Unset): + created = self.created.isoformat() if self.created else None + + modified: Union[Unset, None, str] = UNSET + if not isinstance(self.modified, Unset): + modified = self.modified.isoformat() if self.modified else None + + creator = self.creator + displayname = self.displayname + folder = self.folder + street = self.street + housenumber = self.housenumber + city = self.city + postal_code = self.postal_code + addressline_2 = self.addressline_2 + state = self.state + country: Union[Unset, str] = UNSET + if not isinstance(self.country, Unset): + country = self.country.value + + birthdate = self.birthdate + passport_number = self.passport_number + emergency_contact = self.emergency_contact + remark = self.remark + driving_license = self.driving_license + contract = self.contract + bank = self.bank + contract_date = self.contract_date + company_name = self.company_name + vat_code = self.vat_code + coc_code = self.coc_code + firstname = self.firstname + middle_name = self.middle_name + lastname = self.lastname + email = self.email + phone = self.phone + active = self.active + avatar = self.avatar + vt_fullname = self.vt_fullname + tags = self.tags + custom: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.custom, Unset): + custom = self.custom.to_dict() + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if id is not UNSET: + field_dict["id"] = id + if created is not UNSET: + field_dict["created"] = created + if modified is not UNSET: + field_dict["modified"] = modified + if creator is not UNSET: + field_dict["creator"] = creator + if displayname is not UNSET: + field_dict["displayname"] = displayname + if folder is not UNSET: + field_dict["folder"] = folder + if street is not UNSET: + field_dict["street"] = street + if housenumber is not UNSET: + field_dict["housenumber"] = housenumber + if city is not UNSET: + field_dict["city"] = city + if postal_code is not UNSET: + field_dict["postal_code"] = postal_code + if addressline_2 is not UNSET: + field_dict["addressline2"] = addressline_2 + if state is not UNSET: + field_dict["state"] = state + if country is not UNSET: + field_dict["country"] = country + if birthdate is not UNSET: + field_dict["birthdate"] = birthdate + if passport_number is not UNSET: + field_dict["passport_number"] = passport_number + if emergency_contact is not UNSET: + field_dict["emergency_contact"] = emergency_contact + if remark is not UNSET: + field_dict["remark"] = remark + if driving_license is not UNSET: + field_dict["driving_license"] = driving_license + if contract is not UNSET: + field_dict["contract"] = contract + if bank is not UNSET: + field_dict["bank"] = bank + if contract_date is not UNSET: + field_dict["contract_date"] = contract_date + if company_name is not UNSET: + field_dict["company_name"] = company_name + if vat_code is not UNSET: + field_dict["vat_code"] = vat_code + if coc_code is not UNSET: + field_dict["coc_code"] = coc_code + if firstname is not UNSET: + field_dict["firstname"] = firstname + if middle_name is not UNSET: + field_dict["middle_name"] = middle_name + if lastname is not UNSET: + field_dict["lastname"] = lastname + if email is not UNSET: + field_dict["email"] = email + if phone is not UNSET: + field_dict["phone"] = phone + if active is not UNSET: + field_dict["active"] = active + if avatar is not UNSET: + field_dict["avatar"] = avatar + if vt_fullname is not UNSET: + field_dict["vt_fullname"] = vt_fullname + if tags is not UNSET: + field_dict["tags"] = tags + if custom is not UNSET: + field_dict["custom"] = custom + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + id = d.pop("id", UNSET) + + created = None + _created = d.pop("created", UNSET) + if _created is not None and not isinstance(_created, Unset): + created = isoparse(_created) + + modified = None + _modified = d.pop("modified", UNSET) + if _modified is not None and not isinstance(_modified, Unset): + modified = isoparse(_modified) + + creator = d.pop("creator", UNSET) + + displayname = d.pop("displayname", UNSET) + + folder = d.pop("folder", UNSET) + + street = d.pop("street", UNSET) + + housenumber = d.pop("housenumber", UNSET) + + city = d.pop("city", UNSET) + + postal_code = d.pop("postal_code", UNSET) + + addressline_2 = d.pop("addressline2", UNSET) + + state = d.pop("state", UNSET) + + country: Union[Unset, CrewCollectionputResponseSchemaDataItemCountry] = UNSET + _country = d.pop("country", UNSET) + if not isinstance(_country, Unset): + country = CrewCollectionputResponseSchemaDataItemCountry(_country) + + birthdate = d.pop("birthdate", UNSET) + + passport_number = d.pop("passport_number", UNSET) + + emergency_contact = d.pop("emergency_contact", UNSET) + + remark = d.pop("remark", UNSET) + + driving_license = d.pop("driving_license", UNSET) + + contract = d.pop("contract", UNSET) + + bank = d.pop("bank", UNSET) + + contract_date = d.pop("contract_date", UNSET) + + company_name = d.pop("company_name", UNSET) + + vat_code = d.pop("vat_code", UNSET) + + coc_code = d.pop("coc_code", UNSET) + + firstname = d.pop("firstname", UNSET) + + middle_name = d.pop("middle_name", UNSET) + + lastname = d.pop("lastname", UNSET) + + email = d.pop("email", UNSET) + + phone = d.pop("phone", UNSET) + + active = d.pop("active", UNSET) + + avatar = d.pop("avatar", UNSET) + + vt_fullname = d.pop("vt_fullname", UNSET) + + tags = d.pop("tags", UNSET) + + custom: Union[Unset, CrewCollectionputResponseSchemaDataItemCustom] = UNSET + _custom = d.pop("custom", UNSET) + if not isinstance(_custom, Unset): + custom = CrewCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + + crew_collectionput_response_schema_data_item = cls( + id=id, + created=created, + modified=modified, + creator=creator, + displayname=displayname, + folder=folder, + street=street, + housenumber=housenumber, + city=city, + postal_code=postal_code, + addressline_2=addressline_2, + state=state, + country=country, + birthdate=birthdate, + passport_number=passport_number, + emergency_contact=emergency_contact, + remark=remark, + driving_license=driving_license, + contract=contract, + bank=bank, + contract_date=contract_date, + company_name=company_name, + vat_code=vat_code, + coc_code=coc_code, + firstname=firstname, + middle_name=middle_name, + lastname=lastname, + email=email, + phone=phone, + active=active, + avatar=avatar, + vt_fullname=vt_fullname, + tags=tags, + custom=custom, + ) + + crew_collectionput_response_schema_data_item.additional_properties = d + return crew_collectionput_response_schema_data_item + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/crew_collectionput_response_schema_data_item_country.py b/rentman_api_client/models/crew_collectionput_response_schema_data_item_country.py new file mode 100644 index 0000000..29a3405 --- /dev/null +++ b/rentman_api_client/models/crew_collectionput_response_schema_data_item_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class CrewCollectionputResponseSchemaDataItemCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/uren_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/crew_collectionput_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/uren_collectionput_response_schema_data_item_custom.py rename to rentman_api_client/models/crew_collectionput_response_schema_data_item_custom.py index b99e7ec..603cbc9 100644 --- a/rentman_api_client/models/uren_collectionput_response_schema_data_item_custom.py +++ b/rentman_api_client/models/crew_collectionput_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="UrenCollectionputResponseSchemaDataItemCustom") +T = TypeVar("T", bound="CrewCollectionputResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class UrenCollectionputResponseSchemaDataItemCustom: +class CrewCollectionputResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - uren_collectionput_response_schema_data_item_custom = cls() + crew_collectionput_response_schema_data_item_custom = cls() - uren_collectionput_response_schema_data_item_custom.additional_properties = d - return uren_collectionput_response_schema_data_item_custom + crew_collectionput_response_schema_data_item_custom.additional_properties = d + return crew_collectionput_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itemput_request_schema.py b/rentman_api_client/models/crew_itemget_request_schema.py similarity index 89% rename from rentman_api_client/models/medewerker_itemput_request_schema.py rename to rentman_api_client/models/crew_itemget_request_schema.py index e5b3364..964e142 100644 --- a/rentman_api_client/models/medewerker_itemput_request_schema.py +++ b/rentman_api_client/models/crew_itemget_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.medewerker_itemput_request_schema_country import MedewerkerItemputRequestSchemaCountry -from ..models.medewerker_itemput_request_schema_custom import MedewerkerItemputRequestSchemaCustom +from ..models.crew_itemget_request_schema_country import CrewItemgetRequestSchemaCountry +from ..models.crew_itemget_request_schema_custom import CrewItemgetRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkerItemputRequestSchema") +T = TypeVar("T", bound="CrewItemgetRequestSchema") @attr.s(auto_attribs=True) -class MedewerkerItemputRequestSchema: +class CrewItemgetRequestSchema: """ """ folder: Union[Unset, None, str] = UNSET @@ -20,7 +20,7 @@ class MedewerkerItemputRequestSchema: postal_code: Union[Unset, str] = UNSET addressline_2: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, MedewerkerItemputRequestSchemaCountry] = UNSET + country: Union[Unset, CrewItemgetRequestSchemaCountry] = UNSET birthdate: Union[Unset, None, str] = UNSET passport_number: Union[Unset, str] = UNSET emergency_contact: Union[Unset, str] = UNSET @@ -40,7 +40,7 @@ class MedewerkerItemputRequestSchema: active: Union[Unset, bool] = UNSET avatar: Union[Unset, None, str] = UNSET vt_fullname: Union[Unset, str] = UNSET - custom: Union[Unset, MedewerkerItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, CrewItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -157,10 +157,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, MedewerkerItemputRequestSchemaCountry] = UNSET + country: Union[Unset, CrewItemgetRequestSchemaCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = MedewerkerItemputRequestSchemaCountry(_country) + country = CrewItemgetRequestSchemaCountry(_country) birthdate = d.pop("birthdate", UNSET) @@ -200,12 +200,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vt_fullname = d.pop("vt_fullname", UNSET) - custom: Union[Unset, MedewerkerItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, CrewItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MedewerkerItemputRequestSchemaCustom.from_dict(_custom) + custom = CrewItemgetRequestSchemaCustom.from_dict(_custom) - medewerker_itemput_request_schema = cls( + crew_itemget_request_schema = cls( folder=folder, street=street, housenumber=housenumber, @@ -236,8 +236,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - medewerker_itemput_request_schema.additional_properties = d - return medewerker_itemput_request_schema + crew_itemget_request_schema.additional_properties = d + return crew_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itemput_request_schema_country.py b/rentman_api_client/models/crew_itemget_request_schema_country.py similarity index 98% rename from rentman_api_client/models/person_itemput_request_schema_country.py rename to rentman_api_client/models/crew_itemget_request_schema_country.py index 2c9ba55..c52ff30 100644 --- a/rentman_api_client/models/person_itemput_request_schema_country.py +++ b/rentman_api_client/models/crew_itemget_request_schema_country.py @@ -1,7 +1,7 @@ from enum import Enum -class PersonItemputRequestSchemaCountry(str, Enum): +class CrewItemgetRequestSchemaCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/uren_itemget_request_schema_custom.py b/rentman_api_client/models/crew_itemget_request_schema_custom.py similarity index 79% rename from rentman_api_client/models/uren_itemget_request_schema_custom.py rename to rentman_api_client/models/crew_itemget_request_schema_custom.py index 9821092..dccfed9 100644 --- a/rentman_api_client/models/uren_itemget_request_schema_custom.py +++ b/rentman_api_client/models/crew_itemget_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="UrenItemgetRequestSchemaCustom") +T = TypeVar("T", bound="CrewItemgetRequestSchemaCustom") @attr.s(auto_attribs=True) -class UrenItemgetRequestSchemaCustom: +class CrewItemgetRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - uren_itemget_request_schema_custom = cls() + crew_itemget_request_schema_custom = cls() - uren_itemget_request_schema_custom.additional_properties = d - return uren_itemget_request_schema_custom + crew_itemget_request_schema_custom.additional_properties = d + return crew_itemget_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_itemget_response_schema.py b/rentman_api_client/models/crew_itemget_response_schema.py similarity index 80% rename from rentman_api_client/models/type_itemget_response_schema.py rename to rentman_api_client/models/crew_itemget_response_schema.py index d315de9..a0cc7ca 100644 --- a/rentman_api_client/models/type_itemget_response_schema.py +++ b/rentman_api_client/models/crew_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.type_itemget_response_schema_data import TypeItemgetResponseSchemaData +from ..models.crew_itemget_response_schema_data import CrewItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeItemgetResponseSchema") +T = TypeVar("T", bound="CrewItemgetResponseSchema") @attr.s(auto_attribs=True) -class TypeItemgetResponseSchema: +class CrewItemgetResponseSchema: """ """ - data: Union[Unset, TypeItemgetResponseSchemaData] = UNSET + data: Union[Unset, CrewItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, TypeItemgetResponseSchemaData] = UNSET + data: Union[Unset, CrewItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = TypeItemgetResponseSchemaData.from_dict(_data) + data = CrewItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - type_itemget_response_schema = cls( + crew_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - type_itemget_response_schema.additional_properties = d - return type_itemget_response_schema + crew_itemget_response_schema.additional_properties = d + return crew_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itemput_response_schema_data.py b/rentman_api_client/models/crew_itemget_response_schema_data.py similarity index 90% rename from rentman_api_client/models/medewerker_itemput_response_schema_data.py rename to rentman_api_client/models/crew_itemget_response_schema_data.py index 8ac154b..6991d86 100644 --- a/rentman_api_client/models/medewerker_itemput_response_schema_data.py +++ b/rentman_api_client/models/crew_itemget_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.medewerker_itemput_response_schema_data_country import MedewerkerItemputResponseSchemaDataCountry -from ..models.medewerker_itemput_response_schema_data_custom import MedewerkerItemputResponseSchemaDataCustom +from ..models.crew_itemget_response_schema_data_country import CrewItemgetResponseSchemaDataCountry +from ..models.crew_itemget_response_schema_data_custom import CrewItemgetResponseSchemaDataCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkerItemputResponseSchemaData") +T = TypeVar("T", bound="CrewItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class MedewerkerItemputResponseSchemaData: +class CrewItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -27,7 +27,7 @@ class MedewerkerItemputResponseSchemaData: postal_code: Union[Unset, str] = UNSET addressline_2: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, MedewerkerItemputResponseSchemaDataCountry] = UNSET + country: Union[Unset, CrewItemgetResponseSchemaDataCountry] = UNSET birthdate: Union[Unset, None, str] = UNSET passport_number: Union[Unset, str] = UNSET emergency_contact: Union[Unset, str] = UNSET @@ -48,7 +48,7 @@ class MedewerkerItemputResponseSchemaData: avatar: Union[Unset, None, str] = UNSET vt_fullname: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, MedewerkerItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, CrewItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -205,10 +205,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, MedewerkerItemputResponseSchemaDataCountry] = UNSET + country: Union[Unset, CrewItemgetResponseSchemaDataCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = MedewerkerItemputResponseSchemaDataCountry(_country) + country = CrewItemgetResponseSchemaDataCountry(_country) birthdate = d.pop("birthdate", UNSET) @@ -250,12 +250,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, MedewerkerItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, CrewItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MedewerkerItemputResponseSchemaDataCustom.from_dict(_custom) + custom = CrewItemgetResponseSchemaDataCustom.from_dict(_custom) - medewerker_itemput_response_schema_data = cls( + crew_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -292,8 +292,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - medewerker_itemput_response_schema_data.additional_properties = d - return medewerker_itemput_response_schema_data + crew_itemget_response_schema_data.additional_properties = d + return crew_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itemget_request_schema_country.py b/rentman_api_client/models/crew_itemget_response_schema_data_country.py similarity index 98% rename from rentman_api_client/models/medewerker_itemget_request_schema_country.py rename to rentman_api_client/models/crew_itemget_response_schema_data_country.py index 3916bbc..07d8bf6 100644 --- a/rentman_api_client/models/medewerker_itemget_request_schema_country.py +++ b/rentman_api_client/models/crew_itemget_response_schema_data_country.py @@ -1,7 +1,7 @@ from enum import Enum -class MedewerkerItemgetRequestSchemaCountry(str, Enum): +class CrewItemgetResponseSchemaDataCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/uren_itemget_response_schema_data_custom.py b/rentman_api_client/models/crew_itemget_response_schema_data_custom.py similarity index 78% rename from rentman_api_client/models/uren_itemget_response_schema_data_custom.py rename to rentman_api_client/models/crew_itemget_response_schema_data_custom.py index 2d0d684..20a1d58 100644 --- a/rentman_api_client/models/uren_itemget_response_schema_data_custom.py +++ b/rentman_api_client/models/crew_itemget_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="UrenItemgetResponseSchemaDataCustom") +T = TypeVar("T", bound="CrewItemgetResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class UrenItemgetResponseSchemaDataCustom: +class CrewItemgetResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - uren_itemget_response_schema_data_custom = cls() + crew_itemget_response_schema_data_custom = cls() - uren_itemget_response_schema_data_custom.additional_properties = d - return uren_itemget_response_schema_data_custom + crew_itemget_response_schema_data_custom.additional_properties = d + return crew_itemget_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itempost_request_schema.py b/rentman_api_client/models/crew_itempost_request_schema.py similarity index 89% rename from rentman_api_client/models/medewerker_itempost_request_schema.py rename to rentman_api_client/models/crew_itempost_request_schema.py index 08617a7..08599b3 100644 --- a/rentman_api_client/models/medewerker_itempost_request_schema.py +++ b/rentman_api_client/models/crew_itempost_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.medewerker_itempost_request_schema_country import MedewerkerItempostRequestSchemaCountry -from ..models.medewerker_itempost_request_schema_custom import MedewerkerItempostRequestSchemaCustom +from ..models.crew_itempost_request_schema_country import CrewItempostRequestSchemaCountry +from ..models.crew_itempost_request_schema_custom import CrewItempostRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkerItempostRequestSchema") +T = TypeVar("T", bound="CrewItempostRequestSchema") @attr.s(auto_attribs=True) -class MedewerkerItempostRequestSchema: +class CrewItempostRequestSchema: """ """ folder: Union[Unset, None, str] = UNSET @@ -20,7 +20,7 @@ class MedewerkerItempostRequestSchema: postal_code: Union[Unset, str] = UNSET addressline_2: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, MedewerkerItempostRequestSchemaCountry] = UNSET + country: Union[Unset, CrewItempostRequestSchemaCountry] = UNSET birthdate: Union[Unset, None, str] = UNSET passport_number: Union[Unset, str] = UNSET emergency_contact: Union[Unset, str] = UNSET @@ -40,7 +40,7 @@ class MedewerkerItempostRequestSchema: active: Union[Unset, bool] = UNSET avatar: Union[Unset, None, str] = UNSET vt_fullname: Union[Unset, str] = UNSET - custom: Union[Unset, MedewerkerItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, CrewItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -157,10 +157,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, MedewerkerItempostRequestSchemaCountry] = UNSET + country: Union[Unset, CrewItempostRequestSchemaCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = MedewerkerItempostRequestSchemaCountry(_country) + country = CrewItempostRequestSchemaCountry(_country) birthdate = d.pop("birthdate", UNSET) @@ -200,12 +200,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vt_fullname = d.pop("vt_fullname", UNSET) - custom: Union[Unset, MedewerkerItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, CrewItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MedewerkerItempostRequestSchemaCustom.from_dict(_custom) + custom = CrewItempostRequestSchemaCustom.from_dict(_custom) - medewerker_itempost_request_schema = cls( + crew_itempost_request_schema = cls( folder=folder, street=street, housenumber=housenumber, @@ -236,8 +236,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - medewerker_itempost_request_schema.additional_properties = d - return medewerker_itempost_request_schema + crew_itempost_request_schema.additional_properties = d + return crew_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itemget_request_schema_country.py b/rentman_api_client/models/crew_itempost_request_schema_country.py similarity index 98% rename from rentman_api_client/models/person_itemget_request_schema_country.py rename to rentman_api_client/models/crew_itempost_request_schema_country.py index 2b1394d..a6cfe6b 100644 --- a/rentman_api_client/models/person_itemget_request_schema_country.py +++ b/rentman_api_client/models/crew_itempost_request_schema_country.py @@ -1,7 +1,7 @@ from enum import Enum -class PersonItemgetRequestSchemaCountry(str, Enum): +class CrewItempostRequestSchemaCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/uren_itempost_request_schema_custom.py b/rentman_api_client/models/crew_itempost_request_schema_custom.py similarity index 79% rename from rentman_api_client/models/uren_itempost_request_schema_custom.py rename to rentman_api_client/models/crew_itempost_request_schema_custom.py index e7c30ba..8af920f 100644 --- a/rentman_api_client/models/uren_itempost_request_schema_custom.py +++ b/rentman_api_client/models/crew_itempost_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="UrenItempostRequestSchemaCustom") +T = TypeVar("T", bound="CrewItempostRequestSchemaCustom") @attr.s(auto_attribs=True) -class UrenItempostRequestSchemaCustom: +class CrewItempostRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - uren_itempost_request_schema_custom = cls() + crew_itempost_request_schema_custom = cls() - uren_itempost_request_schema_custom.additional_properties = d - return uren_itempost_request_schema_custom + crew_itempost_request_schema_custom.additional_properties = d + return crew_itempost_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/uren_itempost_response_schema.py b/rentman_api_client/models/crew_itempost_response_schema.py similarity index 80% rename from rentman_api_client/models/uren_itempost_response_schema.py rename to rentman_api_client/models/crew_itempost_response_schema.py index 9dcc582..f3b7f30 100644 --- a/rentman_api_client/models/uren_itempost_response_schema.py +++ b/rentman_api_client/models/crew_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.uren_itempost_response_schema_data import UrenItempostResponseSchemaData +from ..models.crew_itempost_response_schema_data import CrewItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenItempostResponseSchema") +T = TypeVar("T", bound="CrewItempostResponseSchema") @attr.s(auto_attribs=True) -class UrenItempostResponseSchema: +class CrewItempostResponseSchema: """ """ - data: Union[Unset, UrenItempostResponseSchemaData] = UNSET + data: Union[Unset, CrewItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, UrenItempostResponseSchemaData] = UNSET + data: Union[Unset, CrewItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = UrenItempostResponseSchemaData.from_dict(_data) + data = CrewItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - uren_itempost_response_schema = cls( + crew_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - uren_itempost_response_schema.additional_properties = d - return uren_itempost_response_schema + crew_itempost_response_schema.additional_properties = d + return crew_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itemget_response_schema_data.py b/rentman_api_client/models/crew_itempost_response_schema_data.py similarity index 90% rename from rentman_api_client/models/medewerker_itemget_response_schema_data.py rename to rentman_api_client/models/crew_itempost_response_schema_data.py index 2a9da98..880c171 100644 --- a/rentman_api_client/models/medewerker_itemget_response_schema_data.py +++ b/rentman_api_client/models/crew_itempost_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.medewerker_itemget_response_schema_data_country import MedewerkerItemgetResponseSchemaDataCountry -from ..models.medewerker_itemget_response_schema_data_custom import MedewerkerItemgetResponseSchemaDataCustom +from ..models.crew_itempost_response_schema_data_country import CrewItempostResponseSchemaDataCountry +from ..models.crew_itempost_response_schema_data_custom import CrewItempostResponseSchemaDataCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkerItemgetResponseSchemaData") +T = TypeVar("T", bound="CrewItempostResponseSchemaData") @attr.s(auto_attribs=True) -class MedewerkerItemgetResponseSchemaData: +class CrewItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -27,7 +27,7 @@ class MedewerkerItemgetResponseSchemaData: postal_code: Union[Unset, str] = UNSET addressline_2: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, MedewerkerItemgetResponseSchemaDataCountry] = UNSET + country: Union[Unset, CrewItempostResponseSchemaDataCountry] = UNSET birthdate: Union[Unset, None, str] = UNSET passport_number: Union[Unset, str] = UNSET emergency_contact: Union[Unset, str] = UNSET @@ -48,7 +48,7 @@ class MedewerkerItemgetResponseSchemaData: avatar: Union[Unset, None, str] = UNSET vt_fullname: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, MedewerkerItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, CrewItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -205,10 +205,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, MedewerkerItemgetResponseSchemaDataCountry] = UNSET + country: Union[Unset, CrewItempostResponseSchemaDataCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = MedewerkerItemgetResponseSchemaDataCountry(_country) + country = CrewItempostResponseSchemaDataCountry(_country) birthdate = d.pop("birthdate", UNSET) @@ -250,12 +250,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, MedewerkerItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, CrewItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MedewerkerItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = CrewItempostResponseSchemaDataCustom.from_dict(_custom) - medewerker_itemget_response_schema_data = cls( + crew_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -292,8 +292,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - medewerker_itemget_response_schema_data.additional_properties = d - return medewerker_itemget_response_schema_data + crew_itempost_response_schema_data.additional_properties = d + return crew_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itemput_request_schema_country.py b/rentman_api_client/models/crew_itempost_response_schema_data_country.py similarity index 98% rename from rentman_api_client/models/medewerker_itemput_request_schema_country.py rename to rentman_api_client/models/crew_itempost_response_schema_data_country.py index 85a2212..ceda2a8 100644 --- a/rentman_api_client/models/medewerker_itemput_request_schema_country.py +++ b/rentman_api_client/models/crew_itempost_response_schema_data_country.py @@ -1,7 +1,7 @@ from enum import Enum -class MedewerkerItemputRequestSchemaCountry(str, Enum): +class CrewItempostResponseSchemaDataCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/uren_itempost_response_schema_data_custom.py b/rentman_api_client/models/crew_itempost_response_schema_data_custom.py similarity index 78% rename from rentman_api_client/models/uren_itempost_response_schema_data_custom.py rename to rentman_api_client/models/crew_itempost_response_schema_data_custom.py index ac3699c..a302eb1 100644 --- a/rentman_api_client/models/uren_itempost_response_schema_data_custom.py +++ b/rentman_api_client/models/crew_itempost_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="UrenItempostResponseSchemaDataCustom") +T = TypeVar("T", bound="CrewItempostResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class UrenItempostResponseSchemaDataCustom: +class CrewItempostResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - uren_itempost_response_schema_data_custom = cls() + crew_itempost_response_schema_data_custom = cls() - uren_itempost_response_schema_data_custom.additional_properties = d - return uren_itempost_response_schema_data_custom + crew_itempost_response_schema_data_custom.additional_properties = d + return crew_itempost_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itemget_request_schema.py b/rentman_api_client/models/crew_itemput_request_schema.py similarity index 89% rename from rentman_api_client/models/medewerker_itemget_request_schema.py rename to rentman_api_client/models/crew_itemput_request_schema.py index e4990a7..f6a9ad0 100644 --- a/rentman_api_client/models/medewerker_itemget_request_schema.py +++ b/rentman_api_client/models/crew_itemput_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.medewerker_itemget_request_schema_country import MedewerkerItemgetRequestSchemaCountry -from ..models.medewerker_itemget_request_schema_custom import MedewerkerItemgetRequestSchemaCustom +from ..models.crew_itemput_request_schema_country import CrewItemputRequestSchemaCountry +from ..models.crew_itemput_request_schema_custom import CrewItemputRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkerItemgetRequestSchema") +T = TypeVar("T", bound="CrewItemputRequestSchema") @attr.s(auto_attribs=True) -class MedewerkerItemgetRequestSchema: +class CrewItemputRequestSchema: """ """ folder: Union[Unset, None, str] = UNSET @@ -20,7 +20,7 @@ class MedewerkerItemgetRequestSchema: postal_code: Union[Unset, str] = UNSET addressline_2: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, MedewerkerItemgetRequestSchemaCountry] = UNSET + country: Union[Unset, CrewItemputRequestSchemaCountry] = UNSET birthdate: Union[Unset, None, str] = UNSET passport_number: Union[Unset, str] = UNSET emergency_contact: Union[Unset, str] = UNSET @@ -40,7 +40,7 @@ class MedewerkerItemgetRequestSchema: active: Union[Unset, bool] = UNSET avatar: Union[Unset, None, str] = UNSET vt_fullname: Union[Unset, str] = UNSET - custom: Union[Unset, MedewerkerItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, CrewItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -157,10 +157,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, MedewerkerItemgetRequestSchemaCountry] = UNSET + country: Union[Unset, CrewItemputRequestSchemaCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = MedewerkerItemgetRequestSchemaCountry(_country) + country = CrewItemputRequestSchemaCountry(_country) birthdate = d.pop("birthdate", UNSET) @@ -200,12 +200,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vt_fullname = d.pop("vt_fullname", UNSET) - custom: Union[Unset, MedewerkerItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, CrewItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MedewerkerItemgetRequestSchemaCustom.from_dict(_custom) + custom = CrewItemputRequestSchemaCustom.from_dict(_custom) - medewerker_itemget_request_schema = cls( + crew_itemput_request_schema = cls( folder=folder, street=street, housenumber=housenumber, @@ -236,8 +236,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - medewerker_itemget_request_schema.additional_properties = d - return medewerker_itemget_request_schema + crew_itemput_request_schema.additional_properties = d + return crew_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itempost_request_schema_country.py b/rentman_api_client/models/crew_itemput_request_schema_country.py similarity index 98% rename from rentman_api_client/models/person_itempost_request_schema_country.py rename to rentman_api_client/models/crew_itemput_request_schema_country.py index 708a0d9..ea19d7e 100644 --- a/rentman_api_client/models/person_itempost_request_schema_country.py +++ b/rentman_api_client/models/crew_itemput_request_schema_country.py @@ -1,7 +1,7 @@ from enum import Enum -class PersonItempostRequestSchemaCountry(str, Enum): +class CrewItemputRequestSchemaCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/uren_itemput_request_schema_custom.py b/rentman_api_client/models/crew_itemput_request_schema_custom.py similarity index 79% rename from rentman_api_client/models/uren_itemput_request_schema_custom.py rename to rentman_api_client/models/crew_itemput_request_schema_custom.py index 82a99a0..b0ae342 100644 --- a/rentman_api_client/models/uren_itemput_request_schema_custom.py +++ b/rentman_api_client/models/crew_itemput_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="UrenItemputRequestSchemaCustom") +T = TypeVar("T", bound="CrewItemputRequestSchemaCustom") @attr.s(auto_attribs=True) -class UrenItemputRequestSchemaCustom: +class CrewItemputRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - uren_itemput_request_schema_custom = cls() + crew_itemput_request_schema_custom = cls() - uren_itemput_request_schema_custom.additional_properties = d - return uren_itemput_request_schema_custom + crew_itemput_request_schema_custom.additional_properties = d + return crew_itemput_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_itemput_response_schema.py b/rentman_api_client/models/crew_itemput_response_schema.py similarity index 80% rename from rentman_api_client/models/type_itemput_response_schema.py rename to rentman_api_client/models/crew_itemput_response_schema.py index 53dca3f..05f7cb7 100644 --- a/rentman_api_client/models/type_itemput_response_schema.py +++ b/rentman_api_client/models/crew_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.type_itemput_response_schema_data import TypeItemputResponseSchemaData +from ..models.crew_itemput_response_schema_data import CrewItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeItemputResponseSchema") +T = TypeVar("T", bound="CrewItemputResponseSchema") @attr.s(auto_attribs=True) -class TypeItemputResponseSchema: +class CrewItemputResponseSchema: """ """ - data: Union[Unset, TypeItemputResponseSchemaData] = UNSET + data: Union[Unset, CrewItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, TypeItemputResponseSchemaData] = UNSET + data: Union[Unset, CrewItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = TypeItemputResponseSchemaData.from_dict(_data) + data = CrewItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - type_itemput_response_schema = cls( + crew_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - type_itemput_response_schema.additional_properties = d - return type_itemput_response_schema + crew_itemput_response_schema.additional_properties = d + return crew_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itempost_response_schema_data.py b/rentman_api_client/models/crew_itemput_response_schema_data.py similarity index 90% rename from rentman_api_client/models/medewerker_itempost_response_schema_data.py rename to rentman_api_client/models/crew_itemput_response_schema_data.py index b24f578..cdcb3d6 100644 --- a/rentman_api_client/models/medewerker_itempost_response_schema_data.py +++ b/rentman_api_client/models/crew_itemput_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.medewerker_itempost_response_schema_data_country import MedewerkerItempostResponseSchemaDataCountry -from ..models.medewerker_itempost_response_schema_data_custom import MedewerkerItempostResponseSchemaDataCustom +from ..models.crew_itemput_response_schema_data_country import CrewItemputResponseSchemaDataCountry +from ..models.crew_itemput_response_schema_data_custom import CrewItemputResponseSchemaDataCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkerItempostResponseSchemaData") +T = TypeVar("T", bound="CrewItemputResponseSchemaData") @attr.s(auto_attribs=True) -class MedewerkerItempostResponseSchemaData: +class CrewItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -27,7 +27,7 @@ class MedewerkerItempostResponseSchemaData: postal_code: Union[Unset, str] = UNSET addressline_2: Union[Unset, str] = UNSET state: Union[Unset, str] = UNSET - country: Union[Unset, MedewerkerItempostResponseSchemaDataCountry] = UNSET + country: Union[Unset, CrewItemputResponseSchemaDataCountry] = UNSET birthdate: Union[Unset, None, str] = UNSET passport_number: Union[Unset, str] = UNSET emergency_contact: Union[Unset, str] = UNSET @@ -48,7 +48,7 @@ class MedewerkerItempostResponseSchemaData: avatar: Union[Unset, None, str] = UNSET vt_fullname: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, MedewerkerItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, CrewItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -205,10 +205,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state = d.pop("state", UNSET) - country: Union[Unset, MedewerkerItempostResponseSchemaDataCountry] = UNSET + country: Union[Unset, CrewItemputResponseSchemaDataCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = MedewerkerItempostResponseSchemaDataCountry(_country) + country = CrewItemputResponseSchemaDataCountry(_country) birthdate = d.pop("birthdate", UNSET) @@ -250,12 +250,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, MedewerkerItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, CrewItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MedewerkerItempostResponseSchemaDataCustom.from_dict(_custom) + custom = CrewItemputResponseSchemaDataCustom.from_dict(_custom) - medewerker_itempost_response_schema_data = cls( + crew_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -292,8 +292,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - medewerker_itempost_response_schema_data.additional_properties = d - return medewerker_itempost_response_schema_data + crew_itemput_response_schema_data.additional_properties = d + return crew_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/crew_itemput_response_schema_data_country.py b/rentman_api_client/models/crew_itemput_response_schema_data_country.py new file mode 100644 index 0000000..1da242c --- /dev/null +++ b/rentman_api_client/models/crew_itemput_response_schema_data_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class CrewItemputResponseSchemaDataCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/uren_itemput_response_schema_data_custom.py b/rentman_api_client/models/crew_itemput_response_schema_data_custom.py similarity index 78% rename from rentman_api_client/models/uren_itemput_response_schema_data_custom.py rename to rentman_api_client/models/crew_itemput_response_schema_data_custom.py index 611f439..fb1e8a0 100644 --- a/rentman_api_client/models/uren_itemput_response_schema_data_custom.py +++ b/rentman_api_client/models/crew_itemput_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="UrenItemputResponseSchemaDataCustom") +T = TypeVar("T", bound="CrewItemputResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class UrenItemputResponseSchemaDataCustom: +class CrewItemputResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - uren_itemput_response_schema_data_custom = cls() + crew_itemput_response_schema_data_custom = cls() - uren_itemput_response_schema_data_custom.additional_properties = d - return uren_itemput_response_schema_data_custom + crew_itemput_response_schema_data_custom.additional_properties = d + return crew_itemput_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_collectionpost_response_schema.py b/rentman_api_client/models/crewavailability_collectionget_response_schema.py similarity index 80% rename from rentman_api_client/models/inhuurmateriaal_collectionpost_response_schema.py rename to rentman_api_client/models/crewavailability_collectionget_response_schema.py index faf0149..b8b82bd 100644 --- a/rentman_api_client/models/inhuurmateriaal_collectionpost_response_schema.py +++ b/rentman_api_client/models/crewavailability_collectionget_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.inhuurmateriaal_collectionpost_response_schema_data_item import ( - InhuurmateriaalCollectionpostResponseSchemaDataItem, +from ..models.crewavailability_collectionget_response_schema_data_item import ( + CrewavailabilityCollectiongetResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalCollectionpostResponseSchema") +T = TypeVar("T", bound="CrewavailabilityCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class InhuurmateriaalCollectionpostResponseSchema: +class CrewavailabilityCollectiongetResponseSchema: """ """ - data: Union[Unset, List[InhuurmateriaalCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[CrewavailabilityCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = InhuurmateriaalCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = CrewavailabilityCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurmateriaal_collectionpost_response_schema = cls( + crewavailability_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurmateriaal_collectionpost_response_schema.additional_properties = d - return inhuurmateriaal_collectionpost_response_schema + crewavailability_collectionget_response_schema.additional_properties = d + return crewavailability_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_collectionpost_response_schema_data_item.py b/rentman_api_client/models/crewavailability_collectionget_response_schema_data_item.py similarity index 87% rename from rentman_api_client/models/beschikbaarheid_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/crewavailability_collectionget_response_schema_data_item.py index d95fec9..e7b517a 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/crewavailability_collectionget_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.beschikbaarheid_collectionpost_response_schema_data_item_recurrence_interval_unit import ( - BeschikbaarheidCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit, +from ..models.crewavailability_collectionget_response_schema_data_item_recurrence_interval_unit import ( + CrewavailabilityCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit, ) -from ..models.beschikbaarheid_collectionpost_response_schema_data_item_status import ( - BeschikbaarheidCollectionpostResponseSchemaDataItemStatus, +from ..models.crewavailability_collectionget_response_schema_data_item_status import ( + CrewavailabilityCollectiongetResponseSchemaDataItemStatus, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="CrewavailabilityCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class BeschikbaarheidCollectionpostResponseSchemaDataItem: +class CrewavailabilityCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -29,10 +29,10 @@ class BeschikbaarheidCollectionpostResponseSchemaDataItem: start: Union[Unset, None, datetime.datetime] = UNSET end: Union[Unset, None, datetime.datetime] = UNSET crewmember: Union[Unset, str] = UNSET - status: Union[Unset, BeschikbaarheidCollectionpostResponseSchemaDataItemStatus] = UNSET + status: Union[Unset, CrewavailabilityCollectiongetResponseSchemaDataItemStatus] = UNSET remark: Union[Unset, str] = UNSET recurrence_interval_unit: Union[ - Unset, BeschikbaarheidCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit + Unset, CrewavailabilityCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit ] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET @@ -154,19 +154,19 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crewmember = d.pop("crewmember", UNSET) - status: Union[Unset, BeschikbaarheidCollectionpostResponseSchemaDataItemStatus] = UNSET + status: Union[Unset, CrewavailabilityCollectiongetResponseSchemaDataItemStatus] = UNSET _status = d.pop("status", UNSET) if not isinstance(_status, Unset): - status = BeschikbaarheidCollectionpostResponseSchemaDataItemStatus(_status) + status = CrewavailabilityCollectiongetResponseSchemaDataItemStatus(_status) remark = d.pop("remark", UNSET) recurrence_interval_unit: Union[ - Unset, BeschikbaarheidCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit + Unset, CrewavailabilityCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit ] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = BeschikbaarheidCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit( + recurrence_interval_unit = CrewavailabilityCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -176,7 +176,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group = d.pop("recurrent_group", UNSET) - beschikbaarheid_collectionpost_response_schema_data_item = cls( + crewavailability_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -195,8 +195,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group=recurrent_group, ) - beschikbaarheid_collectionpost_response_schema_data_item.additional_properties = d - return beschikbaarheid_collectionpost_response_schema_data_item + crewavailability_collectionget_response_schema_data_item.additional_properties = d + return crewavailability_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_collectionpost_response_schema_data_item_recurrence_interval_unit.py b/rentman_api_client/models/crewavailability_collectionget_response_schema_data_item_recurrence_interval_unit.py similarity index 76% rename from rentman_api_client/models/beschikbaarheid_collectionpost_response_schema_data_item_recurrence_interval_unit.py rename to rentman_api_client/models/crewavailability_collectionget_response_schema_data_item_recurrence_interval_unit.py index 65278ee..f4a819e 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionpost_response_schema_data_item_recurrence_interval_unit.py +++ b/rentman_api_client/models/crewavailability_collectionget_response_schema_data_item_recurrence_interval_unit.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit(str, Enum): +class CrewavailabilityCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit(str, Enum): ONCE = "once" DAYS = "days" WEEKS = "weeks" diff --git a/rentman_api_client/models/beschikbaarheid_collectionpost_response_schema_data_item_status.py b/rentman_api_client/models/crewavailability_collectionget_response_schema_data_item_status.py similarity index 67% rename from rentman_api_client/models/beschikbaarheid_collectionpost_response_schema_data_item_status.py rename to rentman_api_client/models/crewavailability_collectionget_response_schema_data_item_status.py index 22c8e44..90822b4 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionpost_response_schema_data_item_status.py +++ b/rentman_api_client/models/crewavailability_collectionget_response_schema_data_item_status.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidCollectionpostResponseSchemaDataItemStatus(str, Enum): +class CrewavailabilityCollectiongetResponseSchemaDataItemStatus(str, Enum): B = "B" N = "N" O = "O" diff --git a/rentman_api_client/models/medewerkertarief_collectionpost_response_schema.py b/rentman_api_client/models/crewavailability_collectionpost_response_schema.py similarity index 80% rename from rentman_api_client/models/medewerkertarief_collectionpost_response_schema.py rename to rentman_api_client/models/crewavailability_collectionpost_response_schema.py index 0cf805b..e5d43c6 100644 --- a/rentman_api_client/models/medewerkertarief_collectionpost_response_schema.py +++ b/rentman_api_client/models/crewavailability_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.medewerkertarief_collectionpost_response_schema_data_item import ( - MedewerkertariefCollectionpostResponseSchemaDataItem, +from ..models.crewavailability_collectionpost_response_schema_data_item import ( + CrewavailabilityCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefCollectionpostResponseSchema") +T = TypeVar("T", bound="CrewavailabilityCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class MedewerkertariefCollectionpostResponseSchema: +class CrewavailabilityCollectionpostResponseSchema: """ """ - data: Union[Unset, List[MedewerkertariefCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[CrewavailabilityCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = MedewerkertariefCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = CrewavailabilityCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - medewerkertarief_collectionpost_response_schema = cls( + crewavailability_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - medewerkertarief_collectionpost_response_schema.additional_properties = d - return medewerkertarief_collectionpost_response_schema + crewavailability_collectionpost_response_schema.additional_properties = d + return crewavailability_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_collectionput_response_schema_data_item.py b/rentman_api_client/models/crewavailability_collectionpost_response_schema_data_item.py similarity index 84% rename from rentman_api_client/models/beschikbaarheid_collectionput_response_schema_data_item.py rename to rentman_api_client/models/crewavailability_collectionpost_response_schema_data_item.py index c7bdb2d..494ceb1 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/crewavailability_collectionpost_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.beschikbaarheid_collectionput_response_schema_data_item_recurrence_interval_unit import ( - BeschikbaarheidCollectionputResponseSchemaDataItemRecurrenceIntervalUnit, +from ..models.crewavailability_collectionpost_response_schema_data_item_recurrence_interval_unit import ( + CrewavailabilityCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit, ) -from ..models.beschikbaarheid_collectionput_response_schema_data_item_status import ( - BeschikbaarheidCollectionputResponseSchemaDataItemStatus, +from ..models.crewavailability_collectionpost_response_schema_data_item_status import ( + CrewavailabilityCollectionpostResponseSchemaDataItemStatus, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="CrewavailabilityCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class BeschikbaarheidCollectionputResponseSchemaDataItem: +class CrewavailabilityCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -29,10 +29,10 @@ class BeschikbaarheidCollectionputResponseSchemaDataItem: start: Union[Unset, None, datetime.datetime] = UNSET end: Union[Unset, None, datetime.datetime] = UNSET crewmember: Union[Unset, str] = UNSET - status: Union[Unset, BeschikbaarheidCollectionputResponseSchemaDataItemStatus] = UNSET + status: Union[Unset, CrewavailabilityCollectionpostResponseSchemaDataItemStatus] = UNSET remark: Union[Unset, str] = UNSET recurrence_interval_unit: Union[ - Unset, BeschikbaarheidCollectionputResponseSchemaDataItemRecurrenceIntervalUnit + Unset, CrewavailabilityCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit ] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET @@ -154,19 +154,19 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crewmember = d.pop("crewmember", UNSET) - status: Union[Unset, BeschikbaarheidCollectionputResponseSchemaDataItemStatus] = UNSET + status: Union[Unset, CrewavailabilityCollectionpostResponseSchemaDataItemStatus] = UNSET _status = d.pop("status", UNSET) if not isinstance(_status, Unset): - status = BeschikbaarheidCollectionputResponseSchemaDataItemStatus(_status) + status = CrewavailabilityCollectionpostResponseSchemaDataItemStatus(_status) remark = d.pop("remark", UNSET) recurrence_interval_unit: Union[ - Unset, BeschikbaarheidCollectionputResponseSchemaDataItemRecurrenceIntervalUnit + Unset, CrewavailabilityCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit ] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = BeschikbaarheidCollectionputResponseSchemaDataItemRecurrenceIntervalUnit( + recurrence_interval_unit = CrewavailabilityCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -176,7 +176,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group = d.pop("recurrent_group", UNSET) - beschikbaarheid_collectionput_response_schema_data_item = cls( + crewavailability_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -195,8 +195,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group=recurrent_group, ) - beschikbaarheid_collectionput_response_schema_data_item.additional_properties = d - return beschikbaarheid_collectionput_response_schema_data_item + crewavailability_collectionpost_response_schema_data_item.additional_properties = d + return crewavailability_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/crewavailability_collectionpost_response_schema_data_item_recurrence_interval_unit.py b/rentman_api_client/models/crewavailability_collectionpost_response_schema_data_item_recurrence_interval_unit.py new file mode 100644 index 0000000..fe38618 --- /dev/null +++ b/rentman_api_client/models/crewavailability_collectionpost_response_schema_data_item_recurrence_interval_unit.py @@ -0,0 +1,12 @@ +from enum import Enum + + +class CrewavailabilityCollectionpostResponseSchemaDataItemRecurrenceIntervalUnit(str, Enum): + ONCE = "once" + DAYS = "days" + WEEKS = "weeks" + MONTHS = "months" + YEARS = "years" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/beschikbaarheid_collectionput_response_schema_data_item_status.py b/rentman_api_client/models/crewavailability_collectionpost_response_schema_data_item_status.py similarity index 61% rename from rentman_api_client/models/beschikbaarheid_collectionput_response_schema_data_item_status.py rename to rentman_api_client/models/crewavailability_collectionpost_response_schema_data_item_status.py index 8df4ff2..0ef34c1 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionput_response_schema_data_item_status.py +++ b/rentman_api_client/models/crewavailability_collectionpost_response_schema_data_item_status.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidCollectionputResponseSchemaDataItemStatus(str, Enum): +class CrewavailabilityCollectionpostResponseSchemaDataItemStatus(str, Enum): B = "B" N = "N" O = "O" diff --git a/rentman_api_client/models/medewerkertarief_collectionget_response_schema.py b/rentman_api_client/models/crewavailability_collectionput_response_schema.py similarity index 80% rename from rentman_api_client/models/medewerkertarief_collectionget_response_schema.py rename to rentman_api_client/models/crewavailability_collectionput_response_schema.py index b2709f4..9fa89f2 100644 --- a/rentman_api_client/models/medewerkertarief_collectionget_response_schema.py +++ b/rentman_api_client/models/crewavailability_collectionput_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.medewerkertarief_collectionget_response_schema_data_item import ( - MedewerkertariefCollectiongetResponseSchemaDataItem, +from ..models.crewavailability_collectionput_response_schema_data_item import ( + CrewavailabilityCollectionputResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefCollectiongetResponseSchema") +T = TypeVar("T", bound="CrewavailabilityCollectionputResponseSchema") @attr.s(auto_attribs=True) -class MedewerkertariefCollectiongetResponseSchema: +class CrewavailabilityCollectionputResponseSchema: """ """ - data: Union[Unset, List[MedewerkertariefCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[CrewavailabilityCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = MedewerkertariefCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = CrewavailabilityCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - medewerkertarief_collectionget_response_schema = cls( + crewavailability_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - medewerkertarief_collectionget_response_schema.additional_properties = d - return medewerkertarief_collectionget_response_schema + crewavailability_collectionput_response_schema.additional_properties = d + return crewavailability_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_collectionget_response_schema_data_item.py b/rentman_api_client/models/crewavailability_collectionput_response_schema_data_item.py similarity index 84% rename from rentman_api_client/models/beschikbaarheid_collectionget_response_schema_data_item.py rename to rentman_api_client/models/crewavailability_collectionput_response_schema_data_item.py index cbaf316..5b44fe8 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/crewavailability_collectionput_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.beschikbaarheid_collectionget_response_schema_data_item_recurrence_interval_unit import ( - BeschikbaarheidCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit, +from ..models.crewavailability_collectionput_response_schema_data_item_recurrence_interval_unit import ( + CrewavailabilityCollectionputResponseSchemaDataItemRecurrenceIntervalUnit, ) -from ..models.beschikbaarheid_collectionget_response_schema_data_item_status import ( - BeschikbaarheidCollectiongetResponseSchemaDataItemStatus, +from ..models.crewavailability_collectionput_response_schema_data_item_status import ( + CrewavailabilityCollectionputResponseSchemaDataItemStatus, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="CrewavailabilityCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class BeschikbaarheidCollectiongetResponseSchemaDataItem: +class CrewavailabilityCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -29,10 +29,10 @@ class BeschikbaarheidCollectiongetResponseSchemaDataItem: start: Union[Unset, None, datetime.datetime] = UNSET end: Union[Unset, None, datetime.datetime] = UNSET crewmember: Union[Unset, str] = UNSET - status: Union[Unset, BeschikbaarheidCollectiongetResponseSchemaDataItemStatus] = UNSET + status: Union[Unset, CrewavailabilityCollectionputResponseSchemaDataItemStatus] = UNSET remark: Union[Unset, str] = UNSET recurrence_interval_unit: Union[ - Unset, BeschikbaarheidCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit + Unset, CrewavailabilityCollectionputResponseSchemaDataItemRecurrenceIntervalUnit ] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET @@ -154,19 +154,19 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crewmember = d.pop("crewmember", UNSET) - status: Union[Unset, BeschikbaarheidCollectiongetResponseSchemaDataItemStatus] = UNSET + status: Union[Unset, CrewavailabilityCollectionputResponseSchemaDataItemStatus] = UNSET _status = d.pop("status", UNSET) if not isinstance(_status, Unset): - status = BeschikbaarheidCollectiongetResponseSchemaDataItemStatus(_status) + status = CrewavailabilityCollectionputResponseSchemaDataItemStatus(_status) remark = d.pop("remark", UNSET) recurrence_interval_unit: Union[ - Unset, BeschikbaarheidCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit + Unset, CrewavailabilityCollectionputResponseSchemaDataItemRecurrenceIntervalUnit ] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = BeschikbaarheidCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit( + recurrence_interval_unit = CrewavailabilityCollectionputResponseSchemaDataItemRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -176,7 +176,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group = d.pop("recurrent_group", UNSET) - beschikbaarheid_collectionget_response_schema_data_item = cls( + crewavailability_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -195,8 +195,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group=recurrent_group, ) - beschikbaarheid_collectionget_response_schema_data_item.additional_properties = d - return beschikbaarheid_collectionget_response_schema_data_item + crewavailability_collectionput_response_schema_data_item.additional_properties = d + return crewavailability_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_collectionget_response_schema_data_item_recurrence_interval_unit.py b/rentman_api_client/models/crewavailability_collectionput_response_schema_data_item_recurrence_interval_unit.py similarity index 66% rename from rentman_api_client/models/beschikbaarheid_collectionget_response_schema_data_item_recurrence_interval_unit.py rename to rentman_api_client/models/crewavailability_collectionput_response_schema_data_item_recurrence_interval_unit.py index baf2dbd..94a83e1 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionget_response_schema_data_item_recurrence_interval_unit.py +++ b/rentman_api_client/models/crewavailability_collectionput_response_schema_data_item_recurrence_interval_unit.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidCollectiongetResponseSchemaDataItemRecurrenceIntervalUnit(str, Enum): +class CrewavailabilityCollectionputResponseSchemaDataItemRecurrenceIntervalUnit(str, Enum): ONCE = "once" DAYS = "days" WEEKS = "weeks" diff --git a/rentman_api_client/models/beschikbaarheid_collectionget_response_schema_data_item_status.py b/rentman_api_client/models/crewavailability_collectionput_response_schema_data_item_status.py similarity index 61% rename from rentman_api_client/models/beschikbaarheid_collectionget_response_schema_data_item_status.py rename to rentman_api_client/models/crewavailability_collectionput_response_schema_data_item_status.py index 03c82a5..220cd08 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionget_response_schema_data_item_status.py +++ b/rentman_api_client/models/crewavailability_collectionput_response_schema_data_item_status.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidCollectiongetResponseSchemaDataItemStatus(str, Enum): +class CrewavailabilityCollectionputResponseSchemaDataItemStatus(str, Enum): B = "B" N = "N" O = "O" diff --git a/rentman_api_client/models/beschikbaarheid_itempost_request_schema.py b/rentman_api_client/models/crewavailability_itemget_request_schema.py similarity index 83% rename from rentman_api_client/models/beschikbaarheid_itempost_request_schema.py rename to rentman_api_client/models/crewavailability_itemget_request_schema.py index c0dddd0..bca9d09 100644 --- a/rentman_api_client/models/beschikbaarheid_itempost_request_schema.py +++ b/rentman_api_client/models/crewavailability_itemget_request_schema.py @@ -4,26 +4,26 @@ import attr from dateutil.parser import isoparse -from ..models.beschikbaarheid_itempost_request_schema_recurrence_interval_unit import ( - BeschikbaarheidItempostRequestSchemaRecurrenceIntervalUnit, +from ..models.crewavailability_itemget_request_schema_recurrence_interval_unit import ( + CrewavailabilityItemgetRequestSchemaRecurrenceIntervalUnit, ) -from ..models.beschikbaarheid_itempost_request_schema_status import BeschikbaarheidItempostRequestSchemaStatus +from ..models.crewavailability_itemget_request_schema_status import CrewavailabilityItemgetRequestSchemaStatus from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidItempostRequestSchema") +T = TypeVar("T", bound="CrewavailabilityItemgetRequestSchema") @attr.s(auto_attribs=True) -class BeschikbaarheidItempostRequestSchema: +class CrewavailabilityItemgetRequestSchema: """ """ last_updater: Union[Unset, None, str] = UNSET last_updated: Union[Unset, None, datetime.datetime] = UNSET start: Union[Unset, None, datetime.datetime] = UNSET end: Union[Unset, None, datetime.datetime] = UNSET - status: Union[Unset, BeschikbaarheidItempostRequestSchemaStatus] = UNSET + status: Union[Unset, CrewavailabilityItemgetRequestSchemaStatus] = UNSET remark: Union[Unset, str] = UNSET - recurrence_interval_unit: Union[Unset, BeschikbaarheidItempostRequestSchemaRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewavailabilityItemgetRequestSchemaRecurrenceIntervalUnit] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET recurrent_group: Union[Unset, int] = UNSET @@ -102,17 +102,17 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _end is not None and not isinstance(_end, Unset): end = isoparse(_end) - status: Union[Unset, BeschikbaarheidItempostRequestSchemaStatus] = UNSET + status: Union[Unset, CrewavailabilityItemgetRequestSchemaStatus] = UNSET _status = d.pop("status", UNSET) if not isinstance(_status, Unset): - status = BeschikbaarheidItempostRequestSchemaStatus(_status) + status = CrewavailabilityItemgetRequestSchemaStatus(_status) remark = d.pop("remark", UNSET) - recurrence_interval_unit: Union[Unset, BeschikbaarheidItempostRequestSchemaRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewavailabilityItemgetRequestSchemaRecurrenceIntervalUnit] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = BeschikbaarheidItempostRequestSchemaRecurrenceIntervalUnit( + recurrence_interval_unit = CrewavailabilityItemgetRequestSchemaRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -122,7 +122,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group = d.pop("recurrent_group", UNSET) - beschikbaarheid_itempost_request_schema = cls( + crewavailability_itemget_request_schema = cls( last_updater=last_updater, last_updated=last_updated, start=start, @@ -135,8 +135,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group=recurrent_group, ) - beschikbaarheid_itempost_request_schema.additional_properties = d - return beschikbaarheid_itempost_request_schema + crewavailability_itemget_request_schema.additional_properties = d + return crewavailability_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_itemget_request_schema_recurrence_interval_unit.py b/rentman_api_client/models/crewavailability_itemget_request_schema_recurrence_interval_unit.py similarity index 70% rename from rentman_api_client/models/beschikbaarheid_itemget_request_schema_recurrence_interval_unit.py rename to rentman_api_client/models/crewavailability_itemget_request_schema_recurrence_interval_unit.py index 7914f94..a67db9f 100644 --- a/rentman_api_client/models/beschikbaarheid_itemget_request_schema_recurrence_interval_unit.py +++ b/rentman_api_client/models/crewavailability_itemget_request_schema_recurrence_interval_unit.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidItemgetRequestSchemaRecurrenceIntervalUnit(str, Enum): +class CrewavailabilityItemgetRequestSchemaRecurrenceIntervalUnit(str, Enum): ONCE = "once" DAYS = "days" WEEKS = "weeks" diff --git a/rentman_api_client/models/beschikbaarheid_itemput_request_schema_status.py b/rentman_api_client/models/crewavailability_itemget_request_schema_status.py similarity index 66% rename from rentman_api_client/models/beschikbaarheid_itemput_request_schema_status.py rename to rentman_api_client/models/crewavailability_itemget_request_schema_status.py index 4737e1c..d28a961 100644 --- a/rentman_api_client/models/beschikbaarheid_itemput_request_schema_status.py +++ b/rentman_api_client/models/crewavailability_itemget_request_schema_status.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidItemputRequestSchemaStatus(str, Enum): +class CrewavailabilityItemgetRequestSchemaStatus(str, Enum): B = "B" N = "N" O = "O" diff --git a/rentman_api_client/models/beschikbaarheid_itemget_request_schema.py b/rentman_api_client/models/crewavailability_itempost_request_schema.py similarity index 81% rename from rentman_api_client/models/beschikbaarheid_itemget_request_schema.py rename to rentman_api_client/models/crewavailability_itempost_request_schema.py index b9f791d..f0e2543 100644 --- a/rentman_api_client/models/beschikbaarheid_itemget_request_schema.py +++ b/rentman_api_client/models/crewavailability_itempost_request_schema.py @@ -4,26 +4,26 @@ import attr from dateutil.parser import isoparse -from ..models.beschikbaarheid_itemget_request_schema_recurrence_interval_unit import ( - BeschikbaarheidItemgetRequestSchemaRecurrenceIntervalUnit, +from ..models.crewavailability_itempost_request_schema_recurrence_interval_unit import ( + CrewavailabilityItempostRequestSchemaRecurrenceIntervalUnit, ) -from ..models.beschikbaarheid_itemget_request_schema_status import BeschikbaarheidItemgetRequestSchemaStatus +from ..models.crewavailability_itempost_request_schema_status import CrewavailabilityItempostRequestSchemaStatus from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidItemgetRequestSchema") +T = TypeVar("T", bound="CrewavailabilityItempostRequestSchema") @attr.s(auto_attribs=True) -class BeschikbaarheidItemgetRequestSchema: +class CrewavailabilityItempostRequestSchema: """ """ last_updater: Union[Unset, None, str] = UNSET last_updated: Union[Unset, None, datetime.datetime] = UNSET start: Union[Unset, None, datetime.datetime] = UNSET end: Union[Unset, None, datetime.datetime] = UNSET - status: Union[Unset, BeschikbaarheidItemgetRequestSchemaStatus] = UNSET + status: Union[Unset, CrewavailabilityItempostRequestSchemaStatus] = UNSET remark: Union[Unset, str] = UNSET - recurrence_interval_unit: Union[Unset, BeschikbaarheidItemgetRequestSchemaRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewavailabilityItempostRequestSchemaRecurrenceIntervalUnit] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET recurrent_group: Union[Unset, int] = UNSET @@ -102,17 +102,17 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _end is not None and not isinstance(_end, Unset): end = isoparse(_end) - status: Union[Unset, BeschikbaarheidItemgetRequestSchemaStatus] = UNSET + status: Union[Unset, CrewavailabilityItempostRequestSchemaStatus] = UNSET _status = d.pop("status", UNSET) if not isinstance(_status, Unset): - status = BeschikbaarheidItemgetRequestSchemaStatus(_status) + status = CrewavailabilityItempostRequestSchemaStatus(_status) remark = d.pop("remark", UNSET) - recurrence_interval_unit: Union[Unset, BeschikbaarheidItemgetRequestSchemaRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewavailabilityItempostRequestSchemaRecurrenceIntervalUnit] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = BeschikbaarheidItemgetRequestSchemaRecurrenceIntervalUnit( + recurrence_interval_unit = CrewavailabilityItempostRequestSchemaRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -122,7 +122,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group = d.pop("recurrent_group", UNSET) - beschikbaarheid_itemget_request_schema = cls( + crewavailability_itempost_request_schema = cls( last_updater=last_updater, last_updated=last_updated, start=start, @@ -135,8 +135,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group=recurrent_group, ) - beschikbaarheid_itemget_request_schema.additional_properties = d - return beschikbaarheid_itemget_request_schema + crewavailability_itempost_request_schema.additional_properties = d + return crewavailability_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/crewavailability_itempost_request_schema_recurrence_interval_unit.py b/rentman_api_client/models/crewavailability_itempost_request_schema_recurrence_interval_unit.py new file mode 100644 index 0000000..40aa88c --- /dev/null +++ b/rentman_api_client/models/crewavailability_itempost_request_schema_recurrence_interval_unit.py @@ -0,0 +1,12 @@ +from enum import Enum + + +class CrewavailabilityItempostRequestSchemaRecurrenceIntervalUnit(str, Enum): + ONCE = "once" + DAYS = "days" + WEEKS = "weeks" + MONTHS = "months" + YEARS = "years" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/beschikbaarheid_itemget_request_schema_status.py b/rentman_api_client/models/crewavailability_itempost_request_schema_status.py similarity index 66% rename from rentman_api_client/models/beschikbaarheid_itemget_request_schema_status.py rename to rentman_api_client/models/crewavailability_itempost_request_schema_status.py index 8ff930d..6e2db86 100644 --- a/rentman_api_client/models/beschikbaarheid_itemget_request_schema_status.py +++ b/rentman_api_client/models/crewavailability_itempost_request_schema_status.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidItemgetRequestSchemaStatus(str, Enum): +class CrewavailabilityItempostRequestSchemaStatus(str, Enum): B = "B" N = "N" O = "O" diff --git a/rentman_api_client/models/planningmateriaal_itemget_response_schema.py b/rentman_api_client/models/crewavailability_itempost_response_schema.py similarity index 77% rename from rentman_api_client/models/planningmateriaal_itemget_response_schema.py rename to rentman_api_client/models/crewavailability_itempost_response_schema.py index 6cf11d6..717ec4e 100644 --- a/rentman_api_client/models/planningmateriaal_itemget_response_schema.py +++ b/rentman_api_client/models/crewavailability_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.planningmateriaal_itemget_response_schema_data import PlanningmateriaalItemgetResponseSchemaData +from ..models.crewavailability_itempost_response_schema_data import CrewavailabilityItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalItemgetResponseSchema") +T = TypeVar("T", bound="CrewavailabilityItempostResponseSchema") @attr.s(auto_attribs=True) -class PlanningmateriaalItemgetResponseSchema: +class CrewavailabilityItempostResponseSchema: """ """ - data: Union[Unset, PlanningmateriaalItemgetResponseSchemaData] = UNSET + data: Union[Unset, CrewavailabilityItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, PlanningmateriaalItemgetResponseSchemaData] = UNSET + data: Union[Unset, CrewavailabilityItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = PlanningmateriaalItemgetResponseSchemaData.from_dict(_data) + data = CrewavailabilityItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - planningmateriaal_itemget_response_schema = cls( + crewavailability_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - planningmateriaal_itemget_response_schema.additional_properties = d - return planningmateriaal_itemget_response_schema + crewavailability_itempost_response_schema.additional_properties = d + return crewavailability_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_itemget_response_schema_data.py b/rentman_api_client/models/crewavailability_itempost_response_schema_data.py similarity index 85% rename from rentman_api_client/models/beschikbaarheid_itemget_response_schema_data.py rename to rentman_api_client/models/crewavailability_itempost_response_schema_data.py index bae34cb..7061690 100644 --- a/rentman_api_client/models/beschikbaarheid_itemget_response_schema_data.py +++ b/rentman_api_client/models/crewavailability_itempost_response_schema_data.py @@ -4,17 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.beschikbaarheid_itemget_response_schema_data_recurrence_interval_unit import ( - BeschikbaarheidItemgetResponseSchemaDataRecurrenceIntervalUnit, +from ..models.crewavailability_itempost_response_schema_data_recurrence_interval_unit import ( + CrewavailabilityItempostResponseSchemaDataRecurrenceIntervalUnit, +) +from ..models.crewavailability_itempost_response_schema_data_status import ( + CrewavailabilityItempostResponseSchemaDataStatus, ) -from ..models.beschikbaarheid_itemget_response_schema_data_status import BeschikbaarheidItemgetResponseSchemaDataStatus from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidItemgetResponseSchemaData") +T = TypeVar("T", bound="CrewavailabilityItempostResponseSchemaData") @attr.s(auto_attribs=True) -class BeschikbaarheidItemgetResponseSchemaData: +class CrewavailabilityItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -27,9 +29,9 @@ class BeschikbaarheidItemgetResponseSchemaData: start: Union[Unset, None, datetime.datetime] = UNSET end: Union[Unset, None, datetime.datetime] = UNSET crewmember: Union[Unset, str] = UNSET - status: Union[Unset, BeschikbaarheidItemgetResponseSchemaDataStatus] = UNSET + status: Union[Unset, CrewavailabilityItempostResponseSchemaDataStatus] = UNSET remark: Union[Unset, str] = UNSET - recurrence_interval_unit: Union[Unset, BeschikbaarheidItemgetResponseSchemaDataRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewavailabilityItempostResponseSchemaDataRecurrenceIntervalUnit] = UNSET recurrence_enddate: Union[Unset, None, str] = UNSET recurrence_interval: Union[Unset, int] = UNSET recurrent_group: Union[Unset, int] = UNSET @@ -150,17 +152,17 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: crewmember = d.pop("crewmember", UNSET) - status: Union[Unset, BeschikbaarheidItemgetResponseSchemaDataStatus] = UNSET + status: Union[Unset, CrewavailabilityItempostResponseSchemaDataStatus] = UNSET _status = d.pop("status", UNSET) if not isinstance(_status, Unset): - status = BeschikbaarheidItemgetResponseSchemaDataStatus(_status) + status = CrewavailabilityItempostResponseSchemaDataStatus(_status) remark = d.pop("remark", UNSET) - recurrence_interval_unit: Union[Unset, BeschikbaarheidItemgetResponseSchemaDataRecurrenceIntervalUnit] = UNSET + recurrence_interval_unit: Union[Unset, CrewavailabilityItempostResponseSchemaDataRecurrenceIntervalUnit] = UNSET _recurrence_interval_unit = d.pop("recurrence_interval_unit", UNSET) if not isinstance(_recurrence_interval_unit, Unset): - recurrence_interval_unit = BeschikbaarheidItemgetResponseSchemaDataRecurrenceIntervalUnit( + recurrence_interval_unit = CrewavailabilityItempostResponseSchemaDataRecurrenceIntervalUnit( _recurrence_interval_unit ) @@ -170,7 +172,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group = d.pop("recurrent_group", UNSET) - beschikbaarheid_itemget_response_schema_data = cls( + crewavailability_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -189,8 +191,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: recurrent_group=recurrent_group, ) - beschikbaarheid_itemget_response_schema_data.additional_properties = d - return beschikbaarheid_itemget_response_schema_data + crewavailability_itempost_response_schema_data.additional_properties = d + return crewavailability_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/beschikbaarheid_itemget_response_schema_data_recurrence_interval_unit.py b/rentman_api_client/models/crewavailability_itempost_response_schema_data_recurrence_interval_unit.py similarity index 68% rename from rentman_api_client/models/beschikbaarheid_itemget_response_schema_data_recurrence_interval_unit.py rename to rentman_api_client/models/crewavailability_itempost_response_schema_data_recurrence_interval_unit.py index b61bf84..a50c61f 100644 --- a/rentman_api_client/models/beschikbaarheid_itemget_response_schema_data_recurrence_interval_unit.py +++ b/rentman_api_client/models/crewavailability_itempost_response_schema_data_recurrence_interval_unit.py @@ -1,7 +1,7 @@ from enum import Enum -class BeschikbaarheidItemgetResponseSchemaDataRecurrenceIntervalUnit(str, Enum): +class CrewavailabilityItempostResponseSchemaDataRecurrenceIntervalUnit(str, Enum): ONCE = "once" DAYS = "days" WEEKS = "weeks" diff --git a/rentman_api_client/models/crewavailability_itempost_response_schema_data_status.py b/rentman_api_client/models/crewavailability_itempost_response_schema_data_status.py new file mode 100644 index 0000000..0e9c545 --- /dev/null +++ b/rentman_api_client/models/crewavailability_itempost_response_schema_data_status.py @@ -0,0 +1,10 @@ +from enum import Enum + + +class CrewavailabilityItempostResponseSchemaDataStatus(str, Enum): + B = "B" + N = "N" + O = "O" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/afspraak_collectionput_response_schema.py b/rentman_api_client/models/crewrate_collectionget_response_schema.py similarity index 81% rename from rentman_api_client/models/afspraak_collectionput_response_schema.py rename to rentman_api_client/models/crewrate_collectionget_response_schema.py index 114f79d..895baaa 100644 --- a/rentman_api_client/models/afspraak_collectionput_response_schema.py +++ b/rentman_api_client/models/crewrate_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.afspraak_collectionput_response_schema_data_item import AfspraakCollectionputResponseSchemaDataItem +from ..models.crewrate_collectionget_response_schema_data_item import CrewrateCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakCollectionputResponseSchema") +T = TypeVar("T", bound="CrewrateCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class AfspraakCollectionputResponseSchema: +class CrewrateCollectiongetResponseSchema: """ """ - data: Union[Unset, List[AfspraakCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[CrewrateCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AfspraakCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = CrewrateCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraak_collectionput_response_schema = cls( + crewrate_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraak_collectionput_response_schema.additional_properties = d - return afspraak_collectionput_response_schema + crewrate_collectionget_response_schema.additional_properties = d + return crewrate_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerkertarief_collectionput_response_schema_data_item.py b/rentman_api_client/models/crewrate_collectionget_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/medewerkertarief_collectionput_response_schema_data_item.py rename to rentman_api_client/models/crewrate_collectionget_response_schema_data_item.py index 26f6287..01a9246 100644 --- a/rentman_api_client/models/medewerkertarief_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/crewrate_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="CrewrateCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class MedewerkertariefCollectionputResponseSchemaDataItem: +class CrewrateCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -86,7 +86,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: medewerker = d.pop("medewerker", UNSET) - medewerkertarief_collectionput_response_schema_data_item = cls( + crewrate_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -97,8 +97,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: medewerker=medewerker, ) - medewerkertarief_collectionput_response_schema_data_item.additional_properties = d - return medewerkertarief_collectionput_response_schema_data_item + crewrate_collectionget_response_schema_data_item.additional_properties = d + return crewrate_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_collectionpost_response_schema.py b/rentman_api_client/models/crewrate_collectionpost_response_schema.py similarity index 81% rename from rentman_api_client/models/afspraak_collectionpost_response_schema.py rename to rentman_api_client/models/crewrate_collectionpost_response_schema.py index 08664b3..5f5c48c 100644 --- a/rentman_api_client/models/afspraak_collectionpost_response_schema.py +++ b/rentman_api_client/models/crewrate_collectionpost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.afspraak_collectionpost_response_schema_data_item import AfspraakCollectionpostResponseSchemaDataItem +from ..models.crewrate_collectionpost_response_schema_data_item import CrewrateCollectionpostResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakCollectionpostResponseSchema") +T = TypeVar("T", bound="CrewrateCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class AfspraakCollectionpostResponseSchema: +class CrewrateCollectionpostResponseSchema: """ """ - data: Union[Unset, List[AfspraakCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[CrewrateCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AfspraakCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = CrewrateCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraak_collectionpost_response_schema = cls( + crewrate_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraak_collectionpost_response_schema.additional_properties = d - return afspraak_collectionpost_response_schema + crewrate_collectionpost_response_schema.additional_properties = d + return crewrate_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerkertarief_collectionget_response_schema_data_item.py b/rentman_api_client/models/crewrate_collectionpost_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/medewerkertarief_collectionget_response_schema_data_item.py rename to rentman_api_client/models/crewrate_collectionpost_response_schema_data_item.py index b7cd163..28f615b 100644 --- a/rentman_api_client/models/medewerkertarief_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/crewrate_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="CrewrateCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class MedewerkertariefCollectiongetResponseSchemaDataItem: +class CrewrateCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -86,7 +86,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: medewerker = d.pop("medewerker", UNSET) - medewerkertarief_collectionget_response_schema_data_item = cls( + crewrate_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -97,8 +97,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: medewerker=medewerker, ) - medewerkertarief_collectionget_response_schema_data_item.additional_properties = d - return medewerkertarief_collectionget_response_schema_data_item + crewrate_collectionpost_response_schema_data_item.additional_properties = d + return crewrate_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_collectionget_response_schema.py b/rentman_api_client/models/crewrate_collectionput_response_schema.py similarity index 81% rename from rentman_api_client/models/afspraak_collectionget_response_schema.py rename to rentman_api_client/models/crewrate_collectionput_response_schema.py index 00962ad..a3b0089 100644 --- a/rentman_api_client/models/afspraak_collectionget_response_schema.py +++ b/rentman_api_client/models/crewrate_collectionput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.afspraak_collectionget_response_schema_data_item import AfspraakCollectiongetResponseSchemaDataItem +from ..models.crewrate_collectionput_response_schema_data_item import CrewrateCollectionputResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakCollectiongetResponseSchema") +T = TypeVar("T", bound="CrewrateCollectionputResponseSchema") @attr.s(auto_attribs=True) -class AfspraakCollectiongetResponseSchema: +class CrewrateCollectionputResponseSchema: """ """ - data: Union[Unset, List[AfspraakCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[CrewrateCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AfspraakCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = CrewrateCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraak_collectionget_response_schema = cls( + crewrate_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraak_collectionget_response_schema.additional_properties = d - return afspraak_collectionget_response_schema + crewrate_collectionput_response_schema.additional_properties = d + return crewrate_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/crewrate_collectionput_response_schema_data_item.py b/rentman_api_client/models/crewrate_collectionput_response_schema_data_item.py new file mode 100644 index 0000000..1cec7df --- /dev/null +++ b/rentman_api_client/models/crewrate_collectionput_response_schema_data_item.py @@ -0,0 +1,117 @@ +import datetime +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr +from dateutil.parser import isoparse + +from ..types import UNSET, Unset + +T = TypeVar("T", bound="CrewrateCollectionputResponseSchemaDataItem") + + +@attr.s(auto_attribs=True) +class CrewrateCollectionputResponseSchemaDataItem: + """ """ + + id: Union[Unset, int] = UNSET + created: Union[Unset, None, datetime.datetime] = UNSET + modified: Union[Unset, None, datetime.datetime] = UNSET + creator: Union[Unset, None, str] = UNSET + displayname: Union[Unset, str] = UNSET + naam: Union[Unset, str] = UNSET + cost_rate: Union[Unset, None, str] = UNSET + medewerker: Union[Unset, str] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + id = self.id + created: Union[Unset, None, str] = UNSET + if not isinstance(self.created, Unset): + created = self.created.isoformat() if self.created else None + + modified: Union[Unset, None, str] = UNSET + if not isinstance(self.modified, Unset): + modified = self.modified.isoformat() if self.modified else None + + creator = self.creator + displayname = self.displayname + naam = self.naam + cost_rate = self.cost_rate + medewerker = self.medewerker + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if id is not UNSET: + field_dict["id"] = id + if created is not UNSET: + field_dict["created"] = created + if modified is not UNSET: + field_dict["modified"] = modified + if creator is not UNSET: + field_dict["creator"] = creator + if displayname is not UNSET: + field_dict["displayname"] = displayname + if naam is not UNSET: + field_dict["naam"] = naam + if cost_rate is not UNSET: + field_dict["cost_rate"] = cost_rate + if medewerker is not UNSET: + field_dict["medewerker"] = medewerker + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + id = d.pop("id", UNSET) + + created = None + _created = d.pop("created", UNSET) + if _created is not None and not isinstance(_created, Unset): + created = isoparse(_created) + + modified = None + _modified = d.pop("modified", UNSET) + if _modified is not None and not isinstance(_modified, Unset): + modified = isoparse(_modified) + + creator = d.pop("creator", UNSET) + + displayname = d.pop("displayname", UNSET) + + naam = d.pop("naam", UNSET) + + cost_rate = d.pop("cost_rate", UNSET) + + medewerker = d.pop("medewerker", UNSET) + + crewrate_collectionput_response_schema_data_item = cls( + id=id, + created=created, + modified=modified, + creator=creator, + displayname=displayname, + naam=naam, + cost_rate=cost_rate, + medewerker=medewerker, + ) + + crewrate_collectionput_response_schema_data_item.additional_properties = d + return crewrate_collectionput_response_schema_data_item + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/medewerkertarief_itemput_request_schema.py b/rentman_api_client/models/crewrate_itemget_request_schema.py similarity index 83% rename from rentman_api_client/models/medewerkertarief_itemput_request_schema.py rename to rentman_api_client/models/crewrate_itemget_request_schema.py index b0c69af..40857b5 100644 --- a/rentman_api_client/models/medewerkertarief_itemput_request_schema.py +++ b/rentman_api_client/models/crewrate_itemget_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefItemputRequestSchema") +T = TypeVar("T", bound="CrewrateItemgetRequestSchema") @attr.s(auto_attribs=True) -class MedewerkertariefItemputRequestSchema: +class CrewrateItemgetRequestSchema: """ """ naam: Union[Unset, str] = UNSET @@ -36,13 +36,13 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: cost_rate = d.pop("cost_rate", UNSET) - medewerkertarief_itemput_request_schema = cls( + crewrate_itemget_request_schema = cls( naam=naam, cost_rate=cost_rate, ) - medewerkertarief_itemput_request_schema.additional_properties = d - return medewerkertarief_itemput_request_schema + crewrate_itemget_request_schema.additional_properties = d + return crewrate_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_itempost_response_schema.py b/rentman_api_client/models/crewrate_itemget_response_schema.py similarity index 78% rename from rentman_api_client/models/offerte_itempost_response_schema.py rename to rentman_api_client/models/crewrate_itemget_response_schema.py index 28d8a1b..dccb314 100644 --- a/rentman_api_client/models/offerte_itempost_response_schema.py +++ b/rentman_api_client/models/crewrate_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.offerte_itempost_response_schema_data import OfferteItempostResponseSchemaData +from ..models.crewrate_itemget_response_schema_data import CrewrateItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteItempostResponseSchema") +T = TypeVar("T", bound="CrewrateItemgetResponseSchema") @attr.s(auto_attribs=True) -class OfferteItempostResponseSchema: +class CrewrateItemgetResponseSchema: """ """ - data: Union[Unset, OfferteItempostResponseSchemaData] = UNSET + data: Union[Unset, CrewrateItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, OfferteItempostResponseSchemaData] = UNSET + data: Union[Unset, CrewrateItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = OfferteItempostResponseSchemaData.from_dict(_data) + data = CrewrateItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - offerte_itempost_response_schema = cls( + crewrate_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - offerte_itempost_response_schema.additional_properties = d - return offerte_itempost_response_schema + crewrate_itemget_response_schema.additional_properties = d + return crewrate_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerkertarief_itemput_response_schema_data.py b/rentman_api_client/models/crewrate_itemget_response_schema_data.py similarity index 91% rename from rentman_api_client/models/medewerkertarief_itemput_response_schema_data.py rename to rentman_api_client/models/crewrate_itemget_response_schema_data.py index 0224cf0..568d12c 100644 --- a/rentman_api_client/models/medewerkertarief_itemput_response_schema_data.py +++ b/rentman_api_client/models/crewrate_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefItemputResponseSchemaData") +T = TypeVar("T", bound="CrewrateItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class MedewerkertariefItemputResponseSchemaData: +class CrewrateItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -86,7 +86,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: medewerker = d.pop("medewerker", UNSET) - medewerkertarief_itemput_response_schema_data = cls( + crewrate_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -97,8 +97,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: medewerker=medewerker, ) - medewerkertarief_itemput_response_schema_data.additional_properties = d - return medewerkertarief_itemput_response_schema_data + crewrate_itemget_response_schema_data.additional_properties = d + return crewrate_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerkertarief_itemget_request_schema.py b/rentman_api_client/models/crewrate_itempost_request_schema.py similarity index 83% rename from rentman_api_client/models/medewerkertarief_itemget_request_schema.py rename to rentman_api_client/models/crewrate_itempost_request_schema.py index b827d83..0811c4f 100644 --- a/rentman_api_client/models/medewerkertarief_itemget_request_schema.py +++ b/rentman_api_client/models/crewrate_itempost_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefItemgetRequestSchema") +T = TypeVar("T", bound="CrewrateItempostRequestSchema") @attr.s(auto_attribs=True) -class MedewerkertariefItemgetRequestSchema: +class CrewrateItempostRequestSchema: """ """ naam: Union[Unset, str] = UNSET @@ -36,13 +36,13 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: cost_rate = d.pop("cost_rate", UNSET) - medewerkertarief_itemget_request_schema = cls( + crewrate_itempost_request_schema = cls( naam=naam, cost_rate=cost_rate, ) - medewerkertarief_itemget_request_schema.additional_properties = d - return medewerkertarief_itemget_request_schema + crewrate_itempost_request_schema.additional_properties = d + return crewrate_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_itempost_response_schema.py b/rentman_api_client/models/crewrate_itempost_response_schema.py similarity index 78% rename from rentman_api_client/models/afspraak_itempost_response_schema.py rename to rentman_api_client/models/crewrate_itempost_response_schema.py index 6a2f55e..fbcbc37 100644 --- a/rentman_api_client/models/afspraak_itempost_response_schema.py +++ b/rentman_api_client/models/crewrate_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.afspraak_itempost_response_schema_data import AfspraakItempostResponseSchemaData +from ..models.crewrate_itempost_response_schema_data import CrewrateItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakItempostResponseSchema") +T = TypeVar("T", bound="CrewrateItempostResponseSchema") @attr.s(auto_attribs=True) -class AfspraakItempostResponseSchema: +class CrewrateItempostResponseSchema: """ """ - data: Union[Unset, AfspraakItempostResponseSchemaData] = UNSET + data: Union[Unset, CrewrateItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AfspraakItempostResponseSchemaData] = UNSET + data: Union[Unset, CrewrateItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AfspraakItempostResponseSchemaData.from_dict(_data) + data = CrewrateItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraak_itempost_response_schema = cls( + crewrate_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraak_itempost_response_schema.additional_properties = d - return afspraak_itempost_response_schema + crewrate_itempost_response_schema.additional_properties = d + return crewrate_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerkertarief_itemget_response_schema_data.py b/rentman_api_client/models/crewrate_itempost_response_schema_data.py similarity index 91% rename from rentman_api_client/models/medewerkertarief_itemget_response_schema_data.py rename to rentman_api_client/models/crewrate_itempost_response_schema_data.py index b19c970..fb624db 100644 --- a/rentman_api_client/models/medewerkertarief_itemget_response_schema_data.py +++ b/rentman_api_client/models/crewrate_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefItemgetResponseSchemaData") +T = TypeVar("T", bound="CrewrateItempostResponseSchemaData") @attr.s(auto_attribs=True) -class MedewerkertariefItemgetResponseSchemaData: +class CrewrateItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -86,7 +86,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: medewerker = d.pop("medewerker", UNSET) - medewerkertarief_itemget_response_schema_data = cls( + crewrate_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -97,8 +97,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: medewerker=medewerker, ) - medewerkertarief_itemget_response_schema_data.additional_properties = d - return medewerkertarief_itemget_response_schema_data + crewrate_itempost_response_schema_data.additional_properties = d + return crewrate_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerkertarief_itempost_request_schema.py b/rentman_api_client/models/crewrate_itemput_request_schema.py similarity index 83% rename from rentman_api_client/models/medewerkertarief_itempost_request_schema.py rename to rentman_api_client/models/crewrate_itemput_request_schema.py index 6edab15..81c0080 100644 --- a/rentman_api_client/models/medewerkertarief_itempost_request_schema.py +++ b/rentman_api_client/models/crewrate_itemput_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefItempostRequestSchema") +T = TypeVar("T", bound="CrewrateItemputRequestSchema") @attr.s(auto_attribs=True) -class MedewerkertariefItempostRequestSchema: +class CrewrateItemputRequestSchema: """ """ naam: Union[Unset, str] = UNSET @@ -36,13 +36,13 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: cost_rate = d.pop("cost_rate", UNSET) - medewerkertarief_itempost_request_schema = cls( + crewrate_itemput_request_schema = cls( naam=naam, cost_rate=cost_rate, ) - medewerkertarief_itempost_request_schema.additional_properties = d - return medewerkertarief_itempost_request_schema + crewrate_itemput_request_schema.additional_properties = d + return crewrate_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraak_itemput_response_schema.py b/rentman_api_client/models/crewrate_itemput_response_schema.py similarity index 78% rename from rentman_api_client/models/afspraak_itemput_response_schema.py rename to rentman_api_client/models/crewrate_itemput_response_schema.py index bb25c1b..882c732 100644 --- a/rentman_api_client/models/afspraak_itemput_response_schema.py +++ b/rentman_api_client/models/crewrate_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.afspraak_itemput_response_schema_data import AfspraakItemputResponseSchemaData +from ..models.crewrate_itemput_response_schema_data import CrewrateItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakItemputResponseSchema") +T = TypeVar("T", bound="CrewrateItemputResponseSchema") @attr.s(auto_attribs=True) -class AfspraakItemputResponseSchema: +class CrewrateItemputResponseSchema: """ """ - data: Union[Unset, AfspraakItemputResponseSchemaData] = UNSET + data: Union[Unset, CrewrateItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AfspraakItemputResponseSchemaData] = UNSET + data: Union[Unset, CrewrateItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AfspraakItemputResponseSchemaData.from_dict(_data) + data = CrewrateItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraak_itemput_response_schema = cls( + crewrate_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraak_itemput_response_schema.additional_properties = d - return afspraak_itemput_response_schema + crewrate_itemput_response_schema.additional_properties = d + return crewrate_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerkertarief_itempost_response_schema_data.py b/rentman_api_client/models/crewrate_itemput_response_schema_data.py similarity index 91% rename from rentman_api_client/models/medewerkertarief_itempost_response_schema_data.py rename to rentman_api_client/models/crewrate_itemput_response_schema_data.py index c2a91bd..71d17af 100644 --- a/rentman_api_client/models/medewerkertarief_itempost_response_schema_data.py +++ b/rentman_api_client/models/crewrate_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefItempostResponseSchemaData") +T = TypeVar("T", bound="CrewrateItemputResponseSchemaData") @attr.s(auto_attribs=True) -class MedewerkertariefItempostResponseSchemaData: +class CrewrateItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -86,7 +86,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: medewerker = d.pop("medewerker", UNSET) - medewerkertarief_itempost_response_schema_data = cls( + crewrate_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -97,8 +97,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: medewerker=medewerker, ) - medewerkertarief_itempost_response_schema_data.additional_properties = d - return medewerkertarief_itempost_response_schema_data + crewrate_itemput_response_schema_data.additional_properties = d + return crewrate_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_collectionget_response_schema.py b/rentman_api_client/models/equipment_collectionget_response_schema.py similarity index 81% rename from rentman_api_client/models/btwbedrag_collectionget_response_schema.py rename to rentman_api_client/models/equipment_collectionget_response_schema.py index e8272d4..d4ae420 100644 --- a/rentman_api_client/models/btwbedrag_collectionget_response_schema.py +++ b/rentman_api_client/models/equipment_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.btwbedrag_collectionget_response_schema_data_item import BtwbedragCollectiongetResponseSchemaDataItem +from ..models.equipment_collectionget_response_schema_data_item import EquipmentCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragCollectiongetResponseSchema") +T = TypeVar("T", bound="EquipmentCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class BtwbedragCollectiongetResponseSchema: +class EquipmentCollectiongetResponseSchema: """ """ - data: Union[Unset, List[BtwbedragCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[EquipmentCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = BtwbedragCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = EquipmentCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - btwbedrag_collectionget_response_schema = cls( + equipment_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - btwbedrag_collectionget_response_schema.additional_properties = d - return btwbedrag_collectionget_response_schema + equipment_collectionget_response_schema.additional_properties = d + return equipment_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item.py b/rentman_api_client/models/equipment_collectionget_response_schema_data_item.py similarity index 88% rename from rentman_api_client/models/materiaal_collectionget_response_schema_data_item.py rename to rentman_api_client/models/equipment_collectionget_response_schema_data_item.py index 28bafb3..f472f73 100644 --- a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/equipment_collectionget_response_schema_data_item.py @@ -4,31 +4,31 @@ import attr from dateutil.parser import isoparse -from ..models.materiaal_collectionget_response_schema_data_item_country_of_origin import ( - MateriaalCollectiongetResponseSchemaDataItemCountryOfOrigin, +from ..models.equipment_collectionget_response_schema_data_item_country_of_origin import ( + EquipmentCollectiongetResponseSchemaDataItemCountryOfOrigin, ) -from ..models.materiaal_collectionget_response_schema_data_item_custom import ( - MateriaalCollectiongetResponseSchemaDataItemCustom, +from ..models.equipment_collectionget_response_schema_data_item_custom import ( + EquipmentCollectiongetResponseSchemaDataItemCustom, ) -from ..models.materiaal_collectionget_response_schema_data_item_is_physical import ( - MateriaalCollectiongetResponseSchemaDataItemIsPhysical, +from ..models.equipment_collectionget_response_schema_data_item_is_physical import ( + EquipmentCollectiongetResponseSchemaDataItemIsPhysical, ) -from ..models.materiaal_collectionget_response_schema_data_item_rental_sales import ( - MateriaalCollectiongetResponseSchemaDataItemRentalSales, +from ..models.equipment_collectionget_response_schema_data_item_rental_sales import ( + EquipmentCollectiongetResponseSchemaDataItemRentalSales, ) -from ..models.materiaal_collectionget_response_schema_data_item_stock_management import ( - MateriaalCollectiongetResponseSchemaDataItemStockManagement, +from ..models.equipment_collectionget_response_schema_data_item_stock_management import ( + EquipmentCollectiongetResponseSchemaDataItemStockManagement, ) -from ..models.materiaal_collectionget_response_schema_data_item_type import ( - MateriaalCollectiongetResponseSchemaDataItemType, +from ..models.equipment_collectionget_response_schema_data_item_type import ( + EquipmentCollectiongetResponseSchemaDataItemType, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="EquipmentCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class MateriaalCollectiongetResponseSchemaDataItem: +class EquipmentCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -54,12 +54,12 @@ class MateriaalCollectiongetResponseSchemaDataItem: price: Union[Unset, float] = UNSET subrental_costs: Union[Unset, float] = UNSET critical_stock_level: Union[Unset, int] = UNSET - type: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemType] = UNSET - rental_sales: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemRentalSales] = UNSET + type: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemType] = UNSET + rental_sales: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemRentalSales] = UNSET temporary: Union[Unset, bool] = UNSET in_planner: Union[Unset, bool] = UNSET in_archive: Union[Unset, bool] = UNSET - stock_management: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemStockManagement] = UNSET + stock_management: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemStockManagement] = UNSET taxclass: Union[Unset, None, str] = UNSET list_price: Union[Unset, float] = UNSET volume: Union[Unset, float] = UNSET @@ -70,18 +70,18 @@ class MateriaalCollectiongetResponseSchemaDataItem: weight: Union[Unset, float] = UNSET power: Union[Unset, float] = UNSET current: Union[Unset, float] = UNSET - country_of_origin: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemCountryOfOrigin] = UNSET image: Union[Unset, None, str] = UNSET ledger: Union[Unset, None, str] = UNSET defaultgroup: Union[Unset, str] = UNSET is_combination: Union[Unset, bool] = UNSET - is_physical: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemIsPhysical] = UNSET can_edit_content_during_planning: Union[Unset, bool] = UNSET created_with_flexible_cases_equipment_database_flag: Union[Unset, bool] = UNSET qrcodes: Union[Unset, str] = UNSET qrcodes_of_serial_numbers: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -325,15 +325,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: critical_stock_level = d.pop("critical_stock_level", UNSET) - type: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = MateriaalCollectiongetResponseSchemaDataItemType(_type) + type = EquipmentCollectiongetResponseSchemaDataItemType(_type) - rental_sales: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemRentalSales] = UNSET + rental_sales: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemRentalSales] = UNSET _rental_sales = d.pop("rental_sales", UNSET) if not isinstance(_rental_sales, Unset): - rental_sales = MateriaalCollectiongetResponseSchemaDataItemRentalSales(_rental_sales) + rental_sales = EquipmentCollectiongetResponseSchemaDataItemRentalSales(_rental_sales) temporary = d.pop("temporary", UNSET) @@ -341,10 +341,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive = d.pop("in_archive", UNSET) - stock_management: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemStockManagement] = UNSET + stock_management: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemStockManagement] = UNSET _stock_management = d.pop("stock_management", UNSET) if not isinstance(_stock_management, Unset): - stock_management = MateriaalCollectiongetResponseSchemaDataItemStockManagement(_stock_management) + stock_management = EquipmentCollectiongetResponseSchemaDataItemStockManagement(_stock_management) taxclass = d.pop("taxclass", UNSET) @@ -366,10 +366,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: current = d.pop("current", UNSET) - country_of_origin: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemCountryOfOrigin] = UNSET _country_of_origin = d.pop("country_of_origin", UNSET) if not isinstance(_country_of_origin, Unset): - country_of_origin = MateriaalCollectiongetResponseSchemaDataItemCountryOfOrigin(_country_of_origin) + country_of_origin = EquipmentCollectiongetResponseSchemaDataItemCountryOfOrigin(_country_of_origin) image = d.pop("image", UNSET) @@ -379,10 +379,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_combination = d.pop("is_combination", UNSET) - is_physical: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemIsPhysical] = UNSET _is_physical = d.pop("is_physical", UNSET) if not isinstance(_is_physical, Unset): - is_physical = MateriaalCollectiongetResponseSchemaDataItemIsPhysical(_is_physical) + is_physical = EquipmentCollectiongetResponseSchemaDataItemIsPhysical(_is_physical) can_edit_content_during_planning = d.pop("can_edit_content_during_planning", UNSET) @@ -396,12 +396,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, MateriaalCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, EquipmentCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MateriaalCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = EquipmentCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - materiaal_collectionget_response_schema_data_item = cls( + equipment_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -455,8 +455,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - materiaal_collectionget_response_schema_data_item.additional_properties = d - return materiaal_collectionget_response_schema_data_item + equipment_collectionget_response_schema_data_item.additional_properties = d + return equipment_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_country_of_origin.py b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_country_of_origin.py similarity index 97% rename from rentman_api_client/models/materiaal_collectionget_response_schema_data_item_country_of_origin.py rename to rentman_api_client/models/equipment_collectionget_response_schema_data_item_country_of_origin.py index 0c89dfd..8b78399 100644 --- a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_country_of_origin.py +++ b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_country_of_origin.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectiongetResponseSchemaDataItemCountryOfOrigin(str, Enum): +class EquipmentCollectiongetResponseSchemaDataItemCountryOfOrigin(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/exemplaar_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/exemplaar_collectionput_response_schema_data_item_custom.py rename to rentman_api_client/models/equipment_collectionget_response_schema_data_item_custom.py index b011b56..9920f01 100644 --- a/rentman_api_client/models/exemplaar_collectionput_response_schema_data_item_custom.py +++ b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="ExemplaarCollectionputResponseSchemaDataItemCustom") +T = TypeVar("T", bound="EquipmentCollectiongetResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class ExemplaarCollectionputResponseSchemaDataItemCustom: +class EquipmentCollectiongetResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - exemplaar_collectionput_response_schema_data_item_custom = cls() + equipment_collectionget_response_schema_data_item_custom = cls() - exemplaar_collectionput_response_schema_data_item_custom.additional_properties = d - return exemplaar_collectionput_response_schema_data_item_custom + equipment_collectionget_response_schema_data_item_custom.additional_properties = d + return equipment_collectionget_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_is_physical.py b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_is_physical.py similarity index 73% rename from rentman_api_client/models/materiaal_collectionget_response_schema_data_item_is_physical.py rename to rentman_api_client/models/equipment_collectionget_response_schema_data_item_is_physical.py index 7dffa82..0eafbd6 100644 --- a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_is_physical.py +++ b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_is_physical.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectiongetResponseSchemaDataItemIsPhysical(str, Enum): +class EquipmentCollectiongetResponseSchemaDataItemIsPhysical(str, Enum): VIRTUAL_PACKAGE = "Virtual package" PHYSICAL_EQUIPMENT = "Physical equipment" diff --git a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_rental_sales.py b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_rental_sales.py similarity index 68% rename from rentman_api_client/models/materiaal_collectionget_response_schema_data_item_rental_sales.py rename to rentman_api_client/models/equipment_collectionget_response_schema_data_item_rental_sales.py index f470baa..8518687 100644 --- a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_rental_sales.py +++ b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_rental_sales.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectiongetResponseSchemaDataItemRentalSales(str, Enum): +class EquipmentCollectiongetResponseSchemaDataItemRentalSales(str, Enum): SALE = "Sale" RENTAL = "Rental" diff --git a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_stock_management.py b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_stock_management.py similarity index 75% rename from rentman_api_client/models/materiaal_collectionget_response_schema_data_item_stock_management.py rename to rentman_api_client/models/equipment_collectionget_response_schema_data_item_stock_management.py index ac2610f..44a5db3 100644 --- a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_stock_management.py +++ b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_stock_management.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectiongetResponseSchemaDataItemStockManagement(str, Enum): +class EquipmentCollectiongetResponseSchemaDataItemStockManagement(str, Enum): EXCLUDE_FROM_STOCK_TRACKING = "Exclude from stock tracking" TRACK_STOCK = "Track stock" diff --git a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_type.py b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_type.py similarity index 68% rename from rentman_api_client/models/materiaal_collectionget_response_schema_data_item_type.py rename to rentman_api_client/models/equipment_collectionget_response_schema_data_item_type.py index e3f4583..eef6a92 100644 --- a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_type.py +++ b/rentman_api_client/models/equipment_collectionget_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectiongetResponseSchemaDataItemType(str, Enum): +class EquipmentCollectiongetResponseSchemaDataItemType(str, Enum): SET = "set" CASE = "case" ITEM = "item" diff --git a/rentman_api_client/models/btwbedrag_collectionpost_response_schema.py b/rentman_api_client/models/equipment_collectionpost_response_schema.py similarity index 80% rename from rentman_api_client/models/btwbedrag_collectionpost_response_schema.py rename to rentman_api_client/models/equipment_collectionpost_response_schema.py index 4350020..b96ad50 100644 --- a/rentman_api_client/models/btwbedrag_collectionpost_response_schema.py +++ b/rentman_api_client/models/equipment_collectionpost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.btwbedrag_collectionpost_response_schema_data_item import BtwbedragCollectionpostResponseSchemaDataItem +from ..models.equipment_collectionpost_response_schema_data_item import EquipmentCollectionpostResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragCollectionpostResponseSchema") +T = TypeVar("T", bound="EquipmentCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class BtwbedragCollectionpostResponseSchema: +class EquipmentCollectionpostResponseSchema: """ """ - data: Union[Unset, List[BtwbedragCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[EquipmentCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = BtwbedragCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = EquipmentCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - btwbedrag_collectionpost_response_schema = cls( + equipment_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - btwbedrag_collectionpost_response_schema.additional_properties = d - return btwbedrag_collectionpost_response_schema + equipment_collectionpost_response_schema.additional_properties = d + return equipment_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item.py b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item.py similarity index 88% rename from rentman_api_client/models/materiaal_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/equipment_collectionpost_response_schema_data_item.py index e7103cb..d3df2d6 100644 --- a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item.py @@ -4,31 +4,31 @@ import attr from dateutil.parser import isoparse -from ..models.materiaal_collectionpost_response_schema_data_item_country_of_origin import ( - MateriaalCollectionpostResponseSchemaDataItemCountryOfOrigin, +from ..models.equipment_collectionpost_response_schema_data_item_country_of_origin import ( + EquipmentCollectionpostResponseSchemaDataItemCountryOfOrigin, ) -from ..models.materiaal_collectionpost_response_schema_data_item_custom import ( - MateriaalCollectionpostResponseSchemaDataItemCustom, +from ..models.equipment_collectionpost_response_schema_data_item_custom import ( + EquipmentCollectionpostResponseSchemaDataItemCustom, ) -from ..models.materiaal_collectionpost_response_schema_data_item_is_physical import ( - MateriaalCollectionpostResponseSchemaDataItemIsPhysical, +from ..models.equipment_collectionpost_response_schema_data_item_is_physical import ( + EquipmentCollectionpostResponseSchemaDataItemIsPhysical, ) -from ..models.materiaal_collectionpost_response_schema_data_item_rental_sales import ( - MateriaalCollectionpostResponseSchemaDataItemRentalSales, +from ..models.equipment_collectionpost_response_schema_data_item_rental_sales import ( + EquipmentCollectionpostResponseSchemaDataItemRentalSales, ) -from ..models.materiaal_collectionpost_response_schema_data_item_stock_management import ( - MateriaalCollectionpostResponseSchemaDataItemStockManagement, +from ..models.equipment_collectionpost_response_schema_data_item_stock_management import ( + EquipmentCollectionpostResponseSchemaDataItemStockManagement, ) -from ..models.materiaal_collectionpost_response_schema_data_item_type import ( - MateriaalCollectionpostResponseSchemaDataItemType, +from ..models.equipment_collectionpost_response_schema_data_item_type import ( + EquipmentCollectionpostResponseSchemaDataItemType, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="EquipmentCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class MateriaalCollectionpostResponseSchemaDataItem: +class EquipmentCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -54,12 +54,12 @@ class MateriaalCollectionpostResponseSchemaDataItem: price: Union[Unset, float] = UNSET subrental_costs: Union[Unset, float] = UNSET critical_stock_level: Union[Unset, int] = UNSET - type: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemType] = UNSET - rental_sales: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemRentalSales] = UNSET + type: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemType] = UNSET + rental_sales: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemRentalSales] = UNSET temporary: Union[Unset, bool] = UNSET in_planner: Union[Unset, bool] = UNSET in_archive: Union[Unset, bool] = UNSET - stock_management: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemStockManagement] = UNSET + stock_management: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemStockManagement] = UNSET taxclass: Union[Unset, None, str] = UNSET list_price: Union[Unset, float] = UNSET volume: Union[Unset, float] = UNSET @@ -70,18 +70,18 @@ class MateriaalCollectionpostResponseSchemaDataItem: weight: Union[Unset, float] = UNSET power: Union[Unset, float] = UNSET current: Union[Unset, float] = UNSET - country_of_origin: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemCountryOfOrigin] = UNSET image: Union[Unset, None, str] = UNSET ledger: Union[Unset, None, str] = UNSET defaultgroup: Union[Unset, str] = UNSET is_combination: Union[Unset, bool] = UNSET - is_physical: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemIsPhysical] = UNSET can_edit_content_during_planning: Union[Unset, bool] = UNSET created_with_flexible_cases_equipment_database_flag: Union[Unset, bool] = UNSET qrcodes: Union[Unset, str] = UNSET qrcodes_of_serial_numbers: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -325,15 +325,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: critical_stock_level = d.pop("critical_stock_level", UNSET) - type: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemType] = UNSET + type: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = MateriaalCollectionpostResponseSchemaDataItemType(_type) + type = EquipmentCollectionpostResponseSchemaDataItemType(_type) - rental_sales: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemRentalSales] = UNSET + rental_sales: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemRentalSales] = UNSET _rental_sales = d.pop("rental_sales", UNSET) if not isinstance(_rental_sales, Unset): - rental_sales = MateriaalCollectionpostResponseSchemaDataItemRentalSales(_rental_sales) + rental_sales = EquipmentCollectionpostResponseSchemaDataItemRentalSales(_rental_sales) temporary = d.pop("temporary", UNSET) @@ -341,10 +341,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive = d.pop("in_archive", UNSET) - stock_management: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemStockManagement] = UNSET + stock_management: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemStockManagement] = UNSET _stock_management = d.pop("stock_management", UNSET) if not isinstance(_stock_management, Unset): - stock_management = MateriaalCollectionpostResponseSchemaDataItemStockManagement(_stock_management) + stock_management = EquipmentCollectionpostResponseSchemaDataItemStockManagement(_stock_management) taxclass = d.pop("taxclass", UNSET) @@ -366,10 +366,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: current = d.pop("current", UNSET) - country_of_origin: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemCountryOfOrigin] = UNSET _country_of_origin = d.pop("country_of_origin", UNSET) if not isinstance(_country_of_origin, Unset): - country_of_origin = MateriaalCollectionpostResponseSchemaDataItemCountryOfOrigin(_country_of_origin) + country_of_origin = EquipmentCollectionpostResponseSchemaDataItemCountryOfOrigin(_country_of_origin) image = d.pop("image", UNSET) @@ -379,10 +379,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_combination = d.pop("is_combination", UNSET) - is_physical: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemIsPhysical] = UNSET _is_physical = d.pop("is_physical", UNSET) if not isinstance(_is_physical, Unset): - is_physical = MateriaalCollectionpostResponseSchemaDataItemIsPhysical(_is_physical) + is_physical = EquipmentCollectionpostResponseSchemaDataItemIsPhysical(_is_physical) can_edit_content_during_planning = d.pop("can_edit_content_during_planning", UNSET) @@ -396,12 +396,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, MateriaalCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, EquipmentCollectionpostResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MateriaalCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) + custom = EquipmentCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - materiaal_collectionpost_response_schema_data_item = cls( + equipment_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -455,8 +455,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - materiaal_collectionpost_response_schema_data_item.additional_properties = d - return materiaal_collectionpost_response_schema_data_item + equipment_collectionpost_response_schema_data_item.additional_properties = d + return equipment_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_country_of_origin.py b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_country_of_origin.py similarity index 97% rename from rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_country_of_origin.py rename to rentman_api_client/models/equipment_collectionpost_response_schema_data_item_country_of_origin.py index 23b275c..e921639 100644 --- a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_country_of_origin.py +++ b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_country_of_origin.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectionpostResponseSchemaDataItemCountryOfOrigin(str, Enum): +class EquipmentCollectionpostResponseSchemaDataItemCountryOfOrigin(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_custom.py rename to rentman_api_client/models/equipment_collectionpost_response_schema_data_item_custom.py index 6829d35..cb7d2a2 100644 --- a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_custom.py +++ b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MateriaalCollectionpostResponseSchemaDataItemCustom") +T = TypeVar("T", bound="EquipmentCollectionpostResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class MateriaalCollectionpostResponseSchemaDataItemCustom: +class EquipmentCollectionpostResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - materiaal_collectionpost_response_schema_data_item_custom = cls() + equipment_collectionpost_response_schema_data_item_custom = cls() - materiaal_collectionpost_response_schema_data_item_custom.additional_properties = d - return materiaal_collectionpost_response_schema_data_item_custom + equipment_collectionpost_response_schema_data_item_custom.additional_properties = d + return equipment_collectionpost_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_is_physical.py b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_is_physical.py similarity index 73% rename from rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_is_physical.py rename to rentman_api_client/models/equipment_collectionpost_response_schema_data_item_is_physical.py index d457470..e98dba6 100644 --- a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_is_physical.py +++ b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_is_physical.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectionpostResponseSchemaDataItemIsPhysical(str, Enum): +class EquipmentCollectionpostResponseSchemaDataItemIsPhysical(str, Enum): VIRTUAL_PACKAGE = "Virtual package" PHYSICAL_EQUIPMENT = "Physical equipment" diff --git a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_rental_sales.py b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_rental_sales.py similarity index 68% rename from rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_rental_sales.py rename to rentman_api_client/models/equipment_collectionpost_response_schema_data_item_rental_sales.py index f51df21..0acc59d 100644 --- a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_rental_sales.py +++ b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_rental_sales.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectionpostResponseSchemaDataItemRentalSales(str, Enum): +class EquipmentCollectionpostResponseSchemaDataItemRentalSales(str, Enum): SALE = "Sale" RENTAL = "Rental" diff --git a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_stock_management.py b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_stock_management.py similarity index 75% rename from rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_stock_management.py rename to rentman_api_client/models/equipment_collectionpost_response_schema_data_item_stock_management.py index 6b1c102..b41c5fd 100644 --- a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_stock_management.py +++ b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_stock_management.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectionpostResponseSchemaDataItemStockManagement(str, Enum): +class EquipmentCollectionpostResponseSchemaDataItemStockManagement(str, Enum): EXCLUDE_FROM_STOCK_TRACKING = "Exclude from stock tracking" TRACK_STOCK = "Track stock" diff --git a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_type.py b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_type.py similarity index 68% rename from rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_type.py rename to rentman_api_client/models/equipment_collectionpost_response_schema_data_item_type.py index 2b1dec4..f940cc3 100644 --- a/rentman_api_client/models/materiaal_collectionpost_response_schema_data_item_type.py +++ b/rentman_api_client/models/equipment_collectionpost_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectionpostResponseSchemaDataItemType(str, Enum): +class EquipmentCollectionpostResponseSchemaDataItemType(str, Enum): SET = "set" CASE = "case" ITEM = "item" diff --git a/rentman_api_client/models/equipment_collectionput_response_schema.py b/rentman_api_client/models/equipment_collectionput_response_schema.py new file mode 100644 index 0000000..44e622a --- /dev/null +++ b/rentman_api_client/models/equipment_collectionput_response_schema.py @@ -0,0 +1,88 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.equipment_collectionput_response_schema_data_item import EquipmentCollectionputResponseSchemaDataItem +from ..types import UNSET, Unset + +T = TypeVar("T", bound="EquipmentCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class EquipmentCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[EquipmentCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = EquipmentCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + equipment_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + equipment_collectionput_response_schema.additional_properties = d + return equipment_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item.py b/rentman_api_client/models/equipment_collectionput_response_schema_data_item.py similarity index 88% rename from rentman_api_client/models/materiaal_collectionput_response_schema_data_item.py rename to rentman_api_client/models/equipment_collectionput_response_schema_data_item.py index 37f0ad0..1252663 100644 --- a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/equipment_collectionput_response_schema_data_item.py @@ -4,31 +4,31 @@ import attr from dateutil.parser import isoparse -from ..models.materiaal_collectionput_response_schema_data_item_country_of_origin import ( - MateriaalCollectionputResponseSchemaDataItemCountryOfOrigin, +from ..models.equipment_collectionput_response_schema_data_item_country_of_origin import ( + EquipmentCollectionputResponseSchemaDataItemCountryOfOrigin, ) -from ..models.materiaal_collectionput_response_schema_data_item_custom import ( - MateriaalCollectionputResponseSchemaDataItemCustom, +from ..models.equipment_collectionput_response_schema_data_item_custom import ( + EquipmentCollectionputResponseSchemaDataItemCustom, ) -from ..models.materiaal_collectionput_response_schema_data_item_is_physical import ( - MateriaalCollectionputResponseSchemaDataItemIsPhysical, +from ..models.equipment_collectionput_response_schema_data_item_is_physical import ( + EquipmentCollectionputResponseSchemaDataItemIsPhysical, ) -from ..models.materiaal_collectionput_response_schema_data_item_rental_sales import ( - MateriaalCollectionputResponseSchemaDataItemRentalSales, +from ..models.equipment_collectionput_response_schema_data_item_rental_sales import ( + EquipmentCollectionputResponseSchemaDataItemRentalSales, ) -from ..models.materiaal_collectionput_response_schema_data_item_stock_management import ( - MateriaalCollectionputResponseSchemaDataItemStockManagement, +from ..models.equipment_collectionput_response_schema_data_item_stock_management import ( + EquipmentCollectionputResponseSchemaDataItemStockManagement, ) -from ..models.materiaal_collectionput_response_schema_data_item_type import ( - MateriaalCollectionputResponseSchemaDataItemType, +from ..models.equipment_collectionput_response_schema_data_item_type import ( + EquipmentCollectionputResponseSchemaDataItemType, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="EquipmentCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class MateriaalCollectionputResponseSchemaDataItem: +class EquipmentCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -54,12 +54,12 @@ class MateriaalCollectionputResponseSchemaDataItem: price: Union[Unset, float] = UNSET subrental_costs: Union[Unset, float] = UNSET critical_stock_level: Union[Unset, int] = UNSET - type: Union[Unset, MateriaalCollectionputResponseSchemaDataItemType] = UNSET - rental_sales: Union[Unset, MateriaalCollectionputResponseSchemaDataItemRentalSales] = UNSET + type: Union[Unset, EquipmentCollectionputResponseSchemaDataItemType] = UNSET + rental_sales: Union[Unset, EquipmentCollectionputResponseSchemaDataItemRentalSales] = UNSET temporary: Union[Unset, bool] = UNSET in_planner: Union[Unset, bool] = UNSET in_archive: Union[Unset, bool] = UNSET - stock_management: Union[Unset, MateriaalCollectionputResponseSchemaDataItemStockManagement] = UNSET + stock_management: Union[Unset, EquipmentCollectionputResponseSchemaDataItemStockManagement] = UNSET taxclass: Union[Unset, None, str] = UNSET list_price: Union[Unset, float] = UNSET volume: Union[Unset, float] = UNSET @@ -70,18 +70,18 @@ class MateriaalCollectionputResponseSchemaDataItem: weight: Union[Unset, float] = UNSET power: Union[Unset, float] = UNSET current: Union[Unset, float] = UNSET - country_of_origin: Union[Unset, MateriaalCollectionputResponseSchemaDataItemCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentCollectionputResponseSchemaDataItemCountryOfOrigin] = UNSET image: Union[Unset, None, str] = UNSET ledger: Union[Unset, None, str] = UNSET defaultgroup: Union[Unset, str] = UNSET is_combination: Union[Unset, bool] = UNSET - is_physical: Union[Unset, MateriaalCollectionputResponseSchemaDataItemIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentCollectionputResponseSchemaDataItemIsPhysical] = UNSET can_edit_content_during_planning: Union[Unset, bool] = UNSET created_with_flexible_cases_equipment_database_flag: Union[Unset, bool] = UNSET qrcodes: Union[Unset, str] = UNSET qrcodes_of_serial_numbers: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, MateriaalCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, EquipmentCollectionputResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -325,15 +325,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: critical_stock_level = d.pop("critical_stock_level", UNSET) - type: Union[Unset, MateriaalCollectionputResponseSchemaDataItemType] = UNSET + type: Union[Unset, EquipmentCollectionputResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = MateriaalCollectionputResponseSchemaDataItemType(_type) + type = EquipmentCollectionputResponseSchemaDataItemType(_type) - rental_sales: Union[Unset, MateriaalCollectionputResponseSchemaDataItemRentalSales] = UNSET + rental_sales: Union[Unset, EquipmentCollectionputResponseSchemaDataItemRentalSales] = UNSET _rental_sales = d.pop("rental_sales", UNSET) if not isinstance(_rental_sales, Unset): - rental_sales = MateriaalCollectionputResponseSchemaDataItemRentalSales(_rental_sales) + rental_sales = EquipmentCollectionputResponseSchemaDataItemRentalSales(_rental_sales) temporary = d.pop("temporary", UNSET) @@ -341,10 +341,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive = d.pop("in_archive", UNSET) - stock_management: Union[Unset, MateriaalCollectionputResponseSchemaDataItemStockManagement] = UNSET + stock_management: Union[Unset, EquipmentCollectionputResponseSchemaDataItemStockManagement] = UNSET _stock_management = d.pop("stock_management", UNSET) if not isinstance(_stock_management, Unset): - stock_management = MateriaalCollectionputResponseSchemaDataItemStockManagement(_stock_management) + stock_management = EquipmentCollectionputResponseSchemaDataItemStockManagement(_stock_management) taxclass = d.pop("taxclass", UNSET) @@ -366,10 +366,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: current = d.pop("current", UNSET) - country_of_origin: Union[Unset, MateriaalCollectionputResponseSchemaDataItemCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentCollectionputResponseSchemaDataItemCountryOfOrigin] = UNSET _country_of_origin = d.pop("country_of_origin", UNSET) if not isinstance(_country_of_origin, Unset): - country_of_origin = MateriaalCollectionputResponseSchemaDataItemCountryOfOrigin(_country_of_origin) + country_of_origin = EquipmentCollectionputResponseSchemaDataItemCountryOfOrigin(_country_of_origin) image = d.pop("image", UNSET) @@ -379,10 +379,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_combination = d.pop("is_combination", UNSET) - is_physical: Union[Unset, MateriaalCollectionputResponseSchemaDataItemIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentCollectionputResponseSchemaDataItemIsPhysical] = UNSET _is_physical = d.pop("is_physical", UNSET) if not isinstance(_is_physical, Unset): - is_physical = MateriaalCollectionputResponseSchemaDataItemIsPhysical(_is_physical) + is_physical = EquipmentCollectionputResponseSchemaDataItemIsPhysical(_is_physical) can_edit_content_during_planning = d.pop("can_edit_content_during_planning", UNSET) @@ -396,12 +396,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, MateriaalCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, EquipmentCollectionputResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MateriaalCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + custom = EquipmentCollectionputResponseSchemaDataItemCustom.from_dict(_custom) - materiaal_collectionput_response_schema_data_item = cls( + equipment_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -455,8 +455,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - materiaal_collectionput_response_schema_data_item.additional_properties = d - return materiaal_collectionput_response_schema_data_item + equipment_collectionput_response_schema_data_item.additional_properties = d + return equipment_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_country_of_origin.py b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_country_of_origin.py similarity index 97% rename from rentman_api_client/models/materiaal_collectionput_response_schema_data_item_country_of_origin.py rename to rentman_api_client/models/equipment_collectionput_response_schema_data_item_country_of_origin.py index facdb6c..660f1e8 100644 --- a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_country_of_origin.py +++ b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_country_of_origin.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectionputResponseSchemaDataItemCountryOfOrigin(str, Enum): +class EquipmentCollectionputResponseSchemaDataItemCountryOfOrigin(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/materiaal_collectionget_response_schema_data_item_custom.py rename to rentman_api_client/models/equipment_collectionput_response_schema_data_item_custom.py index 60556f8..30b9c93 100644 --- a/rentman_api_client/models/materiaal_collectionget_response_schema_data_item_custom.py +++ b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MateriaalCollectiongetResponseSchemaDataItemCustom") +T = TypeVar("T", bound="EquipmentCollectionputResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class MateriaalCollectiongetResponseSchemaDataItemCustom: +class EquipmentCollectionputResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - materiaal_collectionget_response_schema_data_item_custom = cls() + equipment_collectionput_response_schema_data_item_custom = cls() - materiaal_collectionget_response_schema_data_item_custom.additional_properties = d - return materiaal_collectionget_response_schema_data_item_custom + equipment_collectionput_response_schema_data_item_custom.additional_properties = d + return equipment_collectionput_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_is_physical.py b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_is_physical.py similarity index 73% rename from rentman_api_client/models/materiaal_collectionput_response_schema_data_item_is_physical.py rename to rentman_api_client/models/equipment_collectionput_response_schema_data_item_is_physical.py index b1db5a5..d4cf40e 100644 --- a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_is_physical.py +++ b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_is_physical.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectionputResponseSchemaDataItemIsPhysical(str, Enum): +class EquipmentCollectionputResponseSchemaDataItemIsPhysical(str, Enum): VIRTUAL_PACKAGE = "Virtual package" PHYSICAL_EQUIPMENT = "Physical equipment" diff --git a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_rental_sales.py b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_rental_sales.py similarity index 68% rename from rentman_api_client/models/materiaal_collectionput_response_schema_data_item_rental_sales.py rename to rentman_api_client/models/equipment_collectionput_response_schema_data_item_rental_sales.py index 4e621b8..56fa0e5 100644 --- a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_rental_sales.py +++ b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_rental_sales.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectionputResponseSchemaDataItemRentalSales(str, Enum): +class EquipmentCollectionputResponseSchemaDataItemRentalSales(str, Enum): SALE = "Sale" RENTAL = "Rental" diff --git a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_stock_management.py b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_stock_management.py similarity index 75% rename from rentman_api_client/models/materiaal_collectionput_response_schema_data_item_stock_management.py rename to rentman_api_client/models/equipment_collectionput_response_schema_data_item_stock_management.py index 2e21399..3014469 100644 --- a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_stock_management.py +++ b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_stock_management.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectionputResponseSchemaDataItemStockManagement(str, Enum): +class EquipmentCollectionputResponseSchemaDataItemStockManagement(str, Enum): EXCLUDE_FROM_STOCK_TRACKING = "Exclude from stock tracking" TRACK_STOCK = "Track stock" diff --git a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_type.py b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_type.py similarity index 68% rename from rentman_api_client/models/materiaal_collectionput_response_schema_data_item_type.py rename to rentman_api_client/models/equipment_collectionput_response_schema_data_item_type.py index 765ff22..77b883f 100644 --- a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_type.py +++ b/rentman_api_client/models/equipment_collectionput_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalCollectionputResponseSchemaDataItemType(str, Enum): +class EquipmentCollectionputResponseSchemaDataItemType(str, Enum): SET = "set" CASE = "case" ITEM = "item" diff --git a/rentman_api_client/models/materiaal_itemput_request_schema.py b/rentman_api_client/models/equipment_itemget_request_schema.py similarity index 87% rename from rentman_api_client/models/materiaal_itemput_request_schema.py rename to rentman_api_client/models/equipment_itemget_request_schema.py index 04f78a3..54da097 100644 --- a/rentman_api_client/models/materiaal_itemput_request_schema.py +++ b/rentman_api_client/models/equipment_itemget_request_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.materiaal_itemput_request_schema_country_of_origin import MateriaalItemputRequestSchemaCountryOfOrigin -from ..models.materiaal_itemput_request_schema_custom import MateriaalItemputRequestSchemaCustom -from ..models.materiaal_itemput_request_schema_is_physical import MateriaalItemputRequestSchemaIsPhysical -from ..models.materiaal_itemput_request_schema_rental_sales import MateriaalItemputRequestSchemaRentalSales -from ..models.materiaal_itemput_request_schema_stock_management import MateriaalItemputRequestSchemaStockManagement -from ..models.materiaal_itemput_request_schema_type import MateriaalItemputRequestSchemaType +from ..models.equipment_itemget_request_schema_country_of_origin import EquipmentItemgetRequestSchemaCountryOfOrigin +from ..models.equipment_itemget_request_schema_custom import EquipmentItemgetRequestSchemaCustom +from ..models.equipment_itemget_request_schema_is_physical import EquipmentItemgetRequestSchemaIsPhysical +from ..models.equipment_itemget_request_schema_rental_sales import EquipmentItemgetRequestSchemaRentalSales +from ..models.equipment_itemget_request_schema_stock_management import EquipmentItemgetRequestSchemaStockManagement +from ..models.equipment_itemget_request_schema_type import EquipmentItemgetRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalItemputRequestSchema") +T = TypeVar("T", bound="EquipmentItemgetRequestSchema") @attr.s(auto_attribs=True) -class MateriaalItemputRequestSchema: +class EquipmentItemgetRequestSchema: """ """ folder: Union[Unset, None, str] = UNSET @@ -35,12 +35,12 @@ class MateriaalItemputRequestSchema: price: Union[Unset, float] = UNSET subrental_costs: Union[Unset, float] = UNSET critical_stock_level: Union[Unset, int] = UNSET - type: Union[Unset, MateriaalItemputRequestSchemaType] = UNSET - rental_sales: Union[Unset, MateriaalItemputRequestSchemaRentalSales] = UNSET + type: Union[Unset, EquipmentItemgetRequestSchemaType] = UNSET + rental_sales: Union[Unset, EquipmentItemgetRequestSchemaRentalSales] = UNSET temporary: Union[Unset, bool] = UNSET in_planner: Union[Unset, bool] = UNSET in_archive: Union[Unset, bool] = UNSET - stock_management: Union[Unset, MateriaalItemputRequestSchemaStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItemgetRequestSchemaStockManagement] = UNSET taxclass: Union[Unset, None, str] = UNSET list_price: Union[Unset, float] = UNSET volume: Union[Unset, float] = UNSET @@ -51,15 +51,15 @@ class MateriaalItemputRequestSchema: weight: Union[Unset, float] = UNSET power: Union[Unset, float] = UNSET current: Union[Unset, float] = UNSET - country_of_origin: Union[Unset, MateriaalItemputRequestSchemaCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItemgetRequestSchemaCountryOfOrigin] = UNSET image: Union[Unset, None, str] = UNSET ledger: Union[Unset, None, str] = UNSET defaultgroup: Union[Unset, str] = UNSET is_combination: Union[Unset, bool] = UNSET - is_physical: Union[Unset, MateriaalItemputRequestSchemaIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItemgetRequestSchemaIsPhysical] = UNSET can_edit_content_during_planning: Union[Unset, bool] = UNSET created_with_flexible_cases_equipment_database_flag: Union[Unset, bool] = UNSET - custom: Union[Unset, MateriaalItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, EquipmentItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -257,15 +257,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: critical_stock_level = d.pop("critical_stock_level", UNSET) - type: Union[Unset, MateriaalItemputRequestSchemaType] = UNSET + type: Union[Unset, EquipmentItemgetRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = MateriaalItemputRequestSchemaType(_type) + type = EquipmentItemgetRequestSchemaType(_type) - rental_sales: Union[Unset, MateriaalItemputRequestSchemaRentalSales] = UNSET + rental_sales: Union[Unset, EquipmentItemgetRequestSchemaRentalSales] = UNSET _rental_sales = d.pop("rental_sales", UNSET) if not isinstance(_rental_sales, Unset): - rental_sales = MateriaalItemputRequestSchemaRentalSales(_rental_sales) + rental_sales = EquipmentItemgetRequestSchemaRentalSales(_rental_sales) temporary = d.pop("temporary", UNSET) @@ -273,10 +273,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive = d.pop("in_archive", UNSET) - stock_management: Union[Unset, MateriaalItemputRequestSchemaStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItemgetRequestSchemaStockManagement] = UNSET _stock_management = d.pop("stock_management", UNSET) if not isinstance(_stock_management, Unset): - stock_management = MateriaalItemputRequestSchemaStockManagement(_stock_management) + stock_management = EquipmentItemgetRequestSchemaStockManagement(_stock_management) taxclass = d.pop("taxclass", UNSET) @@ -298,10 +298,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: current = d.pop("current", UNSET) - country_of_origin: Union[Unset, MateriaalItemputRequestSchemaCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItemgetRequestSchemaCountryOfOrigin] = UNSET _country_of_origin = d.pop("country_of_origin", UNSET) if not isinstance(_country_of_origin, Unset): - country_of_origin = MateriaalItemputRequestSchemaCountryOfOrigin(_country_of_origin) + country_of_origin = EquipmentItemgetRequestSchemaCountryOfOrigin(_country_of_origin) image = d.pop("image", UNSET) @@ -311,10 +311,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_combination = d.pop("is_combination", UNSET) - is_physical: Union[Unset, MateriaalItemputRequestSchemaIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItemgetRequestSchemaIsPhysical] = UNSET _is_physical = d.pop("is_physical", UNSET) if not isinstance(_is_physical, Unset): - is_physical = MateriaalItemputRequestSchemaIsPhysical(_is_physical) + is_physical = EquipmentItemgetRequestSchemaIsPhysical(_is_physical) can_edit_content_during_planning = d.pop("can_edit_content_during_planning", UNSET) @@ -322,12 +322,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: "created_with_flexible_cases_equipment_database_flag", UNSET ) - custom: Union[Unset, MateriaalItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, EquipmentItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MateriaalItemputRequestSchemaCustom.from_dict(_custom) + custom = EquipmentItemgetRequestSchemaCustom.from_dict(_custom) - materiaal_itemput_request_schema = cls( + equipment_itemget_request_schema = cls( folder=folder, code=code, name=name, @@ -373,8 +373,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - materiaal_itemput_request_schema.additional_properties = d - return materiaal_itemput_request_schema + equipment_itemget_request_schema.additional_properties = d + return equipment_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itemget_request_schema_country_of_origin.py b/rentman_api_client/models/equipment_itemget_request_schema_country_of_origin.py similarity index 97% rename from rentman_api_client/models/materiaal_itemget_request_schema_country_of_origin.py rename to rentman_api_client/models/equipment_itemget_request_schema_country_of_origin.py index 81f4ef7..0f3d8e4 100644 --- a/rentman_api_client/models/materiaal_itemget_request_schema_country_of_origin.py +++ b/rentman_api_client/models/equipment_itemget_request_schema_country_of_origin.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemgetRequestSchemaCountryOfOrigin(str, Enum): +class EquipmentItemgetRequestSchemaCountryOfOrigin(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/materiaal_itemget_request_schema_custom.py b/rentman_api_client/models/equipment_itemget_request_schema_custom.py similarity index 78% rename from rentman_api_client/models/materiaal_itemget_request_schema_custom.py rename to rentman_api_client/models/equipment_itemget_request_schema_custom.py index 7b9f10d..d0ffa85 100644 --- a/rentman_api_client/models/materiaal_itemget_request_schema_custom.py +++ b/rentman_api_client/models/equipment_itemget_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MateriaalItemgetRequestSchemaCustom") +T = TypeVar("T", bound="EquipmentItemgetRequestSchemaCustom") @attr.s(auto_attribs=True) -class MateriaalItemgetRequestSchemaCustom: +class EquipmentItemgetRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - materiaal_itemget_request_schema_custom = cls() + equipment_itemget_request_schema_custom = cls() - materiaal_itemget_request_schema_custom.additional_properties = d - return materiaal_itemget_request_schema_custom + equipment_itemget_request_schema_custom.additional_properties = d + return equipment_itemget_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itemput_request_schema_is_physical.py b/rentman_api_client/models/equipment_itemget_request_schema_is_physical.py similarity index 74% rename from rentman_api_client/models/materiaal_itemput_request_schema_is_physical.py rename to rentman_api_client/models/equipment_itemget_request_schema_is_physical.py index e37c6ed..9643dc4 100644 --- a/rentman_api_client/models/materiaal_itemput_request_schema_is_physical.py +++ b/rentman_api_client/models/equipment_itemget_request_schema_is_physical.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemputRequestSchemaIsPhysical(str, Enum): +class EquipmentItemgetRequestSchemaIsPhysical(str, Enum): VIRTUAL_PACKAGE = "Virtual package" PHYSICAL_EQUIPMENT = "Physical equipment" diff --git a/rentman_api_client/models/materiaal_itemput_request_schema_rental_sales.py b/rentman_api_client/models/equipment_itemget_request_schema_rental_sales.py similarity index 68% rename from rentman_api_client/models/materiaal_itemput_request_schema_rental_sales.py rename to rentman_api_client/models/equipment_itemget_request_schema_rental_sales.py index f0212ef..5d84e6b 100644 --- a/rentman_api_client/models/materiaal_itemput_request_schema_rental_sales.py +++ b/rentman_api_client/models/equipment_itemget_request_schema_rental_sales.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemputRequestSchemaRentalSales(str, Enum): +class EquipmentItemgetRequestSchemaRentalSales(str, Enum): SALE = "Sale" RENTAL = "Rental" diff --git a/rentman_api_client/models/materiaal_itemput_request_schema_stock_management.py b/rentman_api_client/models/equipment_itemget_request_schema_stock_management.py similarity index 74% rename from rentman_api_client/models/materiaal_itemput_request_schema_stock_management.py rename to rentman_api_client/models/equipment_itemget_request_schema_stock_management.py index e41f4f8..e9d1e6f 100644 --- a/rentman_api_client/models/materiaal_itemput_request_schema_stock_management.py +++ b/rentman_api_client/models/equipment_itemget_request_schema_stock_management.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemputRequestSchemaStockManagement(str, Enum): +class EquipmentItemgetRequestSchemaStockManagement(str, Enum): EXCLUDE_FROM_STOCK_TRACKING = "Exclude from stock tracking" TRACK_STOCK = "Track stock" diff --git a/rentman_api_client/models/materiaal_itemput_request_schema_type.py b/rentman_api_client/models/equipment_itemget_request_schema_type.py similarity index 72% rename from rentman_api_client/models/materiaal_itemput_request_schema_type.py rename to rentman_api_client/models/equipment_itemget_request_schema_type.py index f3beb0a..977c429 100644 --- a/rentman_api_client/models/materiaal_itemput_request_schema_type.py +++ b/rentman_api_client/models/equipment_itemget_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemputRequestSchemaType(str, Enum): +class EquipmentItemgetRequestSchemaType(str, Enum): SET = "set" CASE = "case" ITEM = "item" diff --git a/rentman_api_client/models/exemplaar_itemget_response_schema.py b/rentman_api_client/models/equipment_itemget_response_schema.py similarity index 78% rename from rentman_api_client/models/exemplaar_itemget_response_schema.py rename to rentman_api_client/models/equipment_itemget_response_schema.py index 7aead16..e64963d 100644 --- a/rentman_api_client/models/exemplaar_itemget_response_schema.py +++ b/rentman_api_client/models/equipment_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.exemplaar_itemget_response_schema_data import ExemplaarItemgetResponseSchemaData +from ..models.equipment_itemget_response_schema_data import EquipmentItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarItemgetResponseSchema") +T = TypeVar("T", bound="EquipmentItemgetResponseSchema") @attr.s(auto_attribs=True) -class ExemplaarItemgetResponseSchema: +class EquipmentItemgetResponseSchema: """ """ - data: Union[Unset, ExemplaarItemgetResponseSchemaData] = UNSET + data: Union[Unset, EquipmentItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, ExemplaarItemgetResponseSchemaData] = UNSET + data: Union[Unset, EquipmentItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = ExemplaarItemgetResponseSchemaData.from_dict(_data) + data = EquipmentItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - exemplaar_itemget_response_schema = cls( + equipment_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - exemplaar_itemget_response_schema.additional_properties = d - return exemplaar_itemget_response_schema + equipment_itemget_response_schema.additional_properties = d + return equipment_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itemput_response_schema_data.py b/rentman_api_client/models/equipment_itemget_response_schema_data.py similarity index 89% rename from rentman_api_client/models/materiaal_itemput_response_schema_data.py rename to rentman_api_client/models/equipment_itemget_response_schema_data.py index 2c19ce3..761c4d3 100644 --- a/rentman_api_client/models/materiaal_itemput_response_schema_data.py +++ b/rentman_api_client/models/equipment_itemget_response_schema_data.py @@ -4,23 +4,23 @@ import attr from dateutil.parser import isoparse -from ..models.materiaal_itemput_response_schema_data_country_of_origin import ( - MateriaalItemputResponseSchemaDataCountryOfOrigin, +from ..models.equipment_itemget_response_schema_data_country_of_origin import ( + EquipmentItemgetResponseSchemaDataCountryOfOrigin, ) -from ..models.materiaal_itemput_response_schema_data_custom import MateriaalItemputResponseSchemaDataCustom -from ..models.materiaal_itemput_response_schema_data_is_physical import MateriaalItemputResponseSchemaDataIsPhysical -from ..models.materiaal_itemput_response_schema_data_rental_sales import MateriaalItemputResponseSchemaDataRentalSales -from ..models.materiaal_itemput_response_schema_data_stock_management import ( - MateriaalItemputResponseSchemaDataStockManagement, +from ..models.equipment_itemget_response_schema_data_custom import EquipmentItemgetResponseSchemaDataCustom +from ..models.equipment_itemget_response_schema_data_is_physical import EquipmentItemgetResponseSchemaDataIsPhysical +from ..models.equipment_itemget_response_schema_data_rental_sales import EquipmentItemgetResponseSchemaDataRentalSales +from ..models.equipment_itemget_response_schema_data_stock_management import ( + EquipmentItemgetResponseSchemaDataStockManagement, ) -from ..models.materiaal_itemput_response_schema_data_type import MateriaalItemputResponseSchemaDataType +from ..models.equipment_itemget_response_schema_data_type import EquipmentItemgetResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalItemputResponseSchemaData") +T = TypeVar("T", bound="EquipmentItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class MateriaalItemputResponseSchemaData: +class EquipmentItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -46,12 +46,12 @@ class MateriaalItemputResponseSchemaData: price: Union[Unset, float] = UNSET subrental_costs: Union[Unset, float] = UNSET critical_stock_level: Union[Unset, int] = UNSET - type: Union[Unset, MateriaalItemputResponseSchemaDataType] = UNSET - rental_sales: Union[Unset, MateriaalItemputResponseSchemaDataRentalSales] = UNSET + type: Union[Unset, EquipmentItemgetResponseSchemaDataType] = UNSET + rental_sales: Union[Unset, EquipmentItemgetResponseSchemaDataRentalSales] = UNSET temporary: Union[Unset, bool] = UNSET in_planner: Union[Unset, bool] = UNSET in_archive: Union[Unset, bool] = UNSET - stock_management: Union[Unset, MateriaalItemputResponseSchemaDataStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItemgetResponseSchemaDataStockManagement] = UNSET taxclass: Union[Unset, None, str] = UNSET list_price: Union[Unset, float] = UNSET volume: Union[Unset, float] = UNSET @@ -62,12 +62,12 @@ class MateriaalItemputResponseSchemaData: weight: Union[Unset, float] = UNSET power: Union[Unset, float] = UNSET current: Union[Unset, float] = UNSET - country_of_origin: Union[Unset, MateriaalItemputResponseSchemaDataCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItemgetResponseSchemaDataCountryOfOrigin] = UNSET image: Union[Unset, None, str] = UNSET ledger: Union[Unset, None, str] = UNSET defaultgroup: Union[Unset, str] = UNSET is_combination: Union[Unset, bool] = UNSET - is_physical: Union[Unset, MateriaalItemputResponseSchemaDataIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItemgetResponseSchemaDataIsPhysical] = UNSET can_edit_content_during_planning: Union[Unset, bool] = UNSET created_with_flexible_cases_equipment_database_flag: Union[Unset, bool] = UNSET qrcodes: Union[Unset, str] = UNSET @@ -76,7 +76,7 @@ class MateriaalItemputResponseSchemaData: current_quantity_excl_cases: Union[Unset, int] = UNSET current_quantity: Union[Unset, int] = UNSET quantity_in_cases: Union[Unset, int] = UNSET - custom: Union[Unset, MateriaalItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, EquipmentItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -329,15 +329,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: critical_stock_level = d.pop("critical_stock_level", UNSET) - type: Union[Unset, MateriaalItemputResponseSchemaDataType] = UNSET + type: Union[Unset, EquipmentItemgetResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = MateriaalItemputResponseSchemaDataType(_type) + type = EquipmentItemgetResponseSchemaDataType(_type) - rental_sales: Union[Unset, MateriaalItemputResponseSchemaDataRentalSales] = UNSET + rental_sales: Union[Unset, EquipmentItemgetResponseSchemaDataRentalSales] = UNSET _rental_sales = d.pop("rental_sales", UNSET) if not isinstance(_rental_sales, Unset): - rental_sales = MateriaalItemputResponseSchemaDataRentalSales(_rental_sales) + rental_sales = EquipmentItemgetResponseSchemaDataRentalSales(_rental_sales) temporary = d.pop("temporary", UNSET) @@ -345,10 +345,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive = d.pop("in_archive", UNSET) - stock_management: Union[Unset, MateriaalItemputResponseSchemaDataStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItemgetResponseSchemaDataStockManagement] = UNSET _stock_management = d.pop("stock_management", UNSET) if not isinstance(_stock_management, Unset): - stock_management = MateriaalItemputResponseSchemaDataStockManagement(_stock_management) + stock_management = EquipmentItemgetResponseSchemaDataStockManagement(_stock_management) taxclass = d.pop("taxclass", UNSET) @@ -370,10 +370,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: current = d.pop("current", UNSET) - country_of_origin: Union[Unset, MateriaalItemputResponseSchemaDataCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItemgetResponseSchemaDataCountryOfOrigin] = UNSET _country_of_origin = d.pop("country_of_origin", UNSET) if not isinstance(_country_of_origin, Unset): - country_of_origin = MateriaalItemputResponseSchemaDataCountryOfOrigin(_country_of_origin) + country_of_origin = EquipmentItemgetResponseSchemaDataCountryOfOrigin(_country_of_origin) image = d.pop("image", UNSET) @@ -383,10 +383,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_combination = d.pop("is_combination", UNSET) - is_physical: Union[Unset, MateriaalItemputResponseSchemaDataIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItemgetResponseSchemaDataIsPhysical] = UNSET _is_physical = d.pop("is_physical", UNSET) if not isinstance(_is_physical, Unset): - is_physical = MateriaalItemputResponseSchemaDataIsPhysical(_is_physical) + is_physical = EquipmentItemgetResponseSchemaDataIsPhysical(_is_physical) can_edit_content_during_planning = d.pop("can_edit_content_during_planning", UNSET) @@ -406,12 +406,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: quantity_in_cases = d.pop("quantity_in_cases", UNSET) - custom: Union[Unset, MateriaalItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, EquipmentItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MateriaalItemputResponseSchemaDataCustom.from_dict(_custom) + custom = EquipmentItemgetResponseSchemaDataCustom.from_dict(_custom) - materiaal_itemput_response_schema_data = cls( + equipment_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -468,8 +468,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - materiaal_itemput_response_schema_data.additional_properties = d - return materiaal_itemput_response_schema_data + equipment_itemget_response_schema_data.additional_properties = d + return equipment_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itemget_response_schema_data_country_of_origin.py b/rentman_api_client/models/equipment_itemget_response_schema_data_country_of_origin.py similarity index 97% rename from rentman_api_client/models/materiaal_itemget_response_schema_data_country_of_origin.py rename to rentman_api_client/models/equipment_itemget_response_schema_data_country_of_origin.py index 0fb54b9..3b6e24a 100644 --- a/rentman_api_client/models/materiaal_itemget_response_schema_data_country_of_origin.py +++ b/rentman_api_client/models/equipment_itemget_response_schema_data_country_of_origin.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemgetResponseSchemaDataCountryOfOrigin(str, Enum): +class EquipmentItemgetResponseSchemaDataCountryOfOrigin(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/exemplaar_itemput_response_schema_data_custom.py b/rentman_api_client/models/equipment_itemget_response_schema_data_custom.py similarity index 77% rename from rentman_api_client/models/exemplaar_itemput_response_schema_data_custom.py rename to rentman_api_client/models/equipment_itemget_response_schema_data_custom.py index 60fe07d..0f23044 100644 --- a/rentman_api_client/models/exemplaar_itemput_response_schema_data_custom.py +++ b/rentman_api_client/models/equipment_itemget_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="ExemplaarItemputResponseSchemaDataCustom") +T = TypeVar("T", bound="EquipmentItemgetResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class ExemplaarItemputResponseSchemaDataCustom: +class EquipmentItemgetResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - exemplaar_itemput_response_schema_data_custom = cls() + equipment_itemget_response_schema_data_custom = cls() - exemplaar_itemput_response_schema_data_custom.additional_properties = d - return exemplaar_itemput_response_schema_data_custom + equipment_itemget_response_schema_data_custom.additional_properties = d + return equipment_itemget_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itemget_response_schema_data_is_physical.py b/rentman_api_client/models/equipment_itemget_response_schema_data_is_physical.py similarity index 73% rename from rentman_api_client/models/materiaal_itemget_response_schema_data_is_physical.py rename to rentman_api_client/models/equipment_itemget_response_schema_data_is_physical.py index 15484c5..e73790f 100644 --- a/rentman_api_client/models/materiaal_itemget_response_schema_data_is_physical.py +++ b/rentman_api_client/models/equipment_itemget_response_schema_data_is_physical.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemgetResponseSchemaDataIsPhysical(str, Enum): +class EquipmentItemgetResponseSchemaDataIsPhysical(str, Enum): VIRTUAL_PACKAGE = "Virtual package" PHYSICAL_EQUIPMENT = "Physical equipment" diff --git a/rentman_api_client/models/materiaal_itemget_response_schema_data_rental_sales.py b/rentman_api_client/models/equipment_itemget_response_schema_data_rental_sales.py similarity index 66% rename from rentman_api_client/models/materiaal_itemget_response_schema_data_rental_sales.py rename to rentman_api_client/models/equipment_itemget_response_schema_data_rental_sales.py index a8396b3..86b4bb9 100644 --- a/rentman_api_client/models/materiaal_itemget_response_schema_data_rental_sales.py +++ b/rentman_api_client/models/equipment_itemget_response_schema_data_rental_sales.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemgetResponseSchemaDataRentalSales(str, Enum): +class EquipmentItemgetResponseSchemaDataRentalSales(str, Enum): SALE = "Sale" RENTAL = "Rental" diff --git a/rentman_api_client/models/materiaal_itemput_response_schema_data_stock_management.py b/rentman_api_client/models/equipment_itemget_response_schema_data_stock_management.py similarity index 74% rename from rentman_api_client/models/materiaal_itemput_response_schema_data_stock_management.py rename to rentman_api_client/models/equipment_itemget_response_schema_data_stock_management.py index 5b837d3..e09d03f 100644 --- a/rentman_api_client/models/materiaal_itemput_response_schema_data_stock_management.py +++ b/rentman_api_client/models/equipment_itemget_response_schema_data_stock_management.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemputResponseSchemaDataStockManagement(str, Enum): +class EquipmentItemgetResponseSchemaDataStockManagement(str, Enum): EXCLUDE_FROM_STOCK_TRACKING = "Exclude from stock tracking" TRACK_STOCK = "Track stock" diff --git a/rentman_api_client/models/materiaal_itemget_response_schema_data_type.py b/rentman_api_client/models/equipment_itemget_response_schema_data_type.py similarity index 70% rename from rentman_api_client/models/materiaal_itemget_response_schema_data_type.py rename to rentman_api_client/models/equipment_itemget_response_schema_data_type.py index 1366f23..e9a2260 100644 --- a/rentman_api_client/models/materiaal_itemget_response_schema_data_type.py +++ b/rentman_api_client/models/equipment_itemget_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemgetResponseSchemaDataType(str, Enum): +class EquipmentItemgetResponseSchemaDataType(str, Enum): SET = "set" CASE = "case" ITEM = "item" diff --git a/rentman_api_client/models/materiaal_itempost_request_schema.py b/rentman_api_client/models/equipment_itempost_request_schema.py similarity index 87% rename from rentman_api_client/models/materiaal_itempost_request_schema.py rename to rentman_api_client/models/equipment_itempost_request_schema.py index 47abeb7..80c6712 100644 --- a/rentman_api_client/models/materiaal_itempost_request_schema.py +++ b/rentman_api_client/models/equipment_itempost_request_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.materiaal_itempost_request_schema_country_of_origin import MateriaalItempostRequestSchemaCountryOfOrigin -from ..models.materiaal_itempost_request_schema_custom import MateriaalItempostRequestSchemaCustom -from ..models.materiaal_itempost_request_schema_is_physical import MateriaalItempostRequestSchemaIsPhysical -from ..models.materiaal_itempost_request_schema_rental_sales import MateriaalItempostRequestSchemaRentalSales -from ..models.materiaal_itempost_request_schema_stock_management import MateriaalItempostRequestSchemaStockManagement -from ..models.materiaal_itempost_request_schema_type import MateriaalItempostRequestSchemaType +from ..models.equipment_itempost_request_schema_country_of_origin import EquipmentItempostRequestSchemaCountryOfOrigin +from ..models.equipment_itempost_request_schema_custom import EquipmentItempostRequestSchemaCustom +from ..models.equipment_itempost_request_schema_is_physical import EquipmentItempostRequestSchemaIsPhysical +from ..models.equipment_itempost_request_schema_rental_sales import EquipmentItempostRequestSchemaRentalSales +from ..models.equipment_itempost_request_schema_stock_management import EquipmentItempostRequestSchemaStockManagement +from ..models.equipment_itempost_request_schema_type import EquipmentItempostRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalItempostRequestSchema") +T = TypeVar("T", bound="EquipmentItempostRequestSchema") @attr.s(auto_attribs=True) -class MateriaalItempostRequestSchema: +class EquipmentItempostRequestSchema: """ """ folder: Union[Unset, None, str] = UNSET @@ -35,12 +35,12 @@ class MateriaalItempostRequestSchema: price: Union[Unset, float] = UNSET subrental_costs: Union[Unset, float] = UNSET critical_stock_level: Union[Unset, int] = UNSET - type: Union[Unset, MateriaalItempostRequestSchemaType] = UNSET - rental_sales: Union[Unset, MateriaalItempostRequestSchemaRentalSales] = UNSET + type: Union[Unset, EquipmentItempostRequestSchemaType] = UNSET + rental_sales: Union[Unset, EquipmentItempostRequestSchemaRentalSales] = UNSET temporary: Union[Unset, bool] = UNSET in_planner: Union[Unset, bool] = UNSET in_archive: Union[Unset, bool] = UNSET - stock_management: Union[Unset, MateriaalItempostRequestSchemaStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItempostRequestSchemaStockManagement] = UNSET taxclass: Union[Unset, None, str] = UNSET list_price: Union[Unset, float] = UNSET volume: Union[Unset, float] = UNSET @@ -51,15 +51,15 @@ class MateriaalItempostRequestSchema: weight: Union[Unset, float] = UNSET power: Union[Unset, float] = UNSET current: Union[Unset, float] = UNSET - country_of_origin: Union[Unset, MateriaalItempostRequestSchemaCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItempostRequestSchemaCountryOfOrigin] = UNSET image: Union[Unset, None, str] = UNSET ledger: Union[Unset, None, str] = UNSET defaultgroup: Union[Unset, str] = UNSET is_combination: Union[Unset, bool] = UNSET - is_physical: Union[Unset, MateriaalItempostRequestSchemaIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItempostRequestSchemaIsPhysical] = UNSET can_edit_content_during_planning: Union[Unset, bool] = UNSET created_with_flexible_cases_equipment_database_flag: Union[Unset, bool] = UNSET - custom: Union[Unset, MateriaalItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, EquipmentItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -257,15 +257,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: critical_stock_level = d.pop("critical_stock_level", UNSET) - type: Union[Unset, MateriaalItempostRequestSchemaType] = UNSET + type: Union[Unset, EquipmentItempostRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = MateriaalItempostRequestSchemaType(_type) + type = EquipmentItempostRequestSchemaType(_type) - rental_sales: Union[Unset, MateriaalItempostRequestSchemaRentalSales] = UNSET + rental_sales: Union[Unset, EquipmentItempostRequestSchemaRentalSales] = UNSET _rental_sales = d.pop("rental_sales", UNSET) if not isinstance(_rental_sales, Unset): - rental_sales = MateriaalItempostRequestSchemaRentalSales(_rental_sales) + rental_sales = EquipmentItempostRequestSchemaRentalSales(_rental_sales) temporary = d.pop("temporary", UNSET) @@ -273,10 +273,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive = d.pop("in_archive", UNSET) - stock_management: Union[Unset, MateriaalItempostRequestSchemaStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItempostRequestSchemaStockManagement] = UNSET _stock_management = d.pop("stock_management", UNSET) if not isinstance(_stock_management, Unset): - stock_management = MateriaalItempostRequestSchemaStockManagement(_stock_management) + stock_management = EquipmentItempostRequestSchemaStockManagement(_stock_management) taxclass = d.pop("taxclass", UNSET) @@ -298,10 +298,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: current = d.pop("current", UNSET) - country_of_origin: Union[Unset, MateriaalItempostRequestSchemaCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItempostRequestSchemaCountryOfOrigin] = UNSET _country_of_origin = d.pop("country_of_origin", UNSET) if not isinstance(_country_of_origin, Unset): - country_of_origin = MateriaalItempostRequestSchemaCountryOfOrigin(_country_of_origin) + country_of_origin = EquipmentItempostRequestSchemaCountryOfOrigin(_country_of_origin) image = d.pop("image", UNSET) @@ -311,10 +311,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_combination = d.pop("is_combination", UNSET) - is_physical: Union[Unset, MateriaalItempostRequestSchemaIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItempostRequestSchemaIsPhysical] = UNSET _is_physical = d.pop("is_physical", UNSET) if not isinstance(_is_physical, Unset): - is_physical = MateriaalItempostRequestSchemaIsPhysical(_is_physical) + is_physical = EquipmentItempostRequestSchemaIsPhysical(_is_physical) can_edit_content_during_planning = d.pop("can_edit_content_during_planning", UNSET) @@ -322,12 +322,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: "created_with_flexible_cases_equipment_database_flag", UNSET ) - custom: Union[Unset, MateriaalItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, EquipmentItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MateriaalItempostRequestSchemaCustom.from_dict(_custom) + custom = EquipmentItempostRequestSchemaCustom.from_dict(_custom) - materiaal_itempost_request_schema = cls( + equipment_itempost_request_schema = cls( folder=folder, code=code, name=name, @@ -373,8 +373,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - materiaal_itempost_request_schema.additional_properties = d - return materiaal_itempost_request_schema + equipment_itempost_request_schema.additional_properties = d + return equipment_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/equipment_itempost_request_schema_country_of_origin.py b/rentman_api_client/models/equipment_itempost_request_schema_country_of_origin.py new file mode 100644 index 0000000..d781f21 --- /dev/null +++ b/rentman_api_client/models/equipment_itempost_request_schema_country_of_origin.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class EquipmentItempostRequestSchemaCountryOfOrigin(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/exemplaar_itempost_request_schema_custom.py b/rentman_api_client/models/equipment_itempost_request_schema_custom.py similarity index 78% rename from rentman_api_client/models/exemplaar_itempost_request_schema_custom.py rename to rentman_api_client/models/equipment_itempost_request_schema_custom.py index 9666e81..ac00dea 100644 --- a/rentman_api_client/models/exemplaar_itempost_request_schema_custom.py +++ b/rentman_api_client/models/equipment_itempost_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="ExemplaarItempostRequestSchemaCustom") +T = TypeVar("T", bound="EquipmentItempostRequestSchemaCustom") @attr.s(auto_attribs=True) -class ExemplaarItempostRequestSchemaCustom: +class EquipmentItempostRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - exemplaar_itempost_request_schema_custom = cls() + equipment_itempost_request_schema_custom = cls() - exemplaar_itempost_request_schema_custom.additional_properties = d - return exemplaar_itempost_request_schema_custom + equipment_itempost_request_schema_custom.additional_properties = d + return equipment_itempost_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itempost_request_schema_is_physical.py b/rentman_api_client/models/equipment_itempost_request_schema_is_physical.py similarity index 74% rename from rentman_api_client/models/materiaal_itempost_request_schema_is_physical.py rename to rentman_api_client/models/equipment_itempost_request_schema_is_physical.py index dcf1fb5..596a309 100644 --- a/rentman_api_client/models/materiaal_itempost_request_schema_is_physical.py +++ b/rentman_api_client/models/equipment_itempost_request_schema_is_physical.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItempostRequestSchemaIsPhysical(str, Enum): +class EquipmentItempostRequestSchemaIsPhysical(str, Enum): VIRTUAL_PACKAGE = "Virtual package" PHYSICAL_EQUIPMENT = "Physical equipment" diff --git a/rentman_api_client/models/materiaal_itempost_request_schema_rental_sales.py b/rentman_api_client/models/equipment_itempost_request_schema_rental_sales.py similarity index 67% rename from rentman_api_client/models/materiaal_itempost_request_schema_rental_sales.py rename to rentman_api_client/models/equipment_itempost_request_schema_rental_sales.py index 8d7317e..b5f6180 100644 --- a/rentman_api_client/models/materiaal_itempost_request_schema_rental_sales.py +++ b/rentman_api_client/models/equipment_itempost_request_schema_rental_sales.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItempostRequestSchemaRentalSales(str, Enum): +class EquipmentItempostRequestSchemaRentalSales(str, Enum): SALE = "Sale" RENTAL = "Rental" diff --git a/rentman_api_client/models/materiaal_itempost_request_schema_stock_management.py b/rentman_api_client/models/equipment_itempost_request_schema_stock_management.py similarity index 73% rename from rentman_api_client/models/materiaal_itempost_request_schema_stock_management.py rename to rentman_api_client/models/equipment_itempost_request_schema_stock_management.py index b0455fa..f092a78 100644 --- a/rentman_api_client/models/materiaal_itempost_request_schema_stock_management.py +++ b/rentman_api_client/models/equipment_itempost_request_schema_stock_management.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItempostRequestSchemaStockManagement(str, Enum): +class EquipmentItempostRequestSchemaStockManagement(str, Enum): EXCLUDE_FROM_STOCK_TRACKING = "Exclude from stock tracking" TRACK_STOCK = "Track stock" diff --git a/rentman_api_client/models/materiaal_itempost_request_schema_type.py b/rentman_api_client/models/equipment_itempost_request_schema_type.py similarity index 72% rename from rentman_api_client/models/materiaal_itempost_request_schema_type.py rename to rentman_api_client/models/equipment_itempost_request_schema_type.py index c03ee6e..1c28e47 100644 --- a/rentman_api_client/models/materiaal_itempost_request_schema_type.py +++ b/rentman_api_client/models/equipment_itempost_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItempostRequestSchemaType(str, Enum): +class EquipmentItempostRequestSchemaType(str, Enum): SET = "set" CASE = "case" ITEM = "item" diff --git a/rentman_api_client/models/accessoire_itemget_response_schema.py b/rentman_api_client/models/equipment_itempost_response_schema.py similarity index 78% rename from rentman_api_client/models/accessoire_itemget_response_schema.py rename to rentman_api_client/models/equipment_itempost_response_schema.py index 9059e04..424123f 100644 --- a/rentman_api_client/models/accessoire_itemget_response_schema.py +++ b/rentman_api_client/models/equipment_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.accessoire_itemget_response_schema_data import AccessoireItemgetResponseSchemaData +from ..models.equipment_itempost_response_schema_data import EquipmentItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireItemgetResponseSchema") +T = TypeVar("T", bound="EquipmentItempostResponseSchema") @attr.s(auto_attribs=True) -class AccessoireItemgetResponseSchema: +class EquipmentItempostResponseSchema: """ """ - data: Union[Unset, AccessoireItemgetResponseSchemaData] = UNSET + data: Union[Unset, EquipmentItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AccessoireItemgetResponseSchemaData] = UNSET + data: Union[Unset, EquipmentItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AccessoireItemgetResponseSchemaData.from_dict(_data) + data = EquipmentItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - accessoire_itemget_response_schema = cls( + equipment_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - accessoire_itemget_response_schema.additional_properties = d - return accessoire_itemget_response_schema + equipment_itempost_response_schema.additional_properties = d + return equipment_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itempost_response_schema_data.py b/rentman_api_client/models/equipment_itempost_response_schema_data.py similarity index 89% rename from rentman_api_client/models/materiaal_itempost_response_schema_data.py rename to rentman_api_client/models/equipment_itempost_response_schema_data.py index 235f190..4e18d1f 100644 --- a/rentman_api_client/models/materiaal_itempost_response_schema_data.py +++ b/rentman_api_client/models/equipment_itempost_response_schema_data.py @@ -4,23 +4,23 @@ import attr from dateutil.parser import isoparse -from ..models.materiaal_itempost_response_schema_data_country_of_origin import ( - MateriaalItempostResponseSchemaDataCountryOfOrigin, +from ..models.equipment_itempost_response_schema_data_country_of_origin import ( + EquipmentItempostResponseSchemaDataCountryOfOrigin, ) -from ..models.materiaal_itempost_response_schema_data_custom import MateriaalItempostResponseSchemaDataCustom -from ..models.materiaal_itempost_response_schema_data_is_physical import MateriaalItempostResponseSchemaDataIsPhysical -from ..models.materiaal_itempost_response_schema_data_rental_sales import MateriaalItempostResponseSchemaDataRentalSales -from ..models.materiaal_itempost_response_schema_data_stock_management import ( - MateriaalItempostResponseSchemaDataStockManagement, +from ..models.equipment_itempost_response_schema_data_custom import EquipmentItempostResponseSchemaDataCustom +from ..models.equipment_itempost_response_schema_data_is_physical import EquipmentItempostResponseSchemaDataIsPhysical +from ..models.equipment_itempost_response_schema_data_rental_sales import EquipmentItempostResponseSchemaDataRentalSales +from ..models.equipment_itempost_response_schema_data_stock_management import ( + EquipmentItempostResponseSchemaDataStockManagement, ) -from ..models.materiaal_itempost_response_schema_data_type import MateriaalItempostResponseSchemaDataType +from ..models.equipment_itempost_response_schema_data_type import EquipmentItempostResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalItempostResponseSchemaData") +T = TypeVar("T", bound="EquipmentItempostResponseSchemaData") @attr.s(auto_attribs=True) -class MateriaalItempostResponseSchemaData: +class EquipmentItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -46,12 +46,12 @@ class MateriaalItempostResponseSchemaData: price: Union[Unset, float] = UNSET subrental_costs: Union[Unset, float] = UNSET critical_stock_level: Union[Unset, int] = UNSET - type: Union[Unset, MateriaalItempostResponseSchemaDataType] = UNSET - rental_sales: Union[Unset, MateriaalItempostResponseSchemaDataRentalSales] = UNSET + type: Union[Unset, EquipmentItempostResponseSchemaDataType] = UNSET + rental_sales: Union[Unset, EquipmentItempostResponseSchemaDataRentalSales] = UNSET temporary: Union[Unset, bool] = UNSET in_planner: Union[Unset, bool] = UNSET in_archive: Union[Unset, bool] = UNSET - stock_management: Union[Unset, MateriaalItempostResponseSchemaDataStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItempostResponseSchemaDataStockManagement] = UNSET taxclass: Union[Unset, None, str] = UNSET list_price: Union[Unset, float] = UNSET volume: Union[Unset, float] = UNSET @@ -62,12 +62,12 @@ class MateriaalItempostResponseSchemaData: weight: Union[Unset, float] = UNSET power: Union[Unset, float] = UNSET current: Union[Unset, float] = UNSET - country_of_origin: Union[Unset, MateriaalItempostResponseSchemaDataCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItempostResponseSchemaDataCountryOfOrigin] = UNSET image: Union[Unset, None, str] = UNSET ledger: Union[Unset, None, str] = UNSET defaultgroup: Union[Unset, str] = UNSET is_combination: Union[Unset, bool] = UNSET - is_physical: Union[Unset, MateriaalItempostResponseSchemaDataIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItempostResponseSchemaDataIsPhysical] = UNSET can_edit_content_during_planning: Union[Unset, bool] = UNSET created_with_flexible_cases_equipment_database_flag: Union[Unset, bool] = UNSET qrcodes: Union[Unset, str] = UNSET @@ -76,7 +76,7 @@ class MateriaalItempostResponseSchemaData: current_quantity_excl_cases: Union[Unset, int] = UNSET current_quantity: Union[Unset, int] = UNSET quantity_in_cases: Union[Unset, int] = UNSET - custom: Union[Unset, MateriaalItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, EquipmentItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -329,15 +329,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: critical_stock_level = d.pop("critical_stock_level", UNSET) - type: Union[Unset, MateriaalItempostResponseSchemaDataType] = UNSET + type: Union[Unset, EquipmentItempostResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = MateriaalItempostResponseSchemaDataType(_type) + type = EquipmentItempostResponseSchemaDataType(_type) - rental_sales: Union[Unset, MateriaalItempostResponseSchemaDataRentalSales] = UNSET + rental_sales: Union[Unset, EquipmentItempostResponseSchemaDataRentalSales] = UNSET _rental_sales = d.pop("rental_sales", UNSET) if not isinstance(_rental_sales, Unset): - rental_sales = MateriaalItempostResponseSchemaDataRentalSales(_rental_sales) + rental_sales = EquipmentItempostResponseSchemaDataRentalSales(_rental_sales) temporary = d.pop("temporary", UNSET) @@ -345,10 +345,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive = d.pop("in_archive", UNSET) - stock_management: Union[Unset, MateriaalItempostResponseSchemaDataStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItempostResponseSchemaDataStockManagement] = UNSET _stock_management = d.pop("stock_management", UNSET) if not isinstance(_stock_management, Unset): - stock_management = MateriaalItempostResponseSchemaDataStockManagement(_stock_management) + stock_management = EquipmentItempostResponseSchemaDataStockManagement(_stock_management) taxclass = d.pop("taxclass", UNSET) @@ -370,10 +370,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: current = d.pop("current", UNSET) - country_of_origin: Union[Unset, MateriaalItempostResponseSchemaDataCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItempostResponseSchemaDataCountryOfOrigin] = UNSET _country_of_origin = d.pop("country_of_origin", UNSET) if not isinstance(_country_of_origin, Unset): - country_of_origin = MateriaalItempostResponseSchemaDataCountryOfOrigin(_country_of_origin) + country_of_origin = EquipmentItempostResponseSchemaDataCountryOfOrigin(_country_of_origin) image = d.pop("image", UNSET) @@ -383,10 +383,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_combination = d.pop("is_combination", UNSET) - is_physical: Union[Unset, MateriaalItempostResponseSchemaDataIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItempostResponseSchemaDataIsPhysical] = UNSET _is_physical = d.pop("is_physical", UNSET) if not isinstance(_is_physical, Unset): - is_physical = MateriaalItempostResponseSchemaDataIsPhysical(_is_physical) + is_physical = EquipmentItempostResponseSchemaDataIsPhysical(_is_physical) can_edit_content_during_planning = d.pop("can_edit_content_during_planning", UNSET) @@ -406,12 +406,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: quantity_in_cases = d.pop("quantity_in_cases", UNSET) - custom: Union[Unset, MateriaalItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, EquipmentItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MateriaalItempostResponseSchemaDataCustom.from_dict(_custom) + custom = EquipmentItempostResponseSchemaDataCustom.from_dict(_custom) - materiaal_itempost_response_schema_data = cls( + equipment_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -468,8 +468,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - materiaal_itempost_response_schema_data.additional_properties = d - return materiaal_itempost_response_schema_data + equipment_itempost_response_schema_data.additional_properties = d + return equipment_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itempost_response_schema_data_country_of_origin.py b/rentman_api_client/models/equipment_itempost_response_schema_data_country_of_origin.py similarity index 97% rename from rentman_api_client/models/materiaal_itempost_response_schema_data_country_of_origin.py rename to rentman_api_client/models/equipment_itempost_response_schema_data_country_of_origin.py index 9c30f23..2b5e7ab 100644 --- a/rentman_api_client/models/materiaal_itempost_response_schema_data_country_of_origin.py +++ b/rentman_api_client/models/equipment_itempost_response_schema_data_country_of_origin.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItempostResponseSchemaDataCountryOfOrigin(str, Enum): +class EquipmentItempostResponseSchemaDataCountryOfOrigin(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/materiaal_itempost_response_schema_data_custom.py b/rentman_api_client/models/equipment_itempost_response_schema_data_custom.py similarity index 77% rename from rentman_api_client/models/materiaal_itempost_response_schema_data_custom.py rename to rentman_api_client/models/equipment_itempost_response_schema_data_custom.py index c0aee22..ff09c1b 100644 --- a/rentman_api_client/models/materiaal_itempost_response_schema_data_custom.py +++ b/rentman_api_client/models/equipment_itempost_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MateriaalItempostResponseSchemaDataCustom") +T = TypeVar("T", bound="EquipmentItempostResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class MateriaalItempostResponseSchemaDataCustom: +class EquipmentItempostResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - materiaal_itempost_response_schema_data_custom = cls() + equipment_itempost_response_schema_data_custom = cls() - materiaal_itempost_response_schema_data_custom.additional_properties = d - return materiaal_itempost_response_schema_data_custom + equipment_itempost_response_schema_data_custom.additional_properties = d + return equipment_itempost_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itempost_response_schema_data_is_physical.py b/rentman_api_client/models/equipment_itempost_response_schema_data_is_physical.py similarity index 72% rename from rentman_api_client/models/materiaal_itempost_response_schema_data_is_physical.py rename to rentman_api_client/models/equipment_itempost_response_schema_data_is_physical.py index 500a75d..8a28a09 100644 --- a/rentman_api_client/models/materiaal_itempost_response_schema_data_is_physical.py +++ b/rentman_api_client/models/equipment_itempost_response_schema_data_is_physical.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItempostResponseSchemaDataIsPhysical(str, Enum): +class EquipmentItempostResponseSchemaDataIsPhysical(str, Enum): VIRTUAL_PACKAGE = "Virtual package" PHYSICAL_EQUIPMENT = "Physical equipment" diff --git a/rentman_api_client/models/materiaal_itempost_response_schema_data_rental_sales.py b/rentman_api_client/models/equipment_itempost_response_schema_data_rental_sales.py similarity index 66% rename from rentman_api_client/models/materiaal_itempost_response_schema_data_rental_sales.py rename to rentman_api_client/models/equipment_itempost_response_schema_data_rental_sales.py index 18171ec..24b372e 100644 --- a/rentman_api_client/models/materiaal_itempost_response_schema_data_rental_sales.py +++ b/rentman_api_client/models/equipment_itempost_response_schema_data_rental_sales.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItempostResponseSchemaDataRentalSales(str, Enum): +class EquipmentItempostResponseSchemaDataRentalSales(str, Enum): SALE = "Sale" RENTAL = "Rental" diff --git a/rentman_api_client/models/materiaal_itempost_response_schema_data_stock_management.py b/rentman_api_client/models/equipment_itempost_response_schema_data_stock_management.py similarity index 74% rename from rentman_api_client/models/materiaal_itempost_response_schema_data_stock_management.py rename to rentman_api_client/models/equipment_itempost_response_schema_data_stock_management.py index 45ad632..cb9284a 100644 --- a/rentman_api_client/models/materiaal_itempost_response_schema_data_stock_management.py +++ b/rentman_api_client/models/equipment_itempost_response_schema_data_stock_management.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItempostResponseSchemaDataStockManagement(str, Enum): +class EquipmentItempostResponseSchemaDataStockManagement(str, Enum): EXCLUDE_FROM_STOCK_TRACKING = "Exclude from stock tracking" TRACK_STOCK = "Track stock" diff --git a/rentman_api_client/models/materiaal_itempost_response_schema_data_type.py b/rentman_api_client/models/equipment_itempost_response_schema_data_type.py similarity index 70% rename from rentman_api_client/models/materiaal_itempost_response_schema_data_type.py rename to rentman_api_client/models/equipment_itempost_response_schema_data_type.py index b1cd24f..88859ca 100644 --- a/rentman_api_client/models/materiaal_itempost_response_schema_data_type.py +++ b/rentman_api_client/models/equipment_itempost_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItempostResponseSchemaDataType(str, Enum): +class EquipmentItempostResponseSchemaDataType(str, Enum): SET = "set" CASE = "case" ITEM = "item" diff --git a/rentman_api_client/models/materiaal_itemget_request_schema.py b/rentman_api_client/models/equipment_itemput_request_schema.py similarity index 87% rename from rentman_api_client/models/materiaal_itemget_request_schema.py rename to rentman_api_client/models/equipment_itemput_request_schema.py index ce430eb..59ec9ae 100644 --- a/rentman_api_client/models/materiaal_itemget_request_schema.py +++ b/rentman_api_client/models/equipment_itemput_request_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.materiaal_itemget_request_schema_country_of_origin import MateriaalItemgetRequestSchemaCountryOfOrigin -from ..models.materiaal_itemget_request_schema_custom import MateriaalItemgetRequestSchemaCustom -from ..models.materiaal_itemget_request_schema_is_physical import MateriaalItemgetRequestSchemaIsPhysical -from ..models.materiaal_itemget_request_schema_rental_sales import MateriaalItemgetRequestSchemaRentalSales -from ..models.materiaal_itemget_request_schema_stock_management import MateriaalItemgetRequestSchemaStockManagement -from ..models.materiaal_itemget_request_schema_type import MateriaalItemgetRequestSchemaType +from ..models.equipment_itemput_request_schema_country_of_origin import EquipmentItemputRequestSchemaCountryOfOrigin +from ..models.equipment_itemput_request_schema_custom import EquipmentItemputRequestSchemaCustom +from ..models.equipment_itemput_request_schema_is_physical import EquipmentItemputRequestSchemaIsPhysical +from ..models.equipment_itemput_request_schema_rental_sales import EquipmentItemputRequestSchemaRentalSales +from ..models.equipment_itemput_request_schema_stock_management import EquipmentItemputRequestSchemaStockManagement +from ..models.equipment_itemput_request_schema_type import EquipmentItemputRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalItemgetRequestSchema") +T = TypeVar("T", bound="EquipmentItemputRequestSchema") @attr.s(auto_attribs=True) -class MateriaalItemgetRequestSchema: +class EquipmentItemputRequestSchema: """ """ folder: Union[Unset, None, str] = UNSET @@ -35,12 +35,12 @@ class MateriaalItemgetRequestSchema: price: Union[Unset, float] = UNSET subrental_costs: Union[Unset, float] = UNSET critical_stock_level: Union[Unset, int] = UNSET - type: Union[Unset, MateriaalItemgetRequestSchemaType] = UNSET - rental_sales: Union[Unset, MateriaalItemgetRequestSchemaRentalSales] = UNSET + type: Union[Unset, EquipmentItemputRequestSchemaType] = UNSET + rental_sales: Union[Unset, EquipmentItemputRequestSchemaRentalSales] = UNSET temporary: Union[Unset, bool] = UNSET in_planner: Union[Unset, bool] = UNSET in_archive: Union[Unset, bool] = UNSET - stock_management: Union[Unset, MateriaalItemgetRequestSchemaStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItemputRequestSchemaStockManagement] = UNSET taxclass: Union[Unset, None, str] = UNSET list_price: Union[Unset, float] = UNSET volume: Union[Unset, float] = UNSET @@ -51,15 +51,15 @@ class MateriaalItemgetRequestSchema: weight: Union[Unset, float] = UNSET power: Union[Unset, float] = UNSET current: Union[Unset, float] = UNSET - country_of_origin: Union[Unset, MateriaalItemgetRequestSchemaCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItemputRequestSchemaCountryOfOrigin] = UNSET image: Union[Unset, None, str] = UNSET ledger: Union[Unset, None, str] = UNSET defaultgroup: Union[Unset, str] = UNSET is_combination: Union[Unset, bool] = UNSET - is_physical: Union[Unset, MateriaalItemgetRequestSchemaIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItemputRequestSchemaIsPhysical] = UNSET can_edit_content_during_planning: Union[Unset, bool] = UNSET created_with_flexible_cases_equipment_database_flag: Union[Unset, bool] = UNSET - custom: Union[Unset, MateriaalItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, EquipmentItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -257,15 +257,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: critical_stock_level = d.pop("critical_stock_level", UNSET) - type: Union[Unset, MateriaalItemgetRequestSchemaType] = UNSET + type: Union[Unset, EquipmentItemputRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = MateriaalItemgetRequestSchemaType(_type) + type = EquipmentItemputRequestSchemaType(_type) - rental_sales: Union[Unset, MateriaalItemgetRequestSchemaRentalSales] = UNSET + rental_sales: Union[Unset, EquipmentItemputRequestSchemaRentalSales] = UNSET _rental_sales = d.pop("rental_sales", UNSET) if not isinstance(_rental_sales, Unset): - rental_sales = MateriaalItemgetRequestSchemaRentalSales(_rental_sales) + rental_sales = EquipmentItemputRequestSchemaRentalSales(_rental_sales) temporary = d.pop("temporary", UNSET) @@ -273,10 +273,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive = d.pop("in_archive", UNSET) - stock_management: Union[Unset, MateriaalItemgetRequestSchemaStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItemputRequestSchemaStockManagement] = UNSET _stock_management = d.pop("stock_management", UNSET) if not isinstance(_stock_management, Unset): - stock_management = MateriaalItemgetRequestSchemaStockManagement(_stock_management) + stock_management = EquipmentItemputRequestSchemaStockManagement(_stock_management) taxclass = d.pop("taxclass", UNSET) @@ -298,10 +298,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: current = d.pop("current", UNSET) - country_of_origin: Union[Unset, MateriaalItemgetRequestSchemaCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItemputRequestSchemaCountryOfOrigin] = UNSET _country_of_origin = d.pop("country_of_origin", UNSET) if not isinstance(_country_of_origin, Unset): - country_of_origin = MateriaalItemgetRequestSchemaCountryOfOrigin(_country_of_origin) + country_of_origin = EquipmentItemputRequestSchemaCountryOfOrigin(_country_of_origin) image = d.pop("image", UNSET) @@ -311,10 +311,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_combination = d.pop("is_combination", UNSET) - is_physical: Union[Unset, MateriaalItemgetRequestSchemaIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItemputRequestSchemaIsPhysical] = UNSET _is_physical = d.pop("is_physical", UNSET) if not isinstance(_is_physical, Unset): - is_physical = MateriaalItemgetRequestSchemaIsPhysical(_is_physical) + is_physical = EquipmentItemputRequestSchemaIsPhysical(_is_physical) can_edit_content_during_planning = d.pop("can_edit_content_during_planning", UNSET) @@ -322,12 +322,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: "created_with_flexible_cases_equipment_database_flag", UNSET ) - custom: Union[Unset, MateriaalItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, EquipmentItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MateriaalItemgetRequestSchemaCustom.from_dict(_custom) + custom = EquipmentItemputRequestSchemaCustom.from_dict(_custom) - materiaal_itemget_request_schema = cls( + equipment_itemput_request_schema = cls( folder=folder, code=code, name=name, @@ -373,8 +373,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - materiaal_itemget_request_schema.additional_properties = d - return materiaal_itemget_request_schema + equipment_itemput_request_schema.additional_properties = d + return equipment_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/equipment_itemput_request_schema_country_of_origin.py b/rentman_api_client/models/equipment_itemput_request_schema_country_of_origin.py new file mode 100644 index 0000000..f71bb78 --- /dev/null +++ b/rentman_api_client/models/equipment_itemput_request_schema_country_of_origin.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class EquipmentItemputRequestSchemaCountryOfOrigin(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/materiaal_itemput_request_schema_custom.py b/rentman_api_client/models/equipment_itemput_request_schema_custom.py similarity index 78% rename from rentman_api_client/models/materiaal_itemput_request_schema_custom.py rename to rentman_api_client/models/equipment_itemput_request_schema_custom.py index 9820823..e4ca909 100644 --- a/rentman_api_client/models/materiaal_itemput_request_schema_custom.py +++ b/rentman_api_client/models/equipment_itemput_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MateriaalItemputRequestSchemaCustom") +T = TypeVar("T", bound="EquipmentItemputRequestSchemaCustom") @attr.s(auto_attribs=True) -class MateriaalItemputRequestSchemaCustom: +class EquipmentItemputRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - materiaal_itemput_request_schema_custom = cls() + equipment_itemput_request_schema_custom = cls() - materiaal_itemput_request_schema_custom.additional_properties = d - return materiaal_itemput_request_schema_custom + equipment_itemput_request_schema_custom.additional_properties = d + return equipment_itemput_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itemget_request_schema_is_physical.py b/rentman_api_client/models/equipment_itemput_request_schema_is_physical.py similarity index 74% rename from rentman_api_client/models/materiaal_itemget_request_schema_is_physical.py rename to rentman_api_client/models/equipment_itemput_request_schema_is_physical.py index 1d0702a..9030280 100644 --- a/rentman_api_client/models/materiaal_itemget_request_schema_is_physical.py +++ b/rentman_api_client/models/equipment_itemput_request_schema_is_physical.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemgetRequestSchemaIsPhysical(str, Enum): +class EquipmentItemputRequestSchemaIsPhysical(str, Enum): VIRTUAL_PACKAGE = "Virtual package" PHYSICAL_EQUIPMENT = "Physical equipment" diff --git a/rentman_api_client/models/materiaal_itemget_request_schema_rental_sales.py b/rentman_api_client/models/equipment_itemput_request_schema_rental_sales.py similarity index 68% rename from rentman_api_client/models/materiaal_itemget_request_schema_rental_sales.py rename to rentman_api_client/models/equipment_itemput_request_schema_rental_sales.py index 1fe966c..b4bae5d 100644 --- a/rentman_api_client/models/materiaal_itemget_request_schema_rental_sales.py +++ b/rentman_api_client/models/equipment_itemput_request_schema_rental_sales.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemgetRequestSchemaRentalSales(str, Enum): +class EquipmentItemputRequestSchemaRentalSales(str, Enum): SALE = "Sale" RENTAL = "Rental" diff --git a/rentman_api_client/models/materiaal_itemget_request_schema_stock_management.py b/rentman_api_client/models/equipment_itemput_request_schema_stock_management.py similarity index 74% rename from rentman_api_client/models/materiaal_itemget_request_schema_stock_management.py rename to rentman_api_client/models/equipment_itemput_request_schema_stock_management.py index 2e16d6f..70f80ee 100644 --- a/rentman_api_client/models/materiaal_itemget_request_schema_stock_management.py +++ b/rentman_api_client/models/equipment_itemput_request_schema_stock_management.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemgetRequestSchemaStockManagement(str, Enum): +class EquipmentItemputRequestSchemaStockManagement(str, Enum): EXCLUDE_FROM_STOCK_TRACKING = "Exclude from stock tracking" TRACK_STOCK = "Track stock" diff --git a/rentman_api_client/models/materiaal_itemget_request_schema_type.py b/rentman_api_client/models/equipment_itemput_request_schema_type.py similarity index 72% rename from rentman_api_client/models/materiaal_itemget_request_schema_type.py rename to rentman_api_client/models/equipment_itemput_request_schema_type.py index 16c25b1..052af25 100644 --- a/rentman_api_client/models/materiaal_itemget_request_schema_type.py +++ b/rentman_api_client/models/equipment_itemput_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemgetRequestSchemaType(str, Enum): +class EquipmentItemputRequestSchemaType(str, Enum): SET = "set" CASE = "case" ITEM = "item" diff --git a/rentman_api_client/models/equipment_itemput_response_schema.py b/rentman_api_client/models/equipment_itemput_response_schema.py new file mode 100644 index 0000000..56525ca --- /dev/null +++ b/rentman_api_client/models/equipment_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.equipment_itemput_response_schema_data import EquipmentItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="EquipmentItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class EquipmentItemputResponseSchema: + """ """ + + data: Union[Unset, EquipmentItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, EquipmentItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = EquipmentItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + equipment_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + equipment_itemput_response_schema.additional_properties = d + return equipment_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_itemget_response_schema_data.py b/rentman_api_client/models/equipment_itemput_response_schema_data.py similarity index 89% rename from rentman_api_client/models/materiaal_itemget_response_schema_data.py rename to rentman_api_client/models/equipment_itemput_response_schema_data.py index 2bd99dd..b3aed70 100644 --- a/rentman_api_client/models/materiaal_itemget_response_schema_data.py +++ b/rentman_api_client/models/equipment_itemput_response_schema_data.py @@ -4,23 +4,23 @@ import attr from dateutil.parser import isoparse -from ..models.materiaal_itemget_response_schema_data_country_of_origin import ( - MateriaalItemgetResponseSchemaDataCountryOfOrigin, +from ..models.equipment_itemput_response_schema_data_country_of_origin import ( + EquipmentItemputResponseSchemaDataCountryOfOrigin, ) -from ..models.materiaal_itemget_response_schema_data_custom import MateriaalItemgetResponseSchemaDataCustom -from ..models.materiaal_itemget_response_schema_data_is_physical import MateriaalItemgetResponseSchemaDataIsPhysical -from ..models.materiaal_itemget_response_schema_data_rental_sales import MateriaalItemgetResponseSchemaDataRentalSales -from ..models.materiaal_itemget_response_schema_data_stock_management import ( - MateriaalItemgetResponseSchemaDataStockManagement, +from ..models.equipment_itemput_response_schema_data_custom import EquipmentItemputResponseSchemaDataCustom +from ..models.equipment_itemput_response_schema_data_is_physical import EquipmentItemputResponseSchemaDataIsPhysical +from ..models.equipment_itemput_response_schema_data_rental_sales import EquipmentItemputResponseSchemaDataRentalSales +from ..models.equipment_itemput_response_schema_data_stock_management import ( + EquipmentItemputResponseSchemaDataStockManagement, ) -from ..models.materiaal_itemget_response_schema_data_type import MateriaalItemgetResponseSchemaDataType +from ..models.equipment_itemput_response_schema_data_type import EquipmentItemputResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalItemgetResponseSchemaData") +T = TypeVar("T", bound="EquipmentItemputResponseSchemaData") @attr.s(auto_attribs=True) -class MateriaalItemgetResponseSchemaData: +class EquipmentItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -46,12 +46,12 @@ class MateriaalItemgetResponseSchemaData: price: Union[Unset, float] = UNSET subrental_costs: Union[Unset, float] = UNSET critical_stock_level: Union[Unset, int] = UNSET - type: Union[Unset, MateriaalItemgetResponseSchemaDataType] = UNSET - rental_sales: Union[Unset, MateriaalItemgetResponseSchemaDataRentalSales] = UNSET + type: Union[Unset, EquipmentItemputResponseSchemaDataType] = UNSET + rental_sales: Union[Unset, EquipmentItemputResponseSchemaDataRentalSales] = UNSET temporary: Union[Unset, bool] = UNSET in_planner: Union[Unset, bool] = UNSET in_archive: Union[Unset, bool] = UNSET - stock_management: Union[Unset, MateriaalItemgetResponseSchemaDataStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItemputResponseSchemaDataStockManagement] = UNSET taxclass: Union[Unset, None, str] = UNSET list_price: Union[Unset, float] = UNSET volume: Union[Unset, float] = UNSET @@ -62,12 +62,12 @@ class MateriaalItemgetResponseSchemaData: weight: Union[Unset, float] = UNSET power: Union[Unset, float] = UNSET current: Union[Unset, float] = UNSET - country_of_origin: Union[Unset, MateriaalItemgetResponseSchemaDataCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItemputResponseSchemaDataCountryOfOrigin] = UNSET image: Union[Unset, None, str] = UNSET ledger: Union[Unset, None, str] = UNSET defaultgroup: Union[Unset, str] = UNSET is_combination: Union[Unset, bool] = UNSET - is_physical: Union[Unset, MateriaalItemgetResponseSchemaDataIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItemputResponseSchemaDataIsPhysical] = UNSET can_edit_content_during_planning: Union[Unset, bool] = UNSET created_with_flexible_cases_equipment_database_flag: Union[Unset, bool] = UNSET qrcodes: Union[Unset, str] = UNSET @@ -76,7 +76,7 @@ class MateriaalItemgetResponseSchemaData: current_quantity_excl_cases: Union[Unset, int] = UNSET current_quantity: Union[Unset, int] = UNSET quantity_in_cases: Union[Unset, int] = UNSET - custom: Union[Unset, MateriaalItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, EquipmentItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -329,15 +329,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: critical_stock_level = d.pop("critical_stock_level", UNSET) - type: Union[Unset, MateriaalItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, EquipmentItemputResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = MateriaalItemgetResponseSchemaDataType(_type) + type = EquipmentItemputResponseSchemaDataType(_type) - rental_sales: Union[Unset, MateriaalItemgetResponseSchemaDataRentalSales] = UNSET + rental_sales: Union[Unset, EquipmentItemputResponseSchemaDataRentalSales] = UNSET _rental_sales = d.pop("rental_sales", UNSET) if not isinstance(_rental_sales, Unset): - rental_sales = MateriaalItemgetResponseSchemaDataRentalSales(_rental_sales) + rental_sales = EquipmentItemputResponseSchemaDataRentalSales(_rental_sales) temporary = d.pop("temporary", UNSET) @@ -345,10 +345,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive = d.pop("in_archive", UNSET) - stock_management: Union[Unset, MateriaalItemgetResponseSchemaDataStockManagement] = UNSET + stock_management: Union[Unset, EquipmentItemputResponseSchemaDataStockManagement] = UNSET _stock_management = d.pop("stock_management", UNSET) if not isinstance(_stock_management, Unset): - stock_management = MateriaalItemgetResponseSchemaDataStockManagement(_stock_management) + stock_management = EquipmentItemputResponseSchemaDataStockManagement(_stock_management) taxclass = d.pop("taxclass", UNSET) @@ -370,10 +370,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: current = d.pop("current", UNSET) - country_of_origin: Union[Unset, MateriaalItemgetResponseSchemaDataCountryOfOrigin] = UNSET + country_of_origin: Union[Unset, EquipmentItemputResponseSchemaDataCountryOfOrigin] = UNSET _country_of_origin = d.pop("country_of_origin", UNSET) if not isinstance(_country_of_origin, Unset): - country_of_origin = MateriaalItemgetResponseSchemaDataCountryOfOrigin(_country_of_origin) + country_of_origin = EquipmentItemputResponseSchemaDataCountryOfOrigin(_country_of_origin) image = d.pop("image", UNSET) @@ -383,10 +383,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_combination = d.pop("is_combination", UNSET) - is_physical: Union[Unset, MateriaalItemgetResponseSchemaDataIsPhysical] = UNSET + is_physical: Union[Unset, EquipmentItemputResponseSchemaDataIsPhysical] = UNSET _is_physical = d.pop("is_physical", UNSET) if not isinstance(_is_physical, Unset): - is_physical = MateriaalItemgetResponseSchemaDataIsPhysical(_is_physical) + is_physical = EquipmentItemputResponseSchemaDataIsPhysical(_is_physical) can_edit_content_during_planning = d.pop("can_edit_content_during_planning", UNSET) @@ -406,12 +406,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: quantity_in_cases = d.pop("quantity_in_cases", UNSET) - custom: Union[Unset, MateriaalItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, EquipmentItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = MateriaalItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = EquipmentItemputResponseSchemaDataCustom.from_dict(_custom) - materiaal_itemget_response_schema_data = cls( + equipment_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -468,8 +468,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - materiaal_itemget_response_schema_data.additional_properties = d - return materiaal_itemget_response_schema_data + equipment_itemput_response_schema_data.additional_properties = d + return equipment_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itemput_response_schema_data_country_of_origin.py b/rentman_api_client/models/equipment_itemput_response_schema_data_country_of_origin.py similarity index 97% rename from rentman_api_client/models/materiaal_itemput_response_schema_data_country_of_origin.py rename to rentman_api_client/models/equipment_itemput_response_schema_data_country_of_origin.py index 7c9a821..e85f724 100644 --- a/rentman_api_client/models/materiaal_itemput_response_schema_data_country_of_origin.py +++ b/rentman_api_client/models/equipment_itemput_response_schema_data_country_of_origin.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemputResponseSchemaDataCountryOfOrigin(str, Enum): +class EquipmentItemputResponseSchemaDataCountryOfOrigin(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/functie_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/equipment_itemput_response_schema_data_custom.py similarity index 78% rename from rentman_api_client/models/functie_collectionget_response_schema_data_item_custom.py rename to rentman_api_client/models/equipment_itemput_response_schema_data_custom.py index 97df7e6..3034b0e 100644 --- a/rentman_api_client/models/functie_collectionget_response_schema_data_item_custom.py +++ b/rentman_api_client/models/equipment_itemput_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="FunctieCollectiongetResponseSchemaDataItemCustom") +T = TypeVar("T", bound="EquipmentItemputResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class FunctieCollectiongetResponseSchemaDataItemCustom: +class EquipmentItemputResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - functie_collectionget_response_schema_data_item_custom = cls() + equipment_itemput_response_schema_data_custom = cls() - functie_collectionget_response_schema_data_item_custom.additional_properties = d - return functie_collectionget_response_schema_data_item_custom + equipment_itemput_response_schema_data_custom.additional_properties = d + return equipment_itemput_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/equipment_itemput_response_schema_data_is_physical.py b/rentman_api_client/models/equipment_itemput_response_schema_data_is_physical.py new file mode 100644 index 0000000..805577d --- /dev/null +++ b/rentman_api_client/models/equipment_itemput_response_schema_data_is_physical.py @@ -0,0 +1,9 @@ +from enum import Enum + + +class EquipmentItemputResponseSchemaDataIsPhysical(str, Enum): + VIRTUAL_PACKAGE = "Virtual package" + PHYSICAL_EQUIPMENT = "Physical equipment" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/equipment_itemput_response_schema_data_rental_sales.py b/rentman_api_client/models/equipment_itemput_response_schema_data_rental_sales.py new file mode 100644 index 0000000..6644bfb --- /dev/null +++ b/rentman_api_client/models/equipment_itemput_response_schema_data_rental_sales.py @@ -0,0 +1,9 @@ +from enum import Enum + + +class EquipmentItemputResponseSchemaDataRentalSales(str, Enum): + SALE = "Sale" + RENTAL = "Rental" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/materiaal_itemget_response_schema_data_stock_management.py b/rentman_api_client/models/equipment_itemput_response_schema_data_stock_management.py similarity index 74% rename from rentman_api_client/models/materiaal_itemget_response_schema_data_stock_management.py rename to rentman_api_client/models/equipment_itemput_response_schema_data_stock_management.py index 4fd89e7..5aa6fe4 100644 --- a/rentman_api_client/models/materiaal_itemget_response_schema_data_stock_management.py +++ b/rentman_api_client/models/equipment_itemput_response_schema_data_stock_management.py @@ -1,7 +1,7 @@ from enum import Enum -class MateriaalItemgetResponseSchemaDataStockManagement(str, Enum): +class EquipmentItemputResponseSchemaDataStockManagement(str, Enum): EXCLUDE_FROM_STOCK_TRACKING = "Exclude from stock tracking" TRACK_STOCK = "Track stock" diff --git a/rentman_api_client/models/equipment_itemput_response_schema_data_type.py b/rentman_api_client/models/equipment_itemput_response_schema_data_type.py new file mode 100644 index 0000000..8f99437 --- /dev/null +++ b/rentman_api_client/models/equipment_itemput_response_schema_data_type.py @@ -0,0 +1,10 @@ +from enum import Enum + + +class EquipmentItemputResponseSchemaDataType(str, Enum): + SET = "set" + CASE = "case" + ITEM = "item" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/equipmentsetscontent_collectionget_response_schema.py b/rentman_api_client/models/equipmentsetscontent_collectionget_response_schema.py new file mode 100644 index 0000000..c52b230 --- /dev/null +++ b/rentman_api_client/models/equipmentsetscontent_collectionget_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.equipmentsetscontent_collectionget_response_schema_data_item import ( + EquipmentsetscontentCollectiongetResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="EquipmentsetscontentCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class EquipmentsetscontentCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[EquipmentsetscontentCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = EquipmentsetscontentCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + equipmentsetscontent_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + equipmentsetscontent_collectionget_response_schema.additional_properties = d + return equipmentsetscontent_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_collectionget_response_schema_data_item.py b/rentman_api_client/models/equipmentsetscontent_collectionget_response_schema_data_item.py similarity index 82% rename from rentman_api_client/models/setinhoud_collectionget_response_schema_data_item.py rename to rentman_api_client/models/equipmentsetscontent_collectionget_response_schema_data_item.py index 8001d25..7dea212 100644 --- a/rentman_api_client/models/setinhoud_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/equipmentsetscontent_collectionget_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.setinhoud_collectionget_response_schema_data_item_is_fixed import ( - SetinhoudCollectiongetResponseSchemaDataItemIsFixed, +from ..models.equipmentsetscontent_collectionget_response_schema_data_item_is_fixed import ( + EquipmentsetscontentCollectiongetResponseSchemaDataItemIsFixed, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="SetinhoudCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="EquipmentsetscontentCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class SetinhoudCollectiongetResponseSchemaDataItem: +class EquipmentsetscontentCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -25,7 +25,7 @@ class SetinhoudCollectiongetResponseSchemaDataItem: parent_equipment: Union[Unset, str] = UNSET order: Union[Unset, str] = UNSET equipment: Union[Unset, str] = UNSET - is_fixed: Union[Unset, SetinhoudCollectiongetResponseSchemaDataItemIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentCollectiongetResponseSchemaDataItemIsFixed] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -101,12 +101,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: equipment = d.pop("equipment", UNSET) - is_fixed: Union[Unset, SetinhoudCollectiongetResponseSchemaDataItemIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentCollectiongetResponseSchemaDataItemIsFixed] = UNSET _is_fixed = d.pop("is_fixed", UNSET) if not isinstance(_is_fixed, Unset): - is_fixed = SetinhoudCollectiongetResponseSchemaDataItemIsFixed(_is_fixed) + is_fixed = EquipmentsetscontentCollectiongetResponseSchemaDataItemIsFixed(_is_fixed) - setinhoud_collectionget_response_schema_data_item = cls( + equipmentsetscontent_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -119,8 +119,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_fixed=is_fixed, ) - setinhoud_collectionget_response_schema_data_item.additional_properties = d - return setinhoud_collectionget_response_schema_data_item + equipmentsetscontent_collectionget_response_schema_data_item.additional_properties = d + return equipmentsetscontent_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/equipmentsetscontent_collectionget_response_schema_data_item_is_fixed.py b/rentman_api_client/models/equipmentsetscontent_collectionget_response_schema_data_item_is_fixed.py new file mode 100644 index 0000000..193404a --- /dev/null +++ b/rentman_api_client/models/equipmentsetscontent_collectionget_response_schema_data_item_is_fixed.py @@ -0,0 +1,9 @@ +from enum import Enum + + +class EquipmentsetscontentCollectiongetResponseSchemaDataItemIsFixed(str, Enum): + AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" + RESERVED_FROM_STOCK = "Reserved from stock" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema.py b/rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema.py new file mode 100644 index 0000000..d6ce4f3 --- /dev/null +++ b/rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.equipmentsetscontent_collectionpost_response_schema_data_item import ( + EquipmentsetscontentCollectionpostResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="EquipmentsetscontentCollectionpostResponseSchema") + + +@attr.s(auto_attribs=True) +class EquipmentsetscontentCollectionpostResponseSchema: + """ """ + + data: Union[Unset, List[EquipmentsetscontentCollectionpostResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = EquipmentsetscontentCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + equipmentsetscontent_collectionpost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + equipmentsetscontent_collectionpost_response_schema.additional_properties = d + return equipmentsetscontent_collectionpost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_collectionput_response_schema_data_item.py b/rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema_data_item.py similarity index 82% rename from rentman_api_client/models/setinhoud_collectionput_response_schema_data_item.py rename to rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema_data_item.py index bab64f5..417a231 100644 --- a/rentman_api_client/models/setinhoud_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.setinhoud_collectionput_response_schema_data_item_is_fixed import ( - SetinhoudCollectionputResponseSchemaDataItemIsFixed, +from ..models.equipmentsetscontent_collectionpost_response_schema_data_item_is_fixed import ( + EquipmentsetscontentCollectionpostResponseSchemaDataItemIsFixed, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="SetinhoudCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="EquipmentsetscontentCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class SetinhoudCollectionputResponseSchemaDataItem: +class EquipmentsetscontentCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -25,7 +25,7 @@ class SetinhoudCollectionputResponseSchemaDataItem: parent_equipment: Union[Unset, str] = UNSET order: Union[Unset, str] = UNSET equipment: Union[Unset, str] = UNSET - is_fixed: Union[Unset, SetinhoudCollectionputResponseSchemaDataItemIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentCollectionpostResponseSchemaDataItemIsFixed] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -101,12 +101,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: equipment = d.pop("equipment", UNSET) - is_fixed: Union[Unset, SetinhoudCollectionputResponseSchemaDataItemIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentCollectionpostResponseSchemaDataItemIsFixed] = UNSET _is_fixed = d.pop("is_fixed", UNSET) if not isinstance(_is_fixed, Unset): - is_fixed = SetinhoudCollectionputResponseSchemaDataItemIsFixed(_is_fixed) + is_fixed = EquipmentsetscontentCollectionpostResponseSchemaDataItemIsFixed(_is_fixed) - setinhoud_collectionput_response_schema_data_item = cls( + equipmentsetscontent_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -119,8 +119,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_fixed=is_fixed, ) - setinhoud_collectionput_response_schema_data_item.additional_properties = d - return setinhoud_collectionput_response_schema_data_item + equipmentsetscontent_collectionpost_response_schema_data_item.additional_properties = d + return equipmentsetscontent_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema_data_item_is_fixed.py b/rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema_data_item_is_fixed.py new file mode 100644 index 0000000..9be83c0 --- /dev/null +++ b/rentman_api_client/models/equipmentsetscontent_collectionpost_response_schema_data_item_is_fixed.py @@ -0,0 +1,9 @@ +from enum import Enum + + +class EquipmentsetscontentCollectionpostResponseSchemaDataItemIsFixed(str, Enum): + AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" + RESERVED_FROM_STOCK = "Reserved from stock" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/equipmentsetscontent_collectionput_response_schema.py b/rentman_api_client/models/equipmentsetscontent_collectionput_response_schema.py new file mode 100644 index 0000000..35bc2f2 --- /dev/null +++ b/rentman_api_client/models/equipmentsetscontent_collectionput_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.equipmentsetscontent_collectionput_response_schema_data_item import ( + EquipmentsetscontentCollectionputResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="EquipmentsetscontentCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class EquipmentsetscontentCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[EquipmentsetscontentCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = EquipmentsetscontentCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + equipmentsetscontent_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + equipmentsetscontent_collectionput_response_schema.additional_properties = d + return equipmentsetscontent_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_collectionpost_response_schema_data_item.py b/rentman_api_client/models/equipmentsetscontent_collectionput_response_schema_data_item.py similarity index 82% rename from rentman_api_client/models/setinhoud_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/equipmentsetscontent_collectionput_response_schema_data_item.py index 6120e39..4a728cd 100644 --- a/rentman_api_client/models/setinhoud_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/equipmentsetscontent_collectionput_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.setinhoud_collectionpost_response_schema_data_item_is_fixed import ( - SetinhoudCollectionpostResponseSchemaDataItemIsFixed, +from ..models.equipmentsetscontent_collectionput_response_schema_data_item_is_fixed import ( + EquipmentsetscontentCollectionputResponseSchemaDataItemIsFixed, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="SetinhoudCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="EquipmentsetscontentCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class SetinhoudCollectionpostResponseSchemaDataItem: +class EquipmentsetscontentCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -25,7 +25,7 @@ class SetinhoudCollectionpostResponseSchemaDataItem: parent_equipment: Union[Unset, str] = UNSET order: Union[Unset, str] = UNSET equipment: Union[Unset, str] = UNSET - is_fixed: Union[Unset, SetinhoudCollectionpostResponseSchemaDataItemIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentCollectionputResponseSchemaDataItemIsFixed] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -101,12 +101,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: equipment = d.pop("equipment", UNSET) - is_fixed: Union[Unset, SetinhoudCollectionpostResponseSchemaDataItemIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentCollectionputResponseSchemaDataItemIsFixed] = UNSET _is_fixed = d.pop("is_fixed", UNSET) if not isinstance(_is_fixed, Unset): - is_fixed = SetinhoudCollectionpostResponseSchemaDataItemIsFixed(_is_fixed) + is_fixed = EquipmentsetscontentCollectionputResponseSchemaDataItemIsFixed(_is_fixed) - setinhoud_collectionpost_response_schema_data_item = cls( + equipmentsetscontent_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -119,8 +119,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_fixed=is_fixed, ) - setinhoud_collectionpost_response_schema_data_item.additional_properties = d - return setinhoud_collectionpost_response_schema_data_item + equipmentsetscontent_collectionput_response_schema_data_item.additional_properties = d + return equipmentsetscontent_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/equipmentsetscontent_collectionput_response_schema_data_item_is_fixed.py b/rentman_api_client/models/equipmentsetscontent_collectionput_response_schema_data_item_is_fixed.py new file mode 100644 index 0000000..af248bc --- /dev/null +++ b/rentman_api_client/models/equipmentsetscontent_collectionput_response_schema_data_item_is_fixed.py @@ -0,0 +1,9 @@ +from enum import Enum + + +class EquipmentsetscontentCollectionputResponseSchemaDataItemIsFixed(str, Enum): + AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" + RESERVED_FROM_STOCK = "Reserved from stock" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/setinhoud_itempost_request_schema.py b/rentman_api_client/models/equipmentsetscontent_itemget_request_schema.py similarity index 74% rename from rentman_api_client/models/setinhoud_itempost_request_schema.py rename to rentman_api_client/models/equipmentsetscontent_itemget_request_schema.py index aeb6037..757e5bd 100644 --- a/rentman_api_client/models/setinhoud_itempost_request_schema.py +++ b/rentman_api_client/models/equipmentsetscontent_itemget_request_schema.py @@ -2,20 +2,22 @@ import attr -from ..models.setinhoud_itempost_request_schema_is_fixed import SetinhoudItempostRequestSchemaIsFixed +from ..models.equipmentsetscontent_itemget_request_schema_is_fixed import ( + EquipmentsetscontentItemgetRequestSchemaIsFixed, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="SetinhoudItempostRequestSchema") +T = TypeVar("T", bound="EquipmentsetscontentItemgetRequestSchema") @attr.s(auto_attribs=True) -class SetinhoudItempostRequestSchema: +class EquipmentsetscontentItemgetRequestSchema: """ """ equipment: str quantity: Union[Unset, str] = UNSET order: Union[Unset, str] = UNSET - is_fixed: Union[Unset, SetinhoudItempostRequestSchemaIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItemgetRequestSchemaIsFixed] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -51,20 +53,20 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: order = d.pop("order", UNSET) - is_fixed: Union[Unset, SetinhoudItempostRequestSchemaIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItemgetRequestSchemaIsFixed] = UNSET _is_fixed = d.pop("is_fixed", UNSET) if not isinstance(_is_fixed, Unset): - is_fixed = SetinhoudItempostRequestSchemaIsFixed(_is_fixed) + is_fixed = EquipmentsetscontentItemgetRequestSchemaIsFixed(_is_fixed) - setinhoud_itempost_request_schema = cls( + equipmentsetscontent_itemget_request_schema = cls( equipment=equipment, quantity=quantity, order=order, is_fixed=is_fixed, ) - setinhoud_itempost_request_schema.additional_properties = d - return setinhoud_itempost_request_schema + equipmentsetscontent_itemget_request_schema.additional_properties = d + return equipmentsetscontent_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/setinhoud_itemget_request_schema_is_fixed.py b/rentman_api_client/models/equipmentsetscontent_itemget_request_schema_is_fixed.py similarity index 76% rename from rentman_api_client/models/setinhoud_itemget_request_schema_is_fixed.py rename to rentman_api_client/models/equipmentsetscontent_itemget_request_schema_is_fixed.py index 677892d..5ccf2c2 100644 --- a/rentman_api_client/models/setinhoud_itemget_request_schema_is_fixed.py +++ b/rentman_api_client/models/equipmentsetscontent_itemget_request_schema_is_fixed.py @@ -1,7 +1,7 @@ from enum import Enum -class SetinhoudItemgetRequestSchemaIsFixed(str, Enum): +class EquipmentsetscontentItemgetRequestSchemaIsFixed(str, Enum): AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" RESERVED_FROM_STOCK = "Reserved from stock" diff --git a/rentman_api_client/models/equipmentsetscontent_itemget_response_schema.py b/rentman_api_client/models/equipmentsetscontent_itemget_response_schema.py new file mode 100644 index 0000000..77d9cdb --- /dev/null +++ b/rentman_api_client/models/equipmentsetscontent_itemget_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.equipmentsetscontent_itemget_response_schema_data import EquipmentsetscontentItemgetResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="EquipmentsetscontentItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class EquipmentsetscontentItemgetResponseSchema: + """ """ + + data: Union[Unset, EquipmentsetscontentItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, EquipmentsetscontentItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = EquipmentsetscontentItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + equipmentsetscontent_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + equipmentsetscontent_itemget_response_schema.additional_properties = d + return equipmentsetscontent_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_itemput_response_schema_data.py b/rentman_api_client/models/equipmentsetscontent_itemget_response_schema_data.py similarity index 84% rename from rentman_api_client/models/setinhoud_itemput_response_schema_data.py rename to rentman_api_client/models/equipmentsetscontent_itemget_response_schema_data.py index 889d45d..105eada 100644 --- a/rentman_api_client/models/setinhoud_itemput_response_schema_data.py +++ b/rentman_api_client/models/equipmentsetscontent_itemget_response_schema_data.py @@ -4,14 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.setinhoud_itemput_response_schema_data_is_fixed import SetinhoudItemputResponseSchemaDataIsFixed +from ..models.equipmentsetscontent_itemget_response_schema_data_is_fixed import ( + EquipmentsetscontentItemgetResponseSchemaDataIsFixed, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="SetinhoudItemputResponseSchemaData") +T = TypeVar("T", bound="EquipmentsetscontentItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class SetinhoudItemputResponseSchemaData: +class EquipmentsetscontentItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -23,7 +25,7 @@ class SetinhoudItemputResponseSchemaData: parent_equipment: Union[Unset, str] = UNSET order: Union[Unset, str] = UNSET equipment: Union[Unset, str] = UNSET - is_fixed: Union[Unset, SetinhoudItemputResponseSchemaDataIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItemgetResponseSchemaDataIsFixed] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -99,12 +101,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: equipment = d.pop("equipment", UNSET) - is_fixed: Union[Unset, SetinhoudItemputResponseSchemaDataIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItemgetResponseSchemaDataIsFixed] = UNSET _is_fixed = d.pop("is_fixed", UNSET) if not isinstance(_is_fixed, Unset): - is_fixed = SetinhoudItemputResponseSchemaDataIsFixed(_is_fixed) + is_fixed = EquipmentsetscontentItemgetResponseSchemaDataIsFixed(_is_fixed) - setinhoud_itemput_response_schema_data = cls( + equipmentsetscontent_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -117,8 +119,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_fixed=is_fixed, ) - setinhoud_itemput_response_schema_data.additional_properties = d - return setinhoud_itemput_response_schema_data + equipmentsetscontent_itemget_response_schema_data.additional_properties = d + return equipmentsetscontent_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/setinhoud_collectionpost_response_schema_data_item_is_fixed.py b/rentman_api_client/models/equipmentsetscontent_itemget_response_schema_data_is_fixed.py similarity index 77% rename from rentman_api_client/models/setinhoud_collectionpost_response_schema_data_item_is_fixed.py rename to rentman_api_client/models/equipmentsetscontent_itemget_response_schema_data_is_fixed.py index 4bb6147..e938427 100644 --- a/rentman_api_client/models/setinhoud_collectionpost_response_schema_data_item_is_fixed.py +++ b/rentman_api_client/models/equipmentsetscontent_itemget_response_schema_data_is_fixed.py @@ -1,7 +1,7 @@ from enum import Enum -class SetinhoudCollectionpostResponseSchemaDataItemIsFixed(str, Enum): +class EquipmentsetscontentItemgetResponseSchemaDataIsFixed(str, Enum): AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" RESERVED_FROM_STOCK = "Reserved from stock" diff --git a/rentman_api_client/models/setinhoud_itemget_request_schema.py b/rentman_api_client/models/equipmentsetscontent_itempost_request_schema.py similarity index 73% rename from rentman_api_client/models/setinhoud_itemget_request_schema.py rename to rentman_api_client/models/equipmentsetscontent_itempost_request_schema.py index 2a1a3e2..2339968 100644 --- a/rentman_api_client/models/setinhoud_itemget_request_schema.py +++ b/rentman_api_client/models/equipmentsetscontent_itempost_request_schema.py @@ -2,20 +2,22 @@ import attr -from ..models.setinhoud_itemget_request_schema_is_fixed import SetinhoudItemgetRequestSchemaIsFixed +from ..models.equipmentsetscontent_itempost_request_schema_is_fixed import ( + EquipmentsetscontentItempostRequestSchemaIsFixed, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="SetinhoudItemgetRequestSchema") +T = TypeVar("T", bound="EquipmentsetscontentItempostRequestSchema") @attr.s(auto_attribs=True) -class SetinhoudItemgetRequestSchema: +class EquipmentsetscontentItempostRequestSchema: """ """ equipment: str quantity: Union[Unset, str] = UNSET order: Union[Unset, str] = UNSET - is_fixed: Union[Unset, SetinhoudItemgetRequestSchemaIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItempostRequestSchemaIsFixed] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -51,20 +53,20 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: order = d.pop("order", UNSET) - is_fixed: Union[Unset, SetinhoudItemgetRequestSchemaIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItempostRequestSchemaIsFixed] = UNSET _is_fixed = d.pop("is_fixed", UNSET) if not isinstance(_is_fixed, Unset): - is_fixed = SetinhoudItemgetRequestSchemaIsFixed(_is_fixed) + is_fixed = EquipmentsetscontentItempostRequestSchemaIsFixed(_is_fixed) - setinhoud_itemget_request_schema = cls( + equipmentsetscontent_itempost_request_schema = cls( equipment=equipment, quantity=quantity, order=order, is_fixed=is_fixed, ) - setinhoud_itemget_request_schema.additional_properties = d - return setinhoud_itemget_request_schema + equipmentsetscontent_itempost_request_schema.additional_properties = d + return equipmentsetscontent_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/setinhoud_itempost_response_schema_data_is_fixed.py b/rentman_api_client/models/equipmentsetscontent_itempost_request_schema_is_fixed.py similarity index 75% rename from rentman_api_client/models/setinhoud_itempost_response_schema_data_is_fixed.py rename to rentman_api_client/models/equipmentsetscontent_itempost_request_schema_is_fixed.py index d5690da..6dab6d3 100644 --- a/rentman_api_client/models/setinhoud_itempost_response_schema_data_is_fixed.py +++ b/rentman_api_client/models/equipmentsetscontent_itempost_request_schema_is_fixed.py @@ -1,7 +1,7 @@ from enum import Enum -class SetinhoudItempostResponseSchemaDataIsFixed(str, Enum): +class EquipmentsetscontentItempostRequestSchemaIsFixed(str, Enum): AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" RESERVED_FROM_STOCK = "Reserved from stock" diff --git a/rentman_api_client/models/planningpersoneel_itemget_response_schema.py b/rentman_api_client/models/equipmentsetscontent_itempost_response_schema.py similarity index 75% rename from rentman_api_client/models/planningpersoneel_itemget_response_schema.py rename to rentman_api_client/models/equipmentsetscontent_itempost_response_schema.py index 299516d..93f1eb6 100644 --- a/rentman_api_client/models/planningpersoneel_itemget_response_schema.py +++ b/rentman_api_client/models/equipmentsetscontent_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.planningpersoneel_itemget_response_schema_data import PlanningpersoneelItemgetResponseSchemaData +from ..models.equipmentsetscontent_itempost_response_schema_data import EquipmentsetscontentItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningpersoneelItemgetResponseSchema") +T = TypeVar("T", bound="EquipmentsetscontentItempostResponseSchema") @attr.s(auto_attribs=True) -class PlanningpersoneelItemgetResponseSchema: +class EquipmentsetscontentItempostResponseSchema: """ """ - data: Union[Unset, PlanningpersoneelItemgetResponseSchemaData] = UNSET + data: Union[Unset, EquipmentsetscontentItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, PlanningpersoneelItemgetResponseSchemaData] = UNSET + data: Union[Unset, EquipmentsetscontentItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = PlanningpersoneelItemgetResponseSchemaData.from_dict(_data) + data = EquipmentsetscontentItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - planningpersoneel_itemget_response_schema = cls( + equipmentsetscontent_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - planningpersoneel_itemget_response_schema.additional_properties = d - return planningpersoneel_itemget_response_schema + equipmentsetscontent_itempost_response_schema.additional_properties = d + return equipmentsetscontent_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/setinhoud_itemget_response_schema_data.py b/rentman_api_client/models/equipmentsetscontent_itempost_response_schema_data.py similarity index 84% rename from rentman_api_client/models/setinhoud_itemget_response_schema_data.py rename to rentman_api_client/models/equipmentsetscontent_itempost_response_schema_data.py index a91fc12..52a4e1d 100644 --- a/rentman_api_client/models/setinhoud_itemget_response_schema_data.py +++ b/rentman_api_client/models/equipmentsetscontent_itempost_response_schema_data.py @@ -4,14 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.setinhoud_itemget_response_schema_data_is_fixed import SetinhoudItemgetResponseSchemaDataIsFixed +from ..models.equipmentsetscontent_itempost_response_schema_data_is_fixed import ( + EquipmentsetscontentItempostResponseSchemaDataIsFixed, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="SetinhoudItemgetResponseSchemaData") +T = TypeVar("T", bound="EquipmentsetscontentItempostResponseSchemaData") @attr.s(auto_attribs=True) -class SetinhoudItemgetResponseSchemaData: +class EquipmentsetscontentItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -23,7 +25,7 @@ class SetinhoudItemgetResponseSchemaData: parent_equipment: Union[Unset, str] = UNSET order: Union[Unset, str] = UNSET equipment: Union[Unset, str] = UNSET - is_fixed: Union[Unset, SetinhoudItemgetResponseSchemaDataIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItempostResponseSchemaDataIsFixed] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -99,12 +101,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: equipment = d.pop("equipment", UNSET) - is_fixed: Union[Unset, SetinhoudItemgetResponseSchemaDataIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItempostResponseSchemaDataIsFixed] = UNSET _is_fixed = d.pop("is_fixed", UNSET) if not isinstance(_is_fixed, Unset): - is_fixed = SetinhoudItemgetResponseSchemaDataIsFixed(_is_fixed) + is_fixed = EquipmentsetscontentItempostResponseSchemaDataIsFixed(_is_fixed) - setinhoud_itemget_response_schema_data = cls( + equipmentsetscontent_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -117,8 +119,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_fixed=is_fixed, ) - setinhoud_itemget_response_schema_data.additional_properties = d - return setinhoud_itemget_response_schema_data + equipmentsetscontent_itempost_response_schema_data.additional_properties = d + return equipmentsetscontent_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/setinhoud_collectionget_response_schema_data_item_is_fixed.py b/rentman_api_client/models/equipmentsetscontent_itempost_response_schema_data_is_fixed.py similarity index 74% rename from rentman_api_client/models/setinhoud_collectionget_response_schema_data_item_is_fixed.py rename to rentman_api_client/models/equipmentsetscontent_itempost_response_schema_data_is_fixed.py index 3604dbc..7d01e32 100644 --- a/rentman_api_client/models/setinhoud_collectionget_response_schema_data_item_is_fixed.py +++ b/rentman_api_client/models/equipmentsetscontent_itempost_response_schema_data_is_fixed.py @@ -1,7 +1,7 @@ from enum import Enum -class SetinhoudCollectiongetResponseSchemaDataItemIsFixed(str, Enum): +class EquipmentsetscontentItempostResponseSchemaDataIsFixed(str, Enum): AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" RESERVED_FROM_STOCK = "Reserved from stock" diff --git a/rentman_api_client/models/setinhoud_itemput_request_schema.py b/rentman_api_client/models/equipmentsetscontent_itemput_request_schema.py similarity index 74% rename from rentman_api_client/models/setinhoud_itemput_request_schema.py rename to rentman_api_client/models/equipmentsetscontent_itemput_request_schema.py index 272c0e9..d6ef317 100644 --- a/rentman_api_client/models/setinhoud_itemput_request_schema.py +++ b/rentman_api_client/models/equipmentsetscontent_itemput_request_schema.py @@ -2,20 +2,22 @@ import attr -from ..models.setinhoud_itemput_request_schema_is_fixed import SetinhoudItemputRequestSchemaIsFixed +from ..models.equipmentsetscontent_itemput_request_schema_is_fixed import ( + EquipmentsetscontentItemputRequestSchemaIsFixed, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="SetinhoudItemputRequestSchema") +T = TypeVar("T", bound="EquipmentsetscontentItemputRequestSchema") @attr.s(auto_attribs=True) -class SetinhoudItemputRequestSchema: +class EquipmentsetscontentItemputRequestSchema: """ """ equipment: str quantity: Union[Unset, str] = UNSET order: Union[Unset, str] = UNSET - is_fixed: Union[Unset, SetinhoudItemputRequestSchemaIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItemputRequestSchemaIsFixed] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -51,20 +53,20 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: order = d.pop("order", UNSET) - is_fixed: Union[Unset, SetinhoudItemputRequestSchemaIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItemputRequestSchemaIsFixed] = UNSET _is_fixed = d.pop("is_fixed", UNSET) if not isinstance(_is_fixed, Unset): - is_fixed = SetinhoudItemputRequestSchemaIsFixed(_is_fixed) + is_fixed = EquipmentsetscontentItemputRequestSchemaIsFixed(_is_fixed) - setinhoud_itemput_request_schema = cls( + equipmentsetscontent_itemput_request_schema = cls( equipment=equipment, quantity=quantity, order=order, is_fixed=is_fixed, ) - setinhoud_itemput_request_schema.additional_properties = d - return setinhoud_itemput_request_schema + equipmentsetscontent_itemput_request_schema.additional_properties = d + return equipmentsetscontent_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/setinhoud_itempost_request_schema_is_fixed.py b/rentman_api_client/models/equipmentsetscontent_itemput_request_schema_is_fixed.py similarity index 76% rename from rentman_api_client/models/setinhoud_itempost_request_schema_is_fixed.py rename to rentman_api_client/models/equipmentsetscontent_itemput_request_schema_is_fixed.py index b43ee8a..a879eee 100644 --- a/rentman_api_client/models/setinhoud_itempost_request_schema_is_fixed.py +++ b/rentman_api_client/models/equipmentsetscontent_itemput_request_schema_is_fixed.py @@ -1,7 +1,7 @@ from enum import Enum -class SetinhoudItempostRequestSchemaIsFixed(str, Enum): +class EquipmentsetscontentItemputRequestSchemaIsFixed(str, Enum): AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" RESERVED_FROM_STOCK = "Reserved from stock" diff --git a/rentman_api_client/models/equipmentsetscontent_itemput_response_schema.py b/rentman_api_client/models/equipmentsetscontent_itemput_response_schema.py new file mode 100644 index 0000000..8d21a70 --- /dev/null +++ b/rentman_api_client/models/equipmentsetscontent_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.equipmentsetscontent_itemput_response_schema_data import EquipmentsetscontentItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="EquipmentsetscontentItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class EquipmentsetscontentItemputResponseSchema: + """ """ + + data: Union[Unset, EquipmentsetscontentItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, EquipmentsetscontentItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = EquipmentsetscontentItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + equipmentsetscontent_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + equipmentsetscontent_itemput_response_schema.additional_properties = d + return equipmentsetscontent_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_itempost_response_schema_data.py b/rentman_api_client/models/equipmentsetscontent_itemput_response_schema_data.py similarity index 84% rename from rentman_api_client/models/setinhoud_itempost_response_schema_data.py rename to rentman_api_client/models/equipmentsetscontent_itemput_response_schema_data.py index eb47511..6c21908 100644 --- a/rentman_api_client/models/setinhoud_itempost_response_schema_data.py +++ b/rentman_api_client/models/equipmentsetscontent_itemput_response_schema_data.py @@ -4,14 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.setinhoud_itempost_response_schema_data_is_fixed import SetinhoudItempostResponseSchemaDataIsFixed +from ..models.equipmentsetscontent_itemput_response_schema_data_is_fixed import ( + EquipmentsetscontentItemputResponseSchemaDataIsFixed, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="SetinhoudItempostResponseSchemaData") +T = TypeVar("T", bound="EquipmentsetscontentItemputResponseSchemaData") @attr.s(auto_attribs=True) -class SetinhoudItempostResponseSchemaData: +class EquipmentsetscontentItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -23,7 +25,7 @@ class SetinhoudItempostResponseSchemaData: parent_equipment: Union[Unset, str] = UNSET order: Union[Unset, str] = UNSET equipment: Union[Unset, str] = UNSET - is_fixed: Union[Unset, SetinhoudItempostResponseSchemaDataIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItemputResponseSchemaDataIsFixed] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -99,12 +101,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: equipment = d.pop("equipment", UNSET) - is_fixed: Union[Unset, SetinhoudItempostResponseSchemaDataIsFixed] = UNSET + is_fixed: Union[Unset, EquipmentsetscontentItemputResponseSchemaDataIsFixed] = UNSET _is_fixed = d.pop("is_fixed", UNSET) if not isinstance(_is_fixed, Unset): - is_fixed = SetinhoudItempostResponseSchemaDataIsFixed(_is_fixed) + is_fixed = EquipmentsetscontentItemputResponseSchemaDataIsFixed(_is_fixed) - setinhoud_itempost_response_schema_data = cls( + equipmentsetscontent_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -117,8 +119,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_fixed=is_fixed, ) - setinhoud_itempost_response_schema_data.additional_properties = d - return setinhoud_itempost_response_schema_data + equipmentsetscontent_itemput_response_schema_data.additional_properties = d + return equipmentsetscontent_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/setinhoud_collectionput_response_schema_data_item_is_fixed.py b/rentman_api_client/models/equipmentsetscontent_itemput_response_schema_data_is_fixed.py similarity index 74% rename from rentman_api_client/models/setinhoud_collectionput_response_schema_data_item_is_fixed.py rename to rentman_api_client/models/equipmentsetscontent_itemput_response_schema_data_is_fixed.py index 74158db..72d2fc6 100644 --- a/rentman_api_client/models/setinhoud_collectionput_response_schema_data_item_is_fixed.py +++ b/rentman_api_client/models/equipmentsetscontent_itemput_response_schema_data_is_fixed.py @@ -1,7 +1,7 @@ from enum import Enum -class SetinhoudCollectionputResponseSchemaDataItemIsFixed(str, Enum): +class EquipmentsetscontentItemputResponseSchemaDataIsFixed(str, Enum): AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" RESERVED_FROM_STOCK = "Reserved from stock" diff --git a/rentman_api_client/models/exemplaar_collectionput_response_schema.py b/rentman_api_client/models/exemplaar_collectionput_response_schema.py deleted file mode 100644 index f431286..0000000 --- a/rentman_api_client/models/exemplaar_collectionput_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.exemplaar_collectionput_response_schema_data_item import ExemplaarCollectionputResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="ExemplaarCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class ExemplaarCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[ExemplaarCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = ExemplaarCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - exemplaar_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - exemplaar_collectionput_response_schema.additional_properties = d - return exemplaar_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/exemplaar_itemput_response_schema.py b/rentman_api_client/models/exemplaar_itemput_response_schema.py deleted file mode 100644 index bc59a0c..0000000 --- a/rentman_api_client/models/exemplaar_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.exemplaar_itemput_response_schema_data import ExemplaarItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="ExemplaarItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class ExemplaarItemputResponseSchema: - """ """ - - data: Union[Unset, ExemplaarItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, ExemplaarItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = ExemplaarItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - exemplaar_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - exemplaar_itemput_response_schema.additional_properties = d - return exemplaar_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/factuur_itemput_response_schema.py b/rentman_api_client/models/factuur_itemput_response_schema.py deleted file mode 100644 index 1ae8bf5..0000000 --- a/rentman_api_client/models/factuur_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.factuur_itemput_response_schema_data import FactuurItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="FactuurItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class FactuurItemputResponseSchema: - """ """ - - data: Union[Unset, FactuurItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, FactuurItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = FactuurItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - factuur_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - factuur_itemput_response_schema.additional_properties = d - return factuur_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/type_collectionget_response_schema.py b/rentman_api_client/models/file_collectionget_response_schema.py similarity index 81% rename from rentman_api_client/models/type_collectionget_response_schema.py rename to rentman_api_client/models/file_collectionget_response_schema.py index 84ea237..93335f5 100644 --- a/rentman_api_client/models/type_collectionget_response_schema.py +++ b/rentman_api_client/models/file_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.type_collectionget_response_schema_data_item import TypeCollectiongetResponseSchemaDataItem +from ..models.file_collectionget_response_schema_data_item import FileCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeCollectiongetResponseSchema") +T = TypeVar("T", bound="FileCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class TypeCollectiongetResponseSchema: +class FileCollectiongetResponseSchema: """ """ - data: Union[Unset, List[TypeCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[FileCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = TypeCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = FileCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - type_collectionget_response_schema = cls( + file_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - type_collectionget_response_schema.additional_properties = d - return type_collectionget_response_schema + file_collectionget_response_schema.additional_properties = d + return file_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_collectionget_response_schema_data_item.py b/rentman_api_client/models/file_collectionget_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/files_collectionget_response_schema_data_item.py rename to rentman_api_client/models/file_collectionget_response_schema_data_item.py index 99e9c91..f8332d3 100644 --- a/rentman_api_client/models/files_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/file_collectionget_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.files_collectionget_response_schema_data_item_previewstatus import ( - FilesCollectiongetResponseSchemaDataItemPreviewstatus, +from ..models.file_collectionget_response_schema_data_item_previewstatus import ( + FileCollectiongetResponseSchemaDataItemPreviewstatus, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="FileCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class FilesCollectiongetResponseSchemaDataItem: +class FileCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -34,7 +34,7 @@ class FilesCollectiongetResponseSchemaDataItem: public: Union[Unset, bool] = UNSET type: Union[Unset, str] = UNSET preview_of: Union[Unset, None, str] = UNSET - previewstatus: Union[Unset, FilesCollectiongetResponseSchemaDataItemPreviewstatus] = UNSET + previewstatus: Union[Unset, FileCollectiongetResponseSchemaDataItemPreviewstatus] = UNSET file_item: Union[Unset, int] = UNSET file_itemtype: Union[Unset, str] = UNSET path: Union[Unset, str] = UNSET @@ -176,10 +176,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: preview_of = d.pop("preview_of", UNSET) - previewstatus: Union[Unset, FilesCollectiongetResponseSchemaDataItemPreviewstatus] = UNSET + previewstatus: Union[Unset, FileCollectiongetResponseSchemaDataItemPreviewstatus] = UNSET _previewstatus = d.pop("previewstatus", UNSET) if not isinstance(_previewstatus, Unset): - previewstatus = FilesCollectiongetResponseSchemaDataItemPreviewstatus(_previewstatus) + previewstatus = FileCollectiongetResponseSchemaDataItemPreviewstatus(_previewstatus) file_item = d.pop("file_item", UNSET) @@ -191,7 +191,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: proxy_url = d.pop("proxy_url", UNSET) - files_collectionget_response_schema_data_item = cls( + file_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -218,8 +218,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: proxy_url=proxy_url, ) - files_collectionget_response_schema_data_item.additional_properties = d - return files_collectionget_response_schema_data_item + file_collectionget_response_schema_data_item.additional_properties = d + return file_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itempost_response_schema_data_previewstatus.py b/rentman_api_client/models/file_collectionget_response_schema_data_item_previewstatus.py similarity index 68% rename from rentman_api_client/models/files_itempost_response_schema_data_previewstatus.py rename to rentman_api_client/models/file_collectionget_response_schema_data_item_previewstatus.py index 2903baf..7338bdc 100644 --- a/rentman_api_client/models/files_itempost_response_schema_data_previewstatus.py +++ b/rentman_api_client/models/file_collectionget_response_schema_data_item_previewstatus.py @@ -1,7 +1,7 @@ from enum import Enum -class FilesItempostResponseSchemaDataPreviewstatus(str, Enum): +class FileCollectiongetResponseSchemaDataItemPreviewstatus(str, Enum): VALUE_False = "False" VALUE_True = "True" FAILED = "failed" diff --git a/rentman_api_client/models/files_collectionget_response_schema.py b/rentman_api_client/models/file_collectionpost_response_schema.py similarity index 81% rename from rentman_api_client/models/files_collectionget_response_schema.py rename to rentman_api_client/models/file_collectionpost_response_schema.py index abd4727..fdf9f58 100644 --- a/rentman_api_client/models/files_collectionget_response_schema.py +++ b/rentman_api_client/models/file_collectionpost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.files_collectionget_response_schema_data_item import FilesCollectiongetResponseSchemaDataItem +from ..models.file_collectionpost_response_schema_data_item import FileCollectionpostResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesCollectiongetResponseSchema") +T = TypeVar("T", bound="FileCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class FilesCollectiongetResponseSchema: +class FileCollectionpostResponseSchema: """ """ - data: Union[Unset, List[FilesCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[FileCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = FilesCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = FileCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - files_collectionget_response_schema = cls( + file_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - files_collectionget_response_schema.additional_properties = d - return files_collectionget_response_schema + file_collectionpost_response_schema.additional_properties = d + return file_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_collectionput_response_schema_data_item.py b/rentman_api_client/models/file_collectionpost_response_schema_data_item.py similarity index 92% rename from rentman_api_client/models/files_collectionput_response_schema_data_item.py rename to rentman_api_client/models/file_collectionpost_response_schema_data_item.py index 99d72be..5fb9e38 100644 --- a/rentman_api_client/models/files_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/file_collectionpost_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.files_collectionput_response_schema_data_item_previewstatus import ( - FilesCollectionputResponseSchemaDataItemPreviewstatus, +from ..models.file_collectionpost_response_schema_data_item_previewstatus import ( + FileCollectionpostResponseSchemaDataItemPreviewstatus, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="FileCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class FilesCollectionputResponseSchemaDataItem: +class FileCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -34,7 +34,7 @@ class FilesCollectionputResponseSchemaDataItem: public: Union[Unset, bool] = UNSET type: Union[Unset, str] = UNSET preview_of: Union[Unset, None, str] = UNSET - previewstatus: Union[Unset, FilesCollectionputResponseSchemaDataItemPreviewstatus] = UNSET + previewstatus: Union[Unset, FileCollectionpostResponseSchemaDataItemPreviewstatus] = UNSET file_item: Union[Unset, int] = UNSET file_itemtype: Union[Unset, str] = UNSET path: Union[Unset, str] = UNSET @@ -176,10 +176,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: preview_of = d.pop("preview_of", UNSET) - previewstatus: Union[Unset, FilesCollectionputResponseSchemaDataItemPreviewstatus] = UNSET + previewstatus: Union[Unset, FileCollectionpostResponseSchemaDataItemPreviewstatus] = UNSET _previewstatus = d.pop("previewstatus", UNSET) if not isinstance(_previewstatus, Unset): - previewstatus = FilesCollectionputResponseSchemaDataItemPreviewstatus(_previewstatus) + previewstatus = FileCollectionpostResponseSchemaDataItemPreviewstatus(_previewstatus) file_item = d.pop("file_item", UNSET) @@ -191,7 +191,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: proxy_url = d.pop("proxy_url", UNSET) - files_collectionput_response_schema_data_item = cls( + file_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -218,8 +218,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: proxy_url=proxy_url, ) - files_collectionput_response_schema_data_item.additional_properties = d - return files_collectionput_response_schema_data_item + file_collectionpost_response_schema_data_item.additional_properties = d + return file_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_collectionget_response_schema_data_item_previewstatus.py b/rentman_api_client/models/file_collectionpost_response_schema_data_item_previewstatus.py similarity index 72% rename from rentman_api_client/models/files_collectionget_response_schema_data_item_previewstatus.py rename to rentman_api_client/models/file_collectionpost_response_schema_data_item_previewstatus.py index c714900..52072d8 100644 --- a/rentman_api_client/models/files_collectionget_response_schema_data_item_previewstatus.py +++ b/rentman_api_client/models/file_collectionpost_response_schema_data_item_previewstatus.py @@ -1,7 +1,7 @@ from enum import Enum -class FilesCollectiongetResponseSchemaDataItemPreviewstatus(str, Enum): +class FileCollectionpostResponseSchemaDataItemPreviewstatus(str, Enum): VALUE_False = "False" VALUE_True = "True" FAILED = "failed" diff --git a/rentman_api_client/models/uren_collectionput_response_schema.py b/rentman_api_client/models/file_collectionput_response_schema.py similarity index 81% rename from rentman_api_client/models/uren_collectionput_response_schema.py rename to rentman_api_client/models/file_collectionput_response_schema.py index e5ca23c..6f13114 100644 --- a/rentman_api_client/models/uren_collectionput_response_schema.py +++ b/rentman_api_client/models/file_collectionput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.uren_collectionput_response_schema_data_item import UrenCollectionputResponseSchemaDataItem +from ..models.file_collectionput_response_schema_data_item import FileCollectionputResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenCollectionputResponseSchema") +T = TypeVar("T", bound="FileCollectionputResponseSchema") @attr.s(auto_attribs=True) -class UrenCollectionputResponseSchema: +class FileCollectionputResponseSchema: """ """ - data: Union[Unset, List[UrenCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[FileCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = UrenCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = FileCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - uren_collectionput_response_schema = cls( + file_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - uren_collectionput_response_schema.additional_properties = d - return uren_collectionput_response_schema + file_collectionput_response_schema.additional_properties = d + return file_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/file_collectionput_response_schema_data_item.py b/rentman_api_client/models/file_collectionput_response_schema_data_item.py new file mode 100644 index 0000000..660eb32 --- /dev/null +++ b/rentman_api_client/models/file_collectionput_response_schema_data_item.py @@ -0,0 +1,238 @@ +import datetime +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr +from dateutil.parser import isoparse + +from ..models.file_collectionput_response_schema_data_item_previewstatus import ( + FileCollectionputResponseSchemaDataItemPreviewstatus, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="FileCollectionputResponseSchemaDataItem") + + +@attr.s(auto_attribs=True) +class FileCollectionputResponseSchemaDataItem: + """ """ + + id: Union[Unset, int] = UNSET + created: Union[Unset, None, datetime.datetime] = UNSET + modified: Union[Unset, None, datetime.datetime] = UNSET + creator: Union[Unset, None, str] = UNSET + displayname: Union[Unset, str] = UNSET + readable_name: Union[Unset, str] = UNSET + expiration: Union[Unset, None, str] = UNSET + size: Union[Unset, int] = UNSET + image: Union[Unset, bool] = UNSET + item: Union[Unset, None, str] = UNSET + itemtype: Union[Unset, None, int] = UNSET + description: Union[Unset, str] = UNSET + in_documents: Union[Unset, bool] = UNSET + in_webshop: Union[Unset, bool] = UNSET + classified: Union[Unset, bool] = UNSET + public: Union[Unset, bool] = UNSET + type: Union[Unset, str] = UNSET + preview_of: Union[Unset, None, str] = UNSET + previewstatus: Union[Unset, FileCollectionputResponseSchemaDataItemPreviewstatus] = UNSET + file_item: Union[Unset, int] = UNSET + file_itemtype: Union[Unset, str] = UNSET + path: Union[Unset, str] = UNSET + url: Union[Unset, str] = UNSET + proxy_url: Union[Unset, str] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + id = self.id + created: Union[Unset, None, str] = UNSET + if not isinstance(self.created, Unset): + created = self.created.isoformat() if self.created else None + + modified: Union[Unset, None, str] = UNSET + if not isinstance(self.modified, Unset): + modified = self.modified.isoformat() if self.modified else None + + creator = self.creator + displayname = self.displayname + readable_name = self.readable_name + expiration = self.expiration + size = self.size + image = self.image + item = self.item + itemtype = self.itemtype + description = self.description + in_documents = self.in_documents + in_webshop = self.in_webshop + classified = self.classified + public = self.public + type = self.type + preview_of = self.preview_of + previewstatus: Union[Unset, bool] = UNSET + if not isinstance(self.previewstatus, Unset): + previewstatus = self.previewstatus.value + + file_item = self.file_item + file_itemtype = self.file_itemtype + path = self.path + url = self.url + proxy_url = self.proxy_url + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if id is not UNSET: + field_dict["id"] = id + if created is not UNSET: + field_dict["created"] = created + if modified is not UNSET: + field_dict["modified"] = modified + if creator is not UNSET: + field_dict["creator"] = creator + if displayname is not UNSET: + field_dict["displayname"] = displayname + if readable_name is not UNSET: + field_dict["readable_name"] = readable_name + if expiration is not UNSET: + field_dict["expiration"] = expiration + if size is not UNSET: + field_dict["size"] = size + if image is not UNSET: + field_dict["image"] = image + if item is not UNSET: + field_dict["item"] = item + if itemtype is not UNSET: + field_dict["itemtype"] = itemtype + if description is not UNSET: + field_dict["description"] = description + if in_documents is not UNSET: + field_dict["in_documents"] = in_documents + if in_webshop is not UNSET: + field_dict["in_webshop"] = in_webshop + if classified is not UNSET: + field_dict["classified"] = classified + if public is not UNSET: + field_dict["public"] = public + if type is not UNSET: + field_dict["type"] = type + if preview_of is not UNSET: + field_dict["preview_of"] = preview_of + if previewstatus is not UNSET: + field_dict["previewstatus"] = previewstatus + if file_item is not UNSET: + field_dict["file_item"] = file_item + if file_itemtype is not UNSET: + field_dict["file_itemtype"] = file_itemtype + if path is not UNSET: + field_dict["path"] = path + if url is not UNSET: + field_dict["url"] = url + if proxy_url is not UNSET: + field_dict["proxy_url"] = proxy_url + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + id = d.pop("id", UNSET) + + created = None + _created = d.pop("created", UNSET) + if _created is not None and not isinstance(_created, Unset): + created = isoparse(_created) + + modified = None + _modified = d.pop("modified", UNSET) + if _modified is not None and not isinstance(_modified, Unset): + modified = isoparse(_modified) + + creator = d.pop("creator", UNSET) + + displayname = d.pop("displayname", UNSET) + + readable_name = d.pop("readable_name", UNSET) + + expiration = d.pop("expiration", UNSET) + + size = d.pop("size", UNSET) + + image = d.pop("image", UNSET) + + item = d.pop("item", UNSET) + + itemtype = d.pop("itemtype", UNSET) + + description = d.pop("description", UNSET) + + in_documents = d.pop("in_documents", UNSET) + + in_webshop = d.pop("in_webshop", UNSET) + + classified = d.pop("classified", UNSET) + + public = d.pop("public", UNSET) + + type = d.pop("type", UNSET) + + preview_of = d.pop("preview_of", UNSET) + + previewstatus: Union[Unset, FileCollectionputResponseSchemaDataItemPreviewstatus] = UNSET + _previewstatus = d.pop("previewstatus", UNSET) + if not isinstance(_previewstatus, Unset): + previewstatus = FileCollectionputResponseSchemaDataItemPreviewstatus(_previewstatus) + + file_item = d.pop("file_item", UNSET) + + file_itemtype = d.pop("file_itemtype", UNSET) + + path = d.pop("path", UNSET) + + url = d.pop("url", UNSET) + + proxy_url = d.pop("proxy_url", UNSET) + + file_collectionput_response_schema_data_item = cls( + id=id, + created=created, + modified=modified, + creator=creator, + displayname=displayname, + readable_name=readable_name, + expiration=expiration, + size=size, + image=image, + item=item, + itemtype=itemtype, + description=description, + in_documents=in_documents, + in_webshop=in_webshop, + classified=classified, + public=public, + type=type, + preview_of=preview_of, + previewstatus=previewstatus, + file_item=file_item, + file_itemtype=file_itemtype, + path=path, + url=url, + proxy_url=proxy_url, + ) + + file_collectionput_response_schema_data_item.additional_properties = d + return file_collectionput_response_schema_data_item + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/file_collectionput_response_schema_data_item_previewstatus.py b/rentman_api_client/models/file_collectionput_response_schema_data_item_previewstatus.py new file mode 100644 index 0000000..ccbba90 --- /dev/null +++ b/rentman_api_client/models/file_collectionput_response_schema_data_item_previewstatus.py @@ -0,0 +1,10 @@ +from enum import Enum + + +class FileCollectionputResponseSchemaDataItemPreviewstatus(str, Enum): + VALUE_False = "False" + VALUE_True = "True" + FAILED = "failed" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/files_itemget_request_schema.py b/rentman_api_client/models/file_itemget_request_schema.py similarity index 89% rename from rentman_api_client/models/files_itemget_request_schema.py rename to rentman_api_client/models/file_itemget_request_schema.py index 572776b..6a57126 100644 --- a/rentman_api_client/models/files_itemget_request_schema.py +++ b/rentman_api_client/models/file_itemget_request_schema.py @@ -2,14 +2,14 @@ import attr -from ..models.files_itemget_request_schema_previewstatus import FilesItemgetRequestSchemaPreviewstatus +from ..models.file_itemget_request_schema_previewstatus import FileItemgetRequestSchemaPreviewstatus from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesItemgetRequestSchema") +T = TypeVar("T", bound="FileItemgetRequestSchema") @attr.s(auto_attribs=True) -class FilesItemgetRequestSchema: +class FileItemgetRequestSchema: """ """ readable_name: Union[Unset, str] = UNSET @@ -24,7 +24,7 @@ class FilesItemgetRequestSchema: public: Union[Unset, bool] = UNSET type: Union[Unset, str] = UNSET preview_of: Union[Unset, None, str] = UNSET - previewstatus: Union[Unset, FilesItemgetRequestSchemaPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItemgetRequestSchemaPreviewstatus] = UNSET file_item: Union[Unset, int] = UNSET file_itemtype: Union[Unset, str] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -112,16 +112,16 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: preview_of = d.pop("preview_of", UNSET) - previewstatus: Union[Unset, FilesItemgetRequestSchemaPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItemgetRequestSchemaPreviewstatus] = UNSET _previewstatus = d.pop("previewstatus", UNSET) if not isinstance(_previewstatus, Unset): - previewstatus = FilesItemgetRequestSchemaPreviewstatus(_previewstatus) + previewstatus = FileItemgetRequestSchemaPreviewstatus(_previewstatus) file_item = d.pop("file_item", UNSET) file_itemtype = d.pop("file_itemtype", UNSET) - files_itemget_request_schema = cls( + file_itemget_request_schema = cls( readable_name=readable_name, expiration=expiration, size=size, @@ -139,8 +139,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: file_itemtype=file_itemtype, ) - files_itemget_request_schema.additional_properties = d - return files_itemget_request_schema + file_itemget_request_schema.additional_properties = d + return file_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itemput_request_schema_previewstatus.py b/rentman_api_client/models/file_itemget_request_schema_previewstatus.py similarity index 73% rename from rentman_api_client/models/files_itemput_request_schema_previewstatus.py rename to rentman_api_client/models/file_itemget_request_schema_previewstatus.py index d72ea3c..3dd47c9 100644 --- a/rentman_api_client/models/files_itemput_request_schema_previewstatus.py +++ b/rentman_api_client/models/file_itemget_request_schema_previewstatus.py @@ -1,7 +1,7 @@ from enum import Enum -class FilesItemputRequestSchemaPreviewstatus(str, Enum): +class FileItemgetRequestSchemaPreviewstatus(str, Enum): VALUE_False = "False" VALUE_True = "True" FAILED = "failed" diff --git a/rentman_api_client/models/uren_itemget_response_schema.py b/rentman_api_client/models/file_itemget_response_schema.py similarity index 80% rename from rentman_api_client/models/uren_itemget_response_schema.py rename to rentman_api_client/models/file_itemget_response_schema.py index 05fcb11..73dfe1f 100644 --- a/rentman_api_client/models/uren_itemget_response_schema.py +++ b/rentman_api_client/models/file_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.uren_itemget_response_schema_data import UrenItemgetResponseSchemaData +from ..models.file_itemget_response_schema_data import FileItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenItemgetResponseSchema") +T = TypeVar("T", bound="FileItemgetResponseSchema") @attr.s(auto_attribs=True) -class UrenItemgetResponseSchema: +class FileItemgetResponseSchema: """ """ - data: Union[Unset, UrenItemgetResponseSchemaData] = UNSET + data: Union[Unset, FileItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, UrenItemgetResponseSchemaData] = UNSET + data: Union[Unset, FileItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = UrenItemgetResponseSchemaData.from_dict(_data) + data = FileItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - uren_itemget_response_schema = cls( + file_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - uren_itemget_response_schema.additional_properties = d - return uren_itemget_response_schema + file_itemget_response_schema.additional_properties = d + return file_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itemget_response_schema_data.py b/rentman_api_client/models/file_itemget_response_schema_data.py similarity index 92% rename from rentman_api_client/models/files_itemget_response_schema_data.py rename to rentman_api_client/models/file_itemget_response_schema_data.py index f086686..dda8b94 100644 --- a/rentman_api_client/models/files_itemget_response_schema_data.py +++ b/rentman_api_client/models/file_itemget_response_schema_data.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.files_itemget_response_schema_data_previewstatus import FilesItemgetResponseSchemaDataPreviewstatus +from ..models.file_itemget_response_schema_data_previewstatus import FileItemgetResponseSchemaDataPreviewstatus from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesItemgetResponseSchemaData") +T = TypeVar("T", bound="FileItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class FilesItemgetResponseSchemaData: +class FileItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -32,7 +32,7 @@ class FilesItemgetResponseSchemaData: public: Union[Unset, bool] = UNSET type: Union[Unset, str] = UNSET preview_of: Union[Unset, None, str] = UNSET - previewstatus: Union[Unset, FilesItemgetResponseSchemaDataPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItemgetResponseSchemaDataPreviewstatus] = UNSET file_item: Union[Unset, int] = UNSET file_itemtype: Union[Unset, str] = UNSET path: Union[Unset, str] = UNSET @@ -174,10 +174,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: preview_of = d.pop("preview_of", UNSET) - previewstatus: Union[Unset, FilesItemgetResponseSchemaDataPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItemgetResponseSchemaDataPreviewstatus] = UNSET _previewstatus = d.pop("previewstatus", UNSET) if not isinstance(_previewstatus, Unset): - previewstatus = FilesItemgetResponseSchemaDataPreviewstatus(_previewstatus) + previewstatus = FileItemgetResponseSchemaDataPreviewstatus(_previewstatus) file_item = d.pop("file_item", UNSET) @@ -189,7 +189,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: proxy_url = d.pop("proxy_url", UNSET) - files_itemget_response_schema_data = cls( + file_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -216,8 +216,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: proxy_url=proxy_url, ) - files_itemget_response_schema_data.additional_properties = d - return files_itemget_response_schema_data + file_itemget_response_schema_data.additional_properties = d + return file_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itemget_response_schema_data_previewstatus.py b/rentman_api_client/models/file_itemget_response_schema_data_previewstatus.py similarity index 71% rename from rentman_api_client/models/files_itemget_response_schema_data_previewstatus.py rename to rentman_api_client/models/file_itemget_response_schema_data_previewstatus.py index d797718..f6112e5 100644 --- a/rentman_api_client/models/files_itemget_response_schema_data_previewstatus.py +++ b/rentman_api_client/models/file_itemget_response_schema_data_previewstatus.py @@ -1,7 +1,7 @@ from enum import Enum -class FilesItemgetResponseSchemaDataPreviewstatus(str, Enum): +class FileItemgetResponseSchemaDataPreviewstatus(str, Enum): VALUE_False = "False" VALUE_True = "True" FAILED = "failed" diff --git a/rentman_api_client/models/files_itemput_request_schema.py b/rentman_api_client/models/file_itempost_request_schema.py similarity index 90% rename from rentman_api_client/models/files_itemput_request_schema.py rename to rentman_api_client/models/file_itempost_request_schema.py index 97df70f..e4b5c4c 100644 --- a/rentman_api_client/models/files_itemput_request_schema.py +++ b/rentman_api_client/models/file_itempost_request_schema.py @@ -2,14 +2,14 @@ import attr -from ..models.files_itemput_request_schema_previewstatus import FilesItemputRequestSchemaPreviewstatus +from ..models.file_itempost_request_schema_previewstatus import FileItempostRequestSchemaPreviewstatus from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesItemputRequestSchema") +T = TypeVar("T", bound="FileItempostRequestSchema") @attr.s(auto_attribs=True) -class FilesItemputRequestSchema: +class FileItempostRequestSchema: """ """ readable_name: Union[Unset, str] = UNSET @@ -24,7 +24,7 @@ class FilesItemputRequestSchema: public: Union[Unset, bool] = UNSET type: Union[Unset, str] = UNSET preview_of: Union[Unset, None, str] = UNSET - previewstatus: Union[Unset, FilesItemputRequestSchemaPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItempostRequestSchemaPreviewstatus] = UNSET file_item: Union[Unset, int] = UNSET file_itemtype: Union[Unset, str] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -112,16 +112,16 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: preview_of = d.pop("preview_of", UNSET) - previewstatus: Union[Unset, FilesItemputRequestSchemaPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItempostRequestSchemaPreviewstatus] = UNSET _previewstatus = d.pop("previewstatus", UNSET) if not isinstance(_previewstatus, Unset): - previewstatus = FilesItemputRequestSchemaPreviewstatus(_previewstatus) + previewstatus = FileItempostRequestSchemaPreviewstatus(_previewstatus) file_item = d.pop("file_item", UNSET) file_itemtype = d.pop("file_itemtype", UNSET) - files_itemput_request_schema = cls( + file_itempost_request_schema = cls( readable_name=readable_name, expiration=expiration, size=size, @@ -139,8 +139,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: file_itemtype=file_itemtype, ) - files_itemput_request_schema.additional_properties = d - return files_itemput_request_schema + file_itempost_request_schema.additional_properties = d + return file_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itemget_request_schema_previewstatus.py b/rentman_api_client/models/file_itempost_request_schema_previewstatus.py similarity index 73% rename from rentman_api_client/models/files_itemget_request_schema_previewstatus.py rename to rentman_api_client/models/file_itempost_request_schema_previewstatus.py index 33712c8..f52cdef 100644 --- a/rentman_api_client/models/files_itemget_request_schema_previewstatus.py +++ b/rentman_api_client/models/file_itempost_request_schema_previewstatus.py @@ -1,7 +1,7 @@ from enum import Enum -class FilesItemgetRequestSchemaPreviewstatus(str, Enum): +class FileItempostRequestSchemaPreviewstatus(str, Enum): VALUE_False = "False" VALUE_True = "True" FAILED = "failed" diff --git a/rentman_api_client/models/type_itempost_response_schema.py b/rentman_api_client/models/file_itempost_response_schema.py similarity index 80% rename from rentman_api_client/models/type_itempost_response_schema.py rename to rentman_api_client/models/file_itempost_response_schema.py index 1849a09..477260f 100644 --- a/rentman_api_client/models/type_itempost_response_schema.py +++ b/rentman_api_client/models/file_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.type_itempost_response_schema_data import TypeItempostResponseSchemaData +from ..models.file_itempost_response_schema_data import FileItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeItempostResponseSchema") +T = TypeVar("T", bound="FileItempostResponseSchema") @attr.s(auto_attribs=True) -class TypeItempostResponseSchema: +class FileItempostResponseSchema: """ """ - data: Union[Unset, TypeItempostResponseSchemaData] = UNSET + data: Union[Unset, FileItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, TypeItempostResponseSchemaData] = UNSET + data: Union[Unset, FileItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = TypeItempostResponseSchemaData.from_dict(_data) + data = FileItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - type_itempost_response_schema = cls( + file_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - type_itempost_response_schema.additional_properties = d - return type_itempost_response_schema + file_itempost_response_schema.additional_properties = d + return file_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itemput_response_schema_data.py b/rentman_api_client/models/file_itempost_response_schema_data.py similarity index 92% rename from rentman_api_client/models/files_itemput_response_schema_data.py rename to rentman_api_client/models/file_itempost_response_schema_data.py index 13869cc..4ec1a04 100644 --- a/rentman_api_client/models/files_itemput_response_schema_data.py +++ b/rentman_api_client/models/file_itempost_response_schema_data.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.files_itemput_response_schema_data_previewstatus import FilesItemputResponseSchemaDataPreviewstatus +from ..models.file_itempost_response_schema_data_previewstatus import FileItempostResponseSchemaDataPreviewstatus from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesItemputResponseSchemaData") +T = TypeVar("T", bound="FileItempostResponseSchemaData") @attr.s(auto_attribs=True) -class FilesItemputResponseSchemaData: +class FileItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -32,7 +32,7 @@ class FilesItemputResponseSchemaData: public: Union[Unset, bool] = UNSET type: Union[Unset, str] = UNSET preview_of: Union[Unset, None, str] = UNSET - previewstatus: Union[Unset, FilesItemputResponseSchemaDataPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItempostResponseSchemaDataPreviewstatus] = UNSET file_item: Union[Unset, int] = UNSET file_itemtype: Union[Unset, str] = UNSET path: Union[Unset, str] = UNSET @@ -174,10 +174,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: preview_of = d.pop("preview_of", UNSET) - previewstatus: Union[Unset, FilesItemputResponseSchemaDataPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItempostResponseSchemaDataPreviewstatus] = UNSET _previewstatus = d.pop("previewstatus", UNSET) if not isinstance(_previewstatus, Unset): - previewstatus = FilesItemputResponseSchemaDataPreviewstatus(_previewstatus) + previewstatus = FileItempostResponseSchemaDataPreviewstatus(_previewstatus) file_item = d.pop("file_item", UNSET) @@ -189,7 +189,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: proxy_url = d.pop("proxy_url", UNSET) - files_itemput_response_schema_data = cls( + file_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -216,8 +216,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: proxy_url=proxy_url, ) - files_itemput_response_schema_data.additional_properties = d - return files_itemput_response_schema_data + file_itempost_response_schema_data.additional_properties = d + return file_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/file_itempost_response_schema_data_previewstatus.py b/rentman_api_client/models/file_itempost_response_schema_data_previewstatus.py new file mode 100644 index 0000000..914097a --- /dev/null +++ b/rentman_api_client/models/file_itempost_response_schema_data_previewstatus.py @@ -0,0 +1,10 @@ +from enum import Enum + + +class FileItempostResponseSchemaDataPreviewstatus(str, Enum): + VALUE_False = "False" + VALUE_True = "True" + FAILED = "failed" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/files_itempost_request_schema.py b/rentman_api_client/models/file_itemput_request_schema.py similarity index 88% rename from rentman_api_client/models/files_itempost_request_schema.py rename to rentman_api_client/models/file_itemput_request_schema.py index 59160fc..5ab3bb3 100644 --- a/rentman_api_client/models/files_itempost_request_schema.py +++ b/rentman_api_client/models/file_itemput_request_schema.py @@ -2,14 +2,14 @@ import attr -from ..models.files_itempost_request_schema_previewstatus import FilesItempostRequestSchemaPreviewstatus +from ..models.file_itemput_request_schema_previewstatus import FileItemputRequestSchemaPreviewstatus from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesItempostRequestSchema") +T = TypeVar("T", bound="FileItemputRequestSchema") @attr.s(auto_attribs=True) -class FilesItempostRequestSchema: +class FileItemputRequestSchema: """ """ readable_name: Union[Unset, str] = UNSET @@ -24,7 +24,7 @@ class FilesItempostRequestSchema: public: Union[Unset, bool] = UNSET type: Union[Unset, str] = UNSET preview_of: Union[Unset, None, str] = UNSET - previewstatus: Union[Unset, FilesItempostRequestSchemaPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItemputRequestSchemaPreviewstatus] = UNSET file_item: Union[Unset, int] = UNSET file_itemtype: Union[Unset, str] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -112,16 +112,16 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: preview_of = d.pop("preview_of", UNSET) - previewstatus: Union[Unset, FilesItempostRequestSchemaPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItemputRequestSchemaPreviewstatus] = UNSET _previewstatus = d.pop("previewstatus", UNSET) if not isinstance(_previewstatus, Unset): - previewstatus = FilesItempostRequestSchemaPreviewstatus(_previewstatus) + previewstatus = FileItemputRequestSchemaPreviewstatus(_previewstatus) file_item = d.pop("file_item", UNSET) file_itemtype = d.pop("file_itemtype", UNSET) - files_itempost_request_schema = cls( + file_itemput_request_schema = cls( readable_name=readable_name, expiration=expiration, size=size, @@ -139,8 +139,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: file_itemtype=file_itemtype, ) - files_itempost_request_schema.additional_properties = d - return files_itempost_request_schema + file_itemput_request_schema.additional_properties = d + return file_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itempost_request_schema_previewstatus.py b/rentman_api_client/models/file_itemput_request_schema_previewstatus.py similarity index 73% rename from rentman_api_client/models/files_itempost_request_schema_previewstatus.py rename to rentman_api_client/models/file_itemput_request_schema_previewstatus.py index f79c962..a19ce0a 100644 --- a/rentman_api_client/models/files_itempost_request_schema_previewstatus.py +++ b/rentman_api_client/models/file_itemput_request_schema_previewstatus.py @@ -1,7 +1,7 @@ from enum import Enum -class FilesItempostRequestSchemaPreviewstatus(str, Enum): +class FileItemputRequestSchemaPreviewstatus(str, Enum): VALUE_False = "False" VALUE_True = "True" FAILED = "failed" diff --git a/rentman_api_client/models/uren_itemput_response_schema.py b/rentman_api_client/models/file_itemput_response_schema.py similarity index 80% rename from rentman_api_client/models/uren_itemput_response_schema.py rename to rentman_api_client/models/file_itemput_response_schema.py index a41e0f2..c52f048 100644 --- a/rentman_api_client/models/uren_itemput_response_schema.py +++ b/rentman_api_client/models/file_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.uren_itemput_response_schema_data import UrenItemputResponseSchemaData +from ..models.file_itemput_response_schema_data import FileItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenItemputResponseSchema") +T = TypeVar("T", bound="FileItemputResponseSchema") @attr.s(auto_attribs=True) -class UrenItemputResponseSchema: +class FileItemputResponseSchema: """ """ - data: Union[Unset, UrenItemputResponseSchemaData] = UNSET + data: Union[Unset, FileItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, UrenItemputResponseSchemaData] = UNSET + data: Union[Unset, FileItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = UrenItemputResponseSchemaData.from_dict(_data) + data = FileItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - uren_itemput_response_schema = cls( + file_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - uren_itemput_response_schema.additional_properties = d - return uren_itemput_response_schema + file_itemput_response_schema.additional_properties = d + return file_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itempost_response_schema_data.py b/rentman_api_client/models/file_itemput_response_schema_data.py similarity index 91% rename from rentman_api_client/models/files_itempost_response_schema_data.py rename to rentman_api_client/models/file_itemput_response_schema_data.py index 44611a5..36d46e0 100644 --- a/rentman_api_client/models/files_itempost_response_schema_data.py +++ b/rentman_api_client/models/file_itemput_response_schema_data.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.files_itempost_response_schema_data_previewstatus import FilesItempostResponseSchemaDataPreviewstatus +from ..models.file_itemput_response_schema_data_previewstatus import FileItemputResponseSchemaDataPreviewstatus from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesItempostResponseSchemaData") +T = TypeVar("T", bound="FileItemputResponseSchemaData") @attr.s(auto_attribs=True) -class FilesItempostResponseSchemaData: +class FileItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -32,7 +32,7 @@ class FilesItempostResponseSchemaData: public: Union[Unset, bool] = UNSET type: Union[Unset, str] = UNSET preview_of: Union[Unset, None, str] = UNSET - previewstatus: Union[Unset, FilesItempostResponseSchemaDataPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItemputResponseSchemaDataPreviewstatus] = UNSET file_item: Union[Unset, int] = UNSET file_itemtype: Union[Unset, str] = UNSET path: Union[Unset, str] = UNSET @@ -174,10 +174,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: preview_of = d.pop("preview_of", UNSET) - previewstatus: Union[Unset, FilesItempostResponseSchemaDataPreviewstatus] = UNSET + previewstatus: Union[Unset, FileItemputResponseSchemaDataPreviewstatus] = UNSET _previewstatus = d.pop("previewstatus", UNSET) if not isinstance(_previewstatus, Unset): - previewstatus = FilesItempostResponseSchemaDataPreviewstatus(_previewstatus) + previewstatus = FileItemputResponseSchemaDataPreviewstatus(_previewstatus) file_item = d.pop("file_item", UNSET) @@ -189,7 +189,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: proxy_url = d.pop("proxy_url", UNSET) - files_itempost_response_schema_data = cls( + file_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -216,8 +216,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: proxy_url=proxy_url, ) - files_itempost_response_schema_data.additional_properties = d - return files_itempost_response_schema_data + file_itemput_response_schema_data.additional_properties = d + return file_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/file_itemput_response_schema_data_previewstatus.py b/rentman_api_client/models/file_itemput_response_schema_data_previewstatus.py new file mode 100644 index 0000000..13ce761 --- /dev/null +++ b/rentman_api_client/models/file_itemput_response_schema_data_previewstatus.py @@ -0,0 +1,10 @@ +from enum import Enum + + +class FileItemputResponseSchemaDataPreviewstatus(str, Enum): + VALUE_False = "False" + VALUE_True = "True" + FAILED = "failed" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/files_collectionpost_response_schema.py b/rentman_api_client/models/files_collectionpost_response_schema.py deleted file mode 100644 index 8ed3d68..0000000 --- a/rentman_api_client/models/files_collectionpost_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.files_collectionpost_response_schema_data_item import FilesCollectionpostResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="FilesCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class FilesCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[FilesCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = FilesCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - files_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - files_collectionpost_response_schema.additional_properties = d - return files_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/files_collectionpost_response_schema_data_item.py b/rentman_api_client/models/files_collectionpost_response_schema_data_item.py deleted file mode 100644 index 44b221a..0000000 --- a/rentman_api_client/models/files_collectionpost_response_schema_data_item.py +++ /dev/null @@ -1,238 +0,0 @@ -import datetime -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr -from dateutil.parser import isoparse - -from ..models.files_collectionpost_response_schema_data_item_previewstatus import ( - FilesCollectionpostResponseSchemaDataItemPreviewstatus, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="FilesCollectionpostResponseSchemaDataItem") - - -@attr.s(auto_attribs=True) -class FilesCollectionpostResponseSchemaDataItem: - """ """ - - id: Union[Unset, int] = UNSET - created: Union[Unset, None, datetime.datetime] = UNSET - modified: Union[Unset, None, datetime.datetime] = UNSET - creator: Union[Unset, None, str] = UNSET - displayname: Union[Unset, str] = UNSET - readable_name: Union[Unset, str] = UNSET - expiration: Union[Unset, None, str] = UNSET - size: Union[Unset, int] = UNSET - image: Union[Unset, bool] = UNSET - item: Union[Unset, None, str] = UNSET - itemtype: Union[Unset, None, int] = UNSET - description: Union[Unset, str] = UNSET - in_documents: Union[Unset, bool] = UNSET - in_webshop: Union[Unset, bool] = UNSET - classified: Union[Unset, bool] = UNSET - public: Union[Unset, bool] = UNSET - type: Union[Unset, str] = UNSET - preview_of: Union[Unset, None, str] = UNSET - previewstatus: Union[Unset, FilesCollectionpostResponseSchemaDataItemPreviewstatus] = UNSET - file_item: Union[Unset, int] = UNSET - file_itemtype: Union[Unset, str] = UNSET - path: Union[Unset, str] = UNSET - url: Union[Unset, str] = UNSET - proxy_url: Union[Unset, str] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - id = self.id - created: Union[Unset, None, str] = UNSET - if not isinstance(self.created, Unset): - created = self.created.isoformat() if self.created else None - - modified: Union[Unset, None, str] = UNSET - if not isinstance(self.modified, Unset): - modified = self.modified.isoformat() if self.modified else None - - creator = self.creator - displayname = self.displayname - readable_name = self.readable_name - expiration = self.expiration - size = self.size - image = self.image - item = self.item - itemtype = self.itemtype - description = self.description - in_documents = self.in_documents - in_webshop = self.in_webshop - classified = self.classified - public = self.public - type = self.type - preview_of = self.preview_of - previewstatus: Union[Unset, bool] = UNSET - if not isinstance(self.previewstatus, Unset): - previewstatus = self.previewstatus.value - - file_item = self.file_item - file_itemtype = self.file_itemtype - path = self.path - url = self.url - proxy_url = self.proxy_url - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if id is not UNSET: - field_dict["id"] = id - if created is not UNSET: - field_dict["created"] = created - if modified is not UNSET: - field_dict["modified"] = modified - if creator is not UNSET: - field_dict["creator"] = creator - if displayname is not UNSET: - field_dict["displayname"] = displayname - if readable_name is not UNSET: - field_dict["readable_name"] = readable_name - if expiration is not UNSET: - field_dict["expiration"] = expiration - if size is not UNSET: - field_dict["size"] = size - if image is not UNSET: - field_dict["image"] = image - if item is not UNSET: - field_dict["item"] = item - if itemtype is not UNSET: - field_dict["itemtype"] = itemtype - if description is not UNSET: - field_dict["description"] = description - if in_documents is not UNSET: - field_dict["in_documents"] = in_documents - if in_webshop is not UNSET: - field_dict["in_webshop"] = in_webshop - if classified is not UNSET: - field_dict["classified"] = classified - if public is not UNSET: - field_dict["public"] = public - if type is not UNSET: - field_dict["type"] = type - if preview_of is not UNSET: - field_dict["preview_of"] = preview_of - if previewstatus is not UNSET: - field_dict["previewstatus"] = previewstatus - if file_item is not UNSET: - field_dict["file_item"] = file_item - if file_itemtype is not UNSET: - field_dict["file_itemtype"] = file_itemtype - if path is not UNSET: - field_dict["path"] = path - if url is not UNSET: - field_dict["url"] = url - if proxy_url is not UNSET: - field_dict["proxy_url"] = proxy_url - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - id = d.pop("id", UNSET) - - created = None - _created = d.pop("created", UNSET) - if _created is not None and not isinstance(_created, Unset): - created = isoparse(_created) - - modified = None - _modified = d.pop("modified", UNSET) - if _modified is not None and not isinstance(_modified, Unset): - modified = isoparse(_modified) - - creator = d.pop("creator", UNSET) - - displayname = d.pop("displayname", UNSET) - - readable_name = d.pop("readable_name", UNSET) - - expiration = d.pop("expiration", UNSET) - - size = d.pop("size", UNSET) - - image = d.pop("image", UNSET) - - item = d.pop("item", UNSET) - - itemtype = d.pop("itemtype", UNSET) - - description = d.pop("description", UNSET) - - in_documents = d.pop("in_documents", UNSET) - - in_webshop = d.pop("in_webshop", UNSET) - - classified = d.pop("classified", UNSET) - - public = d.pop("public", UNSET) - - type = d.pop("type", UNSET) - - preview_of = d.pop("preview_of", UNSET) - - previewstatus: Union[Unset, FilesCollectionpostResponseSchemaDataItemPreviewstatus] = UNSET - _previewstatus = d.pop("previewstatus", UNSET) - if not isinstance(_previewstatus, Unset): - previewstatus = FilesCollectionpostResponseSchemaDataItemPreviewstatus(_previewstatus) - - file_item = d.pop("file_item", UNSET) - - file_itemtype = d.pop("file_itemtype", UNSET) - - path = d.pop("path", UNSET) - - url = d.pop("url", UNSET) - - proxy_url = d.pop("proxy_url", UNSET) - - files_collectionpost_response_schema_data_item = cls( - id=id, - created=created, - modified=modified, - creator=creator, - displayname=displayname, - readable_name=readable_name, - expiration=expiration, - size=size, - image=image, - item=item, - itemtype=itemtype, - description=description, - in_documents=in_documents, - in_webshop=in_webshop, - classified=classified, - public=public, - type=type, - preview_of=preview_of, - previewstatus=previewstatus, - file_item=file_item, - file_itemtype=file_itemtype, - path=path, - url=url, - proxy_url=proxy_url, - ) - - files_collectionpost_response_schema_data_item.additional_properties = d - return files_collectionpost_response_schema_data_item - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/files_collectionpost_response_schema_data_item_previewstatus.py b/rentman_api_client/models/files_collectionpost_response_schema_data_item_previewstatus.py deleted file mode 100644 index 27a98c4..0000000 --- a/rentman_api_client/models/files_collectionpost_response_schema_data_item_previewstatus.py +++ /dev/null @@ -1,10 +0,0 @@ -from enum import Enum - - -class FilesCollectionpostResponseSchemaDataItemPreviewstatus(str, Enum): - VALUE_False = "False" - VALUE_True = "True" - FAILED = "failed" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/files_collectionput_response_schema_data_item_previewstatus.py b/rentman_api_client/models/files_collectionput_response_schema_data_item_previewstatus.py deleted file mode 100644 index 6274fc0..0000000 --- a/rentman_api_client/models/files_collectionput_response_schema_data_item_previewstatus.py +++ /dev/null @@ -1,10 +0,0 @@ -from enum import Enum - - -class FilesCollectionputResponseSchemaDataItemPreviewstatus(str, Enum): - VALUE_False = "False" - VALUE_True = "True" - FAILED = "failed" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/files_itemput_response_schema_data_previewstatus.py b/rentman_api_client/models/files_itemput_response_schema_data_previewstatus.py deleted file mode 100644 index b823f39..0000000 --- a/rentman_api_client/models/files_itemput_response_schema_data_previewstatus.py +++ /dev/null @@ -1,10 +0,0 @@ -from enum import Enum - - -class FilesItemputResponseSchemaDataPreviewstatus(str, Enum): - VALUE_False = "False" - VALUE_True = "True" - FAILED = "failed" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/functie_itemget_response_schema_data_planperiod_end_schedule_is_start.py b/rentman_api_client/models/functie_itemget_response_schema_data_planperiod_end_schedule_is_start.py deleted file mode 100644 index cae128f..0000000 --- a/rentman_api_client/models/functie_itemget_response_schema_data_planperiod_end_schedule_is_start.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import Enum - - -class FunctieItemgetResponseSchemaDataPlanperiodEndScheduleIsStart(str, Enum): - END_TIME = "End time" - START_TIME = "Start time" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/functie_itemget_response_schema_data_planperiod_start_schedule_is_start.py b/rentman_api_client/models/functie_itemget_response_schema_data_planperiod_start_schedule_is_start.py deleted file mode 100644 index 306fdf5..0000000 --- a/rentman_api_client/models/functie_itemget_response_schema_data_planperiod_start_schedule_is_start.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import Enum - - -class FunctieItemgetResponseSchemaDataPlanperiodStartScheduleIsStart(str, Enum): - END_TIME = "End time" - START_TIME = "Start time" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/functie_itemget_response_schema_data_usageperiod_end_schedule_is_start.py b/rentman_api_client/models/functie_itemget_response_schema_data_usageperiod_end_schedule_is_start.py deleted file mode 100644 index 289f757..0000000 --- a/rentman_api_client/models/functie_itemget_response_schema_data_usageperiod_end_schedule_is_start.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import Enum - - -class FunctieItemgetResponseSchemaDataUsageperiodEndScheduleIsStart(str, Enum): - END_TIME = "End time" - START_TIME = "Start time" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/functiegroep_itemget_response_schema_data_planperiod_end_schedule_is_start.py b/rentman_api_client/models/functiegroep_itemget_response_schema_data_planperiod_end_schedule_is_start.py deleted file mode 100644 index f3312b9..0000000 --- a/rentman_api_client/models/functiegroep_itemget_response_schema_data_planperiod_end_schedule_is_start.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class FunctiegroepItemgetResponseSchemaDataPlanperiodEndScheduleIsStart(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/functiegroep_itemget_response_schema_data_planperiod_start_schedule_is_start.py b/rentman_api_client/models/functiegroep_itemget_response_schema_data_planperiod_start_schedule_is_start.py deleted file mode 100644 index 1387af8..0000000 --- a/rentman_api_client/models/functiegroep_itemget_response_schema_data_planperiod_start_schedule_is_start.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class FunctiegroepItemgetResponseSchemaDataPlanperiodStartScheduleIsStart(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/functiegroep_itemget_response_schema_data_usageperiod_end_schedule_is_start.py b/rentman_api_client/models/functiegroep_itemget_response_schema_data_usageperiod_end_schedule_is_start.py deleted file mode 100644 index 8b97625..0000000 --- a/rentman_api_client/models/functiegroep_itemget_response_schema_data_usageperiod_end_schedule_is_start.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class FunctiegroepItemgetResponseSchemaDataUsageperiodEndScheduleIsStart(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/functieuur_collectionget_response_schema.py b/rentman_api_client/models/functieuur_collectionget_response_schema.py deleted file mode 100644 index 63951eb..0000000 --- a/rentman_api_client/models/functieuur_collectionget_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.functieuur_collectionget_response_schema_data_item import FunctieuurCollectiongetResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="FunctieuurCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class FunctieuurCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[FunctieuurCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = FunctieuurCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - functieuur_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - functieuur_collectionget_response_schema.additional_properties = d - return functieuur_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/functieuur_collectionput_response_schema.py b/rentman_api_client/models/functieuur_collectionput_response_schema.py deleted file mode 100644 index d6eb6eb..0000000 --- a/rentman_api_client/models/functieuur_collectionput_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.functieuur_collectionput_response_schema_data_item import FunctieuurCollectionputResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="FunctieuurCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class FunctieuurCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[FunctieuurCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = FunctieuurCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - functieuur_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - functieuur_collectionput_response_schema.additional_properties = d - return functieuur_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/functieuur_itemget_response_schema.py b/rentman_api_client/models/functieuur_itemget_response_schema.py deleted file mode 100644 index 0bf7ac5..0000000 --- a/rentman_api_client/models/functieuur_itemget_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.functieuur_itemget_response_schema_data import FunctieuurItemgetResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="FunctieuurItemgetResponseSchema") - - -@attr.s(auto_attribs=True) -class FunctieuurItemgetResponseSchema: - """ """ - - data: Union[Unset, FunctieuurItemgetResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, FunctieuurItemgetResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = FunctieuurItemgetResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - functieuur_itemget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - functieuur_itemget_response_schema.additional_properties = d - return functieuur_itemget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/functieuur_itemput_response_schema.py b/rentman_api_client/models/functieuur_itemput_response_schema.py deleted file mode 100644 index bb3c46a..0000000 --- a/rentman_api_client/models/functieuur_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.functieuur_itemput_response_schema_data import FunctieuurItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="FunctieuurItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class FunctieuurItemputResponseSchema: - """ """ - - data: Union[Unset, FunctieuurItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, FunctieuurItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = FunctieuurItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - functieuur_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - functieuur_itemput_response_schema.additional_properties = d - return functieuur_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/grootboek_collectionget_response_schema.py b/rentman_api_client/models/grootboek_collectionget_response_schema.py deleted file mode 100644 index d1f98f1..0000000 --- a/rentman_api_client/models/grootboek_collectionget_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.grootboek_collectionget_response_schema_data_item import GrootboekCollectiongetResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="GrootboekCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class GrootboekCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[GrootboekCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = GrootboekCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - grootboek_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - grootboek_collectionget_response_schema.additional_properties = d - return grootboek_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/grootboek_collectionpost_response_schema.py b/rentman_api_client/models/grootboek_collectionpost_response_schema.py deleted file mode 100644 index a945b34..0000000 --- a/rentman_api_client/models/grootboek_collectionpost_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.grootboek_collectionpost_response_schema_data_item import GrootboekCollectionpostResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="GrootboekCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class GrootboekCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[GrootboekCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = GrootboekCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - grootboek_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - grootboek_collectionpost_response_schema.additional_properties = d - return grootboek_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/grootboek_collectionput_response_schema.py b/rentman_api_client/models/grootboek_collectionput_response_schema.py deleted file mode 100644 index 8215163..0000000 --- a/rentman_api_client/models/grootboek_collectionput_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.grootboek_collectionput_response_schema_data_item import GrootboekCollectionputResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="GrootboekCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class GrootboekCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[GrootboekCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = GrootboekCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - grootboek_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - grootboek_collectionput_response_schema.additional_properties = d - return grootboek_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/grootboek_itemget_response_schema.py b/rentman_api_client/models/grootboek_itemget_response_schema.py deleted file mode 100644 index 84e192e..0000000 --- a/rentman_api_client/models/grootboek_itemget_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.grootboek_itemget_response_schema_data import GrootboekItemgetResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="GrootboekItemgetResponseSchema") - - -@attr.s(auto_attribs=True) -class GrootboekItemgetResponseSchema: - """ """ - - data: Union[Unset, GrootboekItemgetResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, GrootboekItemgetResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = GrootboekItemgetResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - grootboek_itemget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - grootboek_itemget_response_schema.additional_properties = d - return grootboek_itemget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/grootboek_itempost_response_schema.py b/rentman_api_client/models/grootboek_itempost_response_schema.py deleted file mode 100644 index 8b1239c..0000000 --- a/rentman_api_client/models/grootboek_itempost_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.grootboek_itempost_response_schema_data import GrootboekItempostResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="GrootboekItempostResponseSchema") - - -@attr.s(auto_attribs=True) -class GrootboekItempostResponseSchema: - """ """ - - data: Union[Unset, GrootboekItempostResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, GrootboekItempostResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = GrootboekItempostResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - grootboek_itempost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - grootboek_itempost_response_schema.additional_properties = d - return grootboek_itempost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/grootboek_itemput_response_schema.py b/rentman_api_client/models/grootboek_itemput_response_schema.py deleted file mode 100644 index 91f13c2..0000000 --- a/rentman_api_client/models/grootboek_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.grootboek_itemput_response_schema_data import GrootboekItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="GrootboekItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class GrootboekItemputResponseSchema: - """ """ - - data: Union[Unset, GrootboekItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, GrootboekItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = GrootboekItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - grootboek_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - grootboek_itemput_response_schema.additional_properties = d - return grootboek_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/inhuur_itempost_response_schema.py b/rentman_api_client/models/inhuur_itempost_response_schema.py deleted file mode 100644 index 20cc08c..0000000 --- a/rentman_api_client/models/inhuur_itempost_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.inhuur_itempost_response_schema_data import InhuurItempostResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="InhuurItempostResponseSchema") - - -@attr.s(auto_attribs=True) -class InhuurItempostResponseSchema: - """ """ - - data: Union[Unset, InhuurItempostResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, InhuurItempostResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = InhuurItempostResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - inhuur_itempost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - inhuur_itempost_response_schema.additional_properties = d - return inhuur_itempost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/inhuur_itemput_request_schema_custom.py b/rentman_api_client/models/inhuur_itemput_request_schema_custom.py deleted file mode 100644 index 921440d..0000000 --- a/rentman_api_client/models/inhuur_itemput_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="InhuurItemputRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class InhuurItemputRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - inhuur_itemput_request_schema_custom = cls() - - inhuur_itemput_request_schema_custom.additional_properties = d - return inhuur_itemput_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/inhuur_itemput_response_schema_data_type.py b/rentman_api_client/models/inhuur_itemput_response_schema_data_type.py deleted file mode 100644 index 074e8f6..0000000 --- a/rentman_api_client/models/inhuur_itemput_response_schema_data_type.py +++ /dev/null @@ -1,10 +0,0 @@ -from enum import Enum - - -class InhuurItemputResponseSchemaDataType(str, Enum): - PICK_UP = "Pick up" - DELIVERY_AT_WAREHOUSE = "Delivery at warehouse" - DELIVERY_AT_LOCATION = "Delivery at location" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/factuur_collectionput_response_schema.py b/rentman_api_client/models/invoice_collectionget_response_schema.py similarity index 81% rename from rentman_api_client/models/factuur_collectionput_response_schema.py rename to rentman_api_client/models/invoice_collectionget_response_schema.py index 9becddc..dc1009d 100644 --- a/rentman_api_client/models/factuur_collectionput_response_schema.py +++ b/rentman_api_client/models/invoice_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.factuur_collectionput_response_schema_data_item import FactuurCollectionputResponseSchemaDataItem +from ..models.invoice_collectionget_response_schema_data_item import InvoiceCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurCollectionputResponseSchema") +T = TypeVar("T", bound="InvoiceCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class FactuurCollectionputResponseSchema: +class InvoiceCollectiongetResponseSchema: """ """ - data: Union[Unset, List[FactuurCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[InvoiceCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = FactuurCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = InvoiceCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - factuur_collectionput_response_schema = cls( + invoice_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - factuur_collectionput_response_schema.additional_properties = d - return factuur_collectionput_response_schema + invoice_collectionget_response_schema.additional_properties = d + return invoice_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/factuur_collectionput_response_schema_data_item.py b/rentman_api_client/models/invoice_collectionget_response_schema_data_item.py similarity index 94% rename from rentman_api_client/models/factuur_collectionput_response_schema_data_item.py rename to rentman_api_client/models/invoice_collectionget_response_schema_data_item.py index 4045558..03506e5 100644 --- a/rentman_api_client/models/factuur_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/invoice_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="InvoiceCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class FactuurCollectionputResponseSchemaDataItem: +class InvoiceCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -140,7 +140,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - factuur_collectionput_response_schema_data_item = cls( + invoice_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -160,8 +160,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags=tags, ) - factuur_collectionput_response_schema_data_item.additional_properties = d - return factuur_collectionput_response_schema_data_item + invoice_collectionget_response_schema_data_item.additional_properties = d + return invoice_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_collectionpost_response_schema.py b/rentman_api_client/models/invoice_collectionpost_response_schema.py similarity index 81% rename from rentman_api_client/models/offerte_collectionpost_response_schema.py rename to rentman_api_client/models/invoice_collectionpost_response_schema.py index 4ced343..5d4e87a 100644 --- a/rentman_api_client/models/offerte_collectionpost_response_schema.py +++ b/rentman_api_client/models/invoice_collectionpost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.offerte_collectionpost_response_schema_data_item import OfferteCollectionpostResponseSchemaDataItem +from ..models.invoice_collectionpost_response_schema_data_item import InvoiceCollectionpostResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteCollectionpostResponseSchema") +T = TypeVar("T", bound="InvoiceCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class OfferteCollectionpostResponseSchema: +class InvoiceCollectionpostResponseSchema: """ """ - data: Union[Unset, List[OfferteCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[InvoiceCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = OfferteCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = InvoiceCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - offerte_collectionpost_response_schema = cls( + invoice_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - offerte_collectionpost_response_schema.additional_properties = d - return offerte_collectionpost_response_schema + invoice_collectionpost_response_schema.additional_properties = d + return invoice_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/factuur_collectionpost_response_schema_data_item.py b/rentman_api_client/models/invoice_collectionpost_response_schema_data_item.py similarity index 94% rename from rentman_api_client/models/factuur_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/invoice_collectionpost_response_schema_data_item.py index 464bdce..d86c45c 100644 --- a/rentman_api_client/models/factuur_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/invoice_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="InvoiceCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class FactuurCollectionpostResponseSchemaDataItem: +class InvoiceCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -140,7 +140,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - factuur_collectionpost_response_schema_data_item = cls( + invoice_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -160,8 +160,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags=tags, ) - factuur_collectionpost_response_schema_data_item.additional_properties = d - return factuur_collectionpost_response_schema_data_item + invoice_collectionpost_response_schema_data_item.additional_properties = d + return invoice_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functie_collectionget_response_schema.py b/rentman_api_client/models/invoice_collectionput_response_schema.py similarity index 81% rename from rentman_api_client/models/functie_collectionget_response_schema.py rename to rentman_api_client/models/invoice_collectionput_response_schema.py index e0515a6..aeeeab2 100644 --- a/rentman_api_client/models/functie_collectionget_response_schema.py +++ b/rentman_api_client/models/invoice_collectionput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.functie_collectionget_response_schema_data_item import FunctieCollectiongetResponseSchemaDataItem +from ..models.invoice_collectionput_response_schema_data_item import InvoiceCollectionputResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieCollectiongetResponseSchema") +T = TypeVar("T", bound="InvoiceCollectionputResponseSchema") @attr.s(auto_attribs=True) -class FunctieCollectiongetResponseSchema: +class InvoiceCollectionputResponseSchema: """ """ - data: Union[Unset, List[FunctieCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[InvoiceCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = FunctieCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = InvoiceCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - functie_collectionget_response_schema = cls( + invoice_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - functie_collectionget_response_schema.additional_properties = d - return functie_collectionget_response_schema + invoice_collectionput_response_schema.additional_properties = d + return invoice_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/factuur_collectionget_response_schema_data_item.py b/rentman_api_client/models/invoice_collectionput_response_schema_data_item.py similarity index 94% rename from rentman_api_client/models/factuur_collectionget_response_schema_data_item.py rename to rentman_api_client/models/invoice_collectionput_response_schema_data_item.py index 299f273..0e1113c 100644 --- a/rentman_api_client/models/factuur_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/invoice_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="InvoiceCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class FactuurCollectiongetResponseSchemaDataItem: +class InvoiceCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -140,7 +140,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - factuur_collectionget_response_schema_data_item = cls( + invoice_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -160,8 +160,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags=tags, ) - factuur_collectionget_response_schema_data_item.additional_properties = d - return factuur_collectionget_response_schema_data_item + invoice_collectionput_response_schema_data_item.additional_properties = d + return invoice_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/factuur_itemput_request_schema.py b/rentman_api_client/models/invoice_itemget_request_schema.py similarity index 93% rename from rentman_api_client/models/factuur_itemput_request_schema.py rename to rentman_api_client/models/invoice_itemget_request_schema.py index 49c021a..990632e 100644 --- a/rentman_api_client/models/factuur_itemput_request_schema.py +++ b/rentman_api_client/models/invoice_itemget_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurItemputRequestSchema") +T = TypeVar("T", bound="InvoiceItemgetRequestSchema") @attr.s(auto_attribs=True) -class FactuurItemputRequestSchema: +class InvoiceItemgetRequestSchema: """ """ customer: Union[Unset, None, str] = UNSET @@ -90,7 +90,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename = d.pop("filename", UNSET) - factuur_itemput_request_schema = cls( + invoice_itemget_request_schema = cls( customer=customer, account_manager=account_manager, contact=contact, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename=filename, ) - factuur_itemput_request_schema.additional_properties = d - return factuur_itemput_request_schema + invoice_itemget_request_schema.additional_properties = d + return invoice_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_itemget_response_schema.py b/rentman_api_client/models/invoice_itemget_response_schema.py similarity index 80% rename from rentman_api_client/models/offerte_itemget_response_schema.py rename to rentman_api_client/models/invoice_itemget_response_schema.py index 2656f5d..b4aa0df 100644 --- a/rentman_api_client/models/offerte_itemget_response_schema.py +++ b/rentman_api_client/models/invoice_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.offerte_itemget_response_schema_data import OfferteItemgetResponseSchemaData +from ..models.invoice_itemget_response_schema_data import InvoiceItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteItemgetResponseSchema") +T = TypeVar("T", bound="InvoiceItemgetResponseSchema") @attr.s(auto_attribs=True) -class OfferteItemgetResponseSchema: +class InvoiceItemgetResponseSchema: """ """ - data: Union[Unset, OfferteItemgetResponseSchemaData] = UNSET + data: Union[Unset, InvoiceItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, OfferteItemgetResponseSchemaData] = UNSET + data: Union[Unset, InvoiceItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = OfferteItemgetResponseSchemaData.from_dict(_data) + data = InvoiceItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - offerte_itemget_response_schema = cls( + invoice_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - offerte_itemget_response_schema.additional_properties = d - return offerte_itemget_response_schema + invoice_itemget_response_schema.additional_properties = d + return invoice_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/factuur_itemput_response_schema_data.py b/rentman_api_client/models/invoice_itemget_response_schema_data.py similarity index 96% rename from rentman_api_client/models/factuur_itemput_response_schema_data.py rename to rentman_api_client/models/invoice_itemget_response_schema_data.py index 54a84af..ab771aa 100644 --- a/rentman_api_client/models/factuur_itemput_response_schema_data.py +++ b/rentman_api_client/models/invoice_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurItemputResponseSchemaData") +T = TypeVar("T", bound="InvoiceItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class FactuurItemputResponseSchemaData: +class InvoiceItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -182,7 +182,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - factuur_itemput_response_schema_data = cls( + invoice_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -209,8 +209,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags=tags, ) - factuur_itemput_response_schema_data.additional_properties = d - return factuur_itemput_response_schema_data + invoice_itemget_response_schema_data.additional_properties = d + return invoice_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/factuur_itempost_request_schema.py b/rentman_api_client/models/invoice_itempost_request_schema.py similarity index 93% rename from rentman_api_client/models/factuur_itempost_request_schema.py rename to rentman_api_client/models/invoice_itempost_request_schema.py index 1aa0eb0..feed7f6 100644 --- a/rentman_api_client/models/factuur_itempost_request_schema.py +++ b/rentman_api_client/models/invoice_itempost_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurItempostRequestSchema") +T = TypeVar("T", bound="InvoiceItempostRequestSchema") @attr.s(auto_attribs=True) -class FactuurItempostRequestSchema: +class InvoiceItempostRequestSchema: """ """ customer: Union[Unset, None, str] = UNSET @@ -90,7 +90,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename = d.pop("filename", UNSET) - factuur_itempost_request_schema = cls( + invoice_itempost_request_schema = cls( customer=customer, account_manager=account_manager, contact=contact, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename=filename, ) - factuur_itempost_request_schema.additional_properties = d - return factuur_itempost_request_schema + invoice_itempost_request_schema.additional_properties = d + return invoice_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/factuur_itempost_response_schema.py b/rentman_api_client/models/invoice_itempost_response_schema.py similarity index 78% rename from rentman_api_client/models/factuur_itempost_response_schema.py rename to rentman_api_client/models/invoice_itempost_response_schema.py index 0ba841b..606b056 100644 --- a/rentman_api_client/models/factuur_itempost_response_schema.py +++ b/rentman_api_client/models/invoice_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.factuur_itempost_response_schema_data import FactuurItempostResponseSchemaData +from ..models.invoice_itempost_response_schema_data import InvoiceItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurItempostResponseSchema") +T = TypeVar("T", bound="InvoiceItempostResponseSchema") @attr.s(auto_attribs=True) -class FactuurItempostResponseSchema: +class InvoiceItempostResponseSchema: """ """ - data: Union[Unset, FactuurItempostResponseSchemaData] = UNSET + data: Union[Unset, InvoiceItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, FactuurItempostResponseSchemaData] = UNSET + data: Union[Unset, InvoiceItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = FactuurItempostResponseSchemaData.from_dict(_data) + data = InvoiceItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - factuur_itempost_response_schema = cls( + invoice_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - factuur_itempost_response_schema.additional_properties = d - return factuur_itempost_response_schema + invoice_itempost_response_schema.additional_properties = d + return invoice_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/factuur_itempost_response_schema_data.py b/rentman_api_client/models/invoice_itempost_response_schema_data.py similarity index 96% rename from rentman_api_client/models/factuur_itempost_response_schema_data.py rename to rentman_api_client/models/invoice_itempost_response_schema_data.py index 14fb7e9..2537ade 100644 --- a/rentman_api_client/models/factuur_itempost_response_schema_data.py +++ b/rentman_api_client/models/invoice_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurItempostResponseSchemaData") +T = TypeVar("T", bound="InvoiceItempostResponseSchemaData") @attr.s(auto_attribs=True) -class FactuurItempostResponseSchemaData: +class InvoiceItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -182,7 +182,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - factuur_itempost_response_schema_data = cls( + invoice_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -209,8 +209,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags=tags, ) - factuur_itempost_response_schema_data.additional_properties = d - return factuur_itempost_response_schema_data + invoice_itempost_response_schema_data.additional_properties = d + return invoice_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/factuur_itemget_request_schema.py b/rentman_api_client/models/invoice_itemput_request_schema.py similarity index 93% rename from rentman_api_client/models/factuur_itemget_request_schema.py rename to rentman_api_client/models/invoice_itemput_request_schema.py index be3a53e..4ad03aa 100644 --- a/rentman_api_client/models/factuur_itemget_request_schema.py +++ b/rentman_api_client/models/invoice_itemput_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurItemgetRequestSchema") +T = TypeVar("T", bound="InvoiceItemputRequestSchema") @attr.s(auto_attribs=True) -class FactuurItemgetRequestSchema: +class InvoiceItemputRequestSchema: """ """ customer: Union[Unset, None, str] = UNSET @@ -90,7 +90,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename = d.pop("filename", UNSET) - factuur_itemget_request_schema = cls( + invoice_itemput_request_schema = cls( customer=customer, account_manager=account_manager, contact=contact, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename=filename, ) - factuur_itemget_request_schema.additional_properties = d - return factuur_itemget_request_schema + invoice_itemput_request_schema.additional_properties = d + return invoice_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_itemput_response_schema.py b/rentman_api_client/models/invoice_itemput_response_schema.py similarity index 80% rename from rentman_api_client/models/offerte_itemput_response_schema.py rename to rentman_api_client/models/invoice_itemput_response_schema.py index 656f491..e996279 100644 --- a/rentman_api_client/models/offerte_itemput_response_schema.py +++ b/rentman_api_client/models/invoice_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.offerte_itemput_response_schema_data import OfferteItemputResponseSchemaData +from ..models.invoice_itemput_response_schema_data import InvoiceItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteItemputResponseSchema") +T = TypeVar("T", bound="InvoiceItemputResponseSchema") @attr.s(auto_attribs=True) -class OfferteItemputResponseSchema: +class InvoiceItemputResponseSchema: """ """ - data: Union[Unset, OfferteItemputResponseSchemaData] = UNSET + data: Union[Unset, InvoiceItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, OfferteItemputResponseSchemaData] = UNSET + data: Union[Unset, InvoiceItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = OfferteItemputResponseSchemaData.from_dict(_data) + data = InvoiceItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - offerte_itemput_response_schema = cls( + invoice_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - offerte_itemput_response_schema.additional_properties = d - return offerte_itemput_response_schema + invoice_itemput_response_schema.additional_properties = d + return invoice_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/factuur_itemget_response_schema_data.py b/rentman_api_client/models/invoice_itemput_response_schema_data.py similarity index 96% rename from rentman_api_client/models/factuur_itemget_response_schema_data.py rename to rentman_api_client/models/invoice_itemput_response_schema_data.py index 731fca5..d8c9427 100644 --- a/rentman_api_client/models/factuur_itemget_response_schema_data.py +++ b/rentman_api_client/models/invoice_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurItemgetResponseSchemaData") +T = TypeVar("T", bound="InvoiceItemputResponseSchemaData") @attr.s(auto_attribs=True) -class FactuurItemgetResponseSchemaData: +class InvoiceItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -182,7 +182,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - factuur_itemget_response_schema_data = cls( + invoice_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -209,8 +209,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags=tags, ) - factuur_itemget_response_schema_data.additional_properties = d - return factuur_itemget_response_schema_data + invoice_itemput_response_schema_data.additional_properties = d + return invoice_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_collectionpost_response_schema.py b/rentman_api_client/models/invoiceline_collectionget_response_schema.py similarity index 80% rename from rentman_api_client/models/accessoire_collectionpost_response_schema.py rename to rentman_api_client/models/invoiceline_collectionget_response_schema.py index e9f6502..bdcc704 100644 --- a/rentman_api_client/models/accessoire_collectionpost_response_schema.py +++ b/rentman_api_client/models/invoiceline_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.accessoire_collectionpost_response_schema_data_item import AccessoireCollectionpostResponseSchemaDataItem +from ..models.invoiceline_collectionget_response_schema_data_item import InvoicelineCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireCollectionpostResponseSchema") +T = TypeVar("T", bound="InvoicelineCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class AccessoireCollectionpostResponseSchema: +class InvoicelineCollectiongetResponseSchema: """ """ - data: Union[Unset, List[AccessoireCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[InvoicelineCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AccessoireCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = InvoicelineCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - accessoire_collectionpost_response_schema = cls( + invoiceline_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - accessoire_collectionpost_response_schema.additional_properties = d - return accessoire_collectionpost_response_schema + invoiceline_collectionget_response_schema.additional_properties = d + return invoiceline_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_collectionpost_response_schema_data_item.py b/rentman_api_client/models/invoiceline_collectionget_response_schema_data_item.py similarity index 92% rename from rentman_api_client/models/btwbedrag_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/invoiceline_collectionget_response_schema_data_item.py index 1671fb2..ca99d3c 100644 --- a/rentman_api_client/models/btwbedrag_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/invoiceline_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="InvoicelineCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class BtwbedragCollectionpostResponseSchemaDataItem: +class InvoicelineCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -110,7 +110,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode = d.pop("ledgercode", UNSET) - btwbedrag_collectionpost_response_schema_data_item = cls( + invoiceline_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -125,8 +125,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode=ledgercode, ) - btwbedrag_collectionpost_response_schema_data_item.additional_properties = d - return btwbedrag_collectionpost_response_schema_data_item + invoiceline_collectionget_response_schema_data_item.additional_properties = d + return invoiceline_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurgroep_collectionpost_response_schema.py b/rentman_api_client/models/invoiceline_collectionpost_response_schema.py similarity index 80% rename from rentman_api_client/models/inhuurgroep_collectionpost_response_schema.py rename to rentman_api_client/models/invoiceline_collectionpost_response_schema.py index 27b5580..f507118 100644 --- a/rentman_api_client/models/inhuurgroep_collectionpost_response_schema.py +++ b/rentman_api_client/models/invoiceline_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.inhuurgroep_collectionpost_response_schema_data_item import ( - InhuurgroepCollectionpostResponseSchemaDataItem, +from ..models.invoiceline_collectionpost_response_schema_data_item import ( + InvoicelineCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepCollectionpostResponseSchema") +T = TypeVar("T", bound="InvoicelineCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class InhuurgroepCollectionpostResponseSchema: +class InvoicelineCollectionpostResponseSchema: """ """ - data: Union[Unset, List[InhuurgroepCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[InvoicelineCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = InhuurgroepCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = InvoicelineCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurgroep_collectionpost_response_schema = cls( + invoiceline_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurgroep_collectionpost_response_schema.additional_properties = d - return inhuurgroep_collectionpost_response_schema + invoiceline_collectionpost_response_schema.additional_properties = d + return invoiceline_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_collectionget_response_schema_data_item.py b/rentman_api_client/models/invoiceline_collectionpost_response_schema_data_item.py similarity index 92% rename from rentman_api_client/models/btwbedrag_collectionget_response_schema_data_item.py rename to rentman_api_client/models/invoiceline_collectionpost_response_schema_data_item.py index 5cd1e2b..677ca77 100644 --- a/rentman_api_client/models/btwbedrag_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/invoiceline_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="InvoicelineCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class BtwbedragCollectiongetResponseSchemaDataItem: +class InvoicelineCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -110,7 +110,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode = d.pop("ledgercode", UNSET) - btwbedrag_collectionget_response_schema_data_item = cls( + invoiceline_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -125,8 +125,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode=ledgercode, ) - btwbedrag_collectionget_response_schema_data_item.additional_properties = d - return btwbedrag_collectionget_response_schema_data_item + invoiceline_collectionpost_response_schema_data_item.additional_properties = d + return invoiceline_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurgroep_collectionput_response_schema.py b/rentman_api_client/models/invoiceline_collectionput_response_schema.py similarity index 80% rename from rentman_api_client/models/inhuurgroep_collectionput_response_schema.py rename to rentman_api_client/models/invoiceline_collectionput_response_schema.py index 30eba90..07576eb 100644 --- a/rentman_api_client/models/inhuurgroep_collectionput_response_schema.py +++ b/rentman_api_client/models/invoiceline_collectionput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuurgroep_collectionput_response_schema_data_item import InhuurgroepCollectionputResponseSchemaDataItem +from ..models.invoiceline_collectionput_response_schema_data_item import InvoicelineCollectionputResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepCollectionputResponseSchema") +T = TypeVar("T", bound="InvoicelineCollectionputResponseSchema") @attr.s(auto_attribs=True) -class InhuurgroepCollectionputResponseSchema: +class InvoicelineCollectionputResponseSchema: """ """ - data: Union[Unset, List[InhuurgroepCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[InvoicelineCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = InhuurgroepCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = InvoicelineCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurgroep_collectionput_response_schema = cls( + invoiceline_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurgroep_collectionput_response_schema.additional_properties = d - return inhuurgroep_collectionput_response_schema + invoiceline_collectionput_response_schema.additional_properties = d + return invoiceline_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_collectionput_response_schema_data_item.py b/rentman_api_client/models/invoiceline_collectionput_response_schema_data_item.py similarity index 92% rename from rentman_api_client/models/btwbedrag_collectionput_response_schema_data_item.py rename to rentman_api_client/models/invoiceline_collectionput_response_schema_data_item.py index a74e739..feac0a7 100644 --- a/rentman_api_client/models/btwbedrag_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/invoiceline_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="InvoicelineCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class BtwbedragCollectionputResponseSchemaDataItem: +class InvoicelineCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -110,7 +110,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode = d.pop("ledgercode", UNSET) - btwbedrag_collectionput_response_schema_data_item = cls( + invoiceline_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -125,8 +125,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode=ledgercode, ) - btwbedrag_collectionput_response_schema_data_item.additional_properties = d - return btwbedrag_collectionput_response_schema_data_item + invoiceline_collectionput_response_schema_data_item.additional_properties = d + return invoiceline_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_itemput_request_schema.py b/rentman_api_client/models/invoiceline_itemget_request_schema.py similarity index 84% rename from rentman_api_client/models/btwbedrag_itemput_request_schema.py rename to rentman_api_client/models/invoiceline_itemget_request_schema.py index cde7e39..f3ff123 100644 --- a/rentman_api_client/models/btwbedrag_itemput_request_schema.py +++ b/rentman_api_client/models/invoiceline_itemget_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragItemputRequestSchema") +T = TypeVar("T", bound="InvoicelineItemgetRequestSchema") @attr.s(auto_attribs=True) -class BtwbedragItemputRequestSchema: +class InvoicelineItemgetRequestSchema: """ """ base: Union[Unset, float] = UNSET @@ -36,13 +36,13 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledger = d.pop("ledger", UNSET) - btwbedrag_itemput_request_schema = cls( + invoiceline_itemget_request_schema = cls( base=base, ledger=ledger, ) - btwbedrag_itemput_request_schema.additional_properties = d - return btwbedrag_itemput_request_schema + invoiceline_itemget_request_schema.additional_properties = d + return invoiceline_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_itempost_response_schema.py b/rentman_api_client/models/invoiceline_itemget_response_schema.py similarity index 78% rename from rentman_api_client/models/accessoire_itempost_response_schema.py rename to rentman_api_client/models/invoiceline_itemget_response_schema.py index c3183ea..ea60df6 100644 --- a/rentman_api_client/models/accessoire_itempost_response_schema.py +++ b/rentman_api_client/models/invoiceline_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.accessoire_itempost_response_schema_data import AccessoireItempostResponseSchemaData +from ..models.invoiceline_itemget_response_schema_data import InvoicelineItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireItempostResponseSchema") +T = TypeVar("T", bound="InvoicelineItemgetResponseSchema") @attr.s(auto_attribs=True) -class AccessoireItempostResponseSchema: +class InvoicelineItemgetResponseSchema: """ """ - data: Union[Unset, AccessoireItempostResponseSchemaData] = UNSET + data: Union[Unset, InvoicelineItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AccessoireItempostResponseSchemaData] = UNSET + data: Union[Unset, InvoicelineItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AccessoireItempostResponseSchemaData.from_dict(_data) + data = InvoicelineItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - accessoire_itempost_response_schema = cls( + invoiceline_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - accessoire_itempost_response_schema.additional_properties = d - return accessoire_itempost_response_schema + invoiceline_itemget_response_schema.additional_properties = d + return invoiceline_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_itempost_response_schema_data.py b/rentman_api_client/models/invoiceline_itemget_response_schema_data.py similarity index 93% rename from rentman_api_client/models/btwbedrag_itempost_response_schema_data.py rename to rentman_api_client/models/invoiceline_itemget_response_schema_data.py index f424acd..a00df03 100644 --- a/rentman_api_client/models/btwbedrag_itempost_response_schema_data.py +++ b/rentman_api_client/models/invoiceline_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragItempostResponseSchemaData") +T = TypeVar("T", bound="InvoicelineItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class BtwbedragItempostResponseSchemaData: +class InvoicelineItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -110,7 +110,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode = d.pop("ledgercode", UNSET) - btwbedrag_itempost_response_schema_data = cls( + invoiceline_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -125,8 +125,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode=ledgercode, ) - btwbedrag_itempost_response_schema_data.additional_properties = d - return btwbedrag_itempost_response_schema_data + invoiceline_itemget_response_schema_data.additional_properties = d + return invoiceline_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_itempost_request_schema.py b/rentman_api_client/models/invoiceline_itempost_request_schema.py similarity index 84% rename from rentman_api_client/models/btwbedrag_itempost_request_schema.py rename to rentman_api_client/models/invoiceline_itempost_request_schema.py index b298efd..aa8dd1e 100644 --- a/rentman_api_client/models/btwbedrag_itempost_request_schema.py +++ b/rentman_api_client/models/invoiceline_itempost_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragItempostRequestSchema") +T = TypeVar("T", bound="InvoicelineItempostRequestSchema") @attr.s(auto_attribs=True) -class BtwbedragItempostRequestSchema: +class InvoicelineItempostRequestSchema: """ """ base: Union[Unset, float] = UNSET @@ -36,13 +36,13 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledger = d.pop("ledger", UNSET) - btwbedrag_itempost_request_schema = cls( + invoiceline_itempost_request_schema = cls( base=base, ledger=ledger, ) - btwbedrag_itempost_request_schema.additional_properties = d - return btwbedrag_itempost_request_schema + invoiceline_itempost_request_schema.additional_properties = d + return invoiceline_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functiegroep_itemget_response_schema.py b/rentman_api_client/models/invoiceline_itempost_response_schema.py similarity index 78% rename from rentman_api_client/models/functiegroep_itemget_response_schema.py rename to rentman_api_client/models/invoiceline_itempost_response_schema.py index 14fe5b6..1ed7f43 100644 --- a/rentman_api_client/models/functiegroep_itemget_response_schema.py +++ b/rentman_api_client/models/invoiceline_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.functiegroep_itemget_response_schema_data import FunctiegroepItemgetResponseSchemaData +from ..models.invoiceline_itempost_response_schema_data import InvoicelineItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctiegroepItemgetResponseSchema") +T = TypeVar("T", bound="InvoicelineItempostResponseSchema") @attr.s(auto_attribs=True) -class FunctiegroepItemgetResponseSchema: +class InvoicelineItempostResponseSchema: """ """ - data: Union[Unset, FunctiegroepItemgetResponseSchemaData] = UNSET + data: Union[Unset, InvoicelineItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, FunctiegroepItemgetResponseSchemaData] = UNSET + data: Union[Unset, InvoicelineItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = FunctiegroepItemgetResponseSchemaData.from_dict(_data) + data = InvoicelineItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - functiegroep_itemget_response_schema = cls( + invoiceline_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - functiegroep_itemget_response_schema.additional_properties = d - return functiegroep_itemget_response_schema + invoiceline_itempost_response_schema.additional_properties = d + return invoiceline_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_itemget_response_schema_data.py b/rentman_api_client/models/invoiceline_itempost_response_schema_data.py similarity index 93% rename from rentman_api_client/models/btwbedrag_itemget_response_schema_data.py rename to rentman_api_client/models/invoiceline_itempost_response_schema_data.py index a4acc38..a9687cf 100644 --- a/rentman_api_client/models/btwbedrag_itemget_response_schema_data.py +++ b/rentman_api_client/models/invoiceline_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragItemgetResponseSchemaData") +T = TypeVar("T", bound="InvoicelineItempostResponseSchemaData") @attr.s(auto_attribs=True) -class BtwbedragItemgetResponseSchemaData: +class InvoicelineItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -110,7 +110,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode = d.pop("ledgercode", UNSET) - btwbedrag_itemget_response_schema_data = cls( + invoiceline_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -125,8 +125,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode=ledgercode, ) - btwbedrag_itemget_response_schema_data.additional_properties = d - return btwbedrag_itemget_response_schema_data + invoiceline_itempost_response_schema_data.additional_properties = d + return invoiceline_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_itemget_request_schema.py b/rentman_api_client/models/invoiceline_itemput_request_schema.py similarity index 84% rename from rentman_api_client/models/btwbedrag_itemget_request_schema.py rename to rentman_api_client/models/invoiceline_itemput_request_schema.py index 625a4ad..4b9e413 100644 --- a/rentman_api_client/models/btwbedrag_itemget_request_schema.py +++ b/rentman_api_client/models/invoiceline_itemput_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragItemgetRequestSchema") +T = TypeVar("T", bound="InvoicelineItemputRequestSchema") @attr.s(auto_attribs=True) -class BtwbedragItemgetRequestSchema: +class InvoicelineItemputRequestSchema: """ """ base: Union[Unset, float] = UNSET @@ -36,13 +36,13 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledger = d.pop("ledger", UNSET) - btwbedrag_itemget_request_schema = cls( + invoiceline_itemput_request_schema = cls( base=base, ledger=ledger, ) - btwbedrag_itemget_request_schema.additional_properties = d - return btwbedrag_itemget_request_schema + invoiceline_itemput_request_schema.additional_properties = d + return invoiceline_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurgroep_itemput_response_schema.py b/rentman_api_client/models/invoiceline_itemput_response_schema.py similarity index 78% rename from rentman_api_client/models/inhuurgroep_itemput_response_schema.py rename to rentman_api_client/models/invoiceline_itemput_response_schema.py index 8297f06..6a00acb 100644 --- a/rentman_api_client/models/inhuurgroep_itemput_response_schema.py +++ b/rentman_api_client/models/invoiceline_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuurgroep_itemput_response_schema_data import InhuurgroepItemputResponseSchemaData +from ..models.invoiceline_itemput_response_schema_data import InvoicelineItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepItemputResponseSchema") +T = TypeVar("T", bound="InvoicelineItemputResponseSchema") @attr.s(auto_attribs=True) -class InhuurgroepItemputResponseSchema: +class InvoicelineItemputResponseSchema: """ """ - data: Union[Unset, InhuurgroepItemputResponseSchemaData] = UNSET + data: Union[Unset, InvoicelineItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, InhuurgroepItemputResponseSchemaData] = UNSET + data: Union[Unset, InvoicelineItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = InhuurgroepItemputResponseSchemaData.from_dict(_data) + data = InvoicelineItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurgroep_itemput_response_schema = cls( + invoiceline_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurgroep_itemput_response_schema.additional_properties = d - return inhuurgroep_itemput_response_schema + invoiceline_itemput_response_schema.additional_properties = d + return invoiceline_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_itemput_response_schema_data.py b/rentman_api_client/models/invoiceline_itemput_response_schema_data.py similarity index 93% rename from rentman_api_client/models/btwbedrag_itemput_response_schema_data.py rename to rentman_api_client/models/invoiceline_itemput_response_schema_data.py index e1dad30..b083330 100644 --- a/rentman_api_client/models/btwbedrag_itemput_response_schema_data.py +++ b/rentman_api_client/models/invoiceline_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragItemputResponseSchemaData") +T = TypeVar("T", bound="InvoicelineItemputResponseSchemaData") @attr.s(auto_attribs=True) -class BtwbedragItemputResponseSchemaData: +class InvoicelineItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -110,7 +110,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode = d.pop("ledgercode", UNSET) - btwbedrag_itemput_response_schema_data = cls( + invoiceline_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -125,8 +125,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: ledgercode=ledgercode, ) - btwbedrag_itemput_response_schema_data.additional_properties = d - return btwbedrag_itemput_response_schema_data + invoiceline_itemput_response_schema_data.additional_properties = d + return invoiceline_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_collectionpost_response_schema.py b/rentman_api_client/models/ledgercode_collectionget_response_schema.py similarity index 80% rename from rentman_api_client/models/exemplaar_collectionpost_response_schema.py rename to rentman_api_client/models/ledgercode_collectionget_response_schema.py index e3a0501..e29d8af 100644 --- a/rentman_api_client/models/exemplaar_collectionpost_response_schema.py +++ b/rentman_api_client/models/ledgercode_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.exemplaar_collectionpost_response_schema_data_item import ExemplaarCollectionpostResponseSchemaDataItem +from ..models.ledgercode_collectionget_response_schema_data_item import LedgercodeCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarCollectionpostResponseSchema") +T = TypeVar("T", bound="LedgercodeCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class ExemplaarCollectionpostResponseSchema: +class LedgercodeCollectiongetResponseSchema: """ """ - data: Union[Unset, List[ExemplaarCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[LedgercodeCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = ExemplaarCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = LedgercodeCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - exemplaar_collectionpost_response_schema = cls( + ledgercode_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - exemplaar_collectionpost_response_schema.additional_properties = d - return exemplaar_collectionpost_response_schema + ledgercode_collectionget_response_schema.additional_properties = d + return ledgercode_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/grootboek_collectionpost_response_schema_data_item.py b/rentman_api_client/models/ledgercode_collectionget_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/grootboek_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/ledgercode_collectionget_response_schema_data_item.py index 0000bb5..cd57f0d 100644 --- a/rentman_api_client/models/grootboek_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/ledgercode_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="GrootboekCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="LedgercodeCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class GrootboekCollectionpostResponseSchemaDataItem: +class LedgercodeCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -74,7 +74,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code = d.pop("code", UNSET) - grootboek_collectionpost_response_schema_data_item = cls( + ledgercode_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -83,8 +83,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code=code, ) - grootboek_collectionpost_response_schema_data_item.additional_properties = d - return grootboek_collectionpost_response_schema_data_item + ledgercode_collectionget_response_schema_data_item.additional_properties = d + return ledgercode_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/ledgercode_collectionpost_response_schema.py b/rentman_api_client/models/ledgercode_collectionpost_response_schema.py new file mode 100644 index 0000000..e6a73e5 --- /dev/null +++ b/rentman_api_client/models/ledgercode_collectionpost_response_schema.py @@ -0,0 +1,88 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.ledgercode_collectionpost_response_schema_data_item import LedgercodeCollectionpostResponseSchemaDataItem +from ..types import UNSET, Unset + +T = TypeVar("T", bound="LedgercodeCollectionpostResponseSchema") + + +@attr.s(auto_attribs=True) +class LedgercodeCollectionpostResponseSchema: + """ """ + + data: Union[Unset, List[LedgercodeCollectionpostResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = LedgercodeCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + ledgercode_collectionpost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + ledgercode_collectionpost_response_schema.additional_properties = d + return ledgercode_collectionpost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/grootboek_collectionget_response_schema_data_item.py b/rentman_api_client/models/ledgercode_collectionpost_response_schema_data_item.py similarity index 89% rename from rentman_api_client/models/grootboek_collectionget_response_schema_data_item.py rename to rentman_api_client/models/ledgercode_collectionpost_response_schema_data_item.py index 4ffff8d..8157b4a 100644 --- a/rentman_api_client/models/grootboek_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/ledgercode_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="GrootboekCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="LedgercodeCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class GrootboekCollectiongetResponseSchemaDataItem: +class LedgercodeCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -74,7 +74,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code = d.pop("code", UNSET) - grootboek_collectionget_response_schema_data_item = cls( + ledgercode_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -83,8 +83,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code=code, ) - grootboek_collectionget_response_schema_data_item.additional_properties = d - return grootboek_collectionget_response_schema_data_item + ledgercode_collectionpost_response_schema_data_item.additional_properties = d + return ledgercode_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/accessoire_collectionput_response_schema.py b/rentman_api_client/models/ledgercode_collectionput_response_schema.py similarity index 80% rename from rentman_api_client/models/accessoire_collectionput_response_schema.py rename to rentman_api_client/models/ledgercode_collectionput_response_schema.py index d6ef686..fe11ec0 100644 --- a/rentman_api_client/models/accessoire_collectionput_response_schema.py +++ b/rentman_api_client/models/ledgercode_collectionput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.accessoire_collectionput_response_schema_data_item import AccessoireCollectionputResponseSchemaDataItem +from ..models.ledgercode_collectionput_response_schema_data_item import LedgercodeCollectionputResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="AccessoireCollectionputResponseSchema") +T = TypeVar("T", bound="LedgercodeCollectionputResponseSchema") @attr.s(auto_attribs=True) -class AccessoireCollectionputResponseSchema: +class LedgercodeCollectionputResponseSchema: """ """ - data: Union[Unset, List[AccessoireCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[LedgercodeCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AccessoireCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = LedgercodeCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - accessoire_collectionput_response_schema = cls( + ledgercode_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - accessoire_collectionput_response_schema.additional_properties = d - return accessoire_collectionput_response_schema + ledgercode_collectionput_response_schema.additional_properties = d + return ledgercode_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/grootboek_collectionput_response_schema_data_item.py b/rentman_api_client/models/ledgercode_collectionput_response_schema_data_item.py similarity index 89% rename from rentman_api_client/models/grootboek_collectionput_response_schema_data_item.py rename to rentman_api_client/models/ledgercode_collectionput_response_schema_data_item.py index 44c9072..1474fec 100644 --- a/rentman_api_client/models/grootboek_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/ledgercode_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="GrootboekCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="LedgercodeCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class GrootboekCollectionputResponseSchemaDataItem: +class LedgercodeCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -74,7 +74,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code = d.pop("code", UNSET) - grootboek_collectionput_response_schema_data_item = cls( + ledgercode_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -83,8 +83,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code=code, ) - grootboek_collectionput_response_schema_data_item.additional_properties = d - return grootboek_collectionput_response_schema_data_item + ledgercode_collectionput_response_schema_data_item.additional_properties = d + return ledgercode_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/grootboek_itempost_request_schema.py b/rentman_api_client/models/ledgercode_itemget_request_schema.py similarity index 82% rename from rentman_api_client/models/grootboek_itempost_request_schema.py rename to rentman_api_client/models/ledgercode_itemget_request_schema.py index ce9e56a..14ceebe 100644 --- a/rentman_api_client/models/grootboek_itempost_request_schema.py +++ b/rentman_api_client/models/ledgercode_itemget_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="GrootboekItempostRequestSchema") +T = TypeVar("T", bound="LedgercodeItemgetRequestSchema") @attr.s(auto_attribs=True) -class GrootboekItempostRequestSchema: +class LedgercodeItemgetRequestSchema: """ """ code: Union[Unset, str] = UNSET @@ -30,12 +30,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() code = d.pop("code", UNSET) - grootboek_itempost_request_schema = cls( + ledgercode_itemget_request_schema = cls( code=code, ) - grootboek_itempost_request_schema.additional_properties = d - return grootboek_itempost_request_schema + ledgercode_itemget_request_schema.additional_properties = d + return ledgercode_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/btwbedrag_itempost_response_schema.py b/rentman_api_client/models/ledgercode_itemget_response_schema.py similarity index 78% rename from rentman_api_client/models/btwbedrag_itempost_response_schema.py rename to rentman_api_client/models/ledgercode_itemget_response_schema.py index 7486ad4..5a4283a 100644 --- a/rentman_api_client/models/btwbedrag_itempost_response_schema.py +++ b/rentman_api_client/models/ledgercode_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.btwbedrag_itempost_response_schema_data import BtwbedragItempostResponseSchemaData +from ..models.ledgercode_itemget_response_schema_data import LedgercodeItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="BtwbedragItempostResponseSchema") +T = TypeVar("T", bound="LedgercodeItemgetResponseSchema") @attr.s(auto_attribs=True) -class BtwbedragItempostResponseSchema: +class LedgercodeItemgetResponseSchema: """ """ - data: Union[Unset, BtwbedragItempostResponseSchemaData] = UNSET + data: Union[Unset, LedgercodeItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, BtwbedragItempostResponseSchemaData] = UNSET + data: Union[Unset, LedgercodeItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = BtwbedragItempostResponseSchemaData.from_dict(_data) + data = LedgercodeItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - btwbedrag_itempost_response_schema = cls( + ledgercode_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - btwbedrag_itempost_response_schema.additional_properties = d - return btwbedrag_itempost_response_schema + ledgercode_itemget_response_schema.additional_properties = d + return ledgercode_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/grootboek_itempost_response_schema_data.py b/rentman_api_client/models/ledgercode_itemget_response_schema_data.py similarity index 91% rename from rentman_api_client/models/grootboek_itempost_response_schema_data.py rename to rentman_api_client/models/ledgercode_itemget_response_schema_data.py index 77834e3..d2a6071 100644 --- a/rentman_api_client/models/grootboek_itempost_response_schema_data.py +++ b/rentman_api_client/models/ledgercode_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="GrootboekItempostResponseSchemaData") +T = TypeVar("T", bound="LedgercodeItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class GrootboekItempostResponseSchemaData: +class LedgercodeItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -74,7 +74,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code = d.pop("code", UNSET) - grootboek_itempost_response_schema_data = cls( + ledgercode_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -83,8 +83,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code=code, ) - grootboek_itempost_response_schema_data.additional_properties = d - return grootboek_itempost_response_schema_data + ledgercode_itemget_response_schema_data.additional_properties = d + return ledgercode_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/grootboek_itemput_request_schema.py b/rentman_api_client/models/ledgercode_itempost_request_schema.py similarity index 82% rename from rentman_api_client/models/grootboek_itemput_request_schema.py rename to rentman_api_client/models/ledgercode_itempost_request_schema.py index 400af84..7efbe16 100644 --- a/rentman_api_client/models/grootboek_itemput_request_schema.py +++ b/rentman_api_client/models/ledgercode_itempost_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="GrootboekItemputRequestSchema") +T = TypeVar("T", bound="LedgercodeItempostRequestSchema") @attr.s(auto_attribs=True) -class GrootboekItemputRequestSchema: +class LedgercodeItempostRequestSchema: """ """ code: Union[Unset, str] = UNSET @@ -30,12 +30,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() code = d.pop("code", UNSET) - grootboek_itemput_request_schema = cls( + ledgercode_itempost_request_schema = cls( code=code, ) - grootboek_itemput_request_schema.additional_properties = d - return grootboek_itemput_request_schema + ledgercode_itempost_request_schema.additional_properties = d + return ledgercode_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/ledgercode_itempost_response_schema.py b/rentman_api_client/models/ledgercode_itempost_response_schema.py new file mode 100644 index 0000000..ed548ad --- /dev/null +++ b/rentman_api_client/models/ledgercode_itempost_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.ledgercode_itempost_response_schema_data import LedgercodeItempostResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="LedgercodeItempostResponseSchema") + + +@attr.s(auto_attribs=True) +class LedgercodeItempostResponseSchema: + """ """ + + data: Union[Unset, LedgercodeItempostResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, LedgercodeItempostResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = LedgercodeItempostResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + ledgercode_itempost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + ledgercode_itempost_response_schema.additional_properties = d + return ledgercode_itempost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/grootboek_itemget_response_schema_data.py b/rentman_api_client/models/ledgercode_itempost_response_schema_data.py similarity index 91% rename from rentman_api_client/models/grootboek_itemget_response_schema_data.py rename to rentman_api_client/models/ledgercode_itempost_response_schema_data.py index 34b21a7..b9c646b 100644 --- a/rentman_api_client/models/grootboek_itemget_response_schema_data.py +++ b/rentman_api_client/models/ledgercode_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="GrootboekItemgetResponseSchemaData") +T = TypeVar("T", bound="LedgercodeItempostResponseSchemaData") @attr.s(auto_attribs=True) -class GrootboekItemgetResponseSchemaData: +class LedgercodeItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -74,7 +74,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code = d.pop("code", UNSET) - grootboek_itemget_response_schema_data = cls( + ledgercode_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -83,8 +83,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code=code, ) - grootboek_itemget_response_schema_data.additional_properties = d - return grootboek_itemget_response_schema_data + ledgercode_itempost_response_schema_data.additional_properties = d + return ledgercode_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/grootboek_itemget_request_schema.py b/rentman_api_client/models/ledgercode_itemput_request_schema.py similarity index 82% rename from rentman_api_client/models/grootboek_itemget_request_schema.py rename to rentman_api_client/models/ledgercode_itemput_request_schema.py index 900ce6b..f6c40ed 100644 --- a/rentman_api_client/models/grootboek_itemget_request_schema.py +++ b/rentman_api_client/models/ledgercode_itemput_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="GrootboekItemgetRequestSchema") +T = TypeVar("T", bound="LedgercodeItemputRequestSchema") @attr.s(auto_attribs=True) -class GrootboekItemgetRequestSchema: +class LedgercodeItemputRequestSchema: """ """ code: Union[Unset, str] = UNSET @@ -30,12 +30,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() code = d.pop("code", UNSET) - grootboek_itemget_request_schema = cls( + ledgercode_itemput_request_schema = cls( code=code, ) - grootboek_itemget_request_schema.additional_properties = d - return grootboek_itemget_request_schema + ledgercode_itemput_request_schema.additional_properties = d + return ledgercode_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_itempost_response_schema.py b/rentman_api_client/models/ledgercode_itemput_response_schema.py similarity index 78% rename from rentman_api_client/models/exemplaar_itempost_response_schema.py rename to rentman_api_client/models/ledgercode_itemput_response_schema.py index 5055361..7a06634 100644 --- a/rentman_api_client/models/exemplaar_itempost_response_schema.py +++ b/rentman_api_client/models/ledgercode_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.exemplaar_itempost_response_schema_data import ExemplaarItempostResponseSchemaData +from ..models.ledgercode_itemput_response_schema_data import LedgercodeItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarItempostResponseSchema") +T = TypeVar("T", bound="LedgercodeItemputResponseSchema") @attr.s(auto_attribs=True) -class ExemplaarItempostResponseSchema: +class LedgercodeItemputResponseSchema: """ """ - data: Union[Unset, ExemplaarItempostResponseSchemaData] = UNSET + data: Union[Unset, LedgercodeItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, ExemplaarItempostResponseSchemaData] = UNSET + data: Union[Unset, LedgercodeItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = ExemplaarItempostResponseSchemaData.from_dict(_data) + data = LedgercodeItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - exemplaar_itempost_response_schema = cls( + ledgercode_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - exemplaar_itempost_response_schema.additional_properties = d - return exemplaar_itempost_response_schema + ledgercode_itemput_response_schema.additional_properties = d + return ledgercode_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/grootboek_itemput_response_schema_data.py b/rentman_api_client/models/ledgercode_itemput_response_schema_data.py similarity index 91% rename from rentman_api_client/models/grootboek_itemput_response_schema_data.py rename to rentman_api_client/models/ledgercode_itemput_response_schema_data.py index 1405143..2c4a7a2 100644 --- a/rentman_api_client/models/grootboek_itemput_response_schema_data.py +++ b/rentman_api_client/models/ledgercode_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="GrootboekItemputResponseSchemaData") +T = TypeVar("T", bound="LedgercodeItemputResponseSchemaData") @attr.s(auto_attribs=True) -class GrootboekItemputResponseSchemaData: +class LedgercodeItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -74,7 +74,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code = d.pop("code", UNSET) - grootboek_itemput_response_schema_data = cls( + ledgercode_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -83,8 +83,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: code=code, ) - grootboek_itemput_response_schema_data.additional_properties = d - return grootboek_itemput_response_schema_data + ledgercode_itemput_response_schema_data.additional_properties = d + return ledgercode_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_collectionget_response_schema.py b/rentman_api_client/models/materiaal_collectionget_response_schema.py deleted file mode 100644 index 5023876..0000000 --- a/rentman_api_client/models/materiaal_collectionget_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.materiaal_collectionget_response_schema_data_item import MateriaalCollectiongetResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MateriaalCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class MateriaalCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[MateriaalCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = MateriaalCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - materiaal_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - materiaal_collectionget_response_schema.additional_properties = d - return materiaal_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_collectionpost_response_schema.py b/rentman_api_client/models/materiaal_collectionpost_response_schema.py deleted file mode 100644 index 02a6028..0000000 --- a/rentman_api_client/models/materiaal_collectionpost_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.materiaal_collectionpost_response_schema_data_item import MateriaalCollectionpostResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MateriaalCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class MateriaalCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[MateriaalCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = MateriaalCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - materiaal_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - materiaal_collectionpost_response_schema.additional_properties = d - return materiaal_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_collectionput_response_schema.py b/rentman_api_client/models/materiaal_collectionput_response_schema.py deleted file mode 100644 index 35c5dca..0000000 --- a/rentman_api_client/models/materiaal_collectionput_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.materiaal_collectionput_response_schema_data_item import MateriaalCollectionputResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MateriaalCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class MateriaalCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[MateriaalCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = MateriaalCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - materiaal_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - materiaal_collectionput_response_schema.additional_properties = d - return materiaal_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_itemget_response_schema.py b/rentman_api_client/models/materiaal_itemget_response_schema.py deleted file mode 100644 index 25c1082..0000000 --- a/rentman_api_client/models/materiaal_itemget_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.materiaal_itemget_response_schema_data import MateriaalItemgetResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MateriaalItemgetResponseSchema") - - -@attr.s(auto_attribs=True) -class MateriaalItemgetResponseSchema: - """ """ - - data: Union[Unset, MateriaalItemgetResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, MateriaalItemgetResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = MateriaalItemgetResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - materiaal_itemget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - materiaal_itemget_response_schema.additional_properties = d - return materiaal_itemget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_itempost_request_schema_country_of_origin.py b/rentman_api_client/models/materiaal_itempost_request_schema_country_of_origin.py deleted file mode 100644 index 2f7085f..0000000 --- a/rentman_api_client/models/materiaal_itempost_request_schema_country_of_origin.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class MateriaalItempostRequestSchemaCountryOfOrigin(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/materiaal_itempost_response_schema.py b/rentman_api_client/models/materiaal_itempost_response_schema.py deleted file mode 100644 index 63e2716..0000000 --- a/rentman_api_client/models/materiaal_itempost_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.materiaal_itempost_response_schema_data import MateriaalItempostResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MateriaalItempostResponseSchema") - - -@attr.s(auto_attribs=True) -class MateriaalItempostResponseSchema: - """ """ - - data: Union[Unset, MateriaalItempostResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, MateriaalItempostResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = MateriaalItempostResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - materiaal_itempost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - materiaal_itempost_response_schema.additional_properties = d - return materiaal_itempost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_itemput_request_schema_country_of_origin.py b/rentman_api_client/models/materiaal_itemput_request_schema_country_of_origin.py deleted file mode 100644 index e9a4334..0000000 --- a/rentman_api_client/models/materiaal_itemput_request_schema_country_of_origin.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class MateriaalItemputRequestSchemaCountryOfOrigin(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/materiaal_itemput_response_schema.py b/rentman_api_client/models/materiaal_itemput_response_schema.py deleted file mode 100644 index 831cec8..0000000 --- a/rentman_api_client/models/materiaal_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.materiaal_itemput_response_schema_data import MateriaalItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MateriaalItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class MateriaalItemputResponseSchema: - """ """ - - data: Union[Unset, MateriaalItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, MateriaalItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = MateriaalItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - materiaal_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - materiaal_itemput_response_schema.additional_properties = d - return materiaal_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_itemput_response_schema_data_is_physical.py b/rentman_api_client/models/materiaal_itemput_response_schema_data_is_physical.py deleted file mode 100644 index a907bd1..0000000 --- a/rentman_api_client/models/materiaal_itemput_response_schema_data_is_physical.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import Enum - - -class MateriaalItemputResponseSchemaDataIsPhysical(str, Enum): - VIRTUAL_PACKAGE = "Virtual package" - PHYSICAL_EQUIPMENT = "Physical equipment" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/materiaal_itemput_response_schema_data_rental_sales.py b/rentman_api_client/models/materiaal_itemput_response_schema_data_rental_sales.py deleted file mode 100644 index 99004e7..0000000 --- a/rentman_api_client/models/materiaal_itemput_response_schema_data_rental_sales.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import Enum - - -class MateriaalItemputResponseSchemaDataRentalSales(str, Enum): - SALE = "Sale" - RENTAL = "Rental" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/materiaal_itemput_response_schema_data_type.py b/rentman_api_client/models/materiaal_itemput_response_schema_data_type.py deleted file mode 100644 index 48b165d..0000000 --- a/rentman_api_client/models/materiaal_itemput_response_schema_data_type.py +++ /dev/null @@ -1,10 +0,0 @@ -from enum import Enum - - -class MateriaalItemputResponseSchemaDataType(str, Enum): - SET = "set" - CASE = "case" - ITEM = "item" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/medewerker_collectionget_response_schema.py b/rentman_api_client/models/medewerker_collectionget_response_schema.py deleted file mode 100644 index dd130ae..0000000 --- a/rentman_api_client/models/medewerker_collectionget_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.medewerker_collectionget_response_schema_data_item import MedewerkerCollectiongetResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MedewerkerCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class MedewerkerCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[MedewerkerCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = MedewerkerCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - medewerker_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - medewerker_collectionget_response_schema.additional_properties = d - return medewerker_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_collectionget_response_schema_data_item.py b/rentman_api_client/models/medewerker_collectionget_response_schema_data_item.py deleted file mode 100644 index 2195827..0000000 --- a/rentman_api_client/models/medewerker_collectionget_response_schema_data_item.py +++ /dev/null @@ -1,316 +0,0 @@ -import datetime -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr -from dateutil.parser import isoparse - -from ..models.medewerker_collectionget_response_schema_data_item_country import ( - MedewerkerCollectiongetResponseSchemaDataItemCountry, -) -from ..models.medewerker_collectionget_response_schema_data_item_custom import ( - MedewerkerCollectiongetResponseSchemaDataItemCustom, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MedewerkerCollectiongetResponseSchemaDataItem") - - -@attr.s(auto_attribs=True) -class MedewerkerCollectiongetResponseSchemaDataItem: - """ """ - - id: Union[Unset, int] = UNSET - created: Union[Unset, None, datetime.datetime] = UNSET - modified: Union[Unset, None, datetime.datetime] = UNSET - creator: Union[Unset, None, str] = UNSET - displayname: Union[Unset, str] = UNSET - folder: Union[Unset, None, str] = UNSET - street: Union[Unset, str] = UNSET - housenumber: Union[Unset, str] = UNSET - city: Union[Unset, str] = UNSET - postal_code: Union[Unset, str] = UNSET - addressline_2: Union[Unset, str] = UNSET - state: Union[Unset, str] = UNSET - country: Union[Unset, MedewerkerCollectiongetResponseSchemaDataItemCountry] = UNSET - birthdate: Union[Unset, None, str] = UNSET - passport_number: Union[Unset, str] = UNSET - emergency_contact: Union[Unset, str] = UNSET - remark: Union[Unset, str] = UNSET - driving_license: Union[Unset, str] = UNSET - contract: Union[Unset, str] = UNSET - bank: Union[Unset, str] = UNSET - contract_date: Union[Unset, None, str] = UNSET - company_name: Union[Unset, str] = UNSET - vat_code: Union[Unset, str] = UNSET - coc_code: Union[Unset, str] = UNSET - firstname: Union[Unset, str] = UNSET - middle_name: Union[Unset, str] = UNSET - lastname: Union[Unset, str] = UNSET - email: Union[Unset, str] = UNSET - phone: Union[Unset, str] = UNSET - active: Union[Unset, bool] = UNSET - avatar: Union[Unset, None, str] = UNSET - vt_fullname: Union[Unset, str] = UNSET - tags: Union[Unset, str] = UNSET - custom: Union[Unset, MedewerkerCollectiongetResponseSchemaDataItemCustom] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - id = self.id - created: Union[Unset, None, str] = UNSET - if not isinstance(self.created, Unset): - created = self.created.isoformat() if self.created else None - - modified: Union[Unset, None, str] = UNSET - if not isinstance(self.modified, Unset): - modified = self.modified.isoformat() if self.modified else None - - creator = self.creator - displayname = self.displayname - folder = self.folder - street = self.street - housenumber = self.housenumber - city = self.city - postal_code = self.postal_code - addressline_2 = self.addressline_2 - state = self.state - country: Union[Unset, str] = UNSET - if not isinstance(self.country, Unset): - country = self.country.value - - birthdate = self.birthdate - passport_number = self.passport_number - emergency_contact = self.emergency_contact - remark = self.remark - driving_license = self.driving_license - contract = self.contract - bank = self.bank - contract_date = self.contract_date - company_name = self.company_name - vat_code = self.vat_code - coc_code = self.coc_code - firstname = self.firstname - middle_name = self.middle_name - lastname = self.lastname - email = self.email - phone = self.phone - active = self.active - avatar = self.avatar - vt_fullname = self.vt_fullname - tags = self.tags - custom: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.custom, Unset): - custom = self.custom.to_dict() - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if id is not UNSET: - field_dict["id"] = id - if created is not UNSET: - field_dict["created"] = created - if modified is not UNSET: - field_dict["modified"] = modified - if creator is not UNSET: - field_dict["creator"] = creator - if displayname is not UNSET: - field_dict["displayname"] = displayname - if folder is not UNSET: - field_dict["folder"] = folder - if street is not UNSET: - field_dict["street"] = street - if housenumber is not UNSET: - field_dict["housenumber"] = housenumber - if city is not UNSET: - field_dict["city"] = city - if postal_code is not UNSET: - field_dict["postal_code"] = postal_code - if addressline_2 is not UNSET: - field_dict["addressline2"] = addressline_2 - if state is not UNSET: - field_dict["state"] = state - if country is not UNSET: - field_dict["country"] = country - if birthdate is not UNSET: - field_dict["birthdate"] = birthdate - if passport_number is not UNSET: - field_dict["passport_number"] = passport_number - if emergency_contact is not UNSET: - field_dict["emergency_contact"] = emergency_contact - if remark is not UNSET: - field_dict["remark"] = remark - if driving_license is not UNSET: - field_dict["driving_license"] = driving_license - if contract is not UNSET: - field_dict["contract"] = contract - if bank is not UNSET: - field_dict["bank"] = bank - if contract_date is not UNSET: - field_dict["contract_date"] = contract_date - if company_name is not UNSET: - field_dict["company_name"] = company_name - if vat_code is not UNSET: - field_dict["vat_code"] = vat_code - if coc_code is not UNSET: - field_dict["coc_code"] = coc_code - if firstname is not UNSET: - field_dict["firstname"] = firstname - if middle_name is not UNSET: - field_dict["middle_name"] = middle_name - if lastname is not UNSET: - field_dict["lastname"] = lastname - if email is not UNSET: - field_dict["email"] = email - if phone is not UNSET: - field_dict["phone"] = phone - if active is not UNSET: - field_dict["active"] = active - if avatar is not UNSET: - field_dict["avatar"] = avatar - if vt_fullname is not UNSET: - field_dict["vt_fullname"] = vt_fullname - if tags is not UNSET: - field_dict["tags"] = tags - if custom is not UNSET: - field_dict["custom"] = custom - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - id = d.pop("id", UNSET) - - created = None - _created = d.pop("created", UNSET) - if _created is not None and not isinstance(_created, Unset): - created = isoparse(_created) - - modified = None - _modified = d.pop("modified", UNSET) - if _modified is not None and not isinstance(_modified, Unset): - modified = isoparse(_modified) - - creator = d.pop("creator", UNSET) - - displayname = d.pop("displayname", UNSET) - - folder = d.pop("folder", UNSET) - - street = d.pop("street", UNSET) - - housenumber = d.pop("housenumber", UNSET) - - city = d.pop("city", UNSET) - - postal_code = d.pop("postal_code", UNSET) - - addressline_2 = d.pop("addressline2", UNSET) - - state = d.pop("state", UNSET) - - country: Union[Unset, MedewerkerCollectiongetResponseSchemaDataItemCountry] = UNSET - _country = d.pop("country", UNSET) - if not isinstance(_country, Unset): - country = MedewerkerCollectiongetResponseSchemaDataItemCountry(_country) - - birthdate = d.pop("birthdate", UNSET) - - passport_number = d.pop("passport_number", UNSET) - - emergency_contact = d.pop("emergency_contact", UNSET) - - remark = d.pop("remark", UNSET) - - driving_license = d.pop("driving_license", UNSET) - - contract = d.pop("contract", UNSET) - - bank = d.pop("bank", UNSET) - - contract_date = d.pop("contract_date", UNSET) - - company_name = d.pop("company_name", UNSET) - - vat_code = d.pop("vat_code", UNSET) - - coc_code = d.pop("coc_code", UNSET) - - firstname = d.pop("firstname", UNSET) - - middle_name = d.pop("middle_name", UNSET) - - lastname = d.pop("lastname", UNSET) - - email = d.pop("email", UNSET) - - phone = d.pop("phone", UNSET) - - active = d.pop("active", UNSET) - - avatar = d.pop("avatar", UNSET) - - vt_fullname = d.pop("vt_fullname", UNSET) - - tags = d.pop("tags", UNSET) - - custom: Union[Unset, MedewerkerCollectiongetResponseSchemaDataItemCustom] = UNSET - _custom = d.pop("custom", UNSET) - if not isinstance(_custom, Unset): - custom = MedewerkerCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - - medewerker_collectionget_response_schema_data_item = cls( - id=id, - created=created, - modified=modified, - creator=creator, - displayname=displayname, - folder=folder, - street=street, - housenumber=housenumber, - city=city, - postal_code=postal_code, - addressline_2=addressline_2, - state=state, - country=country, - birthdate=birthdate, - passport_number=passport_number, - emergency_contact=emergency_contact, - remark=remark, - driving_license=driving_license, - contract=contract, - bank=bank, - contract_date=contract_date, - company_name=company_name, - vat_code=vat_code, - coc_code=coc_code, - firstname=firstname, - middle_name=middle_name, - lastname=lastname, - email=email, - phone=phone, - active=active, - avatar=avatar, - vt_fullname=vt_fullname, - tags=tags, - custom=custom, - ) - - medewerker_collectionget_response_schema_data_item.additional_properties = d - return medewerker_collectionget_response_schema_data_item - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_collectionget_response_schema_data_item_country.py b/rentman_api_client/models/medewerker_collectionget_response_schema_data_item_country.py deleted file mode 100644 index dfc2aa2..0000000 --- a/rentman_api_client/models/medewerker_collectionget_response_schema_data_item_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class MedewerkerCollectiongetResponseSchemaDataItemCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/medewerker_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/medewerker_collectionget_response_schema_data_item_custom.py deleted file mode 100644 index 1ea0cb9..0000000 --- a/rentman_api_client/models/medewerker_collectionget_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="MedewerkerCollectiongetResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class MedewerkerCollectiongetResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - medewerker_collectionget_response_schema_data_item_custom = cls() - - medewerker_collectionget_response_schema_data_item_custom.additional_properties = d - return medewerker_collectionget_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_collectionpost_response_schema.py b/rentman_api_client/models/medewerker_collectionpost_response_schema.py deleted file mode 100644 index b158139..0000000 --- a/rentman_api_client/models/medewerker_collectionpost_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.medewerker_collectionpost_response_schema_data_item import MedewerkerCollectionpostResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MedewerkerCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class MedewerkerCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[MedewerkerCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = MedewerkerCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - medewerker_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - medewerker_collectionpost_response_schema.additional_properties = d - return medewerker_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_collectionpost_response_schema_data_item.py b/rentman_api_client/models/medewerker_collectionpost_response_schema_data_item.py deleted file mode 100644 index dd5833d..0000000 --- a/rentman_api_client/models/medewerker_collectionpost_response_schema_data_item.py +++ /dev/null @@ -1,316 +0,0 @@ -import datetime -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr -from dateutil.parser import isoparse - -from ..models.medewerker_collectionpost_response_schema_data_item_country import ( - MedewerkerCollectionpostResponseSchemaDataItemCountry, -) -from ..models.medewerker_collectionpost_response_schema_data_item_custom import ( - MedewerkerCollectionpostResponseSchemaDataItemCustom, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MedewerkerCollectionpostResponseSchemaDataItem") - - -@attr.s(auto_attribs=True) -class MedewerkerCollectionpostResponseSchemaDataItem: - """ """ - - id: Union[Unset, int] = UNSET - created: Union[Unset, None, datetime.datetime] = UNSET - modified: Union[Unset, None, datetime.datetime] = UNSET - creator: Union[Unset, None, str] = UNSET - displayname: Union[Unset, str] = UNSET - folder: Union[Unset, None, str] = UNSET - street: Union[Unset, str] = UNSET - housenumber: Union[Unset, str] = UNSET - city: Union[Unset, str] = UNSET - postal_code: Union[Unset, str] = UNSET - addressline_2: Union[Unset, str] = UNSET - state: Union[Unset, str] = UNSET - country: Union[Unset, MedewerkerCollectionpostResponseSchemaDataItemCountry] = UNSET - birthdate: Union[Unset, None, str] = UNSET - passport_number: Union[Unset, str] = UNSET - emergency_contact: Union[Unset, str] = UNSET - remark: Union[Unset, str] = UNSET - driving_license: Union[Unset, str] = UNSET - contract: Union[Unset, str] = UNSET - bank: Union[Unset, str] = UNSET - contract_date: Union[Unset, None, str] = UNSET - company_name: Union[Unset, str] = UNSET - vat_code: Union[Unset, str] = UNSET - coc_code: Union[Unset, str] = UNSET - firstname: Union[Unset, str] = UNSET - middle_name: Union[Unset, str] = UNSET - lastname: Union[Unset, str] = UNSET - email: Union[Unset, str] = UNSET - phone: Union[Unset, str] = UNSET - active: Union[Unset, bool] = UNSET - avatar: Union[Unset, None, str] = UNSET - vt_fullname: Union[Unset, str] = UNSET - tags: Union[Unset, str] = UNSET - custom: Union[Unset, MedewerkerCollectionpostResponseSchemaDataItemCustom] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - id = self.id - created: Union[Unset, None, str] = UNSET - if not isinstance(self.created, Unset): - created = self.created.isoformat() if self.created else None - - modified: Union[Unset, None, str] = UNSET - if not isinstance(self.modified, Unset): - modified = self.modified.isoformat() if self.modified else None - - creator = self.creator - displayname = self.displayname - folder = self.folder - street = self.street - housenumber = self.housenumber - city = self.city - postal_code = self.postal_code - addressline_2 = self.addressline_2 - state = self.state - country: Union[Unset, str] = UNSET - if not isinstance(self.country, Unset): - country = self.country.value - - birthdate = self.birthdate - passport_number = self.passport_number - emergency_contact = self.emergency_contact - remark = self.remark - driving_license = self.driving_license - contract = self.contract - bank = self.bank - contract_date = self.contract_date - company_name = self.company_name - vat_code = self.vat_code - coc_code = self.coc_code - firstname = self.firstname - middle_name = self.middle_name - lastname = self.lastname - email = self.email - phone = self.phone - active = self.active - avatar = self.avatar - vt_fullname = self.vt_fullname - tags = self.tags - custom: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.custom, Unset): - custom = self.custom.to_dict() - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if id is not UNSET: - field_dict["id"] = id - if created is not UNSET: - field_dict["created"] = created - if modified is not UNSET: - field_dict["modified"] = modified - if creator is not UNSET: - field_dict["creator"] = creator - if displayname is not UNSET: - field_dict["displayname"] = displayname - if folder is not UNSET: - field_dict["folder"] = folder - if street is not UNSET: - field_dict["street"] = street - if housenumber is not UNSET: - field_dict["housenumber"] = housenumber - if city is not UNSET: - field_dict["city"] = city - if postal_code is not UNSET: - field_dict["postal_code"] = postal_code - if addressline_2 is not UNSET: - field_dict["addressline2"] = addressline_2 - if state is not UNSET: - field_dict["state"] = state - if country is not UNSET: - field_dict["country"] = country - if birthdate is not UNSET: - field_dict["birthdate"] = birthdate - if passport_number is not UNSET: - field_dict["passport_number"] = passport_number - if emergency_contact is not UNSET: - field_dict["emergency_contact"] = emergency_contact - if remark is not UNSET: - field_dict["remark"] = remark - if driving_license is not UNSET: - field_dict["driving_license"] = driving_license - if contract is not UNSET: - field_dict["contract"] = contract - if bank is not UNSET: - field_dict["bank"] = bank - if contract_date is not UNSET: - field_dict["contract_date"] = contract_date - if company_name is not UNSET: - field_dict["company_name"] = company_name - if vat_code is not UNSET: - field_dict["vat_code"] = vat_code - if coc_code is not UNSET: - field_dict["coc_code"] = coc_code - if firstname is not UNSET: - field_dict["firstname"] = firstname - if middle_name is not UNSET: - field_dict["middle_name"] = middle_name - if lastname is not UNSET: - field_dict["lastname"] = lastname - if email is not UNSET: - field_dict["email"] = email - if phone is not UNSET: - field_dict["phone"] = phone - if active is not UNSET: - field_dict["active"] = active - if avatar is not UNSET: - field_dict["avatar"] = avatar - if vt_fullname is not UNSET: - field_dict["vt_fullname"] = vt_fullname - if tags is not UNSET: - field_dict["tags"] = tags - if custom is not UNSET: - field_dict["custom"] = custom - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - id = d.pop("id", UNSET) - - created = None - _created = d.pop("created", UNSET) - if _created is not None and not isinstance(_created, Unset): - created = isoparse(_created) - - modified = None - _modified = d.pop("modified", UNSET) - if _modified is not None and not isinstance(_modified, Unset): - modified = isoparse(_modified) - - creator = d.pop("creator", UNSET) - - displayname = d.pop("displayname", UNSET) - - folder = d.pop("folder", UNSET) - - street = d.pop("street", UNSET) - - housenumber = d.pop("housenumber", UNSET) - - city = d.pop("city", UNSET) - - postal_code = d.pop("postal_code", UNSET) - - addressline_2 = d.pop("addressline2", UNSET) - - state = d.pop("state", UNSET) - - country: Union[Unset, MedewerkerCollectionpostResponseSchemaDataItemCountry] = UNSET - _country = d.pop("country", UNSET) - if not isinstance(_country, Unset): - country = MedewerkerCollectionpostResponseSchemaDataItemCountry(_country) - - birthdate = d.pop("birthdate", UNSET) - - passport_number = d.pop("passport_number", UNSET) - - emergency_contact = d.pop("emergency_contact", UNSET) - - remark = d.pop("remark", UNSET) - - driving_license = d.pop("driving_license", UNSET) - - contract = d.pop("contract", UNSET) - - bank = d.pop("bank", UNSET) - - contract_date = d.pop("contract_date", UNSET) - - company_name = d.pop("company_name", UNSET) - - vat_code = d.pop("vat_code", UNSET) - - coc_code = d.pop("coc_code", UNSET) - - firstname = d.pop("firstname", UNSET) - - middle_name = d.pop("middle_name", UNSET) - - lastname = d.pop("lastname", UNSET) - - email = d.pop("email", UNSET) - - phone = d.pop("phone", UNSET) - - active = d.pop("active", UNSET) - - avatar = d.pop("avatar", UNSET) - - vt_fullname = d.pop("vt_fullname", UNSET) - - tags = d.pop("tags", UNSET) - - custom: Union[Unset, MedewerkerCollectionpostResponseSchemaDataItemCustom] = UNSET - _custom = d.pop("custom", UNSET) - if not isinstance(_custom, Unset): - custom = MedewerkerCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - - medewerker_collectionpost_response_schema_data_item = cls( - id=id, - created=created, - modified=modified, - creator=creator, - displayname=displayname, - folder=folder, - street=street, - housenumber=housenumber, - city=city, - postal_code=postal_code, - addressline_2=addressline_2, - state=state, - country=country, - birthdate=birthdate, - passport_number=passport_number, - emergency_contact=emergency_contact, - remark=remark, - driving_license=driving_license, - contract=contract, - bank=bank, - contract_date=contract_date, - company_name=company_name, - vat_code=vat_code, - coc_code=coc_code, - firstname=firstname, - middle_name=middle_name, - lastname=lastname, - email=email, - phone=phone, - active=active, - avatar=avatar, - vt_fullname=vt_fullname, - tags=tags, - custom=custom, - ) - - medewerker_collectionpost_response_schema_data_item.additional_properties = d - return medewerker_collectionpost_response_schema_data_item - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_collectionpost_response_schema_data_item_country.py b/rentman_api_client/models/medewerker_collectionpost_response_schema_data_item_country.py deleted file mode 100644 index 0f36722..0000000 --- a/rentman_api_client/models/medewerker_collectionpost_response_schema_data_item_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class MedewerkerCollectionpostResponseSchemaDataItemCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/medewerker_collectionput_response_schema.py b/rentman_api_client/models/medewerker_collectionput_response_schema.py deleted file mode 100644 index 37ed006..0000000 --- a/rentman_api_client/models/medewerker_collectionput_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.medewerker_collectionput_response_schema_data_item import MedewerkerCollectionputResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MedewerkerCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class MedewerkerCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[MedewerkerCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = MedewerkerCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - medewerker_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - medewerker_collectionput_response_schema.additional_properties = d - return medewerker_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_collectionput_response_schema_data_item_country.py b/rentman_api_client/models/medewerker_collectionput_response_schema_data_item_country.py deleted file mode 100644 index cbedced..0000000 --- a/rentman_api_client/models/medewerker_collectionput_response_schema_data_item_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class MedewerkerCollectionputResponseSchemaDataItemCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/medewerker_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/medewerker_collectionput_response_schema_data_item_custom.py deleted file mode 100644 index 0e2c481..0000000 --- a/rentman_api_client/models/medewerker_collectionput_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="MedewerkerCollectionputResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class MedewerkerCollectionputResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - medewerker_collectionput_response_schema_data_item_custom = cls() - - medewerker_collectionput_response_schema_data_item_custom.additional_properties = d - return medewerker_collectionput_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_itemget_request_schema_custom.py b/rentman_api_client/models/medewerker_itemget_request_schema_custom.py deleted file mode 100644 index 9cf3e94..0000000 --- a/rentman_api_client/models/medewerker_itemget_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="MedewerkerItemgetRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class MedewerkerItemgetRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - medewerker_itemget_request_schema_custom = cls() - - medewerker_itemget_request_schema_custom.additional_properties = d - return medewerker_itemget_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_itemget_response_schema.py b/rentman_api_client/models/medewerker_itemget_response_schema.py deleted file mode 100644 index 27c1ac7..0000000 --- a/rentman_api_client/models/medewerker_itemget_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.medewerker_itemget_response_schema_data import MedewerkerItemgetResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MedewerkerItemgetResponseSchema") - - -@attr.s(auto_attribs=True) -class MedewerkerItemgetResponseSchema: - """ """ - - data: Union[Unset, MedewerkerItemgetResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, MedewerkerItemgetResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = MedewerkerItemgetResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - medewerker_itemget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - medewerker_itemget_response_schema.additional_properties = d - return medewerker_itemget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_itemget_response_schema_data_country.py b/rentman_api_client/models/medewerker_itemget_response_schema_data_country.py deleted file mode 100644 index c442bc2..0000000 --- a/rentman_api_client/models/medewerker_itemget_response_schema_data_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class MedewerkerItemgetResponseSchemaDataCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/medewerker_itempost_response_schema.py b/rentman_api_client/models/medewerker_itempost_response_schema.py deleted file mode 100644 index bba3e14..0000000 --- a/rentman_api_client/models/medewerker_itempost_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.medewerker_itempost_response_schema_data import MedewerkerItempostResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MedewerkerItempostResponseSchema") - - -@attr.s(auto_attribs=True) -class MedewerkerItempostResponseSchema: - """ """ - - data: Union[Unset, MedewerkerItempostResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, MedewerkerItempostResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = MedewerkerItempostResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - medewerker_itempost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - medewerker_itempost_response_schema.additional_properties = d - return medewerker_itempost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_itempost_response_schema_data_country.py b/rentman_api_client/models/medewerker_itempost_response_schema_data_country.py deleted file mode 100644 index cd22af9..0000000 --- a/rentman_api_client/models/medewerker_itempost_response_schema_data_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class MedewerkerItempostResponseSchemaDataCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/medewerker_itemput_request_schema_custom.py b/rentman_api_client/models/medewerker_itemput_request_schema_custom.py deleted file mode 100644 index b030541..0000000 --- a/rentman_api_client/models/medewerker_itemput_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="MedewerkerItemputRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class MedewerkerItemputRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - medewerker_itemput_request_schema_custom = cls() - - medewerker_itemput_request_schema_custom.additional_properties = d - return medewerker_itemput_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_itemput_response_schema.py b/rentman_api_client/models/medewerker_itemput_response_schema.py deleted file mode 100644 index 9f01659..0000000 --- a/rentman_api_client/models/medewerker_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.medewerker_itemput_response_schema_data import MedewerkerItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MedewerkerItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class MedewerkerItemputResponseSchema: - """ """ - - data: Union[Unset, MedewerkerItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, MedewerkerItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = MedewerkerItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - medewerker_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - medewerker_itemput_response_schema.additional_properties = d - return medewerker_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/medewerker_itemput_response_schema_data_country.py b/rentman_api_client/models/medewerker_itemput_response_schema_data_country.py deleted file mode 100644 index b8519cb..0000000 --- a/rentman_api_client/models/medewerker_itemput_response_schema_data_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class MedewerkerItemputResponseSchemaDataCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/medewerkertarief_collectionpost_response_schema_data_item.py b/rentman_api_client/models/medewerkertarief_collectionpost_response_schema_data_item.py deleted file mode 100644 index 7dd2f4c..0000000 --- a/rentman_api_client/models/medewerkertarief_collectionpost_response_schema_data_item.py +++ /dev/null @@ -1,117 +0,0 @@ -import datetime -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr -from dateutil.parser import isoparse - -from ..types import UNSET, Unset - -T = TypeVar("T", bound="MedewerkertariefCollectionpostResponseSchemaDataItem") - - -@attr.s(auto_attribs=True) -class MedewerkertariefCollectionpostResponseSchemaDataItem: - """ """ - - id: Union[Unset, int] = UNSET - created: Union[Unset, None, datetime.datetime] = UNSET - modified: Union[Unset, None, datetime.datetime] = UNSET - creator: Union[Unset, None, str] = UNSET - displayname: Union[Unset, str] = UNSET - naam: Union[Unset, str] = UNSET - cost_rate: Union[Unset, None, str] = UNSET - medewerker: Union[Unset, str] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - id = self.id - created: Union[Unset, None, str] = UNSET - if not isinstance(self.created, Unset): - created = self.created.isoformat() if self.created else None - - modified: Union[Unset, None, str] = UNSET - if not isinstance(self.modified, Unset): - modified = self.modified.isoformat() if self.modified else None - - creator = self.creator - displayname = self.displayname - naam = self.naam - cost_rate = self.cost_rate - medewerker = self.medewerker - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if id is not UNSET: - field_dict["id"] = id - if created is not UNSET: - field_dict["created"] = created - if modified is not UNSET: - field_dict["modified"] = modified - if creator is not UNSET: - field_dict["creator"] = creator - if displayname is not UNSET: - field_dict["displayname"] = displayname - if naam is not UNSET: - field_dict["naam"] = naam - if cost_rate is not UNSET: - field_dict["cost_rate"] = cost_rate - if medewerker is not UNSET: - field_dict["medewerker"] = medewerker - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - id = d.pop("id", UNSET) - - created = None - _created = d.pop("created", UNSET) - if _created is not None and not isinstance(_created, Unset): - created = isoparse(_created) - - modified = None - _modified = d.pop("modified", UNSET) - if _modified is not None and not isinstance(_modified, Unset): - modified = isoparse(_modified) - - creator = d.pop("creator", UNSET) - - displayname = d.pop("displayname", UNSET) - - naam = d.pop("naam", UNSET) - - cost_rate = d.pop("cost_rate", UNSET) - - medewerker = d.pop("medewerker", UNSET) - - medewerkertarief_collectionpost_response_schema_data_item = cls( - id=id, - created=created, - modified=modified, - creator=creator, - displayname=displayname, - naam=naam, - cost_rate=cost_rate, - medewerker=medewerker, - ) - - medewerkertarief_collectionpost_response_schema_data_item.additional_properties = d - return medewerkertarief_collectionpost_response_schema_data_item - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/offerte_collectionget_response_schema.py b/rentman_api_client/models/offerte_collectionget_response_schema.py deleted file mode 100644 index b5814fd..0000000 --- a/rentman_api_client/models/offerte_collectionget_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.offerte_collectionget_response_schema_data_item import OfferteCollectiongetResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="OfferteCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class OfferteCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[OfferteCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = OfferteCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - offerte_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - offerte_collectionget_response_schema.additional_properties = d - return offerte_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/offerte_collectionput_response_schema.py b/rentman_api_client/models/offerte_collectionput_response_schema.py deleted file mode 100644 index 65bf88a..0000000 --- a/rentman_api_client/models/offerte_collectionput_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.offerte_collectionput_response_schema_data_item import OfferteCollectionputResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="OfferteCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class OfferteCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[OfferteCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = OfferteCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - offerte_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - offerte_collectionput_response_schema.additional_properties = d - return offerte_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/person_collectionget_response_schema_data_item_country.py b/rentman_api_client/models/person_collectionget_response_schema_data_item_country.py deleted file mode 100644 index 4896043..0000000 --- a/rentman_api_client/models/person_collectionget_response_schema_data_item_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class PersonCollectiongetResponseSchemaDataItemCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/person_collectionpost_response_schema.py b/rentman_api_client/models/person_collectionpost_response_schema.py deleted file mode 100644 index c7bbfa8..0000000 --- a/rentman_api_client/models/person_collectionpost_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.person_collectionpost_response_schema_data_item import PersonCollectionpostResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PersonCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class PersonCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[PersonCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = PersonCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - person_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - person_collectionpost_response_schema.additional_properties = d - return person_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/person_collectionpost_response_schema_data_item_country.py b/rentman_api_client/models/person_collectionpost_response_schema_data_item_country.py deleted file mode 100644 index eaf5c56..0000000 --- a/rentman_api_client/models/person_collectionpost_response_schema_data_item_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class PersonCollectionpostResponseSchemaDataItemCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/person_collectionput_response_schema.py b/rentman_api_client/models/person_collectionput_response_schema.py deleted file mode 100644 index 89d4ac2..0000000 --- a/rentman_api_client/models/person_collectionput_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.person_collectionput_response_schema_data_item import PersonCollectionputResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PersonCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class PersonCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[PersonCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = PersonCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - person_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - person_collectionput_response_schema.additional_properties = d - return person_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/person_collectionput_response_schema_data_item_country.py b/rentman_api_client/models/person_collectionput_response_schema_data_item_country.py deleted file mode 100644 index 812e238..0000000 --- a/rentman_api_client/models/person_collectionput_response_schema_data_item_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class PersonCollectionputResponseSchemaDataItemCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/person_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/person_collectionput_response_schema_data_item_custom.py deleted file mode 100644 index 8bf1c8d..0000000 --- a/rentman_api_client/models/person_collectionput_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PersonCollectionputResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class PersonCollectionputResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - person_collectionput_response_schema_data_item_custom = cls() - - person_collectionput_response_schema_data_item_custom.additional_properties = d - return person_collectionput_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/person_itemget_response_schema.py b/rentman_api_client/models/person_itemget_response_schema.py deleted file mode 100644 index 90e6eef..0000000 --- a/rentman_api_client/models/person_itemget_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.person_itemget_response_schema_data import PersonItemgetResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PersonItemgetResponseSchema") - - -@attr.s(auto_attribs=True) -class PersonItemgetResponseSchema: - """ """ - - data: Union[Unset, PersonItemgetResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, PersonItemgetResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = PersonItemgetResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - person_itemget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - person_itemget_response_schema.additional_properties = d - return person_itemget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/person_itemget_response_schema_data_country.py b/rentman_api_client/models/person_itemget_response_schema_data_country.py deleted file mode 100644 index 37d7346..0000000 --- a/rentman_api_client/models/person_itemget_response_schema_data_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class PersonItemgetResponseSchemaDataCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/person_itempost_response_schema_data_country.py b/rentman_api_client/models/person_itempost_response_schema_data_country.py deleted file mode 100644 index d800630..0000000 --- a/rentman_api_client/models/person_itempost_response_schema_data_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class PersonItempostResponseSchemaDataCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/person_itemput_request_schema_custom.py b/rentman_api_client/models/person_itemput_request_schema_custom.py deleted file mode 100644 index f3b0717..0000000 --- a/rentman_api_client/models/person_itemput_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PersonItemputRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class PersonItemputRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - person_itemput_request_schema_custom = cls() - - person_itemput_request_schema_custom.additional_properties = d - return person_itemput_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/person_itemput_response_schema.py b/rentman_api_client/models/person_itemput_response_schema.py deleted file mode 100644 index 4995821..0000000 --- a/rentman_api_client/models/person_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.person_itemput_response_schema_data import PersonItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PersonItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class PersonItemputResponseSchema: - """ """ - - data: Union[Unset, PersonItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, PersonItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = PersonItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - person_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - person_itemput_response_schema.additional_properties = d - return person_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/person_itemput_response_schema_data_country.py b/rentman_api_client/models/person_itemput_response_schema_data_country.py deleted file mode 100644 index 4ff1083..0000000 --- a/rentman_api_client/models/person_itemput_response_schema_data_country.py +++ /dev/null @@ -1,196 +0,0 @@ -from enum import Enum - - -class PersonItemputResponseSchemaDataCountry(str, Enum): - AF = "af" - AL = "al" - DZ = "dz" - AD = "ad" - AO = "ao" - AI = "ai" - AR = "ar" - AM = "am" - AW = "aw" - AU = "au" - AT = "at" - AZ = "az" - BS = "bs" - BH = "bh" - BD = "bd" - BB = "bb" - BY = "by" - BE = "be" - BZ = "bz" - BJ = "bj" - BM = "bm" - BT = "bt" - BO = "bo" - BQ = "bq" - BA = "ba" - BW = "bw" - BR = "br" - BN = "bn" - BG = "bg" - KH = "kh" - CM = "cm" - CA = "ca" - KY = "ky" - CL = "cl" - CN = "cn" - CO = "co" - CD = "cd" - CG = "cg" - CR = "cr" - HR = "hr" - CU = "cu" - CW = "cw" - CY = "cy" - CZ = "cz" - DK = "dk" - DJ = "dj" - DO = "do" - EC = "ec" - EG = "eg" - SV = "sv" - GQ = "gq" - EE = "ee" - ET = "et" - FO = "fo" - FJ = "fj" - FI = "fi" - FR = "fr" - GF = "gf" - PF = "pf" - GA = "ga" - GE = "ge" - DE = "de" - GH = "gh" - GR = "gr" - GD = "gd" - GP = "gp" - GU = "gu" - GT = "gt" - GN = "gn" - GY = "gy" - HT = "ht" - HN = "hn" - HK = "hk" - HU = "hu" - IS_ = "is" - IN_ = "in" - ID = "id" - IR = "ir" - IQ = "iq" - IE = "ie" - IM = "im" - IL = "il" - IT = "it" - CI = "ci" - JM = "jm" - JP = "jp" - JO = "jo" - KZ = "kz" - KE = "ke" - KI = "ki" - XK = "xk" - KW = "kw" - KG = "kg" - LA = "la" - LV = "lv" - LB = "lb" - LS = "ls" - LR = "lr" - LI = "li" - LT = "lt" - LU = "lu" - MO = "mo" - MK = "mk" - MG = "mg" - MY = "my" - MV = "mv" - ML = "ml" - MT = "mt" - MQ = "mq" - MR = "mr" - MU = "mu" - MX = "mx" - MD = "md" - MC = "mc" - MN = "mn" - ME = "me" - MA = "ma" - MZ = "mz" - NA = "na" - NP = "np" - AN = "an" - NC = "nc" - NZ = "nz" - NI = "ni" - NG = "ng" - VALUE_False = "False" - OM = "om" - PK = "pk" - PS = "ps" - PA = "pa" - PG = "pg" - PY = "py" - PE = "pe" - PH = "ph" - PL = "pl" - PT = "pt" - PR = "pr" - QA = "qa" - RE = "re" - RO = "ro" - RU = "ru" - RW = "rw" - VC = "vc" - SM = "sm" - SA = "sa" - SN = "sn" - RS = "rs" - SC = "sc" - SG = "sg" - SK = "sk" - SI = "si" - SO = "so" - ZA = "za" - KR = "kr" - SS = "ss" - ES = "es" - LK = "lk" - MF = "mf" - SX = "sx" - SD = "sd" - SR = "sr" - SJ = "sj" - SZ = "sz" - SE = "se" - CH = "ch" - SY = "sy" - TW = "tw" - TZ = "tz" - TH = "th" - NL = "nl" - TG = "tg" - TT = "tt" - TN = "tn" - TR = "tr" - TC = "tc" - US = "us" - UG = "ug" - UA = "ua" - AE = "ae" - GB = "gb" - UY = "uy" - UZ = "uz" - VU = "vu" - VA = "va" - VE = "ve" - VN = "vn" - VI = "vi" - ZM = "zm" - ZW = "zw" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/planningmateriaal_collectionpost_response_schema.py b/rentman_api_client/models/planningmateriaal_collectionpost_response_schema.py deleted file mode 100644 index 62f5a1f..0000000 --- a/rentman_api_client/models/planningmateriaal_collectionpost_response_schema.py +++ /dev/null @@ -1,90 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningmateriaal_collectionpost_response_schema_data_item import ( - PlanningmateriaalCollectionpostResponseSchemaDataItem, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningmateriaalCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningmateriaalCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[PlanningmateriaalCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = PlanningmateriaalCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningmateriaal_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningmateriaal_collectionpost_response_schema.additional_properties = d - return planningmateriaal_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningmateriaal_collectionpost_response_schema_data_item.py b/rentman_api_client/models/planningmateriaal_collectionpost_response_schema_data_item.py deleted file mode 100644 index bfd96dc..0000000 --- a/rentman_api_client/models/planningmateriaal_collectionpost_response_schema_data_item.py +++ /dev/null @@ -1,270 +0,0 @@ -import datetime -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr -from dateutil.parser import isoparse - -from ..models.planningmateriaal_collectionpost_response_schema_data_item_custom import ( - PlanningmateriaalCollectionpostResponseSchemaDataItemCustom, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningmateriaalCollectionpostResponseSchemaDataItem") - - -@attr.s(auto_attribs=True) -class PlanningmateriaalCollectionpostResponseSchemaDataItem: - """ """ - - id: Union[Unset, int] = UNSET - created: Union[Unset, None, datetime.datetime] = UNSET - modified: Union[Unset, None, datetime.datetime] = UNSET - creator: Union[Unset, None, str] = UNSET - displayname: Union[Unset, str] = UNSET - equipment: Union[Unset, None, str] = UNSET - parent: Union[Unset, None, str] = UNSET - ledger: Union[Unset, None, str] = UNSET - quantity: Union[Unset, str] = UNSET - quantity_total: Union[Unset, int] = UNSET - equipment_group: Union[Unset, str] = UNSET - discount: Union[Unset, float] = UNSET - is_option: Union[Unset, bool] = UNSET - factor: Union[Unset, str] = UNSET - order: Union[Unset, str] = UNSET - unit_price: Union[Unset, float] = UNSET - name: Union[Unset, str] = UNSET - external_remark: Union[Unset, str] = UNSET - internal_remark: Union[Unset, str] = UNSET - delay_notified: Union[Unset, bool] = UNSET - planperiod_start: Union[Unset, None, datetime.datetime] = UNSET - planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - has_missings: Union[Unset, bool] = UNSET - warehouse_reservations: Union[Unset, int] = UNSET - subrent_reservations: Union[Unset, int] = UNSET - serial_number_ids: Union[Unset, str] = UNSET - custom: Union[Unset, PlanningmateriaalCollectionpostResponseSchemaDataItemCustom] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - id = self.id - created: Union[Unset, None, str] = UNSET - if not isinstance(self.created, Unset): - created = self.created.isoformat() if self.created else None - - modified: Union[Unset, None, str] = UNSET - if not isinstance(self.modified, Unset): - modified = self.modified.isoformat() if self.modified else None - - creator = self.creator - displayname = self.displayname - equipment = self.equipment - parent = self.parent - ledger = self.ledger - quantity = self.quantity - quantity_total = self.quantity_total - equipment_group = self.equipment_group - discount = self.discount - is_option = self.is_option - factor = self.factor - order = self.order - unit_price = self.unit_price - name = self.name - external_remark = self.external_remark - internal_remark = self.internal_remark - delay_notified = self.delay_notified - planperiod_start: Union[Unset, None, str] = UNSET - if not isinstance(self.planperiod_start, Unset): - planperiod_start = self.planperiod_start.isoformat() if self.planperiod_start else None - - planperiod_end: Union[Unset, None, str] = UNSET - if not isinstance(self.planperiod_end, Unset): - planperiod_end = self.planperiod_end.isoformat() if self.planperiod_end else None - - has_missings = self.has_missings - warehouse_reservations = self.warehouse_reservations - subrent_reservations = self.subrent_reservations - serial_number_ids = self.serial_number_ids - custom: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.custom, Unset): - custom = self.custom.to_dict() - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if id is not UNSET: - field_dict["id"] = id - if created is not UNSET: - field_dict["created"] = created - if modified is not UNSET: - field_dict["modified"] = modified - if creator is not UNSET: - field_dict["creator"] = creator - if displayname is not UNSET: - field_dict["displayname"] = displayname - if equipment is not UNSET: - field_dict["equipment"] = equipment - if parent is not UNSET: - field_dict["parent"] = parent - if ledger is not UNSET: - field_dict["ledger"] = ledger - if quantity is not UNSET: - field_dict["quantity"] = quantity - if quantity_total is not UNSET: - field_dict["quantity_total"] = quantity_total - if equipment_group is not UNSET: - field_dict["equipment_group"] = equipment_group - if discount is not UNSET: - field_dict["discount"] = discount - if is_option is not UNSET: - field_dict["is_option"] = is_option - if factor is not UNSET: - field_dict["factor"] = factor - if order is not UNSET: - field_dict["order"] = order - if unit_price is not UNSET: - field_dict["unit_price"] = unit_price - if name is not UNSET: - field_dict["name"] = name - if external_remark is not UNSET: - field_dict["external_remark"] = external_remark - if internal_remark is not UNSET: - field_dict["internal_remark"] = internal_remark - if delay_notified is not UNSET: - field_dict["delay_notified"] = delay_notified - if planperiod_start is not UNSET: - field_dict["planperiod_start"] = planperiod_start - if planperiod_end is not UNSET: - field_dict["planperiod_end"] = planperiod_end - if has_missings is not UNSET: - field_dict["has_missings"] = has_missings - if warehouse_reservations is not UNSET: - field_dict["warehouse_reservations"] = warehouse_reservations - if subrent_reservations is not UNSET: - field_dict["subrent_reservations"] = subrent_reservations - if serial_number_ids is not UNSET: - field_dict["serial_number_ids"] = serial_number_ids - if custom is not UNSET: - field_dict["custom"] = custom - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - id = d.pop("id", UNSET) - - created = None - _created = d.pop("created", UNSET) - if _created is not None and not isinstance(_created, Unset): - created = isoparse(_created) - - modified = None - _modified = d.pop("modified", UNSET) - if _modified is not None and not isinstance(_modified, Unset): - modified = isoparse(_modified) - - creator = d.pop("creator", UNSET) - - displayname = d.pop("displayname", UNSET) - - equipment = d.pop("equipment", UNSET) - - parent = d.pop("parent", UNSET) - - ledger = d.pop("ledger", UNSET) - - quantity = d.pop("quantity", UNSET) - - quantity_total = d.pop("quantity_total", UNSET) - - equipment_group = d.pop("equipment_group", UNSET) - - discount = d.pop("discount", UNSET) - - is_option = d.pop("is_option", UNSET) - - factor = d.pop("factor", UNSET) - - order = d.pop("order", UNSET) - - unit_price = d.pop("unit_price", UNSET) - - name = d.pop("name", UNSET) - - external_remark = d.pop("external_remark", UNSET) - - internal_remark = d.pop("internal_remark", UNSET) - - delay_notified = d.pop("delay_notified", UNSET) - - planperiod_start = None - _planperiod_start = d.pop("planperiod_start", UNSET) - if _planperiod_start is not None and not isinstance(_planperiod_start, Unset): - planperiod_start = isoparse(_planperiod_start) - - planperiod_end = None - _planperiod_end = d.pop("planperiod_end", UNSET) - if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): - planperiod_end = isoparse(_planperiod_end) - - has_missings = d.pop("has_missings", UNSET) - - warehouse_reservations = d.pop("warehouse_reservations", UNSET) - - subrent_reservations = d.pop("subrent_reservations", UNSET) - - serial_number_ids = d.pop("serial_number_ids", UNSET) - - custom: Union[Unset, PlanningmateriaalCollectionpostResponseSchemaDataItemCustom] = UNSET - _custom = d.pop("custom", UNSET) - if not isinstance(_custom, Unset): - custom = PlanningmateriaalCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - - planningmateriaal_collectionpost_response_schema_data_item = cls( - id=id, - created=created, - modified=modified, - creator=creator, - displayname=displayname, - equipment=equipment, - parent=parent, - ledger=ledger, - quantity=quantity, - quantity_total=quantity_total, - equipment_group=equipment_group, - discount=discount, - is_option=is_option, - factor=factor, - order=order, - unit_price=unit_price, - name=name, - external_remark=external_remark, - internal_remark=internal_remark, - delay_notified=delay_notified, - planperiod_start=planperiod_start, - planperiod_end=planperiod_end, - has_missings=has_missings, - warehouse_reservations=warehouse_reservations, - subrent_reservations=subrent_reservations, - serial_number_ids=serial_number_ids, - custom=custom, - ) - - planningmateriaal_collectionpost_response_schema_data_item.additional_properties = d - return planningmateriaal_collectionpost_response_schema_data_item - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningmateriaal_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/planningmateriaal_collectionpost_response_schema_data_item_custom.py deleted file mode 100644 index ec1778e..0000000 --- a/rentman_api_client/models/planningmateriaal_collectionpost_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningmateriaalCollectionpostResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class PlanningmateriaalCollectionpostResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningmateriaal_collectionpost_response_schema_data_item_custom = cls() - - planningmateriaal_collectionpost_response_schema_data_item_custom.additional_properties = d - return planningmateriaal_collectionpost_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_collectionget_response_schema.py b/rentman_api_client/models/planningpersoneel_collectionget_response_schema.py deleted file mode 100644 index 74c4a83..0000000 --- a/rentman_api_client/models/planningpersoneel_collectionget_response_schema.py +++ /dev/null @@ -1,90 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningpersoneel_collectionget_response_schema_data_item import ( - PlanningpersoneelCollectiongetResponseSchemaDataItem, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningpersoneelCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[PlanningpersoneelCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = PlanningpersoneelCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningpersoneel_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningpersoneel_collectionget_response_schema.additional_properties = d - return planningpersoneel_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item_custom.py deleted file mode 100644 index dff015c..0000000 --- a/rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningpersoneelCollectiongetResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelCollectiongetResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningpersoneel_collectionget_response_schema_data_item_custom = cls() - - planningpersoneel_collectionget_response_schema_data_item_custom.additional_properties = d - return planningpersoneel_collectionget_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item_transport.py b/rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item_transport.py deleted file mode 100644 index e20603b..0000000 --- a/rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item_transport.py +++ /dev/null @@ -1,11 +0,0 @@ -from enum import Enum - - -class PlanningpersoneelCollectiongetResponseSchemaDataItemTransport(str, Enum): - NO_TRANSPORT = "no_transport" - ROUND_TRIP = "round_trip" - ONLY_WAY_THERE = "only_way_there" - ONLY_WAY_BACK = "only_way_back" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/planningpersoneel_collectionpost_response_schema.py b/rentman_api_client/models/planningpersoneel_collectionpost_response_schema.py deleted file mode 100644 index 3e51ce0..0000000 --- a/rentman_api_client/models/planningpersoneel_collectionpost_response_schema.py +++ /dev/null @@ -1,90 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningpersoneel_collectionpost_response_schema_data_item import ( - PlanningpersoneelCollectionpostResponseSchemaDataItem, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningpersoneelCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[PlanningpersoneelCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = PlanningpersoneelCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningpersoneel_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningpersoneel_collectionpost_response_schema.additional_properties = d - return planningpersoneel_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item.py b/rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item.py deleted file mode 100644 index e52632a..0000000 --- a/rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item.py +++ /dev/null @@ -1,251 +0,0 @@ -import datetime -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr -from dateutil.parser import isoparse - -from ..models.planningpersoneel_collectionpost_response_schema_data_item_custom import ( - PlanningpersoneelCollectionpostResponseSchemaDataItemCustom, -) -from ..models.planningpersoneel_collectionpost_response_schema_data_item_transport import ( - PlanningpersoneelCollectionpostResponseSchemaDataItemTransport, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningpersoneelCollectionpostResponseSchemaDataItem") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelCollectionpostResponseSchemaDataItem: - """ """ - - id: Union[Unset, int] = UNSET - created: Union[Unset, None, datetime.datetime] = UNSET - modified: Union[Unset, None, datetime.datetime] = UNSET - creator: Union[Unset, None, str] = UNSET - displayname: Union[Unset, str] = UNSET - cost_rate: Union[Unset, None, str] = UNSET - function: Union[Unset, str] = UNSET - crewmember: Union[Unset, str] = UNSET - visible: Union[Unset, bool] = UNSET - planperiod_start: Union[Unset, None, datetime.datetime] = UNSET - planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - transport: Union[Unset, PlanningpersoneelCollectionpostResponseSchemaDataItemTransport] = UNSET - remark: Union[Unset, str] = UNSET - remark_planner: Union[Unset, str] = UNSET - invoice_reference: Union[Unset, str] = UNSET - project_leader: Union[Unset, bool] = UNSET - is_visible_on_dashboard: Union[Unset, bool] = UNSET - costs: Union[Unset, float] = UNSET - cost_actual: Union[Unset, float] = UNSET - hours_registered: Union[Unset, None, float] = UNSET - hours_planned: Union[Unset, None, float] = UNSET - cost_planned: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningpersoneelCollectionpostResponseSchemaDataItemCustom] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - id = self.id - created: Union[Unset, None, str] = UNSET - if not isinstance(self.created, Unset): - created = self.created.isoformat() if self.created else None - - modified: Union[Unset, None, str] = UNSET - if not isinstance(self.modified, Unset): - modified = self.modified.isoformat() if self.modified else None - - creator = self.creator - displayname = self.displayname - cost_rate = self.cost_rate - function = self.function - crewmember = self.crewmember - visible = self.visible - planperiod_start: Union[Unset, None, str] = UNSET - if not isinstance(self.planperiod_start, Unset): - planperiod_start = self.planperiod_start.isoformat() if self.planperiod_start else None - - planperiod_end: Union[Unset, None, str] = UNSET - if not isinstance(self.planperiod_end, Unset): - planperiod_end = self.planperiod_end.isoformat() if self.planperiod_end else None - - transport: Union[Unset, str] = UNSET - if not isinstance(self.transport, Unset): - transport = self.transport.value - - remark = self.remark - remark_planner = self.remark_planner - invoice_reference = self.invoice_reference - project_leader = self.project_leader - is_visible_on_dashboard = self.is_visible_on_dashboard - costs = self.costs - cost_actual = self.cost_actual - hours_registered = self.hours_registered - hours_planned = self.hours_planned - cost_planned = self.cost_planned - custom: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.custom, Unset): - custom = self.custom.to_dict() - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if id is not UNSET: - field_dict["id"] = id - if created is not UNSET: - field_dict["created"] = created - if modified is not UNSET: - field_dict["modified"] = modified - if creator is not UNSET: - field_dict["creator"] = creator - if displayname is not UNSET: - field_dict["displayname"] = displayname - if cost_rate is not UNSET: - field_dict["cost_rate"] = cost_rate - if function is not UNSET: - field_dict["function"] = function - if crewmember is not UNSET: - field_dict["crewmember"] = crewmember - if visible is not UNSET: - field_dict["visible"] = visible - if planperiod_start is not UNSET: - field_dict["planperiod_start"] = planperiod_start - if planperiod_end is not UNSET: - field_dict["planperiod_end"] = planperiod_end - if transport is not UNSET: - field_dict["transport"] = transport - if remark is not UNSET: - field_dict["remark"] = remark - if remark_planner is not UNSET: - field_dict["remark_planner"] = remark_planner - if invoice_reference is not UNSET: - field_dict["invoice_reference"] = invoice_reference - if project_leader is not UNSET: - field_dict["project_leader"] = project_leader - if is_visible_on_dashboard is not UNSET: - field_dict["is_visible_on_dashboard"] = is_visible_on_dashboard - if costs is not UNSET: - field_dict["costs"] = costs - if cost_actual is not UNSET: - field_dict["cost_actual"] = cost_actual - if hours_registered is not UNSET: - field_dict["hours_registered"] = hours_registered - if hours_planned is not UNSET: - field_dict["hours_planned"] = hours_planned - if cost_planned is not UNSET: - field_dict["cost_planned"] = cost_planned - if custom is not UNSET: - field_dict["custom"] = custom - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - id = d.pop("id", UNSET) - - created = None - _created = d.pop("created", UNSET) - if _created is not None and not isinstance(_created, Unset): - created = isoparse(_created) - - modified = None - _modified = d.pop("modified", UNSET) - if _modified is not None and not isinstance(_modified, Unset): - modified = isoparse(_modified) - - creator = d.pop("creator", UNSET) - - displayname = d.pop("displayname", UNSET) - - cost_rate = d.pop("cost_rate", UNSET) - - function = d.pop("function", UNSET) - - crewmember = d.pop("crewmember", UNSET) - - visible = d.pop("visible", UNSET) - - planperiod_start = None - _planperiod_start = d.pop("planperiod_start", UNSET) - if _planperiod_start is not None and not isinstance(_planperiod_start, Unset): - planperiod_start = isoparse(_planperiod_start) - - planperiod_end = None - _planperiod_end = d.pop("planperiod_end", UNSET) - if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): - planperiod_end = isoparse(_planperiod_end) - - transport: Union[Unset, PlanningpersoneelCollectionpostResponseSchemaDataItemTransport] = UNSET - _transport = d.pop("transport", UNSET) - if not isinstance(_transport, Unset): - transport = PlanningpersoneelCollectionpostResponseSchemaDataItemTransport(_transport) - - remark = d.pop("remark", UNSET) - - remark_planner = d.pop("remark_planner", UNSET) - - invoice_reference = d.pop("invoice_reference", UNSET) - - project_leader = d.pop("project_leader", UNSET) - - is_visible_on_dashboard = d.pop("is_visible_on_dashboard", UNSET) - - costs = d.pop("costs", UNSET) - - cost_actual = d.pop("cost_actual", UNSET) - - hours_registered = d.pop("hours_registered", UNSET) - - hours_planned = d.pop("hours_planned", UNSET) - - cost_planned = d.pop("cost_planned", UNSET) - - custom: Union[Unset, PlanningpersoneelCollectionpostResponseSchemaDataItemCustom] = UNSET - _custom = d.pop("custom", UNSET) - if not isinstance(_custom, Unset): - custom = PlanningpersoneelCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - - planningpersoneel_collectionpost_response_schema_data_item = cls( - id=id, - created=created, - modified=modified, - creator=creator, - displayname=displayname, - cost_rate=cost_rate, - function=function, - crewmember=crewmember, - visible=visible, - planperiod_start=planperiod_start, - planperiod_end=planperiod_end, - transport=transport, - remark=remark, - remark_planner=remark_planner, - invoice_reference=invoice_reference, - project_leader=project_leader, - is_visible_on_dashboard=is_visible_on_dashboard, - costs=costs, - cost_actual=cost_actual, - hours_registered=hours_registered, - hours_planned=hours_planned, - cost_planned=cost_planned, - custom=custom, - ) - - planningpersoneel_collectionpost_response_schema_data_item.additional_properties = d - return planningpersoneel_collectionpost_response_schema_data_item - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item_custom.py deleted file mode 100644 index 3915b4c..0000000 --- a/rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningpersoneelCollectionpostResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelCollectionpostResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningpersoneel_collectionpost_response_schema_data_item_custom = cls() - - planningpersoneel_collectionpost_response_schema_data_item_custom.additional_properties = d - return planningpersoneel_collectionpost_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item_transport.py b/rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item_transport.py deleted file mode 100644 index 44ab26d..0000000 --- a/rentman_api_client/models/planningpersoneel_collectionpost_response_schema_data_item_transport.py +++ /dev/null @@ -1,11 +0,0 @@ -from enum import Enum - - -class PlanningpersoneelCollectionpostResponseSchemaDataItemTransport(str, Enum): - NO_TRANSPORT = "no_transport" - ROUND_TRIP = "round_trip" - ONLY_WAY_THERE = "only_way_there" - ONLY_WAY_BACK = "only_way_back" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/planningpersoneel_collectionput_response_schema.py b/rentman_api_client/models/planningpersoneel_collectionput_response_schema.py deleted file mode 100644 index 1be7c70..0000000 --- a/rentman_api_client/models/planningpersoneel_collectionput_response_schema.py +++ /dev/null @@ -1,90 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningpersoneel_collectionput_response_schema_data_item import ( - PlanningpersoneelCollectionputResponseSchemaDataItem, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningpersoneelCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[PlanningpersoneelCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = PlanningpersoneelCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningpersoneel_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningpersoneel_collectionput_response_schema.additional_properties = d - return planningpersoneel_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item.py b/rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item.py deleted file mode 100644 index 5cd3649..0000000 --- a/rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item.py +++ /dev/null @@ -1,251 +0,0 @@ -import datetime -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr -from dateutil.parser import isoparse - -from ..models.planningpersoneel_collectionput_response_schema_data_item_custom import ( - PlanningpersoneelCollectionputResponseSchemaDataItemCustom, -) -from ..models.planningpersoneel_collectionput_response_schema_data_item_transport import ( - PlanningpersoneelCollectionputResponseSchemaDataItemTransport, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningpersoneelCollectionputResponseSchemaDataItem") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelCollectionputResponseSchemaDataItem: - """ """ - - id: Union[Unset, int] = UNSET - created: Union[Unset, None, datetime.datetime] = UNSET - modified: Union[Unset, None, datetime.datetime] = UNSET - creator: Union[Unset, None, str] = UNSET - displayname: Union[Unset, str] = UNSET - cost_rate: Union[Unset, None, str] = UNSET - function: Union[Unset, str] = UNSET - crewmember: Union[Unset, str] = UNSET - visible: Union[Unset, bool] = UNSET - planperiod_start: Union[Unset, None, datetime.datetime] = UNSET - planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - transport: Union[Unset, PlanningpersoneelCollectionputResponseSchemaDataItemTransport] = UNSET - remark: Union[Unset, str] = UNSET - remark_planner: Union[Unset, str] = UNSET - invoice_reference: Union[Unset, str] = UNSET - project_leader: Union[Unset, bool] = UNSET - is_visible_on_dashboard: Union[Unset, bool] = UNSET - costs: Union[Unset, float] = UNSET - cost_actual: Union[Unset, float] = UNSET - hours_registered: Union[Unset, None, float] = UNSET - hours_planned: Union[Unset, None, float] = UNSET - cost_planned: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningpersoneelCollectionputResponseSchemaDataItemCustom] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - id = self.id - created: Union[Unset, None, str] = UNSET - if not isinstance(self.created, Unset): - created = self.created.isoformat() if self.created else None - - modified: Union[Unset, None, str] = UNSET - if not isinstance(self.modified, Unset): - modified = self.modified.isoformat() if self.modified else None - - creator = self.creator - displayname = self.displayname - cost_rate = self.cost_rate - function = self.function - crewmember = self.crewmember - visible = self.visible - planperiod_start: Union[Unset, None, str] = UNSET - if not isinstance(self.planperiod_start, Unset): - planperiod_start = self.planperiod_start.isoformat() if self.planperiod_start else None - - planperiod_end: Union[Unset, None, str] = UNSET - if not isinstance(self.planperiod_end, Unset): - planperiod_end = self.planperiod_end.isoformat() if self.planperiod_end else None - - transport: Union[Unset, str] = UNSET - if not isinstance(self.transport, Unset): - transport = self.transport.value - - remark = self.remark - remark_planner = self.remark_planner - invoice_reference = self.invoice_reference - project_leader = self.project_leader - is_visible_on_dashboard = self.is_visible_on_dashboard - costs = self.costs - cost_actual = self.cost_actual - hours_registered = self.hours_registered - hours_planned = self.hours_planned - cost_planned = self.cost_planned - custom: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.custom, Unset): - custom = self.custom.to_dict() - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if id is not UNSET: - field_dict["id"] = id - if created is not UNSET: - field_dict["created"] = created - if modified is not UNSET: - field_dict["modified"] = modified - if creator is not UNSET: - field_dict["creator"] = creator - if displayname is not UNSET: - field_dict["displayname"] = displayname - if cost_rate is not UNSET: - field_dict["cost_rate"] = cost_rate - if function is not UNSET: - field_dict["function"] = function - if crewmember is not UNSET: - field_dict["crewmember"] = crewmember - if visible is not UNSET: - field_dict["visible"] = visible - if planperiod_start is not UNSET: - field_dict["planperiod_start"] = planperiod_start - if planperiod_end is not UNSET: - field_dict["planperiod_end"] = planperiod_end - if transport is not UNSET: - field_dict["transport"] = transport - if remark is not UNSET: - field_dict["remark"] = remark - if remark_planner is not UNSET: - field_dict["remark_planner"] = remark_planner - if invoice_reference is not UNSET: - field_dict["invoice_reference"] = invoice_reference - if project_leader is not UNSET: - field_dict["project_leader"] = project_leader - if is_visible_on_dashboard is not UNSET: - field_dict["is_visible_on_dashboard"] = is_visible_on_dashboard - if costs is not UNSET: - field_dict["costs"] = costs - if cost_actual is not UNSET: - field_dict["cost_actual"] = cost_actual - if hours_registered is not UNSET: - field_dict["hours_registered"] = hours_registered - if hours_planned is not UNSET: - field_dict["hours_planned"] = hours_planned - if cost_planned is not UNSET: - field_dict["cost_planned"] = cost_planned - if custom is not UNSET: - field_dict["custom"] = custom - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - id = d.pop("id", UNSET) - - created = None - _created = d.pop("created", UNSET) - if _created is not None and not isinstance(_created, Unset): - created = isoparse(_created) - - modified = None - _modified = d.pop("modified", UNSET) - if _modified is not None and not isinstance(_modified, Unset): - modified = isoparse(_modified) - - creator = d.pop("creator", UNSET) - - displayname = d.pop("displayname", UNSET) - - cost_rate = d.pop("cost_rate", UNSET) - - function = d.pop("function", UNSET) - - crewmember = d.pop("crewmember", UNSET) - - visible = d.pop("visible", UNSET) - - planperiod_start = None - _planperiod_start = d.pop("planperiod_start", UNSET) - if _planperiod_start is not None and not isinstance(_planperiod_start, Unset): - planperiod_start = isoparse(_planperiod_start) - - planperiod_end = None - _planperiod_end = d.pop("planperiod_end", UNSET) - if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): - planperiod_end = isoparse(_planperiod_end) - - transport: Union[Unset, PlanningpersoneelCollectionputResponseSchemaDataItemTransport] = UNSET - _transport = d.pop("transport", UNSET) - if not isinstance(_transport, Unset): - transport = PlanningpersoneelCollectionputResponseSchemaDataItemTransport(_transport) - - remark = d.pop("remark", UNSET) - - remark_planner = d.pop("remark_planner", UNSET) - - invoice_reference = d.pop("invoice_reference", UNSET) - - project_leader = d.pop("project_leader", UNSET) - - is_visible_on_dashboard = d.pop("is_visible_on_dashboard", UNSET) - - costs = d.pop("costs", UNSET) - - cost_actual = d.pop("cost_actual", UNSET) - - hours_registered = d.pop("hours_registered", UNSET) - - hours_planned = d.pop("hours_planned", UNSET) - - cost_planned = d.pop("cost_planned", UNSET) - - custom: Union[Unset, PlanningpersoneelCollectionputResponseSchemaDataItemCustom] = UNSET - _custom = d.pop("custom", UNSET) - if not isinstance(_custom, Unset): - custom = PlanningpersoneelCollectionputResponseSchemaDataItemCustom.from_dict(_custom) - - planningpersoneel_collectionput_response_schema_data_item = cls( - id=id, - created=created, - modified=modified, - creator=creator, - displayname=displayname, - cost_rate=cost_rate, - function=function, - crewmember=crewmember, - visible=visible, - planperiod_start=planperiod_start, - planperiod_end=planperiod_end, - transport=transport, - remark=remark, - remark_planner=remark_planner, - invoice_reference=invoice_reference, - project_leader=project_leader, - is_visible_on_dashboard=is_visible_on_dashboard, - costs=costs, - cost_actual=cost_actual, - hours_registered=hours_registered, - hours_planned=hours_planned, - cost_planned=cost_planned, - custom=custom, - ) - - planningpersoneel_collectionput_response_schema_data_item.additional_properties = d - return planningpersoneel_collectionput_response_schema_data_item - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item_transport.py b/rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item_transport.py deleted file mode 100644 index 6059390..0000000 --- a/rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item_transport.py +++ /dev/null @@ -1,11 +0,0 @@ -from enum import Enum - - -class PlanningpersoneelCollectionputResponseSchemaDataItemTransport(str, Enum): - NO_TRANSPORT = "no_transport" - ROUND_TRIP = "round_trip" - ONLY_WAY_THERE = "only_way_there" - ONLY_WAY_BACK = "only_way_back" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/planningpersoneel_itemget_request_schema_custom.py b/rentman_api_client/models/planningpersoneel_itemget_request_schema_custom.py deleted file mode 100644 index 711f5e1..0000000 --- a/rentman_api_client/models/planningpersoneel_itemget_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningpersoneelItemgetRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelItemgetRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningpersoneel_itemget_request_schema_custom = cls() - - planningpersoneel_itemget_request_schema_custom.additional_properties = d - return planningpersoneel_itemget_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_itemget_response_schema_data_custom.py b/rentman_api_client/models/planningpersoneel_itemget_response_schema_data_custom.py deleted file mode 100644 index 1f67c10..0000000 --- a/rentman_api_client/models/planningpersoneel_itemget_response_schema_data_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningpersoneelItemgetResponseSchemaDataCustom") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelItemgetResponseSchemaDataCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningpersoneel_itemget_response_schema_data_custom = cls() - - planningpersoneel_itemget_response_schema_data_custom.additional_properties = d - return planningpersoneel_itemget_response_schema_data_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_itempost_response_schema_data_custom.py b/rentman_api_client/models/planningpersoneel_itempost_response_schema_data_custom.py deleted file mode 100644 index 2bafa84..0000000 --- a/rentman_api_client/models/planningpersoneel_itempost_response_schema_data_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningpersoneelItempostResponseSchemaDataCustom") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelItempostResponseSchemaDataCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningpersoneel_itempost_response_schema_data_custom = cls() - - planningpersoneel_itempost_response_schema_data_custom.additional_properties = d - return planningpersoneel_itempost_response_schema_data_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_itemput_response_schema.py b/rentman_api_client/models/planningpersoneel_itemput_response_schema.py deleted file mode 100644 index 91c6f40..0000000 --- a/rentman_api_client/models/planningpersoneel_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningpersoneel_itemput_response_schema_data import PlanningpersoneelItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningpersoneelItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelItemputResponseSchema: - """ """ - - data: Union[Unset, PlanningpersoneelItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, PlanningpersoneelItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = PlanningpersoneelItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningpersoneel_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningpersoneel_itemput_response_schema.additional_properties = d - return planningpersoneel_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_itemput_response_schema_data_custom.py b/rentman_api_client/models/planningpersoneel_itemput_response_schema_data_custom.py deleted file mode 100644 index 7f64b38..0000000 --- a/rentman_api_client/models/planningpersoneel_itemput_response_schema_data_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningpersoneelItemputResponseSchemaDataCustom") - - -@attr.s(auto_attribs=True) -class PlanningpersoneelItemputResponseSchemaDataCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningpersoneel_itemput_response_schema_data_custom = cls() - - planningpersoneel_itemput_response_schema_data_custom.additional_properties = d - return planningpersoneel_itemput_response_schema_data_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_itemput_response_schema_data_transport.py b/rentman_api_client/models/planningpersoneel_itemput_response_schema_data_transport.py deleted file mode 100644 index a12b96a..0000000 --- a/rentman_api_client/models/planningpersoneel_itemput_response_schema_data_transport.py +++ /dev/null @@ -1,11 +0,0 @@ -from enum import Enum - - -class PlanningpersoneelItemputResponseSchemaDataTransport(str, Enum): - NO_TRANSPORT = "no_transport" - ROUND_TRIP = "round_trip" - ONLY_WAY_THERE = "only_way_there" - ONLY_WAY_BACK = "only_way_back" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/planningtransport_collectionget_response_schema.py b/rentman_api_client/models/planningtransport_collectionget_response_schema.py deleted file mode 100644 index dcd47a1..0000000 --- a/rentman_api_client/models/planningtransport_collectionget_response_schema.py +++ /dev/null @@ -1,90 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningtransport_collectionget_response_schema_data_item import ( - PlanningtransportCollectiongetResponseSchemaDataItem, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningtransportCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningtransportCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[PlanningtransportCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = PlanningtransportCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningtransport_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningtransport_collectionget_response_schema.additional_properties = d - return planningtransport_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/planningtransport_collectionget_response_schema_data_item_custom.py deleted file mode 100644 index 756b1b5..0000000 --- a/rentman_api_client/models/planningtransport_collectionget_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningtransportCollectiongetResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class PlanningtransportCollectiongetResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningtransport_collectionget_response_schema_data_item_custom = cls() - - planningtransport_collectionget_response_schema_data_item_custom.additional_properties = d - return planningtransport_collectionget_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_collectionget_response_schema_data_item_transport.py b/rentman_api_client/models/planningtransport_collectionget_response_schema_data_item_transport.py deleted file mode 100644 index 403694a..0000000 --- a/rentman_api_client/models/planningtransport_collectionget_response_schema_data_item_transport.py +++ /dev/null @@ -1,11 +0,0 @@ -from enum import Enum - - -class PlanningtransportCollectiongetResponseSchemaDataItemTransport(str, Enum): - NO_TRANSPORT = "No transport" - ROUND_TRIP = "Round trip" - ONLY_WAY_THERE = "Only way there" - ONLY_WAY_BACK = "Only way back" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/planningtransport_collectionpost_response_schema.py b/rentman_api_client/models/planningtransport_collectionpost_response_schema.py deleted file mode 100644 index 9bec8ff..0000000 --- a/rentman_api_client/models/planningtransport_collectionpost_response_schema.py +++ /dev/null @@ -1,90 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningtransport_collectionpost_response_schema_data_item import ( - PlanningtransportCollectionpostResponseSchemaDataItem, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningtransportCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningtransportCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[PlanningtransportCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = PlanningtransportCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningtransport_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningtransport_collectionpost_response_schema.additional_properties = d - return planningtransport_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item_custom.py deleted file mode 100644 index cf8c170..0000000 --- a/rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningtransportCollectionpostResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class PlanningtransportCollectionpostResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningtransport_collectionpost_response_schema_data_item_custom = cls() - - planningtransport_collectionpost_response_schema_data_item_custom.additional_properties = d - return planningtransport_collectionpost_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item_transport.py b/rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item_transport.py deleted file mode 100644 index 71f527b..0000000 --- a/rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item_transport.py +++ /dev/null @@ -1,11 +0,0 @@ -from enum import Enum - - -class PlanningtransportCollectionpostResponseSchemaDataItemTransport(str, Enum): - NO_TRANSPORT = "No transport" - ROUND_TRIP = "Round trip" - ONLY_WAY_THERE = "Only way there" - ONLY_WAY_BACK = "Only way back" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/planningtransport_collectionput_response_schema.py b/rentman_api_client/models/planningtransport_collectionput_response_schema.py deleted file mode 100644 index 729e9dc..0000000 --- a/rentman_api_client/models/planningtransport_collectionput_response_schema.py +++ /dev/null @@ -1,90 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningtransport_collectionput_response_schema_data_item import ( - PlanningtransportCollectionputResponseSchemaDataItem, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningtransportCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningtransportCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[PlanningtransportCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = PlanningtransportCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningtransport_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningtransport_collectionput_response_schema.additional_properties = d - return planningtransport_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_collectionput_response_schema_data_item.py b/rentman_api_client/models/planningtransport_collectionput_response_schema_data_item.py deleted file mode 100644 index 42fdfd5..0000000 --- a/rentman_api_client/models/planningtransport_collectionput_response_schema_data_item.py +++ /dev/null @@ -1,195 +0,0 @@ -import datetime -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr -from dateutil.parser import isoparse - -from ..models.planningtransport_collectionput_response_schema_data_item_custom import ( - PlanningtransportCollectionputResponseSchemaDataItemCustom, -) -from ..models.planningtransport_collectionput_response_schema_data_item_transport import ( - PlanningtransportCollectionputResponseSchemaDataItemTransport, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningtransportCollectionputResponseSchemaDataItem") - - -@attr.s(auto_attribs=True) -class PlanningtransportCollectionputResponseSchemaDataItem: - """ """ - - id: Union[Unset, int] = UNSET - created: Union[Unset, None, datetime.datetime] = UNSET - modified: Union[Unset, None, datetime.datetime] = UNSET - creator: Union[Unset, None, str] = UNSET - displayname: Union[Unset, str] = UNSET - cost_rate: Union[Unset, None, str] = UNSET - function: Union[Unset, str] = UNSET - transport: Union[Unset, PlanningtransportCollectionputResponseSchemaDataItemTransport] = UNSET - vehicle: Union[Unset, str] = UNSET - planningperiod_start: Union[Unset, None, datetime.datetime] = UNSET - planningperiod_end: Union[Unset, None, datetime.datetime] = UNSET - remark: Union[Unset, str] = UNSET - remark_planner: Union[Unset, str] = UNSET - costs: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningtransportCollectionputResponseSchemaDataItemCustom] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - id = self.id - created: Union[Unset, None, str] = UNSET - if not isinstance(self.created, Unset): - created = self.created.isoformat() if self.created else None - - modified: Union[Unset, None, str] = UNSET - if not isinstance(self.modified, Unset): - modified = self.modified.isoformat() if self.modified else None - - creator = self.creator - displayname = self.displayname - cost_rate = self.cost_rate - function = self.function - transport: Union[Unset, str] = UNSET - if not isinstance(self.transport, Unset): - transport = self.transport.value - - vehicle = self.vehicle - planningperiod_start: Union[Unset, None, str] = UNSET - if not isinstance(self.planningperiod_start, Unset): - planningperiod_start = self.planningperiod_start.isoformat() if self.planningperiod_start else None - - planningperiod_end: Union[Unset, None, str] = UNSET - if not isinstance(self.planningperiod_end, Unset): - planningperiod_end = self.planningperiod_end.isoformat() if self.planningperiod_end else None - - remark = self.remark - remark_planner = self.remark_planner - costs = self.costs - custom: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.custom, Unset): - custom = self.custom.to_dict() - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if id is not UNSET: - field_dict["id"] = id - if created is not UNSET: - field_dict["created"] = created - if modified is not UNSET: - field_dict["modified"] = modified - if creator is not UNSET: - field_dict["creator"] = creator - if displayname is not UNSET: - field_dict["displayname"] = displayname - if cost_rate is not UNSET: - field_dict["cost_rate"] = cost_rate - if function is not UNSET: - field_dict["function"] = function - if transport is not UNSET: - field_dict["transport"] = transport - if vehicle is not UNSET: - field_dict["vehicle"] = vehicle - if planningperiod_start is not UNSET: - field_dict["planningperiod_start"] = planningperiod_start - if planningperiod_end is not UNSET: - field_dict["planningperiod_end"] = planningperiod_end - if remark is not UNSET: - field_dict["remark"] = remark - if remark_planner is not UNSET: - field_dict["remark_planner"] = remark_planner - if costs is not UNSET: - field_dict["costs"] = costs - if custom is not UNSET: - field_dict["custom"] = custom - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - id = d.pop("id", UNSET) - - created = None - _created = d.pop("created", UNSET) - if _created is not None and not isinstance(_created, Unset): - created = isoparse(_created) - - modified = None - _modified = d.pop("modified", UNSET) - if _modified is not None and not isinstance(_modified, Unset): - modified = isoparse(_modified) - - creator = d.pop("creator", UNSET) - - displayname = d.pop("displayname", UNSET) - - cost_rate = d.pop("cost_rate", UNSET) - - function = d.pop("function", UNSET) - - transport: Union[Unset, PlanningtransportCollectionputResponseSchemaDataItemTransport] = UNSET - _transport = d.pop("transport", UNSET) - if not isinstance(_transport, Unset): - transport = PlanningtransportCollectionputResponseSchemaDataItemTransport(_transport) - - vehicle = d.pop("vehicle", UNSET) - - planningperiod_start = None - _planningperiod_start = d.pop("planningperiod_start", UNSET) - if _planningperiod_start is not None and not isinstance(_planningperiod_start, Unset): - planningperiod_start = isoparse(_planningperiod_start) - - planningperiod_end = None - _planningperiod_end = d.pop("planningperiod_end", UNSET) - if _planningperiod_end is not None and not isinstance(_planningperiod_end, Unset): - planningperiod_end = isoparse(_planningperiod_end) - - remark = d.pop("remark", UNSET) - - remark_planner = d.pop("remark_planner", UNSET) - - costs = d.pop("costs", UNSET) - - custom: Union[Unset, PlanningtransportCollectionputResponseSchemaDataItemCustom] = UNSET - _custom = d.pop("custom", UNSET) - if not isinstance(_custom, Unset): - custom = PlanningtransportCollectionputResponseSchemaDataItemCustom.from_dict(_custom) - - planningtransport_collectionput_response_schema_data_item = cls( - id=id, - created=created, - modified=modified, - creator=creator, - displayname=displayname, - cost_rate=cost_rate, - function=function, - transport=transport, - vehicle=vehicle, - planningperiod_start=planningperiod_start, - planningperiod_end=planningperiod_end, - remark=remark, - remark_planner=remark_planner, - costs=costs, - custom=custom, - ) - - planningtransport_collectionput_response_schema_data_item.additional_properties = d - return planningtransport_collectionput_response_schema_data_item - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/planningtransport_collectionput_response_schema_data_item_custom.py deleted file mode 100644 index a7fba61..0000000 --- a/rentman_api_client/models/planningtransport_collectionput_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningtransportCollectionputResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class PlanningtransportCollectionputResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningtransport_collectionput_response_schema_data_item_custom = cls() - - planningtransport_collectionput_response_schema_data_item_custom.additional_properties = d - return planningtransport_collectionput_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_collectionput_response_schema_data_item_transport.py b/rentman_api_client/models/planningtransport_collectionput_response_schema_data_item_transport.py deleted file mode 100644 index 2fabc45..0000000 --- a/rentman_api_client/models/planningtransport_collectionput_response_schema_data_item_transport.py +++ /dev/null @@ -1,11 +0,0 @@ -from enum import Enum - - -class PlanningtransportCollectionputResponseSchemaDataItemTransport(str, Enum): - NO_TRANSPORT = "No transport" - ROUND_TRIP = "Round trip" - ONLY_WAY_THERE = "Only way there" - ONLY_WAY_BACK = "Only way back" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/planningtransport_itemget_request_schema_custom.py b/rentman_api_client/models/planningtransport_itemget_request_schema_custom.py deleted file mode 100644 index 4c085a6..0000000 --- a/rentman_api_client/models/planningtransport_itemget_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningtransportItemgetRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class PlanningtransportItemgetRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningtransport_itemget_request_schema_custom = cls() - - planningtransport_itemget_request_schema_custom.additional_properties = d - return planningtransport_itemget_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itemget_response_schema.py b/rentman_api_client/models/planningtransport_itemget_response_schema.py deleted file mode 100644 index 9c9f510..0000000 --- a/rentman_api_client/models/planningtransport_itemget_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningtransport_itemget_response_schema_data import PlanningtransportItemgetResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningtransportItemgetResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningtransportItemgetResponseSchema: - """ """ - - data: Union[Unset, PlanningtransportItemgetResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, PlanningtransportItemgetResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = PlanningtransportItemgetResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningtransport_itemget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningtransport_itemget_response_schema.additional_properties = d - return planningtransport_itemget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itemget_response_schema_data_custom.py b/rentman_api_client/models/planningtransport_itemget_response_schema_data_custom.py deleted file mode 100644 index cdb61d2..0000000 --- a/rentman_api_client/models/planningtransport_itemget_response_schema_data_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningtransportItemgetResponseSchemaDataCustom") - - -@attr.s(auto_attribs=True) -class PlanningtransportItemgetResponseSchemaDataCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningtransport_itemget_response_schema_data_custom = cls() - - planningtransport_itemget_response_schema_data_custom.additional_properties = d - return planningtransport_itemget_response_schema_data_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itempost_response_schema.py b/rentman_api_client/models/planningtransport_itempost_response_schema.py deleted file mode 100644 index 44eb352..0000000 --- a/rentman_api_client/models/planningtransport_itempost_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningtransport_itempost_response_schema_data import PlanningtransportItempostResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningtransportItempostResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningtransportItempostResponseSchema: - """ """ - - data: Union[Unset, PlanningtransportItempostResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, PlanningtransportItempostResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = PlanningtransportItempostResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningtransport_itempost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningtransport_itempost_response_schema.additional_properties = d - return planningtransport_itempost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itempost_response_schema_data_custom.py b/rentman_api_client/models/planningtransport_itempost_response_schema_data_custom.py deleted file mode 100644 index b2290bf..0000000 --- a/rentman_api_client/models/planningtransport_itempost_response_schema_data_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningtransportItempostResponseSchemaDataCustom") - - -@attr.s(auto_attribs=True) -class PlanningtransportItempostResponseSchemaDataCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningtransport_itempost_response_schema_data_custom = cls() - - planningtransport_itempost_response_schema_data_custom.additional_properties = d - return planningtransport_itempost_response_schema_data_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itemput_response_schema.py b/rentman_api_client/models/planningtransport_itemput_response_schema.py deleted file mode 100644 index 61a3a9f..0000000 --- a/rentman_api_client/models/planningtransport_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.planningtransport_itemput_response_schema_data import PlanningtransportItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="PlanningtransportItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class PlanningtransportItemputResponseSchema: - """ """ - - data: Union[Unset, PlanningtransportItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, PlanningtransportItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = PlanningtransportItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - planningtransport_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - planningtransport_itemput_response_schema.additional_properties = d - return planningtransport_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itemput_response_schema_data_custom.py b/rentman_api_client/models/planningtransport_itemput_response_schema_data_custom.py deleted file mode 100644 index 217d641..0000000 --- a/rentman_api_client/models/planningtransport_itemput_response_schema_data_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="PlanningtransportItemputResponseSchemaDataCustom") - - -@attr.s(auto_attribs=True) -class PlanningtransportItemputResponseSchemaDataCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - planningtransport_itemput_response_schema_data_custom = cls() - - planningtransport_itemput_response_schema_data_custom.additional_properties = d - return planningtransport_itemput_response_schema_data_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itemput_response_schema_data_transport.py b/rentman_api_client/models/planningtransport_itemput_response_schema_data_transport.py deleted file mode 100644 index 79611ff..0000000 --- a/rentman_api_client/models/planningtransport_itemput_response_schema_data_transport.py +++ /dev/null @@ -1,11 +0,0 @@ -from enum import Enum - - -class PlanningtransportItemputResponseSchemaDataTransport(str, Enum): - NO_TRANSPORT = "No transport" - ROUND_TRIP = "Round trip" - ONLY_WAY_THERE = "Only way there" - ONLY_WAY_BACK = "Only way back" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/projectcrew_collectionget_response_schema.py b/rentman_api_client/models/projectcrew_collectionget_response_schema.py new file mode 100644 index 0000000..5e786ab --- /dev/null +++ b/rentman_api_client/models/projectcrew_collectionget_response_schema.py @@ -0,0 +1,88 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectcrew_collectionget_response_schema_data_item import ProjectcrewCollectiongetResponseSchemaDataItem +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectcrewCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectcrewCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[ProjectcrewCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjectcrewCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectcrew_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectcrew_collectionget_response_schema.additional_properties = d + return projectcrew_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item.py b/rentman_api_client/models/projectcrew_collectionget_response_schema_data_item.py similarity index 87% rename from rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item.py rename to rentman_api_client/models/projectcrew_collectionget_response_schema_data_item.py index 7c807d2..2a178b3 100644 --- a/rentman_api_client/models/planningpersoneel_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/projectcrew_collectionget_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.planningpersoneel_collectionget_response_schema_data_item_custom import ( - PlanningpersoneelCollectiongetResponseSchemaDataItemCustom, +from ..models.projectcrew_collectionget_response_schema_data_item_custom import ( + ProjectcrewCollectiongetResponseSchemaDataItemCustom, ) -from ..models.planningpersoneel_collectionget_response_schema_data_item_transport import ( - PlanningpersoneelCollectiongetResponseSchemaDataItemTransport, +from ..models.projectcrew_collectionget_response_schema_data_item_transport import ( + ProjectcrewCollectiongetResponseSchemaDataItemTransport, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningpersoneelCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="ProjectcrewCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class PlanningpersoneelCollectiongetResponseSchemaDataItem: +class ProjectcrewCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -30,7 +30,7 @@ class PlanningpersoneelCollectiongetResponseSchemaDataItem: visible: Union[Unset, bool] = UNSET planperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - transport: Union[Unset, PlanningpersoneelCollectiongetResponseSchemaDataItemTransport] = UNSET + transport: Union[Unset, ProjectcrewCollectiongetResponseSchemaDataItemTransport] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET invoice_reference: Union[Unset, str] = UNSET @@ -41,7 +41,7 @@ class PlanningpersoneelCollectiongetResponseSchemaDataItem: hours_registered: Union[Unset, None, float] = UNSET hours_planned: Union[Unset, None, float] = UNSET cost_planned: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningpersoneelCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectcrewCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -175,10 +175,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): planperiod_end = isoparse(_planperiod_end) - transport: Union[Unset, PlanningpersoneelCollectiongetResponseSchemaDataItemTransport] = UNSET + transport: Union[Unset, ProjectcrewCollectiongetResponseSchemaDataItemTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningpersoneelCollectiongetResponseSchemaDataItemTransport(_transport) + transport = ProjectcrewCollectiongetResponseSchemaDataItemTransport(_transport) remark = d.pop("remark", UNSET) @@ -200,12 +200,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: cost_planned = d.pop("cost_planned", UNSET) - custom: Union[Unset, PlanningpersoneelCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectcrewCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningpersoneelCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = ProjectcrewCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - planningpersoneel_collectionget_response_schema_data_item = cls( + projectcrew_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -231,8 +231,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningpersoneel_collectionget_response_schema_data_item.additional_properties = d - return planningpersoneel_collectionget_response_schema_data_item + projectcrew_collectionget_response_schema_data_item.additional_properties = d + return projectcrew_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/projectcrew_collectionget_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/medewerker_collectionpost_response_schema_data_item_custom.py rename to rentman_api_client/models/projectcrew_collectionget_response_schema_data_item_custom.py index a04a5f9..9744efc 100644 --- a/rentman_api_client/models/medewerker_collectionpost_response_schema_data_item_custom.py +++ b/rentman_api_client/models/projectcrew_collectionget_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MedewerkerCollectionpostResponseSchemaDataItemCustom") +T = TypeVar("T", bound="ProjectcrewCollectiongetResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class MedewerkerCollectionpostResponseSchemaDataItemCustom: +class ProjectcrewCollectiongetResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - medewerker_collectionpost_response_schema_data_item_custom = cls() + projectcrew_collectionget_response_schema_data_item_custom = cls() - medewerker_collectionpost_response_schema_data_item_custom.additional_properties = d - return medewerker_collectionpost_response_schema_data_item_custom + projectcrew_collectionget_response_schema_data_item_custom.additional_properties = d + return projectcrew_collectionget_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningpersoneel_itempost_response_schema_data_transport.py b/rentman_api_client/models/projectcrew_collectionget_response_schema_data_item_transport.py similarity index 75% rename from rentman_api_client/models/planningpersoneel_itempost_response_schema_data_transport.py rename to rentman_api_client/models/projectcrew_collectionget_response_schema_data_item_transport.py index 2c64c38..01908d0 100644 --- a/rentman_api_client/models/planningpersoneel_itempost_response_schema_data_transport.py +++ b/rentman_api_client/models/projectcrew_collectionget_response_schema_data_item_transport.py @@ -1,7 +1,7 @@ from enum import Enum -class PlanningpersoneelItempostResponseSchemaDataTransport(str, Enum): +class ProjectcrewCollectiongetResponseSchemaDataItemTransport(str, Enum): NO_TRANSPORT = "no_transport" ROUND_TRIP = "round_trip" ONLY_WAY_THERE = "only_way_there" diff --git a/rentman_api_client/models/materiaal_cat_collectionput_response_schema.py b/rentman_api_client/models/projectcrew_collectionpost_response_schema.py similarity index 79% rename from rentman_api_client/models/materiaal_cat_collectionput_response_schema.py rename to rentman_api_client/models/projectcrew_collectionpost_response_schema.py index aaba2ea..f526f06 100644 --- a/rentman_api_client/models/materiaal_cat_collectionput_response_schema.py +++ b/rentman_api_client/models/projectcrew_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.materiaal_cat_collectionput_response_schema_data_item import ( - MateriaalCatCollectionputResponseSchemaDataItem, +from ..models.projectcrew_collectionpost_response_schema_data_item import ( + ProjectcrewCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatCollectionputResponseSchema") +T = TypeVar("T", bound="ProjectcrewCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class MateriaalCatCollectionputResponseSchema: +class ProjectcrewCollectionpostResponseSchema: """ """ - data: Union[Unset, List[MateriaalCatCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[ProjectcrewCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = MateriaalCatCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = ProjectcrewCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - materiaal_cat_collectionput_response_schema = cls( + projectcrew_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - materiaal_cat_collectionput_response_schema.additional_properties = d - return materiaal_cat_collectionput_response_schema + projectcrew_collectionpost_response_schema.additional_properties = d + return projectcrew_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item.py b/rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item.py new file mode 100644 index 0000000..ed9b933 --- /dev/null +++ b/rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item.py @@ -0,0 +1,251 @@ +import datetime +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr +from dateutil.parser import isoparse + +from ..models.projectcrew_collectionpost_response_schema_data_item_custom import ( + ProjectcrewCollectionpostResponseSchemaDataItemCustom, +) +from ..models.projectcrew_collectionpost_response_schema_data_item_transport import ( + ProjectcrewCollectionpostResponseSchemaDataItemTransport, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectcrewCollectionpostResponseSchemaDataItem") + + +@attr.s(auto_attribs=True) +class ProjectcrewCollectionpostResponseSchemaDataItem: + """ """ + + id: Union[Unset, int] = UNSET + created: Union[Unset, None, datetime.datetime] = UNSET + modified: Union[Unset, None, datetime.datetime] = UNSET + creator: Union[Unset, None, str] = UNSET + displayname: Union[Unset, str] = UNSET + cost_rate: Union[Unset, None, str] = UNSET + function: Union[Unset, str] = UNSET + crewmember: Union[Unset, str] = UNSET + visible: Union[Unset, bool] = UNSET + planperiod_start: Union[Unset, None, datetime.datetime] = UNSET + planperiod_end: Union[Unset, None, datetime.datetime] = UNSET + transport: Union[Unset, ProjectcrewCollectionpostResponseSchemaDataItemTransport] = UNSET + remark: Union[Unset, str] = UNSET + remark_planner: Union[Unset, str] = UNSET + invoice_reference: Union[Unset, str] = UNSET + project_leader: Union[Unset, bool] = UNSET + is_visible_on_dashboard: Union[Unset, bool] = UNSET + costs: Union[Unset, float] = UNSET + cost_actual: Union[Unset, float] = UNSET + hours_registered: Union[Unset, None, float] = UNSET + hours_planned: Union[Unset, None, float] = UNSET + cost_planned: Union[Unset, float] = UNSET + custom: Union[Unset, ProjectcrewCollectionpostResponseSchemaDataItemCustom] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + id = self.id + created: Union[Unset, None, str] = UNSET + if not isinstance(self.created, Unset): + created = self.created.isoformat() if self.created else None + + modified: Union[Unset, None, str] = UNSET + if not isinstance(self.modified, Unset): + modified = self.modified.isoformat() if self.modified else None + + creator = self.creator + displayname = self.displayname + cost_rate = self.cost_rate + function = self.function + crewmember = self.crewmember + visible = self.visible + planperiod_start: Union[Unset, None, str] = UNSET + if not isinstance(self.planperiod_start, Unset): + planperiod_start = self.planperiod_start.isoformat() if self.planperiod_start else None + + planperiod_end: Union[Unset, None, str] = UNSET + if not isinstance(self.planperiod_end, Unset): + planperiod_end = self.planperiod_end.isoformat() if self.planperiod_end else None + + transport: Union[Unset, str] = UNSET + if not isinstance(self.transport, Unset): + transport = self.transport.value + + remark = self.remark + remark_planner = self.remark_planner + invoice_reference = self.invoice_reference + project_leader = self.project_leader + is_visible_on_dashboard = self.is_visible_on_dashboard + costs = self.costs + cost_actual = self.cost_actual + hours_registered = self.hours_registered + hours_planned = self.hours_planned + cost_planned = self.cost_planned + custom: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.custom, Unset): + custom = self.custom.to_dict() + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if id is not UNSET: + field_dict["id"] = id + if created is not UNSET: + field_dict["created"] = created + if modified is not UNSET: + field_dict["modified"] = modified + if creator is not UNSET: + field_dict["creator"] = creator + if displayname is not UNSET: + field_dict["displayname"] = displayname + if cost_rate is not UNSET: + field_dict["cost_rate"] = cost_rate + if function is not UNSET: + field_dict["function"] = function + if crewmember is not UNSET: + field_dict["crewmember"] = crewmember + if visible is not UNSET: + field_dict["visible"] = visible + if planperiod_start is not UNSET: + field_dict["planperiod_start"] = planperiod_start + if planperiod_end is not UNSET: + field_dict["planperiod_end"] = planperiod_end + if transport is not UNSET: + field_dict["transport"] = transport + if remark is not UNSET: + field_dict["remark"] = remark + if remark_planner is not UNSET: + field_dict["remark_planner"] = remark_planner + if invoice_reference is not UNSET: + field_dict["invoice_reference"] = invoice_reference + if project_leader is not UNSET: + field_dict["project_leader"] = project_leader + if is_visible_on_dashboard is not UNSET: + field_dict["is_visible_on_dashboard"] = is_visible_on_dashboard + if costs is not UNSET: + field_dict["costs"] = costs + if cost_actual is not UNSET: + field_dict["cost_actual"] = cost_actual + if hours_registered is not UNSET: + field_dict["hours_registered"] = hours_registered + if hours_planned is not UNSET: + field_dict["hours_planned"] = hours_planned + if cost_planned is not UNSET: + field_dict["cost_planned"] = cost_planned + if custom is not UNSET: + field_dict["custom"] = custom + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + id = d.pop("id", UNSET) + + created = None + _created = d.pop("created", UNSET) + if _created is not None and not isinstance(_created, Unset): + created = isoparse(_created) + + modified = None + _modified = d.pop("modified", UNSET) + if _modified is not None and not isinstance(_modified, Unset): + modified = isoparse(_modified) + + creator = d.pop("creator", UNSET) + + displayname = d.pop("displayname", UNSET) + + cost_rate = d.pop("cost_rate", UNSET) + + function = d.pop("function", UNSET) + + crewmember = d.pop("crewmember", UNSET) + + visible = d.pop("visible", UNSET) + + planperiod_start = None + _planperiod_start = d.pop("planperiod_start", UNSET) + if _planperiod_start is not None and not isinstance(_planperiod_start, Unset): + planperiod_start = isoparse(_planperiod_start) + + planperiod_end = None + _planperiod_end = d.pop("planperiod_end", UNSET) + if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): + planperiod_end = isoparse(_planperiod_end) + + transport: Union[Unset, ProjectcrewCollectionpostResponseSchemaDataItemTransport] = UNSET + _transport = d.pop("transport", UNSET) + if not isinstance(_transport, Unset): + transport = ProjectcrewCollectionpostResponseSchemaDataItemTransport(_transport) + + remark = d.pop("remark", UNSET) + + remark_planner = d.pop("remark_planner", UNSET) + + invoice_reference = d.pop("invoice_reference", UNSET) + + project_leader = d.pop("project_leader", UNSET) + + is_visible_on_dashboard = d.pop("is_visible_on_dashboard", UNSET) + + costs = d.pop("costs", UNSET) + + cost_actual = d.pop("cost_actual", UNSET) + + hours_registered = d.pop("hours_registered", UNSET) + + hours_planned = d.pop("hours_planned", UNSET) + + cost_planned = d.pop("cost_planned", UNSET) + + custom: Union[Unset, ProjectcrewCollectionpostResponseSchemaDataItemCustom] = UNSET + _custom = d.pop("custom", UNSET) + if not isinstance(_custom, Unset): + custom = ProjectcrewCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) + + projectcrew_collectionpost_response_schema_data_item = cls( + id=id, + created=created, + modified=modified, + creator=creator, + displayname=displayname, + cost_rate=cost_rate, + function=function, + crewmember=crewmember, + visible=visible, + planperiod_start=planperiod_start, + planperiod_end=planperiod_end, + transport=transport, + remark=remark, + remark_planner=remark_planner, + invoice_reference=invoice_reference, + project_leader=project_leader, + is_visible_on_dashboard=is_visible_on_dashboard, + costs=costs, + cost_actual=cost_actual, + hours_registered=hours_registered, + hours_planned=hours_planned, + cost_planned=cost_planned, + custom=custom, + ) + + projectcrew_collectionpost_response_schema_data_item.additional_properties = d + return projectcrew_collectionpost_response_schema_data_item + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item_custom.py new file mode 100644 index 0000000..f90a10e --- /dev/null +++ b/rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectcrewCollectionpostResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class ProjectcrewCollectionpostResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectcrew_collectionpost_response_schema_data_item_custom = cls() + + projectcrew_collectionpost_response_schema_data_item_custom.additional_properties = d + return projectcrew_collectionpost_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item_transport.py b/rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item_transport.py new file mode 100644 index 0000000..de84732 --- /dev/null +++ b/rentman_api_client/models/projectcrew_collectionpost_response_schema_data_item_transport.py @@ -0,0 +1,11 @@ +from enum import Enum + + +class ProjectcrewCollectionpostResponseSchemaDataItemTransport(str, Enum): + NO_TRANSPORT = "no_transport" + ROUND_TRIP = "round_trip" + ONLY_WAY_THERE = "only_way_there" + ONLY_WAY_BACK = "only_way_back" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/projectcrew_collectionput_response_schema.py b/rentman_api_client/models/projectcrew_collectionput_response_schema.py new file mode 100644 index 0000000..c8eaf44 --- /dev/null +++ b/rentman_api_client/models/projectcrew_collectionput_response_schema.py @@ -0,0 +1,88 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectcrew_collectionput_response_schema_data_item import ProjectcrewCollectionputResponseSchemaDataItem +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectcrewCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectcrewCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[ProjectcrewCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjectcrewCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectcrew_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectcrew_collectionput_response_schema.additional_properties = d + return projectcrew_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectcrew_collectionput_response_schema_data_item.py b/rentman_api_client/models/projectcrew_collectionput_response_schema_data_item.py new file mode 100644 index 0000000..52a8b8b --- /dev/null +++ b/rentman_api_client/models/projectcrew_collectionput_response_schema_data_item.py @@ -0,0 +1,251 @@ +import datetime +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr +from dateutil.parser import isoparse + +from ..models.projectcrew_collectionput_response_schema_data_item_custom import ( + ProjectcrewCollectionputResponseSchemaDataItemCustom, +) +from ..models.projectcrew_collectionput_response_schema_data_item_transport import ( + ProjectcrewCollectionputResponseSchemaDataItemTransport, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectcrewCollectionputResponseSchemaDataItem") + + +@attr.s(auto_attribs=True) +class ProjectcrewCollectionputResponseSchemaDataItem: + """ """ + + id: Union[Unset, int] = UNSET + created: Union[Unset, None, datetime.datetime] = UNSET + modified: Union[Unset, None, datetime.datetime] = UNSET + creator: Union[Unset, None, str] = UNSET + displayname: Union[Unset, str] = UNSET + cost_rate: Union[Unset, None, str] = UNSET + function: Union[Unset, str] = UNSET + crewmember: Union[Unset, str] = UNSET + visible: Union[Unset, bool] = UNSET + planperiod_start: Union[Unset, None, datetime.datetime] = UNSET + planperiod_end: Union[Unset, None, datetime.datetime] = UNSET + transport: Union[Unset, ProjectcrewCollectionputResponseSchemaDataItemTransport] = UNSET + remark: Union[Unset, str] = UNSET + remark_planner: Union[Unset, str] = UNSET + invoice_reference: Union[Unset, str] = UNSET + project_leader: Union[Unset, bool] = UNSET + is_visible_on_dashboard: Union[Unset, bool] = UNSET + costs: Union[Unset, float] = UNSET + cost_actual: Union[Unset, float] = UNSET + hours_registered: Union[Unset, None, float] = UNSET + hours_planned: Union[Unset, None, float] = UNSET + cost_planned: Union[Unset, float] = UNSET + custom: Union[Unset, ProjectcrewCollectionputResponseSchemaDataItemCustom] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + id = self.id + created: Union[Unset, None, str] = UNSET + if not isinstance(self.created, Unset): + created = self.created.isoformat() if self.created else None + + modified: Union[Unset, None, str] = UNSET + if not isinstance(self.modified, Unset): + modified = self.modified.isoformat() if self.modified else None + + creator = self.creator + displayname = self.displayname + cost_rate = self.cost_rate + function = self.function + crewmember = self.crewmember + visible = self.visible + planperiod_start: Union[Unset, None, str] = UNSET + if not isinstance(self.planperiod_start, Unset): + planperiod_start = self.planperiod_start.isoformat() if self.planperiod_start else None + + planperiod_end: Union[Unset, None, str] = UNSET + if not isinstance(self.planperiod_end, Unset): + planperiod_end = self.planperiod_end.isoformat() if self.planperiod_end else None + + transport: Union[Unset, str] = UNSET + if not isinstance(self.transport, Unset): + transport = self.transport.value + + remark = self.remark + remark_planner = self.remark_planner + invoice_reference = self.invoice_reference + project_leader = self.project_leader + is_visible_on_dashboard = self.is_visible_on_dashboard + costs = self.costs + cost_actual = self.cost_actual + hours_registered = self.hours_registered + hours_planned = self.hours_planned + cost_planned = self.cost_planned + custom: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.custom, Unset): + custom = self.custom.to_dict() + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if id is not UNSET: + field_dict["id"] = id + if created is not UNSET: + field_dict["created"] = created + if modified is not UNSET: + field_dict["modified"] = modified + if creator is not UNSET: + field_dict["creator"] = creator + if displayname is not UNSET: + field_dict["displayname"] = displayname + if cost_rate is not UNSET: + field_dict["cost_rate"] = cost_rate + if function is not UNSET: + field_dict["function"] = function + if crewmember is not UNSET: + field_dict["crewmember"] = crewmember + if visible is not UNSET: + field_dict["visible"] = visible + if planperiod_start is not UNSET: + field_dict["planperiod_start"] = planperiod_start + if planperiod_end is not UNSET: + field_dict["planperiod_end"] = planperiod_end + if transport is not UNSET: + field_dict["transport"] = transport + if remark is not UNSET: + field_dict["remark"] = remark + if remark_planner is not UNSET: + field_dict["remark_planner"] = remark_planner + if invoice_reference is not UNSET: + field_dict["invoice_reference"] = invoice_reference + if project_leader is not UNSET: + field_dict["project_leader"] = project_leader + if is_visible_on_dashboard is not UNSET: + field_dict["is_visible_on_dashboard"] = is_visible_on_dashboard + if costs is not UNSET: + field_dict["costs"] = costs + if cost_actual is not UNSET: + field_dict["cost_actual"] = cost_actual + if hours_registered is not UNSET: + field_dict["hours_registered"] = hours_registered + if hours_planned is not UNSET: + field_dict["hours_planned"] = hours_planned + if cost_planned is not UNSET: + field_dict["cost_planned"] = cost_planned + if custom is not UNSET: + field_dict["custom"] = custom + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + id = d.pop("id", UNSET) + + created = None + _created = d.pop("created", UNSET) + if _created is not None and not isinstance(_created, Unset): + created = isoparse(_created) + + modified = None + _modified = d.pop("modified", UNSET) + if _modified is not None and not isinstance(_modified, Unset): + modified = isoparse(_modified) + + creator = d.pop("creator", UNSET) + + displayname = d.pop("displayname", UNSET) + + cost_rate = d.pop("cost_rate", UNSET) + + function = d.pop("function", UNSET) + + crewmember = d.pop("crewmember", UNSET) + + visible = d.pop("visible", UNSET) + + planperiod_start = None + _planperiod_start = d.pop("planperiod_start", UNSET) + if _planperiod_start is not None and not isinstance(_planperiod_start, Unset): + planperiod_start = isoparse(_planperiod_start) + + planperiod_end = None + _planperiod_end = d.pop("planperiod_end", UNSET) + if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): + planperiod_end = isoparse(_planperiod_end) + + transport: Union[Unset, ProjectcrewCollectionputResponseSchemaDataItemTransport] = UNSET + _transport = d.pop("transport", UNSET) + if not isinstance(_transport, Unset): + transport = ProjectcrewCollectionputResponseSchemaDataItemTransport(_transport) + + remark = d.pop("remark", UNSET) + + remark_planner = d.pop("remark_planner", UNSET) + + invoice_reference = d.pop("invoice_reference", UNSET) + + project_leader = d.pop("project_leader", UNSET) + + is_visible_on_dashboard = d.pop("is_visible_on_dashboard", UNSET) + + costs = d.pop("costs", UNSET) + + cost_actual = d.pop("cost_actual", UNSET) + + hours_registered = d.pop("hours_registered", UNSET) + + hours_planned = d.pop("hours_planned", UNSET) + + cost_planned = d.pop("cost_planned", UNSET) + + custom: Union[Unset, ProjectcrewCollectionputResponseSchemaDataItemCustom] = UNSET + _custom = d.pop("custom", UNSET) + if not isinstance(_custom, Unset): + custom = ProjectcrewCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + + projectcrew_collectionput_response_schema_data_item = cls( + id=id, + created=created, + modified=modified, + creator=creator, + displayname=displayname, + cost_rate=cost_rate, + function=function, + crewmember=crewmember, + visible=visible, + planperiod_start=planperiod_start, + planperiod_end=planperiod_end, + transport=transport, + remark=remark, + remark_planner=remark_planner, + invoice_reference=invoice_reference, + project_leader=project_leader, + is_visible_on_dashboard=is_visible_on_dashboard, + costs=costs, + cost_actual=cost_actual, + hours_registered=hours_registered, + hours_planned=hours_planned, + cost_planned=cost_planned, + custom=custom, + ) + + projectcrew_collectionput_response_schema_data_item.additional_properties = d + return projectcrew_collectionput_response_schema_data_item + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectcrew_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/projectcrew_collectionput_response_schema_data_item_custom.py new file mode 100644 index 0000000..ebbb231 --- /dev/null +++ b/rentman_api_client/models/projectcrew_collectionput_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectcrewCollectionputResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class ProjectcrewCollectionputResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectcrew_collectionput_response_schema_data_item_custom = cls() + + projectcrew_collectionput_response_schema_data_item_custom.additional_properties = d + return projectcrew_collectionput_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectcrew_collectionput_response_schema_data_item_transport.py b/rentman_api_client/models/projectcrew_collectionput_response_schema_data_item_transport.py new file mode 100644 index 0000000..f323d13 --- /dev/null +++ b/rentman_api_client/models/projectcrew_collectionput_response_schema_data_item_transport.py @@ -0,0 +1,11 @@ +from enum import Enum + + +class ProjectcrewCollectionputResponseSchemaDataItemTransport(str, Enum): + NO_TRANSPORT = "no_transport" + ROUND_TRIP = "round_trip" + ONLY_WAY_THERE = "only_way_there" + ONLY_WAY_BACK = "only_way_back" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/planningpersoneel_itemget_request_schema.py b/rentman_api_client/models/projectcrew_itemget_request_schema.py similarity index 83% rename from rentman_api_client/models/planningpersoneel_itemget_request_schema.py rename to rentman_api_client/models/projectcrew_itemget_request_schema.py index de263c4..63f6957 100644 --- a/rentman_api_client/models/planningpersoneel_itemget_request_schema.py +++ b/rentman_api_client/models/projectcrew_itemget_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.planningpersoneel_itemget_request_schema_custom import PlanningpersoneelItemgetRequestSchemaCustom -from ..models.planningpersoneel_itemget_request_schema_transport import PlanningpersoneelItemgetRequestSchemaTransport +from ..models.projectcrew_itemget_request_schema_custom import ProjectcrewItemgetRequestSchemaCustom +from ..models.projectcrew_itemget_request_schema_transport import ProjectcrewItemgetRequestSchemaTransport from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningpersoneelItemgetRequestSchema") +T = TypeVar("T", bound="ProjectcrewItemgetRequestSchema") @attr.s(auto_attribs=True) -class PlanningpersoneelItemgetRequestSchema: +class ProjectcrewItemgetRequestSchema: """ """ crewmember: str @@ -20,13 +20,13 @@ class PlanningpersoneelItemgetRequestSchema: visible: Union[Unset, bool] = UNSET planperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - transport: Union[Unset, PlanningpersoneelItemgetRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectcrewItemgetRequestSchemaTransport] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET invoice_reference: Union[Unset, str] = UNSET project_leader: Union[Unset, bool] = UNSET is_visible_on_dashboard: Union[Unset, bool] = UNSET - custom: Union[Unset, PlanningpersoneelItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectcrewItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -105,10 +105,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): planperiod_end = isoparse(_planperiod_end) - transport: Union[Unset, PlanningpersoneelItemgetRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectcrewItemgetRequestSchemaTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningpersoneelItemgetRequestSchemaTransport(_transport) + transport = ProjectcrewItemgetRequestSchemaTransport(_transport) remark = d.pop("remark", UNSET) @@ -120,12 +120,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_visible_on_dashboard = d.pop("is_visible_on_dashboard", UNSET) - custom: Union[Unset, PlanningpersoneelItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectcrewItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningpersoneelItemgetRequestSchemaCustom.from_dict(_custom) + custom = ProjectcrewItemgetRequestSchemaCustom.from_dict(_custom) - planningpersoneel_itemget_request_schema = cls( + projectcrew_itemget_request_schema = cls( crewmember=crewmember, cost_rate=cost_rate, visible=visible, @@ -140,8 +140,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningpersoneel_itemget_request_schema.additional_properties = d - return planningpersoneel_itemget_request_schema + projectcrew_itemget_request_schema.additional_properties = d + return projectcrew_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itempost_request_schema_custom.py b/rentman_api_client/models/projectcrew_itemget_request_schema_custom.py similarity index 78% rename from rentman_api_client/models/medewerker_itempost_request_schema_custom.py rename to rentman_api_client/models/projectcrew_itemget_request_schema_custom.py index 3bc777b..f571515 100644 --- a/rentman_api_client/models/medewerker_itempost_request_schema_custom.py +++ b/rentman_api_client/models/projectcrew_itemget_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MedewerkerItempostRequestSchemaCustom") +T = TypeVar("T", bound="ProjectcrewItemgetRequestSchemaCustom") @attr.s(auto_attribs=True) -class MedewerkerItempostRequestSchemaCustom: +class ProjectcrewItemgetRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - medewerker_itempost_request_schema_custom = cls() + projectcrew_itemget_request_schema_custom = cls() - medewerker_itempost_request_schema_custom.additional_properties = d - return medewerker_itempost_request_schema_custom + projectcrew_itemget_request_schema_custom.additional_properties = d + return projectcrew_itemget_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningpersoneel_itemget_request_schema_transport.py b/rentman_api_client/models/projectcrew_itemget_request_schema_transport.py similarity index 77% rename from rentman_api_client/models/planningpersoneel_itemget_request_schema_transport.py rename to rentman_api_client/models/projectcrew_itemget_request_schema_transport.py index 9df6d93..f7f2f74 100644 --- a/rentman_api_client/models/planningpersoneel_itemget_request_schema_transport.py +++ b/rentman_api_client/models/projectcrew_itemget_request_schema_transport.py @@ -1,7 +1,7 @@ from enum import Enum -class PlanningpersoneelItemgetRequestSchemaTransport(str, Enum): +class ProjectcrewItemgetRequestSchemaTransport(str, Enum): NO_TRANSPORT = "no_transport" ROUND_TRIP = "round_trip" ONLY_WAY_THERE = "only_way_there" diff --git a/rentman_api_client/models/projectcrew_itemget_response_schema.py b/rentman_api_client/models/projectcrew_itemget_response_schema.py new file mode 100644 index 0000000..2a0ab73 --- /dev/null +++ b/rentman_api_client/models/projectcrew_itemget_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectcrew_itemget_response_schema_data import ProjectcrewItemgetResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectcrewItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectcrewItemgetResponseSchema: + """ """ + + data: Union[Unset, ProjectcrewItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, ProjectcrewItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = ProjectcrewItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectcrew_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectcrew_itemget_response_schema.additional_properties = d + return projectcrew_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_itemput_response_schema_data.py b/rentman_api_client/models/projectcrew_itemget_response_schema_data.py similarity index 88% rename from rentman_api_client/models/planningpersoneel_itemput_response_schema_data.py rename to rentman_api_client/models/projectcrew_itemget_response_schema_data.py index 5eb5158..aab6d24 100644 --- a/rentman_api_client/models/planningpersoneel_itemput_response_schema_data.py +++ b/rentman_api_client/models/projectcrew_itemget_response_schema_data.py @@ -4,19 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.planningpersoneel_itemput_response_schema_data_custom import ( - PlanningpersoneelItemputResponseSchemaDataCustom, -) -from ..models.planningpersoneel_itemput_response_schema_data_transport import ( - PlanningpersoneelItemputResponseSchemaDataTransport, -) +from ..models.projectcrew_itemget_response_schema_data_custom import ProjectcrewItemgetResponseSchemaDataCustom +from ..models.projectcrew_itemget_response_schema_data_transport import ProjectcrewItemgetResponseSchemaDataTransport from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningpersoneelItemputResponseSchemaData") +T = TypeVar("T", bound="ProjectcrewItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class PlanningpersoneelItemputResponseSchemaData: +class ProjectcrewItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -30,7 +26,7 @@ class PlanningpersoneelItemputResponseSchemaData: visible: Union[Unset, bool] = UNSET planperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - transport: Union[Unset, PlanningpersoneelItemputResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectcrewItemgetResponseSchemaDataTransport] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET invoice_reference: Union[Unset, str] = UNSET @@ -41,7 +37,7 @@ class PlanningpersoneelItemputResponseSchemaData: hours_registered: Union[Unset, None, float] = UNSET hours_planned: Union[Unset, None, float] = UNSET cost_planned: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningpersoneelItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectcrewItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -175,10 +171,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): planperiod_end = isoparse(_planperiod_end) - transport: Union[Unset, PlanningpersoneelItemputResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectcrewItemgetResponseSchemaDataTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningpersoneelItemputResponseSchemaDataTransport(_transport) + transport = ProjectcrewItemgetResponseSchemaDataTransport(_transport) remark = d.pop("remark", UNSET) @@ -200,12 +196,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: cost_planned = d.pop("cost_planned", UNSET) - custom: Union[Unset, PlanningpersoneelItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectcrewItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningpersoneelItemputResponseSchemaDataCustom.from_dict(_custom) + custom = ProjectcrewItemgetResponseSchemaDataCustom.from_dict(_custom) - planningpersoneel_itemput_response_schema_data = cls( + projectcrew_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -231,8 +227,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningpersoneel_itemput_response_schema_data.additional_properties = d - return planningpersoneel_itemput_response_schema_data + projectcrew_itemget_response_schema_data.additional_properties = d + return projectcrew_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itempost_response_schema_data_custom.py b/rentman_api_client/models/projectcrew_itemget_response_schema_data_custom.py similarity index 77% rename from rentman_api_client/models/medewerker_itempost_response_schema_data_custom.py rename to rentman_api_client/models/projectcrew_itemget_response_schema_data_custom.py index 01bb1ef..b924d33 100644 --- a/rentman_api_client/models/medewerker_itempost_response_schema_data_custom.py +++ b/rentman_api_client/models/projectcrew_itemget_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MedewerkerItempostResponseSchemaDataCustom") +T = TypeVar("T", bound="ProjectcrewItemgetResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class MedewerkerItempostResponseSchemaDataCustom: +class ProjectcrewItemgetResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - medewerker_itempost_response_schema_data_custom = cls() + projectcrew_itemget_response_schema_data_custom = cls() - medewerker_itempost_response_schema_data_custom.additional_properties = d - return medewerker_itempost_response_schema_data_custom + projectcrew_itemget_response_schema_data_custom.additional_properties = d + return projectcrew_itemget_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningpersoneel_itempost_request_schema_transport.py b/rentman_api_client/models/projectcrew_itemget_response_schema_data_transport.py similarity index 77% rename from rentman_api_client/models/planningpersoneel_itempost_request_schema_transport.py rename to rentman_api_client/models/projectcrew_itemget_response_schema_data_transport.py index cce7d96..b706ae0 100644 --- a/rentman_api_client/models/planningpersoneel_itempost_request_schema_transport.py +++ b/rentman_api_client/models/projectcrew_itemget_response_schema_data_transport.py @@ -1,7 +1,7 @@ from enum import Enum -class PlanningpersoneelItempostRequestSchemaTransport(str, Enum): +class ProjectcrewItemgetResponseSchemaDataTransport(str, Enum): NO_TRANSPORT = "no_transport" ROUND_TRIP = "round_trip" ONLY_WAY_THERE = "only_way_there" diff --git a/rentman_api_client/models/planningpersoneel_itemput_request_schema.py b/rentman_api_client/models/projectcrew_itempost_request_schema.py similarity index 83% rename from rentman_api_client/models/planningpersoneel_itemput_request_schema.py rename to rentman_api_client/models/projectcrew_itempost_request_schema.py index f7bdf91..167a654 100644 --- a/rentman_api_client/models/planningpersoneel_itemput_request_schema.py +++ b/rentman_api_client/models/projectcrew_itempost_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.planningpersoneel_itemput_request_schema_custom import PlanningpersoneelItemputRequestSchemaCustom -from ..models.planningpersoneel_itemput_request_schema_transport import PlanningpersoneelItemputRequestSchemaTransport +from ..models.projectcrew_itempost_request_schema_custom import ProjectcrewItempostRequestSchemaCustom +from ..models.projectcrew_itempost_request_schema_transport import ProjectcrewItempostRequestSchemaTransport from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningpersoneelItemputRequestSchema") +T = TypeVar("T", bound="ProjectcrewItempostRequestSchema") @attr.s(auto_attribs=True) -class PlanningpersoneelItemputRequestSchema: +class ProjectcrewItempostRequestSchema: """ """ crewmember: str @@ -20,13 +20,13 @@ class PlanningpersoneelItemputRequestSchema: visible: Union[Unset, bool] = UNSET planperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - transport: Union[Unset, PlanningpersoneelItemputRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectcrewItempostRequestSchemaTransport] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET invoice_reference: Union[Unset, str] = UNSET project_leader: Union[Unset, bool] = UNSET is_visible_on_dashboard: Union[Unset, bool] = UNSET - custom: Union[Unset, PlanningpersoneelItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectcrewItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -105,10 +105,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): planperiod_end = isoparse(_planperiod_end) - transport: Union[Unset, PlanningpersoneelItemputRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectcrewItempostRequestSchemaTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningpersoneelItemputRequestSchemaTransport(_transport) + transport = ProjectcrewItempostRequestSchemaTransport(_transport) remark = d.pop("remark", UNSET) @@ -120,12 +120,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_visible_on_dashboard = d.pop("is_visible_on_dashboard", UNSET) - custom: Union[Unset, PlanningpersoneelItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectcrewItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningpersoneelItemputRequestSchemaCustom.from_dict(_custom) + custom = ProjectcrewItempostRequestSchemaCustom.from_dict(_custom) - planningpersoneel_itemput_request_schema = cls( + projectcrew_itempost_request_schema = cls( crewmember=crewmember, cost_rate=cost_rate, visible=visible, @@ -140,8 +140,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningpersoneel_itemput_request_schema.additional_properties = d - return planningpersoneel_itemput_request_schema + projectcrew_itempost_request_schema.additional_properties = d + return projectcrew_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itemget_response_schema_data_custom.py b/rentman_api_client/models/projectcrew_itempost_request_schema_custom.py similarity index 78% rename from rentman_api_client/models/person_itemget_response_schema_data_custom.py rename to rentman_api_client/models/projectcrew_itempost_request_schema_custom.py index b41f17f..d345f14 100644 --- a/rentman_api_client/models/person_itemget_response_schema_data_custom.py +++ b/rentman_api_client/models/projectcrew_itempost_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PersonItemgetResponseSchemaDataCustom") +T = TypeVar("T", bound="ProjectcrewItempostRequestSchemaCustom") @attr.s(auto_attribs=True) -class PersonItemgetResponseSchemaDataCustom: +class ProjectcrewItempostRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - person_itemget_response_schema_data_custom = cls() + projectcrew_itempost_request_schema_custom = cls() - person_itemget_response_schema_data_custom.additional_properties = d - return person_itemget_response_schema_data_custom + projectcrew_itempost_request_schema_custom.additional_properties = d + return projectcrew_itempost_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningpersoneel_itemget_response_schema_data_transport.py b/rentman_api_client/models/projectcrew_itempost_request_schema_transport.py similarity index 76% rename from rentman_api_client/models/planningpersoneel_itemget_response_schema_data_transport.py rename to rentman_api_client/models/projectcrew_itempost_request_schema_transport.py index 29333a5..8730999 100644 --- a/rentman_api_client/models/planningpersoneel_itemget_response_schema_data_transport.py +++ b/rentman_api_client/models/projectcrew_itempost_request_schema_transport.py @@ -1,7 +1,7 @@ from enum import Enum -class PlanningpersoneelItemgetResponseSchemaDataTransport(str, Enum): +class ProjectcrewItempostRequestSchemaTransport(str, Enum): NO_TRANSPORT = "no_transport" ROUND_TRIP = "round_trip" ONLY_WAY_THERE = "only_way_there" diff --git a/rentman_api_client/models/materiaal_cat_itemget_response_schema.py b/rentman_api_client/models/projectcrew_itempost_response_schema.py similarity index 77% rename from rentman_api_client/models/materiaal_cat_itemget_response_schema.py rename to rentman_api_client/models/projectcrew_itempost_response_schema.py index ff09c2b..2ed2595 100644 --- a/rentman_api_client/models/materiaal_cat_itemget_response_schema.py +++ b/rentman_api_client/models/projectcrew_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.materiaal_cat_itemget_response_schema_data import MateriaalCatItemgetResponseSchemaData +from ..models.projectcrew_itempost_response_schema_data import ProjectcrewItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatItemgetResponseSchema") +T = TypeVar("T", bound="ProjectcrewItempostResponseSchema") @attr.s(auto_attribs=True) -class MateriaalCatItemgetResponseSchema: +class ProjectcrewItempostResponseSchema: """ """ - data: Union[Unset, MateriaalCatItemgetResponseSchemaData] = UNSET + data: Union[Unset, ProjectcrewItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, MateriaalCatItemgetResponseSchemaData] = UNSET + data: Union[Unset, ProjectcrewItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = MateriaalCatItemgetResponseSchemaData.from_dict(_data) + data = ProjectcrewItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - materiaal_cat_itemget_response_schema = cls( + projectcrew_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - materiaal_cat_itemget_response_schema.additional_properties = d - return materiaal_cat_itemget_response_schema + projectcrew_itempost_response_schema.additional_properties = d + return projectcrew_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningpersoneel_itemget_response_schema_data.py b/rentman_api_client/models/projectcrew_itempost_response_schema_data.py similarity index 88% rename from rentman_api_client/models/planningpersoneel_itemget_response_schema_data.py rename to rentman_api_client/models/projectcrew_itempost_response_schema_data.py index 4d1490c..a29eb97 100644 --- a/rentman_api_client/models/planningpersoneel_itemget_response_schema_data.py +++ b/rentman_api_client/models/projectcrew_itempost_response_schema_data.py @@ -4,19 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.planningpersoneel_itemget_response_schema_data_custom import ( - PlanningpersoneelItemgetResponseSchemaDataCustom, -) -from ..models.planningpersoneel_itemget_response_schema_data_transport import ( - PlanningpersoneelItemgetResponseSchemaDataTransport, -) +from ..models.projectcrew_itempost_response_schema_data_custom import ProjectcrewItempostResponseSchemaDataCustom +from ..models.projectcrew_itempost_response_schema_data_transport import ProjectcrewItempostResponseSchemaDataTransport from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningpersoneelItemgetResponseSchemaData") +T = TypeVar("T", bound="ProjectcrewItempostResponseSchemaData") @attr.s(auto_attribs=True) -class PlanningpersoneelItemgetResponseSchemaData: +class ProjectcrewItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -30,7 +26,7 @@ class PlanningpersoneelItemgetResponseSchemaData: visible: Union[Unset, bool] = UNSET planperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - transport: Union[Unset, PlanningpersoneelItemgetResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectcrewItempostResponseSchemaDataTransport] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET invoice_reference: Union[Unset, str] = UNSET @@ -41,7 +37,7 @@ class PlanningpersoneelItemgetResponseSchemaData: hours_registered: Union[Unset, None, float] = UNSET hours_planned: Union[Unset, None, float] = UNSET cost_planned: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningpersoneelItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectcrewItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -175,10 +171,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): planperiod_end = isoparse(_planperiod_end) - transport: Union[Unset, PlanningpersoneelItemgetResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectcrewItempostResponseSchemaDataTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningpersoneelItemgetResponseSchemaDataTransport(_transport) + transport = ProjectcrewItempostResponseSchemaDataTransport(_transport) remark = d.pop("remark", UNSET) @@ -200,12 +196,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: cost_planned = d.pop("cost_planned", UNSET) - custom: Union[Unset, PlanningpersoneelItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectcrewItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningpersoneelItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = ProjectcrewItempostResponseSchemaDataCustom.from_dict(_custom) - planningpersoneel_itemget_response_schema_data = cls( + projectcrew_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -231,8 +227,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningpersoneel_itemget_response_schema_data.additional_properties = d - return planningpersoneel_itemget_response_schema_data + projectcrew_itempost_response_schema_data.additional_properties = d + return projectcrew_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itempost_request_schema_custom.py b/rentman_api_client/models/projectcrew_itempost_response_schema_data_custom.py similarity index 76% rename from rentman_api_client/models/planningmateriaal_itempost_request_schema_custom.py rename to rentman_api_client/models/projectcrew_itempost_response_schema_data_custom.py index 80f7f32..8aedbe0 100644 --- a/rentman_api_client/models/planningmateriaal_itempost_request_schema_custom.py +++ b/rentman_api_client/models/projectcrew_itempost_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningmateriaalItempostRequestSchemaCustom") +T = TypeVar("T", bound="ProjectcrewItempostResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class PlanningmateriaalItempostRequestSchemaCustom: +class ProjectcrewItempostResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningmateriaal_itempost_request_schema_custom = cls() + projectcrew_itempost_response_schema_data_custom = cls() - planningmateriaal_itempost_request_schema_custom.additional_properties = d - return planningmateriaal_itempost_request_schema_custom + projectcrew_itempost_response_schema_data_custom.additional_properties = d + return projectcrew_itempost_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningpersoneel_itemput_request_schema_transport.py b/rentman_api_client/models/projectcrew_itempost_response_schema_data_transport.py similarity index 77% rename from rentman_api_client/models/planningpersoneel_itemput_request_schema_transport.py rename to rentman_api_client/models/projectcrew_itempost_response_schema_data_transport.py index 6887402..6f9bab9 100644 --- a/rentman_api_client/models/planningpersoneel_itemput_request_schema_transport.py +++ b/rentman_api_client/models/projectcrew_itempost_response_schema_data_transport.py @@ -1,7 +1,7 @@ from enum import Enum -class PlanningpersoneelItemputRequestSchemaTransport(str, Enum): +class ProjectcrewItempostResponseSchemaDataTransport(str, Enum): NO_TRANSPORT = "no_transport" ROUND_TRIP = "round_trip" ONLY_WAY_THERE = "only_way_there" diff --git a/rentman_api_client/models/planningpersoneel_itempost_request_schema.py b/rentman_api_client/models/projectcrew_itemput_request_schema.py similarity index 83% rename from rentman_api_client/models/planningpersoneel_itempost_request_schema.py rename to rentman_api_client/models/projectcrew_itemput_request_schema.py index 961514b..69a41d4 100644 --- a/rentman_api_client/models/planningpersoneel_itempost_request_schema.py +++ b/rentman_api_client/models/projectcrew_itemput_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.planningpersoneel_itempost_request_schema_custom import PlanningpersoneelItempostRequestSchemaCustom -from ..models.planningpersoneel_itempost_request_schema_transport import PlanningpersoneelItempostRequestSchemaTransport +from ..models.projectcrew_itemput_request_schema_custom import ProjectcrewItemputRequestSchemaCustom +from ..models.projectcrew_itemput_request_schema_transport import ProjectcrewItemputRequestSchemaTransport from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningpersoneelItempostRequestSchema") +T = TypeVar("T", bound="ProjectcrewItemputRequestSchema") @attr.s(auto_attribs=True) -class PlanningpersoneelItempostRequestSchema: +class ProjectcrewItemputRequestSchema: """ """ crewmember: str @@ -20,13 +20,13 @@ class PlanningpersoneelItempostRequestSchema: visible: Union[Unset, bool] = UNSET planperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - transport: Union[Unset, PlanningpersoneelItempostRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectcrewItemputRequestSchemaTransport] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET invoice_reference: Union[Unset, str] = UNSET project_leader: Union[Unset, bool] = UNSET is_visible_on_dashboard: Union[Unset, bool] = UNSET - custom: Union[Unset, PlanningpersoneelItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectcrewItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -105,10 +105,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): planperiod_end = isoparse(_planperiod_end) - transport: Union[Unset, PlanningpersoneelItempostRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectcrewItemputRequestSchemaTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningpersoneelItempostRequestSchemaTransport(_transport) + transport = ProjectcrewItemputRequestSchemaTransport(_transport) remark = d.pop("remark", UNSET) @@ -120,12 +120,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_visible_on_dashboard = d.pop("is_visible_on_dashboard", UNSET) - custom: Union[Unset, PlanningpersoneelItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectcrewItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningpersoneelItempostRequestSchemaCustom.from_dict(_custom) + custom = ProjectcrewItemputRequestSchemaCustom.from_dict(_custom) - planningpersoneel_itempost_request_schema = cls( + projectcrew_itemput_request_schema = cls( crewmember=crewmember, cost_rate=cost_rate, visible=visible, @@ -140,8 +140,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningpersoneel_itempost_request_schema.additional_properties = d - return planningpersoneel_itempost_request_schema + projectcrew_itemput_request_schema.additional_properties = d + return projectcrew_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectcrew_itemput_request_schema_custom.py b/rentman_api_client/models/projectcrew_itemput_request_schema_custom.py new file mode 100644 index 0000000..8cdfde0 --- /dev/null +++ b/rentman_api_client/models/projectcrew_itemput_request_schema_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectcrewItemputRequestSchemaCustom") + + +@attr.s(auto_attribs=True) +class ProjectcrewItemputRequestSchemaCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectcrew_itemput_request_schema_custom = cls() + + projectcrew_itemput_request_schema_custom.additional_properties = d + return projectcrew_itemput_request_schema_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectcrew_itemput_request_schema_transport.py b/rentman_api_client/models/projectcrew_itemput_request_schema_transport.py new file mode 100644 index 0000000..a12d9d1 --- /dev/null +++ b/rentman_api_client/models/projectcrew_itemput_request_schema_transport.py @@ -0,0 +1,11 @@ +from enum import Enum + + +class ProjectcrewItemputRequestSchemaTransport(str, Enum): + NO_TRANSPORT = "no_transport" + ROUND_TRIP = "round_trip" + ONLY_WAY_THERE = "only_way_there" + ONLY_WAY_BACK = "only_way_back" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/projectcrew_itemput_response_schema.py b/rentman_api_client/models/projectcrew_itemput_response_schema.py new file mode 100644 index 0000000..fcc8aa0 --- /dev/null +++ b/rentman_api_client/models/projectcrew_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectcrew_itemput_response_schema_data import ProjectcrewItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectcrewItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectcrewItemputResponseSchema: + """ """ + + data: Union[Unset, ProjectcrewItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, ProjectcrewItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = ProjectcrewItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectcrew_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectcrew_itemput_response_schema.additional_properties = d + return projectcrew_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_itempost_response_schema_data.py b/rentman_api_client/models/projectcrew_itemput_response_schema_data.py similarity index 88% rename from rentman_api_client/models/planningpersoneel_itempost_response_schema_data.py rename to rentman_api_client/models/projectcrew_itemput_response_schema_data.py index 7d9324b..9e9b8e4 100644 --- a/rentman_api_client/models/planningpersoneel_itempost_response_schema_data.py +++ b/rentman_api_client/models/projectcrew_itemput_response_schema_data.py @@ -4,19 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.planningpersoneel_itempost_response_schema_data_custom import ( - PlanningpersoneelItempostResponseSchemaDataCustom, -) -from ..models.planningpersoneel_itempost_response_schema_data_transport import ( - PlanningpersoneelItempostResponseSchemaDataTransport, -) +from ..models.projectcrew_itemput_response_schema_data_custom import ProjectcrewItemputResponseSchemaDataCustom +from ..models.projectcrew_itemput_response_schema_data_transport import ProjectcrewItemputResponseSchemaDataTransport from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningpersoneelItempostResponseSchemaData") +T = TypeVar("T", bound="ProjectcrewItemputResponseSchemaData") @attr.s(auto_attribs=True) -class PlanningpersoneelItempostResponseSchemaData: +class ProjectcrewItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -30,7 +26,7 @@ class PlanningpersoneelItempostResponseSchemaData: visible: Union[Unset, bool] = UNSET planperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - transport: Union[Unset, PlanningpersoneelItempostResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectcrewItemputResponseSchemaDataTransport] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET invoice_reference: Union[Unset, str] = UNSET @@ -41,7 +37,7 @@ class PlanningpersoneelItempostResponseSchemaData: hours_registered: Union[Unset, None, float] = UNSET hours_planned: Union[Unset, None, float] = UNSET cost_planned: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningpersoneelItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectcrewItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -175,10 +171,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): planperiod_end = isoparse(_planperiod_end) - transport: Union[Unset, PlanningpersoneelItempostResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectcrewItemputResponseSchemaDataTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningpersoneelItempostResponseSchemaDataTransport(_transport) + transport = ProjectcrewItemputResponseSchemaDataTransport(_transport) remark = d.pop("remark", UNSET) @@ -200,12 +196,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: cost_planned = d.pop("cost_planned", UNSET) - custom: Union[Unset, PlanningpersoneelItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectcrewItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningpersoneelItempostResponseSchemaDataCustom.from_dict(_custom) + custom = ProjectcrewItemputResponseSchemaDataCustom.from_dict(_custom) - planningpersoneel_itempost_response_schema_data = cls( + projectcrew_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -231,8 +227,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningpersoneel_itempost_response_schema_data.additional_properties = d - return planningpersoneel_itempost_response_schema_data + projectcrew_itemput_response_schema_data.additional_properties = d + return projectcrew_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itemput_request_schema_custom.py b/rentman_api_client/models/projectcrew_itemput_response_schema_data_custom.py similarity index 77% rename from rentman_api_client/models/planningmateriaal_itemput_request_schema_custom.py rename to rentman_api_client/models/projectcrew_itemput_response_schema_data_custom.py index f68bcc2..3b355e6 100644 --- a/rentman_api_client/models/planningmateriaal_itemput_request_schema_custom.py +++ b/rentman_api_client/models/projectcrew_itemput_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningmateriaalItemputRequestSchemaCustom") +T = TypeVar("T", bound="ProjectcrewItemputResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class PlanningmateriaalItemputRequestSchemaCustom: +class ProjectcrewItemputResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningmateriaal_itemput_request_schema_custom = cls() + projectcrew_itemput_response_schema_data_custom = cls() - planningmateriaal_itemput_request_schema_custom.additional_properties = d - return planningmateriaal_itemput_request_schema_custom + projectcrew_itemput_response_schema_data_custom.additional_properties = d + return projectcrew_itemput_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectcrew_itemput_response_schema_data_transport.py b/rentman_api_client/models/projectcrew_itemput_response_schema_data_transport.py new file mode 100644 index 0000000..4e4abec --- /dev/null +++ b/rentman_api_client/models/projectcrew_itemput_response_schema_data_transport.py @@ -0,0 +1,11 @@ +from enum import Enum + + +class ProjectcrewItemputResponseSchemaDataTransport(str, Enum): + NO_TRANSPORT = "no_transport" + ROUND_TRIP = "round_trip" + ONLY_WAY_THERE = "only_way_there" + ONLY_WAY_BACK = "only_way_back" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/medewerkertarief_collectionput_response_schema.py b/rentman_api_client/models/projectequipment_collectionget_response_schema.py similarity index 80% rename from rentman_api_client/models/medewerkertarief_collectionput_response_schema.py rename to rentman_api_client/models/projectequipment_collectionget_response_schema.py index aba76d7..3129530 100644 --- a/rentman_api_client/models/medewerkertarief_collectionput_response_schema.py +++ b/rentman_api_client/models/projectequipment_collectionget_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.medewerkertarief_collectionput_response_schema_data_item import ( - MedewerkertariefCollectionputResponseSchemaDataItem, +from ..models.projectequipment_collectionget_response_schema_data_item import ( + ProjectequipmentCollectiongetResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefCollectionputResponseSchema") +T = TypeVar("T", bound="ProjectequipmentCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class MedewerkertariefCollectionputResponseSchema: +class ProjectequipmentCollectiongetResponseSchema: """ """ - data: Union[Unset, List[MedewerkertariefCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[ProjectequipmentCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = MedewerkertariefCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = ProjectequipmentCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - medewerkertarief_collectionput_response_schema = cls( + projectequipment_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - medewerkertarief_collectionput_response_schema.additional_properties = d - return medewerkertarief_collectionput_response_schema + projectequipment_collectionget_response_schema.additional_properties = d + return projectequipment_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_collectionget_response_schema_data_item.py b/rentman_api_client/models/projectequipment_collectionget_response_schema_data_item.py similarity index 92% rename from rentman_api_client/models/planningmateriaal_collectionget_response_schema_data_item.py rename to rentman_api_client/models/projectequipment_collectionget_response_schema_data_item.py index b299d9c..538a631 100644 --- a/rentman_api_client/models/planningmateriaal_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/projectequipment_collectionget_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.planningmateriaal_collectionget_response_schema_data_item_custom import ( - PlanningmateriaalCollectiongetResponseSchemaDataItemCustom, +from ..models.projectequipment_collectionget_response_schema_data_item_custom import ( + ProjectequipmentCollectiongetResponseSchemaDataItemCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="ProjectequipmentCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class PlanningmateriaalCollectiongetResponseSchemaDataItem: +class ProjectequipmentCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -42,7 +42,7 @@ class PlanningmateriaalCollectiongetResponseSchemaDataItem: warehouse_reservations: Union[Unset, int] = UNSET subrent_reservations: Union[Unset, int] = UNSET serial_number_ids: Union[Unset, str] = UNSET - custom: Union[Unset, PlanningmateriaalCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectequipmentCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -215,12 +215,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: serial_number_ids = d.pop("serial_number_ids", UNSET) - custom: Union[Unset, PlanningmateriaalCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectequipmentCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningmateriaalCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = ProjectequipmentCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - planningmateriaal_collectionget_response_schema_data_item = cls( + projectequipment_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -250,8 +250,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningmateriaal_collectionget_response_schema_data_item.additional_properties = d - return planningmateriaal_collectionget_response_schema_data_item + projectequipment_collectionget_response_schema_data_item.additional_properties = d + return projectequipment_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectequipment_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/projectequipment_collectionget_response_schema_data_item_custom.py new file mode 100644 index 0000000..376b8f2 --- /dev/null +++ b/rentman_api_client/models/projectequipment_collectionget_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectequipmentCollectiongetResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class ProjectequipmentCollectiongetResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectequipment_collectionget_response_schema_data_item_custom = cls() + + projectequipment_collectionget_response_schema_data_item_custom.additional_properties = d + return projectequipment_collectionget_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningmateriaal_collectionget_response_schema.py b/rentman_api_client/models/projectequipment_collectionpost_response_schema.py similarity index 80% rename from rentman_api_client/models/planningmateriaal_collectionget_response_schema.py rename to rentman_api_client/models/projectequipment_collectionpost_response_schema.py index e0251d2..318a7d6 100644 --- a/rentman_api_client/models/planningmateriaal_collectionget_response_schema.py +++ b/rentman_api_client/models/projectequipment_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.planningmateriaal_collectionget_response_schema_data_item import ( - PlanningmateriaalCollectiongetResponseSchemaDataItem, +from ..models.projectequipment_collectionpost_response_schema_data_item import ( + ProjectequipmentCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalCollectiongetResponseSchema") +T = TypeVar("T", bound="ProjectequipmentCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class PlanningmateriaalCollectiongetResponseSchema: +class ProjectequipmentCollectionpostResponseSchema: """ """ - data: Union[Unset, List[PlanningmateriaalCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[ProjectequipmentCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = PlanningmateriaalCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = ProjectequipmentCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - planningmateriaal_collectionget_response_schema = cls( + projectequipment_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - planningmateriaal_collectionget_response_schema.additional_properties = d - return planningmateriaal_collectionget_response_schema + projectequipment_collectionpost_response_schema.additional_properties = d + return projectequipment_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_collectionput_response_schema_data_item.py b/rentman_api_client/models/projectequipment_collectionpost_response_schema_data_item.py similarity index 93% rename from rentman_api_client/models/planningmateriaal_collectionput_response_schema_data_item.py rename to rentman_api_client/models/projectequipment_collectionpost_response_schema_data_item.py index 8692ce9..92afc08 100644 --- a/rentman_api_client/models/planningmateriaal_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/projectequipment_collectionpost_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.planningmateriaal_collectionput_response_schema_data_item_custom import ( - PlanningmateriaalCollectionputResponseSchemaDataItemCustom, +from ..models.projectequipment_collectionpost_response_schema_data_item_custom import ( + ProjectequipmentCollectionpostResponseSchemaDataItemCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="ProjectequipmentCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class PlanningmateriaalCollectionputResponseSchemaDataItem: +class ProjectequipmentCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -42,7 +42,7 @@ class PlanningmateriaalCollectionputResponseSchemaDataItem: warehouse_reservations: Union[Unset, int] = UNSET subrent_reservations: Union[Unset, int] = UNSET serial_number_ids: Union[Unset, str] = UNSET - custom: Union[Unset, PlanningmateriaalCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectequipmentCollectionpostResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -215,12 +215,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: serial_number_ids = d.pop("serial_number_ids", UNSET) - custom: Union[Unset, PlanningmateriaalCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectequipmentCollectionpostResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningmateriaalCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + custom = ProjectequipmentCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - planningmateriaal_collectionput_response_schema_data_item = cls( + projectequipment_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -250,8 +250,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningmateriaal_collectionput_response_schema_data_item.additional_properties = d - return planningmateriaal_collectionput_response_schema_data_item + projectequipment_collectionpost_response_schema_data_item.additional_properties = d + return projectequipment_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/projectequipment_collectionpost_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/planningmateriaal_collectionget_response_schema_data_item_custom.py rename to rentman_api_client/models/projectequipment_collectionpost_response_schema_data_item_custom.py index 9252dc0..445c1f4 100644 --- a/rentman_api_client/models/planningmateriaal_collectionget_response_schema_data_item_custom.py +++ b/rentman_api_client/models/projectequipment_collectionpost_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningmateriaalCollectiongetResponseSchemaDataItemCustom") +T = TypeVar("T", bound="ProjectequipmentCollectionpostResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class PlanningmateriaalCollectiongetResponseSchemaDataItemCustom: +class ProjectequipmentCollectionpostResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningmateriaal_collectionget_response_schema_data_item_custom = cls() + projectequipment_collectionpost_response_schema_data_item_custom = cls() - planningmateriaal_collectionget_response_schema_data_item_custom.additional_properties = d - return planningmateriaal_collectionget_response_schema_data_item_custom + projectequipment_collectionpost_response_schema_data_item_custom.additional_properties = d + return projectequipment_collectionpost_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectequipment_collectionput_response_schema.py b/rentman_api_client/models/projectequipment_collectionput_response_schema.py new file mode 100644 index 0000000..22a9f74 --- /dev/null +++ b/rentman_api_client/models/projectequipment_collectionput_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectequipment_collectionput_response_schema_data_item import ( + ProjectequipmentCollectionputResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectequipmentCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectequipmentCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[ProjectequipmentCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjectequipmentCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectequipment_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectequipment_collectionput_response_schema.additional_properties = d + return projectequipment_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectequipment_collectionput_response_schema_data_item.py b/rentman_api_client/models/projectequipment_collectionput_response_schema_data_item.py new file mode 100644 index 0000000..3f5ea2d --- /dev/null +++ b/rentman_api_client/models/projectequipment_collectionput_response_schema_data_item.py @@ -0,0 +1,270 @@ +import datetime +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr +from dateutil.parser import isoparse + +from ..models.projectequipment_collectionput_response_schema_data_item_custom import ( + ProjectequipmentCollectionputResponseSchemaDataItemCustom, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectequipmentCollectionputResponseSchemaDataItem") + + +@attr.s(auto_attribs=True) +class ProjectequipmentCollectionputResponseSchemaDataItem: + """ """ + + id: Union[Unset, int] = UNSET + created: Union[Unset, None, datetime.datetime] = UNSET + modified: Union[Unset, None, datetime.datetime] = UNSET + creator: Union[Unset, None, str] = UNSET + displayname: Union[Unset, str] = UNSET + equipment: Union[Unset, None, str] = UNSET + parent: Union[Unset, None, str] = UNSET + ledger: Union[Unset, None, str] = UNSET + quantity: Union[Unset, str] = UNSET + quantity_total: Union[Unset, int] = UNSET + equipment_group: Union[Unset, str] = UNSET + discount: Union[Unset, float] = UNSET + is_option: Union[Unset, bool] = UNSET + factor: Union[Unset, str] = UNSET + order: Union[Unset, str] = UNSET + unit_price: Union[Unset, float] = UNSET + name: Union[Unset, str] = UNSET + external_remark: Union[Unset, str] = UNSET + internal_remark: Union[Unset, str] = UNSET + delay_notified: Union[Unset, bool] = UNSET + planperiod_start: Union[Unset, None, datetime.datetime] = UNSET + planperiod_end: Union[Unset, None, datetime.datetime] = UNSET + has_missings: Union[Unset, bool] = UNSET + warehouse_reservations: Union[Unset, int] = UNSET + subrent_reservations: Union[Unset, int] = UNSET + serial_number_ids: Union[Unset, str] = UNSET + custom: Union[Unset, ProjectequipmentCollectionputResponseSchemaDataItemCustom] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + id = self.id + created: Union[Unset, None, str] = UNSET + if not isinstance(self.created, Unset): + created = self.created.isoformat() if self.created else None + + modified: Union[Unset, None, str] = UNSET + if not isinstance(self.modified, Unset): + modified = self.modified.isoformat() if self.modified else None + + creator = self.creator + displayname = self.displayname + equipment = self.equipment + parent = self.parent + ledger = self.ledger + quantity = self.quantity + quantity_total = self.quantity_total + equipment_group = self.equipment_group + discount = self.discount + is_option = self.is_option + factor = self.factor + order = self.order + unit_price = self.unit_price + name = self.name + external_remark = self.external_remark + internal_remark = self.internal_remark + delay_notified = self.delay_notified + planperiod_start: Union[Unset, None, str] = UNSET + if not isinstance(self.planperiod_start, Unset): + planperiod_start = self.planperiod_start.isoformat() if self.planperiod_start else None + + planperiod_end: Union[Unset, None, str] = UNSET + if not isinstance(self.planperiod_end, Unset): + planperiod_end = self.planperiod_end.isoformat() if self.planperiod_end else None + + has_missings = self.has_missings + warehouse_reservations = self.warehouse_reservations + subrent_reservations = self.subrent_reservations + serial_number_ids = self.serial_number_ids + custom: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.custom, Unset): + custom = self.custom.to_dict() + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if id is not UNSET: + field_dict["id"] = id + if created is not UNSET: + field_dict["created"] = created + if modified is not UNSET: + field_dict["modified"] = modified + if creator is not UNSET: + field_dict["creator"] = creator + if displayname is not UNSET: + field_dict["displayname"] = displayname + if equipment is not UNSET: + field_dict["equipment"] = equipment + if parent is not UNSET: + field_dict["parent"] = parent + if ledger is not UNSET: + field_dict["ledger"] = ledger + if quantity is not UNSET: + field_dict["quantity"] = quantity + if quantity_total is not UNSET: + field_dict["quantity_total"] = quantity_total + if equipment_group is not UNSET: + field_dict["equipment_group"] = equipment_group + if discount is not UNSET: + field_dict["discount"] = discount + if is_option is not UNSET: + field_dict["is_option"] = is_option + if factor is not UNSET: + field_dict["factor"] = factor + if order is not UNSET: + field_dict["order"] = order + if unit_price is not UNSET: + field_dict["unit_price"] = unit_price + if name is not UNSET: + field_dict["name"] = name + if external_remark is not UNSET: + field_dict["external_remark"] = external_remark + if internal_remark is not UNSET: + field_dict["internal_remark"] = internal_remark + if delay_notified is not UNSET: + field_dict["delay_notified"] = delay_notified + if planperiod_start is not UNSET: + field_dict["planperiod_start"] = planperiod_start + if planperiod_end is not UNSET: + field_dict["planperiod_end"] = planperiod_end + if has_missings is not UNSET: + field_dict["has_missings"] = has_missings + if warehouse_reservations is not UNSET: + field_dict["warehouse_reservations"] = warehouse_reservations + if subrent_reservations is not UNSET: + field_dict["subrent_reservations"] = subrent_reservations + if serial_number_ids is not UNSET: + field_dict["serial_number_ids"] = serial_number_ids + if custom is not UNSET: + field_dict["custom"] = custom + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + id = d.pop("id", UNSET) + + created = None + _created = d.pop("created", UNSET) + if _created is not None and not isinstance(_created, Unset): + created = isoparse(_created) + + modified = None + _modified = d.pop("modified", UNSET) + if _modified is not None and not isinstance(_modified, Unset): + modified = isoparse(_modified) + + creator = d.pop("creator", UNSET) + + displayname = d.pop("displayname", UNSET) + + equipment = d.pop("equipment", UNSET) + + parent = d.pop("parent", UNSET) + + ledger = d.pop("ledger", UNSET) + + quantity = d.pop("quantity", UNSET) + + quantity_total = d.pop("quantity_total", UNSET) + + equipment_group = d.pop("equipment_group", UNSET) + + discount = d.pop("discount", UNSET) + + is_option = d.pop("is_option", UNSET) + + factor = d.pop("factor", UNSET) + + order = d.pop("order", UNSET) + + unit_price = d.pop("unit_price", UNSET) + + name = d.pop("name", UNSET) + + external_remark = d.pop("external_remark", UNSET) + + internal_remark = d.pop("internal_remark", UNSET) + + delay_notified = d.pop("delay_notified", UNSET) + + planperiod_start = None + _planperiod_start = d.pop("planperiod_start", UNSET) + if _planperiod_start is not None and not isinstance(_planperiod_start, Unset): + planperiod_start = isoparse(_planperiod_start) + + planperiod_end = None + _planperiod_end = d.pop("planperiod_end", UNSET) + if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): + planperiod_end = isoparse(_planperiod_end) + + has_missings = d.pop("has_missings", UNSET) + + warehouse_reservations = d.pop("warehouse_reservations", UNSET) + + subrent_reservations = d.pop("subrent_reservations", UNSET) + + serial_number_ids = d.pop("serial_number_ids", UNSET) + + custom: Union[Unset, ProjectequipmentCollectionputResponseSchemaDataItemCustom] = UNSET + _custom = d.pop("custom", UNSET) + if not isinstance(_custom, Unset): + custom = ProjectequipmentCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + + projectequipment_collectionput_response_schema_data_item = cls( + id=id, + created=created, + modified=modified, + creator=creator, + displayname=displayname, + equipment=equipment, + parent=parent, + ledger=ledger, + quantity=quantity, + quantity_total=quantity_total, + equipment_group=equipment_group, + discount=discount, + is_option=is_option, + factor=factor, + order=order, + unit_price=unit_price, + name=name, + external_remark=external_remark, + internal_remark=internal_remark, + delay_notified=delay_notified, + planperiod_start=planperiod_start, + planperiod_end=planperiod_end, + has_missings=has_missings, + warehouse_reservations=warehouse_reservations, + subrent_reservations=subrent_reservations, + serial_number_ids=serial_number_ids, + custom=custom, + ) + + projectequipment_collectionput_response_schema_data_item.additional_properties = d + return projectequipment_collectionput_response_schema_data_item + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectequipment_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/projectequipment_collectionput_response_schema_data_item_custom.py new file mode 100644 index 0000000..ca51961 --- /dev/null +++ b/rentman_api_client/models/projectequipment_collectionput_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectequipmentCollectionputResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class ProjectequipmentCollectionputResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectequipment_collectionput_response_schema_data_item_custom = cls() + + projectequipment_collectionput_response_schema_data_item_custom.additional_properties = d + return projectequipment_collectionput_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningmateriaal_itemget_request_schema.py b/rentman_api_client/models/projectequipment_itemget_request_schema.py similarity index 87% rename from rentman_api_client/models/planningmateriaal_itemget_request_schema.py rename to rentman_api_client/models/projectequipment_itemget_request_schema.py index fa6de40..80621d0 100644 --- a/rentman_api_client/models/planningmateriaal_itemget_request_schema.py +++ b/rentman_api_client/models/projectequipment_itemget_request_schema.py @@ -2,14 +2,14 @@ import attr -from ..models.planningmateriaal_itemget_request_schema_custom import PlanningmateriaalItemgetRequestSchemaCustom +from ..models.projectequipment_itemget_request_schema_custom import ProjectequipmentItemgetRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalItemgetRequestSchema") +T = TypeVar("T", bound="ProjectequipmentItemgetRequestSchema") @attr.s(auto_attribs=True) -class PlanningmateriaalItemgetRequestSchema: +class ProjectequipmentItemgetRequestSchema: """ """ equipment: Union[Unset, None, str] = UNSET @@ -26,7 +26,7 @@ class PlanningmateriaalItemgetRequestSchema: external_remark: Union[Unset, str] = UNSET internal_remark: Union[Unset, str] = UNSET delay_notified: Union[Unset, bool] = UNSET - custom: Union[Unset, PlanningmateriaalItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectequipmentItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -115,12 +115,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: delay_notified = d.pop("delay_notified", UNSET) - custom: Union[Unset, PlanningmateriaalItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectequipmentItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningmateriaalItemgetRequestSchemaCustom.from_dict(_custom) + custom = ProjectequipmentItemgetRequestSchemaCustom.from_dict(_custom) - planningmateriaal_itemget_request_schema = cls( + projectequipment_itemget_request_schema = cls( equipment=equipment, parent=parent, ledger=ledger, @@ -138,8 +138,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningmateriaal_itemget_request_schema.additional_properties = d - return planningmateriaal_itemget_request_schema + projectequipment_itemget_request_schema.additional_properties = d + return projectequipment_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itemput_response_schema_data_custom.py b/rentman_api_client/models/projectequipment_itemget_request_schema_custom.py similarity index 77% rename from rentman_api_client/models/medewerker_itemput_response_schema_data_custom.py rename to rentman_api_client/models/projectequipment_itemget_request_schema_custom.py index 756b39a..b31e563 100644 --- a/rentman_api_client/models/medewerker_itemput_response_schema_data_custom.py +++ b/rentman_api_client/models/projectequipment_itemget_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MedewerkerItemputResponseSchemaDataCustom") +T = TypeVar("T", bound="ProjectequipmentItemgetRequestSchemaCustom") @attr.s(auto_attribs=True) -class MedewerkerItemputResponseSchemaDataCustom: +class ProjectequipmentItemgetRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - medewerker_itemput_response_schema_data_custom = cls() + projectequipment_itemget_request_schema_custom = cls() - medewerker_itemput_response_schema_data_custom.additional_properties = d - return medewerker_itemput_response_schema_data_custom + projectequipment_itemget_request_schema_custom.additional_properties = d + return projectequipment_itemget_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerkertarief_itemget_response_schema.py b/rentman_api_client/models/projectequipment_itemget_response_schema.py similarity index 77% rename from rentman_api_client/models/medewerkertarief_itemget_response_schema.py rename to rentman_api_client/models/projectequipment_itemget_response_schema.py index db8c3c2..dc76ad2 100644 --- a/rentman_api_client/models/medewerkertarief_itemget_response_schema.py +++ b/rentman_api_client/models/projectequipment_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.medewerkertarief_itemget_response_schema_data import MedewerkertariefItemgetResponseSchemaData +from ..models.projectequipment_itemget_response_schema_data import ProjectequipmentItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefItemgetResponseSchema") +T = TypeVar("T", bound="ProjectequipmentItemgetResponseSchema") @attr.s(auto_attribs=True) -class MedewerkertariefItemgetResponseSchema: +class ProjectequipmentItemgetResponseSchema: """ """ - data: Union[Unset, MedewerkertariefItemgetResponseSchemaData] = UNSET + data: Union[Unset, ProjectequipmentItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, MedewerkertariefItemgetResponseSchemaData] = UNSET + data: Union[Unset, ProjectequipmentItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = MedewerkertariefItemgetResponseSchemaData.from_dict(_data) + data = ProjectequipmentItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - medewerkertarief_itemget_response_schema = cls( + projectequipment_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - medewerkertarief_itemget_response_schema.additional_properties = d - return medewerkertarief_itemget_response_schema + projectequipment_itemget_response_schema.additional_properties = d + return projectequipment_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itemget_response_schema_data.py b/rentman_api_client/models/projectequipment_itemget_response_schema_data.py similarity index 92% rename from rentman_api_client/models/planningmateriaal_itemget_response_schema_data.py rename to rentman_api_client/models/projectequipment_itemget_response_schema_data.py index 8bff628..7e7b783 100644 --- a/rentman_api_client/models/planningmateriaal_itemget_response_schema_data.py +++ b/rentman_api_client/models/projectequipment_itemget_response_schema_data.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.planningmateriaal_itemget_response_schema_data_custom import ( - PlanningmateriaalItemgetResponseSchemaDataCustom, +from ..models.projectequipment_itemget_response_schema_data_custom import ( + ProjectequipmentItemgetResponseSchemaDataCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalItemgetResponseSchemaData") +T = TypeVar("T", bound="ProjectequipmentItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class PlanningmateriaalItemgetResponseSchemaData: +class ProjectequipmentItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -42,7 +42,7 @@ class PlanningmateriaalItemgetResponseSchemaData: warehouse_reservations: Union[Unset, int] = UNSET subrent_reservations: Union[Unset, int] = UNSET serial_number_ids: Union[Unset, str] = UNSET - custom: Union[Unset, PlanningmateriaalItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectequipmentItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -215,12 +215,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: serial_number_ids = d.pop("serial_number_ids", UNSET) - custom: Union[Unset, PlanningmateriaalItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectequipmentItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningmateriaalItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = ProjectequipmentItemgetResponseSchemaDataCustom.from_dict(_custom) - planningmateriaal_itemget_response_schema_data = cls( + projectequipment_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -250,8 +250,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningmateriaal_itemget_response_schema_data.additional_properties = d - return planningmateriaal_itemget_response_schema_data + projectequipment_itemget_response_schema_data.additional_properties = d + return projectequipment_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectequipment_itemget_response_schema_data_custom.py b/rentman_api_client/models/projectequipment_itemget_response_schema_data_custom.py new file mode 100644 index 0000000..f1015c1 --- /dev/null +++ b/rentman_api_client/models/projectequipment_itemget_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectequipmentItemgetResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class ProjectequipmentItemgetResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectequipment_itemget_response_schema_data_custom = cls() + + projectequipment_itemget_response_schema_data_custom.additional_properties = d + return projectequipment_itemget_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningmateriaal_itemput_request_schema.py b/rentman_api_client/models/projectequipment_itempost_request_schema.py similarity index 89% rename from rentman_api_client/models/planningmateriaal_itemput_request_schema.py rename to rentman_api_client/models/projectequipment_itempost_request_schema.py index b88efea..7fa3222 100644 --- a/rentman_api_client/models/planningmateriaal_itemput_request_schema.py +++ b/rentman_api_client/models/projectequipment_itempost_request_schema.py @@ -2,14 +2,14 @@ import attr -from ..models.planningmateriaal_itemput_request_schema_custom import PlanningmateriaalItemputRequestSchemaCustom +from ..models.projectequipment_itempost_request_schema_custom import ProjectequipmentItempostRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalItemputRequestSchema") +T = TypeVar("T", bound="ProjectequipmentItempostRequestSchema") @attr.s(auto_attribs=True) -class PlanningmateriaalItemputRequestSchema: +class ProjectequipmentItempostRequestSchema: """ """ equipment: Union[Unset, None, str] = UNSET @@ -26,7 +26,7 @@ class PlanningmateriaalItemputRequestSchema: external_remark: Union[Unset, str] = UNSET internal_remark: Union[Unset, str] = UNSET delay_notified: Union[Unset, bool] = UNSET - custom: Union[Unset, PlanningmateriaalItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectequipmentItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -115,12 +115,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: delay_notified = d.pop("delay_notified", UNSET) - custom: Union[Unset, PlanningmateriaalItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectequipmentItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningmateriaalItemputRequestSchemaCustom.from_dict(_custom) + custom = ProjectequipmentItempostRequestSchemaCustom.from_dict(_custom) - planningmateriaal_itemput_request_schema = cls( + projectequipment_itempost_request_schema = cls( equipment=equipment, parent=parent, ledger=ledger, @@ -138,8 +138,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningmateriaal_itemput_request_schema.additional_properties = d - return planningmateriaal_itemput_request_schema + projectequipment_itempost_request_schema.additional_properties = d + return projectequipment_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningpersoneel_itemput_request_schema_custom.py b/rentman_api_client/models/projectequipment_itempost_request_schema_custom.py similarity index 77% rename from rentman_api_client/models/planningpersoneel_itemput_request_schema_custom.py rename to rentman_api_client/models/projectequipment_itempost_request_schema_custom.py index 7b57c57..9e8560a 100644 --- a/rentman_api_client/models/planningpersoneel_itemput_request_schema_custom.py +++ b/rentman_api_client/models/projectequipment_itempost_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningpersoneelItemputRequestSchemaCustom") +T = TypeVar("T", bound="ProjectequipmentItempostRequestSchemaCustom") @attr.s(auto_attribs=True) -class PlanningpersoneelItemputRequestSchemaCustom: +class ProjectequipmentItempostRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningpersoneel_itemput_request_schema_custom = cls() + projectequipment_itempost_request_schema_custom = cls() - planningpersoneel_itemput_request_schema_custom.additional_properties = d - return planningpersoneel_itemput_request_schema_custom + projectequipment_itempost_request_schema_custom.additional_properties = d + return projectequipment_itempost_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itemput_response_schema.py b/rentman_api_client/models/projectequipment_itempost_response_schema.py similarity index 77% rename from rentman_api_client/models/planningmateriaal_itemput_response_schema.py rename to rentman_api_client/models/projectequipment_itempost_response_schema.py index 5eeabb9..1532583 100644 --- a/rentman_api_client/models/planningmateriaal_itemput_response_schema.py +++ b/rentman_api_client/models/projectequipment_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.planningmateriaal_itemput_response_schema_data import PlanningmateriaalItemputResponseSchemaData +from ..models.projectequipment_itempost_response_schema_data import ProjectequipmentItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalItemputResponseSchema") +T = TypeVar("T", bound="ProjectequipmentItempostResponseSchema") @attr.s(auto_attribs=True) -class PlanningmateriaalItemputResponseSchema: +class ProjectequipmentItempostResponseSchema: """ """ - data: Union[Unset, PlanningmateriaalItemputResponseSchemaData] = UNSET + data: Union[Unset, ProjectequipmentItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, PlanningmateriaalItemputResponseSchemaData] = UNSET + data: Union[Unset, ProjectequipmentItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = PlanningmateriaalItemputResponseSchemaData.from_dict(_data) + data = ProjectequipmentItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - planningmateriaal_itemput_response_schema = cls( + projectequipment_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - planningmateriaal_itemput_response_schema.additional_properties = d - return planningmateriaal_itemput_response_schema + projectequipment_itempost_response_schema.additional_properties = d + return projectequipment_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itemput_response_schema_data.py b/rentman_api_client/models/projectequipment_itempost_response_schema_data.py similarity index 93% rename from rentman_api_client/models/planningmateriaal_itemput_response_schema_data.py rename to rentman_api_client/models/projectequipment_itempost_response_schema_data.py index d46f00c..bc40282 100644 --- a/rentman_api_client/models/planningmateriaal_itemput_response_schema_data.py +++ b/rentman_api_client/models/projectequipment_itempost_response_schema_data.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.planningmateriaal_itemput_response_schema_data_custom import ( - PlanningmateriaalItemputResponseSchemaDataCustom, +from ..models.projectequipment_itempost_response_schema_data_custom import ( + ProjectequipmentItempostResponseSchemaDataCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalItemputResponseSchemaData") +T = TypeVar("T", bound="ProjectequipmentItempostResponseSchemaData") @attr.s(auto_attribs=True) -class PlanningmateriaalItemputResponseSchemaData: +class ProjectequipmentItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -42,7 +42,7 @@ class PlanningmateriaalItemputResponseSchemaData: warehouse_reservations: Union[Unset, int] = UNSET subrent_reservations: Union[Unset, int] = UNSET serial_number_ids: Union[Unset, str] = UNSET - custom: Union[Unset, PlanningmateriaalItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectequipmentItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -215,12 +215,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: serial_number_ids = d.pop("serial_number_ids", UNSET) - custom: Union[Unset, PlanningmateriaalItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectequipmentItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningmateriaalItemputResponseSchemaDataCustom.from_dict(_custom) + custom = ProjectequipmentItempostResponseSchemaDataCustom.from_dict(_custom) - planningmateriaal_itemput_response_schema_data = cls( + projectequipment_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -250,8 +250,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningmateriaal_itemput_response_schema_data.additional_properties = d - return planningmateriaal_itemput_response_schema_data + projectequipment_itempost_response_schema_data.additional_properties = d + return projectequipment_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itemget_response_schema_data_custom.py b/rentman_api_client/models/projectequipment_itempost_response_schema_data_custom.py similarity index 77% rename from rentman_api_client/models/planningmateriaal_itemget_response_schema_data_custom.py rename to rentman_api_client/models/projectequipment_itempost_response_schema_data_custom.py index febc822..a057a5b 100644 --- a/rentman_api_client/models/planningmateriaal_itemget_response_schema_data_custom.py +++ b/rentman_api_client/models/projectequipment_itempost_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningmateriaalItemgetResponseSchemaDataCustom") +T = TypeVar("T", bound="ProjectequipmentItempostResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class PlanningmateriaalItemgetResponseSchemaDataCustom: +class ProjectequipmentItempostResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningmateriaal_itemget_response_schema_data_custom = cls() + projectequipment_itempost_response_schema_data_custom = cls() - planningmateriaal_itemget_response_schema_data_custom.additional_properties = d - return planningmateriaal_itemget_response_schema_data_custom + projectequipment_itempost_response_schema_data_custom.additional_properties = d + return projectequipment_itempost_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itempost_request_schema.py b/rentman_api_client/models/projectequipment_itemput_request_schema.py similarity index 87% rename from rentman_api_client/models/planningmateriaal_itempost_request_schema.py rename to rentman_api_client/models/projectequipment_itemput_request_schema.py index c012002..2ae4bfc 100644 --- a/rentman_api_client/models/planningmateriaal_itempost_request_schema.py +++ b/rentman_api_client/models/projectequipment_itemput_request_schema.py @@ -2,14 +2,14 @@ import attr -from ..models.planningmateriaal_itempost_request_schema_custom import PlanningmateriaalItempostRequestSchemaCustom +from ..models.projectequipment_itemput_request_schema_custom import ProjectequipmentItemputRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalItempostRequestSchema") +T = TypeVar("T", bound="ProjectequipmentItemputRequestSchema") @attr.s(auto_attribs=True) -class PlanningmateriaalItempostRequestSchema: +class ProjectequipmentItemputRequestSchema: """ """ equipment: Union[Unset, None, str] = UNSET @@ -26,7 +26,7 @@ class PlanningmateriaalItempostRequestSchema: external_remark: Union[Unset, str] = UNSET internal_remark: Union[Unset, str] = UNSET delay_notified: Union[Unset, bool] = UNSET - custom: Union[Unset, PlanningmateriaalItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectequipmentItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -115,12 +115,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: delay_notified = d.pop("delay_notified", UNSET) - custom: Union[Unset, PlanningmateriaalItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectequipmentItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningmateriaalItempostRequestSchemaCustom.from_dict(_custom) + custom = ProjectequipmentItemputRequestSchemaCustom.from_dict(_custom) - planningmateriaal_itempost_request_schema = cls( + projectequipment_itemput_request_schema = cls( equipment=equipment, parent=parent, ledger=ledger, @@ -138,8 +138,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningmateriaal_itempost_request_schema.additional_properties = d - return planningmateriaal_itempost_request_schema + projectequipment_itemput_request_schema.additional_properties = d + return projectequipment_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_itempost_response_schema_data_custom.py b/rentman_api_client/models/projectequipment_itemput_request_schema_custom.py similarity index 77% rename from rentman_api_client/models/exemplaar_itempost_response_schema_data_custom.py rename to rentman_api_client/models/projectequipment_itemput_request_schema_custom.py index 187e2a9..5a71197 100644 --- a/rentman_api_client/models/exemplaar_itempost_response_schema_data_custom.py +++ b/rentman_api_client/models/projectequipment_itemput_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="ExemplaarItempostResponseSchemaDataCustom") +T = TypeVar("T", bound="ProjectequipmentItemputRequestSchemaCustom") @attr.s(auto_attribs=True) -class ExemplaarItempostResponseSchemaDataCustom: +class ProjectequipmentItemputRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - exemplaar_itempost_response_schema_data_custom = cls() + projectequipment_itemput_request_schema_custom = cls() - exemplaar_itempost_response_schema_data_custom.additional_properties = d - return exemplaar_itempost_response_schema_data_custom + projectequipment_itemput_request_schema_custom.additional_properties = d + return projectequipment_itemput_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerkertarief_itemput_response_schema.py b/rentman_api_client/models/projectequipment_itemput_response_schema.py similarity index 77% rename from rentman_api_client/models/medewerkertarief_itemput_response_schema.py rename to rentman_api_client/models/projectequipment_itemput_response_schema.py index fcbcbbe..3c39fea 100644 --- a/rentman_api_client/models/medewerkertarief_itemput_response_schema.py +++ b/rentman_api_client/models/projectequipment_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.medewerkertarief_itemput_response_schema_data import MedewerkertariefItemputResponseSchemaData +from ..models.projectequipment_itemput_response_schema_data import ProjectequipmentItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefItemputResponseSchema") +T = TypeVar("T", bound="ProjectequipmentItemputResponseSchema") @attr.s(auto_attribs=True) -class MedewerkertariefItemputResponseSchema: +class ProjectequipmentItemputResponseSchema: """ """ - data: Union[Unset, MedewerkertariefItemputResponseSchemaData] = UNSET + data: Union[Unset, ProjectequipmentItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, MedewerkertariefItemputResponseSchemaData] = UNSET + data: Union[Unset, ProjectequipmentItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = MedewerkertariefItemputResponseSchemaData.from_dict(_data) + data = ProjectequipmentItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - medewerkertarief_itemput_response_schema = cls( + projectequipment_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - medewerkertarief_itemput_response_schema.additional_properties = d - return medewerkertarief_itemput_response_schema + projectequipment_itemput_response_schema.additional_properties = d + return projectequipment_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itempost_response_schema_data.py b/rentman_api_client/models/projectequipment_itemput_response_schema_data.py similarity index 92% rename from rentman_api_client/models/planningmateriaal_itempost_response_schema_data.py rename to rentman_api_client/models/projectequipment_itemput_response_schema_data.py index c38ba11..ed37154 100644 --- a/rentman_api_client/models/planningmateriaal_itempost_response_schema_data.py +++ b/rentman_api_client/models/projectequipment_itemput_response_schema_data.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.planningmateriaal_itempost_response_schema_data_custom import ( - PlanningmateriaalItempostResponseSchemaDataCustom, +from ..models.projectequipment_itemput_response_schema_data_custom import ( + ProjectequipmentItemputResponseSchemaDataCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalItempostResponseSchemaData") +T = TypeVar("T", bound="ProjectequipmentItemputResponseSchemaData") @attr.s(auto_attribs=True) -class PlanningmateriaalItempostResponseSchemaData: +class ProjectequipmentItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -42,7 +42,7 @@ class PlanningmateriaalItempostResponseSchemaData: warehouse_reservations: Union[Unset, int] = UNSET subrent_reservations: Union[Unset, int] = UNSET serial_number_ids: Union[Unset, str] = UNSET - custom: Union[Unset, PlanningmateriaalItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectequipmentItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -215,12 +215,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: serial_number_ids = d.pop("serial_number_ids", UNSET) - custom: Union[Unset, PlanningmateriaalItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectequipmentItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningmateriaalItempostResponseSchemaDataCustom.from_dict(_custom) + custom = ProjectequipmentItemputResponseSchemaDataCustom.from_dict(_custom) - planningmateriaal_itempost_response_schema_data = cls( + projectequipment_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -250,8 +250,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningmateriaal_itempost_response_schema_data.additional_properties = d - return planningmateriaal_itempost_response_schema_data + projectequipment_itemput_response_schema_data.additional_properties = d + return projectequipment_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectequipment_itemput_response_schema_data_custom.py b/rentman_api_client/models/projectequipment_itemput_response_schema_data_custom.py new file mode 100644 index 0000000..6d6a5f2 --- /dev/null +++ b/rentman_api_client/models/projectequipment_itemput_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectequipmentItemputResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class ProjectequipmentItemputResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectequipment_itemput_response_schema_data_custom = cls() + + projectequipment_itemput_response_schema_data_custom.additional_properties = d + return projectequipment_itemput_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectequipmentgroup_collectionget_response_schema.py b/rentman_api_client/models/projectequipmentgroup_collectionget_response_schema.py new file mode 100644 index 0000000..ad247ec --- /dev/null +++ b/rentman_api_client/models/projectequipmentgroup_collectionget_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectequipmentgroup_collectionget_response_schema_data_item import ( + ProjectequipmentgroupCollectiongetResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectequipmentgroupCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectequipmentgroupCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[ProjectequipmentgroupCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjectequipmentgroupCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectequipmentgroup_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectequipmentgroup_collectionget_response_schema.additional_properties = d + return projectequipmentgroup_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_cat_collectionget_response_schema_data_item.py b/rentman_api_client/models/projectequipmentgroup_collectionget_response_schema_data_item.py similarity index 95% rename from rentman_api_client/models/materiaal_cat_collectionget_response_schema_data_item.py rename to rentman_api_client/models/projectequipmentgroup_collectionget_response_schema_data_item.py index 769a22c..a5b4604 100644 --- a/rentman_api_client/models/materiaal_cat_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/projectequipmentgroup_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="ProjectequipmentgroupCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class MateriaalCatCollectiongetResponseSchemaDataItem: +class ProjectequipmentgroupCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -200,7 +200,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price = d.pop("total_new_price", UNSET) - materiaal_cat_collectionget_response_schema_data_item = cls( + projectequipmentgroup_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -226,8 +226,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price=total_new_price, ) - materiaal_cat_collectionget_response_schema_data_item.additional_properties = d - return materiaal_cat_collectionget_response_schema_data_item + projectequipmentgroup_collectionget_response_schema_data_item.additional_properties = d + return projectequipmentgroup_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectequipmentgroup_collectionpost_response_schema.py b/rentman_api_client/models/projectequipmentgroup_collectionpost_response_schema.py new file mode 100644 index 0000000..1d2b074 --- /dev/null +++ b/rentman_api_client/models/projectequipmentgroup_collectionpost_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectequipmentgroup_collectionpost_response_schema_data_item import ( + ProjectequipmentgroupCollectionpostResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectequipmentgroupCollectionpostResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectequipmentgroupCollectionpostResponseSchema: + """ """ + + data: Union[Unset, List[ProjectequipmentgroupCollectionpostResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjectequipmentgroupCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectequipmentgroup_collectionpost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectequipmentgroup_collectionpost_response_schema.additional_properties = d + return projectequipmentgroup_collectionpost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_cat_collectionpost_response_schema_data_item.py b/rentman_api_client/models/projectequipmentgroup_collectionpost_response_schema_data_item.py similarity index 95% rename from rentman_api_client/models/materiaal_cat_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/projectequipmentgroup_collectionpost_response_schema_data_item.py index 75eb975..0d9c761 100644 --- a/rentman_api_client/models/materiaal_cat_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/projectequipmentgroup_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="ProjectequipmentgroupCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class MateriaalCatCollectionpostResponseSchemaDataItem: +class ProjectequipmentgroupCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -200,7 +200,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price = d.pop("total_new_price", UNSET) - materiaal_cat_collectionpost_response_schema_data_item = cls( + projectequipmentgroup_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -226,8 +226,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price=total_new_price, ) - materiaal_cat_collectionpost_response_schema_data_item.additional_properties = d - return materiaal_cat_collectionpost_response_schema_data_item + projectequipmentgroup_collectionpost_response_schema_data_item.additional_properties = d + return projectequipmentgroup_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectequipmentgroup_collectionput_response_schema.py b/rentman_api_client/models/projectequipmentgroup_collectionput_response_schema.py new file mode 100644 index 0000000..98adc7b --- /dev/null +++ b/rentman_api_client/models/projectequipmentgroup_collectionput_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectequipmentgroup_collectionput_response_schema_data_item import ( + ProjectequipmentgroupCollectionputResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectequipmentgroupCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectequipmentgroupCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[ProjectequipmentgroupCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjectequipmentgroupCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectequipmentgroup_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectequipmentgroup_collectionput_response_schema.additional_properties = d + return projectequipmentgroup_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_cat_collectionput_response_schema_data_item.py b/rentman_api_client/models/projectequipmentgroup_collectionput_response_schema_data_item.py similarity index 95% rename from rentman_api_client/models/materiaal_cat_collectionput_response_schema_data_item.py rename to rentman_api_client/models/projectequipmentgroup_collectionput_response_schema_data_item.py index 8043386..da86625 100644 --- a/rentman_api_client/models/materiaal_cat_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/projectequipmentgroup_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="ProjectequipmentgroupCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class MateriaalCatCollectionputResponseSchemaDataItem: +class ProjectequipmentgroupCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -200,7 +200,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price = d.pop("total_new_price", UNSET) - materiaal_cat_collectionput_response_schema_data_item = cls( + projectequipmentgroup_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -226,8 +226,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price=total_new_price, ) - materiaal_cat_collectionput_response_schema_data_item.additional_properties = d - return materiaal_cat_collectionput_response_schema_data_item + projectequipmentgroup_collectionput_response_schema_data_item.additional_properties = d + return projectequipmentgroup_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_cat_itempost_request_schema.py b/rentman_api_client/models/projectequipmentgroup_itemget_request_schema.py similarity index 94% rename from rentman_api_client/models/materiaal_cat_itempost_request_schema.py rename to rentman_api_client/models/projectequipmentgroup_itemget_request_schema.py index 8f715b4..7f1e94e 100644 --- a/rentman_api_client/models/materiaal_cat_itempost_request_schema.py +++ b/rentman_api_client/models/projectequipmentgroup_itemget_request_schema.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatItempostRequestSchema") +T = TypeVar("T", bound="ProjectequipmentgroupItemgetRequestSchema") @attr.s(auto_attribs=True) -class MateriaalCatItempostRequestSchema: +class ProjectequipmentgroupItemgetRequestSchema: """ """ subproject: str @@ -124,7 +124,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - materiaal_cat_itempost_request_schema = cls( + projectequipmentgroup_itemget_request_schema = cls( subproject=subproject, additional_scanned=additional_scanned, name=name, @@ -139,8 +139,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark=remark, ) - materiaal_cat_itempost_request_schema.additional_properties = d - return materiaal_cat_itempost_request_schema + projectequipmentgroup_itemget_request_schema.additional_properties = d + return projectequipmentgroup_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_itempost_response_schema.py b/rentman_api_client/models/projectequipmentgroup_itemget_response_schema.py similarity index 76% rename from rentman_api_client/models/reparatie_itempost_response_schema.py rename to rentman_api_client/models/projectequipmentgroup_itemget_response_schema.py index ab6692a..e3fe29c 100644 --- a/rentman_api_client/models/reparatie_itempost_response_schema.py +++ b/rentman_api_client/models/projectequipmentgroup_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.reparatie_itempost_response_schema_data import ReparatieItempostResponseSchemaData +from ..models.projectequipmentgroup_itemget_response_schema_data import ProjectequipmentgroupItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="ReparatieItempostResponseSchema") +T = TypeVar("T", bound="ProjectequipmentgroupItemgetResponseSchema") @attr.s(auto_attribs=True) -class ReparatieItempostResponseSchema: +class ProjectequipmentgroupItemgetResponseSchema: """ """ - data: Union[Unset, ReparatieItempostResponseSchemaData] = UNSET + data: Union[Unset, ProjectequipmentgroupItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, ReparatieItempostResponseSchemaData] = UNSET + data: Union[Unset, ProjectequipmentgroupItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = ReparatieItempostResponseSchemaData.from_dict(_data) + data = ProjectequipmentgroupItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - reparatie_itempost_response_schema = cls( + projectequipmentgroup_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - reparatie_itempost_response_schema.additional_properties = d - return reparatie_itempost_response_schema + projectequipmentgroup_itemget_response_schema.additional_properties = d + return projectequipmentgroup_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_cat_itempost_response_schema_data.py b/rentman_api_client/models/projectequipmentgroup_itemget_response_schema_data.py similarity index 96% rename from rentman_api_client/models/materiaal_cat_itempost_response_schema_data.py rename to rentman_api_client/models/projectequipmentgroup_itemget_response_schema_data.py index 19e4444..95b6c66 100644 --- a/rentman_api_client/models/materiaal_cat_itempost_response_schema_data.py +++ b/rentman_api_client/models/projectequipmentgroup_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatItempostResponseSchemaData") +T = TypeVar("T", bound="ProjectequipmentgroupItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class MateriaalCatItempostResponseSchemaData: +class ProjectequipmentgroupItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -200,7 +200,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price = d.pop("total_new_price", UNSET) - materiaal_cat_itempost_response_schema_data = cls( + projectequipmentgroup_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -226,8 +226,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price=total_new_price, ) - materiaal_cat_itempost_response_schema_data.additional_properties = d - return materiaal_cat_itempost_response_schema_data + projectequipmentgroup_itemget_response_schema_data.additional_properties = d + return projectequipmentgroup_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_cat_itemget_request_schema.py b/rentman_api_client/models/projectequipmentgroup_itempost_request_schema.py similarity index 94% rename from rentman_api_client/models/materiaal_cat_itemget_request_schema.py rename to rentman_api_client/models/projectequipmentgroup_itempost_request_schema.py index 8d33c3c..54a80bf 100644 --- a/rentman_api_client/models/materiaal_cat_itemget_request_schema.py +++ b/rentman_api_client/models/projectequipmentgroup_itempost_request_schema.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatItemgetRequestSchema") +T = TypeVar("T", bound="ProjectequipmentgroupItempostRequestSchema") @attr.s(auto_attribs=True) -class MateriaalCatItemgetRequestSchema: +class ProjectequipmentgroupItempostRequestSchema: """ """ subproject: str @@ -124,7 +124,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - materiaal_cat_itemget_request_schema = cls( + projectequipmentgroup_itempost_request_schema = cls( subproject=subproject, additional_scanned=additional_scanned, name=name, @@ -139,8 +139,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark=remark, ) - materiaal_cat_itemget_request_schema.additional_properties = d - return materiaal_cat_itemget_request_schema + projectequipmentgroup_itempost_request_schema.additional_properties = d + return projectequipmentgroup_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itempost_response_schema.py b/rentman_api_client/models/projectequipmentgroup_itempost_response_schema.py similarity index 74% rename from rentman_api_client/models/planningmateriaal_itempost_response_schema.py rename to rentman_api_client/models/projectequipmentgroup_itempost_response_schema.py index 1c15787..cb361af 100644 --- a/rentman_api_client/models/planningmateriaal_itempost_response_schema.py +++ b/rentman_api_client/models/projectequipmentgroup_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.planningmateriaal_itempost_response_schema_data import PlanningmateriaalItempostResponseSchemaData +from ..models.projectequipmentgroup_itempost_response_schema_data import ProjectequipmentgroupItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalItempostResponseSchema") +T = TypeVar("T", bound="ProjectequipmentgroupItempostResponseSchema") @attr.s(auto_attribs=True) -class PlanningmateriaalItempostResponseSchema: +class ProjectequipmentgroupItempostResponseSchema: """ """ - data: Union[Unset, PlanningmateriaalItempostResponseSchemaData] = UNSET + data: Union[Unset, ProjectequipmentgroupItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, PlanningmateriaalItempostResponseSchemaData] = UNSET + data: Union[Unset, ProjectequipmentgroupItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = PlanningmateriaalItempostResponseSchemaData.from_dict(_data) + data = ProjectequipmentgroupItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - planningmateriaal_itempost_response_schema = cls( + projectequipmentgroup_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - planningmateriaal_itempost_response_schema.additional_properties = d - return planningmateriaal_itempost_response_schema + projectequipmentgroup_itempost_response_schema.additional_properties = d + return projectequipmentgroup_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_cat_itemput_response_schema_data.py b/rentman_api_client/models/projectequipmentgroup_itempost_response_schema_data.py similarity index 96% rename from rentman_api_client/models/materiaal_cat_itemput_response_schema_data.py rename to rentman_api_client/models/projectequipmentgroup_itempost_response_schema_data.py index 74e1efa..fa17bcf 100644 --- a/rentman_api_client/models/materiaal_cat_itemput_response_schema_data.py +++ b/rentman_api_client/models/projectequipmentgroup_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatItemputResponseSchemaData") +T = TypeVar("T", bound="ProjectequipmentgroupItempostResponseSchemaData") @attr.s(auto_attribs=True) -class MateriaalCatItemputResponseSchemaData: +class ProjectequipmentgroupItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -200,7 +200,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price = d.pop("total_new_price", UNSET) - materiaal_cat_itemput_response_schema_data = cls( + projectequipmentgroup_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -226,8 +226,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price=total_new_price, ) - materiaal_cat_itemput_response_schema_data.additional_properties = d - return materiaal_cat_itemput_response_schema_data + projectequipmentgroup_itempost_response_schema_data.additional_properties = d + return projectequipmentgroup_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_cat_itemput_request_schema.py b/rentman_api_client/models/projectequipmentgroup_itemput_request_schema.py similarity index 94% rename from rentman_api_client/models/materiaal_cat_itemput_request_schema.py rename to rentman_api_client/models/projectequipmentgroup_itemput_request_schema.py index f14fcd9..b1bba2c 100644 --- a/rentman_api_client/models/materiaal_cat_itemput_request_schema.py +++ b/rentman_api_client/models/projectequipmentgroup_itemput_request_schema.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatItemputRequestSchema") +T = TypeVar("T", bound="ProjectequipmentgroupItemputRequestSchema") @attr.s(auto_attribs=True) -class MateriaalCatItemputRequestSchema: +class ProjectequipmentgroupItemputRequestSchema: """ """ subproject: str @@ -124,7 +124,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - materiaal_cat_itemput_request_schema = cls( + projectequipmentgroup_itemput_request_schema = cls( subproject=subproject, additional_scanned=additional_scanned, name=name, @@ -139,8 +139,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark=remark, ) - materiaal_cat_itemput_request_schema.additional_properties = d - return materiaal_cat_itemput_request_schema + projectequipmentgroup_itemput_request_schema.additional_properties = d + return projectequipmentgroup_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectequipmentgroup_itemput_response_schema.py b/rentman_api_client/models/projectequipmentgroup_itemput_response_schema.py new file mode 100644 index 0000000..a43dc3c --- /dev/null +++ b/rentman_api_client/models/projectequipmentgroup_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectequipmentgroup_itemput_response_schema_data import ProjectequipmentgroupItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectequipmentgroupItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectequipmentgroupItemputResponseSchema: + """ """ + + data: Union[Unset, ProjectequipmentgroupItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, ProjectequipmentgroupItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = ProjectequipmentgroupItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectequipmentgroup_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectequipmentgroup_itemput_response_schema.additional_properties = d + return projectequipmentgroup_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_cat_itemget_response_schema_data.py b/rentman_api_client/models/projectequipmentgroup_itemput_response_schema_data.py similarity index 96% rename from rentman_api_client/models/materiaal_cat_itemget_response_schema_data.py rename to rentman_api_client/models/projectequipmentgroup_itemput_response_schema_data.py index b4ee06d..72ed2a7 100644 --- a/rentman_api_client/models/materiaal_cat_itemget_response_schema_data.py +++ b/rentman_api_client/models/projectequipmentgroup_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatItemgetResponseSchemaData") +T = TypeVar("T", bound="ProjectequipmentgroupItemputResponseSchemaData") @attr.s(auto_attribs=True) -class MateriaalCatItemgetResponseSchemaData: +class ProjectequipmentgroupItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -200,7 +200,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price = d.pop("total_new_price", UNSET) - materiaal_cat_itemget_response_schema_data = cls( + projectequipmentgroup_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -226,8 +226,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: total_new_price=total_new_price, ) - materiaal_cat_itemget_response_schema_data.additional_properties = d - return materiaal_cat_itemget_response_schema_data + projectequipmentgroup_itemput_response_schema_data.additional_properties = d + return projectequipmentgroup_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_collectionget_response_schema.py b/rentman_api_client/models/projectfunction_collectionget_response_schema.py similarity index 80% rename from rentman_api_client/models/inhuurmateriaal_collectionget_response_schema.py rename to rentman_api_client/models/projectfunction_collectionget_response_schema.py index f86e939..2fbdd8f 100644 --- a/rentman_api_client/models/inhuurmateriaal_collectionget_response_schema.py +++ b/rentman_api_client/models/projectfunction_collectionget_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.inhuurmateriaal_collectionget_response_schema_data_item import ( - InhuurmateriaalCollectiongetResponseSchemaDataItem, +from ..models.projectfunction_collectionget_response_schema_data_item import ( + ProjectfunctionCollectiongetResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalCollectiongetResponseSchema") +T = TypeVar("T", bound="ProjectfunctionCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class InhuurmateriaalCollectiongetResponseSchema: +class ProjectfunctionCollectiongetResponseSchema: """ """ - data: Union[Unset, List[InhuurmateriaalCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[ProjectfunctionCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = InhuurmateriaalCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = ProjectfunctionCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurmateriaal_collectionget_response_schema = cls( + projectfunction_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurmateriaal_collectionget_response_schema.additional_properties = d - return inhuurmateriaal_collectionget_response_schema + projectfunction_collectionget_response_schema.additional_properties = d + return projectfunction_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functie_itemget_response_schema_data.py b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item.py similarity index 81% rename from rentman_api_client/models/functie_itemget_response_schema_data.py rename to rentman_api_client/models/projectfunction_collectionget_response_schema_data_item.py index 6c2e23e..d11f903 100644 --- a/rentman_api_client/models/functie_itemget_response_schema_data.py +++ b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item.py @@ -4,28 +4,32 @@ import attr from dateutil.parser import isoparse -from ..models.functie_itemget_response_schema_data_custom import FunctieItemgetResponseSchemaDataCustom -from ..models.functie_itemget_response_schema_data_planperiod_end_schedule_is_start import ( - FunctieItemgetResponseSchemaDataPlanperiodEndScheduleIsStart, +from ..models.projectfunction_collectionget_response_schema_data_item_custom import ( + ProjectfunctionCollectiongetResponseSchemaDataItemCustom, ) -from ..models.functie_itemget_response_schema_data_planperiod_start_schedule_is_start import ( - FunctieItemgetResponseSchemaDataPlanperiodStartScheduleIsStart, +from ..models.projectfunction_collectionget_response_schema_data_item_planperiod_end_schedule_is_start import ( + ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart, ) -from ..models.functie_itemget_response_schema_data_type import FunctieItemgetResponseSchemaDataType -from ..models.functie_itemget_response_schema_data_usageperiod_end_schedule_is_start import ( - FunctieItemgetResponseSchemaDataUsageperiodEndScheduleIsStart, +from ..models.projectfunction_collectionget_response_schema_data_item_planperiod_start_schedule_is_start import ( + ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart, ) -from ..models.functie_itemget_response_schema_data_usageperiod_start_schedule_is_start import ( - FunctieItemgetResponseSchemaDataUsageperiodStartScheduleIsStart, +from ..models.projectfunction_collectionget_response_schema_data_item_type import ( + ProjectfunctionCollectiongetResponseSchemaDataItemType, +) +from ..models.projectfunction_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start import ( + ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart, +) +from ..models.projectfunction_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start import ( + ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieItemgetResponseSchemaData") +T = TypeVar("T", bound="ProjectfunctionCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class FunctieItemgetResponseSchemaData: - """All the data about the requested items""" +class ProjectfunctionCollectiongetResponseSchemaDataItem: + """ """ id: Union[Unset, int] = UNSET created: Union[Unset, None, datetime.datetime] = UNSET @@ -44,19 +48,21 @@ class FunctieItemgetResponseSchemaData: travel_time_after: Union[Unset, None, float] = UNSET usageperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_start_schedule_is_start: Union[ - Unset, FunctieItemgetResponseSchemaDataPlanperiodStartScheduleIsStart + Unset, ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart ] = UNSET usageperiod_start_schedule_is_start: Union[ - Unset, FunctieItemgetResponseSchemaDataUsageperiodStartScheduleIsStart + Unset, ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart + ] = UNSET + planperiod_end_schedule_is_start: Union[ + Unset, ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart ] = UNSET - planperiod_end_schedule_is_start: Union[Unset, FunctieItemgetResponseSchemaDataPlanperiodEndScheduleIsStart] = UNSET usageperiod_end_schedule_is_start: Union[ - Unset, FunctieItemgetResponseSchemaDataUsageperiodEndScheduleIsStart + Unset, ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart ] = UNSET usageperiod_end: Union[Unset, None, datetime.datetime] = UNSET planperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - type: Union[Unset, FunctieItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, ProjectfunctionCollectiongetResponseSchemaDataItemType] = UNSET duration: Union[Unset, None, float] = UNSET amount: Union[Unset, int] = UNSET break_: Union[Unset, None, float] = UNSET @@ -78,7 +84,7 @@ class FunctieItemgetResponseSchemaData: price_total: Union[Unset, float] = UNSET costs_total: Union[Unset, float] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, FunctieItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectfunctionCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -307,39 +313,47 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: usageperiod_start = isoparse(_usageperiod_start) planperiod_start_schedule_is_start: Union[ - Unset, FunctieItemgetResponseSchemaDataPlanperiodStartScheduleIsStart + Unset, ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart ] = UNSET _planperiod_start_schedule_is_start = d.pop("planperiod_start_schedule_is_start", UNSET) if not isinstance(_planperiod_start_schedule_is_start, Unset): - planperiod_start_schedule_is_start = FunctieItemgetResponseSchemaDataPlanperiodStartScheduleIsStart( - _planperiod_start_schedule_is_start + planperiod_start_schedule_is_start = ( + ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart( + _planperiod_start_schedule_is_start + ) ) usageperiod_start_schedule_is_start: Union[ - Unset, FunctieItemgetResponseSchemaDataUsageperiodStartScheduleIsStart + Unset, ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart ] = UNSET _usageperiod_start_schedule_is_start = d.pop("usageperiod_start_schedule_is_start", UNSET) if not isinstance(_usageperiod_start_schedule_is_start, Unset): - usageperiod_start_schedule_is_start = FunctieItemgetResponseSchemaDataUsageperiodStartScheduleIsStart( - _usageperiod_start_schedule_is_start + usageperiod_start_schedule_is_start = ( + ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart( + _usageperiod_start_schedule_is_start + ) ) planperiod_end_schedule_is_start: Union[ - Unset, FunctieItemgetResponseSchemaDataPlanperiodEndScheduleIsStart + Unset, ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart ] = UNSET _planperiod_end_schedule_is_start = d.pop("planperiod_end_schedule_is_start", UNSET) if not isinstance(_planperiod_end_schedule_is_start, Unset): - planperiod_end_schedule_is_start = FunctieItemgetResponseSchemaDataPlanperiodEndScheduleIsStart( - _planperiod_end_schedule_is_start + planperiod_end_schedule_is_start = ( + ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart( + _planperiod_end_schedule_is_start + ) ) usageperiod_end_schedule_is_start: Union[ - Unset, FunctieItemgetResponseSchemaDataUsageperiodEndScheduleIsStart + Unset, ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart ] = UNSET _usageperiod_end_schedule_is_start = d.pop("usageperiod_end_schedule_is_start", UNSET) if not isinstance(_usageperiod_end_schedule_is_start, Unset): - usageperiod_end_schedule_is_start = FunctieItemgetResponseSchemaDataUsageperiodEndScheduleIsStart( - _usageperiod_end_schedule_is_start + usageperiod_end_schedule_is_start = ( + ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart( + _usageperiod_end_schedule_is_start + ) ) usageperiod_end = None @@ -357,10 +371,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): planperiod_end = isoparse(_planperiod_end) - type: Union[Unset, FunctieItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, ProjectfunctionCollectiongetResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = FunctieItemgetResponseSchemaDataType(_type) + type = ProjectfunctionCollectiongetResponseSchemaDataItemType(_type) duration = d.pop("duration", UNSET) @@ -404,12 +418,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, FunctieItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectfunctionCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = FunctieItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = ProjectfunctionCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - functie_itemget_response_schema_data = cls( + projectfunction_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -458,8 +472,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - functie_itemget_response_schema_data.additional_properties = d - return functie_itemget_response_schema_data + projectfunction_collectionget_response_schema_data_item.additional_properties = d + return projectfunction_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_custom.py new file mode 100644 index 0000000..3a21f00 --- /dev/null +++ b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectfunctionCollectiongetResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class ProjectfunctionCollectiongetResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectfunction_collectionget_response_schema_data_item_custom = cls() + + projectfunction_collectionget_response_schema_data_item_custom.additional_properties = d + return projectfunction_collectionget_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/functie_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py similarity index 59% rename from rentman_api_client/models/functie_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py rename to rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py index 0270fa1..842de44 100644 --- a/rentman_api_client/models/functie_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py +++ b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart(str, Enum): +class ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart(str, Enum): END_TIME = "End time" START_TIME = "Start time" diff --git a/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py new file mode 100644 index 0000000..3198d11 --- /dev/null +++ b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py @@ -0,0 +1,9 @@ +from enum import Enum + + +class ProjectfunctionCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart(str, Enum): + END_TIME = "End time" + START_TIME = "Start time" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/functie_collectionget_response_schema_data_item_type.py b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_type.py similarity index 74% rename from rentman_api_client/models/functie_collectionget_response_schema_data_item_type.py rename to rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_type.py index 30a205b..c43b1bb 100644 --- a/rentman_api_client/models/functie_collectionget_response_schema_data_item_type.py +++ b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieCollectiongetResponseSchemaDataItemType(str, Enum): +class ProjectfunctionCollectiongetResponseSchemaDataItemType(str, Enum): CREW_FUNCTION = "crew_function" TRANSPORT_FUNCTION = "transport_function" REMARK = "remark" diff --git a/rentman_api_client/models/functie_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py similarity index 59% rename from rentman_api_client/models/functie_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py rename to rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py index 11624c7..364ab2a 100644 --- a/rentman_api_client/models/functie_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py +++ b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart(str, Enum): +class ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart(str, Enum): END_TIME = "End time" START_TIME = "Start time" diff --git a/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py new file mode 100644 index 0000000..427998d --- /dev/null +++ b/rentman_api_client/models/projectfunction_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py @@ -0,0 +1,9 @@ +from enum import Enum + + +class ProjectfunctionCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart(str, Enum): + END_TIME = "End time" + START_TIME = "Start time" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/functie_itemget_request_schema.py b/rentman_api_client/models/projectfunction_itemget_request_schema.py similarity index 81% rename from rentman_api_client/models/functie_itemget_request_schema.py rename to rentman_api_client/models/projectfunction_itemget_request_schema.py index 2be7bac..fecd417 100644 --- a/rentman_api_client/models/functie_itemget_request_schema.py +++ b/rentman_api_client/models/projectfunction_itemget_request_schema.py @@ -4,27 +4,27 @@ import attr from dateutil.parser import isoparse -from ..models.functie_itemget_request_schema_custom import FunctieItemgetRequestSchemaCustom -from ..models.functie_itemget_request_schema_planperiod_end_schedule_is_start import ( - FunctieItemgetRequestSchemaPlanperiodEndScheduleIsStart, +from ..models.projectfunction_itemget_request_schema_custom import ProjectfunctionItemgetRequestSchemaCustom +from ..models.projectfunction_itemget_request_schema_planperiod_end_schedule_is_start import ( + ProjectfunctionItemgetRequestSchemaPlanperiodEndScheduleIsStart, ) -from ..models.functie_itemget_request_schema_planperiod_start_schedule_is_start import ( - FunctieItemgetRequestSchemaPlanperiodStartScheduleIsStart, +from ..models.projectfunction_itemget_request_schema_planperiod_start_schedule_is_start import ( + ProjectfunctionItemgetRequestSchemaPlanperiodStartScheduleIsStart, ) -from ..models.functie_itemget_request_schema_type import FunctieItemgetRequestSchemaType -from ..models.functie_itemget_request_schema_usageperiod_end_schedule_is_start import ( - FunctieItemgetRequestSchemaUsageperiodEndScheduleIsStart, +from ..models.projectfunction_itemget_request_schema_type import ProjectfunctionItemgetRequestSchemaType +from ..models.projectfunction_itemget_request_schema_usageperiod_end_schedule_is_start import ( + ProjectfunctionItemgetRequestSchemaUsageperiodEndScheduleIsStart, ) -from ..models.functie_itemget_request_schema_usageperiod_start_schedule_is_start import ( - FunctieItemgetRequestSchemaUsageperiodStartScheduleIsStart, +from ..models.projectfunction_itemget_request_schema_usageperiod_start_schedule_is_start import ( + ProjectfunctionItemgetRequestSchemaUsageperiodStartScheduleIsStart, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieItemgetRequestSchema") +T = TypeVar("T", bound="ProjectfunctionItemgetRequestSchema") @attr.s(auto_attribs=True) -class FunctieItemgetRequestSchema: +class ProjectfunctionItemgetRequestSchema: """ """ cost_rate: str @@ -37,16 +37,22 @@ class FunctieItemgetRequestSchema: travel_time_before: Union[Unset, None, float] = UNSET travel_time_after: Union[Unset, None, float] = UNSET usageperiod_start: Union[Unset, None, datetime.datetime] = UNSET - planperiod_start_schedule_is_start: Union[Unset, FunctieItemgetRequestSchemaPlanperiodStartScheduleIsStart] = UNSET + planperiod_start_schedule_is_start: Union[ + Unset, ProjectfunctionItemgetRequestSchemaPlanperiodStartScheduleIsStart + ] = UNSET usageperiod_start_schedule_is_start: Union[ - Unset, FunctieItemgetRequestSchemaUsageperiodStartScheduleIsStart + Unset, ProjectfunctionItemgetRequestSchemaUsageperiodStartScheduleIsStart + ] = UNSET + planperiod_end_schedule_is_start: Union[ + Unset, ProjectfunctionItemgetRequestSchemaPlanperiodEndScheduleIsStart + ] = UNSET + usageperiod_end_schedule_is_start: Union[ + Unset, ProjectfunctionItemgetRequestSchemaUsageperiodEndScheduleIsStart ] = UNSET - planperiod_end_schedule_is_start: Union[Unset, FunctieItemgetRequestSchemaPlanperiodEndScheduleIsStart] = UNSET - usageperiod_end_schedule_is_start: Union[Unset, FunctieItemgetRequestSchemaUsageperiodEndScheduleIsStart] = UNSET usageperiod_end: Union[Unset, None, datetime.datetime] = UNSET planperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - type: Union[Unset, FunctieItemgetRequestSchemaType] = UNSET + type: Union[Unset, ProjectfunctionItemgetRequestSchemaType] = UNSET duration: Union[Unset, None, float] = UNSET amount: Union[Unset, int] = UNSET break_: Union[Unset, None, float] = UNSET @@ -61,7 +67,7 @@ class FunctieItemgetRequestSchema: in_financial: Union[Unset, bool] = UNSET in_planning: Union[Unset, bool] = UNSET is_plannable: Union[Unset, bool] = UNSET - custom: Union[Unset, FunctieItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectfunctionItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -227,36 +233,38 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: usageperiod_start = isoparse(_usageperiod_start) planperiod_start_schedule_is_start: Union[ - Unset, FunctieItemgetRequestSchemaPlanperiodStartScheduleIsStart + Unset, ProjectfunctionItemgetRequestSchemaPlanperiodStartScheduleIsStart ] = UNSET _planperiod_start_schedule_is_start = d.pop("planperiod_start_schedule_is_start", UNSET) if not isinstance(_planperiod_start_schedule_is_start, Unset): - planperiod_start_schedule_is_start = FunctieItemgetRequestSchemaPlanperiodStartScheduleIsStart( + planperiod_start_schedule_is_start = ProjectfunctionItemgetRequestSchemaPlanperiodStartScheduleIsStart( _planperiod_start_schedule_is_start ) usageperiod_start_schedule_is_start: Union[ - Unset, FunctieItemgetRequestSchemaUsageperiodStartScheduleIsStart + Unset, ProjectfunctionItemgetRequestSchemaUsageperiodStartScheduleIsStart ] = UNSET _usageperiod_start_schedule_is_start = d.pop("usageperiod_start_schedule_is_start", UNSET) if not isinstance(_usageperiod_start_schedule_is_start, Unset): - usageperiod_start_schedule_is_start = FunctieItemgetRequestSchemaUsageperiodStartScheduleIsStart( + usageperiod_start_schedule_is_start = ProjectfunctionItemgetRequestSchemaUsageperiodStartScheduleIsStart( _usageperiod_start_schedule_is_start ) - planperiod_end_schedule_is_start: Union[Unset, FunctieItemgetRequestSchemaPlanperiodEndScheduleIsStart] = UNSET + planperiod_end_schedule_is_start: Union[ + Unset, ProjectfunctionItemgetRequestSchemaPlanperiodEndScheduleIsStart + ] = UNSET _planperiod_end_schedule_is_start = d.pop("planperiod_end_schedule_is_start", UNSET) if not isinstance(_planperiod_end_schedule_is_start, Unset): - planperiod_end_schedule_is_start = FunctieItemgetRequestSchemaPlanperiodEndScheduleIsStart( + planperiod_end_schedule_is_start = ProjectfunctionItemgetRequestSchemaPlanperiodEndScheduleIsStart( _planperiod_end_schedule_is_start ) usageperiod_end_schedule_is_start: Union[ - Unset, FunctieItemgetRequestSchemaUsageperiodEndScheduleIsStart + Unset, ProjectfunctionItemgetRequestSchemaUsageperiodEndScheduleIsStart ] = UNSET _usageperiod_end_schedule_is_start = d.pop("usageperiod_end_schedule_is_start", UNSET) if not isinstance(_usageperiod_end_schedule_is_start, Unset): - usageperiod_end_schedule_is_start = FunctieItemgetRequestSchemaUsageperiodEndScheduleIsStart( + usageperiod_end_schedule_is_start = ProjectfunctionItemgetRequestSchemaUsageperiodEndScheduleIsStart( _usageperiod_end_schedule_is_start ) @@ -275,10 +283,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): planperiod_end = isoparse(_planperiod_end) - type: Union[Unset, FunctieItemgetRequestSchemaType] = UNSET + type: Union[Unset, ProjectfunctionItemgetRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = FunctieItemgetRequestSchemaType(_type) + type = ProjectfunctionItemgetRequestSchemaType(_type) duration = d.pop("duration", UNSET) @@ -308,12 +316,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_plannable = d.pop("is_plannable", UNSET) - custom: Union[Unset, FunctieItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectfunctionItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = FunctieItemgetRequestSchemaCustom.from_dict(_custom) + custom = ProjectfunctionItemgetRequestSchemaCustom.from_dict(_custom) - functie_itemget_request_schema = cls( + projectfunction_itemget_request_schema = cls( cost_rate=cost_rate, price_rate=price_rate, subproject=subproject, @@ -349,8 +357,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - functie_itemget_request_schema.additional_properties = d - return functie_itemget_request_schema + projectfunction_itemget_request_schema.additional_properties = d + return projectfunction_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itemput_response_schema_data_custom.py b/rentman_api_client/models/projectfunction_itemget_request_schema_custom.py similarity index 77% rename from rentman_api_client/models/materiaal_itemput_response_schema_data_custom.py rename to rentman_api_client/models/projectfunction_itemget_request_schema_custom.py index 991f28c..84914da 100644 --- a/rentman_api_client/models/materiaal_itemput_response_schema_data_custom.py +++ b/rentman_api_client/models/projectfunction_itemget_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MateriaalItemputResponseSchemaDataCustom") +T = TypeVar("T", bound="ProjectfunctionItemgetRequestSchemaCustom") @attr.s(auto_attribs=True) -class MateriaalItemputResponseSchemaDataCustom: +class ProjectfunctionItemgetRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - materiaal_itemput_response_schema_data_custom = cls() + projectfunction_itemget_request_schema_custom = cls() - materiaal_itemput_response_schema_data_custom.additional_properties = d - return materiaal_itemput_response_schema_data_custom + projectfunction_itemget_request_schema_custom.additional_properties = d + return projectfunction_itemget_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functie_itemget_response_schema_data_usageperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunction_itemget_request_schema_planperiod_end_schedule_is_start.py similarity index 71% rename from rentman_api_client/models/functie_itemget_response_schema_data_usageperiod_start_schedule_is_start.py rename to rentman_api_client/models/projectfunction_itemget_request_schema_planperiod_end_schedule_is_start.py index 41e7bbd..392cdcb 100644 --- a/rentman_api_client/models/functie_itemget_response_schema_data_usageperiod_start_schedule_is_start.py +++ b/rentman_api_client/models/projectfunction_itemget_request_schema_planperiod_end_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieItemgetResponseSchemaDataUsageperiodStartScheduleIsStart(str, Enum): +class ProjectfunctionItemgetRequestSchemaPlanperiodEndScheduleIsStart(str, Enum): END_TIME = "End time" START_TIME = "Start time" diff --git a/rentman_api_client/models/functie_itemget_request_schema_planperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunction_itemget_request_schema_planperiod_start_schedule_is_start.py similarity index 62% rename from rentman_api_client/models/functie_itemget_request_schema_planperiod_start_schedule_is_start.py rename to rentman_api_client/models/projectfunction_itemget_request_schema_planperiod_start_schedule_is_start.py index 77b5942..981dca6 100644 --- a/rentman_api_client/models/functie_itemget_request_schema_planperiod_start_schedule_is_start.py +++ b/rentman_api_client/models/projectfunction_itemget_request_schema_planperiod_start_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieItemgetRequestSchemaPlanperiodStartScheduleIsStart(str, Enum): +class ProjectfunctionItemgetRequestSchemaPlanperiodStartScheduleIsStart(str, Enum): END_TIME = "End time" START_TIME = "Start time" diff --git a/rentman_api_client/models/functie_itemget_request_schema_type.py b/rentman_api_client/models/projectfunction_itemget_request_schema_type.py similarity index 78% rename from rentman_api_client/models/functie_itemget_request_schema_type.py rename to rentman_api_client/models/projectfunction_itemget_request_schema_type.py index d61d6bb..23b6d37 100644 --- a/rentman_api_client/models/functie_itemget_request_schema_type.py +++ b/rentman_api_client/models/projectfunction_itemget_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieItemgetRequestSchemaType(str, Enum): +class ProjectfunctionItemgetRequestSchemaType(str, Enum): CREW_FUNCTION = "crew_function" TRANSPORT_FUNCTION = "transport_function" REMARK = "remark" diff --git a/rentman_api_client/models/functie_itemget_request_schema_usageperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunction_itemget_request_schema_usageperiod_end_schedule_is_start.py similarity index 63% rename from rentman_api_client/models/functie_itemget_request_schema_usageperiod_start_schedule_is_start.py rename to rentman_api_client/models/projectfunction_itemget_request_schema_usageperiod_end_schedule_is_start.py index 5baa5bd..343eaff 100644 --- a/rentman_api_client/models/functie_itemget_request_schema_usageperiod_start_schedule_is_start.py +++ b/rentman_api_client/models/projectfunction_itemget_request_schema_usageperiod_end_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieItemgetRequestSchemaUsageperiodStartScheduleIsStart(str, Enum): +class ProjectfunctionItemgetRequestSchemaUsageperiodEndScheduleIsStart(str, Enum): END_TIME = "End time" START_TIME = "Start time" diff --git a/rentman_api_client/models/functie_itemget_request_schema_usageperiod_end_schedule_is_start.py b/rentman_api_client/models/projectfunction_itemget_request_schema_usageperiod_start_schedule_is_start.py similarity index 62% rename from rentman_api_client/models/functie_itemget_request_schema_usageperiod_end_schedule_is_start.py rename to rentman_api_client/models/projectfunction_itemget_request_schema_usageperiod_start_schedule_is_start.py index 3f25d5a..c909d94 100644 --- a/rentman_api_client/models/functie_itemget_request_schema_usageperiod_end_schedule_is_start.py +++ b/rentman_api_client/models/projectfunction_itemget_request_schema_usageperiod_start_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieItemgetRequestSchemaUsageperiodEndScheduleIsStart(str, Enum): +class ProjectfunctionItemgetRequestSchemaUsageperiodStartScheduleIsStart(str, Enum): END_TIME = "End time" START_TIME = "Start time" diff --git a/rentman_api_client/models/inhuurmateriaal_itemget_response_schema.py b/rentman_api_client/models/projectfunction_itemget_response_schema.py similarity index 77% rename from rentman_api_client/models/inhuurmateriaal_itemget_response_schema.py rename to rentman_api_client/models/projectfunction_itemget_response_schema.py index 6120583..f6f93bf 100644 --- a/rentman_api_client/models/inhuurmateriaal_itemget_response_schema.py +++ b/rentman_api_client/models/projectfunction_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuurmateriaal_itemget_response_schema_data import InhuurmateriaalItemgetResponseSchemaData +from ..models.projectfunction_itemget_response_schema_data import ProjectfunctionItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalItemgetResponseSchema") +T = TypeVar("T", bound="ProjectfunctionItemgetResponseSchema") @attr.s(auto_attribs=True) -class InhuurmateriaalItemgetResponseSchema: +class ProjectfunctionItemgetResponseSchema: """ """ - data: Union[Unset, InhuurmateriaalItemgetResponseSchemaData] = UNSET + data: Union[Unset, ProjectfunctionItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, InhuurmateriaalItemgetResponseSchemaData] = UNSET + data: Union[Unset, ProjectfunctionItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = InhuurmateriaalItemgetResponseSchemaData.from_dict(_data) + data = ProjectfunctionItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurmateriaal_itemget_response_schema = cls( + projectfunction_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurmateriaal_itemget_response_schema.additional_properties = d - return inhuurmateriaal_itemget_response_schema + projectfunction_itemget_response_schema.additional_properties = d + return projectfunction_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functie_collectionget_response_schema_data_item.py b/rentman_api_client/models/projectfunction_itemget_response_schema_data.py similarity index 84% rename from rentman_api_client/models/functie_collectionget_response_schema_data_item.py rename to rentman_api_client/models/projectfunction_itemget_response_schema_data.py index 9a26dcf..27f6349 100644 --- a/rentman_api_client/models/functie_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/projectfunction_itemget_response_schema_data.py @@ -4,30 +4,28 @@ import attr from dateutil.parser import isoparse -from ..models.functie_collectionget_response_schema_data_item_custom import ( - FunctieCollectiongetResponseSchemaDataItemCustom, +from ..models.projectfunction_itemget_response_schema_data_custom import ProjectfunctionItemgetResponseSchemaDataCustom +from ..models.projectfunction_itemget_response_schema_data_planperiod_end_schedule_is_start import ( + ProjectfunctionItemgetResponseSchemaDataPlanperiodEndScheduleIsStart, ) -from ..models.functie_collectionget_response_schema_data_item_planperiod_end_schedule_is_start import ( - FunctieCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart, +from ..models.projectfunction_itemget_response_schema_data_planperiod_start_schedule_is_start import ( + ProjectfunctionItemgetResponseSchemaDataPlanperiodStartScheduleIsStart, ) -from ..models.functie_collectionget_response_schema_data_item_planperiod_start_schedule_is_start import ( - FunctieCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart, +from ..models.projectfunction_itemget_response_schema_data_type import ProjectfunctionItemgetResponseSchemaDataType +from ..models.projectfunction_itemget_response_schema_data_usageperiod_end_schedule_is_start import ( + ProjectfunctionItemgetResponseSchemaDataUsageperiodEndScheduleIsStart, ) -from ..models.functie_collectionget_response_schema_data_item_type import FunctieCollectiongetResponseSchemaDataItemType -from ..models.functie_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start import ( - FunctieCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart, -) -from ..models.functie_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start import ( - FunctieCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart, +from ..models.projectfunction_itemget_response_schema_data_usageperiod_start_schedule_is_start import ( + ProjectfunctionItemgetResponseSchemaDataUsageperiodStartScheduleIsStart, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="ProjectfunctionItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class FunctieCollectiongetResponseSchemaDataItem: - """ """ +class ProjectfunctionItemgetResponseSchemaData: + """All the data about the requested items""" id: Union[Unset, int] = UNSET created: Union[Unset, None, datetime.datetime] = UNSET @@ -46,21 +44,21 @@ class FunctieCollectiongetResponseSchemaDataItem: travel_time_after: Union[Unset, None, float] = UNSET usageperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_start_schedule_is_start: Union[ - Unset, FunctieCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart + Unset, ProjectfunctionItemgetResponseSchemaDataPlanperiodStartScheduleIsStart ] = UNSET usageperiod_start_schedule_is_start: Union[ - Unset, FunctieCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart + Unset, ProjectfunctionItemgetResponseSchemaDataUsageperiodStartScheduleIsStart ] = UNSET planperiod_end_schedule_is_start: Union[ - Unset, FunctieCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart + Unset, ProjectfunctionItemgetResponseSchemaDataPlanperiodEndScheduleIsStart ] = UNSET usageperiod_end_schedule_is_start: Union[ - Unset, FunctieCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart + Unset, ProjectfunctionItemgetResponseSchemaDataUsageperiodEndScheduleIsStart ] = UNSET usageperiod_end: Union[Unset, None, datetime.datetime] = UNSET planperiod_start: Union[Unset, None, datetime.datetime] = UNSET planperiod_end: Union[Unset, None, datetime.datetime] = UNSET - type: Union[Unset, FunctieCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, ProjectfunctionItemgetResponseSchemaDataType] = UNSET duration: Union[Unset, None, float] = UNSET amount: Union[Unset, int] = UNSET break_: Union[Unset, None, float] = UNSET @@ -82,7 +80,7 @@ class FunctieCollectiongetResponseSchemaDataItem: price_total: Union[Unset, float] = UNSET costs_total: Union[Unset, float] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, FunctieCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectfunctionItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -311,42 +309,40 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: usageperiod_start = isoparse(_usageperiod_start) planperiod_start_schedule_is_start: Union[ - Unset, FunctieCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart + Unset, ProjectfunctionItemgetResponseSchemaDataPlanperiodStartScheduleIsStart ] = UNSET _planperiod_start_schedule_is_start = d.pop("planperiod_start_schedule_is_start", UNSET) if not isinstance(_planperiod_start_schedule_is_start, Unset): - planperiod_start_schedule_is_start = ( - FunctieCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart( - _planperiod_start_schedule_is_start - ) + planperiod_start_schedule_is_start = ProjectfunctionItemgetResponseSchemaDataPlanperiodStartScheduleIsStart( + _planperiod_start_schedule_is_start ) usageperiod_start_schedule_is_start: Union[ - Unset, FunctieCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart + Unset, ProjectfunctionItemgetResponseSchemaDataUsageperiodStartScheduleIsStart ] = UNSET _usageperiod_start_schedule_is_start = d.pop("usageperiod_start_schedule_is_start", UNSET) if not isinstance(_usageperiod_start_schedule_is_start, Unset): usageperiod_start_schedule_is_start = ( - FunctieCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart( + ProjectfunctionItemgetResponseSchemaDataUsageperiodStartScheduleIsStart( _usageperiod_start_schedule_is_start ) ) planperiod_end_schedule_is_start: Union[ - Unset, FunctieCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart + Unset, ProjectfunctionItemgetResponseSchemaDataPlanperiodEndScheduleIsStart ] = UNSET _planperiod_end_schedule_is_start = d.pop("planperiod_end_schedule_is_start", UNSET) if not isinstance(_planperiod_end_schedule_is_start, Unset): - planperiod_end_schedule_is_start = FunctieCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart( + planperiod_end_schedule_is_start = ProjectfunctionItemgetResponseSchemaDataPlanperiodEndScheduleIsStart( _planperiod_end_schedule_is_start ) usageperiod_end_schedule_is_start: Union[ - Unset, FunctieCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart + Unset, ProjectfunctionItemgetResponseSchemaDataUsageperiodEndScheduleIsStart ] = UNSET _usageperiod_end_schedule_is_start = d.pop("usageperiod_end_schedule_is_start", UNSET) if not isinstance(_usageperiod_end_schedule_is_start, Unset): - usageperiod_end_schedule_is_start = FunctieCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart( + usageperiod_end_schedule_is_start = ProjectfunctionItemgetResponseSchemaDataUsageperiodEndScheduleIsStart( _usageperiod_end_schedule_is_start ) @@ -365,10 +361,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _planperiod_end is not None and not isinstance(_planperiod_end, Unset): planperiod_end = isoparse(_planperiod_end) - type: Union[Unset, FunctieCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, ProjectfunctionItemgetResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = FunctieCollectiongetResponseSchemaDataItemType(_type) + type = ProjectfunctionItemgetResponseSchemaDataType(_type) duration = d.pop("duration", UNSET) @@ -412,12 +408,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, FunctieCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectfunctionItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = FunctieCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = ProjectfunctionItemgetResponseSchemaDataCustom.from_dict(_custom) - functie_collectionget_response_schema_data_item = cls( + projectfunction_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -466,8 +462,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - functie_collectionget_response_schema_data_item.additional_properties = d - return functie_collectionget_response_schema_data_item + projectfunction_itemget_response_schema_data.additional_properties = d + return projectfunction_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectfunction_itemget_response_schema_data_custom.py b/rentman_api_client/models/projectfunction_itemget_response_schema_data_custom.py new file mode 100644 index 0000000..3e9fdf3 --- /dev/null +++ b/rentman_api_client/models/projectfunction_itemget_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectfunctionItemgetResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class ProjectfunctionItemgetResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectfunction_itemget_response_schema_data_custom = cls() + + projectfunction_itemget_response_schema_data_custom.additional_properties = d + return projectfunction_itemget_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/functie_itemget_request_schema_planperiod_end_schedule_is_start.py b/rentman_api_client/models/projectfunction_itemget_response_schema_data_planperiod_end_schedule_is_start.py similarity index 62% rename from rentman_api_client/models/functie_itemget_request_schema_planperiod_end_schedule_is_start.py rename to rentman_api_client/models/projectfunction_itemget_response_schema_data_planperiod_end_schedule_is_start.py index 54d938e..e70d0f1 100644 --- a/rentman_api_client/models/functie_itemget_request_schema_planperiod_end_schedule_is_start.py +++ b/rentman_api_client/models/projectfunction_itemget_response_schema_data_planperiod_end_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieItemgetRequestSchemaPlanperiodEndScheduleIsStart(str, Enum): +class ProjectfunctionItemgetResponseSchemaDataPlanperiodEndScheduleIsStart(str, Enum): END_TIME = "End time" START_TIME = "Start time" diff --git a/rentman_api_client/models/functie_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py b/rentman_api_client/models/projectfunction_itemget_response_schema_data_planperiod_start_schedule_is_start.py similarity index 72% rename from rentman_api_client/models/functie_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py rename to rentman_api_client/models/projectfunction_itemget_response_schema_data_planperiod_start_schedule_is_start.py index 94cabb4..b7ce88c 100644 --- a/rentman_api_client/models/functie_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py +++ b/rentman_api_client/models/projectfunction_itemget_response_schema_data_planperiod_start_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart(str, Enum): +class ProjectfunctionItemgetResponseSchemaDataPlanperiodStartScheduleIsStart(str, Enum): END_TIME = "End time" START_TIME = "Start time" diff --git a/rentman_api_client/models/functie_itemget_response_schema_data_type.py b/rentman_api_client/models/projectfunction_itemget_response_schema_data_type.py similarity index 76% rename from rentman_api_client/models/functie_itemget_response_schema_data_type.py rename to rentman_api_client/models/projectfunction_itemget_response_schema_data_type.py index 5cf7ce2..eab8849 100644 --- a/rentman_api_client/models/functie_itemget_response_schema_data_type.py +++ b/rentman_api_client/models/projectfunction_itemget_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieItemgetResponseSchemaDataType(str, Enum): +class ProjectfunctionItemgetResponseSchemaDataType(str, Enum): CREW_FUNCTION = "crew_function" TRANSPORT_FUNCTION = "transport_function" REMARK = "remark" diff --git a/rentman_api_client/models/projectfunction_itemget_response_schema_data_usageperiod_end_schedule_is_start.py b/rentman_api_client/models/projectfunction_itemget_response_schema_data_usageperiod_end_schedule_is_start.py new file mode 100644 index 0000000..1713ab9 --- /dev/null +++ b/rentman_api_client/models/projectfunction_itemget_response_schema_data_usageperiod_end_schedule_is_start.py @@ -0,0 +1,9 @@ +from enum import Enum + + +class ProjectfunctionItemgetResponseSchemaDataUsageperiodEndScheduleIsStart(str, Enum): + END_TIME = "End time" + START_TIME = "Start time" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/functie_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py b/rentman_api_client/models/projectfunction_itemget_response_schema_data_usageperiod_start_schedule_is_start.py similarity index 72% rename from rentman_api_client/models/functie_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py rename to rentman_api_client/models/projectfunction_itemget_response_schema_data_usageperiod_start_schedule_is_start.py index 7b28e83..314e413 100644 --- a/rentman_api_client/models/functie_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py +++ b/rentman_api_client/models/projectfunction_itemget_response_schema_data_usageperiod_start_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import Enum -class FunctieCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart(str, Enum): +class ProjectfunctionItemgetResponseSchemaDataUsageperiodStartScheduleIsStart(str, Enum): END_TIME = "End time" START_TIME = "Start time" diff --git a/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema.py b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema.py new file mode 100644 index 0000000..15fa3d8 --- /dev/null +++ b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectfunctiongroup_collectionget_response_schema_data_item import ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectfunctiongroupCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectfunctiongroupCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[ProjectfunctiongroupCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjectfunctiongroupCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectfunctiongroup_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectfunctiongroup_collectionget_response_schema.additional_properties = d + return projectfunctiongroup_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/functiegroep_itemget_response_schema_data.py b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item.py similarity index 76% rename from rentman_api_client/models/functiegroep_itemget_response_schema_data.py rename to rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item.py index a7cef60..65c0516 100644 --- a/rentman_api_client/models/functiegroep_itemget_response_schema_data.py +++ b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item.py @@ -4,26 +4,26 @@ import attr from dateutil.parser import isoparse -from ..models.functiegroep_itemget_response_schema_data_planperiod_end_schedule_is_start import ( - FunctiegroepItemgetResponseSchemaDataPlanperiodEndScheduleIsStart, +from ..models.projectfunctiongroup_collectionget_response_schema_data_item_planperiod_end_schedule_is_start import ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart, ) -from ..models.functiegroep_itemget_response_schema_data_planperiod_start_schedule_is_start import ( - FunctiegroepItemgetResponseSchemaDataPlanperiodStartScheduleIsStart, +from ..models.projectfunctiongroup_collectionget_response_schema_data_item_planperiod_start_schedule_is_start import ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart, ) -from ..models.functiegroep_itemget_response_schema_data_usageperiod_end_schedule_is_start import ( - FunctiegroepItemgetResponseSchemaDataUsageperiodEndScheduleIsStart, +from ..models.projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start import ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart, ) -from ..models.functiegroep_itemget_response_schema_data_usageperiod_start_schedule_is_start import ( - FunctiegroepItemgetResponseSchemaDataUsageperiodStartScheduleIsStart, +from ..models.projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start import ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctiegroepItemgetResponseSchemaData") +T = TypeVar("T", bound="ProjectfunctiongroupCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class FunctiegroepItemgetResponseSchemaData: - """All the data about the requested items""" +class ProjectfunctiongroupCollectiongetResponseSchemaDataItem: + """ """ id: Union[Unset, int] = UNSET created: Union[Unset, None, datetime.datetime] = UNSET @@ -35,16 +35,16 @@ class FunctiegroepItemgetResponseSchemaData: subproject: Union[Unset, str] = UNSET duration: Union[Unset, None, float] = UNSET planperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepItemgetResponseSchemaDataPlanperiodStartScheduleIsStart + Unset, ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart ] = UNSET usageperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepItemgetResponseSchemaDataUsageperiodStartScheduleIsStart + Unset, ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart ] = UNSET planperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepItemgetResponseSchemaDataPlanperiodEndScheduleIsStart + Unset, ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart ] = UNSET usageperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepItemgetResponseSchemaDataUsageperiodEndScheduleIsStart + Unset, ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart ] = UNSET usageperiod_start: Union[Unset, None, datetime.datetime] = UNSET usageperiod_end: Union[Unset, None, datetime.datetime] = UNSET @@ -173,39 +173,47 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) planperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepItemgetResponseSchemaDataPlanperiodStartScheduleIsStart + Unset, ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart ] = UNSET _planperiod_start_schedule_is_start = d.pop("planperiod_start_schedule_is_start", UNSET) if not isinstance(_planperiod_start_schedule_is_start, Unset): - planperiod_start_schedule_is_start = FunctiegroepItemgetResponseSchemaDataPlanperiodStartScheduleIsStart( - _planperiod_start_schedule_is_start + planperiod_start_schedule_is_start = ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart( + _planperiod_start_schedule_is_start + ) ) usageperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepItemgetResponseSchemaDataUsageperiodStartScheduleIsStart + Unset, ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart ] = UNSET _usageperiod_start_schedule_is_start = d.pop("usageperiod_start_schedule_is_start", UNSET) if not isinstance(_usageperiod_start_schedule_is_start, Unset): - usageperiod_start_schedule_is_start = FunctiegroepItemgetResponseSchemaDataUsageperiodStartScheduleIsStart( - _usageperiod_start_schedule_is_start + usageperiod_start_schedule_is_start = ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart( + _usageperiod_start_schedule_is_start + ) ) planperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepItemgetResponseSchemaDataPlanperiodEndScheduleIsStart + Unset, ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart ] = UNSET _planperiod_end_schedule_is_start = d.pop("planperiod_end_schedule_is_start", UNSET) if not isinstance(_planperiod_end_schedule_is_start, Unset): - planperiod_end_schedule_is_start = FunctiegroepItemgetResponseSchemaDataPlanperiodEndScheduleIsStart( - _planperiod_end_schedule_is_start + planperiod_end_schedule_is_start = ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart( + _planperiod_end_schedule_is_start + ) ) usageperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepItemgetResponseSchemaDataUsageperiodEndScheduleIsStart + Unset, ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart ] = UNSET _usageperiod_end_schedule_is_start = d.pop("usageperiod_end_schedule_is_start", UNSET) if not isinstance(_usageperiod_end_schedule_is_start, Unset): - usageperiod_end_schedule_is_start = FunctiegroepItemgetResponseSchemaDataUsageperiodEndScheduleIsStart( - _usageperiod_end_schedule_is_start + usageperiod_end_schedule_is_start = ( + ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart( + _usageperiod_end_schedule_is_start + ) ) usageperiod_start = None @@ -230,7 +238,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - functiegroep_itemget_response_schema_data = cls( + projectfunctiongroup_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -251,8 +259,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark=remark, ) - functiegroep_itemget_response_schema_data.additional_properties = d - return functiegroep_itemget_response_schema_data + projectfunctiongroup_collectionget_response_schema_data_item.additional_properties = d + return projectfunctiongroup_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py similarity index 54% rename from rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py rename to rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py index c38a5ce..4ecfe65 100644 --- a/rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py +++ b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import IntEnum -class FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart(IntEnum): +class ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py new file mode 100644 index 0000000..541015b --- /dev/null +++ b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_planperiod_start_schedule_is_start.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class ProjectfunctiongroupCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py similarity index 54% rename from rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py rename to rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py index 1483cfc..f033a44 100644 --- a/rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py +++ b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import IntEnum -class FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart(IntEnum): +class ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py new file mode 100644 index 0000000..ddcbff9 --- /dev/null +++ b/rentman_api_client/models/projectfunctiongroup_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class ProjectfunctiongroupCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/functiegroep_itemget_request_schema.py b/rentman_api_client/models/projectfunctiongroup_itemget_request_schema.py similarity index 76% rename from rentman_api_client/models/functiegroep_itemget_request_schema.py rename to rentman_api_client/models/projectfunctiongroup_itemget_request_schema.py index de0824c..113f341 100644 --- a/rentman_api_client/models/functiegroep_itemget_request_schema.py +++ b/rentman_api_client/models/projectfunctiongroup_itemget_request_schema.py @@ -4,39 +4,41 @@ import attr from dateutil.parser import isoparse -from ..models.functiegroep_itemget_request_schema_planperiod_end_schedule_is_start import ( - FunctiegroepItemgetRequestSchemaPlanperiodEndScheduleIsStart, +from ..models.projectfunctiongroup_itemget_request_schema_planperiod_end_schedule_is_start import ( + ProjectfunctiongroupItemgetRequestSchemaPlanperiodEndScheduleIsStart, ) -from ..models.functiegroep_itemget_request_schema_planperiod_start_schedule_is_start import ( - FunctiegroepItemgetRequestSchemaPlanperiodStartScheduleIsStart, +from ..models.projectfunctiongroup_itemget_request_schema_planperiod_start_schedule_is_start import ( + ProjectfunctiongroupItemgetRequestSchemaPlanperiodStartScheduleIsStart, ) -from ..models.functiegroep_itemget_request_schema_usageperiod_end_schedule_is_start import ( - FunctiegroepItemgetRequestSchemaUsageperiodEndScheduleIsStart, +from ..models.projectfunctiongroup_itemget_request_schema_usageperiod_end_schedule_is_start import ( + ProjectfunctiongroupItemgetRequestSchemaUsageperiodEndScheduleIsStart, ) -from ..models.functiegroep_itemget_request_schema_usageperiod_start_schedule_is_start import ( - FunctiegroepItemgetRequestSchemaUsageperiodStartScheduleIsStart, +from ..models.projectfunctiongroup_itemget_request_schema_usageperiod_start_schedule_is_start import ( + ProjectfunctiongroupItemgetRequestSchemaUsageperiodStartScheduleIsStart, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctiegroepItemgetRequestSchema") +T = TypeVar("T", bound="ProjectfunctiongroupItemgetRequestSchema") @attr.s(auto_attribs=True) -class FunctiegroepItemgetRequestSchema: +class ProjectfunctiongroupItemgetRequestSchema: """ """ subproject: str name: Union[Unset, str] = UNSET duration: Union[Unset, None, float] = UNSET planperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepItemgetRequestSchemaPlanperiodStartScheduleIsStart + Unset, ProjectfunctiongroupItemgetRequestSchemaPlanperiodStartScheduleIsStart ] = UNSET usageperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepItemgetRequestSchemaUsageperiodStartScheduleIsStart + Unset, ProjectfunctiongroupItemgetRequestSchemaUsageperiodStartScheduleIsStart + ] = UNSET + planperiod_end_schedule_is_start: Union[ + Unset, ProjectfunctiongroupItemgetRequestSchemaPlanperiodEndScheduleIsStart ] = UNSET - planperiod_end_schedule_is_start: Union[Unset, FunctiegroepItemgetRequestSchemaPlanperiodEndScheduleIsStart] = UNSET usageperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepItemgetRequestSchemaUsageperiodEndScheduleIsStart + Unset, ProjectfunctiongroupItemgetRequestSchemaUsageperiodEndScheduleIsStart ] = UNSET usageperiod_start: Union[Unset, None, datetime.datetime] = UNSET usageperiod_end: Union[Unset, None, datetime.datetime] = UNSET @@ -125,38 +127,40 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) planperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepItemgetRequestSchemaPlanperiodStartScheduleIsStart + Unset, ProjectfunctiongroupItemgetRequestSchemaPlanperiodStartScheduleIsStart ] = UNSET _planperiod_start_schedule_is_start = d.pop("planperiod_start_schedule_is_start", UNSET) if not isinstance(_planperiod_start_schedule_is_start, Unset): - planperiod_start_schedule_is_start = FunctiegroepItemgetRequestSchemaPlanperiodStartScheduleIsStart( + planperiod_start_schedule_is_start = ProjectfunctiongroupItemgetRequestSchemaPlanperiodStartScheduleIsStart( _planperiod_start_schedule_is_start ) usageperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepItemgetRequestSchemaUsageperiodStartScheduleIsStart + Unset, ProjectfunctiongroupItemgetRequestSchemaUsageperiodStartScheduleIsStart ] = UNSET _usageperiod_start_schedule_is_start = d.pop("usageperiod_start_schedule_is_start", UNSET) if not isinstance(_usageperiod_start_schedule_is_start, Unset): - usageperiod_start_schedule_is_start = FunctiegroepItemgetRequestSchemaUsageperiodStartScheduleIsStart( - _usageperiod_start_schedule_is_start + usageperiod_start_schedule_is_start = ( + ProjectfunctiongroupItemgetRequestSchemaUsageperiodStartScheduleIsStart( + _usageperiod_start_schedule_is_start + ) ) planperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepItemgetRequestSchemaPlanperiodEndScheduleIsStart + Unset, ProjectfunctiongroupItemgetRequestSchemaPlanperiodEndScheduleIsStart ] = UNSET _planperiod_end_schedule_is_start = d.pop("planperiod_end_schedule_is_start", UNSET) if not isinstance(_planperiod_end_schedule_is_start, Unset): - planperiod_end_schedule_is_start = FunctiegroepItemgetRequestSchemaPlanperiodEndScheduleIsStart( + planperiod_end_schedule_is_start = ProjectfunctiongroupItemgetRequestSchemaPlanperiodEndScheduleIsStart( _planperiod_end_schedule_is_start ) usageperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepItemgetRequestSchemaUsageperiodEndScheduleIsStart + Unset, ProjectfunctiongroupItemgetRequestSchemaUsageperiodEndScheduleIsStart ] = UNSET _usageperiod_end_schedule_is_start = d.pop("usageperiod_end_schedule_is_start", UNSET) if not isinstance(_usageperiod_end_schedule_is_start, Unset): - usageperiod_end_schedule_is_start = FunctiegroepItemgetRequestSchemaUsageperiodEndScheduleIsStart( + usageperiod_end_schedule_is_start = ProjectfunctiongroupItemgetRequestSchemaUsageperiodEndScheduleIsStart( _usageperiod_end_schedule_is_start ) @@ -182,7 +186,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - functiegroep_itemget_request_schema = cls( + projectfunctiongroup_itemget_request_schema = cls( subproject=subproject, name=name, duration=duration, @@ -197,8 +201,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark=remark, ) - functiegroep_itemget_request_schema.additional_properties = d - return functiegroep_itemget_request_schema + projectfunctiongroup_itemget_request_schema.additional_properties = d + return projectfunctiongroup_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functiegroep_itemget_response_schema_data_usageperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_itemget_request_schema_planperiod_end_schedule_is_start.py similarity index 68% rename from rentman_api_client/models/functiegroep_itemget_response_schema_data_usageperiod_start_schedule_is_start.py rename to rentman_api_client/models/projectfunctiongroup_itemget_request_schema_planperiod_end_schedule_is_start.py index 16ed31c..eabd7c3 100644 --- a/rentman_api_client/models/functiegroep_itemget_response_schema_data_usageperiod_start_schedule_is_start.py +++ b/rentman_api_client/models/projectfunctiongroup_itemget_request_schema_planperiod_end_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import IntEnum -class FunctiegroepItemgetResponseSchemaDataUsageperiodStartScheduleIsStart(IntEnum): +class ProjectfunctiongroupItemgetRequestSchemaPlanperiodEndScheduleIsStart(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/functiegroep_itemget_request_schema_planperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_itemget_request_schema_planperiod_start_schedule_is_start.py similarity index 58% rename from rentman_api_client/models/functiegroep_itemget_request_schema_planperiod_start_schedule_is_start.py rename to rentman_api_client/models/projectfunctiongroup_itemget_request_schema_planperiod_start_schedule_is_start.py index ef714dd..aea87f7 100644 --- a/rentman_api_client/models/functiegroep_itemget_request_schema_planperiod_start_schedule_is_start.py +++ b/rentman_api_client/models/projectfunctiongroup_itemget_request_schema_planperiod_start_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import IntEnum -class FunctiegroepItemgetRequestSchemaPlanperiodStartScheduleIsStart(IntEnum): +class ProjectfunctiongroupItemgetRequestSchemaPlanperiodStartScheduleIsStart(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/functiegroep_itemget_request_schema_usageperiod_start_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_itemget_request_schema_usageperiod_end_schedule_is_start.py similarity index 58% rename from rentman_api_client/models/functiegroep_itemget_request_schema_usageperiod_start_schedule_is_start.py rename to rentman_api_client/models/projectfunctiongroup_itemget_request_schema_usageperiod_end_schedule_is_start.py index 6d4e75a..5a81233 100644 --- a/rentman_api_client/models/functiegroep_itemget_request_schema_usageperiod_start_schedule_is_start.py +++ b/rentman_api_client/models/projectfunctiongroup_itemget_request_schema_usageperiod_end_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import IntEnum -class FunctiegroepItemgetRequestSchemaUsageperiodStartScheduleIsStart(IntEnum): +class ProjectfunctiongroupItemgetRequestSchemaUsageperiodEndScheduleIsStart(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/functiegroep_itemget_request_schema_usageperiod_end_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_itemget_request_schema_usageperiod_start_schedule_is_start.py similarity index 57% rename from rentman_api_client/models/functiegroep_itemget_request_schema_usageperiod_end_schedule_is_start.py rename to rentman_api_client/models/projectfunctiongroup_itemget_request_schema_usageperiod_start_schedule_is_start.py index 11478ee..5539554 100644 --- a/rentman_api_client/models/functiegroep_itemget_request_schema_usageperiod_end_schedule_is_start.py +++ b/rentman_api_client/models/projectfunctiongroup_itemget_request_schema_usageperiod_start_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import IntEnum -class FunctiegroepItemgetRequestSchemaUsageperiodEndScheduleIsStart(IntEnum): +class ProjectfunctiongroupItemgetRequestSchemaUsageperiodStartScheduleIsStart(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/projectfunctiongroup_itemget_response_schema.py b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema.py new file mode 100644 index 0000000..c2b9ae0 --- /dev/null +++ b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectfunctiongroup_itemget_response_schema_data import ProjectfunctiongroupItemgetResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectfunctiongroupItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectfunctiongroupItemgetResponseSchema: + """ """ + + data: Union[Unset, ProjectfunctiongroupItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, ProjectfunctiongroupItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = ProjectfunctiongroupItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectfunctiongroup_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectfunctiongroup_itemget_response_schema.additional_properties = d + return projectfunctiongroup_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/functiegroep_collectionget_response_schema_data_item.py b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data.py similarity index 81% rename from rentman_api_client/models/functiegroep_collectionget_response_schema_data_item.py rename to rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data.py index d228306..888cb58 100644 --- a/rentman_api_client/models/functiegroep_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data.py @@ -4,26 +4,26 @@ import attr from dateutil.parser import isoparse -from ..models.functiegroep_collectionget_response_schema_data_item_planperiod_end_schedule_is_start import ( - FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart, +from ..models.projectfunctiongroup_itemget_response_schema_data_planperiod_end_schedule_is_start import ( + ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodEndScheduleIsStart, ) -from ..models.functiegroep_collectionget_response_schema_data_item_planperiod_start_schedule_is_start import ( - FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart, +from ..models.projectfunctiongroup_itemget_response_schema_data_planperiod_start_schedule_is_start import ( + ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodStartScheduleIsStart, ) -from ..models.functiegroep_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start import ( - FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart, +from ..models.projectfunctiongroup_itemget_response_schema_data_usageperiod_end_schedule_is_start import ( + ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodEndScheduleIsStart, ) -from ..models.functiegroep_collectionget_response_schema_data_item_usageperiod_start_schedule_is_start import ( - FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart, +from ..models.projectfunctiongroup_itemget_response_schema_data_usageperiod_start_schedule_is_start import ( + ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodStartScheduleIsStart, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctiegroepCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="ProjectfunctiongroupItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class FunctiegroepCollectiongetResponseSchemaDataItem: - """ """ +class ProjectfunctiongroupItemgetResponseSchemaData: + """All the data about the requested items""" id: Union[Unset, int] = UNSET created: Union[Unset, None, datetime.datetime] = UNSET @@ -35,16 +35,16 @@ class FunctiegroepCollectiongetResponseSchemaDataItem: subproject: Union[Unset, str] = UNSET duration: Union[Unset, None, float] = UNSET planperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart + Unset, ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodStartScheduleIsStart ] = UNSET usageperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart + Unset, ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodStartScheduleIsStart ] = UNSET planperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart + Unset, ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodEndScheduleIsStart ] = UNSET usageperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart + Unset, ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodEndScheduleIsStart ] = UNSET usageperiod_start: Union[Unset, None, datetime.datetime] = UNSET usageperiod_end: Union[Unset, None, datetime.datetime] = UNSET @@ -173,45 +173,45 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) planperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart + Unset, ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodStartScheduleIsStart ] = UNSET _planperiod_start_schedule_is_start = d.pop("planperiod_start_schedule_is_start", UNSET) if not isinstance(_planperiod_start_schedule_is_start, Unset): planperiod_start_schedule_is_start = ( - FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodStartScheduleIsStart( + ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodStartScheduleIsStart( _planperiod_start_schedule_is_start ) ) usageperiod_start_schedule_is_start: Union[ - Unset, FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart + Unset, ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodStartScheduleIsStart ] = UNSET _usageperiod_start_schedule_is_start = d.pop("usageperiod_start_schedule_is_start", UNSET) if not isinstance(_usageperiod_start_schedule_is_start, Unset): usageperiod_start_schedule_is_start = ( - FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodStartScheduleIsStart( + ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodStartScheduleIsStart( _usageperiod_start_schedule_is_start ) ) planperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart + Unset, ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodEndScheduleIsStart ] = UNSET _planperiod_end_schedule_is_start = d.pop("planperiod_end_schedule_is_start", UNSET) if not isinstance(_planperiod_end_schedule_is_start, Unset): planperiod_end_schedule_is_start = ( - FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart( + ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodEndScheduleIsStart( _planperiod_end_schedule_is_start ) ) usageperiod_end_schedule_is_start: Union[ - Unset, FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart + Unset, ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodEndScheduleIsStart ] = UNSET _usageperiod_end_schedule_is_start = d.pop("usageperiod_end_schedule_is_start", UNSET) if not isinstance(_usageperiod_end_schedule_is_start, Unset): usageperiod_end_schedule_is_start = ( - FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart( + ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodEndScheduleIsStart( _usageperiod_end_schedule_is_start ) ) @@ -238,7 +238,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - functiegroep_collectionget_response_schema_data_item = cls( + projectfunctiongroup_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -259,8 +259,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark=remark, ) - functiegroep_collectionget_response_schema_data_item.additional_properties = d - return functiegroep_collectionget_response_schema_data_item + projectfunctiongroup_itemget_response_schema_data.additional_properties = d + return projectfunctiongroup_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functiegroep_itemget_request_schema_planperiod_end_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_planperiod_end_schedule_is_start.py similarity index 57% rename from rentman_api_client/models/functiegroep_itemget_request_schema_planperiod_end_schedule_is_start.py rename to rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_planperiod_end_schedule_is_start.py index de9dedb..bf33323 100644 --- a/rentman_api_client/models/functiegroep_itemget_request_schema_planperiod_end_schedule_is_start.py +++ b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_planperiod_end_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import IntEnum -class FunctiegroepItemgetRequestSchemaPlanperiodEndScheduleIsStart(IntEnum): +class ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodEndScheduleIsStart(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_planperiod_start_schedule_is_start.py similarity index 56% rename from rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py rename to rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_planperiod_start_schedule_is_start.py index 800f281..9fc82d0 100644 --- a/rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_planperiod_end_schedule_is_start.py +++ b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_planperiod_start_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import IntEnum -class FunctiegroepCollectiongetResponseSchemaDataItemPlanperiodEndScheduleIsStart(IntEnum): +class ProjectfunctiongroupItemgetResponseSchemaDataPlanperiodStartScheduleIsStart(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_usageperiod_end_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_usageperiod_end_schedule_is_start.py new file mode 100644 index 0000000..4a8105d --- /dev/null +++ b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_usageperiod_end_schedule_is_start.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodEndScheduleIsStart(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_usageperiod_start_schedule_is_start.py similarity index 56% rename from rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py rename to rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_usageperiod_start_schedule_is_start.py index f7d9f54..09bf949 100644 --- a/rentman_api_client/models/functiegroep_collectionget_response_schema_data_item_usageperiod_end_schedule_is_start.py +++ b/rentman_api_client/models/projectfunctiongroup_itemget_response_schema_data_usageperiod_start_schedule_is_start.py @@ -1,7 +1,7 @@ from enum import IntEnum -class FunctiegroepCollectiongetResponseSchemaDataItemUsageperiodEndScheduleIsStart(IntEnum): +class ProjectfunctiongroupItemgetResponseSchemaDataUsageperiodStartScheduleIsStart(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/projecttype_collectionget_response_schema.py b/rentman_api_client/models/projecttype_collectionget_response_schema.py new file mode 100644 index 0000000..9ceac72 --- /dev/null +++ b/rentman_api_client/models/projecttype_collectionget_response_schema.py @@ -0,0 +1,88 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projecttype_collectionget_response_schema_data_item import ProjecttypeCollectiongetResponseSchemaDataItem +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjecttypeCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjecttypeCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[ProjecttypeCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjecttypeCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projecttype_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projecttype_collectionget_response_schema.additional_properties = d + return projecttype_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/type_collectionput_response_schema_data_item.py b/rentman_api_client/models/projecttype_collectionget_response_schema_data_item.py similarity index 82% rename from rentman_api_client/models/type_collectionput_response_schema_data_item.py rename to rentman_api_client/models/projecttype_collectionget_response_schema_data_item.py index fe4012e..caeb565 100644 --- a/rentman_api_client/models/type_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/projecttype_collectionget_response_schema_data_item.py @@ -4,14 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.type_collectionput_response_schema_data_item_type import TypeCollectionputResponseSchemaDataItemType +from ..models.projecttype_collectionget_response_schema_data_item_type import ( + ProjecttypeCollectiongetResponseSchemaDataItemType, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="ProjecttypeCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class TypeCollectionputResponseSchemaDataItem: +class ProjecttypeCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -21,7 +23,7 @@ class TypeCollectionputResponseSchemaDataItem: displayname: Union[Unset, str] = UNSET name: Union[Unset, str] = UNSET color: Union[Unset, str] = UNSET - type: Union[Unset, TypeCollectionputResponseSchemaDataItemType] = UNSET + type: Union[Unset, ProjecttypeCollectiongetResponseSchemaDataItemType] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -87,12 +89,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: color = d.pop("color", UNSET) - type: Union[Unset, TypeCollectionputResponseSchemaDataItemType] = UNSET + type: Union[Unset, ProjecttypeCollectiongetResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = TypeCollectionputResponseSchemaDataItemType(_type) + type = ProjecttypeCollectiongetResponseSchemaDataItemType(_type) - type_collectionput_response_schema_data_item = cls( + projecttype_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -103,8 +105,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: type=type, ) - type_collectionput_response_schema_data_item.additional_properties = d - return type_collectionput_response_schema_data_item + projecttype_collectionget_response_schema_data_item.additional_properties = d + return projecttype_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_collectionput_response_schema_data_item_type.py b/rentman_api_client/models/projecttype_collectionget_response_schema_data_item_type.py similarity index 72% rename from rentman_api_client/models/type_collectionput_response_schema_data_item_type.py rename to rentman_api_client/models/projecttype_collectionget_response_schema_data_item_type.py index c7d6624..c690ee6 100644 --- a/rentman_api_client/models/type_collectionput_response_schema_data_item_type.py +++ b/rentman_api_client/models/projecttype_collectionget_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class TypeCollectionputResponseSchemaDataItemType(str, Enum): +class ProjecttypeCollectiongetResponseSchemaDataItemType(str, Enum): REGULAR = "regular" SUPPLIER = "supplier" TRANSFER = "transfer" diff --git a/rentman_api_client/models/materiaal_cat_collectionget_response_schema.py b/rentman_api_client/models/projecttype_collectionpost_response_schema.py similarity index 79% rename from rentman_api_client/models/materiaal_cat_collectionget_response_schema.py rename to rentman_api_client/models/projecttype_collectionpost_response_schema.py index ea63af2..3d85a15 100644 --- a/rentman_api_client/models/materiaal_cat_collectionget_response_schema.py +++ b/rentman_api_client/models/projecttype_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.materiaal_cat_collectionget_response_schema_data_item import ( - MateriaalCatCollectiongetResponseSchemaDataItem, +from ..models.projecttype_collectionpost_response_schema_data_item import ( + ProjecttypeCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatCollectiongetResponseSchema") +T = TypeVar("T", bound="ProjecttypeCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class MateriaalCatCollectiongetResponseSchema: +class ProjecttypeCollectionpostResponseSchema: """ """ - data: Union[Unset, List[MateriaalCatCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[ProjecttypeCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = MateriaalCatCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = ProjecttypeCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - materiaal_cat_collectionget_response_schema = cls( + projecttype_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - materiaal_cat_collectionget_response_schema.additional_properties = d - return materiaal_cat_collectionget_response_schema + projecttype_collectionpost_response_schema.additional_properties = d + return projecttype_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_collectionpost_response_schema_data_item.py b/rentman_api_client/models/projecttype_collectionpost_response_schema_data_item.py similarity index 82% rename from rentman_api_client/models/type_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/projecttype_collectionpost_response_schema_data_item.py index 39122aa..9689337 100644 --- a/rentman_api_client/models/type_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/projecttype_collectionpost_response_schema_data_item.py @@ -4,14 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.type_collectionpost_response_schema_data_item_type import TypeCollectionpostResponseSchemaDataItemType +from ..models.projecttype_collectionpost_response_schema_data_item_type import ( + ProjecttypeCollectionpostResponseSchemaDataItemType, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="ProjecttypeCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class TypeCollectionpostResponseSchemaDataItem: +class ProjecttypeCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -21,7 +23,7 @@ class TypeCollectionpostResponseSchemaDataItem: displayname: Union[Unset, str] = UNSET name: Union[Unset, str] = UNSET color: Union[Unset, str] = UNSET - type: Union[Unset, TypeCollectionpostResponseSchemaDataItemType] = UNSET + type: Union[Unset, ProjecttypeCollectionpostResponseSchemaDataItemType] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -87,12 +89,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: color = d.pop("color", UNSET) - type: Union[Unset, TypeCollectionpostResponseSchemaDataItemType] = UNSET + type: Union[Unset, ProjecttypeCollectionpostResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = TypeCollectionpostResponseSchemaDataItemType(_type) + type = ProjecttypeCollectionpostResponseSchemaDataItemType(_type) - type_collectionpost_response_schema_data_item = cls( + projecttype_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -103,8 +105,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: type=type, ) - type_collectionpost_response_schema_data_item.additional_properties = d - return type_collectionpost_response_schema_data_item + projecttype_collectionpost_response_schema_data_item.additional_properties = d + return projecttype_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_collectionpost_response_schema_data_item_type.py b/rentman_api_client/models/projecttype_collectionpost_response_schema_data_item_type.py similarity index 72% rename from rentman_api_client/models/type_collectionpost_response_schema_data_item_type.py rename to rentman_api_client/models/projecttype_collectionpost_response_schema_data_item_type.py index 1e76730..646d840 100644 --- a/rentman_api_client/models/type_collectionpost_response_schema_data_item_type.py +++ b/rentman_api_client/models/projecttype_collectionpost_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class TypeCollectionpostResponseSchemaDataItemType(str, Enum): +class ProjecttypeCollectionpostResponseSchemaDataItemType(str, Enum): REGULAR = "regular" SUPPLIER = "supplier" TRANSFER = "transfer" diff --git a/rentman_api_client/models/projecttype_collectionput_response_schema.py b/rentman_api_client/models/projecttype_collectionput_response_schema.py new file mode 100644 index 0000000..3448070 --- /dev/null +++ b/rentman_api_client/models/projecttype_collectionput_response_schema.py @@ -0,0 +1,88 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projecttype_collectionput_response_schema_data_item import ProjecttypeCollectionputResponseSchemaDataItem +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjecttypeCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjecttypeCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[ProjecttypeCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjecttypeCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projecttype_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projecttype_collectionput_response_schema.additional_properties = d + return projecttype_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/type_collectionget_response_schema_data_item.py b/rentman_api_client/models/projecttype_collectionput_response_schema_data_item.py similarity index 82% rename from rentman_api_client/models/type_collectionget_response_schema_data_item.py rename to rentman_api_client/models/projecttype_collectionput_response_schema_data_item.py index ffa4310..546a484 100644 --- a/rentman_api_client/models/type_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/projecttype_collectionput_response_schema_data_item.py @@ -4,14 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.type_collectionget_response_schema_data_item_type import TypeCollectiongetResponseSchemaDataItemType +from ..models.projecttype_collectionput_response_schema_data_item_type import ( + ProjecttypeCollectionputResponseSchemaDataItemType, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="ProjecttypeCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class TypeCollectiongetResponseSchemaDataItem: +class ProjecttypeCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -21,7 +23,7 @@ class TypeCollectiongetResponseSchemaDataItem: displayname: Union[Unset, str] = UNSET name: Union[Unset, str] = UNSET color: Union[Unset, str] = UNSET - type: Union[Unset, TypeCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, ProjecttypeCollectionputResponseSchemaDataItemType] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -87,12 +89,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: color = d.pop("color", UNSET) - type: Union[Unset, TypeCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, ProjecttypeCollectionputResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = TypeCollectiongetResponseSchemaDataItemType(_type) + type = ProjecttypeCollectionputResponseSchemaDataItemType(_type) - type_collectionget_response_schema_data_item = cls( + projecttype_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -103,8 +105,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: type=type, ) - type_collectionget_response_schema_data_item.additional_properties = d - return type_collectionget_response_schema_data_item + projecttype_collectionput_response_schema_data_item.additional_properties = d + return projecttype_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_collectionget_response_schema_data_item_type.py b/rentman_api_client/models/projecttype_collectionput_response_schema_data_item_type.py similarity index 72% rename from rentman_api_client/models/type_collectionget_response_schema_data_item_type.py rename to rentman_api_client/models/projecttype_collectionput_response_schema_data_item_type.py index dc32e9c..c26f9e2 100644 --- a/rentman_api_client/models/type_collectionget_response_schema_data_item_type.py +++ b/rentman_api_client/models/projecttype_collectionput_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class TypeCollectiongetResponseSchemaDataItemType(str, Enum): +class ProjecttypeCollectionputResponseSchemaDataItemType(str, Enum): REGULAR = "regular" SUPPLIER = "supplier" TRANSFER = "transfer" diff --git a/rentman_api_client/models/type_itemput_request_schema.py b/rentman_api_client/models/projecttype_itemget_request_schema.py similarity index 75% rename from rentman_api_client/models/type_itemput_request_schema.py rename to rentman_api_client/models/projecttype_itemget_request_schema.py index da5e803..303fcd1 100644 --- a/rentman_api_client/models/type_itemput_request_schema.py +++ b/rentman_api_client/models/projecttype_itemget_request_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.type_itemput_request_schema_type import TypeItemputRequestSchemaType +from ..models.projecttype_itemget_request_schema_type import ProjecttypeItemgetRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeItemputRequestSchema") +T = TypeVar("T", bound="ProjecttypeItemgetRequestSchema") @attr.s(auto_attribs=True) -class TypeItemputRequestSchema: +class ProjecttypeItemgetRequestSchema: """ """ name: Union[Unset, str] = UNSET color: Union[Unset, str] = UNSET - type: Union[Unset, TypeItemputRequestSchemaType] = UNSET + type: Union[Unset, ProjecttypeItemgetRequestSchemaType] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -43,19 +43,19 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: color = d.pop("color", UNSET) - type: Union[Unset, TypeItemputRequestSchemaType] = UNSET + type: Union[Unset, ProjecttypeItemgetRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = TypeItemputRequestSchemaType(_type) + type = ProjecttypeItemgetRequestSchemaType(_type) - type_itemput_request_schema = cls( + projecttype_itemget_request_schema = cls( name=name, color=color, type=type, ) - type_itemput_request_schema.additional_properties = d - return type_itemput_request_schema + projecttype_itemget_request_schema.additional_properties = d + return projecttype_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_itempost_request_schema_type.py b/rentman_api_client/models/projecttype_itemget_request_schema_type.py similarity index 77% rename from rentman_api_client/models/type_itempost_request_schema_type.py rename to rentman_api_client/models/projecttype_itemget_request_schema_type.py index ea73a79..1dcce29 100644 --- a/rentman_api_client/models/type_itempost_request_schema_type.py +++ b/rentman_api_client/models/projecttype_itemget_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class TypeItempostRequestSchemaType(str, Enum): +class ProjecttypeItemgetRequestSchemaType(str, Enum): REGULAR = "regular" SUPPLIER = "supplier" TRANSFER = "transfer" diff --git a/rentman_api_client/models/projecttype_itemget_response_schema.py b/rentman_api_client/models/projecttype_itemget_response_schema.py new file mode 100644 index 0000000..22ae966 --- /dev/null +++ b/rentman_api_client/models/projecttype_itemget_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projecttype_itemget_response_schema_data import ProjecttypeItemgetResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjecttypeItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjecttypeItemgetResponseSchema: + """ """ + + data: Union[Unset, ProjecttypeItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, ProjecttypeItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = ProjecttypeItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projecttype_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projecttype_itemget_response_schema.additional_properties = d + return projecttype_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/type_itempost_response_schema_data.py b/rentman_api_client/models/projecttype_itemget_response_schema_data.py similarity index 84% rename from rentman_api_client/models/type_itempost_response_schema_data.py rename to rentman_api_client/models/projecttype_itemget_response_schema_data.py index 0fab0c7..83900ae 100644 --- a/rentman_api_client/models/type_itempost_response_schema_data.py +++ b/rentman_api_client/models/projecttype_itemget_response_schema_data.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.type_itempost_response_schema_data_type import TypeItempostResponseSchemaDataType +from ..models.projecttype_itemget_response_schema_data_type import ProjecttypeItemgetResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeItempostResponseSchemaData") +T = TypeVar("T", bound="ProjecttypeItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class TypeItempostResponseSchemaData: +class ProjecttypeItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -21,7 +21,7 @@ class TypeItempostResponseSchemaData: displayname: Union[Unset, str] = UNSET name: Union[Unset, str] = UNSET color: Union[Unset, str] = UNSET - type: Union[Unset, TypeItempostResponseSchemaDataType] = UNSET + type: Union[Unset, ProjecttypeItemgetResponseSchemaDataType] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -87,12 +87,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: color = d.pop("color", UNSET) - type: Union[Unset, TypeItempostResponseSchemaDataType] = UNSET + type: Union[Unset, ProjecttypeItemgetResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = TypeItempostResponseSchemaDataType(_type) + type = ProjecttypeItemgetResponseSchemaDataType(_type) - type_itempost_response_schema_data = cls( + projecttype_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -103,8 +103,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: type=type, ) - type_itempost_response_schema_data.additional_properties = d - return type_itempost_response_schema_data + projecttype_itemget_response_schema_data.additional_properties = d + return projecttype_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_itemget_request_schema_type.py b/rentman_api_client/models/projecttype_itemget_response_schema_data_type.py similarity index 75% rename from rentman_api_client/models/type_itemget_request_schema_type.py rename to rentman_api_client/models/projecttype_itemget_response_schema_data_type.py index c7f96f2..5baab2b 100644 --- a/rentman_api_client/models/type_itemget_request_schema_type.py +++ b/rentman_api_client/models/projecttype_itemget_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class TypeItemgetRequestSchemaType(str, Enum): +class ProjecttypeItemgetResponseSchemaDataType(str, Enum): REGULAR = "regular" SUPPLIER = "supplier" TRANSFER = "transfer" diff --git a/rentman_api_client/models/type_itempost_request_schema.py b/rentman_api_client/models/projecttype_itempost_request_schema.py similarity index 74% rename from rentman_api_client/models/type_itempost_request_schema.py rename to rentman_api_client/models/projecttype_itempost_request_schema.py index 20da463..244ffea 100644 --- a/rentman_api_client/models/type_itempost_request_schema.py +++ b/rentman_api_client/models/projecttype_itempost_request_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.type_itempost_request_schema_type import TypeItempostRequestSchemaType +from ..models.projecttype_itempost_request_schema_type import ProjecttypeItempostRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeItempostRequestSchema") +T = TypeVar("T", bound="ProjecttypeItempostRequestSchema") @attr.s(auto_attribs=True) -class TypeItempostRequestSchema: +class ProjecttypeItempostRequestSchema: """ """ name: Union[Unset, str] = UNSET color: Union[Unset, str] = UNSET - type: Union[Unset, TypeItempostRequestSchemaType] = UNSET + type: Union[Unset, ProjecttypeItempostRequestSchemaType] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -43,19 +43,19 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: color = d.pop("color", UNSET) - type: Union[Unset, TypeItempostRequestSchemaType] = UNSET + type: Union[Unset, ProjecttypeItempostRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = TypeItempostRequestSchemaType(_type) + type = ProjecttypeItempostRequestSchemaType(_type) - type_itempost_request_schema = cls( + projecttype_itempost_request_schema = cls( name=name, color=color, type=type, ) - type_itempost_request_schema.additional_properties = d - return type_itempost_request_schema + projecttype_itempost_request_schema.additional_properties = d + return projecttype_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_itempost_response_schema_data_type.py b/rentman_api_client/models/projecttype_itempost_request_schema_type.py similarity index 76% rename from rentman_api_client/models/type_itempost_response_schema_data_type.py rename to rentman_api_client/models/projecttype_itempost_request_schema_type.py index 4d50191..86a7ab1 100644 --- a/rentman_api_client/models/type_itempost_response_schema_data_type.py +++ b/rentman_api_client/models/projecttype_itempost_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class TypeItempostResponseSchemaDataType(str, Enum): +class ProjecttypeItempostRequestSchemaType(str, Enum): REGULAR = "regular" SUPPLIER = "supplier" TRANSFER = "transfer" diff --git a/rentman_api_client/models/materiaal_cat_itemput_response_schema.py b/rentman_api_client/models/projecttype_itempost_response_schema.py similarity index 77% rename from rentman_api_client/models/materiaal_cat_itemput_response_schema.py rename to rentman_api_client/models/projecttype_itempost_response_schema.py index fe6cb81..e5ce00a 100644 --- a/rentman_api_client/models/materiaal_cat_itemput_response_schema.py +++ b/rentman_api_client/models/projecttype_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.materiaal_cat_itemput_response_schema_data import MateriaalCatItemputResponseSchemaData +from ..models.projecttype_itempost_response_schema_data import ProjecttypeItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatItemputResponseSchema") +T = TypeVar("T", bound="ProjecttypeItempostResponseSchema") @attr.s(auto_attribs=True) -class MateriaalCatItemputResponseSchema: +class ProjecttypeItempostResponseSchema: """ """ - data: Union[Unset, MateriaalCatItemputResponseSchemaData] = UNSET + data: Union[Unset, ProjecttypeItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, MateriaalCatItemputResponseSchemaData] = UNSET + data: Union[Unset, ProjecttypeItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = MateriaalCatItemputResponseSchemaData.from_dict(_data) + data = ProjecttypeItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - materiaal_cat_itemput_response_schema = cls( + projecttype_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - materiaal_cat_itemput_response_schema.additional_properties = d - return materiaal_cat_itemput_response_schema + projecttype_itempost_response_schema.additional_properties = d + return projecttype_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_itemput_response_schema_data.py b/rentman_api_client/models/projecttype_itempost_response_schema_data.py similarity index 84% rename from rentman_api_client/models/type_itemput_response_schema_data.py rename to rentman_api_client/models/projecttype_itempost_response_schema_data.py index 20ce4b5..3398410 100644 --- a/rentman_api_client/models/type_itemput_response_schema_data.py +++ b/rentman_api_client/models/projecttype_itempost_response_schema_data.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.type_itemput_response_schema_data_type import TypeItemputResponseSchemaDataType +from ..models.projecttype_itempost_response_schema_data_type import ProjecttypeItempostResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeItemputResponseSchemaData") +T = TypeVar("T", bound="ProjecttypeItempostResponseSchemaData") @attr.s(auto_attribs=True) -class TypeItemputResponseSchemaData: +class ProjecttypeItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -21,7 +21,7 @@ class TypeItemputResponseSchemaData: displayname: Union[Unset, str] = UNSET name: Union[Unset, str] = UNSET color: Union[Unset, str] = UNSET - type: Union[Unset, TypeItemputResponseSchemaDataType] = UNSET + type: Union[Unset, ProjecttypeItempostResponseSchemaDataType] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -87,12 +87,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: color = d.pop("color", UNSET) - type: Union[Unset, TypeItemputResponseSchemaDataType] = UNSET + type: Union[Unset, ProjecttypeItempostResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = TypeItemputResponseSchemaDataType(_type) + type = ProjecttypeItempostResponseSchemaDataType(_type) - type_itemput_response_schema_data = cls( + projecttype_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -103,8 +103,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: type=type, ) - type_itemput_response_schema_data.additional_properties = d - return type_itemput_response_schema_data + projecttype_itempost_response_schema_data.additional_properties = d + return projecttype_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projecttype_itempost_response_schema_data_type.py b/rentman_api_client/models/projecttype_itempost_response_schema_data_type.py new file mode 100644 index 0000000..7d90f7e --- /dev/null +++ b/rentman_api_client/models/projecttype_itempost_response_schema_data_type.py @@ -0,0 +1,11 @@ +from enum import Enum + + +class ProjecttypeItempostResponseSchemaDataType(str, Enum): + REGULAR = "regular" + SUPPLIER = "supplier" + TRANSFER = "transfer" + SHIFTS = "shifts" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/type_itemget_request_schema.py b/rentman_api_client/models/projecttype_itemput_request_schema.py similarity index 75% rename from rentman_api_client/models/type_itemget_request_schema.py rename to rentman_api_client/models/projecttype_itemput_request_schema.py index 3aab553..a40c496 100644 --- a/rentman_api_client/models/type_itemget_request_schema.py +++ b/rentman_api_client/models/projecttype_itemput_request_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.type_itemget_request_schema_type import TypeItemgetRequestSchemaType +from ..models.projecttype_itemput_request_schema_type import ProjecttypeItemputRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeItemgetRequestSchema") +T = TypeVar("T", bound="ProjecttypeItemputRequestSchema") @attr.s(auto_attribs=True) -class TypeItemgetRequestSchema: +class ProjecttypeItemputRequestSchema: """ """ name: Union[Unset, str] = UNSET color: Union[Unset, str] = UNSET - type: Union[Unset, TypeItemgetRequestSchemaType] = UNSET + type: Union[Unset, ProjecttypeItemputRequestSchemaType] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -43,19 +43,19 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: color = d.pop("color", UNSET) - type: Union[Unset, TypeItemgetRequestSchemaType] = UNSET + type: Union[Unset, ProjecttypeItemputRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = TypeItemgetRequestSchemaType(_type) + type = ProjecttypeItemputRequestSchemaType(_type) - type_itemget_request_schema = cls( + projecttype_itemput_request_schema = cls( name=name, color=color, type=type, ) - type_itemget_request_schema.additional_properties = d - return type_itemget_request_schema + projecttype_itemput_request_schema.additional_properties = d + return projecttype_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_itemget_response_schema_data_type.py b/rentman_api_client/models/projecttype_itemput_request_schema_type.py similarity index 77% rename from rentman_api_client/models/type_itemget_response_schema_data_type.py rename to rentman_api_client/models/projecttype_itemput_request_schema_type.py index cd633b6..3987bb2 100644 --- a/rentman_api_client/models/type_itemget_response_schema_data_type.py +++ b/rentman_api_client/models/projecttype_itemput_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class TypeItemgetResponseSchemaDataType(str, Enum): +class ProjecttypeItemputRequestSchemaType(str, Enum): REGULAR = "regular" SUPPLIER = "supplier" TRANSFER = "transfer" diff --git a/rentman_api_client/models/projecttype_itemput_response_schema.py b/rentman_api_client/models/projecttype_itemput_response_schema.py new file mode 100644 index 0000000..d72d6a8 --- /dev/null +++ b/rentman_api_client/models/projecttype_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projecttype_itemput_response_schema_data import ProjecttypeItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjecttypeItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjecttypeItemputResponseSchema: + """ """ + + data: Union[Unset, ProjecttypeItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, ProjecttypeItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = ProjecttypeItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projecttype_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projecttype_itemput_response_schema.additional_properties = d + return projecttype_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/type_itemget_response_schema_data.py b/rentman_api_client/models/projecttype_itemput_response_schema_data.py similarity index 84% rename from rentman_api_client/models/type_itemget_response_schema_data.py rename to rentman_api_client/models/projecttype_itemput_response_schema_data.py index 4b55203..50b390f 100644 --- a/rentman_api_client/models/type_itemget_response_schema_data.py +++ b/rentman_api_client/models/projecttype_itemput_response_schema_data.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.type_itemget_response_schema_data_type import TypeItemgetResponseSchemaDataType +from ..models.projecttype_itemput_response_schema_data_type import ProjecttypeItemputResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeItemgetResponseSchemaData") +T = TypeVar("T", bound="ProjecttypeItemputResponseSchemaData") @attr.s(auto_attribs=True) -class TypeItemgetResponseSchemaData: +class ProjecttypeItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -21,7 +21,7 @@ class TypeItemgetResponseSchemaData: displayname: Union[Unset, str] = UNSET name: Union[Unset, str] = UNSET color: Union[Unset, str] = UNSET - type: Union[Unset, TypeItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, ProjecttypeItemputResponseSchemaDataType] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -87,12 +87,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: color = d.pop("color", UNSET) - type: Union[Unset, TypeItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, ProjecttypeItemputResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = TypeItemgetResponseSchemaDataType(_type) + type = ProjecttypeItemputResponseSchemaDataType(_type) - type_itemget_response_schema_data = cls( + projecttype_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -103,8 +103,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: type=type, ) - type_itemget_response_schema_data.additional_properties = d - return type_itemget_response_schema_data + projecttype_itemput_response_schema_data.additional_properties = d + return projecttype_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projecttype_itemput_response_schema_data_type.py b/rentman_api_client/models/projecttype_itemput_response_schema_data_type.py new file mode 100644 index 0000000..84fec05 --- /dev/null +++ b/rentman_api_client/models/projecttype_itemput_response_schema_data_type.py @@ -0,0 +1,11 @@ +from enum import Enum + + +class ProjecttypeItemputResponseSchemaDataType(str, Enum): + REGULAR = "regular" + SUPPLIER = "supplier" + TRANSFER = "transfer" + SHIFTS = "shifts" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/projectvehicle_collectionget_response_schema.py b/rentman_api_client/models/projectvehicle_collectionget_response_schema.py new file mode 100644 index 0000000..15b229b --- /dev/null +++ b/rentman_api_client/models/projectvehicle_collectionget_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectvehicle_collectionget_response_schema_data_item import ( + ProjectvehicleCollectiongetResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectvehicleCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectvehicleCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[ProjectvehicleCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjectvehicleCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectvehicle_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectvehicle_collectionget_response_schema.additional_properties = d + return projectvehicle_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item.py b/rentman_api_client/models/projectvehicle_collectionget_response_schema_data_item.py similarity index 83% rename from rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/projectvehicle_collectionget_response_schema_data_item.py index 10f06eb..b0fd9e6 100644 --- a/rentman_api_client/models/planningtransport_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/projectvehicle_collectionget_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.planningtransport_collectionpost_response_schema_data_item_custom import ( - PlanningtransportCollectionpostResponseSchemaDataItemCustom, +from ..models.projectvehicle_collectionget_response_schema_data_item_custom import ( + ProjectvehicleCollectiongetResponseSchemaDataItemCustom, ) -from ..models.planningtransport_collectionpost_response_schema_data_item_transport import ( - PlanningtransportCollectionpostResponseSchemaDataItemTransport, +from ..models.projectvehicle_collectionget_response_schema_data_item_transport import ( + ProjectvehicleCollectiongetResponseSchemaDataItemTransport, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningtransportCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="ProjectvehicleCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class PlanningtransportCollectionpostResponseSchemaDataItem: +class ProjectvehicleCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -26,14 +26,14 @@ class PlanningtransportCollectionpostResponseSchemaDataItem: displayname: Union[Unset, str] = UNSET cost_rate: Union[Unset, None, str] = UNSET function: Union[Unset, str] = UNSET - transport: Union[Unset, PlanningtransportCollectionpostResponseSchemaDataItemTransport] = UNSET + transport: Union[Unset, ProjectvehicleCollectiongetResponseSchemaDataItemTransport] = UNSET vehicle: Union[Unset, str] = UNSET planningperiod_start: Union[Unset, None, datetime.datetime] = UNSET planningperiod_end: Union[Unset, None, datetime.datetime] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET costs: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningtransportCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectvehicleCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -129,10 +129,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: function = d.pop("function", UNSET) - transport: Union[Unset, PlanningtransportCollectionpostResponseSchemaDataItemTransport] = UNSET + transport: Union[Unset, ProjectvehicleCollectiongetResponseSchemaDataItemTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningtransportCollectionpostResponseSchemaDataItemTransport(_transport) + transport = ProjectvehicleCollectiongetResponseSchemaDataItemTransport(_transport) vehicle = d.pop("vehicle", UNSET) @@ -152,12 +152,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: costs = d.pop("costs", UNSET) - custom: Union[Unset, PlanningtransportCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectvehicleCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningtransportCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) + custom = ProjectvehicleCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - planningtransport_collectionpost_response_schema_data_item = cls( + projectvehicle_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -175,8 +175,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningtransport_collectionpost_response_schema_data_item.additional_properties = d - return planningtransport_collectionpost_response_schema_data_item + projectvehicle_collectionget_response_schema_data_item.additional_properties = d + return projectvehicle_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningtransport_itemput_request_schema_custom.py b/rentman_api_client/models/projectvehicle_collectionget_response_schema_data_item_custom.py similarity index 76% rename from rentman_api_client/models/planningtransport_itemput_request_schema_custom.py rename to rentman_api_client/models/projectvehicle_collectionget_response_schema_data_item_custom.py index abe225f..fba7f98 100644 --- a/rentman_api_client/models/planningtransport_itemput_request_schema_custom.py +++ b/rentman_api_client/models/projectvehicle_collectionget_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningtransportItemputRequestSchemaCustom") +T = TypeVar("T", bound="ProjectvehicleCollectiongetResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class PlanningtransportItemputRequestSchemaCustom: +class ProjectvehicleCollectiongetResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningtransport_itemput_request_schema_custom = cls() + projectvehicle_collectionget_response_schema_data_item_custom = cls() - planningtransport_itemput_request_schema_custom.additional_properties = d - return planningtransport_itemput_request_schema_custom + projectvehicle_collectionget_response_schema_data_item_custom.additional_properties = d + return projectvehicle_collectionget_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningtransport_itempost_response_schema_data_transport.py b/rentman_api_client/models/projectvehicle_collectionget_response_schema_data_item_transport.py similarity index 74% rename from rentman_api_client/models/planningtransport_itempost_response_schema_data_transport.py rename to rentman_api_client/models/projectvehicle_collectionget_response_schema_data_item_transport.py index fdbb791..e5d3f63 100644 --- a/rentman_api_client/models/planningtransport_itempost_response_schema_data_transport.py +++ b/rentman_api_client/models/projectvehicle_collectionget_response_schema_data_item_transport.py @@ -1,7 +1,7 @@ from enum import Enum -class PlanningtransportItempostResponseSchemaDataTransport(str, Enum): +class ProjectvehicleCollectiongetResponseSchemaDataItemTransport(str, Enum): NO_TRANSPORT = "No transport" ROUND_TRIP = "Round trip" ONLY_WAY_THERE = "Only way there" diff --git a/rentman_api_client/models/beschikbaarheid_collectionget_response_schema.py b/rentman_api_client/models/projectvehicle_collectionpost_response_schema.py similarity index 80% rename from rentman_api_client/models/beschikbaarheid_collectionget_response_schema.py rename to rentman_api_client/models/projectvehicle_collectionpost_response_schema.py index 3aa23a4..a9d1572 100644 --- a/rentman_api_client/models/beschikbaarheid_collectionget_response_schema.py +++ b/rentman_api_client/models/projectvehicle_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.beschikbaarheid_collectionget_response_schema_data_item import ( - BeschikbaarheidCollectiongetResponseSchemaDataItem, +from ..models.projectvehicle_collectionpost_response_schema_data_item import ( + ProjectvehicleCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidCollectiongetResponseSchema") +T = TypeVar("T", bound="ProjectvehicleCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class BeschikbaarheidCollectiongetResponseSchema: +class ProjectvehicleCollectionpostResponseSchema: """ """ - data: Union[Unset, List[BeschikbaarheidCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[ProjectvehicleCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = BeschikbaarheidCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = ProjectvehicleCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - beschikbaarheid_collectionget_response_schema = cls( + projectvehicle_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - beschikbaarheid_collectionget_response_schema.additional_properties = d - return beschikbaarheid_collectionget_response_schema + projectvehicle_collectionpost_response_schema.additional_properties = d + return projectvehicle_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningtransport_collectionget_response_schema_data_item.py b/rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item.py similarity index 83% rename from rentman_api_client/models/planningtransport_collectionget_response_schema_data_item.py rename to rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item.py index 64d6d72..e08aa43 100644 --- a/rentman_api_client/models/planningtransport_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.planningtransport_collectionget_response_schema_data_item_custom import ( - PlanningtransportCollectiongetResponseSchemaDataItemCustom, +from ..models.projectvehicle_collectionpost_response_schema_data_item_custom import ( + ProjectvehicleCollectionpostResponseSchemaDataItemCustom, ) -from ..models.planningtransport_collectionget_response_schema_data_item_transport import ( - PlanningtransportCollectiongetResponseSchemaDataItemTransport, +from ..models.projectvehicle_collectionpost_response_schema_data_item_transport import ( + ProjectvehicleCollectionpostResponseSchemaDataItemTransport, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningtransportCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="ProjectvehicleCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class PlanningtransportCollectiongetResponseSchemaDataItem: +class ProjectvehicleCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -26,14 +26,14 @@ class PlanningtransportCollectiongetResponseSchemaDataItem: displayname: Union[Unset, str] = UNSET cost_rate: Union[Unset, None, str] = UNSET function: Union[Unset, str] = UNSET - transport: Union[Unset, PlanningtransportCollectiongetResponseSchemaDataItemTransport] = UNSET + transport: Union[Unset, ProjectvehicleCollectionpostResponseSchemaDataItemTransport] = UNSET vehicle: Union[Unset, str] = UNSET planningperiod_start: Union[Unset, None, datetime.datetime] = UNSET planningperiod_end: Union[Unset, None, datetime.datetime] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET costs: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningtransportCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectvehicleCollectionpostResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -129,10 +129,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: function = d.pop("function", UNSET) - transport: Union[Unset, PlanningtransportCollectiongetResponseSchemaDataItemTransport] = UNSET + transport: Union[Unset, ProjectvehicleCollectionpostResponseSchemaDataItemTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningtransportCollectiongetResponseSchemaDataItemTransport(_transport) + transport = ProjectvehicleCollectionpostResponseSchemaDataItemTransport(_transport) vehicle = d.pop("vehicle", UNSET) @@ -152,12 +152,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: costs = d.pop("costs", UNSET) - custom: Union[Unset, PlanningtransportCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, ProjectvehicleCollectionpostResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningtransportCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = ProjectvehicleCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - planningtransport_collectionget_response_schema_data_item = cls( + projectvehicle_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -175,8 +175,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningtransport_collectionget_response_schema_data_item.additional_properties = d - return planningtransport_collectionget_response_schema_data_item + projectvehicle_collectionpost_response_schema_data_item.additional_properties = d + return projectvehicle_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item_custom.py new file mode 100644 index 0000000..86e4742 --- /dev/null +++ b/rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectvehicleCollectionpostResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class ProjectvehicleCollectionpostResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectvehicle_collectionpost_response_schema_data_item_custom = cls() + + projectvehicle_collectionpost_response_schema_data_item_custom.additional_properties = d + return projectvehicle_collectionpost_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item_transport.py b/rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item_transport.py new file mode 100644 index 0000000..a6816fe --- /dev/null +++ b/rentman_api_client/models/projectvehicle_collectionpost_response_schema_data_item_transport.py @@ -0,0 +1,11 @@ +from enum import Enum + + +class ProjectvehicleCollectionpostResponseSchemaDataItemTransport(str, Enum): + NO_TRANSPORT = "No transport" + ROUND_TRIP = "Round trip" + ONLY_WAY_THERE = "Only way there" + ONLY_WAY_BACK = "Only way back" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/projectvehicle_collectionput_response_schema.py b/rentman_api_client/models/projectvehicle_collectionput_response_schema.py new file mode 100644 index 0000000..0dffa7f --- /dev/null +++ b/rentman_api_client/models/projectvehicle_collectionput_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectvehicle_collectionput_response_schema_data_item import ( + ProjectvehicleCollectionputResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectvehicleCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectvehicleCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[ProjectvehicleCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = ProjectvehicleCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectvehicle_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectvehicle_collectionput_response_schema.additional_properties = d + return projectvehicle_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item.py b/rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item.py new file mode 100644 index 0000000..8ec41be --- /dev/null +++ b/rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item.py @@ -0,0 +1,195 @@ +import datetime +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr +from dateutil.parser import isoparse + +from ..models.projectvehicle_collectionput_response_schema_data_item_custom import ( + ProjectvehicleCollectionputResponseSchemaDataItemCustom, +) +from ..models.projectvehicle_collectionput_response_schema_data_item_transport import ( + ProjectvehicleCollectionputResponseSchemaDataItemTransport, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectvehicleCollectionputResponseSchemaDataItem") + + +@attr.s(auto_attribs=True) +class ProjectvehicleCollectionputResponseSchemaDataItem: + """ """ + + id: Union[Unset, int] = UNSET + created: Union[Unset, None, datetime.datetime] = UNSET + modified: Union[Unset, None, datetime.datetime] = UNSET + creator: Union[Unset, None, str] = UNSET + displayname: Union[Unset, str] = UNSET + cost_rate: Union[Unset, None, str] = UNSET + function: Union[Unset, str] = UNSET + transport: Union[Unset, ProjectvehicleCollectionputResponseSchemaDataItemTransport] = UNSET + vehicle: Union[Unset, str] = UNSET + planningperiod_start: Union[Unset, None, datetime.datetime] = UNSET + planningperiod_end: Union[Unset, None, datetime.datetime] = UNSET + remark: Union[Unset, str] = UNSET + remark_planner: Union[Unset, str] = UNSET + costs: Union[Unset, float] = UNSET + custom: Union[Unset, ProjectvehicleCollectionputResponseSchemaDataItemCustom] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + id = self.id + created: Union[Unset, None, str] = UNSET + if not isinstance(self.created, Unset): + created = self.created.isoformat() if self.created else None + + modified: Union[Unset, None, str] = UNSET + if not isinstance(self.modified, Unset): + modified = self.modified.isoformat() if self.modified else None + + creator = self.creator + displayname = self.displayname + cost_rate = self.cost_rate + function = self.function + transport: Union[Unset, str] = UNSET + if not isinstance(self.transport, Unset): + transport = self.transport.value + + vehicle = self.vehicle + planningperiod_start: Union[Unset, None, str] = UNSET + if not isinstance(self.planningperiod_start, Unset): + planningperiod_start = self.planningperiod_start.isoformat() if self.planningperiod_start else None + + planningperiod_end: Union[Unset, None, str] = UNSET + if not isinstance(self.planningperiod_end, Unset): + planningperiod_end = self.planningperiod_end.isoformat() if self.planningperiod_end else None + + remark = self.remark + remark_planner = self.remark_planner + costs = self.costs + custom: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.custom, Unset): + custom = self.custom.to_dict() + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if id is not UNSET: + field_dict["id"] = id + if created is not UNSET: + field_dict["created"] = created + if modified is not UNSET: + field_dict["modified"] = modified + if creator is not UNSET: + field_dict["creator"] = creator + if displayname is not UNSET: + field_dict["displayname"] = displayname + if cost_rate is not UNSET: + field_dict["cost_rate"] = cost_rate + if function is not UNSET: + field_dict["function"] = function + if transport is not UNSET: + field_dict["transport"] = transport + if vehicle is not UNSET: + field_dict["vehicle"] = vehicle + if planningperiod_start is not UNSET: + field_dict["planningperiod_start"] = planningperiod_start + if planningperiod_end is not UNSET: + field_dict["planningperiod_end"] = planningperiod_end + if remark is not UNSET: + field_dict["remark"] = remark + if remark_planner is not UNSET: + field_dict["remark_planner"] = remark_planner + if costs is not UNSET: + field_dict["costs"] = costs + if custom is not UNSET: + field_dict["custom"] = custom + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + id = d.pop("id", UNSET) + + created = None + _created = d.pop("created", UNSET) + if _created is not None and not isinstance(_created, Unset): + created = isoparse(_created) + + modified = None + _modified = d.pop("modified", UNSET) + if _modified is not None and not isinstance(_modified, Unset): + modified = isoparse(_modified) + + creator = d.pop("creator", UNSET) + + displayname = d.pop("displayname", UNSET) + + cost_rate = d.pop("cost_rate", UNSET) + + function = d.pop("function", UNSET) + + transport: Union[Unset, ProjectvehicleCollectionputResponseSchemaDataItemTransport] = UNSET + _transport = d.pop("transport", UNSET) + if not isinstance(_transport, Unset): + transport = ProjectvehicleCollectionputResponseSchemaDataItemTransport(_transport) + + vehicle = d.pop("vehicle", UNSET) + + planningperiod_start = None + _planningperiod_start = d.pop("planningperiod_start", UNSET) + if _planningperiod_start is not None and not isinstance(_planningperiod_start, Unset): + planningperiod_start = isoparse(_planningperiod_start) + + planningperiod_end = None + _planningperiod_end = d.pop("planningperiod_end", UNSET) + if _planningperiod_end is not None and not isinstance(_planningperiod_end, Unset): + planningperiod_end = isoparse(_planningperiod_end) + + remark = d.pop("remark", UNSET) + + remark_planner = d.pop("remark_planner", UNSET) + + costs = d.pop("costs", UNSET) + + custom: Union[Unset, ProjectvehicleCollectionputResponseSchemaDataItemCustom] = UNSET + _custom = d.pop("custom", UNSET) + if not isinstance(_custom, Unset): + custom = ProjectvehicleCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + + projectvehicle_collectionput_response_schema_data_item = cls( + id=id, + created=created, + modified=modified, + creator=creator, + displayname=displayname, + cost_rate=cost_rate, + function=function, + transport=transport, + vehicle=vehicle, + planningperiod_start=planningperiod_start, + planningperiod_end=planningperiod_end, + remark=remark, + remark_planner=remark_planner, + costs=costs, + custom=custom, + ) + + projectvehicle_collectionput_response_schema_data_item.additional_properties = d + return projectvehicle_collectionput_response_schema_data_item + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item_custom.py similarity index 80% rename from rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item_custom.py rename to rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item_custom.py index 72a2d50..dc353c2 100644 --- a/rentman_api_client/models/planningpersoneel_collectionput_response_schema_data_item_custom.py +++ b/rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningpersoneelCollectionputResponseSchemaDataItemCustom") +T = TypeVar("T", bound="ProjectvehicleCollectionputResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class PlanningpersoneelCollectionputResponseSchemaDataItemCustom: +class ProjectvehicleCollectionputResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningpersoneel_collectionput_response_schema_data_item_custom = cls() + projectvehicle_collectionput_response_schema_data_item_custom = cls() - planningpersoneel_collectionput_response_schema_data_item_custom.additional_properties = d - return planningpersoneel_collectionput_response_schema_data_item_custom + projectvehicle_collectionput_response_schema_data_item_custom.additional_properties = d + return projectvehicle_collectionput_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item_transport.py b/rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item_transport.py new file mode 100644 index 0000000..cb548b6 --- /dev/null +++ b/rentman_api_client/models/projectvehicle_collectionput_response_schema_data_item_transport.py @@ -0,0 +1,11 @@ +from enum import Enum + + +class ProjectvehicleCollectionputResponseSchemaDataItemTransport(str, Enum): + NO_TRANSPORT = "No transport" + ROUND_TRIP = "Round trip" + ONLY_WAY_THERE = "Only way there" + ONLY_WAY_BACK = "Only way back" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/planningtransport_itempost_request_schema.py b/rentman_api_client/models/projectvehicle_itemget_request_schema.py similarity index 80% rename from rentman_api_client/models/planningtransport_itempost_request_schema.py rename to rentman_api_client/models/projectvehicle_itemget_request_schema.py index 14b7491..81046cf 100644 --- a/rentman_api_client/models/planningtransport_itempost_request_schema.py +++ b/rentman_api_client/models/projectvehicle_itemget_request_schema.py @@ -4,25 +4,25 @@ import attr from dateutil.parser import isoparse -from ..models.planningtransport_itempost_request_schema_custom import PlanningtransportItempostRequestSchemaCustom -from ..models.planningtransport_itempost_request_schema_transport import PlanningtransportItempostRequestSchemaTransport +from ..models.projectvehicle_itemget_request_schema_custom import ProjectvehicleItemgetRequestSchemaCustom +from ..models.projectvehicle_itemget_request_schema_transport import ProjectvehicleItemgetRequestSchemaTransport from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningtransportItempostRequestSchema") +T = TypeVar("T", bound="ProjectvehicleItemgetRequestSchema") @attr.s(auto_attribs=True) -class PlanningtransportItempostRequestSchema: +class ProjectvehicleItemgetRequestSchema: """ """ vehicle: str cost_rate: Union[Unset, None, str] = UNSET - transport: Union[Unset, PlanningtransportItempostRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectvehicleItemgetRequestSchemaTransport] = UNSET planningperiod_start: Union[Unset, None, datetime.datetime] = UNSET planningperiod_end: Union[Unset, None, datetime.datetime] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET - custom: Union[Unset, PlanningtransportItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectvehicleItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -77,10 +77,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: cost_rate = d.pop("cost_rate", UNSET) - transport: Union[Unset, PlanningtransportItempostRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectvehicleItemgetRequestSchemaTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningtransportItempostRequestSchemaTransport(_transport) + transport = ProjectvehicleItemgetRequestSchemaTransport(_transport) planningperiod_start = None _planningperiod_start = d.pop("planningperiod_start", UNSET) @@ -96,12 +96,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark_planner = d.pop("remark_planner", UNSET) - custom: Union[Unset, PlanningtransportItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectvehicleItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningtransportItempostRequestSchemaCustom.from_dict(_custom) + custom = ProjectvehicleItemgetRequestSchemaCustom.from_dict(_custom) - planningtransport_itempost_request_schema = cls( + projectvehicle_itemget_request_schema = cls( vehicle=vehicle, cost_rate=cost_rate, transport=transport, @@ -112,8 +112,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningtransport_itempost_request_schema.additional_properties = d - return planningtransport_itempost_request_schema + projectvehicle_itemget_request_schema.additional_properties = d + return projectvehicle_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectvehicle_itemget_request_schema_custom.py b/rentman_api_client/models/projectvehicle_itemget_request_schema_custom.py new file mode 100644 index 0000000..99cbd52 --- /dev/null +++ b/rentman_api_client/models/projectvehicle_itemget_request_schema_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectvehicleItemgetRequestSchemaCustom") + + +@attr.s(auto_attribs=True) +class ProjectvehicleItemgetRequestSchemaCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectvehicle_itemget_request_schema_custom = cls() + + projectvehicle_itemget_request_schema_custom.additional_properties = d + return projectvehicle_itemget_request_schema_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itemput_request_schema_transport.py b/rentman_api_client/models/projectvehicle_itemget_request_schema_transport.py similarity index 77% rename from rentman_api_client/models/planningtransport_itemput_request_schema_transport.py rename to rentman_api_client/models/projectvehicle_itemget_request_schema_transport.py index aecf816..c3ab81f 100644 --- a/rentman_api_client/models/planningtransport_itemput_request_schema_transport.py +++ b/rentman_api_client/models/projectvehicle_itemget_request_schema_transport.py @@ -1,7 +1,7 @@ from enum import Enum -class PlanningtransportItemputRequestSchemaTransport(str, Enum): +class ProjectvehicleItemgetRequestSchemaTransport(str, Enum): NO_TRANSPORT = "No transport" ROUND_TRIP = "Round trip" ONLY_WAY_THERE = "Only way there" diff --git a/rentman_api_client/models/projectvehicle_itemget_response_schema.py b/rentman_api_client/models/projectvehicle_itemget_response_schema.py new file mode 100644 index 0000000..4242b1f --- /dev/null +++ b/rentman_api_client/models/projectvehicle_itemget_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectvehicle_itemget_response_schema_data import ProjectvehicleItemgetResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectvehicleItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectvehicleItemgetResponseSchema: + """ """ + + data: Union[Unset, ProjectvehicleItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, ProjectvehicleItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = ProjectvehicleItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectvehicle_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectvehicle_itemget_response_schema.additional_properties = d + return projectvehicle_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itempost_response_schema_data.py b/rentman_api_client/models/projectvehicle_itemget_response_schema_data.py similarity index 85% rename from rentman_api_client/models/planningtransport_itempost_response_schema_data.py rename to rentman_api_client/models/projectvehicle_itemget_response_schema_data.py index 71bccbc..b6669fe 100644 --- a/rentman_api_client/models/planningtransport_itempost_response_schema_data.py +++ b/rentman_api_client/models/projectvehicle_itemget_response_schema_data.py @@ -4,19 +4,17 @@ import attr from dateutil.parser import isoparse -from ..models.planningtransport_itempost_response_schema_data_custom import ( - PlanningtransportItempostResponseSchemaDataCustom, -) -from ..models.planningtransport_itempost_response_schema_data_transport import ( - PlanningtransportItempostResponseSchemaDataTransport, +from ..models.projectvehicle_itemget_response_schema_data_custom import ProjectvehicleItemgetResponseSchemaDataCustom +from ..models.projectvehicle_itemget_response_schema_data_transport import ( + ProjectvehicleItemgetResponseSchemaDataTransport, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningtransportItempostResponseSchemaData") +T = TypeVar("T", bound="ProjectvehicleItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class PlanningtransportItempostResponseSchemaData: +class ProjectvehicleItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -26,14 +24,14 @@ class PlanningtransportItempostResponseSchemaData: displayname: Union[Unset, str] = UNSET cost_rate: Union[Unset, None, str] = UNSET function: Union[Unset, str] = UNSET - transport: Union[Unset, PlanningtransportItempostResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectvehicleItemgetResponseSchemaDataTransport] = UNSET vehicle: Union[Unset, str] = UNSET planningperiod_start: Union[Unset, None, datetime.datetime] = UNSET planningperiod_end: Union[Unset, None, datetime.datetime] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET costs: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningtransportItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectvehicleItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -129,10 +127,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: function = d.pop("function", UNSET) - transport: Union[Unset, PlanningtransportItempostResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectvehicleItemgetResponseSchemaDataTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningtransportItempostResponseSchemaDataTransport(_transport) + transport = ProjectvehicleItemgetResponseSchemaDataTransport(_transport) vehicle = d.pop("vehicle", UNSET) @@ -152,12 +150,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: costs = d.pop("costs", UNSET) - custom: Union[Unset, PlanningtransportItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectvehicleItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningtransportItempostResponseSchemaDataCustom.from_dict(_custom) + custom = ProjectvehicleItemgetResponseSchemaDataCustom.from_dict(_custom) - planningtransport_itempost_response_schema_data = cls( + projectvehicle_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -175,8 +173,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningtransport_itempost_response_schema_data.additional_properties = d - return planningtransport_itempost_response_schema_data + projectvehicle_itemget_response_schema_data.additional_properties = d + return projectvehicle_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectvehicle_itemget_response_schema_data_custom.py b/rentman_api_client/models/projectvehicle_itemget_response_schema_data_custom.py new file mode 100644 index 0000000..65be612 --- /dev/null +++ b/rentman_api_client/models/projectvehicle_itemget_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectvehicleItemgetResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class ProjectvehicleItemgetResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectvehicle_itemget_response_schema_data_custom = cls() + + projectvehicle_itemget_response_schema_data_custom.additional_properties = d + return projectvehicle_itemget_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itemget_response_schema_data_transport.py b/rentman_api_client/models/projectvehicle_itemget_response_schema_data_transport.py similarity index 76% rename from rentman_api_client/models/planningtransport_itemget_response_schema_data_transport.py rename to rentman_api_client/models/projectvehicle_itemget_response_schema_data_transport.py index 31fc7b4..edcaca4 100644 --- a/rentman_api_client/models/planningtransport_itemget_response_schema_data_transport.py +++ b/rentman_api_client/models/projectvehicle_itemget_response_schema_data_transport.py @@ -1,7 +1,7 @@ from enum import Enum -class PlanningtransportItemgetResponseSchemaDataTransport(str, Enum): +class ProjectvehicleItemgetResponseSchemaDataTransport(str, Enum): NO_TRANSPORT = "No transport" ROUND_TRIP = "Round trip" ONLY_WAY_THERE = "Only way there" diff --git a/rentman_api_client/models/planningtransport_itemget_request_schema.py b/rentman_api_client/models/projectvehicle_itempost_request_schema.py similarity index 80% rename from rentman_api_client/models/planningtransport_itemget_request_schema.py rename to rentman_api_client/models/projectvehicle_itempost_request_schema.py index 88077d5..7fd0d7b 100644 --- a/rentman_api_client/models/planningtransport_itemget_request_schema.py +++ b/rentman_api_client/models/projectvehicle_itempost_request_schema.py @@ -4,25 +4,25 @@ import attr from dateutil.parser import isoparse -from ..models.planningtransport_itemget_request_schema_custom import PlanningtransportItemgetRequestSchemaCustom -from ..models.planningtransport_itemget_request_schema_transport import PlanningtransportItemgetRequestSchemaTransport +from ..models.projectvehicle_itempost_request_schema_custom import ProjectvehicleItempostRequestSchemaCustom +from ..models.projectvehicle_itempost_request_schema_transport import ProjectvehicleItempostRequestSchemaTransport from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningtransportItemgetRequestSchema") +T = TypeVar("T", bound="ProjectvehicleItempostRequestSchema") @attr.s(auto_attribs=True) -class PlanningtransportItemgetRequestSchema: +class ProjectvehicleItempostRequestSchema: """ """ vehicle: str cost_rate: Union[Unset, None, str] = UNSET - transport: Union[Unset, PlanningtransportItemgetRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectvehicleItempostRequestSchemaTransport] = UNSET planningperiod_start: Union[Unset, None, datetime.datetime] = UNSET planningperiod_end: Union[Unset, None, datetime.datetime] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET - custom: Union[Unset, PlanningtransportItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectvehicleItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -77,10 +77,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: cost_rate = d.pop("cost_rate", UNSET) - transport: Union[Unset, PlanningtransportItemgetRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectvehicleItempostRequestSchemaTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningtransportItemgetRequestSchemaTransport(_transport) + transport = ProjectvehicleItempostRequestSchemaTransport(_transport) planningperiod_start = None _planningperiod_start = d.pop("planningperiod_start", UNSET) @@ -96,12 +96,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark_planner = d.pop("remark_planner", UNSET) - custom: Union[Unset, PlanningtransportItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectvehicleItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningtransportItemgetRequestSchemaCustom.from_dict(_custom) + custom = ProjectvehicleItempostRequestSchemaCustom.from_dict(_custom) - planningtransport_itemget_request_schema = cls( + projectvehicle_itempost_request_schema = cls( vehicle=vehicle, cost_rate=cost_rate, transport=transport, @@ -112,8 +112,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningtransport_itemget_request_schema.additional_properties = d - return planningtransport_itemget_request_schema + projectvehicle_itempost_request_schema.additional_properties = d + return projectvehicle_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectvehicle_itempost_request_schema_custom.py b/rentman_api_client/models/projectvehicle_itempost_request_schema_custom.py new file mode 100644 index 0000000..871aacb --- /dev/null +++ b/rentman_api_client/models/projectvehicle_itempost_request_schema_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectvehicleItempostRequestSchemaCustom") + + +@attr.s(auto_attribs=True) +class ProjectvehicleItempostRequestSchemaCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectvehicle_itempost_request_schema_custom = cls() + + projectvehicle_itempost_request_schema_custom.additional_properties = d + return projectvehicle_itempost_request_schema_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itemget_request_schema_transport.py b/rentman_api_client/models/projectvehicle_itempost_request_schema_transport.py similarity index 77% rename from rentman_api_client/models/planningtransport_itemget_request_schema_transport.py rename to rentman_api_client/models/projectvehicle_itempost_request_schema_transport.py index 99dc5db..8d128c8 100644 --- a/rentman_api_client/models/planningtransport_itemget_request_schema_transport.py +++ b/rentman_api_client/models/projectvehicle_itempost_request_schema_transport.py @@ -1,7 +1,7 @@ from enum import Enum -class PlanningtransportItemgetRequestSchemaTransport(str, Enum): +class ProjectvehicleItempostRequestSchemaTransport(str, Enum): NO_TRANSPORT = "No transport" ROUND_TRIP = "Round trip" ONLY_WAY_THERE = "Only way there" diff --git a/rentman_api_client/models/beschikbaarheid_itemput_response_schema.py b/rentman_api_client/models/projectvehicle_itempost_response_schema.py similarity index 77% rename from rentman_api_client/models/beschikbaarheid_itemput_response_schema.py rename to rentman_api_client/models/projectvehicle_itempost_response_schema.py index 74eb4ff..dce3fd2 100644 --- a/rentman_api_client/models/beschikbaarheid_itemput_response_schema.py +++ b/rentman_api_client/models/projectvehicle_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.beschikbaarheid_itemput_response_schema_data import BeschikbaarheidItemputResponseSchemaData +from ..models.projectvehicle_itempost_response_schema_data import ProjectvehicleItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="BeschikbaarheidItemputResponseSchema") +T = TypeVar("T", bound="ProjectvehicleItempostResponseSchema") @attr.s(auto_attribs=True) -class BeschikbaarheidItemputResponseSchema: +class ProjectvehicleItempostResponseSchema: """ """ - data: Union[Unset, BeschikbaarheidItemputResponseSchemaData] = UNSET + data: Union[Unset, ProjectvehicleItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, BeschikbaarheidItemputResponseSchemaData] = UNSET + data: Union[Unset, ProjectvehicleItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = BeschikbaarheidItemputResponseSchemaData.from_dict(_data) + data = ProjectvehicleItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - beschikbaarheid_itemput_response_schema = cls( + projectvehicle_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - beschikbaarheid_itemput_response_schema.additional_properties = d - return beschikbaarheid_itemput_response_schema + projectvehicle_itempost_response_schema.additional_properties = d + return projectvehicle_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningtransport_itemput_response_schema_data.py b/rentman_api_client/models/projectvehicle_itempost_response_schema_data.py similarity index 84% rename from rentman_api_client/models/planningtransport_itemput_response_schema_data.py rename to rentman_api_client/models/projectvehicle_itempost_response_schema_data.py index 719ff6e..2d9638e 100644 --- a/rentman_api_client/models/planningtransport_itemput_response_schema_data.py +++ b/rentman_api_client/models/projectvehicle_itempost_response_schema_data.py @@ -4,19 +4,17 @@ import attr from dateutil.parser import isoparse -from ..models.planningtransport_itemput_response_schema_data_custom import ( - PlanningtransportItemputResponseSchemaDataCustom, -) -from ..models.planningtransport_itemput_response_schema_data_transport import ( - PlanningtransportItemputResponseSchemaDataTransport, +from ..models.projectvehicle_itempost_response_schema_data_custom import ProjectvehicleItempostResponseSchemaDataCustom +from ..models.projectvehicle_itempost_response_schema_data_transport import ( + ProjectvehicleItempostResponseSchemaDataTransport, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningtransportItemputResponseSchemaData") +T = TypeVar("T", bound="ProjectvehicleItempostResponseSchemaData") @attr.s(auto_attribs=True) -class PlanningtransportItemputResponseSchemaData: +class ProjectvehicleItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -26,14 +24,14 @@ class PlanningtransportItemputResponseSchemaData: displayname: Union[Unset, str] = UNSET cost_rate: Union[Unset, None, str] = UNSET function: Union[Unset, str] = UNSET - transport: Union[Unset, PlanningtransportItemputResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectvehicleItempostResponseSchemaDataTransport] = UNSET vehicle: Union[Unset, str] = UNSET planningperiod_start: Union[Unset, None, datetime.datetime] = UNSET planningperiod_end: Union[Unset, None, datetime.datetime] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET costs: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningtransportItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectvehicleItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -129,10 +127,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: function = d.pop("function", UNSET) - transport: Union[Unset, PlanningtransportItemputResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectvehicleItempostResponseSchemaDataTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningtransportItemputResponseSchemaDataTransport(_transport) + transport = ProjectvehicleItempostResponseSchemaDataTransport(_transport) vehicle = d.pop("vehicle", UNSET) @@ -152,12 +150,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: costs = d.pop("costs", UNSET) - custom: Union[Unset, PlanningtransportItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectvehicleItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningtransportItemputResponseSchemaDataCustom.from_dict(_custom) + custom = ProjectvehicleItempostResponseSchemaDataCustom.from_dict(_custom) - planningtransport_itemput_response_schema_data = cls( + projectvehicle_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -175,8 +173,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningtransport_itemput_response_schema_data.additional_properties = d - return planningtransport_itemput_response_schema_data + projectvehicle_itempost_response_schema_data.additional_properties = d + return projectvehicle_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectvehicle_itempost_response_schema_data_custom.py b/rentman_api_client/models/projectvehicle_itempost_response_schema_data_custom.py new file mode 100644 index 0000000..53c8f94 --- /dev/null +++ b/rentman_api_client/models/projectvehicle_itempost_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectvehicleItempostResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class ProjectvehicleItempostResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectvehicle_itempost_response_schema_data_custom = cls() + + projectvehicle_itempost_response_schema_data_custom.additional_properties = d + return projectvehicle_itempost_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectvehicle_itempost_response_schema_data_transport.py b/rentman_api_client/models/projectvehicle_itempost_response_schema_data_transport.py new file mode 100644 index 0000000..304dd6b --- /dev/null +++ b/rentman_api_client/models/projectvehicle_itempost_response_schema_data_transport.py @@ -0,0 +1,11 @@ +from enum import Enum + + +class ProjectvehicleItempostResponseSchemaDataTransport(str, Enum): + NO_TRANSPORT = "No transport" + ROUND_TRIP = "Round trip" + ONLY_WAY_THERE = "Only way there" + ONLY_WAY_BACK = "Only way back" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/planningtransport_itemput_request_schema.py b/rentman_api_client/models/projectvehicle_itemput_request_schema.py similarity index 80% rename from rentman_api_client/models/planningtransport_itemput_request_schema.py rename to rentman_api_client/models/projectvehicle_itemput_request_schema.py index 97592a5..4359844 100644 --- a/rentman_api_client/models/planningtransport_itemput_request_schema.py +++ b/rentman_api_client/models/projectvehicle_itemput_request_schema.py @@ -4,25 +4,25 @@ import attr from dateutil.parser import isoparse -from ..models.planningtransport_itemput_request_schema_custom import PlanningtransportItemputRequestSchemaCustom -from ..models.planningtransport_itemput_request_schema_transport import PlanningtransportItemputRequestSchemaTransport +from ..models.projectvehicle_itemput_request_schema_custom import ProjectvehicleItemputRequestSchemaCustom +from ..models.projectvehicle_itemput_request_schema_transport import ProjectvehicleItemputRequestSchemaTransport from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningtransportItemputRequestSchema") +T = TypeVar("T", bound="ProjectvehicleItemputRequestSchema") @attr.s(auto_attribs=True) -class PlanningtransportItemputRequestSchema: +class ProjectvehicleItemputRequestSchema: """ """ vehicle: str cost_rate: Union[Unset, None, str] = UNSET - transport: Union[Unset, PlanningtransportItemputRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectvehicleItemputRequestSchemaTransport] = UNSET planningperiod_start: Union[Unset, None, datetime.datetime] = UNSET planningperiod_end: Union[Unset, None, datetime.datetime] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET - custom: Union[Unset, PlanningtransportItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectvehicleItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -77,10 +77,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: cost_rate = d.pop("cost_rate", UNSET) - transport: Union[Unset, PlanningtransportItemputRequestSchemaTransport] = UNSET + transport: Union[Unset, ProjectvehicleItemputRequestSchemaTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningtransportItemputRequestSchemaTransport(_transport) + transport = ProjectvehicleItemputRequestSchemaTransport(_transport) planningperiod_start = None _planningperiod_start = d.pop("planningperiod_start", UNSET) @@ -96,12 +96,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark_planner = d.pop("remark_planner", UNSET) - custom: Union[Unset, PlanningtransportItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, ProjectvehicleItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningtransportItemputRequestSchemaCustom.from_dict(_custom) + custom = ProjectvehicleItemputRequestSchemaCustom.from_dict(_custom) - planningtransport_itemput_request_schema = cls( + projectvehicle_itemput_request_schema = cls( vehicle=vehicle, cost_rate=cost_rate, transport=transport, @@ -112,8 +112,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningtransport_itemput_request_schema.additional_properties = d - return planningtransport_itemput_request_schema + projectvehicle_itemput_request_schema.additional_properties = d + return projectvehicle_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectvehicle_itemput_request_schema_custom.py b/rentman_api_client/models/projectvehicle_itemput_request_schema_custom.py new file mode 100644 index 0000000..58ff930 --- /dev/null +++ b/rentman_api_client/models/projectvehicle_itemput_request_schema_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectvehicleItemputRequestSchemaCustom") + + +@attr.s(auto_attribs=True) +class ProjectvehicleItemputRequestSchemaCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectvehicle_itemput_request_schema_custom = cls() + + projectvehicle_itemput_request_schema_custom.additional_properties = d + return projectvehicle_itemput_request_schema_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itempost_request_schema_transport.py b/rentman_api_client/models/projectvehicle_itemput_request_schema_transport.py similarity index 77% rename from rentman_api_client/models/planningtransport_itempost_request_schema_transport.py rename to rentman_api_client/models/projectvehicle_itemput_request_schema_transport.py index 26b50fc..f0f3bce 100644 --- a/rentman_api_client/models/planningtransport_itempost_request_schema_transport.py +++ b/rentman_api_client/models/projectvehicle_itemput_request_schema_transport.py @@ -1,7 +1,7 @@ from enum import Enum -class PlanningtransportItempostRequestSchemaTransport(str, Enum): +class ProjectvehicleItemputRequestSchemaTransport(str, Enum): NO_TRANSPORT = "No transport" ROUND_TRIP = "Round trip" ONLY_WAY_THERE = "Only way there" diff --git a/rentman_api_client/models/projectvehicle_itemput_response_schema.py b/rentman_api_client/models/projectvehicle_itemput_response_schema.py new file mode 100644 index 0000000..eaf3ad0 --- /dev/null +++ b/rentman_api_client/models/projectvehicle_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.projectvehicle_itemput_response_schema_data import ProjectvehicleItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProjectvehicleItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class ProjectvehicleItemputResponseSchema: + """ """ + + data: Union[Unset, ProjectvehicleItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, ProjectvehicleItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = ProjectvehicleItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + projectvehicle_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + projectvehicle_itemput_response_schema.additional_properties = d + return projectvehicle_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningtransport_itemget_response_schema_data.py b/rentman_api_client/models/projectvehicle_itemput_response_schema_data.py similarity index 85% rename from rentman_api_client/models/planningtransport_itemget_response_schema_data.py rename to rentman_api_client/models/projectvehicle_itemput_response_schema_data.py index 88f2aff..e90a1c1 100644 --- a/rentman_api_client/models/planningtransport_itemget_response_schema_data.py +++ b/rentman_api_client/models/projectvehicle_itemput_response_schema_data.py @@ -4,19 +4,17 @@ import attr from dateutil.parser import isoparse -from ..models.planningtransport_itemget_response_schema_data_custom import ( - PlanningtransportItemgetResponseSchemaDataCustom, -) -from ..models.planningtransport_itemget_response_schema_data_transport import ( - PlanningtransportItemgetResponseSchemaDataTransport, +from ..models.projectvehicle_itemput_response_schema_data_custom import ProjectvehicleItemputResponseSchemaDataCustom +from ..models.projectvehicle_itemput_response_schema_data_transport import ( + ProjectvehicleItemputResponseSchemaDataTransport, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningtransportItemgetResponseSchemaData") +T = TypeVar("T", bound="ProjectvehicleItemputResponseSchemaData") @attr.s(auto_attribs=True) -class PlanningtransportItemgetResponseSchemaData: +class ProjectvehicleItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -26,14 +24,14 @@ class PlanningtransportItemgetResponseSchemaData: displayname: Union[Unset, str] = UNSET cost_rate: Union[Unset, None, str] = UNSET function: Union[Unset, str] = UNSET - transport: Union[Unset, PlanningtransportItemgetResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectvehicleItemputResponseSchemaDataTransport] = UNSET vehicle: Union[Unset, str] = UNSET planningperiod_start: Union[Unset, None, datetime.datetime] = UNSET planningperiod_end: Union[Unset, None, datetime.datetime] = UNSET remark: Union[Unset, str] = UNSET remark_planner: Union[Unset, str] = UNSET costs: Union[Unset, float] = UNSET - custom: Union[Unset, PlanningtransportItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectvehicleItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -129,10 +127,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: function = d.pop("function", UNSET) - transport: Union[Unset, PlanningtransportItemgetResponseSchemaDataTransport] = UNSET + transport: Union[Unset, ProjectvehicleItemputResponseSchemaDataTransport] = UNSET _transport = d.pop("transport", UNSET) if not isinstance(_transport, Unset): - transport = PlanningtransportItemgetResponseSchemaDataTransport(_transport) + transport = ProjectvehicleItemputResponseSchemaDataTransport(_transport) vehicle = d.pop("vehicle", UNSET) @@ -152,12 +150,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: costs = d.pop("costs", UNSET) - custom: Union[Unset, PlanningtransportItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, ProjectvehicleItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = PlanningtransportItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = ProjectvehicleItemputResponseSchemaDataCustom.from_dict(_custom) - planningtransport_itemget_response_schema_data = cls( + projectvehicle_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -175,8 +173,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - planningtransport_itemget_response_schema_data.additional_properties = d - return planningtransport_itemget_response_schema_data + projectvehicle_itemput_response_schema_data.additional_properties = d + return projectvehicle_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/projectvehicle_itemput_response_schema_data_custom.py b/rentman_api_client/models/projectvehicle_itemput_response_schema_data_custom.py new file mode 100644 index 0000000..12c8ff6 --- /dev/null +++ b/rentman_api_client/models/projectvehicle_itemput_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="ProjectvehicleItemputResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class ProjectvehicleItemputResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + projectvehicle_itemput_response_schema_data_custom = cls() + + projectvehicle_itemput_response_schema_data_custom.additional_properties = d + return projectvehicle_itemput_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/projectvehicle_itemput_response_schema_data_transport.py b/rentman_api_client/models/projectvehicle_itemput_response_schema_data_transport.py new file mode 100644 index 0000000..57e02dd --- /dev/null +++ b/rentman_api_client/models/projectvehicle_itemput_response_schema_data_transport.py @@ -0,0 +1,11 @@ +from enum import Enum + + +class ProjectvehicleItemputResponseSchemaDataTransport(str, Enum): + NO_TRANSPORT = "No transport" + ROUND_TRIP = "Round trip" + ONLY_WAY_THERE = "Only way there" + ONLY_WAY_BACK = "Only way back" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/uren_collectionpost_response_schema.py b/rentman_api_client/models/quote_collectionget_response_schema.py similarity index 81% rename from rentman_api_client/models/uren_collectionpost_response_schema.py rename to rentman_api_client/models/quote_collectionget_response_schema.py index 782574f..5a9c03f 100644 --- a/rentman_api_client/models/uren_collectionpost_response_schema.py +++ b/rentman_api_client/models/quote_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.uren_collectionpost_response_schema_data_item import UrenCollectionpostResponseSchemaDataItem +from ..models.quote_collectionget_response_schema_data_item import QuoteCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenCollectionpostResponseSchema") +T = TypeVar("T", bound="QuoteCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class UrenCollectionpostResponseSchema: +class QuoteCollectiongetResponseSchema: """ """ - data: Union[Unset, List[UrenCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[QuoteCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = UrenCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = QuoteCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - uren_collectionpost_response_schema = cls( + quote_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - uren_collectionpost_response_schema.additional_properties = d - return uren_collectionpost_response_schema + quote_collectionget_response_schema.additional_properties = d + return quote_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_collectionput_response_schema_data_item.py b/rentman_api_client/models/quote_collectionget_response_schema_data_item.py similarity index 94% rename from rentman_api_client/models/offerte_collectionput_response_schema_data_item.py rename to rentman_api_client/models/quote_collectionget_response_schema_data_item.py index d46d4f3..741d01b 100644 --- a/rentman_api_client/models/offerte_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/quote_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="QuoteCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class OfferteCollectionputResponseSchemaDataItem: +class QuoteCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -146,7 +146,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount = d.pop("vat_amount", UNSET) - offerte_collectionput_response_schema_data_item = cls( + quote_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -167,8 +167,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount=vat_amount, ) - offerte_collectionput_response_schema_data_item.additional_properties = d - return offerte_collectionput_response_schema_data_item + quote_collectionget_response_schema_data_item.additional_properties = d + return quote_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_collectionput_response_schema.py b/rentman_api_client/models/quote_collectionpost_response_schema.py similarity index 81% rename from rentman_api_client/models/inhuur_collectionput_response_schema.py rename to rentman_api_client/models/quote_collectionpost_response_schema.py index 88d0e9c..4da9c7a 100644 --- a/rentman_api_client/models/inhuur_collectionput_response_schema.py +++ b/rentman_api_client/models/quote_collectionpost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuur_collectionput_response_schema_data_item import InhuurCollectionputResponseSchemaDataItem +from ..models.quote_collectionpost_response_schema_data_item import QuoteCollectionpostResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurCollectionputResponseSchema") +T = TypeVar("T", bound="QuoteCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class InhuurCollectionputResponseSchema: +class QuoteCollectionpostResponseSchema: """ """ - data: Union[Unset, List[InhuurCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[QuoteCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = InhuurCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = QuoteCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuur_collectionput_response_schema = cls( + quote_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuur_collectionput_response_schema.additional_properties = d - return inhuur_collectionput_response_schema + quote_collectionpost_response_schema.additional_properties = d + return quote_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_collectionget_response_schema_data_item.py b/rentman_api_client/models/quote_collectionpost_response_schema_data_item.py similarity index 94% rename from rentman_api_client/models/offerte_collectionget_response_schema_data_item.py rename to rentman_api_client/models/quote_collectionpost_response_schema_data_item.py index e798e5d..b302f03 100644 --- a/rentman_api_client/models/offerte_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/quote_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="QuoteCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class OfferteCollectiongetResponseSchemaDataItem: +class QuoteCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -146,7 +146,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount = d.pop("vat_amount", UNSET) - offerte_collectionget_response_schema_data_item = cls( + quote_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -167,8 +167,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount=vat_amount, ) - offerte_collectionget_response_schema_data_item.additional_properties = d - return offerte_collectionget_response_schema_data_item + quote_collectionpost_response_schema_data_item.additional_properties = d + return quote_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_collectionpost_response_schema.py b/rentman_api_client/models/quote_collectionput_response_schema.py similarity index 81% rename from rentman_api_client/models/type_collectionpost_response_schema.py rename to rentman_api_client/models/quote_collectionput_response_schema.py index f24fa9f..3a442b0 100644 --- a/rentman_api_client/models/type_collectionpost_response_schema.py +++ b/rentman_api_client/models/quote_collectionput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.type_collectionpost_response_schema_data_item import TypeCollectionpostResponseSchemaDataItem +from ..models.quote_collectionput_response_schema_data_item import QuoteCollectionputResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="TypeCollectionpostResponseSchema") +T = TypeVar("T", bound="QuoteCollectionputResponseSchema") @attr.s(auto_attribs=True) -class TypeCollectionpostResponseSchema: +class QuoteCollectionputResponseSchema: """ """ - data: Union[Unset, List[TypeCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[QuoteCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = TypeCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = QuoteCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - type_collectionpost_response_schema = cls( + quote_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - type_collectionpost_response_schema.additional_properties = d - return type_collectionpost_response_schema + quote_collectionput_response_schema.additional_properties = d + return quote_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_collectionpost_response_schema_data_item.py b/rentman_api_client/models/quote_collectionput_response_schema_data_item.py similarity index 94% rename from rentman_api_client/models/offerte_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/quote_collectionput_response_schema_data_item.py index 7be222d..2eb8434 100644 --- a/rentman_api_client/models/offerte_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/quote_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="QuoteCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class OfferteCollectionpostResponseSchemaDataItem: +class QuoteCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -146,7 +146,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount = d.pop("vat_amount", UNSET) - offerte_collectionpost_response_schema_data_item = cls( + quote_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -167,8 +167,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount=vat_amount, ) - offerte_collectionpost_response_schema_data_item.additional_properties = d - return offerte_collectionpost_response_schema_data_item + quote_collectionput_response_schema_data_item.additional_properties = d + return quote_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_itemput_request_schema.py b/rentman_api_client/models/quote_itemget_request_schema.py similarity index 92% rename from rentman_api_client/models/offerte_itemput_request_schema.py rename to rentman_api_client/models/quote_itemget_request_schema.py index 8aece3c..d41db9f 100644 --- a/rentman_api_client/models/offerte_itemput_request_schema.py +++ b/rentman_api_client/models/quote_itemget_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteItemputRequestSchema") +T = TypeVar("T", bound="QuoteItemgetRequestSchema") @attr.s(auto_attribs=True) -class OfferteItemputRequestSchema: +class QuoteItemgetRequestSchema: """ """ number: Union[Unset, str] = UNSET @@ -78,7 +78,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename = d.pop("filename", UNSET) - offerte_itemput_request_schema = cls( + quote_itemget_request_schema = cls( number=number, customer=customer, contact=contact, @@ -90,8 +90,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename=filename, ) - offerte_itemput_request_schema.additional_properties = d - return offerte_itemput_request_schema + quote_itemget_request_schema.additional_properties = d + return quote_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itemget_response_schema.py b/rentman_api_client/models/quote_itemget_response_schema.py similarity index 80% rename from rentman_api_client/models/files_itemget_response_schema.py rename to rentman_api_client/models/quote_itemget_response_schema.py index 48c7a9c..d3bcba3 100644 --- a/rentman_api_client/models/files_itemget_response_schema.py +++ b/rentman_api_client/models/quote_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.files_itemget_response_schema_data import FilesItemgetResponseSchemaData +from ..models.quote_itemget_response_schema_data import QuoteItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesItemgetResponseSchema") +T = TypeVar("T", bound="QuoteItemgetResponseSchema") @attr.s(auto_attribs=True) -class FilesItemgetResponseSchema: +class QuoteItemgetResponseSchema: """ """ - data: Union[Unset, FilesItemgetResponseSchemaData] = UNSET + data: Union[Unset, QuoteItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, FilesItemgetResponseSchemaData] = UNSET + data: Union[Unset, QuoteItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = FilesItemgetResponseSchemaData.from_dict(_data) + data = QuoteItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - files_itemget_response_schema = cls( + quote_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - files_itemget_response_schema.additional_properties = d - return files_itemget_response_schema + quote_itemget_response_schema.additional_properties = d + return quote_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_itemput_response_schema_data.py b/rentman_api_client/models/quote_itemget_response_schema_data.py similarity index 96% rename from rentman_api_client/models/offerte_itemput_response_schema_data.py rename to rentman_api_client/models/quote_itemget_response_schema_data.py index 5f7925e..8bee316 100644 --- a/rentman_api_client/models/offerte_itemput_response_schema_data.py +++ b/rentman_api_client/models/quote_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteItemputResponseSchemaData") +T = TypeVar("T", bound="QuoteItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class OfferteItemputResponseSchemaData: +class QuoteItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -188,7 +188,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount = d.pop("vat_amount", UNSET) - offerte_itemput_response_schema_data = cls( + quote_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -216,8 +216,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount=vat_amount, ) - offerte_itemput_response_schema_data.additional_properties = d - return offerte_itemput_response_schema_data + quote_itemget_response_schema_data.additional_properties = d + return quote_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_itemget_request_schema.py b/rentman_api_client/models/quote_itempost_request_schema.py similarity index 92% rename from rentman_api_client/models/offerte_itemget_request_schema.py rename to rentman_api_client/models/quote_itempost_request_schema.py index 66995a7..e9704c5 100644 --- a/rentman_api_client/models/offerte_itemget_request_schema.py +++ b/rentman_api_client/models/quote_itempost_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteItemgetRequestSchema") +T = TypeVar("T", bound="QuoteItempostRequestSchema") @attr.s(auto_attribs=True) -class OfferteItemgetRequestSchema: +class QuoteItempostRequestSchema: """ """ number: Union[Unset, str] = UNSET @@ -78,7 +78,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename = d.pop("filename", UNSET) - offerte_itemget_request_schema = cls( + quote_itempost_request_schema = cls( number=number, customer=customer, contact=contact, @@ -90,8 +90,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename=filename, ) - offerte_itemget_request_schema.additional_properties = d - return offerte_itemget_request_schema + quote_itempost_request_schema.additional_properties = d + return quote_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itempost_response_schema.py b/rentman_api_client/models/quote_itempost_response_schema.py similarity index 80% rename from rentman_api_client/models/files_itempost_response_schema.py rename to rentman_api_client/models/quote_itempost_response_schema.py index ed1ab16..f69d183 100644 --- a/rentman_api_client/models/files_itempost_response_schema.py +++ b/rentman_api_client/models/quote_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.files_itempost_response_schema_data import FilesItempostResponseSchemaData +from ..models.quote_itempost_response_schema_data import QuoteItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesItempostResponseSchema") +T = TypeVar("T", bound="QuoteItempostResponseSchema") @attr.s(auto_attribs=True) -class FilesItempostResponseSchema: +class QuoteItempostResponseSchema: """ """ - data: Union[Unset, FilesItempostResponseSchemaData] = UNSET + data: Union[Unset, QuoteItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, FilesItempostResponseSchemaData] = UNSET + data: Union[Unset, QuoteItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = FilesItempostResponseSchemaData.from_dict(_data) + data = QuoteItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - files_itempost_response_schema = cls( + quote_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - files_itempost_response_schema.additional_properties = d - return files_itempost_response_schema + quote_itempost_response_schema.additional_properties = d + return quote_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_itemget_response_schema_data.py b/rentman_api_client/models/quote_itempost_response_schema_data.py similarity index 96% rename from rentman_api_client/models/offerte_itemget_response_schema_data.py rename to rentman_api_client/models/quote_itempost_response_schema_data.py index a4f7ce6..cd5d48b 100644 --- a/rentman_api_client/models/offerte_itemget_response_schema_data.py +++ b/rentman_api_client/models/quote_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteItemgetResponseSchemaData") +T = TypeVar("T", bound="QuoteItempostResponseSchemaData") @attr.s(auto_attribs=True) -class OfferteItemgetResponseSchemaData: +class QuoteItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -188,7 +188,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount = d.pop("vat_amount", UNSET) - offerte_itemget_response_schema_data = cls( + quote_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -216,8 +216,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount=vat_amount, ) - offerte_itemget_response_schema_data.additional_properties = d - return offerte_itemget_response_schema_data + quote_itempost_response_schema_data.additional_properties = d + return quote_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_itempost_request_schema.py b/rentman_api_client/models/quote_itemput_request_schema.py similarity index 92% rename from rentman_api_client/models/offerte_itempost_request_schema.py rename to rentman_api_client/models/quote_itemput_request_schema.py index c6f90d9..19b6c1d 100644 --- a/rentman_api_client/models/offerte_itempost_request_schema.py +++ b/rentman_api_client/models/quote_itemput_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteItempostRequestSchema") +T = TypeVar("T", bound="QuoteItemputRequestSchema") @attr.s(auto_attribs=True) -class OfferteItempostRequestSchema: +class QuoteItemputRequestSchema: """ """ number: Union[Unset, str] = UNSET @@ -78,7 +78,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename = d.pop("filename", UNSET) - offerte_itempost_request_schema = cls( + quote_itemput_request_schema = cls( number=number, customer=customer, contact=contact, @@ -90,8 +90,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: filename=filename, ) - offerte_itempost_request_schema.additional_properties = d - return offerte_itempost_request_schema + quote_itemput_request_schema.additional_properties = d + return quote_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/files_itemput_response_schema.py b/rentman_api_client/models/quote_itemput_response_schema.py similarity index 80% rename from rentman_api_client/models/files_itemput_response_schema.py rename to rentman_api_client/models/quote_itemput_response_schema.py index 7c96df9..73728b3 100644 --- a/rentman_api_client/models/files_itemput_response_schema.py +++ b/rentman_api_client/models/quote_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.files_itemput_response_schema_data import FilesItemputResponseSchemaData +from ..models.quote_itemput_response_schema_data import QuoteItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="FilesItemputResponseSchema") +T = TypeVar("T", bound="QuoteItemputResponseSchema") @attr.s(auto_attribs=True) -class FilesItemputResponseSchema: +class QuoteItemputResponseSchema: """ """ - data: Union[Unset, FilesItemputResponseSchemaData] = UNSET + data: Union[Unset, QuoteItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, FilesItemputResponseSchemaData] = UNSET + data: Union[Unset, QuoteItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = FilesItemputResponseSchemaData.from_dict(_data) + data = QuoteItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - files_itemput_response_schema = cls( + quote_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - files_itemput_response_schema.additional_properties = d - return files_itemput_response_schema + quote_itemput_response_schema.additional_properties = d + return quote_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/offerte_itempost_response_schema_data.py b/rentman_api_client/models/quote_itemput_response_schema_data.py similarity index 96% rename from rentman_api_client/models/offerte_itempost_response_schema_data.py rename to rentman_api_client/models/quote_itemput_response_schema_data.py index 74c4fbf..8c44665 100644 --- a/rentman_api_client/models/offerte_itempost_response_schema_data.py +++ b/rentman_api_client/models/quote_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="OfferteItempostResponseSchemaData") +T = TypeVar("T", bound="QuoteItemputResponseSchemaData") @attr.s(auto_attribs=True) -class OfferteItempostResponseSchemaData: +class QuoteItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -188,7 +188,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount = d.pop("vat_amount", UNSET) - offerte_itempost_response_schema_data = cls( + quote_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -216,8 +216,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: vat_amount=vat_amount, ) - offerte_itempost_response_schema_data.additional_properties = d - return offerte_itempost_response_schema_data + quote_itemput_response_schema_data.additional_properties = d + return quote_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_collectionget_response_schema.py b/rentman_api_client/models/repair_collectionget_response_schema.py similarity index 81% rename from rentman_api_client/models/person_collectionget_response_schema.py rename to rentman_api_client/models/repair_collectionget_response_schema.py index 3059992..c2aa1a6 100644 --- a/rentman_api_client/models/person_collectionget_response_schema.py +++ b/rentman_api_client/models/repair_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.person_collectionget_response_schema_data_item import PersonCollectiongetResponseSchemaDataItem +from ..models.repair_collectionget_response_schema_data_item import RepairCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonCollectiongetResponseSchema") +T = TypeVar("T", bound="RepairCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class PersonCollectiongetResponseSchema: +class RepairCollectiongetResponseSchema: """ """ - data: Union[Unset, List[PersonCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[RepairCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = PersonCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = RepairCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - person_collectionget_response_schema = cls( + repair_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - person_collectionget_response_schema.additional_properties = d - return person_collectionget_response_schema + repair_collectionget_response_schema.additional_properties = d + return repair_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_collectionpost_response_schema_data_item.py b/rentman_api_client/models/repair_collectionget_response_schema_data_item.py similarity index 88% rename from rentman_api_client/models/reparatie_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/repair_collectionget_response_schema_data_item.py index 3ffcc38..0673e36 100644 --- a/rentman_api_client/models/reparatie_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/repair_collectionget_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.reparatie_collectionpost_response_schema_data_item_custom import ( - ReparatieCollectionpostResponseSchemaDataItemCustom, +from ..models.repair_collectionget_response_schema_data_item_custom import ( + RepairCollectiongetResponseSchemaDataItemCustom, ) -from ..models.reparatie_collectionpost_response_schema_data_item_is_usable import ( - ReparatieCollectionpostResponseSchemaDataItemIsUsable, +from ..models.repair_collectionget_response_schema_data_item_is_usable import ( + RepairCollectiongetResponseSchemaDataItemIsUsable, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="ReparatieCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="RepairCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class ReparatieCollectionpostResponseSchemaDataItem: +class RepairCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -35,12 +35,12 @@ class ReparatieCollectionpostResponseSchemaDataItem: amount: Union[Unset, int] = UNSET remark: Union[Unset, str] = UNSET repair_costs: Union[Unset, float] = UNSET - is_usable: Union[Unset, ReparatieCollectionpostResponseSchemaDataItemIsUsable] = UNSET + is_usable: Union[Unset, RepairCollectiongetResponseSchemaDataItemIsUsable] = UNSET costs_charged_to_customer: Union[Unset, None, str] = UNSET subproject: Union[Unset, None, str] = UNSET stock_location: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ReparatieCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, RepairCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -181,10 +181,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: repair_costs = d.pop("repair_costs", UNSET) - is_usable: Union[Unset, ReparatieCollectionpostResponseSchemaDataItemIsUsable] = UNSET + is_usable: Union[Unset, RepairCollectiongetResponseSchemaDataItemIsUsable] = UNSET _is_usable = d.pop("is_usable", UNSET) if not isinstance(_is_usable, Unset): - is_usable = ReparatieCollectionpostResponseSchemaDataItemIsUsable(_is_usable) + is_usable = RepairCollectiongetResponseSchemaDataItemIsUsable(_is_usable) costs_charged_to_customer = d.pop("costs_charged_to_customer", UNSET) @@ -194,12 +194,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ReparatieCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, RepairCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ReparatieCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) + custom = RepairCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - reparatie_collectionpost_response_schema_data_item = cls( + repair_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -224,8 +224,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - reparatie_collectionpost_response_schema_data_item.additional_properties = d - return reparatie_collectionpost_response_schema_data_item + repair_collectionget_response_schema_data_item.additional_properties = d + return repair_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/repair_collectionget_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/inhuur_collectionput_response_schema_data_item_custom.py rename to rentman_api_client/models/repair_collectionget_response_schema_data_item_custom.py index 111ae95..ae812b8 100644 --- a/rentman_api_client/models/inhuur_collectionput_response_schema_data_item_custom.py +++ b/rentman_api_client/models/repair_collectionget_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="InhuurCollectionputResponseSchemaDataItemCustom") +T = TypeVar("T", bound="RepairCollectiongetResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class InhuurCollectionputResponseSchemaDataItemCustom: +class RepairCollectiongetResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - inhuur_collectionput_response_schema_data_item_custom = cls() + repair_collectionget_response_schema_data_item_custom = cls() - inhuur_collectionput_response_schema_data_item_custom.additional_properties = d - return inhuur_collectionput_response_schema_data_item_custom + repair_collectionget_response_schema_data_item_custom.additional_properties = d + return repair_collectionget_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_itemget_response_schema_data_is_usable.py b/rentman_api_client/models/repair_collectionget_response_schema_data_item_is_usable.py similarity index 64% rename from rentman_api_client/models/reparatie_itemget_response_schema_data_is_usable.py rename to rentman_api_client/models/repair_collectionget_response_schema_data_item_is_usable.py index d91b8e4..0fdea1a 100644 --- a/rentman_api_client/models/reparatie_itemget_response_schema_data_is_usable.py +++ b/rentman_api_client/models/repair_collectionget_response_schema_data_item_is_usable.py @@ -1,7 +1,7 @@ from enum import IntEnum -class ReparatieItemgetResponseSchemaDataIsUsable(IntEnum): +class RepairCollectiongetResponseSchemaDataItemIsUsable(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/factuur_collectionget_response_schema.py b/rentman_api_client/models/repair_collectionpost_response_schema.py similarity index 81% rename from rentman_api_client/models/factuur_collectionget_response_schema.py rename to rentman_api_client/models/repair_collectionpost_response_schema.py index 6b5ef2a..df3f8c2 100644 --- a/rentman_api_client/models/factuur_collectionget_response_schema.py +++ b/rentman_api_client/models/repair_collectionpost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.factuur_collectionget_response_schema_data_item import FactuurCollectiongetResponseSchemaDataItem +from ..models.repair_collectionpost_response_schema_data_item import RepairCollectionpostResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurCollectiongetResponseSchema") +T = TypeVar("T", bound="RepairCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class FactuurCollectiongetResponseSchema: +class RepairCollectionpostResponseSchema: """ """ - data: Union[Unset, List[FactuurCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[RepairCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = FactuurCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = RepairCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - factuur_collectionget_response_schema = cls( + repair_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - factuur_collectionget_response_schema.additional_properties = d - return factuur_collectionget_response_schema + repair_collectionpost_response_schema.additional_properties = d + return repair_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_collectionget_response_schema_data_item.py b/rentman_api_client/models/repair_collectionpost_response_schema_data_item.py similarity index 87% rename from rentman_api_client/models/reparatie_collectionget_response_schema_data_item.py rename to rentman_api_client/models/repair_collectionpost_response_schema_data_item.py index 3b6f479..cc0d078 100644 --- a/rentman_api_client/models/reparatie_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/repair_collectionpost_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.reparatie_collectionget_response_schema_data_item_custom import ( - ReparatieCollectiongetResponseSchemaDataItemCustom, +from ..models.repair_collectionpost_response_schema_data_item_custom import ( + RepairCollectionpostResponseSchemaDataItemCustom, ) -from ..models.reparatie_collectionget_response_schema_data_item_is_usable import ( - ReparatieCollectiongetResponseSchemaDataItemIsUsable, +from ..models.repair_collectionpost_response_schema_data_item_is_usable import ( + RepairCollectionpostResponseSchemaDataItemIsUsable, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="ReparatieCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="RepairCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class ReparatieCollectiongetResponseSchemaDataItem: +class RepairCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -35,12 +35,12 @@ class ReparatieCollectiongetResponseSchemaDataItem: amount: Union[Unset, int] = UNSET remark: Union[Unset, str] = UNSET repair_costs: Union[Unset, float] = UNSET - is_usable: Union[Unset, ReparatieCollectiongetResponseSchemaDataItemIsUsable] = UNSET + is_usable: Union[Unset, RepairCollectionpostResponseSchemaDataItemIsUsable] = UNSET costs_charged_to_customer: Union[Unset, None, str] = UNSET subproject: Union[Unset, None, str] = UNSET stock_location: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ReparatieCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, RepairCollectionpostResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -181,10 +181,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: repair_costs = d.pop("repair_costs", UNSET) - is_usable: Union[Unset, ReparatieCollectiongetResponseSchemaDataItemIsUsable] = UNSET + is_usable: Union[Unset, RepairCollectionpostResponseSchemaDataItemIsUsable] = UNSET _is_usable = d.pop("is_usable", UNSET) if not isinstance(_is_usable, Unset): - is_usable = ReparatieCollectiongetResponseSchemaDataItemIsUsable(_is_usable) + is_usable = RepairCollectionpostResponseSchemaDataItemIsUsable(_is_usable) costs_charged_to_customer = d.pop("costs_charged_to_customer", UNSET) @@ -194,12 +194,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ReparatieCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, RepairCollectionpostResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ReparatieCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = RepairCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - reparatie_collectionget_response_schema_data_item = cls( + repair_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -224,8 +224,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - reparatie_collectionget_response_schema_data_item.additional_properties = d - return reparatie_collectionget_response_schema_data_item + repair_collectionpost_response_schema_data_item.additional_properties = d + return repair_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/repair_collectionpost_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/inhuur_collectionpost_response_schema_data_item_custom.py rename to rentman_api_client/models/repair_collectionpost_response_schema_data_item_custom.py index 31cacfd..4ebb945 100644 --- a/rentman_api_client/models/inhuur_collectionpost_response_schema_data_item_custom.py +++ b/rentman_api_client/models/repair_collectionpost_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="InhuurCollectionpostResponseSchemaDataItemCustom") +T = TypeVar("T", bound="RepairCollectionpostResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class InhuurCollectionpostResponseSchemaDataItemCustom: +class RepairCollectionpostResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - inhuur_collectionpost_response_schema_data_item_custom = cls() + repair_collectionpost_response_schema_data_item_custom = cls() - inhuur_collectionpost_response_schema_data_item_custom.additional_properties = d - return inhuur_collectionpost_response_schema_data_item_custom + repair_collectionpost_response_schema_data_item_custom.additional_properties = d + return repair_collectionpost_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/repair_collectionpost_response_schema_data_item_is_usable.py b/rentman_api_client/models/repair_collectionpost_response_schema_data_item_is_usable.py new file mode 100644 index 0000000..c09fc8b --- /dev/null +++ b/rentman_api_client/models/repair_collectionpost_response_schema_data_item_is_usable.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class RepairCollectionpostResponseSchemaDataItemIsUsable(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/inhuur_collectionget_response_schema.py b/rentman_api_client/models/repair_collectionput_response_schema.py similarity index 81% rename from rentman_api_client/models/inhuur_collectionget_response_schema.py rename to rentman_api_client/models/repair_collectionput_response_schema.py index 45f7601..a08d526 100644 --- a/rentman_api_client/models/inhuur_collectionget_response_schema.py +++ b/rentman_api_client/models/repair_collectionput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuur_collectionget_response_schema_data_item import InhuurCollectiongetResponseSchemaDataItem +from ..models.repair_collectionput_response_schema_data_item import RepairCollectionputResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurCollectiongetResponseSchema") +T = TypeVar("T", bound="RepairCollectionputResponseSchema") @attr.s(auto_attribs=True) -class InhuurCollectiongetResponseSchema: +class RepairCollectionputResponseSchema: """ """ - data: Union[Unset, List[InhuurCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[RepairCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = InhuurCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = RepairCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuur_collectionget_response_schema = cls( + repair_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuur_collectionget_response_schema.additional_properties = d - return inhuur_collectionget_response_schema + repair_collectionput_response_schema.additional_properties = d + return repair_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/repair_collectionput_response_schema_data_item.py b/rentman_api_client/models/repair_collectionput_response_schema_data_item.py new file mode 100644 index 0000000..1056f70 --- /dev/null +++ b/rentman_api_client/models/repair_collectionput_response_schema_data_item.py @@ -0,0 +1,244 @@ +import datetime +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr +from dateutil.parser import isoparse + +from ..models.repair_collectionput_response_schema_data_item_custom import ( + RepairCollectionputResponseSchemaDataItemCustom, +) +from ..models.repair_collectionput_response_schema_data_item_is_usable import ( + RepairCollectionputResponseSchemaDataItemIsUsable, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="RepairCollectionputResponseSchemaDataItem") + + +@attr.s(auto_attribs=True) +class RepairCollectionputResponseSchemaDataItem: + """ """ + + id: Union[Unset, int] = UNSET + created: Union[Unset, None, datetime.datetime] = UNSET + modified: Union[Unset, None, datetime.datetime] = UNSET + creator: Union[Unset, None, str] = UNSET + displayname: Union[Unset, str] = UNSET + equipment: Union[Unset, str] = UNSET + serialnumber: Union[Unset, None, str] = UNSET + reporter: Union[Unset, None, str] = UNSET + assignee: Union[Unset, None, str] = UNSET + external_repairer: Union[Unset, None, str] = UNSET + number: Union[Unset, str] = UNSET + repairperiod_start: Union[Unset, None, datetime.datetime] = UNSET + repairperiod_end: Union[Unset, None, datetime.datetime] = UNSET + amount: Union[Unset, int] = UNSET + remark: Union[Unset, str] = UNSET + repair_costs: Union[Unset, float] = UNSET + is_usable: Union[Unset, RepairCollectionputResponseSchemaDataItemIsUsable] = UNSET + costs_charged_to_customer: Union[Unset, None, str] = UNSET + subproject: Union[Unset, None, str] = UNSET + stock_location: Union[Unset, None, str] = UNSET + tags: Union[Unset, str] = UNSET + custom: Union[Unset, RepairCollectionputResponseSchemaDataItemCustom] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + id = self.id + created: Union[Unset, None, str] = UNSET + if not isinstance(self.created, Unset): + created = self.created.isoformat() if self.created else None + + modified: Union[Unset, None, str] = UNSET + if not isinstance(self.modified, Unset): + modified = self.modified.isoformat() if self.modified else None + + creator = self.creator + displayname = self.displayname + equipment = self.equipment + serialnumber = self.serialnumber + reporter = self.reporter + assignee = self.assignee + external_repairer = self.external_repairer + number = self.number + repairperiod_start: Union[Unset, None, str] = UNSET + if not isinstance(self.repairperiod_start, Unset): + repairperiod_start = self.repairperiod_start.isoformat() if self.repairperiod_start else None + + repairperiod_end: Union[Unset, None, str] = UNSET + if not isinstance(self.repairperiod_end, Unset): + repairperiod_end = self.repairperiod_end.isoformat() if self.repairperiod_end else None + + amount = self.amount + remark = self.remark + repair_costs = self.repair_costs + is_usable: Union[Unset, int] = UNSET + if not isinstance(self.is_usable, Unset): + is_usable = self.is_usable.value + + costs_charged_to_customer = self.costs_charged_to_customer + subproject = self.subproject + stock_location = self.stock_location + tags = self.tags + custom: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.custom, Unset): + custom = self.custom.to_dict() + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if id is not UNSET: + field_dict["id"] = id + if created is not UNSET: + field_dict["created"] = created + if modified is not UNSET: + field_dict["modified"] = modified + if creator is not UNSET: + field_dict["creator"] = creator + if displayname is not UNSET: + field_dict["displayname"] = displayname + if equipment is not UNSET: + field_dict["equipment"] = equipment + if serialnumber is not UNSET: + field_dict["serialnumber"] = serialnumber + if reporter is not UNSET: + field_dict["reporter"] = reporter + if assignee is not UNSET: + field_dict["assignee"] = assignee + if external_repairer is not UNSET: + field_dict["external_repairer"] = external_repairer + if number is not UNSET: + field_dict["number"] = number + if repairperiod_start is not UNSET: + field_dict["repairperiod_start"] = repairperiod_start + if repairperiod_end is not UNSET: + field_dict["repairperiod_end"] = repairperiod_end + if amount is not UNSET: + field_dict["amount"] = amount + if remark is not UNSET: + field_dict["remark"] = remark + if repair_costs is not UNSET: + field_dict["repair_costs"] = repair_costs + if is_usable is not UNSET: + field_dict["is_usable"] = is_usable + if costs_charged_to_customer is not UNSET: + field_dict["costs_charged_to_customer"] = costs_charged_to_customer + if subproject is not UNSET: + field_dict["subproject"] = subproject + if stock_location is not UNSET: + field_dict["stock_location"] = stock_location + if tags is not UNSET: + field_dict["tags"] = tags + if custom is not UNSET: + field_dict["custom"] = custom + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + id = d.pop("id", UNSET) + + created = None + _created = d.pop("created", UNSET) + if _created is not None and not isinstance(_created, Unset): + created = isoparse(_created) + + modified = None + _modified = d.pop("modified", UNSET) + if _modified is not None and not isinstance(_modified, Unset): + modified = isoparse(_modified) + + creator = d.pop("creator", UNSET) + + displayname = d.pop("displayname", UNSET) + + equipment = d.pop("equipment", UNSET) + + serialnumber = d.pop("serialnumber", UNSET) + + reporter = d.pop("reporter", UNSET) + + assignee = d.pop("assignee", UNSET) + + external_repairer = d.pop("external_repairer", UNSET) + + number = d.pop("number", UNSET) + + repairperiod_start = None + _repairperiod_start = d.pop("repairperiod_start", UNSET) + if _repairperiod_start is not None and not isinstance(_repairperiod_start, Unset): + repairperiod_start = isoparse(_repairperiod_start) + + repairperiod_end = None + _repairperiod_end = d.pop("repairperiod_end", UNSET) + if _repairperiod_end is not None and not isinstance(_repairperiod_end, Unset): + repairperiod_end = isoparse(_repairperiod_end) + + amount = d.pop("amount", UNSET) + + remark = d.pop("remark", UNSET) + + repair_costs = d.pop("repair_costs", UNSET) + + is_usable: Union[Unset, RepairCollectionputResponseSchemaDataItemIsUsable] = UNSET + _is_usable = d.pop("is_usable", UNSET) + if not isinstance(_is_usable, Unset): + is_usable = RepairCollectionputResponseSchemaDataItemIsUsable(_is_usable) + + costs_charged_to_customer = d.pop("costs_charged_to_customer", UNSET) + + subproject = d.pop("subproject", UNSET) + + stock_location = d.pop("stock_location", UNSET) + + tags = d.pop("tags", UNSET) + + custom: Union[Unset, RepairCollectionputResponseSchemaDataItemCustom] = UNSET + _custom = d.pop("custom", UNSET) + if not isinstance(_custom, Unset): + custom = RepairCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + + repair_collectionput_response_schema_data_item = cls( + id=id, + created=created, + modified=modified, + creator=creator, + displayname=displayname, + equipment=equipment, + serialnumber=serialnumber, + reporter=reporter, + assignee=assignee, + external_repairer=external_repairer, + number=number, + repairperiod_start=repairperiod_start, + repairperiod_end=repairperiod_end, + amount=amount, + remark=remark, + repair_costs=repair_costs, + is_usable=is_usable, + costs_charged_to_customer=costs_charged_to_customer, + subproject=subproject, + stock_location=stock_location, + tags=tags, + custom=custom, + ) + + repair_collectionput_response_schema_data_item.additional_properties = d + return repair_collectionput_response_schema_data_item + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/person_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/repair_collectionput_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/person_collectionget_response_schema_data_item_custom.py rename to rentman_api_client/models/repair_collectionput_response_schema_data_item_custom.py index 954aed7..39bb791 100644 --- a/rentman_api_client/models/person_collectionget_response_schema_data_item_custom.py +++ b/rentman_api_client/models/repair_collectionput_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PersonCollectiongetResponseSchemaDataItemCustom") +T = TypeVar("T", bound="RepairCollectionputResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class PersonCollectiongetResponseSchemaDataItemCustom: +class RepairCollectionputResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - person_collectionget_response_schema_data_item_custom = cls() + repair_collectionput_response_schema_data_item_custom = cls() - person_collectionget_response_schema_data_item_custom.additional_properties = d - return person_collectionget_response_schema_data_item_custom + repair_collectionput_response_schema_data_item_custom.additional_properties = d + return repair_collectionput_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_itempost_response_schema_data_is_usable.py b/rentman_api_client/models/repair_collectionput_response_schema_data_item_is_usable.py similarity index 64% rename from rentman_api_client/models/reparatie_itempost_response_schema_data_is_usable.py rename to rentman_api_client/models/repair_collectionput_response_schema_data_item_is_usable.py index 12451a3..29ac438 100644 --- a/rentman_api_client/models/reparatie_itempost_response_schema_data_is_usable.py +++ b/rentman_api_client/models/repair_collectionput_response_schema_data_item_is_usable.py @@ -1,7 +1,7 @@ from enum import IntEnum -class ReparatieItempostResponseSchemaDataIsUsable(IntEnum): +class RepairCollectionputResponseSchemaDataItemIsUsable(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/reparatie_itempost_request_schema.py b/rentman_api_client/models/repair_itemget_request_schema.py similarity index 87% rename from rentman_api_client/models/reparatie_itempost_request_schema.py rename to rentman_api_client/models/repair_itemget_request_schema.py index 6029b79..66230dd 100644 --- a/rentman_api_client/models/reparatie_itempost_request_schema.py +++ b/rentman_api_client/models/repair_itemget_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.reparatie_itempost_request_schema_custom import ReparatieItempostRequestSchemaCustom -from ..models.reparatie_itempost_request_schema_is_usable import ReparatieItempostRequestSchemaIsUsable +from ..models.repair_itemget_request_schema_custom import RepairItemgetRequestSchemaCustom +from ..models.repair_itemget_request_schema_is_usable import RepairItemgetRequestSchemaIsUsable from ..types import UNSET, Unset -T = TypeVar("T", bound="ReparatieItempostRequestSchema") +T = TypeVar("T", bound="RepairItemgetRequestSchema") @attr.s(auto_attribs=True) -class ReparatieItempostRequestSchema: +class RepairItemgetRequestSchema: """ """ serialnumber: Union[Unset, None, str] = UNSET @@ -25,11 +25,11 @@ class ReparatieItempostRequestSchema: amount: Union[Unset, int] = UNSET remark: Union[Unset, str] = UNSET repair_costs: Union[Unset, float] = UNSET - is_usable: Union[Unset, ReparatieItempostRequestSchemaIsUsable] = UNSET + is_usable: Union[Unset, RepairItemgetRequestSchemaIsUsable] = UNSET costs_charged_to_customer: Union[Unset, None, str] = UNSET subproject: Union[Unset, None, str] = UNSET stock_location: Union[Unset, None, str] = UNSET - custom: Union[Unset, ReparatieItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, RepairItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -125,10 +125,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: repair_costs = d.pop("repair_costs", UNSET) - is_usable: Union[Unset, ReparatieItempostRequestSchemaIsUsable] = UNSET + is_usable: Union[Unset, RepairItemgetRequestSchemaIsUsable] = UNSET _is_usable = d.pop("is_usable", UNSET) if not isinstance(_is_usable, Unset): - is_usable = ReparatieItempostRequestSchemaIsUsable(_is_usable) + is_usable = RepairItemgetRequestSchemaIsUsable(_is_usable) costs_charged_to_customer = d.pop("costs_charged_to_customer", UNSET) @@ -136,12 +136,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location = d.pop("stock_location", UNSET) - custom: Union[Unset, ReparatieItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, RepairItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ReparatieItempostRequestSchemaCustom.from_dict(_custom) + custom = RepairItemgetRequestSchemaCustom.from_dict(_custom) - reparatie_itempost_request_schema = cls( + repair_itemget_request_schema = cls( serialnumber=serialnumber, reporter=reporter, assignee=assignee, @@ -159,8 +159,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - reparatie_itempost_request_schema.additional_properties = d - return reparatie_itempost_request_schema + repair_itemget_request_schema.additional_properties = d + return repair_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_itemget_request_schema_custom.py b/rentman_api_client/models/repair_itemget_request_schema_custom.py similarity index 79% rename from rentman_api_client/models/inhuur_itemget_request_schema_custom.py rename to rentman_api_client/models/repair_itemget_request_schema_custom.py index 1488d9d..1fd34c0 100644 --- a/rentman_api_client/models/inhuur_itemget_request_schema_custom.py +++ b/rentman_api_client/models/repair_itemget_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="InhuurItemgetRequestSchemaCustom") +T = TypeVar("T", bound="RepairItemgetRequestSchemaCustom") @attr.s(auto_attribs=True) -class InhuurItemgetRequestSchemaCustom: +class RepairItemgetRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - inhuur_itemget_request_schema_custom = cls() + repair_itemget_request_schema_custom = cls() - inhuur_itemget_request_schema_custom.additional_properties = d - return inhuur_itemget_request_schema_custom + repair_itemget_request_schema_custom.additional_properties = d + return repair_itemget_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_itemget_request_schema_multiple.py b/rentman_api_client/models/repair_itemget_request_schema_is_usable.py similarity index 69% rename from rentman_api_client/models/voertuig_itemget_request_schema_multiple.py rename to rentman_api_client/models/repair_itemget_request_schema_is_usable.py index 0777fda..1b0c396 100644 --- a/rentman_api_client/models/voertuig_itemget_request_schema_multiple.py +++ b/rentman_api_client/models/repair_itemget_request_schema_is_usable.py @@ -1,7 +1,7 @@ from enum import IntEnum -class VoertuigItemgetRequestSchemaMultiple(IntEnum): +class RepairItemgetRequestSchemaIsUsable(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/inhuur_itemget_response_schema.py b/rentman_api_client/models/repair_itemget_response_schema.py similarity index 80% rename from rentman_api_client/models/inhuur_itemget_response_schema.py rename to rentman_api_client/models/repair_itemget_response_schema.py index 41c0919..2d7ced6 100644 --- a/rentman_api_client/models/inhuur_itemget_response_schema.py +++ b/rentman_api_client/models/repair_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuur_itemget_response_schema_data import InhuurItemgetResponseSchemaData +from ..models.repair_itemget_response_schema_data import RepairItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurItemgetResponseSchema") +T = TypeVar("T", bound="RepairItemgetResponseSchema") @attr.s(auto_attribs=True) -class InhuurItemgetResponseSchema: +class RepairItemgetResponseSchema: """ """ - data: Union[Unset, InhuurItemgetResponseSchemaData] = UNSET + data: Union[Unset, RepairItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, InhuurItemgetResponseSchemaData] = UNSET + data: Union[Unset, RepairItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = InhuurItemgetResponseSchemaData.from_dict(_data) + data = RepairItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuur_itemget_response_schema = cls( + repair_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuur_itemget_response_schema.additional_properties = d - return inhuur_itemget_response_schema + repair_itemget_response_schema.additional_properties = d + return repair_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_itempost_response_schema_data.py b/rentman_api_client/models/repair_itemget_response_schema_data.py similarity index 89% rename from rentman_api_client/models/reparatie_itempost_response_schema_data.py rename to rentman_api_client/models/repair_itemget_response_schema_data.py index 54d3fb6..cf15f13 100644 --- a/rentman_api_client/models/reparatie_itempost_response_schema_data.py +++ b/rentman_api_client/models/repair_itemget_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.reparatie_itempost_response_schema_data_custom import ReparatieItempostResponseSchemaDataCustom -from ..models.reparatie_itempost_response_schema_data_is_usable import ReparatieItempostResponseSchemaDataIsUsable +from ..models.repair_itemget_response_schema_data_custom import RepairItemgetResponseSchemaDataCustom +from ..models.repair_itemget_response_schema_data_is_usable import RepairItemgetResponseSchemaDataIsUsable from ..types import UNSET, Unset -T = TypeVar("T", bound="ReparatieItempostResponseSchemaData") +T = TypeVar("T", bound="RepairItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class ReparatieItempostResponseSchemaData: +class RepairItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -31,12 +31,12 @@ class ReparatieItempostResponseSchemaData: amount: Union[Unset, int] = UNSET remark: Union[Unset, str] = UNSET repair_costs: Union[Unset, float] = UNSET - is_usable: Union[Unset, ReparatieItempostResponseSchemaDataIsUsable] = UNSET + is_usable: Union[Unset, RepairItemgetResponseSchemaDataIsUsable] = UNSET costs_charged_to_customer: Union[Unset, None, str] = UNSET subproject: Union[Unset, None, str] = UNSET stock_location: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ReparatieItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, RepairItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -177,10 +177,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: repair_costs = d.pop("repair_costs", UNSET) - is_usable: Union[Unset, ReparatieItempostResponseSchemaDataIsUsable] = UNSET + is_usable: Union[Unset, RepairItemgetResponseSchemaDataIsUsable] = UNSET _is_usable = d.pop("is_usable", UNSET) if not isinstance(_is_usable, Unset): - is_usable = ReparatieItempostResponseSchemaDataIsUsable(_is_usable) + is_usable = RepairItemgetResponseSchemaDataIsUsable(_is_usable) costs_charged_to_customer = d.pop("costs_charged_to_customer", UNSET) @@ -190,12 +190,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ReparatieItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, RepairItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ReparatieItempostResponseSchemaDataCustom.from_dict(_custom) + custom = RepairItemgetResponseSchemaDataCustom.from_dict(_custom) - reparatie_itempost_response_schema_data = cls( + repair_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -220,8 +220,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - reparatie_itempost_response_schema_data.additional_properties = d - return reparatie_itempost_response_schema_data + repair_itemget_response_schema_data.additional_properties = d + return repair_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_itemget_response_schema_data_custom.py b/rentman_api_client/models/repair_itemget_response_schema_data_custom.py similarity index 78% rename from rentman_api_client/models/inhuur_itemget_response_schema_data_custom.py rename to rentman_api_client/models/repair_itemget_response_schema_data_custom.py index 5fadc6b..acba387 100644 --- a/rentman_api_client/models/inhuur_itemget_response_schema_data_custom.py +++ b/rentman_api_client/models/repair_itemget_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="InhuurItemgetResponseSchemaDataCustom") +T = TypeVar("T", bound="RepairItemgetResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class InhuurItemgetResponseSchemaDataCustom: +class RepairItemgetResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - inhuur_itemget_response_schema_data_custom = cls() + repair_itemget_response_schema_data_custom = cls() - inhuur_itemget_response_schema_data_custom.additional_properties = d - return inhuur_itemget_response_schema_data_custom + repair_itemget_response_schema_data_custom.additional_properties = d + return repair_itemget_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_itempost_request_schema_is_usable.py b/rentman_api_client/models/repair_itemget_response_schema_data_is_usable.py similarity index 68% rename from rentman_api_client/models/reparatie_itempost_request_schema_is_usable.py rename to rentman_api_client/models/repair_itemget_response_schema_data_is_usable.py index 68fbc2b..d5838ef 100644 --- a/rentman_api_client/models/reparatie_itempost_request_schema_is_usable.py +++ b/rentman_api_client/models/repair_itemget_response_schema_data_is_usable.py @@ -1,7 +1,7 @@ from enum import IntEnum -class ReparatieItempostRequestSchemaIsUsable(IntEnum): +class RepairItemgetResponseSchemaDataIsUsable(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/reparatie_itemget_request_schema.py b/rentman_api_client/models/repair_itempost_request_schema.py similarity index 87% rename from rentman_api_client/models/reparatie_itemget_request_schema.py rename to rentman_api_client/models/repair_itempost_request_schema.py index 4b9da7e..8543de4 100644 --- a/rentman_api_client/models/reparatie_itemget_request_schema.py +++ b/rentman_api_client/models/repair_itempost_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.reparatie_itemget_request_schema_custom import ReparatieItemgetRequestSchemaCustom -from ..models.reparatie_itemget_request_schema_is_usable import ReparatieItemgetRequestSchemaIsUsable +from ..models.repair_itempost_request_schema_custom import RepairItempostRequestSchemaCustom +from ..models.repair_itempost_request_schema_is_usable import RepairItempostRequestSchemaIsUsable from ..types import UNSET, Unset -T = TypeVar("T", bound="ReparatieItemgetRequestSchema") +T = TypeVar("T", bound="RepairItempostRequestSchema") @attr.s(auto_attribs=True) -class ReparatieItemgetRequestSchema: +class RepairItempostRequestSchema: """ """ serialnumber: Union[Unset, None, str] = UNSET @@ -25,11 +25,11 @@ class ReparatieItemgetRequestSchema: amount: Union[Unset, int] = UNSET remark: Union[Unset, str] = UNSET repair_costs: Union[Unset, float] = UNSET - is_usable: Union[Unset, ReparatieItemgetRequestSchemaIsUsable] = UNSET + is_usable: Union[Unset, RepairItempostRequestSchemaIsUsable] = UNSET costs_charged_to_customer: Union[Unset, None, str] = UNSET subproject: Union[Unset, None, str] = UNSET stock_location: Union[Unset, None, str] = UNSET - custom: Union[Unset, ReparatieItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, RepairItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -125,10 +125,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: repair_costs = d.pop("repair_costs", UNSET) - is_usable: Union[Unset, ReparatieItemgetRequestSchemaIsUsable] = UNSET + is_usable: Union[Unset, RepairItempostRequestSchemaIsUsable] = UNSET _is_usable = d.pop("is_usable", UNSET) if not isinstance(_is_usable, Unset): - is_usable = ReparatieItemgetRequestSchemaIsUsable(_is_usable) + is_usable = RepairItempostRequestSchemaIsUsable(_is_usable) costs_charged_to_customer = d.pop("costs_charged_to_customer", UNSET) @@ -136,12 +136,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location = d.pop("stock_location", UNSET) - custom: Union[Unset, ReparatieItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, RepairItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ReparatieItemgetRequestSchemaCustom.from_dict(_custom) + custom = RepairItempostRequestSchemaCustom.from_dict(_custom) - reparatie_itemget_request_schema = cls( + repair_itempost_request_schema = cls( serialnumber=serialnumber, reporter=reporter, assignee=assignee, @@ -159,8 +159,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - reparatie_itemget_request_schema.additional_properties = d - return reparatie_itemget_request_schema + repair_itempost_request_schema.additional_properties = d + return repair_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itempost_request_schema_custom.py b/rentman_api_client/models/repair_itempost_request_schema_custom.py similarity index 79% rename from rentman_api_client/models/person_itempost_request_schema_custom.py rename to rentman_api_client/models/repair_itempost_request_schema_custom.py index 238ed94..850669d 100644 --- a/rentman_api_client/models/person_itempost_request_schema_custom.py +++ b/rentman_api_client/models/repair_itempost_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PersonItempostRequestSchemaCustom") +T = TypeVar("T", bound="RepairItempostRequestSchemaCustom") @attr.s(auto_attribs=True) -class PersonItempostRequestSchemaCustom: +class RepairItempostRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - person_itempost_request_schema_custom = cls() + repair_itempost_request_schema_custom = cls() - person_itempost_request_schema_custom.additional_properties = d - return person_itempost_request_schema_custom + repair_itempost_request_schema_custom.additional_properties = d + return repair_itempost_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_itemput_request_schema_multiple.py b/rentman_api_client/models/repair_itempost_request_schema_is_usable.py similarity index 69% rename from rentman_api_client/models/voertuig_itemput_request_schema_multiple.py rename to rentman_api_client/models/repair_itempost_request_schema_is_usable.py index 870499a..af8e9d7 100644 --- a/rentman_api_client/models/voertuig_itemput_request_schema_multiple.py +++ b/rentman_api_client/models/repair_itempost_request_schema_is_usable.py @@ -1,7 +1,7 @@ from enum import IntEnum -class VoertuigItemputRequestSchemaMultiple(IntEnum): +class RepairItempostRequestSchemaIsUsable(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/person_itempost_response_schema.py b/rentman_api_client/models/repair_itempost_response_schema.py similarity index 80% rename from rentman_api_client/models/person_itempost_response_schema.py rename to rentman_api_client/models/repair_itempost_response_schema.py index 0e0ca6b..ffc305c 100644 --- a/rentman_api_client/models/person_itempost_response_schema.py +++ b/rentman_api_client/models/repair_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.person_itempost_response_schema_data import PersonItempostResponseSchemaData +from ..models.repair_itempost_response_schema_data import RepairItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="PersonItempostResponseSchema") +T = TypeVar("T", bound="RepairItempostResponseSchema") @attr.s(auto_attribs=True) -class PersonItempostResponseSchema: +class RepairItempostResponseSchema: """ """ - data: Union[Unset, PersonItempostResponseSchemaData] = UNSET + data: Union[Unset, RepairItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, PersonItempostResponseSchemaData] = UNSET + data: Union[Unset, RepairItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = PersonItempostResponseSchemaData.from_dict(_data) + data = RepairItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - person_itempost_response_schema = cls( + repair_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - person_itempost_response_schema.additional_properties = d - return person_itempost_response_schema + repair_itempost_response_schema.additional_properties = d + return repair_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_itemput_response_schema_data.py b/rentman_api_client/models/repair_itempost_response_schema_data.py similarity index 89% rename from rentman_api_client/models/reparatie_itemput_response_schema_data.py rename to rentman_api_client/models/repair_itempost_response_schema_data.py index 466c037..bc2b675 100644 --- a/rentman_api_client/models/reparatie_itemput_response_schema_data.py +++ b/rentman_api_client/models/repair_itempost_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.reparatie_itemput_response_schema_data_custom import ReparatieItemputResponseSchemaDataCustom -from ..models.reparatie_itemput_response_schema_data_is_usable import ReparatieItemputResponseSchemaDataIsUsable +from ..models.repair_itempost_response_schema_data_custom import RepairItempostResponseSchemaDataCustom +from ..models.repair_itempost_response_schema_data_is_usable import RepairItempostResponseSchemaDataIsUsable from ..types import UNSET, Unset -T = TypeVar("T", bound="ReparatieItemputResponseSchemaData") +T = TypeVar("T", bound="RepairItempostResponseSchemaData") @attr.s(auto_attribs=True) -class ReparatieItemputResponseSchemaData: +class RepairItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -31,12 +31,12 @@ class ReparatieItemputResponseSchemaData: amount: Union[Unset, int] = UNSET remark: Union[Unset, str] = UNSET repair_costs: Union[Unset, float] = UNSET - is_usable: Union[Unset, ReparatieItemputResponseSchemaDataIsUsable] = UNSET + is_usable: Union[Unset, RepairItempostResponseSchemaDataIsUsable] = UNSET costs_charged_to_customer: Union[Unset, None, str] = UNSET subproject: Union[Unset, None, str] = UNSET stock_location: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ReparatieItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, RepairItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -177,10 +177,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: repair_costs = d.pop("repair_costs", UNSET) - is_usable: Union[Unset, ReparatieItemputResponseSchemaDataIsUsable] = UNSET + is_usable: Union[Unset, RepairItempostResponseSchemaDataIsUsable] = UNSET _is_usable = d.pop("is_usable", UNSET) if not isinstance(_is_usable, Unset): - is_usable = ReparatieItemputResponseSchemaDataIsUsable(_is_usable) + is_usable = RepairItempostResponseSchemaDataIsUsable(_is_usable) costs_charged_to_customer = d.pop("costs_charged_to_customer", UNSET) @@ -190,12 +190,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ReparatieItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, RepairItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ReparatieItemputResponseSchemaDataCustom.from_dict(_custom) + custom = RepairItempostResponseSchemaDataCustom.from_dict(_custom) - reparatie_itemput_response_schema_data = cls( + repair_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -220,8 +220,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - reparatie_itemput_response_schema_data.additional_properties = d - return reparatie_itemput_response_schema_data + repair_itempost_response_schema_data.additional_properties = d + return repair_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functie_itemget_response_schema_data_custom.py b/rentman_api_client/models/repair_itempost_response_schema_data_custom.py similarity index 78% rename from rentman_api_client/models/functie_itemget_response_schema_data_custom.py rename to rentman_api_client/models/repair_itempost_response_schema_data_custom.py index ef49446..496a06c 100644 --- a/rentman_api_client/models/functie_itemget_response_schema_data_custom.py +++ b/rentman_api_client/models/repair_itempost_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="FunctieItemgetResponseSchemaDataCustom") +T = TypeVar("T", bound="RepairItempostResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class FunctieItemgetResponseSchemaDataCustom: +class RepairItempostResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - functie_itemget_response_schema_data_custom = cls() + repair_itempost_response_schema_data_custom = cls() - functie_itemget_response_schema_data_custom.additional_properties = d - return functie_itemget_response_schema_data_custom + repair_itempost_response_schema_data_custom.additional_properties = d + return repair_itempost_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/repair_itempost_response_schema_data_is_usable.py b/rentman_api_client/models/repair_itempost_response_schema_data_is_usable.py new file mode 100644 index 0000000..477cf1b --- /dev/null +++ b/rentman_api_client/models/repair_itempost_response_schema_data_is_usable.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class RepairItempostResponseSchemaDataIsUsable(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/reparatie_itemput_request_schema.py b/rentman_api_client/models/repair_itemput_request_schema.py similarity index 87% rename from rentman_api_client/models/reparatie_itemput_request_schema.py rename to rentman_api_client/models/repair_itemput_request_schema.py index 3041910..986145e 100644 --- a/rentman_api_client/models/reparatie_itemput_request_schema.py +++ b/rentman_api_client/models/repair_itemput_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.reparatie_itemput_request_schema_custom import ReparatieItemputRequestSchemaCustom -from ..models.reparatie_itemput_request_schema_is_usable import ReparatieItemputRequestSchemaIsUsable +from ..models.repair_itemput_request_schema_custom import RepairItemputRequestSchemaCustom +from ..models.repair_itemput_request_schema_is_usable import RepairItemputRequestSchemaIsUsable from ..types import UNSET, Unset -T = TypeVar("T", bound="ReparatieItemputRequestSchema") +T = TypeVar("T", bound="RepairItemputRequestSchema") @attr.s(auto_attribs=True) -class ReparatieItemputRequestSchema: +class RepairItemputRequestSchema: """ """ serialnumber: Union[Unset, None, str] = UNSET @@ -25,11 +25,11 @@ class ReparatieItemputRequestSchema: amount: Union[Unset, int] = UNSET remark: Union[Unset, str] = UNSET repair_costs: Union[Unset, float] = UNSET - is_usable: Union[Unset, ReparatieItemputRequestSchemaIsUsable] = UNSET + is_usable: Union[Unset, RepairItemputRequestSchemaIsUsable] = UNSET costs_charged_to_customer: Union[Unset, None, str] = UNSET subproject: Union[Unset, None, str] = UNSET stock_location: Union[Unset, None, str] = UNSET - custom: Union[Unset, ReparatieItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, RepairItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -125,10 +125,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: repair_costs = d.pop("repair_costs", UNSET) - is_usable: Union[Unset, ReparatieItemputRequestSchemaIsUsable] = UNSET + is_usable: Union[Unset, RepairItemputRequestSchemaIsUsable] = UNSET _is_usable = d.pop("is_usable", UNSET) if not isinstance(_is_usable, Unset): - is_usable = ReparatieItemputRequestSchemaIsUsable(_is_usable) + is_usable = RepairItemputRequestSchemaIsUsable(_is_usable) costs_charged_to_customer = d.pop("costs_charged_to_customer", UNSET) @@ -136,12 +136,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location = d.pop("stock_location", UNSET) - custom: Union[Unset, ReparatieItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, RepairItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ReparatieItemputRequestSchemaCustom.from_dict(_custom) + custom = RepairItemputRequestSchemaCustom.from_dict(_custom) - reparatie_itemput_request_schema = cls( + repair_itemput_request_schema = cls( serialnumber=serialnumber, reporter=reporter, assignee=assignee, @@ -159,8 +159,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - reparatie_itemput_request_schema.additional_properties = d - return reparatie_itemput_request_schema + repair_itemput_request_schema.additional_properties = d + return repair_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itemget_request_schema_custom.py b/rentman_api_client/models/repair_itemput_request_schema_custom.py similarity index 79% rename from rentman_api_client/models/person_itemget_request_schema_custom.py rename to rentman_api_client/models/repair_itemput_request_schema_custom.py index 088846b..4fd97bd 100644 --- a/rentman_api_client/models/person_itemget_request_schema_custom.py +++ b/rentman_api_client/models/repair_itemput_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PersonItemgetRequestSchemaCustom") +T = TypeVar("T", bound="RepairItemputRequestSchemaCustom") @attr.s(auto_attribs=True) -class PersonItemgetRequestSchemaCustom: +class RepairItemputRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - person_itemget_request_schema_custom = cls() + repair_itemput_request_schema_custom = cls() - person_itemget_request_schema_custom.additional_properties = d - return person_itemget_request_schema_custom + repair_itemput_request_schema_custom.additional_properties = d + return repair_itemput_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_itemput_request_schema_is_usable.py b/rentman_api_client/models/repair_itemput_request_schema_is_usable.py similarity index 69% rename from rentman_api_client/models/reparatie_itemput_request_schema_is_usable.py rename to rentman_api_client/models/repair_itemput_request_schema_is_usable.py index bf5a500..d0766c1 100644 --- a/rentman_api_client/models/reparatie_itemput_request_schema_is_usable.py +++ b/rentman_api_client/models/repair_itemput_request_schema_is_usable.py @@ -1,7 +1,7 @@ from enum import IntEnum -class ReparatieItemputRequestSchemaIsUsable(IntEnum): +class RepairItemputRequestSchemaIsUsable(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/inhuur_itemput_response_schema.py b/rentman_api_client/models/repair_itemput_response_schema.py similarity index 80% rename from rentman_api_client/models/inhuur_itemput_response_schema.py rename to rentman_api_client/models/repair_itemput_response_schema.py index 3cebcd5..0f95e07 100644 --- a/rentman_api_client/models/inhuur_itemput_response_schema.py +++ b/rentman_api_client/models/repair_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuur_itemput_response_schema_data import InhuurItemputResponseSchemaData +from ..models.repair_itemput_response_schema_data import RepairItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurItemputResponseSchema") +T = TypeVar("T", bound="RepairItemputResponseSchema") @attr.s(auto_attribs=True) -class InhuurItemputResponseSchema: +class RepairItemputResponseSchema: """ """ - data: Union[Unset, InhuurItemputResponseSchemaData] = UNSET + data: Union[Unset, RepairItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, InhuurItemputResponseSchemaData] = UNSET + data: Union[Unset, RepairItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = InhuurItemputResponseSchemaData.from_dict(_data) + data = RepairItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuur_itemput_response_schema = cls( + repair_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuur_itemput_response_schema.additional_properties = d - return inhuur_itemput_response_schema + repair_itemput_response_schema.additional_properties = d + return repair_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_itemget_response_schema_data.py b/rentman_api_client/models/repair_itemput_response_schema_data.py similarity index 89% rename from rentman_api_client/models/reparatie_itemget_response_schema_data.py rename to rentman_api_client/models/repair_itemput_response_schema_data.py index 373b790..2af40b8 100644 --- a/rentman_api_client/models/reparatie_itemget_response_schema_data.py +++ b/rentman_api_client/models/repair_itemput_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.reparatie_itemget_response_schema_data_custom import ReparatieItemgetResponseSchemaDataCustom -from ..models.reparatie_itemget_response_schema_data_is_usable import ReparatieItemgetResponseSchemaDataIsUsable +from ..models.repair_itemput_response_schema_data_custom import RepairItemputResponseSchemaDataCustom +from ..models.repair_itemput_response_schema_data_is_usable import RepairItemputResponseSchemaDataIsUsable from ..types import UNSET, Unset -T = TypeVar("T", bound="ReparatieItemgetResponseSchemaData") +T = TypeVar("T", bound="RepairItemputResponseSchemaData") @attr.s(auto_attribs=True) -class ReparatieItemgetResponseSchemaData: +class RepairItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -31,12 +31,12 @@ class ReparatieItemgetResponseSchemaData: amount: Union[Unset, int] = UNSET remark: Union[Unset, str] = UNSET repair_costs: Union[Unset, float] = UNSET - is_usable: Union[Unset, ReparatieItemgetResponseSchemaDataIsUsable] = UNSET + is_usable: Union[Unset, RepairItemputResponseSchemaDataIsUsable] = UNSET costs_charged_to_customer: Union[Unset, None, str] = UNSET subproject: Union[Unset, None, str] = UNSET stock_location: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ReparatieItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, RepairItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -177,10 +177,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: repair_costs = d.pop("repair_costs", UNSET) - is_usable: Union[Unset, ReparatieItemgetResponseSchemaDataIsUsable] = UNSET + is_usable: Union[Unset, RepairItemputResponseSchemaDataIsUsable] = UNSET _is_usable = d.pop("is_usable", UNSET) if not isinstance(_is_usable, Unset): - is_usable = ReparatieItemgetResponseSchemaDataIsUsable(_is_usable) + is_usable = RepairItemputResponseSchemaDataIsUsable(_is_usable) costs_charged_to_customer = d.pop("costs_charged_to_customer", UNSET) @@ -190,12 +190,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ReparatieItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, RepairItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ReparatieItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = RepairItemputResponseSchemaDataCustom.from_dict(_custom) - reparatie_itemget_response_schema_data = cls( + repair_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -220,8 +220,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - reparatie_itemget_response_schema_data.additional_properties = d - return reparatie_itemget_response_schema_data + repair_itemput_response_schema_data.additional_properties = d + return repair_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_itemput_response_schema_data_custom.py b/rentman_api_client/models/repair_itemput_response_schema_data_custom.py similarity index 78% rename from rentman_api_client/models/inhuur_itemput_response_schema_data_custom.py rename to rentman_api_client/models/repair_itemput_response_schema_data_custom.py index 84555e3..0bf1f67 100644 --- a/rentman_api_client/models/inhuur_itemput_response_schema_data_custom.py +++ b/rentman_api_client/models/repair_itemput_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="InhuurItemputResponseSchemaDataCustom") +T = TypeVar("T", bound="RepairItemputResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class InhuurItemputResponseSchemaDataCustom: +class RepairItemputResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - inhuur_itemput_response_schema_data_custom = cls() + repair_itemput_response_schema_data_custom = cls() - inhuur_itemput_response_schema_data_custom.additional_properties = d - return inhuur_itemput_response_schema_data_custom + repair_itemput_response_schema_data_custom.additional_properties = d + return repair_itemput_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/repair_itemput_response_schema_data_is_usable.py b/rentman_api_client/models/repair_itemput_response_schema_data_is_usable.py new file mode 100644 index 0000000..9ba9287 --- /dev/null +++ b/rentman_api_client/models/repair_itemput_response_schema_data_is_usable.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class RepairItemputResponseSchemaDataIsUsable(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/reparatie_collectionget_response_schema.py b/rentman_api_client/models/reparatie_collectionget_response_schema.py deleted file mode 100644 index 20b2e39..0000000 --- a/rentman_api_client/models/reparatie_collectionget_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.reparatie_collectionget_response_schema_data_item import ReparatieCollectiongetResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="ReparatieCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class ReparatieCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[ReparatieCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = ReparatieCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - reparatie_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - reparatie_collectionget_response_schema.additional_properties = d - return reparatie_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/reparatie_collectionget_response_schema_data_item_custom.py deleted file mode 100644 index 3752763..0000000 --- a/rentman_api_client/models/reparatie_collectionget_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="ReparatieCollectiongetResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class ReparatieCollectiongetResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - reparatie_collectionget_response_schema_data_item_custom = cls() - - reparatie_collectionget_response_schema_data_item_custom.additional_properties = d - return reparatie_collectionget_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_collectionget_response_schema_data_item_is_usable.py b/rentman_api_client/models/reparatie_collectionget_response_schema_data_item_is_usable.py deleted file mode 100644 index 9e2f362..0000000 --- a/rentman_api_client/models/reparatie_collectionget_response_schema_data_item_is_usable.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class ReparatieCollectiongetResponseSchemaDataItemIsUsable(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/reparatie_collectionpost_response_schema.py b/rentman_api_client/models/reparatie_collectionpost_response_schema.py deleted file mode 100644 index 12dfeac..0000000 --- a/rentman_api_client/models/reparatie_collectionpost_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.reparatie_collectionpost_response_schema_data_item import ReparatieCollectionpostResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="ReparatieCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class ReparatieCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[ReparatieCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = ReparatieCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - reparatie_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - reparatie_collectionpost_response_schema.additional_properties = d - return reparatie_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/reparatie_collectionpost_response_schema_data_item_custom.py deleted file mode 100644 index 58718f6..0000000 --- a/rentman_api_client/models/reparatie_collectionpost_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="ReparatieCollectionpostResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class ReparatieCollectionpostResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - reparatie_collectionpost_response_schema_data_item_custom = cls() - - reparatie_collectionpost_response_schema_data_item_custom.additional_properties = d - return reparatie_collectionpost_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_collectionpost_response_schema_data_item_is_usable.py b/rentman_api_client/models/reparatie_collectionpost_response_schema_data_item_is_usable.py deleted file mode 100644 index fd1facb..0000000 --- a/rentman_api_client/models/reparatie_collectionpost_response_schema_data_item_is_usable.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class ReparatieCollectionpostResponseSchemaDataItemIsUsable(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/reparatie_collectionput_response_schema.py b/rentman_api_client/models/reparatie_collectionput_response_schema.py deleted file mode 100644 index f742479..0000000 --- a/rentman_api_client/models/reparatie_collectionput_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.reparatie_collectionput_response_schema_data_item import ReparatieCollectionputResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="ReparatieCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class ReparatieCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[ReparatieCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = ReparatieCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - reparatie_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - reparatie_collectionput_response_schema.additional_properties = d - return reparatie_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_collectionput_response_schema_data_item.py b/rentman_api_client/models/reparatie_collectionput_response_schema_data_item.py deleted file mode 100644 index 204f62f..0000000 --- a/rentman_api_client/models/reparatie_collectionput_response_schema_data_item.py +++ /dev/null @@ -1,244 +0,0 @@ -import datetime -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr -from dateutil.parser import isoparse - -from ..models.reparatie_collectionput_response_schema_data_item_custom import ( - ReparatieCollectionputResponseSchemaDataItemCustom, -) -from ..models.reparatie_collectionput_response_schema_data_item_is_usable import ( - ReparatieCollectionputResponseSchemaDataItemIsUsable, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="ReparatieCollectionputResponseSchemaDataItem") - - -@attr.s(auto_attribs=True) -class ReparatieCollectionputResponseSchemaDataItem: - """ """ - - id: Union[Unset, int] = UNSET - created: Union[Unset, None, datetime.datetime] = UNSET - modified: Union[Unset, None, datetime.datetime] = UNSET - creator: Union[Unset, None, str] = UNSET - displayname: Union[Unset, str] = UNSET - equipment: Union[Unset, str] = UNSET - serialnumber: Union[Unset, None, str] = UNSET - reporter: Union[Unset, None, str] = UNSET - assignee: Union[Unset, None, str] = UNSET - external_repairer: Union[Unset, None, str] = UNSET - number: Union[Unset, str] = UNSET - repairperiod_start: Union[Unset, None, datetime.datetime] = UNSET - repairperiod_end: Union[Unset, None, datetime.datetime] = UNSET - amount: Union[Unset, int] = UNSET - remark: Union[Unset, str] = UNSET - repair_costs: Union[Unset, float] = UNSET - is_usable: Union[Unset, ReparatieCollectionputResponseSchemaDataItemIsUsable] = UNSET - costs_charged_to_customer: Union[Unset, None, str] = UNSET - subproject: Union[Unset, None, str] = UNSET - stock_location: Union[Unset, None, str] = UNSET - tags: Union[Unset, str] = UNSET - custom: Union[Unset, ReparatieCollectionputResponseSchemaDataItemCustom] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - id = self.id - created: Union[Unset, None, str] = UNSET - if not isinstance(self.created, Unset): - created = self.created.isoformat() if self.created else None - - modified: Union[Unset, None, str] = UNSET - if not isinstance(self.modified, Unset): - modified = self.modified.isoformat() if self.modified else None - - creator = self.creator - displayname = self.displayname - equipment = self.equipment - serialnumber = self.serialnumber - reporter = self.reporter - assignee = self.assignee - external_repairer = self.external_repairer - number = self.number - repairperiod_start: Union[Unset, None, str] = UNSET - if not isinstance(self.repairperiod_start, Unset): - repairperiod_start = self.repairperiod_start.isoformat() if self.repairperiod_start else None - - repairperiod_end: Union[Unset, None, str] = UNSET - if not isinstance(self.repairperiod_end, Unset): - repairperiod_end = self.repairperiod_end.isoformat() if self.repairperiod_end else None - - amount = self.amount - remark = self.remark - repair_costs = self.repair_costs - is_usable: Union[Unset, int] = UNSET - if not isinstance(self.is_usable, Unset): - is_usable = self.is_usable.value - - costs_charged_to_customer = self.costs_charged_to_customer - subproject = self.subproject - stock_location = self.stock_location - tags = self.tags - custom: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.custom, Unset): - custom = self.custom.to_dict() - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if id is not UNSET: - field_dict["id"] = id - if created is not UNSET: - field_dict["created"] = created - if modified is not UNSET: - field_dict["modified"] = modified - if creator is not UNSET: - field_dict["creator"] = creator - if displayname is not UNSET: - field_dict["displayname"] = displayname - if equipment is not UNSET: - field_dict["equipment"] = equipment - if serialnumber is not UNSET: - field_dict["serialnumber"] = serialnumber - if reporter is not UNSET: - field_dict["reporter"] = reporter - if assignee is not UNSET: - field_dict["assignee"] = assignee - if external_repairer is not UNSET: - field_dict["external_repairer"] = external_repairer - if number is not UNSET: - field_dict["number"] = number - if repairperiod_start is not UNSET: - field_dict["repairperiod_start"] = repairperiod_start - if repairperiod_end is not UNSET: - field_dict["repairperiod_end"] = repairperiod_end - if amount is not UNSET: - field_dict["amount"] = amount - if remark is not UNSET: - field_dict["remark"] = remark - if repair_costs is not UNSET: - field_dict["repair_costs"] = repair_costs - if is_usable is not UNSET: - field_dict["is_usable"] = is_usable - if costs_charged_to_customer is not UNSET: - field_dict["costs_charged_to_customer"] = costs_charged_to_customer - if subproject is not UNSET: - field_dict["subproject"] = subproject - if stock_location is not UNSET: - field_dict["stock_location"] = stock_location - if tags is not UNSET: - field_dict["tags"] = tags - if custom is not UNSET: - field_dict["custom"] = custom - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - id = d.pop("id", UNSET) - - created = None - _created = d.pop("created", UNSET) - if _created is not None and not isinstance(_created, Unset): - created = isoparse(_created) - - modified = None - _modified = d.pop("modified", UNSET) - if _modified is not None and not isinstance(_modified, Unset): - modified = isoparse(_modified) - - creator = d.pop("creator", UNSET) - - displayname = d.pop("displayname", UNSET) - - equipment = d.pop("equipment", UNSET) - - serialnumber = d.pop("serialnumber", UNSET) - - reporter = d.pop("reporter", UNSET) - - assignee = d.pop("assignee", UNSET) - - external_repairer = d.pop("external_repairer", UNSET) - - number = d.pop("number", UNSET) - - repairperiod_start = None - _repairperiod_start = d.pop("repairperiod_start", UNSET) - if _repairperiod_start is not None and not isinstance(_repairperiod_start, Unset): - repairperiod_start = isoparse(_repairperiod_start) - - repairperiod_end = None - _repairperiod_end = d.pop("repairperiod_end", UNSET) - if _repairperiod_end is not None and not isinstance(_repairperiod_end, Unset): - repairperiod_end = isoparse(_repairperiod_end) - - amount = d.pop("amount", UNSET) - - remark = d.pop("remark", UNSET) - - repair_costs = d.pop("repair_costs", UNSET) - - is_usable: Union[Unset, ReparatieCollectionputResponseSchemaDataItemIsUsable] = UNSET - _is_usable = d.pop("is_usable", UNSET) - if not isinstance(_is_usable, Unset): - is_usable = ReparatieCollectionputResponseSchemaDataItemIsUsable(_is_usable) - - costs_charged_to_customer = d.pop("costs_charged_to_customer", UNSET) - - subproject = d.pop("subproject", UNSET) - - stock_location = d.pop("stock_location", UNSET) - - tags = d.pop("tags", UNSET) - - custom: Union[Unset, ReparatieCollectionputResponseSchemaDataItemCustom] = UNSET - _custom = d.pop("custom", UNSET) - if not isinstance(_custom, Unset): - custom = ReparatieCollectionputResponseSchemaDataItemCustom.from_dict(_custom) - - reparatie_collectionput_response_schema_data_item = cls( - id=id, - created=created, - modified=modified, - creator=creator, - displayname=displayname, - equipment=equipment, - serialnumber=serialnumber, - reporter=reporter, - assignee=assignee, - external_repairer=external_repairer, - number=number, - repairperiod_start=repairperiod_start, - repairperiod_end=repairperiod_end, - amount=amount, - remark=remark, - repair_costs=repair_costs, - is_usable=is_usable, - costs_charged_to_customer=costs_charged_to_customer, - subproject=subproject, - stock_location=stock_location, - tags=tags, - custom=custom, - ) - - reparatie_collectionput_response_schema_data_item.additional_properties = d - return reparatie_collectionput_response_schema_data_item - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/reparatie_collectionput_response_schema_data_item_custom.py deleted file mode 100644 index ff91656..0000000 --- a/rentman_api_client/models/reparatie_collectionput_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="ReparatieCollectionputResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class ReparatieCollectionputResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - reparatie_collectionput_response_schema_data_item_custom = cls() - - reparatie_collectionput_response_schema_data_item_custom.additional_properties = d - return reparatie_collectionput_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_collectionput_response_schema_data_item_is_usable.py b/rentman_api_client/models/reparatie_collectionput_response_schema_data_item_is_usable.py deleted file mode 100644 index 61a4784..0000000 --- a/rentman_api_client/models/reparatie_collectionput_response_schema_data_item_is_usable.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class ReparatieCollectionputResponseSchemaDataItemIsUsable(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/reparatie_itemget_request_schema_custom.py b/rentman_api_client/models/reparatie_itemget_request_schema_custom.py deleted file mode 100644 index c0673e6..0000000 --- a/rentman_api_client/models/reparatie_itemget_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="ReparatieItemgetRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class ReparatieItemgetRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - reparatie_itemget_request_schema_custom = cls() - - reparatie_itemget_request_schema_custom.additional_properties = d - return reparatie_itemget_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_itemget_response_schema.py b/rentman_api_client/models/reparatie_itemget_response_schema.py deleted file mode 100644 index 0f2ce27..0000000 --- a/rentman_api_client/models/reparatie_itemget_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.reparatie_itemget_response_schema_data import ReparatieItemgetResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="ReparatieItemgetResponseSchema") - - -@attr.s(auto_attribs=True) -class ReparatieItemgetResponseSchema: - """ """ - - data: Union[Unset, ReparatieItemgetResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, ReparatieItemgetResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = ReparatieItemgetResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - reparatie_itemget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - reparatie_itemget_response_schema.additional_properties = d - return reparatie_itemget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_itemget_response_schema_data_custom.py b/rentman_api_client/models/reparatie_itemget_response_schema_data_custom.py deleted file mode 100644 index 3e6720b..0000000 --- a/rentman_api_client/models/reparatie_itemget_response_schema_data_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="ReparatieItemgetResponseSchemaDataCustom") - - -@attr.s(auto_attribs=True) -class ReparatieItemgetResponseSchemaDataCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - reparatie_itemget_response_schema_data_custom = cls() - - reparatie_itemget_response_schema_data_custom.additional_properties = d - return reparatie_itemget_response_schema_data_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_itempost_request_schema_custom.py b/rentman_api_client/models/reparatie_itempost_request_schema_custom.py deleted file mode 100644 index 9365c87..0000000 --- a/rentman_api_client/models/reparatie_itempost_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="ReparatieItempostRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class ReparatieItempostRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - reparatie_itempost_request_schema_custom = cls() - - reparatie_itempost_request_schema_custom.additional_properties = d - return reparatie_itempost_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_itempost_response_schema_data_custom.py b/rentman_api_client/models/reparatie_itempost_response_schema_data_custom.py deleted file mode 100644 index c2af642..0000000 --- a/rentman_api_client/models/reparatie_itempost_response_schema_data_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="ReparatieItempostResponseSchemaDataCustom") - - -@attr.s(auto_attribs=True) -class ReparatieItempostResponseSchemaDataCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - reparatie_itempost_response_schema_data_custom = cls() - - reparatie_itempost_response_schema_data_custom.additional_properties = d - return reparatie_itempost_response_schema_data_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_itemput_request_schema_custom.py b/rentman_api_client/models/reparatie_itemput_request_schema_custom.py deleted file mode 100644 index 987eaa5..0000000 --- a/rentman_api_client/models/reparatie_itemput_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="ReparatieItemputRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class ReparatieItemputRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - reparatie_itemput_request_schema_custom = cls() - - reparatie_itemput_request_schema_custom.additional_properties = d - return reparatie_itemput_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_itemput_response_schema.py b/rentman_api_client/models/reparatie_itemput_response_schema.py deleted file mode 100644 index 59776ad..0000000 --- a/rentman_api_client/models/reparatie_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.reparatie_itemput_response_schema_data import ReparatieItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="ReparatieItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class ReparatieItemputResponseSchema: - """ """ - - data: Union[Unset, ReparatieItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, ReparatieItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = ReparatieItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - reparatie_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - reparatie_itemput_response_schema.additional_properties = d - return reparatie_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_itemput_response_schema_data_custom.py b/rentman_api_client/models/reparatie_itemput_response_schema_data_custom.py deleted file mode 100644 index a967726..0000000 --- a/rentman_api_client/models/reparatie_itemput_response_schema_data_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="ReparatieItemputResponseSchemaDataCustom") - - -@attr.s(auto_attribs=True) -class ReparatieItemputResponseSchemaDataCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - reparatie_itemput_response_schema_data_custom = cls() - - reparatie_itemput_response_schema_data_custom.additional_properties = d - return reparatie_itemput_response_schema_data_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/reparatie_itemput_response_schema_data_is_usable.py b/rentman_api_client/models/reparatie_itemput_response_schema_data_is_usable.py deleted file mode 100644 index 8e0955f..0000000 --- a/rentman_api_client/models/reparatie_itemput_response_schema_data_is_usable.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class ReparatieItemputResponseSchemaDataIsUsable(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/serialnumber_collectionget_response_schema.py b/rentman_api_client/models/serialnumber_collectionget_response_schema.py new file mode 100644 index 0000000..6c0ffe9 --- /dev/null +++ b/rentman_api_client/models/serialnumber_collectionget_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.serialnumber_collectionget_response_schema_data_item import ( + SerialnumberCollectiongetResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SerialnumberCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class SerialnumberCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[SerialnumberCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = SerialnumberCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + serialnumber_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + serialnumber_collectionget_response_schema.additional_properties = d + return serialnumber_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/exemplaar_collectionpost_response_schema_data_item.py b/rentman_api_client/models/serialnumber_collectionget_response_schema_data_item.py similarity index 89% rename from rentman_api_client/models/exemplaar_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/serialnumber_collectionget_response_schema_data_item.py index 1f52ba8..3021234 100644 --- a/rentman_api_client/models/exemplaar_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/serialnumber_collectionget_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.exemplaar_collectionpost_response_schema_data_item_custom import ( - ExemplaarCollectionpostResponseSchemaDataItemCustom, +from ..models.serialnumber_collectionget_response_schema_data_item_custom import ( + SerialnumberCollectiongetResponseSchemaDataItemCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="SerialnumberCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class ExemplaarCollectionpostResponseSchemaDataItem: +class SerialnumberCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -35,7 +35,7 @@ class ExemplaarCollectionpostResponseSchemaDataItem: next_inspection: Union[Unset, None, str] = UNSET qrcodes: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ExemplaarCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SerialnumberCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -161,12 +161,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ExemplaarCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SerialnumberCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ExemplaarCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) + custom = SerialnumberCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - exemplaar_collectionpost_response_schema_data_item = cls( + serialnumber_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -189,8 +189,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - exemplaar_collectionpost_response_schema_data_item.additional_properties = d - return exemplaar_collectionpost_response_schema_data_item + serialnumber_collectionget_response_schema_data_item.additional_properties = d + return serialnumber_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/serialnumber_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/serialnumber_collectionget_response_schema_data_item_custom.py new file mode 100644 index 0000000..9b5c325 --- /dev/null +++ b/rentman_api_client/models/serialnumber_collectionget_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="SerialnumberCollectiongetResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class SerialnumberCollectiongetResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + serialnumber_collectionget_response_schema_data_item_custom = cls() + + serialnumber_collectionget_response_schema_data_item_custom.additional_properties = d + return serialnumber_collectionget_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/serialnumber_collectionpost_response_schema.py b/rentman_api_client/models/serialnumber_collectionpost_response_schema.py new file mode 100644 index 0000000..4b476d5 --- /dev/null +++ b/rentman_api_client/models/serialnumber_collectionpost_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.serialnumber_collectionpost_response_schema_data_item import ( + SerialnumberCollectionpostResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SerialnumberCollectionpostResponseSchema") + + +@attr.s(auto_attribs=True) +class SerialnumberCollectionpostResponseSchema: + """ """ + + data: Union[Unset, List[SerialnumberCollectionpostResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = SerialnumberCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + serialnumber_collectionpost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + serialnumber_collectionpost_response_schema.additional_properties = d + return serialnumber_collectionpost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/exemplaar_collectionput_response_schema_data_item.py b/rentman_api_client/models/serialnumber_collectionpost_response_schema_data_item.py similarity index 89% rename from rentman_api_client/models/exemplaar_collectionput_response_schema_data_item.py rename to rentman_api_client/models/serialnumber_collectionpost_response_schema_data_item.py index 83866b1..1dc4f8a 100644 --- a/rentman_api_client/models/exemplaar_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/serialnumber_collectionpost_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.exemplaar_collectionput_response_schema_data_item_custom import ( - ExemplaarCollectionputResponseSchemaDataItemCustom, +from ..models.serialnumber_collectionpost_response_schema_data_item_custom import ( + SerialnumberCollectionpostResponseSchemaDataItemCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="SerialnumberCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class ExemplaarCollectionputResponseSchemaDataItem: +class SerialnumberCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -35,7 +35,7 @@ class ExemplaarCollectionputResponseSchemaDataItem: next_inspection: Union[Unset, None, str] = UNSET qrcodes: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ExemplaarCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SerialnumberCollectionpostResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -161,12 +161,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ExemplaarCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SerialnumberCollectionpostResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ExemplaarCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + custom = SerialnumberCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - exemplaar_collectionput_response_schema_data_item = cls( + serialnumber_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -189,8 +189,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - exemplaar_collectionput_response_schema_data_item.additional_properties = d - return exemplaar_collectionput_response_schema_data_item + serialnumber_collectionpost_response_schema_data_item.additional_properties = d + return serialnumber_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/serialnumber_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/serialnumber_collectionpost_response_schema_data_item_custom.py new file mode 100644 index 0000000..2bb1269 --- /dev/null +++ b/rentman_api_client/models/serialnumber_collectionpost_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="SerialnumberCollectionpostResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class SerialnumberCollectionpostResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + serialnumber_collectionpost_response_schema_data_item_custom = cls() + + serialnumber_collectionpost_response_schema_data_item_custom.additional_properties = d + return serialnumber_collectionpost_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/serialnumber_collectionput_response_schema.py b/rentman_api_client/models/serialnumber_collectionput_response_schema.py new file mode 100644 index 0000000..cbd4697 --- /dev/null +++ b/rentman_api_client/models/serialnumber_collectionput_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.serialnumber_collectionput_response_schema_data_item import ( + SerialnumberCollectionputResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SerialnumberCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class SerialnumberCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[SerialnumberCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = SerialnumberCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + serialnumber_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + serialnumber_collectionput_response_schema.additional_properties = d + return serialnumber_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/exemplaar_collectionget_response_schema_data_item.py b/rentman_api_client/models/serialnumber_collectionput_response_schema_data_item.py similarity index 89% rename from rentman_api_client/models/exemplaar_collectionget_response_schema_data_item.py rename to rentman_api_client/models/serialnumber_collectionput_response_schema_data_item.py index f1c5f94..8290e5e 100644 --- a/rentman_api_client/models/exemplaar_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/serialnumber_collectionput_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.exemplaar_collectionget_response_schema_data_item_custom import ( - ExemplaarCollectiongetResponseSchemaDataItemCustom, +from ..models.serialnumber_collectionput_response_schema_data_item_custom import ( + SerialnumberCollectionputResponseSchemaDataItemCustom, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="SerialnumberCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class ExemplaarCollectiongetResponseSchemaDataItem: +class SerialnumberCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -35,7 +35,7 @@ class ExemplaarCollectiongetResponseSchemaDataItem: next_inspection: Union[Unset, None, str] = UNSET qrcodes: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ExemplaarCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SerialnumberCollectionputResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -161,12 +161,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ExemplaarCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SerialnumberCollectionputResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ExemplaarCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = SerialnumberCollectionputResponseSchemaDataItemCustom.from_dict(_custom) - exemplaar_collectionget_response_schema_data_item = cls( + serialnumber_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -189,8 +189,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - exemplaar_collectionget_response_schema_data_item.additional_properties = d - return exemplaar_collectionget_response_schema_data_item + serialnumber_collectionput_response_schema_data_item.additional_properties = d + return serialnumber_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/serialnumber_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/serialnumber_collectionput_response_schema_data_item_custom.py new file mode 100644 index 0000000..731bd99 --- /dev/null +++ b/rentman_api_client/models/serialnumber_collectionput_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="SerialnumberCollectionputResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class SerialnumberCollectionputResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + serialnumber_collectionput_response_schema_data_item_custom = cls() + + serialnumber_collectionput_response_schema_data_item_custom.additional_properties = d + return serialnumber_collectionput_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/exemplaar_itempost_request_schema.py b/rentman_api_client/models/serialnumber_itemget_request_schema.py similarity index 85% rename from rentman_api_client/models/exemplaar_itempost_request_schema.py rename to rentman_api_client/models/serialnumber_itemget_request_schema.py index cd4ab53..2a4ca86 100644 --- a/rentman_api_client/models/exemplaar_itempost_request_schema.py +++ b/rentman_api_client/models/serialnumber_itemget_request_schema.py @@ -2,14 +2,14 @@ import attr -from ..models.exemplaar_itempost_request_schema_custom import ExemplaarItempostRequestSchemaCustom +from ..models.serialnumber_itemget_request_schema_custom import SerialnumberItemgetRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarItempostRequestSchema") +T = TypeVar("T", bound="SerialnumberItemgetRequestSchema") @attr.s(auto_attribs=True) -class ExemplaarItempostRequestSchema: +class SerialnumberItemgetRequestSchema: """ """ serial: Union[Unset, str] = UNSET @@ -21,7 +21,7 @@ class ExemplaarItempostRequestSchema: remark: Union[Unset, str] = UNSET ref: Union[Unset, str] = UNSET asset_location: Union[Unset, None, str] = UNSET - custom: Union[Unset, ExemplaarItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, SerialnumberItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -85,12 +85,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: asset_location = d.pop("asset_location", UNSET) - custom: Union[Unset, ExemplaarItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, SerialnumberItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ExemplaarItempostRequestSchemaCustom.from_dict(_custom) + custom = SerialnumberItemgetRequestSchemaCustom.from_dict(_custom) - exemplaar_itempost_request_schema = cls( + serialnumber_itemget_request_schema = cls( serial=serial, purchasedate=purchasedate, depreciation_monthly=depreciation_monthly, @@ -103,8 +103,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - exemplaar_itempost_request_schema.additional_properties = d - return exemplaar_itempost_request_schema + serialnumber_itemget_request_schema.additional_properties = d + return serialnumber_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itemput_response_schema_data_custom.py b/rentman_api_client/models/serialnumber_itemget_request_schema_custom.py similarity index 78% rename from rentman_api_client/models/person_itemput_response_schema_data_custom.py rename to rentman_api_client/models/serialnumber_itemget_request_schema_custom.py index 2e6cb9e..fbd0c58 100644 --- a/rentman_api_client/models/person_itemput_response_schema_data_custom.py +++ b/rentman_api_client/models/serialnumber_itemget_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PersonItemputResponseSchemaDataCustom") +T = TypeVar("T", bound="SerialnumberItemgetRequestSchemaCustom") @attr.s(auto_attribs=True) -class PersonItemputResponseSchemaDataCustom: +class SerialnumberItemgetRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - person_itemput_response_schema_data_custom = cls() + serialnumber_itemget_request_schema_custom = cls() - person_itemput_response_schema_data_custom.additional_properties = d - return person_itemput_response_schema_data_custom + serialnumber_itemget_request_schema_custom.additional_properties = d + return serialnumber_itemget_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/serialnumber_itemget_response_schema.py b/rentman_api_client/models/serialnumber_itemget_response_schema.py new file mode 100644 index 0000000..7d27fe3 --- /dev/null +++ b/rentman_api_client/models/serialnumber_itemget_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.serialnumber_itemget_response_schema_data import SerialnumberItemgetResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SerialnumberItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class SerialnumberItemgetResponseSchema: + """ """ + + data: Union[Unset, SerialnumberItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, SerialnumberItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = SerialnumberItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + serialnumber_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + serialnumber_itemget_response_schema.additional_properties = d + return serialnumber_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/exemplaar_itemget_response_schema_data.py b/rentman_api_client/models/serialnumber_itemget_response_schema_data.py similarity index 91% rename from rentman_api_client/models/exemplaar_itemget_response_schema_data.py rename to rentman_api_client/models/serialnumber_itemget_response_schema_data.py index a206543..89366b8 100644 --- a/rentman_api_client/models/exemplaar_itemget_response_schema_data.py +++ b/rentman_api_client/models/serialnumber_itemget_response_schema_data.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.exemplaar_itemget_response_schema_data_custom import ExemplaarItemgetResponseSchemaDataCustom +from ..models.serialnumber_itemget_response_schema_data_custom import SerialnumberItemgetResponseSchemaDataCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarItemgetResponseSchemaData") +T = TypeVar("T", bound="SerialnumberItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class ExemplaarItemgetResponseSchemaData: +class SerialnumberItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -33,7 +33,7 @@ class ExemplaarItemgetResponseSchemaData: next_inspection: Union[Unset, None, str] = UNSET qrcodes: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ExemplaarItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SerialnumberItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -159,12 +159,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ExemplaarItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SerialnumberItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ExemplaarItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = SerialnumberItemgetResponseSchemaDataCustom.from_dict(_custom) - exemplaar_itemget_response_schema_data = cls( + serialnumber_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -187,8 +187,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - exemplaar_itemget_response_schema_data.additional_properties = d - return exemplaar_itemget_response_schema_data + serialnumber_itemget_response_schema_data.additional_properties = d + return serialnumber_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningpersoneel_itempost_request_schema_custom.py b/rentman_api_client/models/serialnumber_itemget_response_schema_data_custom.py similarity index 76% rename from rentman_api_client/models/planningpersoneel_itempost_request_schema_custom.py rename to rentman_api_client/models/serialnumber_itemget_response_schema_data_custom.py index edb0204..fbdfcbb 100644 --- a/rentman_api_client/models/planningpersoneel_itempost_request_schema_custom.py +++ b/rentman_api_client/models/serialnumber_itemget_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningpersoneelItempostRequestSchemaCustom") +T = TypeVar("T", bound="SerialnumberItemgetResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class PlanningpersoneelItempostRequestSchemaCustom: +class SerialnumberItemgetResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningpersoneel_itempost_request_schema_custom = cls() + serialnumber_itemget_response_schema_data_custom = cls() - planningpersoneel_itempost_request_schema_custom.additional_properties = d - return planningpersoneel_itempost_request_schema_custom + serialnumber_itemget_response_schema_data_custom.additional_properties = d + return serialnumber_itemget_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_itemget_request_schema.py b/rentman_api_client/models/serialnumber_itempost_request_schema.py similarity index 85% rename from rentman_api_client/models/exemplaar_itemget_request_schema.py rename to rentman_api_client/models/serialnumber_itempost_request_schema.py index 66aa565..b2e440a 100644 --- a/rentman_api_client/models/exemplaar_itemget_request_schema.py +++ b/rentman_api_client/models/serialnumber_itempost_request_schema.py @@ -2,14 +2,14 @@ import attr -from ..models.exemplaar_itemget_request_schema_custom import ExemplaarItemgetRequestSchemaCustom +from ..models.serialnumber_itempost_request_schema_custom import SerialnumberItempostRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarItemgetRequestSchema") +T = TypeVar("T", bound="SerialnumberItempostRequestSchema") @attr.s(auto_attribs=True) -class ExemplaarItemgetRequestSchema: +class SerialnumberItempostRequestSchema: """ """ serial: Union[Unset, str] = UNSET @@ -21,7 +21,7 @@ class ExemplaarItemgetRequestSchema: remark: Union[Unset, str] = UNSET ref: Union[Unset, str] = UNSET asset_location: Union[Unset, None, str] = UNSET - custom: Union[Unset, ExemplaarItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, SerialnumberItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -85,12 +85,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: asset_location = d.pop("asset_location", UNSET) - custom: Union[Unset, ExemplaarItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, SerialnumberItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ExemplaarItemgetRequestSchemaCustom.from_dict(_custom) + custom = SerialnumberItempostRequestSchemaCustom.from_dict(_custom) - exemplaar_itemget_request_schema = cls( + serialnumber_itempost_request_schema = cls( serial=serial, purchasedate=purchasedate, depreciation_monthly=depreciation_monthly, @@ -103,8 +103,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - exemplaar_itemget_request_schema.additional_properties = d - return exemplaar_itemget_request_schema + serialnumber_itempost_request_schema.additional_properties = d + return serialnumber_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/serialnumber_itempost_request_schema_custom.py b/rentman_api_client/models/serialnumber_itempost_request_schema_custom.py new file mode 100644 index 0000000..6ed6e17 --- /dev/null +++ b/rentman_api_client/models/serialnumber_itempost_request_schema_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="SerialnumberItempostRequestSchemaCustom") + + +@attr.s(auto_attribs=True) +class SerialnumberItempostRequestSchemaCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + serialnumber_itempost_request_schema_custom = cls() + + serialnumber_itempost_request_schema_custom.additional_properties = d + return serialnumber_itempost_request_schema_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/materiaal_cat_itempost_response_schema.py b/rentman_api_client/models/serialnumber_itempost_response_schema.py similarity index 77% rename from rentman_api_client/models/materiaal_cat_itempost_response_schema.py rename to rentman_api_client/models/serialnumber_itempost_response_schema.py index 5fcc861..2ac8eed 100644 --- a/rentman_api_client/models/materiaal_cat_itempost_response_schema.py +++ b/rentman_api_client/models/serialnumber_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.materiaal_cat_itempost_response_schema_data import MateriaalCatItempostResponseSchemaData +from ..models.serialnumber_itempost_response_schema_data import SerialnumberItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="MateriaalCatItempostResponseSchema") +T = TypeVar("T", bound="SerialnumberItempostResponseSchema") @attr.s(auto_attribs=True) -class MateriaalCatItempostResponseSchema: +class SerialnumberItempostResponseSchema: """ """ - data: Union[Unset, MateriaalCatItempostResponseSchemaData] = UNSET + data: Union[Unset, SerialnumberItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, MateriaalCatItempostResponseSchemaData] = UNSET + data: Union[Unset, SerialnumberItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = MateriaalCatItempostResponseSchemaData.from_dict(_data) + data = SerialnumberItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - materiaal_cat_itempost_response_schema = cls( + serialnumber_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - materiaal_cat_itempost_response_schema.additional_properties = d - return materiaal_cat_itempost_response_schema + serialnumber_itempost_response_schema.additional_properties = d + return serialnumber_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_itemput_response_schema_data.py b/rentman_api_client/models/serialnumber_itempost_response_schema_data.py similarity index 91% rename from rentman_api_client/models/exemplaar_itemput_response_schema_data.py rename to rentman_api_client/models/serialnumber_itempost_response_schema_data.py index 15b2f0b..0ff8e01 100644 --- a/rentman_api_client/models/exemplaar_itemput_response_schema_data.py +++ b/rentman_api_client/models/serialnumber_itempost_response_schema_data.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.exemplaar_itemput_response_schema_data_custom import ExemplaarItemputResponseSchemaDataCustom +from ..models.serialnumber_itempost_response_schema_data_custom import SerialnumberItempostResponseSchemaDataCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarItemputResponseSchemaData") +T = TypeVar("T", bound="SerialnumberItempostResponseSchemaData") @attr.s(auto_attribs=True) -class ExemplaarItemputResponseSchemaData: +class SerialnumberItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -33,7 +33,7 @@ class ExemplaarItemputResponseSchemaData: next_inspection: Union[Unset, None, str] = UNSET qrcodes: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ExemplaarItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SerialnumberItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -159,12 +159,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ExemplaarItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SerialnumberItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ExemplaarItemputResponseSchemaDataCustom.from_dict(_custom) + custom = SerialnumberItempostResponseSchemaDataCustom.from_dict(_custom) - exemplaar_itemput_response_schema_data = cls( + serialnumber_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -187,8 +187,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - exemplaar_itemput_response_schema_data.additional_properties = d - return exemplaar_itemput_response_schema_data + serialnumber_itempost_response_schema_data.additional_properties = d + return serialnumber_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/serialnumber_itempost_response_schema_data_custom.py b/rentman_api_client/models/serialnumber_itempost_response_schema_data_custom.py new file mode 100644 index 0000000..b4d823e --- /dev/null +++ b/rentman_api_client/models/serialnumber_itempost_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="SerialnumberItempostResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class SerialnumberItempostResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + serialnumber_itempost_response_schema_data_custom = cls() + + serialnumber_itempost_response_schema_data_custom.additional_properties = d + return serialnumber_itempost_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/exemplaar_itemput_request_schema.py b/rentman_api_client/models/serialnumber_itemput_request_schema.py similarity index 85% rename from rentman_api_client/models/exemplaar_itemput_request_schema.py rename to rentman_api_client/models/serialnumber_itemput_request_schema.py index e65de18..8bcea00 100644 --- a/rentman_api_client/models/exemplaar_itemput_request_schema.py +++ b/rentman_api_client/models/serialnumber_itemput_request_schema.py @@ -2,14 +2,14 @@ import attr -from ..models.exemplaar_itemput_request_schema_custom import ExemplaarItemputRequestSchemaCustom +from ..models.serialnumber_itemput_request_schema_custom import SerialnumberItemputRequestSchemaCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarItemputRequestSchema") +T = TypeVar("T", bound="SerialnumberItemputRequestSchema") @attr.s(auto_attribs=True) -class ExemplaarItemputRequestSchema: +class SerialnumberItemputRequestSchema: """ """ serial: Union[Unset, str] = UNSET @@ -21,7 +21,7 @@ class ExemplaarItemputRequestSchema: remark: Union[Unset, str] = UNSET ref: Union[Unset, str] = UNSET asset_location: Union[Unset, None, str] = UNSET - custom: Union[Unset, ExemplaarItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, SerialnumberItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -85,12 +85,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: asset_location = d.pop("asset_location", UNSET) - custom: Union[Unset, ExemplaarItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, SerialnumberItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ExemplaarItemputRequestSchemaCustom.from_dict(_custom) + custom = SerialnumberItemputRequestSchemaCustom.from_dict(_custom) - exemplaar_itemput_request_schema = cls( + serialnumber_itemput_request_schema = cls( serial=serial, purchasedate=purchasedate, depreciation_monthly=depreciation_monthly, @@ -103,8 +103,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - exemplaar_itemput_request_schema.additional_properties = d - return exemplaar_itemput_request_schema + serialnumber_itemput_request_schema.additional_properties = d + return serialnumber_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/serialnumber_itemput_request_schema_custom.py b/rentman_api_client/models/serialnumber_itemput_request_schema_custom.py new file mode 100644 index 0000000..bdb2f65 --- /dev/null +++ b/rentman_api_client/models/serialnumber_itemput_request_schema_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="SerialnumberItemputRequestSchemaCustom") + + +@attr.s(auto_attribs=True) +class SerialnumberItemputRequestSchemaCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + serialnumber_itemput_request_schema_custom = cls() + + serialnumber_itemput_request_schema_custom.additional_properties = d + return serialnumber_itemput_request_schema_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/serialnumber_itemput_response_schema.py b/rentman_api_client/models/serialnumber_itemput_response_schema.py new file mode 100644 index 0000000..cac39d4 --- /dev/null +++ b/rentman_api_client/models/serialnumber_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.serialnumber_itemput_response_schema_data import SerialnumberItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SerialnumberItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class SerialnumberItemputResponseSchema: + """ """ + + data: Union[Unset, SerialnumberItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, SerialnumberItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = SerialnumberItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + serialnumber_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + serialnumber_itemput_response_schema.additional_properties = d + return serialnumber_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/exemplaar_itempost_response_schema_data.py b/rentman_api_client/models/serialnumber_itemput_response_schema_data.py similarity index 91% rename from rentman_api_client/models/exemplaar_itempost_response_schema_data.py rename to rentman_api_client/models/serialnumber_itemput_response_schema_data.py index 232ce1a..9647fd2 100644 --- a/rentman_api_client/models/exemplaar_itempost_response_schema_data.py +++ b/rentman_api_client/models/serialnumber_itemput_response_schema_data.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.exemplaar_itempost_response_schema_data_custom import ExemplaarItempostResponseSchemaDataCustom +from ..models.serialnumber_itemput_response_schema_data_custom import SerialnumberItemputResponseSchemaDataCustom from ..types import UNSET, Unset -T = TypeVar("T", bound="ExemplaarItempostResponseSchemaData") +T = TypeVar("T", bound="SerialnumberItemputResponseSchemaData") @attr.s(auto_attribs=True) -class ExemplaarItempostResponseSchemaData: +class SerialnumberItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -33,7 +33,7 @@ class ExemplaarItempostResponseSchemaData: next_inspection: Union[Unset, None, str] = UNSET qrcodes: Union[Unset, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, ExemplaarItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SerialnumberItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -159,12 +159,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, ExemplaarItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SerialnumberItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = ExemplaarItempostResponseSchemaDataCustom.from_dict(_custom) + custom = SerialnumberItemputResponseSchemaDataCustom.from_dict(_custom) - exemplaar_itempost_response_schema_data = cls( + serialnumber_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -187,8 +187,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - exemplaar_itempost_response_schema_data.additional_properties = d - return exemplaar_itempost_response_schema_data + serialnumber_itemput_response_schema_data.additional_properties = d + return serialnumber_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningtransport_itempost_request_schema_custom.py b/rentman_api_client/models/serialnumber_itemput_response_schema_data_custom.py similarity index 76% rename from rentman_api_client/models/planningtransport_itempost_request_schema_custom.py rename to rentman_api_client/models/serialnumber_itemput_response_schema_data_custom.py index 91392fc..c199107 100644 --- a/rentman_api_client/models/planningtransport_itempost_request_schema_custom.py +++ b/rentman_api_client/models/serialnumber_itemput_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningtransportItempostRequestSchemaCustom") +T = TypeVar("T", bound="SerialnumberItemputResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class PlanningtransportItempostRequestSchemaCustom: +class SerialnumberItemputResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningtransport_itempost_request_schema_custom = cls() + serialnumber_itemput_response_schema_data_custom = cls() - planningtransport_itempost_request_schema_custom.additional_properties = d - return planningtransport_itempost_request_schema_custom + serialnumber_itemput_response_schema_data_custom.additional_properties = d + return serialnumber_itemput_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/setinhoud_collectionget_response_schema.py b/rentman_api_client/models/setinhoud_collectionget_response_schema.py deleted file mode 100644 index 15ba09b..0000000 --- a/rentman_api_client/models/setinhoud_collectionget_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.setinhoud_collectionget_response_schema_data_item import SetinhoudCollectiongetResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="SetinhoudCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class SetinhoudCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[SetinhoudCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = SetinhoudCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - setinhoud_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - setinhoud_collectionget_response_schema.additional_properties = d - return setinhoud_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_collectionpost_response_schema.py b/rentman_api_client/models/setinhoud_collectionpost_response_schema.py deleted file mode 100644 index ba072be..0000000 --- a/rentman_api_client/models/setinhoud_collectionpost_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.setinhoud_collectionpost_response_schema_data_item import SetinhoudCollectionpostResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="SetinhoudCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class SetinhoudCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[SetinhoudCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = SetinhoudCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - setinhoud_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - setinhoud_collectionpost_response_schema.additional_properties = d - return setinhoud_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_collectionput_response_schema.py b/rentman_api_client/models/setinhoud_collectionput_response_schema.py deleted file mode 100644 index 2f46c01..0000000 --- a/rentman_api_client/models/setinhoud_collectionput_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.setinhoud_collectionput_response_schema_data_item import SetinhoudCollectionputResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="SetinhoudCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class SetinhoudCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[SetinhoudCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = SetinhoudCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - setinhoud_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - setinhoud_collectionput_response_schema.additional_properties = d - return setinhoud_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_itemget_response_schema.py b/rentman_api_client/models/setinhoud_itemget_response_schema.py deleted file mode 100644 index 415be59..0000000 --- a/rentman_api_client/models/setinhoud_itemget_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.setinhoud_itemget_response_schema_data import SetinhoudItemgetResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="SetinhoudItemgetResponseSchema") - - -@attr.s(auto_attribs=True) -class SetinhoudItemgetResponseSchema: - """ """ - - data: Union[Unset, SetinhoudItemgetResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, SetinhoudItemgetResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = SetinhoudItemgetResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - setinhoud_itemget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - setinhoud_itemget_response_schema.additional_properties = d - return setinhoud_itemget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_itemget_response_schema_data_is_fixed.py b/rentman_api_client/models/setinhoud_itemget_response_schema_data_is_fixed.py deleted file mode 100644 index d710cd0..0000000 --- a/rentman_api_client/models/setinhoud_itemget_response_schema_data_is_fixed.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import Enum - - -class SetinhoudItemgetResponseSchemaDataIsFixed(str, Enum): - AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" - RESERVED_FROM_STOCK = "Reserved from stock" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/setinhoud_itempost_response_schema.py b/rentman_api_client/models/setinhoud_itempost_response_schema.py deleted file mode 100644 index 705d9b7..0000000 --- a/rentman_api_client/models/setinhoud_itempost_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.setinhoud_itempost_response_schema_data import SetinhoudItempostResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="SetinhoudItempostResponseSchema") - - -@attr.s(auto_attribs=True) -class SetinhoudItempostResponseSchema: - """ """ - - data: Union[Unset, SetinhoudItempostResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, SetinhoudItempostResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = SetinhoudItempostResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - setinhoud_itempost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - setinhoud_itempost_response_schema.additional_properties = d - return setinhoud_itempost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_itemput_request_schema_is_fixed.py b/rentman_api_client/models/setinhoud_itemput_request_schema_is_fixed.py deleted file mode 100644 index ee5696b..0000000 --- a/rentman_api_client/models/setinhoud_itemput_request_schema_is_fixed.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import Enum - - -class SetinhoudItemputRequestSchemaIsFixed(str, Enum): - AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" - RESERVED_FROM_STOCK = "Reserved from stock" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/setinhoud_itemput_response_schema.py b/rentman_api_client/models/setinhoud_itemput_response_schema.py deleted file mode 100644 index 0f13fd9..0000000 --- a/rentman_api_client/models/setinhoud_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.setinhoud_itemput_response_schema_data import SetinhoudItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="SetinhoudItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class SetinhoudItemputResponseSchema: - """ """ - - data: Union[Unset, SetinhoudItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, SetinhoudItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = SetinhoudItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - setinhoud_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - setinhoud_itemput_response_schema.additional_properties = d - return setinhoud_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/setinhoud_itemput_response_schema_data_is_fixed.py b/rentman_api_client/models/setinhoud_itemput_response_schema_data_is_fixed.py deleted file mode 100644 index f874829..0000000 --- a/rentman_api_client/models/setinhoud_itemput_response_schema_data_is_fixed.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import Enum - - -class SetinhoudItemputResponseSchemaDataIsFixed(str, Enum): - AVAILABLE_OUTSIDE_THIS_COMBINATION = "Available outside this combination" - RESERVED_FROM_STOCK = "Reserved from stock" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/asset_location_collectionget_response_schema.py b/rentman_api_client/models/stock_location_collectionget_response_schema.py similarity index 80% rename from rentman_api_client/models/asset_location_collectionget_response_schema.py rename to rentman_api_client/models/stock_location_collectionget_response_schema.py index 57ab936..1e7aa7f 100644 --- a/rentman_api_client/models/asset_location_collectionget_response_schema.py +++ b/rentman_api_client/models/stock_location_collectionget_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.asset_location_collectionget_response_schema_data_item import ( - AssetLocationCollectiongetResponseSchemaDataItem, +from ..models.stock_location_collectionget_response_schema_data_item import ( + StockLocationCollectiongetResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationCollectiongetResponseSchema") +T = TypeVar("T", bound="StockLocationCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class AssetLocationCollectiongetResponseSchema: +class StockLocationCollectiongetResponseSchema: """ """ - data: Union[Unset, List[AssetLocationCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[StockLocationCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AssetLocationCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = StockLocationCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - asset_location_collectionget_response_schema = cls( + stock_location_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - asset_location_collectionget_response_schema.additional_properties = d - return asset_location_collectionget_response_schema + stock_location_collectionget_response_schema.additional_properties = d + return stock_location_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_collectionput_response_schema_data_item.py b/rentman_api_client/models/stock_location_collectionget_response_schema_data_item.py similarity index 85% rename from rentman_api_client/models/asset_location_collectionput_response_schema_data_item.py rename to rentman_api_client/models/stock_location_collectionget_response_schema_data_item.py index f58632a..34f63b9 100644 --- a/rentman_api_client/models/asset_location_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/stock_location_collectionget_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.asset_location_collectionput_response_schema_data_item_country import ( - AssetLocationCollectionputResponseSchemaDataItemCountry, +from ..models.stock_location_collectionget_response_schema_data_item_country import ( + StockLocationCollectiongetResponseSchemaDataItemCountry, ) -from ..models.asset_location_collectionput_response_schema_data_item_type import ( - AssetLocationCollectionputResponseSchemaDataItemType, +from ..models.stock_location_collectionget_response_schema_data_item_type import ( + StockLocationCollectiongetResponseSchemaDataItemType, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="StockLocationCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AssetLocationCollectionputResponseSchemaDataItem: +class StockLocationCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -30,9 +30,9 @@ class AssetLocationCollectionputResponseSchemaDataItem: house_number: Union[Unset, str] = UNSET postal_code: Union[Unset, str] = UNSET state_province: Union[Unset, str] = UNSET - country: Union[Unset, AssetLocationCollectionputResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, StockLocationCollectiongetResponseSchemaDataItemCountry] = UNSET active: Union[Unset, bool] = UNSET - type: Union[Unset, AssetLocationCollectionputResponseSchemaDataItemType] = UNSET + type: Union[Unset, StockLocationCollectiongetResponseSchemaDataItemType] = UNSET color: Union[Unset, str] = UNSET in_archive: Union[Unset, bool] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -136,23 +136,23 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state_province = d.pop("state_province", UNSET) - country: Union[Unset, AssetLocationCollectionputResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, StockLocationCollectiongetResponseSchemaDataItemCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = AssetLocationCollectionputResponseSchemaDataItemCountry(_country) + country = StockLocationCollectiongetResponseSchemaDataItemCountry(_country) active = d.pop("active", UNSET) - type: Union[Unset, AssetLocationCollectionputResponseSchemaDataItemType] = UNSET + type: Union[Unset, StockLocationCollectiongetResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = AssetLocationCollectionputResponseSchemaDataItemType(_type) + type = StockLocationCollectiongetResponseSchemaDataItemType(_type) color = d.pop("color", UNSET) in_archive = d.pop("in_archive", UNSET) - asset_location_collectionput_response_schema_data_item = cls( + stock_location_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -171,8 +171,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive=in_archive, ) - asset_location_collectionput_response_schema_data_item.additional_properties = d - return asset_location_collectionput_response_schema_data_item + stock_location_collectionget_response_schema_data_item.additional_properties = d + return stock_location_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stock_location_collectionget_response_schema_data_item_country.py b/rentman_api_client/models/stock_location_collectionget_response_schema_data_item_country.py new file mode 100644 index 0000000..6b94ad5 --- /dev/null +++ b/rentman_api_client/models/stock_location_collectionget_response_schema_data_item_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class StockLocationCollectiongetResponseSchemaDataItemCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/asset_location_collectionput_response_schema_data_item_type.py b/rentman_api_client/models/stock_location_collectionget_response_schema_data_item_type.py similarity index 70% rename from rentman_api_client/models/asset_location_collectionput_response_schema_data_item_type.py rename to rentman_api_client/models/stock_location_collectionget_response_schema_data_item_type.py index 89dd386..947f909 100644 --- a/rentman_api_client/models/asset_location_collectionput_response_schema_data_item_type.py +++ b/rentman_api_client/models/stock_location_collectionget_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationCollectionputResponseSchemaDataItemType(str, Enum): +class StockLocationCollectiongetResponseSchemaDataItemType(str, Enum): PLANNABLE = "plannable" NONPLANNABLE = "nonplannable" diff --git a/rentman_api_client/models/stocklocation_collectionpost_response_schema.py b/rentman_api_client/models/stocklocation_collectionpost_response_schema.py new file mode 100644 index 0000000..c1de42a --- /dev/null +++ b/rentman_api_client/models/stocklocation_collectionpost_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stocklocation_collectionpost_response_schema_data_item import ( + StocklocationCollectionpostResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StocklocationCollectionpostResponseSchema") + + +@attr.s(auto_attribs=True) +class StocklocationCollectionpostResponseSchema: + """ """ + + data: Union[Unset, List[StocklocationCollectionpostResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = StocklocationCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stocklocation_collectionpost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stocklocation_collectionpost_response_schema.additional_properties = d + return stocklocation_collectionpost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/asset_location_collectionpost_response_schema_data_item.py b/rentman_api_client/models/stocklocation_collectionpost_response_schema_data_item.py similarity index 84% rename from rentman_api_client/models/asset_location_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/stocklocation_collectionpost_response_schema_data_item.py index 8a62acc..3444f25 100644 --- a/rentman_api_client/models/asset_location_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/stocklocation_collectionpost_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.asset_location_collectionpost_response_schema_data_item_country import ( - AssetLocationCollectionpostResponseSchemaDataItemCountry, +from ..models.stocklocation_collectionpost_response_schema_data_item_country import ( + StocklocationCollectionpostResponseSchemaDataItemCountry, ) -from ..models.asset_location_collectionpost_response_schema_data_item_type import ( - AssetLocationCollectionpostResponseSchemaDataItemType, +from ..models.stocklocation_collectionpost_response_schema_data_item_type import ( + StocklocationCollectionpostResponseSchemaDataItemType, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="StocklocationCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AssetLocationCollectionpostResponseSchemaDataItem: +class StocklocationCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -30,9 +30,9 @@ class AssetLocationCollectionpostResponseSchemaDataItem: house_number: Union[Unset, str] = UNSET postal_code: Union[Unset, str] = UNSET state_province: Union[Unset, str] = UNSET - country: Union[Unset, AssetLocationCollectionpostResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, StocklocationCollectionpostResponseSchemaDataItemCountry] = UNSET active: Union[Unset, bool] = UNSET - type: Union[Unset, AssetLocationCollectionpostResponseSchemaDataItemType] = UNSET + type: Union[Unset, StocklocationCollectionpostResponseSchemaDataItemType] = UNSET color: Union[Unset, str] = UNSET in_archive: Union[Unset, bool] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -136,23 +136,23 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state_province = d.pop("state_province", UNSET) - country: Union[Unset, AssetLocationCollectionpostResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, StocklocationCollectionpostResponseSchemaDataItemCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = AssetLocationCollectionpostResponseSchemaDataItemCountry(_country) + country = StocklocationCollectionpostResponseSchemaDataItemCountry(_country) active = d.pop("active", UNSET) - type: Union[Unset, AssetLocationCollectionpostResponseSchemaDataItemType] = UNSET + type: Union[Unset, StocklocationCollectionpostResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = AssetLocationCollectionpostResponseSchemaDataItemType(_type) + type = StocklocationCollectionpostResponseSchemaDataItemType(_type) color = d.pop("color", UNSET) in_archive = d.pop("in_archive", UNSET) - asset_location_collectionpost_response_schema_data_item = cls( + stocklocation_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -171,8 +171,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive=in_archive, ) - asset_location_collectionpost_response_schema_data_item.additional_properties = d - return asset_location_collectionpost_response_schema_data_item + stocklocation_collectionpost_response_schema_data_item.additional_properties = d + return stocklocation_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stocklocation_collectionpost_response_schema_data_item_country.py b/rentman_api_client/models/stocklocation_collectionpost_response_schema_data_item_country.py new file mode 100644 index 0000000..fcf5820 --- /dev/null +++ b/rentman_api_client/models/stocklocation_collectionpost_response_schema_data_item_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class StocklocationCollectionpostResponseSchemaDataItemCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/asset_location_collectionpost_response_schema_data_item_type.py b/rentman_api_client/models/stocklocation_collectionpost_response_schema_data_item_type.py similarity index 70% rename from rentman_api_client/models/asset_location_collectionpost_response_schema_data_item_type.py rename to rentman_api_client/models/stocklocation_collectionpost_response_schema_data_item_type.py index 4f0fe63..123a6b0 100644 --- a/rentman_api_client/models/asset_location_collectionpost_response_schema_data_item_type.py +++ b/rentman_api_client/models/stocklocation_collectionpost_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationCollectionpostResponseSchemaDataItemType(str, Enum): +class StocklocationCollectionpostResponseSchemaDataItemType(str, Enum): PLANNABLE = "plannable" NONPLANNABLE = "nonplannable" diff --git a/rentman_api_client/models/stocklocation_collectionput_response_schema.py b/rentman_api_client/models/stocklocation_collectionput_response_schema.py new file mode 100644 index 0000000..2010235 --- /dev/null +++ b/rentman_api_client/models/stocklocation_collectionput_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stocklocation_collectionput_response_schema_data_item import ( + StocklocationCollectionputResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StocklocationCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class StocklocationCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[StocklocationCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = StocklocationCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stocklocation_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stocklocation_collectionput_response_schema.additional_properties = d + return stocklocation_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/asset_location_collectionget_response_schema_data_item.py b/rentman_api_client/models/stocklocation_collectionput_response_schema_data_item.py similarity index 84% rename from rentman_api_client/models/asset_location_collectionget_response_schema_data_item.py rename to rentman_api_client/models/stocklocation_collectionput_response_schema_data_item.py index fc4dc73..f977b48 100644 --- a/rentman_api_client/models/asset_location_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/stocklocation_collectionput_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.asset_location_collectionget_response_schema_data_item_country import ( - AssetLocationCollectiongetResponseSchemaDataItemCountry, +from ..models.stocklocation_collectionput_response_schema_data_item_country import ( + StocklocationCollectionputResponseSchemaDataItemCountry, ) -from ..models.asset_location_collectionget_response_schema_data_item_type import ( - AssetLocationCollectiongetResponseSchemaDataItemType, +from ..models.stocklocation_collectionput_response_schema_data_item_type import ( + StocklocationCollectionputResponseSchemaDataItemType, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="StocklocationCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class AssetLocationCollectiongetResponseSchemaDataItem: +class StocklocationCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -30,9 +30,9 @@ class AssetLocationCollectiongetResponseSchemaDataItem: house_number: Union[Unset, str] = UNSET postal_code: Union[Unset, str] = UNSET state_province: Union[Unset, str] = UNSET - country: Union[Unset, AssetLocationCollectiongetResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, StocklocationCollectionputResponseSchemaDataItemCountry] = UNSET active: Union[Unset, bool] = UNSET - type: Union[Unset, AssetLocationCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, StocklocationCollectionputResponseSchemaDataItemType] = UNSET color: Union[Unset, str] = UNSET in_archive: Union[Unset, bool] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -136,23 +136,23 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state_province = d.pop("state_province", UNSET) - country: Union[Unset, AssetLocationCollectiongetResponseSchemaDataItemCountry] = UNSET + country: Union[Unset, StocklocationCollectionputResponseSchemaDataItemCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = AssetLocationCollectiongetResponseSchemaDataItemCountry(_country) + country = StocklocationCollectionputResponseSchemaDataItemCountry(_country) active = d.pop("active", UNSET) - type: Union[Unset, AssetLocationCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, StocklocationCollectionputResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = AssetLocationCollectiongetResponseSchemaDataItemType(_type) + type = StocklocationCollectionputResponseSchemaDataItemType(_type) color = d.pop("color", UNSET) in_archive = d.pop("in_archive", UNSET) - asset_location_collectionget_response_schema_data_item = cls( + stocklocation_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -171,8 +171,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive=in_archive, ) - asset_location_collectionget_response_schema_data_item.additional_properties = d - return asset_location_collectionget_response_schema_data_item + stocklocation_collectionput_response_schema_data_item.additional_properties = d + return stocklocation_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stocklocation_collectionput_response_schema_data_item_country.py b/rentman_api_client/models/stocklocation_collectionput_response_schema_data_item_country.py new file mode 100644 index 0000000..118cf08 --- /dev/null +++ b/rentman_api_client/models/stocklocation_collectionput_response_schema_data_item_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class StocklocationCollectionputResponseSchemaDataItemCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/asset_location_collectionget_response_schema_data_item_type.py b/rentman_api_client/models/stocklocation_collectionput_response_schema_data_item_type.py similarity index 70% rename from rentman_api_client/models/asset_location_collectionget_response_schema_data_item_type.py rename to rentman_api_client/models/stocklocation_collectionput_response_schema_data_item_type.py index 3334b13..622711e 100644 --- a/rentman_api_client/models/asset_location_collectionget_response_schema_data_item_type.py +++ b/rentman_api_client/models/stocklocation_collectionput_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationCollectiongetResponseSchemaDataItemType(str, Enum): +class StocklocationCollectionputResponseSchemaDataItemType(str, Enum): PLANNABLE = "plannable" NONPLANNABLE = "nonplannable" diff --git a/rentman_api_client/models/asset_location_itemput_request_schema.py b/rentman_api_client/models/stocklocation_itemget_request_schema.py similarity index 81% rename from rentman_api_client/models/asset_location_itemput_request_schema.py rename to rentman_api_client/models/stocklocation_itemget_request_schema.py index ce82d46..10cbd58 100644 --- a/rentman_api_client/models/asset_location_itemput_request_schema.py +++ b/rentman_api_client/models/stocklocation_itemget_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.asset_location_itemput_request_schema_country import AssetLocationItemputRequestSchemaCountry -from ..models.asset_location_itemput_request_schema_type import AssetLocationItemputRequestSchemaType +from ..models.stocklocation_itemget_request_schema_country import StocklocationItemgetRequestSchemaCountry +from ..models.stocklocation_itemget_request_schema_type import StocklocationItemgetRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationItemputRequestSchema") +T = TypeVar("T", bound="StocklocationItemgetRequestSchema") @attr.s(auto_attribs=True) -class AssetLocationItemputRequestSchema: +class StocklocationItemgetRequestSchema: """ """ name: Union[Unset, str] = UNSET @@ -19,9 +19,9 @@ class AssetLocationItemputRequestSchema: house_number: Union[Unset, str] = UNSET postal_code: Union[Unset, str] = UNSET state_province: Union[Unset, str] = UNSET - country: Union[Unset, AssetLocationItemputRequestSchemaCountry] = UNSET + country: Union[Unset, StocklocationItemgetRequestSchemaCountry] = UNSET active: Union[Unset, bool] = UNSET - type: Union[Unset, AssetLocationItemputRequestSchemaType] = UNSET + type: Union[Unset, StocklocationItemgetRequestSchemaType] = UNSET color: Union[Unset, str] = UNSET in_archive: Union[Unset, bool] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -88,23 +88,23 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state_province = d.pop("state_province", UNSET) - country: Union[Unset, AssetLocationItemputRequestSchemaCountry] = UNSET + country: Union[Unset, StocklocationItemgetRequestSchemaCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = AssetLocationItemputRequestSchemaCountry(_country) + country = StocklocationItemgetRequestSchemaCountry(_country) active = d.pop("active", UNSET) - type: Union[Unset, AssetLocationItemputRequestSchemaType] = UNSET + type: Union[Unset, StocklocationItemgetRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = AssetLocationItemputRequestSchemaType(_type) + type = StocklocationItemgetRequestSchemaType(_type) color = d.pop("color", UNSET) in_archive = d.pop("in_archive", UNSET) - asset_location_itemput_request_schema = cls( + stocklocation_itemget_request_schema = cls( name=name, city=city, street=street, @@ -118,8 +118,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive=in_archive, ) - asset_location_itemput_request_schema.additional_properties = d - return asset_location_itemput_request_schema + stocklocation_itemget_request_schema.additional_properties = d + return stocklocation_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/asset_location_itemput_request_schema_country.py b/rentman_api_client/models/stocklocation_itemget_request_schema_country.py similarity index 97% rename from rentman_api_client/models/asset_location_itemput_request_schema_country.py rename to rentman_api_client/models/stocklocation_itemget_request_schema_country.py index d756a74..73c05d6 100644 --- a/rentman_api_client/models/asset_location_itemput_request_schema_country.py +++ b/rentman_api_client/models/stocklocation_itemget_request_schema_country.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationItemputRequestSchemaCountry(str, Enum): +class StocklocationItemgetRequestSchemaCountry(str, Enum): AF = "af" AL = "al" DZ = "dz" diff --git a/rentman_api_client/models/asset_location_itemget_request_schema_type.py b/rentman_api_client/models/stocklocation_itemget_request_schema_type.py similarity index 72% rename from rentman_api_client/models/asset_location_itemget_request_schema_type.py rename to rentman_api_client/models/stocklocation_itemget_request_schema_type.py index 6275c19..8523731 100644 --- a/rentman_api_client/models/asset_location_itemget_request_schema_type.py +++ b/rentman_api_client/models/stocklocation_itemget_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationItemgetRequestSchemaType(str, Enum): +class StocklocationItemgetRequestSchemaType(str, Enum): PLANNABLE = "plannable" NONPLANNABLE = "nonplannable" diff --git a/rentman_api_client/models/stocklocation_itemget_response_schema.py b/rentman_api_client/models/stocklocation_itemget_response_schema.py new file mode 100644 index 0000000..a42572d --- /dev/null +++ b/rentman_api_client/models/stocklocation_itemget_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stocklocation_itemget_response_schema_data import StocklocationItemgetResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StocklocationItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class StocklocationItemgetResponseSchema: + """ """ + + data: Union[Unset, StocklocationItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, StocklocationItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = StocklocationItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stocklocation_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stocklocation_itemget_response_schema.additional_properties = d + return stocklocation_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/asset_location_itemput_response_schema_data.py b/rentman_api_client/models/stocklocation_itemget_response_schema_data.py similarity index 85% rename from rentman_api_client/models/asset_location_itemput_response_schema_data.py rename to rentman_api_client/models/stocklocation_itemget_response_schema_data.py index 4209126..3f64b69 100644 --- a/rentman_api_client/models/asset_location_itemput_response_schema_data.py +++ b/rentman_api_client/models/stocklocation_itemget_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.asset_location_itemput_response_schema_data_country import AssetLocationItemputResponseSchemaDataCountry -from ..models.asset_location_itemput_response_schema_data_type import AssetLocationItemputResponseSchemaDataType +from ..models.stocklocation_itemget_response_schema_data_country import StocklocationItemgetResponseSchemaDataCountry +from ..models.stocklocation_itemget_response_schema_data_type import StocklocationItemgetResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationItemputResponseSchemaData") +T = TypeVar("T", bound="StocklocationItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class AssetLocationItemputResponseSchemaData: +class StocklocationItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -26,9 +26,9 @@ class AssetLocationItemputResponseSchemaData: house_number: Union[Unset, str] = UNSET postal_code: Union[Unset, str] = UNSET state_province: Union[Unset, str] = UNSET - country: Union[Unset, AssetLocationItemputResponseSchemaDataCountry] = UNSET + country: Union[Unset, StocklocationItemgetResponseSchemaDataCountry] = UNSET active: Union[Unset, bool] = UNSET - type: Union[Unset, AssetLocationItemputResponseSchemaDataType] = UNSET + type: Union[Unset, StocklocationItemgetResponseSchemaDataType] = UNSET color: Union[Unset, str] = UNSET in_archive: Union[Unset, bool] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -132,23 +132,23 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state_province = d.pop("state_province", UNSET) - country: Union[Unset, AssetLocationItemputResponseSchemaDataCountry] = UNSET + country: Union[Unset, StocklocationItemgetResponseSchemaDataCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = AssetLocationItemputResponseSchemaDataCountry(_country) + country = StocklocationItemgetResponseSchemaDataCountry(_country) active = d.pop("active", UNSET) - type: Union[Unset, AssetLocationItemputResponseSchemaDataType] = UNSET + type: Union[Unset, StocklocationItemgetResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = AssetLocationItemputResponseSchemaDataType(_type) + type = StocklocationItemgetResponseSchemaDataType(_type) color = d.pop("color", UNSET) in_archive = d.pop("in_archive", UNSET) - asset_location_itemput_response_schema_data = cls( + stocklocation_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -167,8 +167,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive=in_archive, ) - asset_location_itemput_response_schema_data.additional_properties = d - return asset_location_itemput_response_schema_data + stocklocation_itemget_response_schema_data.additional_properties = d + return stocklocation_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stocklocation_itemget_response_schema_data_country.py b/rentman_api_client/models/stocklocation_itemget_response_schema_data_country.py new file mode 100644 index 0000000..d63af9a --- /dev/null +++ b/rentman_api_client/models/stocklocation_itemget_response_schema_data_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class StocklocationItemgetResponseSchemaDataCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/asset_location_itemget_response_schema_data_type.py b/rentman_api_client/models/stocklocation_itemget_response_schema_data_type.py similarity index 70% rename from rentman_api_client/models/asset_location_itemget_response_schema_data_type.py rename to rentman_api_client/models/stocklocation_itemget_response_schema_data_type.py index 918f781..9dbf14f 100644 --- a/rentman_api_client/models/asset_location_itemget_response_schema_data_type.py +++ b/rentman_api_client/models/stocklocation_itemget_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationItemgetResponseSchemaDataType(str, Enum): +class StocklocationItemgetResponseSchemaDataType(str, Enum): PLANNABLE = "plannable" NONPLANNABLE = "nonplannable" diff --git a/rentman_api_client/models/asset_location_itempost_request_schema.py b/rentman_api_client/models/stocklocation_itempost_request_schema.py similarity index 81% rename from rentman_api_client/models/asset_location_itempost_request_schema.py rename to rentman_api_client/models/stocklocation_itempost_request_schema.py index 0a56719..10fd525 100644 --- a/rentman_api_client/models/asset_location_itempost_request_schema.py +++ b/rentman_api_client/models/stocklocation_itempost_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.asset_location_itempost_request_schema_country import AssetLocationItempostRequestSchemaCountry -from ..models.asset_location_itempost_request_schema_type import AssetLocationItempostRequestSchemaType +from ..models.stocklocation_itempost_request_schema_country import StocklocationItempostRequestSchemaCountry +from ..models.stocklocation_itempost_request_schema_type import StocklocationItempostRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationItempostRequestSchema") +T = TypeVar("T", bound="StocklocationItempostRequestSchema") @attr.s(auto_attribs=True) -class AssetLocationItempostRequestSchema: +class StocklocationItempostRequestSchema: """ """ name: Union[Unset, str] = UNSET @@ -19,9 +19,9 @@ class AssetLocationItempostRequestSchema: house_number: Union[Unset, str] = UNSET postal_code: Union[Unset, str] = UNSET state_province: Union[Unset, str] = UNSET - country: Union[Unset, AssetLocationItempostRequestSchemaCountry] = UNSET + country: Union[Unset, StocklocationItempostRequestSchemaCountry] = UNSET active: Union[Unset, bool] = UNSET - type: Union[Unset, AssetLocationItempostRequestSchemaType] = UNSET + type: Union[Unset, StocklocationItempostRequestSchemaType] = UNSET color: Union[Unset, str] = UNSET in_archive: Union[Unset, bool] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -88,23 +88,23 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state_province = d.pop("state_province", UNSET) - country: Union[Unset, AssetLocationItempostRequestSchemaCountry] = UNSET + country: Union[Unset, StocklocationItempostRequestSchemaCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = AssetLocationItempostRequestSchemaCountry(_country) + country = StocklocationItempostRequestSchemaCountry(_country) active = d.pop("active", UNSET) - type: Union[Unset, AssetLocationItempostRequestSchemaType] = UNSET + type: Union[Unset, StocklocationItempostRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = AssetLocationItempostRequestSchemaType(_type) + type = StocklocationItempostRequestSchemaType(_type) color = d.pop("color", UNSET) in_archive = d.pop("in_archive", UNSET) - asset_location_itempost_request_schema = cls( + stocklocation_itempost_request_schema = cls( name=name, city=city, street=street, @@ -118,8 +118,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive=in_archive, ) - asset_location_itempost_request_schema.additional_properties = d - return asset_location_itempost_request_schema + stocklocation_itempost_request_schema.additional_properties = d + return stocklocation_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stocklocation_itempost_request_schema_country.py b/rentman_api_client/models/stocklocation_itempost_request_schema_country.py new file mode 100644 index 0000000..93f2232 --- /dev/null +++ b/rentman_api_client/models/stocklocation_itempost_request_schema_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class StocklocationItempostRequestSchemaCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/asset_location_itempost_request_schema_type.py b/rentman_api_client/models/stocklocation_itempost_request_schema_type.py similarity index 72% rename from rentman_api_client/models/asset_location_itempost_request_schema_type.py rename to rentman_api_client/models/stocklocation_itempost_request_schema_type.py index f243a22..5447c00 100644 --- a/rentman_api_client/models/asset_location_itempost_request_schema_type.py +++ b/rentman_api_client/models/stocklocation_itempost_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationItempostRequestSchemaType(str, Enum): +class StocklocationItempostRequestSchemaType(str, Enum): PLANNABLE = "plannable" NONPLANNABLE = "nonplannable" diff --git a/rentman_api_client/models/stocklocation_itempost_response_schema.py b/rentman_api_client/models/stocklocation_itempost_response_schema.py new file mode 100644 index 0000000..ca8d041 --- /dev/null +++ b/rentman_api_client/models/stocklocation_itempost_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stocklocation_itempost_response_schema_data import StocklocationItempostResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StocklocationItempostResponseSchema") + + +@attr.s(auto_attribs=True) +class StocklocationItempostResponseSchema: + """ """ + + data: Union[Unset, StocklocationItempostResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, StocklocationItempostResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = StocklocationItempostResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stocklocation_itempost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stocklocation_itempost_response_schema.additional_properties = d + return stocklocation_itempost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/asset_location_itempost_response_schema_data.py b/rentman_api_client/models/stocklocation_itempost_response_schema_data.py similarity index 85% rename from rentman_api_client/models/asset_location_itempost_response_schema_data.py rename to rentman_api_client/models/stocklocation_itempost_response_schema_data.py index 0f7d718..1662fd9 100644 --- a/rentman_api_client/models/asset_location_itempost_response_schema_data.py +++ b/rentman_api_client/models/stocklocation_itempost_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.asset_location_itempost_response_schema_data_country import AssetLocationItempostResponseSchemaDataCountry -from ..models.asset_location_itempost_response_schema_data_type import AssetLocationItempostResponseSchemaDataType +from ..models.stocklocation_itempost_response_schema_data_country import StocklocationItempostResponseSchemaDataCountry +from ..models.stocklocation_itempost_response_schema_data_type import StocklocationItempostResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationItempostResponseSchemaData") +T = TypeVar("T", bound="StocklocationItempostResponseSchemaData") @attr.s(auto_attribs=True) -class AssetLocationItempostResponseSchemaData: +class StocklocationItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -26,9 +26,9 @@ class AssetLocationItempostResponseSchemaData: house_number: Union[Unset, str] = UNSET postal_code: Union[Unset, str] = UNSET state_province: Union[Unset, str] = UNSET - country: Union[Unset, AssetLocationItempostResponseSchemaDataCountry] = UNSET + country: Union[Unset, StocklocationItempostResponseSchemaDataCountry] = UNSET active: Union[Unset, bool] = UNSET - type: Union[Unset, AssetLocationItempostResponseSchemaDataType] = UNSET + type: Union[Unset, StocklocationItempostResponseSchemaDataType] = UNSET color: Union[Unset, str] = UNSET in_archive: Union[Unset, bool] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -132,23 +132,23 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state_province = d.pop("state_province", UNSET) - country: Union[Unset, AssetLocationItempostResponseSchemaDataCountry] = UNSET + country: Union[Unset, StocklocationItempostResponseSchemaDataCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = AssetLocationItempostResponseSchemaDataCountry(_country) + country = StocklocationItempostResponseSchemaDataCountry(_country) active = d.pop("active", UNSET) - type: Union[Unset, AssetLocationItempostResponseSchemaDataType] = UNSET + type: Union[Unset, StocklocationItempostResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = AssetLocationItempostResponseSchemaDataType(_type) + type = StocklocationItempostResponseSchemaDataType(_type) color = d.pop("color", UNSET) in_archive = d.pop("in_archive", UNSET) - asset_location_itempost_response_schema_data = cls( + stocklocation_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -167,8 +167,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive=in_archive, ) - asset_location_itempost_response_schema_data.additional_properties = d - return asset_location_itempost_response_schema_data + stocklocation_itempost_response_schema_data.additional_properties = d + return stocklocation_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stocklocation_itempost_response_schema_data_country.py b/rentman_api_client/models/stocklocation_itempost_response_schema_data_country.py new file mode 100644 index 0000000..dfcda00 --- /dev/null +++ b/rentman_api_client/models/stocklocation_itempost_response_schema_data_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class StocklocationItempostResponseSchemaDataCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/asset_location_itempost_response_schema_data_type.py b/rentman_api_client/models/stocklocation_itempost_response_schema_data_type.py similarity index 70% rename from rentman_api_client/models/asset_location_itempost_response_schema_data_type.py rename to rentman_api_client/models/stocklocation_itempost_response_schema_data_type.py index 1532b07..b79267d 100644 --- a/rentman_api_client/models/asset_location_itempost_response_schema_data_type.py +++ b/rentman_api_client/models/stocklocation_itempost_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationItempostResponseSchemaDataType(str, Enum): +class StocklocationItempostResponseSchemaDataType(str, Enum): PLANNABLE = "plannable" NONPLANNABLE = "nonplannable" diff --git a/rentman_api_client/models/asset_location_itemget_request_schema.py b/rentman_api_client/models/stocklocation_itemput_request_schema.py similarity index 81% rename from rentman_api_client/models/asset_location_itemget_request_schema.py rename to rentman_api_client/models/stocklocation_itemput_request_schema.py index 31059e9..5bbab04 100644 --- a/rentman_api_client/models/asset_location_itemget_request_schema.py +++ b/rentman_api_client/models/stocklocation_itemput_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.asset_location_itemget_request_schema_country import AssetLocationItemgetRequestSchemaCountry -from ..models.asset_location_itemget_request_schema_type import AssetLocationItemgetRequestSchemaType +from ..models.stocklocation_itemput_request_schema_country import StocklocationItemputRequestSchemaCountry +from ..models.stocklocation_itemput_request_schema_type import StocklocationItemputRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationItemgetRequestSchema") +T = TypeVar("T", bound="StocklocationItemputRequestSchema") @attr.s(auto_attribs=True) -class AssetLocationItemgetRequestSchema: +class StocklocationItemputRequestSchema: """ """ name: Union[Unset, str] = UNSET @@ -19,9 +19,9 @@ class AssetLocationItemgetRequestSchema: house_number: Union[Unset, str] = UNSET postal_code: Union[Unset, str] = UNSET state_province: Union[Unset, str] = UNSET - country: Union[Unset, AssetLocationItemgetRequestSchemaCountry] = UNSET + country: Union[Unset, StocklocationItemputRequestSchemaCountry] = UNSET active: Union[Unset, bool] = UNSET - type: Union[Unset, AssetLocationItemgetRequestSchemaType] = UNSET + type: Union[Unset, StocklocationItemputRequestSchemaType] = UNSET color: Union[Unset, str] = UNSET in_archive: Union[Unset, bool] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -88,23 +88,23 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state_province = d.pop("state_province", UNSET) - country: Union[Unset, AssetLocationItemgetRequestSchemaCountry] = UNSET + country: Union[Unset, StocklocationItemputRequestSchemaCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = AssetLocationItemgetRequestSchemaCountry(_country) + country = StocklocationItemputRequestSchemaCountry(_country) active = d.pop("active", UNSET) - type: Union[Unset, AssetLocationItemgetRequestSchemaType] = UNSET + type: Union[Unset, StocklocationItemputRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = AssetLocationItemgetRequestSchemaType(_type) + type = StocklocationItemputRequestSchemaType(_type) color = d.pop("color", UNSET) in_archive = d.pop("in_archive", UNSET) - asset_location_itemget_request_schema = cls( + stocklocation_itemput_request_schema = cls( name=name, city=city, street=street, @@ -118,8 +118,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive=in_archive, ) - asset_location_itemget_request_schema.additional_properties = d - return asset_location_itemget_request_schema + stocklocation_itemput_request_schema.additional_properties = d + return stocklocation_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stocklocation_itemput_request_schema_country.py b/rentman_api_client/models/stocklocation_itemput_request_schema_country.py new file mode 100644 index 0000000..c51c93a --- /dev/null +++ b/rentman_api_client/models/stocklocation_itemput_request_schema_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class StocklocationItemputRequestSchemaCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/asset_location_itemput_request_schema_type.py b/rentman_api_client/models/stocklocation_itemput_request_schema_type.py similarity index 72% rename from rentman_api_client/models/asset_location_itemput_request_schema_type.py rename to rentman_api_client/models/stocklocation_itemput_request_schema_type.py index b46475a..d9736c1 100644 --- a/rentman_api_client/models/asset_location_itemput_request_schema_type.py +++ b/rentman_api_client/models/stocklocation_itemput_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class AssetLocationItemputRequestSchemaType(str, Enum): +class StocklocationItemputRequestSchemaType(str, Enum): PLANNABLE = "plannable" NONPLANNABLE = "nonplannable" diff --git a/rentman_api_client/models/stocklocation_itemput_response_schema.py b/rentman_api_client/models/stocklocation_itemput_response_schema.py new file mode 100644 index 0000000..97cc7f5 --- /dev/null +++ b/rentman_api_client/models/stocklocation_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stocklocation_itemput_response_schema_data import StocklocationItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StocklocationItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class StocklocationItemputResponseSchema: + """ """ + + data: Union[Unset, StocklocationItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, StocklocationItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = StocklocationItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stocklocation_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stocklocation_itemput_response_schema.additional_properties = d + return stocklocation_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/asset_location_itemget_response_schema_data.py b/rentman_api_client/models/stocklocation_itemput_response_schema_data.py similarity index 85% rename from rentman_api_client/models/asset_location_itemget_response_schema_data.py rename to rentman_api_client/models/stocklocation_itemput_response_schema_data.py index d14c403..fece610 100644 --- a/rentman_api_client/models/asset_location_itemget_response_schema_data.py +++ b/rentman_api_client/models/stocklocation_itemput_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.asset_location_itemget_response_schema_data_country import AssetLocationItemgetResponseSchemaDataCountry -from ..models.asset_location_itemget_response_schema_data_type import AssetLocationItemgetResponseSchemaDataType +from ..models.stocklocation_itemput_response_schema_data_country import StocklocationItemputResponseSchemaDataCountry +from ..models.stocklocation_itemput_response_schema_data_type import StocklocationItemputResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="AssetLocationItemgetResponseSchemaData") +T = TypeVar("T", bound="StocklocationItemputResponseSchemaData") @attr.s(auto_attribs=True) -class AssetLocationItemgetResponseSchemaData: +class StocklocationItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -26,9 +26,9 @@ class AssetLocationItemgetResponseSchemaData: house_number: Union[Unset, str] = UNSET postal_code: Union[Unset, str] = UNSET state_province: Union[Unset, str] = UNSET - country: Union[Unset, AssetLocationItemgetResponseSchemaDataCountry] = UNSET + country: Union[Unset, StocklocationItemputResponseSchemaDataCountry] = UNSET active: Union[Unset, bool] = UNSET - type: Union[Unset, AssetLocationItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, StocklocationItemputResponseSchemaDataType] = UNSET color: Union[Unset, str] = UNSET in_archive: Union[Unset, bool] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -132,23 +132,23 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: state_province = d.pop("state_province", UNSET) - country: Union[Unset, AssetLocationItemgetResponseSchemaDataCountry] = UNSET + country: Union[Unset, StocklocationItemputResponseSchemaDataCountry] = UNSET _country = d.pop("country", UNSET) if not isinstance(_country, Unset): - country = AssetLocationItemgetResponseSchemaDataCountry(_country) + country = StocklocationItemputResponseSchemaDataCountry(_country) active = d.pop("active", UNSET) - type: Union[Unset, AssetLocationItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, StocklocationItemputResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = AssetLocationItemgetResponseSchemaDataType(_type) + type = StocklocationItemputResponseSchemaDataType(_type) color = d.pop("color", UNSET) in_archive = d.pop("in_archive", UNSET) - asset_location_itemget_response_schema_data = cls( + stocklocation_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -167,8 +167,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: in_archive=in_archive, ) - asset_location_itemget_response_schema_data.additional_properties = d - return asset_location_itemget_response_schema_data + stocklocation_itemput_response_schema_data.additional_properties = d + return stocklocation_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stocklocation_itemput_response_schema_data_country.py b/rentman_api_client/models/stocklocation_itemput_response_schema_data_country.py new file mode 100644 index 0000000..c1e5987 --- /dev/null +++ b/rentman_api_client/models/stocklocation_itemput_response_schema_data_country.py @@ -0,0 +1,196 @@ +from enum import Enum + + +class StocklocationItemputResponseSchemaDataCountry(str, Enum): + AF = "af" + AL = "al" + DZ = "dz" + AD = "ad" + AO = "ao" + AI = "ai" + AR = "ar" + AM = "am" + AW = "aw" + AU = "au" + AT = "at" + AZ = "az" + BS = "bs" + BH = "bh" + BD = "bd" + BB = "bb" + BY = "by" + BE = "be" + BZ = "bz" + BJ = "bj" + BM = "bm" + BT = "bt" + BO = "bo" + BQ = "bq" + BA = "ba" + BW = "bw" + BR = "br" + BN = "bn" + BG = "bg" + KH = "kh" + CM = "cm" + CA = "ca" + KY = "ky" + CL = "cl" + CN = "cn" + CO = "co" + CD = "cd" + CG = "cg" + CR = "cr" + HR = "hr" + CU = "cu" + CW = "cw" + CY = "cy" + CZ = "cz" + DK = "dk" + DJ = "dj" + DO = "do" + EC = "ec" + EG = "eg" + SV = "sv" + GQ = "gq" + EE = "ee" + ET = "et" + FO = "fo" + FJ = "fj" + FI = "fi" + FR = "fr" + GF = "gf" + PF = "pf" + GA = "ga" + GE = "ge" + DE = "de" + GH = "gh" + GR = "gr" + GD = "gd" + GP = "gp" + GU = "gu" + GT = "gt" + GN = "gn" + GY = "gy" + HT = "ht" + HN = "hn" + HK = "hk" + HU = "hu" + IS_ = "is" + IN_ = "in" + ID = "id" + IR = "ir" + IQ = "iq" + IE = "ie" + IM = "im" + IL = "il" + IT = "it" + CI = "ci" + JM = "jm" + JP = "jp" + JO = "jo" + KZ = "kz" + KE = "ke" + KI = "ki" + XK = "xk" + KW = "kw" + KG = "kg" + LA = "la" + LV = "lv" + LB = "lb" + LS = "ls" + LR = "lr" + LI = "li" + LT = "lt" + LU = "lu" + MO = "mo" + MK = "mk" + MG = "mg" + MY = "my" + MV = "mv" + ML = "ml" + MT = "mt" + MQ = "mq" + MR = "mr" + MU = "mu" + MX = "mx" + MD = "md" + MC = "mc" + MN = "mn" + ME = "me" + MA = "ma" + MZ = "mz" + NA = "na" + NP = "np" + AN = "an" + NC = "nc" + NZ = "nz" + NI = "ni" + NG = "ng" + VALUE_False = "False" + OM = "om" + PK = "pk" + PS = "ps" + PA = "pa" + PG = "pg" + PY = "py" + PE = "pe" + PH = "ph" + PL = "pl" + PT = "pt" + PR = "pr" + QA = "qa" + RE = "re" + RO = "ro" + RU = "ru" + RW = "rw" + VC = "vc" + SM = "sm" + SA = "sa" + SN = "sn" + RS = "rs" + SC = "sc" + SG = "sg" + SK = "sk" + SI = "si" + SO = "so" + ZA = "za" + KR = "kr" + SS = "ss" + ES = "es" + LK = "lk" + MF = "mf" + SX = "sx" + SD = "sd" + SR = "sr" + SJ = "sj" + SZ = "sz" + SE = "se" + CH = "ch" + SY = "sy" + TW = "tw" + TZ = "tz" + TH = "th" + NL = "nl" + TG = "tg" + TT = "tt" + TN = "tn" + TR = "tr" + TC = "tc" + US = "us" + UG = "ug" + UA = "ua" + AE = "ae" + GB = "gb" + UY = "uy" + UZ = "uz" + VU = "vu" + VA = "va" + VE = "ve" + VN = "vn" + VI = "vi" + ZM = "zm" + ZW = "zw" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/stocklocation_itemput_response_schema_data_type.py b/rentman_api_client/models/stocklocation_itemput_response_schema_data_type.py new file mode 100644 index 0000000..a869435 --- /dev/null +++ b/rentman_api_client/models/stocklocation_itemput_response_schema_data_type.py @@ -0,0 +1,9 @@ +from enum import Enum + + +class StocklocationItemputResponseSchemaDataType(str, Enum): + PLANNABLE = "plannable" + NONPLANNABLE = "nonplannable" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/stockmovement_collectionget_response_schema.py b/rentman_api_client/models/stockmovement_collectionget_response_schema.py new file mode 100644 index 0000000..f4bff8f --- /dev/null +++ b/rentman_api_client/models/stockmovement_collectionget_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stockmovement_collectionget_response_schema_data_item import ( + StockmovementCollectiongetResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StockmovementCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class StockmovementCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[StockmovementCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = StockmovementCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stockmovement_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stockmovement_collectionget_response_schema.additional_properties = d + return stockmovement_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_collectionget_response_schema_data_item.py b/rentman_api_client/models/stockmovement_collectionget_response_schema_data_item.py similarity index 86% rename from rentman_api_client/models/voorraadmutatie_collectionget_response_schema_data_item.py rename to rentman_api_client/models/stockmovement_collectionget_response_schema_data_item.py index 9873814..2c563dd 100644 --- a/rentman_api_client/models/voorraadmutatie_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/stockmovement_collectionget_response_schema_data_item.py @@ -4,16 +4,16 @@ import attr from dateutil.parser import isoparse -from ..models.voorraadmutatie_collectionget_response_schema_data_item_type import ( - VoorraadmutatieCollectiongetResponseSchemaDataItemType, +from ..models.stockmovement_collectionget_response_schema_data_item_type import ( + StockmovementCollectiongetResponseSchemaDataItemType, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="VoorraadmutatieCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="StockmovementCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class VoorraadmutatieCollectiongetResponseSchemaDataItem: +class StockmovementCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -27,7 +27,7 @@ class VoorraadmutatieCollectiongetResponseSchemaDataItem: description: Union[Unset, str] = UNSET details: Union[Unset, str] = UNSET date: Union[Unset, None, datetime.datetime] = UNSET - type: Union[Unset, VoorraadmutatieCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, StockmovementCollectiongetResponseSchemaDataItemType] = UNSET stock_location: Union[Unset, None, str] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -124,14 +124,14 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _date is not None and not isinstance(_date, Unset): date = isoparse(_date) - type: Union[Unset, VoorraadmutatieCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, StockmovementCollectiongetResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = VoorraadmutatieCollectiongetResponseSchemaDataItemType(_type) + type = StockmovementCollectiongetResponseSchemaDataItemType(_type) stock_location = d.pop("stock_location", UNSET) - voorraadmutatie_collectionget_response_schema_data_item = cls( + stockmovement_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -147,8 +147,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location=stock_location, ) - voorraadmutatie_collectionget_response_schema_data_item.additional_properties = d - return voorraadmutatie_collectionget_response_schema_data_item + stockmovement_collectionget_response_schema_data_item.additional_properties = d + return stockmovement_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voorraadmutatie_collectionget_response_schema_data_item_type.py b/rentman_api_client/models/stockmovement_collectionget_response_schema_data_item_type.py similarity index 90% rename from rentman_api_client/models/voorraadmutatie_collectionget_response_schema_data_item_type.py rename to rentman_api_client/models/stockmovement_collectionget_response_schema_data_item_type.py index 57c4630..60b0801 100644 --- a/rentman_api_client/models/voorraadmutatie_collectionget_response_schema_data_item_type.py +++ b/rentman_api_client/models/stockmovement_collectionget_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class VoorraadmutatieCollectiongetResponseSchemaDataItemType(str, Enum): +class StockmovementCollectiongetResponseSchemaDataItemType(str, Enum): MANUAL = "manual" EQUIPMENT_LOST = "equipment_lost" EQUIPMENT_FOUND = "equipment_found" diff --git a/rentman_api_client/models/stockmovement_collectionpost_response_schema.py b/rentman_api_client/models/stockmovement_collectionpost_response_schema.py new file mode 100644 index 0000000..1a41da9 --- /dev/null +++ b/rentman_api_client/models/stockmovement_collectionpost_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stockmovement_collectionpost_response_schema_data_item import ( + StockmovementCollectionpostResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StockmovementCollectionpostResponseSchema") + + +@attr.s(auto_attribs=True) +class StockmovementCollectionpostResponseSchema: + """ """ + + data: Union[Unset, List[StockmovementCollectionpostResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = StockmovementCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stockmovement_collectionpost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stockmovement_collectionpost_response_schema.additional_properties = d + return stockmovement_collectionpost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_collectionput_response_schema_data_item.py b/rentman_api_client/models/stockmovement_collectionpost_response_schema_data_item.py similarity index 92% rename from rentman_api_client/models/voorraadmutatie_collectionput_response_schema_data_item.py rename to rentman_api_client/models/stockmovement_collectionpost_response_schema_data_item.py index 1bb2da5..9777065 100644 --- a/rentman_api_client/models/voorraadmutatie_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/stockmovement_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="VoorraadmutatieCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="StockmovementCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class VoorraadmutatieCollectionputResponseSchemaDataItem: +class StockmovementCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -116,7 +116,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location = d.pop("stock_location", UNSET) - voorraadmutatie_collectionput_response_schema_data_item = cls( + stockmovement_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -131,8 +131,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location=stock_location, ) - voorraadmutatie_collectionput_response_schema_data_item.additional_properties = d - return voorraadmutatie_collectionput_response_schema_data_item + stockmovement_collectionpost_response_schema_data_item.additional_properties = d + return stockmovement_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stockmovement_collectionput_response_schema.py b/rentman_api_client/models/stockmovement_collectionput_response_schema.py new file mode 100644 index 0000000..4ec3af7 --- /dev/null +++ b/rentman_api_client/models/stockmovement_collectionput_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stockmovement_collectionput_response_schema_data_item import ( + StockmovementCollectionputResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StockmovementCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class StockmovementCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[StockmovementCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = StockmovementCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stockmovement_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stockmovement_collectionput_response_schema.additional_properties = d + return stockmovement_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_collectionpost_response_schema_data_item.py b/rentman_api_client/models/stockmovement_collectionput_response_schema_data_item.py similarity index 92% rename from rentman_api_client/models/voorraadmutatie_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/stockmovement_collectionput_response_schema_data_item.py index 64dce6f..e0097b0 100644 --- a/rentman_api_client/models/voorraadmutatie_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/stockmovement_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="VoorraadmutatieCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="StockmovementCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class VoorraadmutatieCollectionpostResponseSchemaDataItem: +class StockmovementCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -116,7 +116,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location = d.pop("stock_location", UNSET) - voorraadmutatie_collectionpost_response_schema_data_item = cls( + stockmovement_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -131,8 +131,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location=stock_location, ) - voorraadmutatie_collectionpost_response_schema_data_item.additional_properties = d - return voorraadmutatie_collectionpost_response_schema_data_item + stockmovement_collectionput_response_schema_data_item.additional_properties = d + return stockmovement_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voorraadmutatie_itemget_request_schema.py b/rentman_api_client/models/stockmovement_itemget_request_schema.py similarity index 83% rename from rentman_api_client/models/voorraadmutatie_itemget_request_schema.py rename to rentman_api_client/models/stockmovement_itemget_request_schema.py index 28b6b60..37fbaf3 100644 --- a/rentman_api_client/models/voorraadmutatie_itemget_request_schema.py +++ b/rentman_api_client/models/stockmovement_itemget_request_schema.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.voorraadmutatie_itemget_request_schema_type import VoorraadmutatieItemgetRequestSchemaType +from ..models.stockmovement_itemget_request_schema_type import StockmovementItemgetRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="VoorraadmutatieItemgetRequestSchema") +T = TypeVar("T", bound="StockmovementItemgetRequestSchema") @attr.s(auto_attribs=True) -class VoorraadmutatieItemgetRequestSchema: +class StockmovementItemgetRequestSchema: """ """ amount: Union[Unset, int] = UNSET @@ -19,7 +19,7 @@ class VoorraadmutatieItemgetRequestSchema: description: Union[Unset, str] = UNSET details: Union[Unset, str] = UNSET date: Union[Unset, None, datetime.datetime] = UNSET - type: Union[Unset, VoorraadmutatieItemgetRequestSchemaType] = UNSET + type: Union[Unset, StockmovementItemgetRequestSchemaType] = UNSET stock_location: Union[Unset, None, str] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -74,14 +74,14 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _date is not None and not isinstance(_date, Unset): date = isoparse(_date) - type: Union[Unset, VoorraadmutatieItemgetRequestSchemaType] = UNSET + type: Union[Unset, StockmovementItemgetRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = VoorraadmutatieItemgetRequestSchemaType(_type) + type = StockmovementItemgetRequestSchemaType(_type) stock_location = d.pop("stock_location", UNSET) - voorraadmutatie_itemget_request_schema = cls( + stockmovement_itemget_request_schema = cls( amount=amount, projectequipment=projectequipment, description=description, @@ -91,8 +91,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location=stock_location, ) - voorraadmutatie_itemget_request_schema.additional_properties = d - return voorraadmutatie_itemget_request_schema + stockmovement_itemget_request_schema.additional_properties = d + return stockmovement_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voorraadmutatie_itemget_request_schema_type.py b/rentman_api_client/models/stockmovement_itemget_request_schema_type.py similarity index 92% rename from rentman_api_client/models/voorraadmutatie_itemget_request_schema_type.py rename to rentman_api_client/models/stockmovement_itemget_request_schema_type.py index 351fa49..d72089d 100644 --- a/rentman_api_client/models/voorraadmutatie_itemget_request_schema_type.py +++ b/rentman_api_client/models/stockmovement_itemget_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class VoorraadmutatieItemgetRequestSchemaType(str, Enum): +class StockmovementItemgetRequestSchemaType(str, Enum): MANUAL = "manual" EQUIPMENT_LOST = "equipment_lost" EQUIPMENT_FOUND = "equipment_found" diff --git a/rentman_api_client/models/stockmovement_itemget_response_schema.py b/rentman_api_client/models/stockmovement_itemget_response_schema.py new file mode 100644 index 0000000..4a4ec6c --- /dev/null +++ b/rentman_api_client/models/stockmovement_itemget_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stockmovement_itemget_response_schema_data import StockmovementItemgetResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StockmovementItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class StockmovementItemgetResponseSchema: + """ """ + + data: Union[Unset, StockmovementItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, StockmovementItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = StockmovementItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stockmovement_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stockmovement_itemget_response_schema.additional_properties = d + return stockmovement_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_itemget_response_schema_data.py b/rentman_api_client/models/stockmovement_itemget_response_schema_data.py similarity index 88% rename from rentman_api_client/models/voorraadmutatie_itemget_response_schema_data.py rename to rentman_api_client/models/stockmovement_itemget_response_schema_data.py index a728884..0acac9c 100644 --- a/rentman_api_client/models/voorraadmutatie_itemget_response_schema_data.py +++ b/rentman_api_client/models/stockmovement_itemget_response_schema_data.py @@ -4,14 +4,14 @@ import attr from dateutil.parser import isoparse -from ..models.voorraadmutatie_itemget_response_schema_data_type import VoorraadmutatieItemgetResponseSchemaDataType +from ..models.stockmovement_itemget_response_schema_data_type import StockmovementItemgetResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="VoorraadmutatieItemgetResponseSchemaData") +T = TypeVar("T", bound="StockmovementItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class VoorraadmutatieItemgetResponseSchemaData: +class StockmovementItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -25,7 +25,7 @@ class VoorraadmutatieItemgetResponseSchemaData: description: Union[Unset, str] = UNSET details: Union[Unset, str] = UNSET date: Union[Unset, None, datetime.datetime] = UNSET - type: Union[Unset, VoorraadmutatieItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, StockmovementItemgetResponseSchemaDataType] = UNSET stock_location: Union[Unset, None, str] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -122,14 +122,14 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: if _date is not None and not isinstance(_date, Unset): date = isoparse(_date) - type: Union[Unset, VoorraadmutatieItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, StockmovementItemgetResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = VoorraadmutatieItemgetResponseSchemaDataType(_type) + type = StockmovementItemgetResponseSchemaDataType(_type) stock_location = d.pop("stock_location", UNSET) - voorraadmutatie_itemget_response_schema_data = cls( + stockmovement_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -145,8 +145,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location=stock_location, ) - voorraadmutatie_itemget_response_schema_data.additional_properties = d - return voorraadmutatie_itemget_response_schema_data + stockmovement_itemget_response_schema_data.additional_properties = d + return stockmovement_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voorraadmutatie_itemget_response_schema_data_type.py b/rentman_api_client/models/stockmovement_itemget_response_schema_data_type.py similarity index 92% rename from rentman_api_client/models/voorraadmutatie_itemget_response_schema_data_type.py rename to rentman_api_client/models/stockmovement_itemget_response_schema_data_type.py index 245c3cf..e0ff64d 100644 --- a/rentman_api_client/models/voorraadmutatie_itemget_response_schema_data_type.py +++ b/rentman_api_client/models/stockmovement_itemget_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class VoorraadmutatieItemgetResponseSchemaDataType(str, Enum): +class StockmovementItemgetResponseSchemaDataType(str, Enum): MANUAL = "manual" EQUIPMENT_LOST = "equipment_lost" EQUIPMENT_FOUND = "equipment_found" diff --git a/rentman_api_client/models/voorraadmutatie_itemput_request_schema.py b/rentman_api_client/models/stockmovement_itempost_request_schema.py similarity index 90% rename from rentman_api_client/models/voorraadmutatie_itemput_request_schema.py rename to rentman_api_client/models/stockmovement_itempost_request_schema.py index a839474..b173c90 100644 --- a/rentman_api_client/models/voorraadmutatie_itemput_request_schema.py +++ b/rentman_api_client/models/stockmovement_itempost_request_schema.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="VoorraadmutatieItemputRequestSchema") +T = TypeVar("T", bound="StockmovementItempostRequestSchema") @attr.s(auto_attribs=True) -class VoorraadmutatieItemputRequestSchema: +class StockmovementItempostRequestSchema: """ """ amount: Union[Unset, int] = UNSET @@ -68,7 +68,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location = d.pop("stock_location", UNSET) - voorraadmutatie_itemput_request_schema = cls( + stockmovement_itempost_request_schema = cls( amount=amount, projectequipment=projectequipment, description=description, @@ -77,8 +77,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location=stock_location, ) - voorraadmutatie_itemput_request_schema.additional_properties = d - return voorraadmutatie_itemput_request_schema + stockmovement_itempost_request_schema.additional_properties = d + return stockmovement_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stockmovement_itempost_response_schema.py b/rentman_api_client/models/stockmovement_itempost_response_schema.py new file mode 100644 index 0000000..5273913 --- /dev/null +++ b/rentman_api_client/models/stockmovement_itempost_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stockmovement_itempost_response_schema_data import StockmovementItempostResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StockmovementItempostResponseSchema") + + +@attr.s(auto_attribs=True) +class StockmovementItempostResponseSchema: + """ """ + + data: Union[Unset, StockmovementItempostResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, StockmovementItempostResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = StockmovementItempostResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stockmovement_itempost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stockmovement_itempost_response_schema.additional_properties = d + return stockmovement_itempost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_itemput_response_schema_data.py b/rentman_api_client/models/stockmovement_itempost_response_schema_data.py similarity index 93% rename from rentman_api_client/models/voorraadmutatie_itemput_response_schema_data.py rename to rentman_api_client/models/stockmovement_itempost_response_schema_data.py index 4013a6e..783f4b0 100644 --- a/rentman_api_client/models/voorraadmutatie_itemput_response_schema_data.py +++ b/rentman_api_client/models/stockmovement_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="VoorraadmutatieItemputResponseSchemaData") +T = TypeVar("T", bound="StockmovementItempostResponseSchemaData") @attr.s(auto_attribs=True) -class VoorraadmutatieItemputResponseSchemaData: +class StockmovementItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -116,7 +116,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location = d.pop("stock_location", UNSET) - voorraadmutatie_itemput_response_schema_data = cls( + stockmovement_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -131,8 +131,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location=stock_location, ) - voorraadmutatie_itemput_response_schema_data.additional_properties = d - return voorraadmutatie_itemput_response_schema_data + stockmovement_itempost_response_schema_data.additional_properties = d + return stockmovement_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voorraadmutatie_itempost_request_schema.py b/rentman_api_client/models/stockmovement_itemput_request_schema.py similarity index 90% rename from rentman_api_client/models/voorraadmutatie_itempost_request_schema.py rename to rentman_api_client/models/stockmovement_itemput_request_schema.py index 0f21ce0..68a25cf 100644 --- a/rentman_api_client/models/voorraadmutatie_itempost_request_schema.py +++ b/rentman_api_client/models/stockmovement_itemput_request_schema.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="VoorraadmutatieItempostRequestSchema") +T = TypeVar("T", bound="StockmovementItemputRequestSchema") @attr.s(auto_attribs=True) -class VoorraadmutatieItempostRequestSchema: +class StockmovementItemputRequestSchema: """ """ amount: Union[Unset, int] = UNSET @@ -68,7 +68,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location = d.pop("stock_location", UNSET) - voorraadmutatie_itempost_request_schema = cls( + stockmovement_itemput_request_schema = cls( amount=amount, projectequipment=projectequipment, description=description, @@ -77,8 +77,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location=stock_location, ) - voorraadmutatie_itempost_request_schema.additional_properties = d - return voorraadmutatie_itempost_request_schema + stockmovement_itemput_request_schema.additional_properties = d + return stockmovement_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/stockmovement_itemput_response_schema.py b/rentman_api_client/models/stockmovement_itemput_response_schema.py new file mode 100644 index 0000000..a278fb8 --- /dev/null +++ b/rentman_api_client/models/stockmovement_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.stockmovement_itemput_response_schema_data import StockmovementItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="StockmovementItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class StockmovementItemputResponseSchema: + """ """ + + data: Union[Unset, StockmovementItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, StockmovementItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = StockmovementItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + stockmovement_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + stockmovement_itemput_response_schema.additional_properties = d + return stockmovement_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_itempost_response_schema_data.py b/rentman_api_client/models/stockmovement_itemput_response_schema_data.py similarity index 93% rename from rentman_api_client/models/voorraadmutatie_itempost_response_schema_data.py rename to rentman_api_client/models/stockmovement_itemput_response_schema_data.py index fdd6656..d7cd21b 100644 --- a/rentman_api_client/models/voorraadmutatie_itempost_response_schema_data.py +++ b/rentman_api_client/models/stockmovement_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="VoorraadmutatieItempostResponseSchemaData") +T = TypeVar("T", bound="StockmovementItemputResponseSchemaData") @attr.s(auto_attribs=True) -class VoorraadmutatieItempostResponseSchemaData: +class StockmovementItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -116,7 +116,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location = d.pop("stock_location", UNSET) - voorraadmutatie_itempost_response_schema_data = cls( + stockmovement_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -131,8 +131,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: stock_location=stock_location, ) - voorraadmutatie_itempost_response_schema_data.additional_properties = d - return voorraadmutatie_itempost_response_schema_data + stockmovement_itemput_response_schema_data.additional_properties = d + return stockmovement_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/subrental_collectionget_response_schema.py b/rentman_api_client/models/subrental_collectionget_response_schema.py new file mode 100644 index 0000000..ddf15ac --- /dev/null +++ b/rentman_api_client/models/subrental_collectionget_response_schema.py @@ -0,0 +1,88 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrental_collectionget_response_schema_data_item import SubrentalCollectiongetResponseSchemaDataItem +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[SubrentalCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = SubrentalCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrental_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrental_collectionget_response_schema.additional_properties = d + return subrental_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuur_collectionpost_response_schema_data_item.py b/rentman_api_client/models/subrental_collectionget_response_schema_data_item.py similarity index 91% rename from rentman_api_client/models/inhuur_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/subrental_collectionget_response_schema_data_item.py index a7f9a41..d56df15 100644 --- a/rentman_api_client/models/inhuur_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/subrental_collectionget_response_schema_data_item.py @@ -4,17 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.inhuur_collectionpost_response_schema_data_item_custom import ( - InhuurCollectionpostResponseSchemaDataItemCustom, +from ..models.subrental_collectionget_response_schema_data_item_custom import ( + SubrentalCollectiongetResponseSchemaDataItemCustom, +) +from ..models.subrental_collectionget_response_schema_data_item_type import ( + SubrentalCollectiongetResponseSchemaDataItemType, ) -from ..models.inhuur_collectionpost_response_schema_data_item_type import InhuurCollectionpostResponseSchemaDataItemType from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="SubrentalCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class InhuurCollectionpostResponseSchemaDataItem: +class SubrentalCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -41,7 +43,7 @@ class InhuurCollectionpostResponseSchemaDataItem: extra_cost: Union[Unset, float] = UNSET auto_update_costs: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - type: Union[Unset, InhuurCollectionpostResponseSchemaDataItemType] = UNSET + type: Union[Unset, SubrentalCollectiongetResponseSchemaDataItemType] = UNSET status: Union[Unset, str] = UNSET sent: Union[Unset, None, datetime.datetime] = UNSET asset_location_to: Union[Unset, None, str] = UNSET @@ -49,7 +51,7 @@ class InhuurCollectionpostResponseSchemaDataItem: is_internal: Union[Unset, bool] = UNSET supplier_project: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, InhuurCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SubrentalCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -266,10 +268,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - type: Union[Unset, InhuurCollectionpostResponseSchemaDataItemType] = UNSET + type: Union[Unset, SubrentalCollectiongetResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = InhuurCollectionpostResponseSchemaDataItemType(_type) + type = SubrentalCollectiongetResponseSchemaDataItemType(_type) status = d.pop("status", UNSET) @@ -288,12 +290,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, InhuurCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SubrentalCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = InhuurCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) + custom = SubrentalCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - inhuur_collectionpost_response_schema_data_item = cls( + subrental_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -329,8 +331,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - inhuur_collectionpost_response_schema_data_item.additional_properties = d - return inhuur_collectionpost_response_schema_data_item + subrental_collectionget_response_schema_data_item.additional_properties = d + return subrental_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/subrental_collectionget_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/exemplaar_collectionget_response_schema_data_item_custom.py rename to rentman_api_client/models/subrental_collectionget_response_schema_data_item_custom.py index d062b36..51d1f33 100644 --- a/rentman_api_client/models/exemplaar_collectionget_response_schema_data_item_custom.py +++ b/rentman_api_client/models/subrental_collectionget_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="ExemplaarCollectiongetResponseSchemaDataItemCustom") +T = TypeVar("T", bound="SubrentalCollectiongetResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class ExemplaarCollectiongetResponseSchemaDataItemCustom: +class SubrentalCollectiongetResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - exemplaar_collectionget_response_schema_data_item_custom = cls() + subrental_collectionget_response_schema_data_item_custom = cls() - exemplaar_collectionget_response_schema_data_item_custom.additional_properties = d - return exemplaar_collectionget_response_schema_data_item_custom + subrental_collectionget_response_schema_data_item_custom.additional_properties = d + return subrental_collectionget_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_collectionget_response_schema_data_item_type.py b/rentman_api_client/models/subrental_collectionget_response_schema_data_item_type.py similarity index 75% rename from rentman_api_client/models/inhuur_collectionget_response_schema_data_item_type.py rename to rentman_api_client/models/subrental_collectionget_response_schema_data_item_type.py index f7b7037..587b631 100644 --- a/rentman_api_client/models/inhuur_collectionget_response_schema_data_item_type.py +++ b/rentman_api_client/models/subrental_collectionget_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class InhuurCollectiongetResponseSchemaDataItemType(str, Enum): +class SubrentalCollectiongetResponseSchemaDataItemType(str, Enum): PICK_UP = "Pick up" DELIVERY_AT_WAREHOUSE = "Delivery at warehouse" DELIVERY_AT_LOCATION = "Delivery at location" diff --git a/rentman_api_client/models/subrental_collectionpost_response_schema.py b/rentman_api_client/models/subrental_collectionpost_response_schema.py new file mode 100644 index 0000000..6f0f34f --- /dev/null +++ b/rentman_api_client/models/subrental_collectionpost_response_schema.py @@ -0,0 +1,88 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrental_collectionpost_response_schema_data_item import SubrentalCollectionpostResponseSchemaDataItem +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalCollectionpostResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalCollectionpostResponseSchema: + """ """ + + data: Union[Unset, List[SubrentalCollectionpostResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = SubrentalCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrental_collectionpost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrental_collectionpost_response_schema.additional_properties = d + return subrental_collectionpost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuur_collectionget_response_schema_data_item.py b/rentman_api_client/models/subrental_collectionpost_response_schema_data_item.py similarity index 92% rename from rentman_api_client/models/inhuur_collectionget_response_schema_data_item.py rename to rentman_api_client/models/subrental_collectionpost_response_schema_data_item.py index f827de2..6d0c0bb 100644 --- a/rentman_api_client/models/inhuur_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/subrental_collectionpost_response_schema_data_item.py @@ -4,17 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.inhuur_collectionget_response_schema_data_item_custom import ( - InhuurCollectiongetResponseSchemaDataItemCustom, +from ..models.subrental_collectionpost_response_schema_data_item_custom import ( + SubrentalCollectionpostResponseSchemaDataItemCustom, +) +from ..models.subrental_collectionpost_response_schema_data_item_type import ( + SubrentalCollectionpostResponseSchemaDataItemType, ) -from ..models.inhuur_collectionget_response_schema_data_item_type import InhuurCollectiongetResponseSchemaDataItemType from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="SubrentalCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class InhuurCollectiongetResponseSchemaDataItem: +class SubrentalCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -41,7 +43,7 @@ class InhuurCollectiongetResponseSchemaDataItem: extra_cost: Union[Unset, float] = UNSET auto_update_costs: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - type: Union[Unset, InhuurCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, SubrentalCollectionpostResponseSchemaDataItemType] = UNSET status: Union[Unset, str] = UNSET sent: Union[Unset, None, datetime.datetime] = UNSET asset_location_to: Union[Unset, None, str] = UNSET @@ -49,7 +51,7 @@ class InhuurCollectiongetResponseSchemaDataItem: is_internal: Union[Unset, bool] = UNSET supplier_project: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, InhuurCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SubrentalCollectionpostResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -266,10 +268,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - type: Union[Unset, InhuurCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, SubrentalCollectionpostResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = InhuurCollectiongetResponseSchemaDataItemType(_type) + type = SubrentalCollectionpostResponseSchemaDataItemType(_type) status = d.pop("status", UNSET) @@ -288,12 +290,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, InhuurCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SubrentalCollectionpostResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = InhuurCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = SubrentalCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - inhuur_collectionget_response_schema_data_item = cls( + subrental_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -329,8 +331,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - inhuur_collectionget_response_schema_data_item.additional_properties = d - return inhuur_collectionget_response_schema_data_item + subrental_collectionpost_response_schema_data_item.additional_properties = d + return subrental_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/subrental_collectionpost_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/exemplaar_collectionpost_response_schema_data_item_custom.py rename to rentman_api_client/models/subrental_collectionpost_response_schema_data_item_custom.py index bab47ae..d6e491c 100644 --- a/rentman_api_client/models/exemplaar_collectionpost_response_schema_data_item_custom.py +++ b/rentman_api_client/models/subrental_collectionpost_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="ExemplaarCollectionpostResponseSchemaDataItemCustom") +T = TypeVar("T", bound="SubrentalCollectionpostResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class ExemplaarCollectionpostResponseSchemaDataItemCustom: +class SubrentalCollectionpostResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - exemplaar_collectionpost_response_schema_data_item_custom = cls() + subrental_collectionpost_response_schema_data_item_custom = cls() - exemplaar_collectionpost_response_schema_data_item_custom.additional_properties = d - return exemplaar_collectionpost_response_schema_data_item_custom + subrental_collectionpost_response_schema_data_item_custom.additional_properties = d + return subrental_collectionpost_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_collectionput_response_schema_data_item_type.py b/rentman_api_client/models/subrental_collectionpost_response_schema_data_item_type.py similarity index 75% rename from rentman_api_client/models/inhuur_collectionput_response_schema_data_item_type.py rename to rentman_api_client/models/subrental_collectionpost_response_schema_data_item_type.py index ae5bfb5..8be87f8 100644 --- a/rentman_api_client/models/inhuur_collectionput_response_schema_data_item_type.py +++ b/rentman_api_client/models/subrental_collectionpost_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class InhuurCollectionputResponseSchemaDataItemType(str, Enum): +class SubrentalCollectionpostResponseSchemaDataItemType(str, Enum): PICK_UP = "Pick up" DELIVERY_AT_WAREHOUSE = "Delivery at warehouse" DELIVERY_AT_LOCATION = "Delivery at location" diff --git a/rentman_api_client/models/subrental_collectionput_response_schema.py b/rentman_api_client/models/subrental_collectionput_response_schema.py new file mode 100644 index 0000000..f8bdc1f --- /dev/null +++ b/rentman_api_client/models/subrental_collectionput_response_schema.py @@ -0,0 +1,88 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrental_collectionput_response_schema_data_item import SubrentalCollectionputResponseSchemaDataItem +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[SubrentalCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = SubrentalCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrental_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrental_collectionput_response_schema.additional_properties = d + return subrental_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuur_collectionput_response_schema_data_item.py b/rentman_api_client/models/subrental_collectionput_response_schema_data_item.py similarity index 91% rename from rentman_api_client/models/inhuur_collectionput_response_schema_data_item.py rename to rentman_api_client/models/subrental_collectionput_response_schema_data_item.py index 00bf09a..491e9b4 100644 --- a/rentman_api_client/models/inhuur_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/subrental_collectionput_response_schema_data_item.py @@ -4,17 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.inhuur_collectionput_response_schema_data_item_custom import ( - InhuurCollectionputResponseSchemaDataItemCustom, +from ..models.subrental_collectionput_response_schema_data_item_custom import ( + SubrentalCollectionputResponseSchemaDataItemCustom, +) +from ..models.subrental_collectionput_response_schema_data_item_type import ( + SubrentalCollectionputResponseSchemaDataItemType, ) -from ..models.inhuur_collectionput_response_schema_data_item_type import InhuurCollectionputResponseSchemaDataItemType from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="SubrentalCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class InhuurCollectionputResponseSchemaDataItem: +class SubrentalCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -41,7 +43,7 @@ class InhuurCollectionputResponseSchemaDataItem: extra_cost: Union[Unset, float] = UNSET auto_update_costs: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - type: Union[Unset, InhuurCollectionputResponseSchemaDataItemType] = UNSET + type: Union[Unset, SubrentalCollectionputResponseSchemaDataItemType] = UNSET status: Union[Unset, str] = UNSET sent: Union[Unset, None, datetime.datetime] = UNSET asset_location_to: Union[Unset, None, str] = UNSET @@ -49,7 +51,7 @@ class InhuurCollectionputResponseSchemaDataItem: is_internal: Union[Unset, bool] = UNSET supplier_project: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, InhuurCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SubrentalCollectionputResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -266,10 +268,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - type: Union[Unset, InhuurCollectionputResponseSchemaDataItemType] = UNSET + type: Union[Unset, SubrentalCollectionputResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = InhuurCollectionputResponseSchemaDataItemType(_type) + type = SubrentalCollectionputResponseSchemaDataItemType(_type) status = d.pop("status", UNSET) @@ -288,12 +290,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, InhuurCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, SubrentalCollectionputResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = InhuurCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + custom = SubrentalCollectionputResponseSchemaDataItemCustom.from_dict(_custom) - inhuur_collectionput_response_schema_data_item = cls( + subrental_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -329,8 +331,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - inhuur_collectionput_response_schema_data_item.additional_properties = d - return inhuur_collectionput_response_schema_data_item + subrental_collectionput_response_schema_data_item.additional_properties = d + return subrental_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/subrental_collectionput_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/materiaal_collectionput_response_schema_data_item_custom.py rename to rentman_api_client/models/subrental_collectionput_response_schema_data_item_custom.py index 0f26fea..5da71ef 100644 --- a/rentman_api_client/models/materiaal_collectionput_response_schema_data_item_custom.py +++ b/rentman_api_client/models/subrental_collectionput_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MateriaalCollectionputResponseSchemaDataItemCustom") +T = TypeVar("T", bound="SubrentalCollectionputResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class MateriaalCollectionputResponseSchemaDataItemCustom: +class SubrentalCollectionputResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - materiaal_collectionput_response_schema_data_item_custom = cls() + subrental_collectionput_response_schema_data_item_custom = cls() - materiaal_collectionput_response_schema_data_item_custom.additional_properties = d - return materiaal_collectionput_response_schema_data_item_custom + subrental_collectionput_response_schema_data_item_custom.additional_properties = d + return subrental_collectionput_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_collectionpost_response_schema_data_item_type.py b/rentman_api_client/models/subrental_collectionput_response_schema_data_item_type.py similarity index 75% rename from rentman_api_client/models/inhuur_collectionpost_response_schema_data_item_type.py rename to rentman_api_client/models/subrental_collectionput_response_schema_data_item_type.py index 68c0400..db7c972 100644 --- a/rentman_api_client/models/inhuur_collectionpost_response_schema_data_item_type.py +++ b/rentman_api_client/models/subrental_collectionput_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class InhuurCollectionpostResponseSchemaDataItemType(str, Enum): +class SubrentalCollectionputResponseSchemaDataItemType(str, Enum): PICK_UP = "Pick up" DELIVERY_AT_WAREHOUSE = "Delivery at warehouse" DELIVERY_AT_LOCATION = "Delivery at location" diff --git a/rentman_api_client/models/inhuur_itempost_request_schema.py b/rentman_api_client/models/subrental_itemget_request_schema.py similarity index 92% rename from rentman_api_client/models/inhuur_itempost_request_schema.py rename to rentman_api_client/models/subrental_itemget_request_schema.py index 7d5c29b..609ffb5 100644 --- a/rentman_api_client/models/inhuur_itempost_request_schema.py +++ b/rentman_api_client/models/subrental_itemget_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.inhuur_itempost_request_schema_custom import InhuurItempostRequestSchemaCustom -from ..models.inhuur_itempost_request_schema_type import InhuurItempostRequestSchemaType +from ..models.subrental_itemget_request_schema_custom import SubrentalItemgetRequestSchemaCustom +from ..models.subrental_itemget_request_schema_type import SubrentalItemgetRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurItempostRequestSchema") +T = TypeVar("T", bound="SubrentalItemgetRequestSchema") @attr.s(auto_attribs=True) -class InhuurItempostRequestSchema: +class SubrentalItemgetRequestSchema: """ """ name: Union[Unset, str] = UNSET @@ -34,14 +34,14 @@ class InhuurItempostRequestSchema: extra_cost: Union[Unset, float] = UNSET auto_update_costs: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - type: Union[Unset, InhuurItempostRequestSchemaType] = UNSET + type: Union[Unset, SubrentalItemgetRequestSchemaType] = UNSET status: Union[Unset, str] = UNSET sent: Union[Unset, None, datetime.datetime] = UNSET asset_location_to: Union[Unset, None, str] = UNSET asset_location_from: Union[Unset, None, str] = UNSET is_internal: Union[Unset, bool] = UNSET supplier_project: Union[Unset, None, str] = UNSET - custom: Union[Unset, InhuurItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, SubrentalItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -218,10 +218,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - type: Union[Unset, InhuurItempostRequestSchemaType] = UNSET + type: Union[Unset, SubrentalItemgetRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = InhuurItempostRequestSchemaType(_type) + type = SubrentalItemgetRequestSchemaType(_type) status = d.pop("status", UNSET) @@ -238,12 +238,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_project = d.pop("supplier_project", UNSET) - custom: Union[Unset, InhuurItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, SubrentalItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = InhuurItempostRequestSchemaCustom.from_dict(_custom) + custom = SubrentalItemgetRequestSchemaCustom.from_dict(_custom) - inhuur_itempost_request_schema = cls( + subrental_itemget_request_schema = cls( name=name, accountmanager=accountmanager, reference=reference, @@ -273,8 +273,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - inhuur_itempost_request_schema.additional_properties = d - return inhuur_itempost_request_schema + subrental_itemget_request_schema.additional_properties = d + return subrental_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_itemget_request_schema_custom.py b/rentman_api_client/models/subrental_itemget_request_schema_custom.py similarity index 78% rename from rentman_api_client/models/exemplaar_itemget_request_schema_custom.py rename to rentman_api_client/models/subrental_itemget_request_schema_custom.py index 82dc92a..16e4634 100644 --- a/rentman_api_client/models/exemplaar_itemget_request_schema_custom.py +++ b/rentman_api_client/models/subrental_itemget_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="ExemplaarItemgetRequestSchemaCustom") +T = TypeVar("T", bound="SubrentalItemgetRequestSchemaCustom") @attr.s(auto_attribs=True) -class ExemplaarItemgetRequestSchemaCustom: +class SubrentalItemgetRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - exemplaar_itemget_request_schema_custom = cls() + subrental_itemget_request_schema_custom = cls() - exemplaar_itemget_request_schema_custom.additional_properties = d - return exemplaar_itemget_request_schema_custom + subrental_itemget_request_schema_custom.additional_properties = d + return subrental_itemget_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_itempost_request_schema_type.py b/rentman_api_client/models/subrental_itemget_request_schema_type.py similarity index 80% rename from rentman_api_client/models/inhuur_itempost_request_schema_type.py rename to rentman_api_client/models/subrental_itemget_request_schema_type.py index 978e6e6..a55ba64 100644 --- a/rentman_api_client/models/inhuur_itempost_request_schema_type.py +++ b/rentman_api_client/models/subrental_itemget_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class InhuurItempostRequestSchemaType(str, Enum): +class SubrentalItemgetRequestSchemaType(str, Enum): PICK_UP = "Pick up" DELIVERY_AT_WAREHOUSE = "Delivery at warehouse" DELIVERY_AT_LOCATION = "Delivery at location" diff --git a/rentman_api_client/models/subrental_itemget_response_schema.py b/rentman_api_client/models/subrental_itemget_response_schema.py new file mode 100644 index 0000000..56f9bfb --- /dev/null +++ b/rentman_api_client/models/subrental_itemget_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrental_itemget_response_schema_data import SubrentalItemgetResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalItemgetResponseSchema: + """ """ + + data: Union[Unset, SubrentalItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, SubrentalItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = SubrentalItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrental_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrental_itemget_response_schema.additional_properties = d + return subrental_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuur_itempost_response_schema_data.py b/rentman_api_client/models/subrental_itemget_response_schema_data.py similarity index 93% rename from rentman_api_client/models/inhuur_itempost_response_schema_data.py rename to rentman_api_client/models/subrental_itemget_response_schema_data.py index 6f1f78d..3abc8bf 100644 --- a/rentman_api_client/models/inhuur_itempost_response_schema_data.py +++ b/rentman_api_client/models/subrental_itemget_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.inhuur_itempost_response_schema_data_custom import InhuurItempostResponseSchemaDataCustom -from ..models.inhuur_itempost_response_schema_data_type import InhuurItempostResponseSchemaDataType +from ..models.subrental_itemget_response_schema_data_custom import SubrentalItemgetResponseSchemaDataCustom +from ..models.subrental_itemget_response_schema_data_type import SubrentalItemgetResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurItempostResponseSchemaData") +T = TypeVar("T", bound="SubrentalItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class InhuurItempostResponseSchemaData: +class SubrentalItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -39,7 +39,7 @@ class InhuurItempostResponseSchemaData: extra_cost: Union[Unset, float] = UNSET auto_update_costs: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - type: Union[Unset, InhuurItempostResponseSchemaDataType] = UNSET + type: Union[Unset, SubrentalItemgetResponseSchemaDataType] = UNSET status: Union[Unset, str] = UNSET sent: Union[Unset, None, datetime.datetime] = UNSET asset_location_to: Union[Unset, None, str] = UNSET @@ -47,7 +47,7 @@ class InhuurItempostResponseSchemaData: is_internal: Union[Unset, bool] = UNSET supplier_project: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, InhuurItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SubrentalItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -264,10 +264,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - type: Union[Unset, InhuurItempostResponseSchemaDataType] = UNSET + type: Union[Unset, SubrentalItemgetResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = InhuurItempostResponseSchemaDataType(_type) + type = SubrentalItemgetResponseSchemaDataType(_type) status = d.pop("status", UNSET) @@ -286,12 +286,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, InhuurItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SubrentalItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = InhuurItempostResponseSchemaDataCustom.from_dict(_custom) + custom = SubrentalItemgetResponseSchemaDataCustom.from_dict(_custom) - inhuur_itempost_response_schema_data = cls( + subrental_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -327,8 +327,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - inhuur_itempost_response_schema_data.additional_properties = d - return inhuur_itempost_response_schema_data + subrental_itemget_response_schema_data.additional_properties = d + return subrental_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_itemget_response_schema_data_custom.py b/rentman_api_client/models/subrental_itemget_response_schema_data_custom.py similarity index 77% rename from rentman_api_client/models/exemplaar_itemget_response_schema_data_custom.py rename to rentman_api_client/models/subrental_itemget_response_schema_data_custom.py index 1eb6c87..eb1f49c 100644 --- a/rentman_api_client/models/exemplaar_itemget_response_schema_data_custom.py +++ b/rentman_api_client/models/subrental_itemget_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="ExemplaarItemgetResponseSchemaDataCustom") +T = TypeVar("T", bound="SubrentalItemgetResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class ExemplaarItemgetResponseSchemaDataCustom: +class SubrentalItemgetResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - exemplaar_itemget_response_schema_data_custom = cls() + subrental_itemget_response_schema_data_custom = cls() - exemplaar_itemget_response_schema_data_custom.additional_properties = d - return exemplaar_itemget_response_schema_data_custom + subrental_itemget_response_schema_data_custom.additional_properties = d + return subrental_itemget_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_itemget_response_schema_data_type.py b/rentman_api_client/models/subrental_itemget_response_schema_data_type.py similarity index 78% rename from rentman_api_client/models/inhuur_itemget_response_schema_data_type.py rename to rentman_api_client/models/subrental_itemget_response_schema_data_type.py index ee30a69..0a66abc 100644 --- a/rentman_api_client/models/inhuur_itemget_response_schema_data_type.py +++ b/rentman_api_client/models/subrental_itemget_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class InhuurItemgetResponseSchemaDataType(str, Enum): +class SubrentalItemgetResponseSchemaDataType(str, Enum): PICK_UP = "Pick up" DELIVERY_AT_WAREHOUSE = "Delivery at warehouse" DELIVERY_AT_LOCATION = "Delivery at location" diff --git a/rentman_api_client/models/inhuur_itemput_request_schema.py b/rentman_api_client/models/subrental_itempost_request_schema.py similarity index 92% rename from rentman_api_client/models/inhuur_itemput_request_schema.py rename to rentman_api_client/models/subrental_itempost_request_schema.py index fbc86d5..451b66e 100644 --- a/rentman_api_client/models/inhuur_itemput_request_schema.py +++ b/rentman_api_client/models/subrental_itempost_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.inhuur_itemput_request_schema_custom import InhuurItemputRequestSchemaCustom -from ..models.inhuur_itemput_request_schema_type import InhuurItemputRequestSchemaType +from ..models.subrental_itempost_request_schema_custom import SubrentalItempostRequestSchemaCustom +from ..models.subrental_itempost_request_schema_type import SubrentalItempostRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurItemputRequestSchema") +T = TypeVar("T", bound="SubrentalItempostRequestSchema") @attr.s(auto_attribs=True) -class InhuurItemputRequestSchema: +class SubrentalItempostRequestSchema: """ """ name: Union[Unset, str] = UNSET @@ -34,14 +34,14 @@ class InhuurItemputRequestSchema: extra_cost: Union[Unset, float] = UNSET auto_update_costs: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - type: Union[Unset, InhuurItemputRequestSchemaType] = UNSET + type: Union[Unset, SubrentalItempostRequestSchemaType] = UNSET status: Union[Unset, str] = UNSET sent: Union[Unset, None, datetime.datetime] = UNSET asset_location_to: Union[Unset, None, str] = UNSET asset_location_from: Union[Unset, None, str] = UNSET is_internal: Union[Unset, bool] = UNSET supplier_project: Union[Unset, None, str] = UNSET - custom: Union[Unset, InhuurItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, SubrentalItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -218,10 +218,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - type: Union[Unset, InhuurItemputRequestSchemaType] = UNSET + type: Union[Unset, SubrentalItempostRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = InhuurItemputRequestSchemaType(_type) + type = SubrentalItempostRequestSchemaType(_type) status = d.pop("status", UNSET) @@ -238,12 +238,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_project = d.pop("supplier_project", UNSET) - custom: Union[Unset, InhuurItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, SubrentalItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = InhuurItemputRequestSchemaCustom.from_dict(_custom) + custom = SubrentalItempostRequestSchemaCustom.from_dict(_custom) - inhuur_itemput_request_schema = cls( + subrental_itempost_request_schema = cls( name=name, accountmanager=accountmanager, reference=reference, @@ -273,8 +273,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - inhuur_itemput_request_schema.additional_properties = d - return inhuur_itemput_request_schema + subrental_itempost_request_schema.additional_properties = d + return subrental_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itempost_request_schema_custom.py b/rentman_api_client/models/subrental_itempost_request_schema_custom.py similarity index 78% rename from rentman_api_client/models/materiaal_itempost_request_schema_custom.py rename to rentman_api_client/models/subrental_itempost_request_schema_custom.py index 97f5f13..65f6047 100644 --- a/rentman_api_client/models/materiaal_itempost_request_schema_custom.py +++ b/rentman_api_client/models/subrental_itempost_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MateriaalItempostRequestSchemaCustom") +T = TypeVar("T", bound="SubrentalItempostRequestSchemaCustom") @attr.s(auto_attribs=True) -class MateriaalItempostRequestSchemaCustom: +class SubrentalItempostRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - materiaal_itempost_request_schema_custom = cls() + subrental_itempost_request_schema_custom = cls() - materiaal_itempost_request_schema_custom.additional_properties = d - return materiaal_itempost_request_schema_custom + subrental_itempost_request_schema_custom.additional_properties = d + return subrental_itempost_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_itemget_request_schema_type.py b/rentman_api_client/models/subrental_itempost_request_schema_type.py similarity index 80% rename from rentman_api_client/models/inhuur_itemget_request_schema_type.py rename to rentman_api_client/models/subrental_itempost_request_schema_type.py index dfecaa0..66bd97f 100644 --- a/rentman_api_client/models/inhuur_itemget_request_schema_type.py +++ b/rentman_api_client/models/subrental_itempost_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class InhuurItemgetRequestSchemaType(str, Enum): +class SubrentalItempostRequestSchemaType(str, Enum): PICK_UP = "Pick up" DELIVERY_AT_WAREHOUSE = "Delivery at warehouse" DELIVERY_AT_LOCATION = "Delivery at location" diff --git a/rentman_api_client/models/subrental_itempost_response_schema.py b/rentman_api_client/models/subrental_itempost_response_schema.py new file mode 100644 index 0000000..0c64dda --- /dev/null +++ b/rentman_api_client/models/subrental_itempost_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrental_itempost_response_schema_data import SubrentalItempostResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalItempostResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalItempostResponseSchema: + """ """ + + data: Union[Unset, SubrentalItempostResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, SubrentalItempostResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = SubrentalItempostResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrental_itempost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrental_itempost_response_schema.additional_properties = d + return subrental_itempost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuur_itemget_response_schema_data.py b/rentman_api_client/models/subrental_itempost_response_schema_data.py similarity index 93% rename from rentman_api_client/models/inhuur_itemget_response_schema_data.py rename to rentman_api_client/models/subrental_itempost_response_schema_data.py index 550f901..65660b2 100644 --- a/rentman_api_client/models/inhuur_itemget_response_schema_data.py +++ b/rentman_api_client/models/subrental_itempost_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.inhuur_itemget_response_schema_data_custom import InhuurItemgetResponseSchemaDataCustom -from ..models.inhuur_itemget_response_schema_data_type import InhuurItemgetResponseSchemaDataType +from ..models.subrental_itempost_response_schema_data_custom import SubrentalItempostResponseSchemaDataCustom +from ..models.subrental_itempost_response_schema_data_type import SubrentalItempostResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurItemgetResponseSchemaData") +T = TypeVar("T", bound="SubrentalItempostResponseSchemaData") @attr.s(auto_attribs=True) -class InhuurItemgetResponseSchemaData: +class SubrentalItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -39,7 +39,7 @@ class InhuurItemgetResponseSchemaData: extra_cost: Union[Unset, float] = UNSET auto_update_costs: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - type: Union[Unset, InhuurItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, SubrentalItempostResponseSchemaDataType] = UNSET status: Union[Unset, str] = UNSET sent: Union[Unset, None, datetime.datetime] = UNSET asset_location_to: Union[Unset, None, str] = UNSET @@ -47,7 +47,7 @@ class InhuurItemgetResponseSchemaData: is_internal: Union[Unset, bool] = UNSET supplier_project: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, InhuurItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SubrentalItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -264,10 +264,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - type: Union[Unset, InhuurItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, SubrentalItempostResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = InhuurItemgetResponseSchemaDataType(_type) + type = SubrentalItempostResponseSchemaDataType(_type) status = d.pop("status", UNSET) @@ -286,12 +286,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, InhuurItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SubrentalItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = InhuurItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = SubrentalItempostResponseSchemaDataCustom.from_dict(_custom) - inhuur_itemget_response_schema_data = cls( + subrental_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -327,8 +327,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - inhuur_itemget_response_schema_data.additional_properties = d - return inhuur_itemget_response_schema_data + subrental_itempost_response_schema_data.additional_properties = d + return subrental_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/medewerker_itemget_response_schema_data_custom.py b/rentman_api_client/models/subrental_itempost_response_schema_data_custom.py similarity index 77% rename from rentman_api_client/models/medewerker_itemget_response_schema_data_custom.py rename to rentman_api_client/models/subrental_itempost_response_schema_data_custom.py index b623f6d..f45df14 100644 --- a/rentman_api_client/models/medewerker_itemget_response_schema_data_custom.py +++ b/rentman_api_client/models/subrental_itempost_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MedewerkerItemgetResponseSchemaDataCustom") +T = TypeVar("T", bound="SubrentalItempostResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class MedewerkerItemgetResponseSchemaDataCustom: +class SubrentalItempostResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - medewerker_itemget_response_schema_data_custom = cls() + subrental_itempost_response_schema_data_custom = cls() - medewerker_itemget_response_schema_data_custom.additional_properties = d - return medewerker_itemget_response_schema_data_custom + subrental_itempost_response_schema_data_custom.additional_properties = d + return subrental_itempost_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/subrental_itempost_response_schema_data_type.py b/rentman_api_client/models/subrental_itempost_response_schema_data_type.py new file mode 100644 index 0000000..36e7aae --- /dev/null +++ b/rentman_api_client/models/subrental_itempost_response_schema_data_type.py @@ -0,0 +1,10 @@ +from enum import Enum + + +class SubrentalItempostResponseSchemaDataType(str, Enum): + PICK_UP = "Pick up" + DELIVERY_AT_WAREHOUSE = "Delivery at warehouse" + DELIVERY_AT_LOCATION = "Delivery at location" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/inhuur_itemget_request_schema.py b/rentman_api_client/models/subrental_itemput_request_schema.py similarity index 92% rename from rentman_api_client/models/inhuur_itemget_request_schema.py rename to rentman_api_client/models/subrental_itemput_request_schema.py index 0be1652..bcd0aca 100644 --- a/rentman_api_client/models/inhuur_itemget_request_schema.py +++ b/rentman_api_client/models/subrental_itemput_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.inhuur_itemget_request_schema_custom import InhuurItemgetRequestSchemaCustom -from ..models.inhuur_itemget_request_schema_type import InhuurItemgetRequestSchemaType +from ..models.subrental_itemput_request_schema_custom import SubrentalItemputRequestSchemaCustom +from ..models.subrental_itemput_request_schema_type import SubrentalItemputRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurItemgetRequestSchema") +T = TypeVar("T", bound="SubrentalItemputRequestSchema") @attr.s(auto_attribs=True) -class InhuurItemgetRequestSchema: +class SubrentalItemputRequestSchema: """ """ name: Union[Unset, str] = UNSET @@ -34,14 +34,14 @@ class InhuurItemgetRequestSchema: extra_cost: Union[Unset, float] = UNSET auto_update_costs: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - type: Union[Unset, InhuurItemgetRequestSchemaType] = UNSET + type: Union[Unset, SubrentalItemputRequestSchemaType] = UNSET status: Union[Unset, str] = UNSET sent: Union[Unset, None, datetime.datetime] = UNSET asset_location_to: Union[Unset, None, str] = UNSET asset_location_from: Union[Unset, None, str] = UNSET is_internal: Union[Unset, bool] = UNSET supplier_project: Union[Unset, None, str] = UNSET - custom: Union[Unset, InhuurItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, SubrentalItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -218,10 +218,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - type: Union[Unset, InhuurItemgetRequestSchemaType] = UNSET + type: Union[Unset, SubrentalItemputRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = InhuurItemgetRequestSchemaType(_type) + type = SubrentalItemputRequestSchemaType(_type) status = d.pop("status", UNSET) @@ -238,12 +238,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_project = d.pop("supplier_project", UNSET) - custom: Union[Unset, InhuurItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, SubrentalItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = InhuurItemgetRequestSchemaCustom.from_dict(_custom) + custom = SubrentalItemputRequestSchemaCustom.from_dict(_custom) - inhuur_itemget_request_schema = cls( + subrental_itemput_request_schema = cls( name=name, accountmanager=accountmanager, reference=reference, @@ -273,8 +273,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - inhuur_itemget_request_schema.additional_properties = d - return inhuur_itemget_request_schema + subrental_itemput_request_schema.additional_properties = d + return subrental_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/exemplaar_itemput_request_schema_custom.py b/rentman_api_client/models/subrental_itemput_request_schema_custom.py similarity index 78% rename from rentman_api_client/models/exemplaar_itemput_request_schema_custom.py rename to rentman_api_client/models/subrental_itemput_request_schema_custom.py index a8df580..a168932 100644 --- a/rentman_api_client/models/exemplaar_itemput_request_schema_custom.py +++ b/rentman_api_client/models/subrental_itemput_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="ExemplaarItemputRequestSchemaCustom") +T = TypeVar("T", bound="SubrentalItemputRequestSchemaCustom") @attr.s(auto_attribs=True) -class ExemplaarItemputRequestSchemaCustom: +class SubrentalItemputRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - exemplaar_itemput_request_schema_custom = cls() + subrental_itemput_request_schema_custom = cls() - exemplaar_itemput_request_schema_custom.additional_properties = d - return exemplaar_itemput_request_schema_custom + subrental_itemput_request_schema_custom.additional_properties = d + return subrental_itemput_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_itemput_request_schema_type.py b/rentman_api_client/models/subrental_itemput_request_schema_type.py similarity index 80% rename from rentman_api_client/models/inhuur_itemput_request_schema_type.py rename to rentman_api_client/models/subrental_itemput_request_schema_type.py index 586019e..e0d5f02 100644 --- a/rentman_api_client/models/inhuur_itemput_request_schema_type.py +++ b/rentman_api_client/models/subrental_itemput_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class InhuurItemputRequestSchemaType(str, Enum): +class SubrentalItemputRequestSchemaType(str, Enum): PICK_UP = "Pick up" DELIVERY_AT_WAREHOUSE = "Delivery at warehouse" DELIVERY_AT_LOCATION = "Delivery at location" diff --git a/rentman_api_client/models/subrental_itemput_response_schema.py b/rentman_api_client/models/subrental_itemput_response_schema.py new file mode 100644 index 0000000..9f65268 --- /dev/null +++ b/rentman_api_client/models/subrental_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrental_itemput_response_schema_data import SubrentalItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalItemputResponseSchema: + """ """ + + data: Union[Unset, SubrentalItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, SubrentalItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = SubrentalItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrental_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrental_itemput_response_schema.additional_properties = d + return subrental_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuur_itemput_response_schema_data.py b/rentman_api_client/models/subrental_itemput_response_schema_data.py similarity index 93% rename from rentman_api_client/models/inhuur_itemput_response_schema_data.py rename to rentman_api_client/models/subrental_itemput_response_schema_data.py index cfc7a47..4e673ae 100644 --- a/rentman_api_client/models/inhuur_itemput_response_schema_data.py +++ b/rentman_api_client/models/subrental_itemput_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.inhuur_itemput_response_schema_data_custom import InhuurItemputResponseSchemaDataCustom -from ..models.inhuur_itemput_response_schema_data_type import InhuurItemputResponseSchemaDataType +from ..models.subrental_itemput_response_schema_data_custom import SubrentalItemputResponseSchemaDataCustom +from ..models.subrental_itemput_response_schema_data_type import SubrentalItemputResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurItemputResponseSchemaData") +T = TypeVar("T", bound="SubrentalItemputResponseSchemaData") @attr.s(auto_attribs=True) -class InhuurItemputResponseSchemaData: +class SubrentalItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -39,7 +39,7 @@ class InhuurItemputResponseSchemaData: extra_cost: Union[Unset, float] = UNSET auto_update_costs: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - type: Union[Unset, InhuurItemputResponseSchemaDataType] = UNSET + type: Union[Unset, SubrentalItemputResponseSchemaDataType] = UNSET status: Union[Unset, str] = UNSET sent: Union[Unset, None, datetime.datetime] = UNSET asset_location_to: Union[Unset, None, str] = UNSET @@ -47,7 +47,7 @@ class InhuurItemputResponseSchemaData: is_internal: Union[Unset, bool] = UNSET supplier_project: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET - custom: Union[Unset, InhuurItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SubrentalItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -264,10 +264,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - type: Union[Unset, InhuurItemputResponseSchemaDataType] = UNSET + type: Union[Unset, SubrentalItemputResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = InhuurItemputResponseSchemaDataType(_type) + type = SubrentalItemputResponseSchemaDataType(_type) status = d.pop("status", UNSET) @@ -286,12 +286,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: tags = d.pop("tags", UNSET) - custom: Union[Unset, InhuurItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, SubrentalItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = InhuurItemputResponseSchemaDataCustom.from_dict(_custom) + custom = SubrentalItemputResponseSchemaDataCustom.from_dict(_custom) - inhuur_itemput_response_schema_data = cls( + subrental_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -327,8 +327,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - inhuur_itemput_response_schema_data.additional_properties = d - return inhuur_itemput_response_schema_data + subrental_itemput_response_schema_data.additional_properties = d + return subrental_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/materiaal_itemget_response_schema_data_custom.py b/rentman_api_client/models/subrental_itemput_response_schema_data_custom.py similarity index 77% rename from rentman_api_client/models/materiaal_itemget_response_schema_data_custom.py rename to rentman_api_client/models/subrental_itemput_response_schema_data_custom.py index 6638433..548a08c 100644 --- a/rentman_api_client/models/materiaal_itemget_response_schema_data_custom.py +++ b/rentman_api_client/models/subrental_itemput_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="MateriaalItemgetResponseSchemaDataCustom") +T = TypeVar("T", bound="SubrentalItemputResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class MateriaalItemgetResponseSchemaDataCustom: +class SubrentalItemputResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - materiaal_itemget_response_schema_data_custom = cls() + subrental_itemput_response_schema_data_custom = cls() - materiaal_itemget_response_schema_data_custom.additional_properties = d - return materiaal_itemget_response_schema_data_custom + subrental_itemput_response_schema_data_custom.additional_properties = d + return subrental_itemput_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_itempost_response_schema_data_type.py b/rentman_api_client/models/subrental_itemput_response_schema_data_type.py similarity index 78% rename from rentman_api_client/models/inhuur_itempost_response_schema_data_type.py rename to rentman_api_client/models/subrental_itemput_response_schema_data_type.py index 8e957e8..c71d167 100644 --- a/rentman_api_client/models/inhuur_itempost_response_schema_data_type.py +++ b/rentman_api_client/models/subrental_itemput_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class InhuurItempostResponseSchemaDataType(str, Enum): +class SubrentalItemputResponseSchemaDataType(str, Enum): PICK_UP = "Pick up" DELIVERY_AT_WAREHOUSE = "Delivery at warehouse" DELIVERY_AT_LOCATION = "Delivery at location" diff --git a/rentman_api_client/models/afspraakmedewerker_collectionget_response_schema.py b/rentman_api_client/models/subrentalequipment_collectionget_response_schema.py similarity index 80% rename from rentman_api_client/models/afspraakmedewerker_collectionget_response_schema.py rename to rentman_api_client/models/subrentalequipment_collectionget_response_schema.py index 6248e52..b9cc54d 100644 --- a/rentman_api_client/models/afspraakmedewerker_collectionget_response_schema.py +++ b/rentman_api_client/models/subrentalequipment_collectionget_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.afspraakmedewerker_collectionget_response_schema_data_item import ( - AfspraakmedewerkerCollectiongetResponseSchemaDataItem, +from ..models.subrentalequipment_collectionget_response_schema_data_item import ( + SubrentalequipmentCollectiongetResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerCollectiongetResponseSchema") +T = TypeVar("T", bound="SubrentalequipmentCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class AfspraakmedewerkerCollectiongetResponseSchema: +class SubrentalequipmentCollectiongetResponseSchema: """ """ - data: Union[Unset, List[AfspraakmedewerkerCollectiongetResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[SubrentalequipmentCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AfspraakmedewerkerCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + data_item = SubrentalequipmentCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraakmedewerker_collectionget_response_schema = cls( + subrentalequipment_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraakmedewerker_collectionget_response_schema.additional_properties = d - return afspraakmedewerker_collectionget_response_schema + subrentalequipment_collectionget_response_schema.additional_properties = d + return subrentalequipment_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_collectionpost_response_schema_data_item.py b/rentman_api_client/models/subrentalequipment_collectionget_response_schema_data_item.py similarity index 95% rename from rentman_api_client/models/inhuurmateriaal_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/subrentalequipment_collectionget_response_schema_data_item.py index d96eeb4..cf361b0 100644 --- a/rentman_api_client/models/inhuurmateriaal_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/subrentalequipment_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="SubrentalequipmentCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class InhuurmateriaalCollectionpostResponseSchemaDataItem: +class SubrentalequipmentCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -170,7 +170,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal = d.pop("supplier_planningmateriaal", UNSET) - inhuurmateriaal_collectionpost_response_schema_data_item = cls( + subrentalequipment_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -193,8 +193,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal=supplier_planningmateriaal, ) - inhuurmateriaal_collectionpost_response_schema_data_item.additional_properties = d - return inhuurmateriaal_collectionpost_response_schema_data_item + subrentalequipment_collectionget_response_schema_data_item.additional_properties = d + return subrentalequipment_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_collectionpost_response_schema.py b/rentman_api_client/models/subrentalequipment_collectionpost_response_schema.py similarity index 80% rename from rentman_api_client/models/afspraakmedewerker_collectionpost_response_schema.py rename to rentman_api_client/models/subrentalequipment_collectionpost_response_schema.py index f345c92..b36cba1 100644 --- a/rentman_api_client/models/afspraakmedewerker_collectionpost_response_schema.py +++ b/rentman_api_client/models/subrentalequipment_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.afspraakmedewerker_collectionpost_response_schema_data_item import ( - AfspraakmedewerkerCollectionpostResponseSchemaDataItem, +from ..models.subrentalequipment_collectionpost_response_schema_data_item import ( + SubrentalequipmentCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerCollectionpostResponseSchema") +T = TypeVar("T", bound="SubrentalequipmentCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class AfspraakmedewerkerCollectionpostResponseSchema: +class SubrentalequipmentCollectionpostResponseSchema: """ """ - data: Union[Unset, List[AfspraakmedewerkerCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[SubrentalequipmentCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AfspraakmedewerkerCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = SubrentalequipmentCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraakmedewerker_collectionpost_response_schema = cls( + subrentalequipment_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraakmedewerker_collectionpost_response_schema.additional_properties = d - return afspraakmedewerker_collectionpost_response_schema + subrentalequipment_collectionpost_response_schema.additional_properties = d + return subrentalequipment_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_collectionget_response_schema_data_item.py b/rentman_api_client/models/subrentalequipment_collectionpost_response_schema_data_item.py similarity index 94% rename from rentman_api_client/models/inhuurmateriaal_collectionget_response_schema_data_item.py rename to rentman_api_client/models/subrentalequipment_collectionpost_response_schema_data_item.py index 2d8dd9f..cda48ee 100644 --- a/rentman_api_client/models/inhuurmateriaal_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/subrentalequipment_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="SubrentalequipmentCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class InhuurmateriaalCollectiongetResponseSchemaDataItem: +class SubrentalequipmentCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -170,7 +170,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal = d.pop("supplier_planningmateriaal", UNSET) - inhuurmateriaal_collectionget_response_schema_data_item = cls( + subrentalequipment_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -193,8 +193,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal=supplier_planningmateriaal, ) - inhuurmateriaal_collectionget_response_schema_data_item.additional_properties = d - return inhuurmateriaal_collectionget_response_schema_data_item + subrentalequipment_collectionpost_response_schema_data_item.additional_properties = d + return subrentalequipment_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_collectionput_response_schema.py b/rentman_api_client/models/subrentalequipment_collectionput_response_schema.py similarity index 80% rename from rentman_api_client/models/afspraakmedewerker_collectionput_response_schema.py rename to rentman_api_client/models/subrentalequipment_collectionput_response_schema.py index 2eb38fe..d53a9f6 100644 --- a/rentman_api_client/models/afspraakmedewerker_collectionput_response_schema.py +++ b/rentman_api_client/models/subrentalequipment_collectionput_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.afspraakmedewerker_collectionput_response_schema_data_item import ( - AfspraakmedewerkerCollectionputResponseSchemaDataItem, +from ..models.subrentalequipment_collectionput_response_schema_data_item import ( + SubrentalequipmentCollectionputResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerCollectionputResponseSchema") +T = TypeVar("T", bound="SubrentalequipmentCollectionputResponseSchema") @attr.s(auto_attribs=True) -class AfspraakmedewerkerCollectionputResponseSchema: +class SubrentalequipmentCollectionputResponseSchema: """ """ - data: Union[Unset, List[AfspraakmedewerkerCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[SubrentalequipmentCollectionputResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = AfspraakmedewerkerCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = SubrentalequipmentCollectionputResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraakmedewerker_collectionput_response_schema = cls( + subrentalequipment_collectionput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraakmedewerker_collectionput_response_schema.additional_properties = d - return afspraakmedewerker_collectionput_response_schema + subrentalequipment_collectionput_response_schema.additional_properties = d + return subrentalequipment_collectionput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_collectionput_response_schema_data_item.py b/rentman_api_client/models/subrentalequipment_collectionput_response_schema_data_item.py similarity index 95% rename from rentman_api_client/models/inhuurmateriaal_collectionput_response_schema_data_item.py rename to rentman_api_client/models/subrentalequipment_collectionput_response_schema_data_item.py index d14abc5..cc20e4b 100644 --- a/rentman_api_client/models/inhuurmateriaal_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/subrentalequipment_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="SubrentalequipmentCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class InhuurmateriaalCollectionputResponseSchemaDataItem: +class SubrentalequipmentCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -170,7 +170,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal = d.pop("supplier_planningmateriaal", UNSET) - inhuurmateriaal_collectionput_response_schema_data_item = cls( + subrentalequipment_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -193,8 +193,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal=supplier_planningmateriaal, ) - inhuurmateriaal_collectionput_response_schema_data_item.additional_properties = d - return inhuurmateriaal_collectionput_response_schema_data_item + subrentalequipment_collectionput_response_schema_data_item.additional_properties = d + return subrentalequipment_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_itemput_request_schema.py b/rentman_api_client/models/subrentalequipment_itemget_request_schema.py similarity index 94% rename from rentman_api_client/models/inhuurmateriaal_itemput_request_schema.py rename to rentman_api_client/models/subrentalequipment_itemget_request_schema.py index 66ec297..ba1162f 100644 --- a/rentman_api_client/models/inhuurmateriaal_itemput_request_schema.py +++ b/rentman_api_client/models/subrentalequipment_itemget_request_schema.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalItemputRequestSchema") +T = TypeVar("T", bound="SubrentalequipmentItemgetRequestSchema") @attr.s(auto_attribs=True) -class InhuurmateriaalItemputRequestSchema: +class SubrentalequipmentItemgetRequestSchema: """ """ equipment: Union[Unset, None, str] = UNSET @@ -122,7 +122,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal = d.pop("supplier_planningmateriaal", UNSET) - inhuurmateriaal_itemput_request_schema = cls( + subrentalequipment_itemget_request_schema = cls( equipment=equipment, parent=parent, planperiod_start=planperiod_start, @@ -139,8 +139,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal=supplier_planningmateriaal, ) - inhuurmateriaal_itemput_request_schema.additional_properties = d - return inhuurmateriaal_itemput_request_schema + subrentalequipment_itemget_request_schema.additional_properties = d + return subrentalequipment_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_itemget_response_schema.py b/rentman_api_client/models/subrentalequipment_itemget_response_schema.py similarity index 77% rename from rentman_api_client/models/afspraakmedewerker_itemget_response_schema.py rename to rentman_api_client/models/subrentalequipment_itemget_response_schema.py index dd3be7a..42343a0 100644 --- a/rentman_api_client/models/afspraakmedewerker_itemget_response_schema.py +++ b/rentman_api_client/models/subrentalequipment_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.afspraakmedewerker_itemget_response_schema_data import AfspraakmedewerkerItemgetResponseSchemaData +from ..models.subrentalequipment_itemget_response_schema_data import SubrentalequipmentItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerItemgetResponseSchema") +T = TypeVar("T", bound="SubrentalequipmentItemgetResponseSchema") @attr.s(auto_attribs=True) -class AfspraakmedewerkerItemgetResponseSchema: +class SubrentalequipmentItemgetResponseSchema: """ """ - data: Union[Unset, AfspraakmedewerkerItemgetResponseSchemaData] = UNSET + data: Union[Unset, SubrentalequipmentItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AfspraakmedewerkerItemgetResponseSchemaData] = UNSET + data: Union[Unset, SubrentalequipmentItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AfspraakmedewerkerItemgetResponseSchemaData.from_dict(_data) + data = SubrentalequipmentItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraakmedewerker_itemget_response_schema = cls( + subrentalequipment_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraakmedewerker_itemget_response_schema.additional_properties = d - return afspraakmedewerker_itemget_response_schema + subrentalequipment_itemget_response_schema.additional_properties = d + return subrentalequipment_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_itempost_response_schema_data.py b/rentman_api_client/models/subrentalequipment_itemget_response_schema_data.py similarity index 95% rename from rentman_api_client/models/inhuurmateriaal_itempost_response_schema_data.py rename to rentman_api_client/models/subrentalequipment_itemget_response_schema_data.py index c85de25..fd439c2 100644 --- a/rentman_api_client/models/inhuurmateriaal_itempost_response_schema_data.py +++ b/rentman_api_client/models/subrentalequipment_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalItempostResponseSchemaData") +T = TypeVar("T", bound="SubrentalequipmentItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class InhuurmateriaalItempostResponseSchemaData: +class SubrentalequipmentItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -170,7 +170,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal = d.pop("supplier_planningmateriaal", UNSET) - inhuurmateriaal_itempost_response_schema_data = cls( + subrentalequipment_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -193,8 +193,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal=supplier_planningmateriaal, ) - inhuurmateriaal_itempost_response_schema_data.additional_properties = d - return inhuurmateriaal_itempost_response_schema_data + subrentalequipment_itemget_response_schema_data.additional_properties = d + return subrentalequipment_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_itemget_request_schema.py b/rentman_api_client/models/subrentalequipment_itempost_request_schema.py similarity index 94% rename from rentman_api_client/models/inhuurmateriaal_itemget_request_schema.py rename to rentman_api_client/models/subrentalequipment_itempost_request_schema.py index 6de6a21..8d18330 100644 --- a/rentman_api_client/models/inhuurmateriaal_itemget_request_schema.py +++ b/rentman_api_client/models/subrentalequipment_itempost_request_schema.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalItemgetRequestSchema") +T = TypeVar("T", bound="SubrentalequipmentItempostRequestSchema") @attr.s(auto_attribs=True) -class InhuurmateriaalItemgetRequestSchema: +class SubrentalequipmentItempostRequestSchema: """ """ equipment: Union[Unset, None, str] = UNSET @@ -122,7 +122,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal = d.pop("supplier_planningmateriaal", UNSET) - inhuurmateriaal_itemget_request_schema = cls( + subrentalequipment_itempost_request_schema = cls( equipment=equipment, parent=parent, planperiod_start=planperiod_start, @@ -139,8 +139,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal=supplier_planningmateriaal, ) - inhuurmateriaal_itemget_request_schema.additional_properties = d - return inhuurmateriaal_itemget_request_schema + subrentalequipment_itempost_request_schema.additional_properties = d + return subrentalequipment_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_itempost_response_schema.py b/rentman_api_client/models/subrentalequipment_itempost_response_schema.py similarity index 77% rename from rentman_api_client/models/afspraakmedewerker_itempost_response_schema.py rename to rentman_api_client/models/subrentalequipment_itempost_response_schema.py index 34b93da..79c1dcb 100644 --- a/rentman_api_client/models/afspraakmedewerker_itempost_response_schema.py +++ b/rentman_api_client/models/subrentalequipment_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.afspraakmedewerker_itempost_response_schema_data import AfspraakmedewerkerItempostResponseSchemaData +from ..models.subrentalequipment_itempost_response_schema_data import SubrentalequipmentItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerItempostResponseSchema") +T = TypeVar("T", bound="SubrentalequipmentItempostResponseSchema") @attr.s(auto_attribs=True) -class AfspraakmedewerkerItempostResponseSchema: +class SubrentalequipmentItempostResponseSchema: """ """ - data: Union[Unset, AfspraakmedewerkerItempostResponseSchemaData] = UNSET + data: Union[Unset, SubrentalequipmentItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AfspraakmedewerkerItempostResponseSchemaData] = UNSET + data: Union[Unset, SubrentalequipmentItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AfspraakmedewerkerItempostResponseSchemaData.from_dict(_data) + data = SubrentalequipmentItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraakmedewerker_itempost_response_schema = cls( + subrentalequipment_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraakmedewerker_itempost_response_schema.additional_properties = d - return afspraakmedewerker_itempost_response_schema + subrentalequipment_itempost_response_schema.additional_properties = d + return subrentalequipment_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_itemget_response_schema_data.py b/rentman_api_client/models/subrentalequipment_itempost_response_schema_data.py similarity index 95% rename from rentman_api_client/models/inhuurmateriaal_itemget_response_schema_data.py rename to rentman_api_client/models/subrentalequipment_itempost_response_schema_data.py index 1421c2c..6dcd4ee 100644 --- a/rentman_api_client/models/inhuurmateriaal_itemget_response_schema_data.py +++ b/rentman_api_client/models/subrentalequipment_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalItemgetResponseSchemaData") +T = TypeVar("T", bound="SubrentalequipmentItempostResponseSchemaData") @attr.s(auto_attribs=True) -class InhuurmateriaalItemgetResponseSchemaData: +class SubrentalequipmentItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -170,7 +170,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal = d.pop("supplier_planningmateriaal", UNSET) - inhuurmateriaal_itemget_response_schema_data = cls( + subrentalequipment_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -193,8 +193,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal=supplier_planningmateriaal, ) - inhuurmateriaal_itemget_response_schema_data.additional_properties = d - return inhuurmateriaal_itemget_response_schema_data + subrentalequipment_itempost_response_schema_data.additional_properties = d + return subrentalequipment_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_itempost_request_schema.py b/rentman_api_client/models/subrentalequipment_itemput_request_schema.py similarity index 94% rename from rentman_api_client/models/inhuurmateriaal_itempost_request_schema.py rename to rentman_api_client/models/subrentalequipment_itemput_request_schema.py index 09edd99..06bcefa 100644 --- a/rentman_api_client/models/inhuurmateriaal_itempost_request_schema.py +++ b/rentman_api_client/models/subrentalequipment_itemput_request_schema.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalItempostRequestSchema") +T = TypeVar("T", bound="SubrentalequipmentItemputRequestSchema") @attr.s(auto_attribs=True) -class InhuurmateriaalItempostRequestSchema: +class SubrentalequipmentItemputRequestSchema: """ """ equipment: Union[Unset, None, str] = UNSET @@ -122,7 +122,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal = d.pop("supplier_planningmateriaal", UNSET) - inhuurmateriaal_itempost_request_schema = cls( + subrentalequipment_itemput_request_schema = cls( equipment=equipment, parent=parent, planperiod_start=planperiod_start, @@ -139,8 +139,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal=supplier_planningmateriaal, ) - inhuurmateriaal_itempost_request_schema.additional_properties = d - return inhuurmateriaal_itempost_request_schema + subrentalequipment_itemput_request_schema.additional_properties = d + return subrentalequipment_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/afspraakmedewerker_itemput_response_schema.py b/rentman_api_client/models/subrentalequipment_itemput_response_schema.py similarity index 77% rename from rentman_api_client/models/afspraakmedewerker_itemput_response_schema.py rename to rentman_api_client/models/subrentalequipment_itemput_response_schema.py index 391b18c..6a5685b 100644 --- a/rentman_api_client/models/afspraakmedewerker_itemput_response_schema.py +++ b/rentman_api_client/models/subrentalequipment_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.afspraakmedewerker_itemput_response_schema_data import AfspraakmedewerkerItemputResponseSchemaData +from ..models.subrentalequipment_itemput_response_schema_data import SubrentalequipmentItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakmedewerkerItemputResponseSchema") +T = TypeVar("T", bound="SubrentalequipmentItemputResponseSchema") @attr.s(auto_attribs=True) -class AfspraakmedewerkerItemputResponseSchema: +class SubrentalequipmentItemputResponseSchema: """ """ - data: Union[Unset, AfspraakmedewerkerItemputResponseSchemaData] = UNSET + data: Union[Unset, SubrentalequipmentItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AfspraakmedewerkerItemputResponseSchemaData] = UNSET + data: Union[Unset, SubrentalequipmentItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AfspraakmedewerkerItemputResponseSchemaData.from_dict(_data) + data = SubrentalequipmentItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraakmedewerker_itemput_response_schema = cls( + subrentalequipment_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraakmedewerker_itemput_response_schema.additional_properties = d - return afspraakmedewerker_itemput_response_schema + subrentalequipment_itemput_response_schema.additional_properties = d + return subrentalequipment_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurmateriaal_itemput_response_schema_data.py b/rentman_api_client/models/subrentalequipment_itemput_response_schema_data.py similarity index 95% rename from rentman_api_client/models/inhuurmateriaal_itemput_response_schema_data.py rename to rentman_api_client/models/subrentalequipment_itemput_response_schema_data.py index 9e67458..203d4b4 100644 --- a/rentman_api_client/models/inhuurmateriaal_itemput_response_schema_data.py +++ b/rentman_api_client/models/subrentalequipment_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalItemputResponseSchemaData") +T = TypeVar("T", bound="SubrentalequipmentItemputResponseSchemaData") @attr.s(auto_attribs=True) -class InhuurmateriaalItemputResponseSchemaData: +class SubrentalequipmentItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -170,7 +170,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal = d.pop("supplier_planningmateriaal", UNSET) - inhuurmateriaal_itemput_response_schema_data = cls( + subrentalequipment_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -193,8 +193,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_planningmateriaal=supplier_planningmateriaal, ) - inhuurmateriaal_itemput_response_schema_data.additional_properties = d - return inhuurmateriaal_itemput_response_schema_data + subrentalequipment_itemput_response_schema_data.additional_properties = d + return subrentalequipment_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/subrentalequipmentgroup_collectionget_response_schema.py b/rentman_api_client/models/subrentalequipmentgroup_collectionget_response_schema.py new file mode 100644 index 0000000..08d7c5b --- /dev/null +++ b/rentman_api_client/models/subrentalequipmentgroup_collectionget_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrentalequipmentgroup_collectionget_response_schema_data_item import ( + SubrentalequipmentgroupCollectiongetResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalequipmentgroupCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalequipmentgroupCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[SubrentalequipmentgroupCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = SubrentalequipmentgroupCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrentalequipmentgroup_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrentalequipmentgroup_collectionget_response_schema.additional_properties = d + return subrentalequipmentgroup_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuurgroep_collectionput_response_schema_data_item.py b/rentman_api_client/models/subrentalequipmentgroup_collectionget_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/inhuurgroep_collectionput_response_schema_data_item.py rename to rentman_api_client/models/subrentalequipmentgroup_collectionget_response_schema_data_item.py index 6e5ccca..9489634 100644 --- a/rentman_api_client/models/inhuurgroep_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/subrentalequipmentgroup_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="SubrentalequipmentgroupCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class InhuurgroepCollectionputResponseSchemaDataItem: +class SubrentalequipmentgroupCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category = d.pop("supplier_category", UNSET) - inhuurgroep_collectionput_response_schema_data_item = cls( + subrentalequipmentgroup_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category=supplier_category, ) - inhuurgroep_collectionput_response_schema_data_item.additional_properties = d - return inhuurgroep_collectionput_response_schema_data_item + subrentalequipmentgroup_collectionget_response_schema_data_item.additional_properties = d + return subrentalequipmentgroup_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/subrentalequipmentgroup_collectionpost_response_schema.py b/rentman_api_client/models/subrentalequipmentgroup_collectionpost_response_schema.py new file mode 100644 index 0000000..daf8cc8 --- /dev/null +++ b/rentman_api_client/models/subrentalequipmentgroup_collectionpost_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrentalequipmentgroup_collectionpost_response_schema_data_item import ( + SubrentalequipmentgroupCollectionpostResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalequipmentgroupCollectionpostResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalequipmentgroupCollectionpostResponseSchema: + """ """ + + data: Union[Unset, List[SubrentalequipmentgroupCollectionpostResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = SubrentalequipmentgroupCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrentalequipmentgroup_collectionpost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrentalequipmentgroup_collectionpost_response_schema.additional_properties = d + return subrentalequipmentgroup_collectionpost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuurgroep_collectionpost_response_schema_data_item.py b/rentman_api_client/models/subrentalequipmentgroup_collectionpost_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/inhuurgroep_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/subrentalequipmentgroup_collectionpost_response_schema_data_item.py index 57085e1..e839b12 100644 --- a/rentman_api_client/models/inhuurgroep_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/subrentalequipmentgroup_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="SubrentalequipmentgroupCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class InhuurgroepCollectionpostResponseSchemaDataItem: +class SubrentalequipmentgroupCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category = d.pop("supplier_category", UNSET) - inhuurgroep_collectionpost_response_schema_data_item = cls( + subrentalequipmentgroup_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category=supplier_category, ) - inhuurgroep_collectionpost_response_schema_data_item.additional_properties = d - return inhuurgroep_collectionpost_response_schema_data_item + subrentalequipmentgroup_collectionpost_response_schema_data_item.additional_properties = d + return subrentalequipmentgroup_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/subrentalequipmentgroup_collectionput_response_schema.py b/rentman_api_client/models/subrentalequipmentgroup_collectionput_response_schema.py new file mode 100644 index 0000000..608d0d4 --- /dev/null +++ b/rentman_api_client/models/subrentalequipmentgroup_collectionput_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrentalequipmentgroup_collectionput_response_schema_data_item import ( + SubrentalequipmentgroupCollectionputResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalequipmentgroupCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalequipmentgroupCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[SubrentalequipmentgroupCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = SubrentalequipmentgroupCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrentalequipmentgroup_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrentalequipmentgroup_collectionput_response_schema.additional_properties = d + return subrentalequipmentgroup_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuurgroep_collectionget_response_schema_data_item.py b/rentman_api_client/models/subrentalequipmentgroup_collectionput_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/inhuurgroep_collectionget_response_schema_data_item.py rename to rentman_api_client/models/subrentalequipmentgroup_collectionput_response_schema_data_item.py index 2e9fb48..81483e7 100644 --- a/rentman_api_client/models/inhuurgroep_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/subrentalequipmentgroup_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="SubrentalequipmentgroupCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class InhuurgroepCollectiongetResponseSchemaDataItem: +class SubrentalequipmentgroupCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category = d.pop("supplier_category", UNSET) - inhuurgroep_collectionget_response_schema_data_item = cls( + subrentalequipmentgroup_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category=supplier_category, ) - inhuurgroep_collectionget_response_schema_data_item.additional_properties = d - return inhuurgroep_collectionget_response_schema_data_item + subrentalequipmentgroup_collectionput_response_schema_data_item.additional_properties = d + return subrentalequipmentgroup_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurgroep_itempost_request_schema.py b/rentman_api_client/models/subrentalequipmentgroup_itemget_request_schema.py similarity index 84% rename from rentman_api_client/models/inhuurgroep_itempost_request_schema.py rename to rentman_api_client/models/subrentalequipmentgroup_itemget_request_schema.py index f59fb51..854f5ba 100644 --- a/rentman_api_client/models/inhuurgroep_itempost_request_schema.py +++ b/rentman_api_client/models/subrentalequipmentgroup_itemget_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepItempostRequestSchema") +T = TypeVar("T", bound="SubrentalequipmentgroupItemgetRequestSchema") @attr.s(auto_attribs=True) -class InhuurgroepItempostRequestSchema: +class SubrentalequipmentgroupItemgetRequestSchema: """ """ name: Union[Unset, str] = UNSET @@ -42,14 +42,14 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category = d.pop("supplier_category", UNSET) - inhuurgroep_itempost_request_schema = cls( + subrentalequipmentgroup_itemget_request_schema = cls( name=name, order=order, supplier_category=supplier_category, ) - inhuurgroep_itempost_request_schema.additional_properties = d - return inhuurgroep_itempost_request_schema + subrentalequipmentgroup_itemget_request_schema.additional_properties = d + return subrentalequipmentgroup_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/subrentalequipmentgroup_itemget_response_schema.py b/rentman_api_client/models/subrentalequipmentgroup_itemget_response_schema.py new file mode 100644 index 0000000..2e42d59 --- /dev/null +++ b/rentman_api_client/models/subrentalequipmentgroup_itemget_response_schema.py @@ -0,0 +1,84 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrentalequipmentgroup_itemget_response_schema_data import ( + SubrentalequipmentgroupItemgetResponseSchemaData, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalequipmentgroupItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalequipmentgroupItemgetResponseSchema: + """ """ + + data: Union[Unset, SubrentalequipmentgroupItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, SubrentalequipmentgroupItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = SubrentalequipmentgroupItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrentalequipmentgroup_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrentalequipmentgroup_itemget_response_schema.additional_properties = d + return subrentalequipmentgroup_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuurgroep_itempost_response_schema_data.py b/rentman_api_client/models/subrentalequipmentgroup_itemget_response_schema_data.py similarity index 91% rename from rentman_api_client/models/inhuurgroep_itempost_response_schema_data.py rename to rentman_api_client/models/subrentalequipmentgroup_itemget_response_schema_data.py index 66c4c7b..6cda86b 100644 --- a/rentman_api_client/models/inhuurgroep_itempost_response_schema_data.py +++ b/rentman_api_client/models/subrentalequipmentgroup_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepItempostResponseSchemaData") +T = TypeVar("T", bound="SubrentalequipmentgroupItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class InhuurgroepItempostResponseSchemaData: +class SubrentalequipmentgroupItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category = d.pop("supplier_category", UNSET) - inhuurgroep_itempost_response_schema_data = cls( + subrentalequipmentgroup_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category=supplier_category, ) - inhuurgroep_itempost_response_schema_data.additional_properties = d - return inhuurgroep_itempost_response_schema_data + subrentalequipmentgroup_itemget_response_schema_data.additional_properties = d + return subrentalequipmentgroup_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurgroep_itemget_request_schema.py b/rentman_api_client/models/subrentalequipmentgroup_itempost_request_schema.py similarity index 84% rename from rentman_api_client/models/inhuurgroep_itemget_request_schema.py rename to rentman_api_client/models/subrentalequipmentgroup_itempost_request_schema.py index 4429b3d..18c5346 100644 --- a/rentman_api_client/models/inhuurgroep_itemget_request_schema.py +++ b/rentman_api_client/models/subrentalequipmentgroup_itempost_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepItemgetRequestSchema") +T = TypeVar("T", bound="SubrentalequipmentgroupItempostRequestSchema") @attr.s(auto_attribs=True) -class InhuurgroepItemgetRequestSchema: +class SubrentalequipmentgroupItempostRequestSchema: """ """ name: Union[Unset, str] = UNSET @@ -42,14 +42,14 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category = d.pop("supplier_category", UNSET) - inhuurgroep_itemget_request_schema = cls( + subrentalequipmentgroup_itempost_request_schema = cls( name=name, order=order, supplier_category=supplier_category, ) - inhuurgroep_itemget_request_schema.additional_properties = d - return inhuurgroep_itemget_request_schema + subrentalequipmentgroup_itempost_request_schema.additional_properties = d + return subrentalequipmentgroup_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningpersoneel_itempost_response_schema.py b/rentman_api_client/models/subrentalequipmentgroup_itempost_response_schema.py similarity index 73% rename from rentman_api_client/models/planningpersoneel_itempost_response_schema.py rename to rentman_api_client/models/subrentalequipmentgroup_itempost_response_schema.py index 2a6d0db..1046cfe 100644 --- a/rentman_api_client/models/planningpersoneel_itempost_response_schema.py +++ b/rentman_api_client/models/subrentalequipmentgroup_itempost_response_schema.py @@ -2,17 +2,19 @@ import attr -from ..models.planningpersoneel_itempost_response_schema_data import PlanningpersoneelItempostResponseSchemaData +from ..models.subrentalequipmentgroup_itempost_response_schema_data import ( + SubrentalequipmentgroupItempostResponseSchemaData, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningpersoneelItempostResponseSchema") +T = TypeVar("T", bound="SubrentalequipmentgroupItempostResponseSchema") @attr.s(auto_attribs=True) -class PlanningpersoneelItempostResponseSchema: +class SubrentalequipmentgroupItempostResponseSchema: """ """ - data: Union[Unset, PlanningpersoneelItempostResponseSchemaData] = UNSET + data: Union[Unset, SubrentalequipmentgroupItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +46,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, PlanningpersoneelItempostResponseSchemaData] = UNSET + data: Union[Unset, SubrentalequipmentgroupItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = PlanningpersoneelItempostResponseSchemaData.from_dict(_data) + data = SubrentalequipmentgroupItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +57,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - planningpersoneel_itempost_response_schema = cls( + subrentalequipmentgroup_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - planningpersoneel_itempost_response_schema.additional_properties = d - return planningpersoneel_itempost_response_schema + subrentalequipmentgroup_itempost_response_schema.additional_properties = d + return subrentalequipmentgroup_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurgroep_itemget_response_schema_data.py b/rentman_api_client/models/subrentalequipmentgroup_itempost_response_schema_data.py similarity index 91% rename from rentman_api_client/models/inhuurgroep_itemget_response_schema_data.py rename to rentman_api_client/models/subrentalequipmentgroup_itempost_response_schema_data.py index 0d04e44..4c4cdb1 100644 --- a/rentman_api_client/models/inhuurgroep_itemget_response_schema_data.py +++ b/rentman_api_client/models/subrentalequipmentgroup_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepItemgetResponseSchemaData") +T = TypeVar("T", bound="SubrentalequipmentgroupItempostResponseSchemaData") @attr.s(auto_attribs=True) -class InhuurgroepItemgetResponseSchemaData: +class SubrentalequipmentgroupItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category = d.pop("supplier_category", UNSET) - inhuurgroep_itemget_response_schema_data = cls( + subrentalequipmentgroup_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category=supplier_category, ) - inhuurgroep_itemget_response_schema_data.additional_properties = d - return inhuurgroep_itemget_response_schema_data + subrentalequipmentgroup_itempost_response_schema_data.additional_properties = d + return subrentalequipmentgroup_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuurgroep_itemput_request_schema.py b/rentman_api_client/models/subrentalequipmentgroup_itemput_request_schema.py similarity index 84% rename from rentman_api_client/models/inhuurgroep_itemput_request_schema.py rename to rentman_api_client/models/subrentalequipmentgroup_itemput_request_schema.py index 366970a..caf834e 100644 --- a/rentman_api_client/models/inhuurgroep_itemput_request_schema.py +++ b/rentman_api_client/models/subrentalequipmentgroup_itemput_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepItemputRequestSchema") +T = TypeVar("T", bound="SubrentalequipmentgroupItemputRequestSchema") @attr.s(auto_attribs=True) -class InhuurgroepItemputRequestSchema: +class SubrentalequipmentgroupItemputRequestSchema: """ """ name: Union[Unset, str] = UNSET @@ -42,14 +42,14 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category = d.pop("supplier_category", UNSET) - inhuurgroep_itemput_request_schema = cls( + subrentalequipmentgroup_itemput_request_schema = cls( name=name, order=order, supplier_category=supplier_category, ) - inhuurgroep_itemput_request_schema.additional_properties = d - return inhuurgroep_itemput_request_schema + subrentalequipmentgroup_itemput_request_schema.additional_properties = d + return subrentalequipmentgroup_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/subrentalequipmentgroup_itemput_response_schema.py b/rentman_api_client/models/subrentalequipmentgroup_itemput_response_schema.py new file mode 100644 index 0000000..05c6160 --- /dev/null +++ b/rentman_api_client/models/subrentalequipmentgroup_itemput_response_schema.py @@ -0,0 +1,84 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.subrentalequipmentgroup_itemput_response_schema_data import ( + SubrentalequipmentgroupItemputResponseSchemaData, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SubrentalequipmentgroupItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class SubrentalequipmentgroupItemputResponseSchema: + """ """ + + data: Union[Unset, SubrentalequipmentgroupItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, SubrentalequipmentgroupItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = SubrentalequipmentgroupItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + subrentalequipmentgroup_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + subrentalequipmentgroup_itemput_response_schema.additional_properties = d + return subrentalequipmentgroup_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/inhuurgroep_itemput_response_schema_data.py b/rentman_api_client/models/subrentalequipmentgroup_itemput_response_schema_data.py similarity index 91% rename from rentman_api_client/models/inhuurgroep_itemput_response_schema_data.py rename to rentman_api_client/models/subrentalequipmentgroup_itemput_response_schema_data.py index 0c405b9..8c2ff6b 100644 --- a/rentman_api_client/models/inhuurgroep_itemput_response_schema_data.py +++ b/rentman_api_client/models/subrentalequipmentgroup_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurgroepItemputResponseSchemaData") +T = TypeVar("T", bound="SubrentalequipmentgroupItemputResponseSchemaData") @attr.s(auto_attribs=True) -class InhuurgroepItemputResponseSchemaData: +class SubrentalequipmentgroupItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category = d.pop("supplier_category", UNSET) - inhuurgroep_itemput_response_schema_data = cls( + subrentalequipmentgroup_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: supplier_category=supplier_category, ) - inhuurgroep_itemput_response_schema_data.additional_properties = d - return inhuurgroep_itemput_response_schema_data + subrentalequipmentgroup_itemput_response_schema_data.additional_properties = d + return subrentalequipmentgroup_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistration_collectionget_response_schema.py b/rentman_api_client/models/timeregistration_collectionget_response_schema.py new file mode 100644 index 0000000..3d72d2f --- /dev/null +++ b/rentman_api_client/models/timeregistration_collectionget_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.timeregistration_collectionget_response_schema_data_item import ( + TimeregistrationCollectiongetResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="TimeregistrationCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class TimeregistrationCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[TimeregistrationCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = TimeregistrationCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + timeregistration_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + timeregistration_collectionget_response_schema.additional_properties = d + return timeregistration_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/uren_collectionput_response_schema_data_item.py b/rentman_api_client/models/timeregistration_collectionget_response_schema_data_item.py similarity index 84% rename from rentman_api_client/models/uren_collectionput_response_schema_data_item.py rename to rentman_api_client/models/timeregistration_collectionget_response_schema_data_item.py index 537ecd9..d8b971c 100644 --- a/rentman_api_client/models/uren_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/timeregistration_collectionget_response_schema_data_item.py @@ -4,15 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.uren_collectionput_response_schema_data_item_custom import UrenCollectionputResponseSchemaDataItemCustom -from ..models.uren_collectionput_response_schema_data_item_type import UrenCollectionputResponseSchemaDataItemType +from ..models.timeregistration_collectionget_response_schema_data_item_custom import ( + TimeregistrationCollectiongetResponseSchemaDataItemCustom, +) +from ..models.timeregistration_collectionget_response_schema_data_item_type import ( + TimeregistrationCollectiongetResponseSchemaDataItemType, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="TimeregistrationCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class UrenCollectionputResponseSchemaDataItem: +class TimeregistrationCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -25,13 +29,13 @@ class UrenCollectionputResponseSchemaDataItem: end: Union[Unset, None, datetime.datetime] = UNSET distance: Union[Unset, float] = UNSET is_lunch_included: Union[Unset, bool] = UNSET - type: Union[Unset, UrenCollectionputResponseSchemaDataItemType] = UNSET + type: Union[Unset, TimeregistrationCollectiongetResponseSchemaDataItemType] = UNSET break_duration: Union[Unset, None, float] = UNSET travel_time: Union[Unset, None, float] = UNSET correction_duration: Union[Unset, None, float] = UNSET registered_by_clocking: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - custom: Union[Unset, UrenCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, TimeregistrationCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -145,10 +149,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_lunch_included = d.pop("is_lunch_included", UNSET) - type: Union[Unset, UrenCollectionputResponseSchemaDataItemType] = UNSET + type: Union[Unset, TimeregistrationCollectiongetResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = UrenCollectionputResponseSchemaDataItemType(_type) + type = TimeregistrationCollectiongetResponseSchemaDataItemType(_type) break_duration = d.pop("break_duration", UNSET) @@ -160,12 +164,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - custom: Union[Unset, UrenCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, TimeregistrationCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = UrenCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + custom = TimeregistrationCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - uren_collectionput_response_schema_data_item = cls( + timeregistration_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -185,8 +189,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - uren_collectionput_response_schema_data_item.additional_properties = d - return uren_collectionput_response_schema_data_item + timeregistration_collectionget_response_schema_data_item.additional_properties = d + return timeregistration_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistration_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/timeregistration_collectionget_response_schema_data_item_custom.py new file mode 100644 index 0000000..fe6d809 --- /dev/null +++ b/rentman_api_client/models/timeregistration_collectionget_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="TimeregistrationCollectiongetResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class TimeregistrationCollectiongetResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + timeregistration_collectionget_response_schema_data_item_custom = cls() + + timeregistration_collectionget_response_schema_data_item_custom.additional_properties = d + return timeregistration_collectionget_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/uren_itemget_request_schema_type.py b/rentman_api_client/models/timeregistration_collectionget_response_schema_data_item_type.py similarity index 75% rename from rentman_api_client/models/uren_itemget_request_schema_type.py rename to rentman_api_client/models/timeregistration_collectionget_response_schema_data_item_type.py index 8630937..e383cca 100644 --- a/rentman_api_client/models/uren_itemget_request_schema_type.py +++ b/rentman_api_client/models/timeregistration_collectionget_response_schema_data_item_type.py @@ -1,7 +1,7 @@ from enum import Enum -class UrenItemgetRequestSchemaType(str, Enum): +class TimeregistrationCollectiongetResponseSchemaDataItemType(str, Enum): WORKED = "worked" HOLIDAY = "holiday" CORRECTION = "correction" diff --git a/rentman_api_client/models/planningmateriaal_collectionput_response_schema.py b/rentman_api_client/models/timeregistration_collectionpost_response_schema.py similarity index 80% rename from rentman_api_client/models/planningmateriaal_collectionput_response_schema.py rename to rentman_api_client/models/timeregistration_collectionpost_response_schema.py index d3cb44b..2f5281e 100644 --- a/rentman_api_client/models/planningmateriaal_collectionput_response_schema.py +++ b/rentman_api_client/models/timeregistration_collectionpost_response_schema.py @@ -2,19 +2,19 @@ import attr -from ..models.planningmateriaal_collectionput_response_schema_data_item import ( - PlanningmateriaalCollectionputResponseSchemaDataItem, +from ..models.timeregistration_collectionpost_response_schema_data_item import ( + TimeregistrationCollectionpostResponseSchemaDataItem, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="PlanningmateriaalCollectionputResponseSchema") +T = TypeVar("T", bound="TimeregistrationCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class PlanningmateriaalCollectionputResponseSchema: +class TimeregistrationCollectionpostResponseSchema: """ """ - data: Union[Unset, List[PlanningmateriaalCollectionputResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[TimeregistrationCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -53,7 +53,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = PlanningmateriaalCollectionputResponseSchemaDataItem.from_dict(data_item_data) + data_item = TimeregistrationCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -63,15 +63,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - planningmateriaal_collectionput_response_schema = cls( + timeregistration_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - planningmateriaal_collectionput_response_schema.additional_properties = d - return planningmateriaal_collectionput_response_schema + timeregistration_collectionpost_response_schema.additional_properties = d + return timeregistration_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/uren_collectionpost_response_schema_data_item.py b/rentman_api_client/models/timeregistration_collectionpost_response_schema_data_item.py similarity index 84% rename from rentman_api_client/models/uren_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/timeregistration_collectionpost_response_schema_data_item.py index d2fb59e..e6a61a2 100644 --- a/rentman_api_client/models/uren_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/timeregistration_collectionpost_response_schema_data_item.py @@ -4,15 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.uren_collectionpost_response_schema_data_item_custom import UrenCollectionpostResponseSchemaDataItemCustom -from ..models.uren_collectionpost_response_schema_data_item_type import UrenCollectionpostResponseSchemaDataItemType +from ..models.timeregistration_collectionpost_response_schema_data_item_custom import ( + TimeregistrationCollectionpostResponseSchemaDataItemCustom, +) +from ..models.timeregistration_collectionpost_response_schema_data_item_type import ( + TimeregistrationCollectionpostResponseSchemaDataItemType, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="TimeregistrationCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class UrenCollectionpostResponseSchemaDataItem: +class TimeregistrationCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -25,13 +29,13 @@ class UrenCollectionpostResponseSchemaDataItem: end: Union[Unset, None, datetime.datetime] = UNSET distance: Union[Unset, float] = UNSET is_lunch_included: Union[Unset, bool] = UNSET - type: Union[Unset, UrenCollectionpostResponseSchemaDataItemType] = UNSET + type: Union[Unset, TimeregistrationCollectionpostResponseSchemaDataItemType] = UNSET break_duration: Union[Unset, None, float] = UNSET travel_time: Union[Unset, None, float] = UNSET correction_duration: Union[Unset, None, float] = UNSET registered_by_clocking: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - custom: Union[Unset, UrenCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, TimeregistrationCollectionpostResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -145,10 +149,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_lunch_included = d.pop("is_lunch_included", UNSET) - type: Union[Unset, UrenCollectionpostResponseSchemaDataItemType] = UNSET + type: Union[Unset, TimeregistrationCollectionpostResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = UrenCollectionpostResponseSchemaDataItemType(_type) + type = TimeregistrationCollectionpostResponseSchemaDataItemType(_type) break_duration = d.pop("break_duration", UNSET) @@ -160,12 +164,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - custom: Union[Unset, UrenCollectionpostResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, TimeregistrationCollectionpostResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = UrenCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) + custom = TimeregistrationCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - uren_collectionpost_response_schema_data_item = cls( + timeregistration_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -185,8 +189,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - uren_collectionpost_response_schema_data_item.additional_properties = d - return uren_collectionpost_response_schema_data_item + timeregistration_collectionpost_response_schema_data_item.additional_properties = d + return timeregistration_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/timeregistration_collectionpost_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/planningmateriaal_collectionput_response_schema_data_item_custom.py rename to rentman_api_client/models/timeregistration_collectionpost_response_schema_data_item_custom.py index 92a38f2..370c38b 100644 --- a/rentman_api_client/models/planningmateriaal_collectionput_response_schema_data_item_custom.py +++ b/rentman_api_client/models/timeregistration_collectionpost_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningmateriaalCollectionputResponseSchemaDataItemCustom") +T = TypeVar("T", bound="TimeregistrationCollectionpostResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class PlanningmateriaalCollectionputResponseSchemaDataItemCustom: +class TimeregistrationCollectionpostResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningmateriaal_collectionput_response_schema_data_item_custom = cls() + timeregistration_collectionpost_response_schema_data_item_custom = cls() - planningmateriaal_collectionput_response_schema_data_item_custom.additional_properties = d - return planningmateriaal_collectionput_response_schema_data_item_custom + timeregistration_collectionpost_response_schema_data_item_custom.additional_properties = d + return timeregistration_collectionpost_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistration_collectionpost_response_schema_data_item_type.py b/rentman_api_client/models/timeregistration_collectionpost_response_schema_data_item_type.py new file mode 100644 index 0000000..43c834a --- /dev/null +++ b/rentman_api_client/models/timeregistration_collectionpost_response_schema_data_item_type.py @@ -0,0 +1,12 @@ +from enum import Enum + + +class TimeregistrationCollectionpostResponseSchemaDataItemType(str, Enum): + WORKED = "worked" + HOLIDAY = "holiday" + CORRECTION = "correction" + SICK_LEAVE = "sick_leave" + COMPENSATION = "compensation" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/timeregistration_collectionput_response_schema.py b/rentman_api_client/models/timeregistration_collectionput_response_schema.py new file mode 100644 index 0000000..cda2eef --- /dev/null +++ b/rentman_api_client/models/timeregistration_collectionput_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.timeregistration_collectionput_response_schema_data_item import ( + TimeregistrationCollectionputResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="TimeregistrationCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class TimeregistrationCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[TimeregistrationCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = TimeregistrationCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + timeregistration_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + timeregistration_collectionput_response_schema.additional_properties = d + return timeregistration_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/uren_collectionget_response_schema_data_item.py b/rentman_api_client/models/timeregistration_collectionput_response_schema_data_item.py similarity index 84% rename from rentman_api_client/models/uren_collectionget_response_schema_data_item.py rename to rentman_api_client/models/timeregistration_collectionput_response_schema_data_item.py index a4d1a85..65f8890 100644 --- a/rentman_api_client/models/uren_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/timeregistration_collectionput_response_schema_data_item.py @@ -4,15 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.uren_collectionget_response_schema_data_item_custom import UrenCollectiongetResponseSchemaDataItemCustom -from ..models.uren_collectionget_response_schema_data_item_type import UrenCollectiongetResponseSchemaDataItemType +from ..models.timeregistration_collectionput_response_schema_data_item_custom import ( + TimeregistrationCollectionputResponseSchemaDataItemCustom, +) +from ..models.timeregistration_collectionput_response_schema_data_item_type import ( + TimeregistrationCollectionputResponseSchemaDataItemType, +) from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="TimeregistrationCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class UrenCollectiongetResponseSchemaDataItem: +class TimeregistrationCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -25,13 +29,13 @@ class UrenCollectiongetResponseSchemaDataItem: end: Union[Unset, None, datetime.datetime] = UNSET distance: Union[Unset, float] = UNSET is_lunch_included: Union[Unset, bool] = UNSET - type: Union[Unset, UrenCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, TimeregistrationCollectionputResponseSchemaDataItemType] = UNSET break_duration: Union[Unset, None, float] = UNSET travel_time: Union[Unset, None, float] = UNSET correction_duration: Union[Unset, None, float] = UNSET registered_by_clocking: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - custom: Union[Unset, UrenCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, TimeregistrationCollectionputResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -145,10 +149,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_lunch_included = d.pop("is_lunch_included", UNSET) - type: Union[Unset, UrenCollectiongetResponseSchemaDataItemType] = UNSET + type: Union[Unset, TimeregistrationCollectionputResponseSchemaDataItemType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = UrenCollectiongetResponseSchemaDataItemType(_type) + type = TimeregistrationCollectionputResponseSchemaDataItemType(_type) break_duration = d.pop("break_duration", UNSET) @@ -160,12 +164,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - custom: Union[Unset, UrenCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, TimeregistrationCollectionputResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = UrenCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = TimeregistrationCollectionputResponseSchemaDataItemCustom.from_dict(_custom) - uren_collectionget_response_schema_data_item = cls( + timeregistration_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -185,8 +189,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - uren_collectionget_response_schema_data_item.additional_properties = d - return uren_collectionget_response_schema_data_item + timeregistration_collectionput_response_schema_data_item.additional_properties = d + return timeregistration_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistration_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/timeregistration_collectionput_response_schema_data_item_custom.py new file mode 100644 index 0000000..58ef0fd --- /dev/null +++ b/rentman_api_client/models/timeregistration_collectionput_response_schema_data_item_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="TimeregistrationCollectionputResponseSchemaDataItemCustom") + + +@attr.s(auto_attribs=True) +class TimeregistrationCollectionputResponseSchemaDataItemCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + timeregistration_collectionput_response_schema_data_item_custom = cls() + + timeregistration_collectionput_response_schema_data_item_custom.additional_properties = d + return timeregistration_collectionput_response_schema_data_item_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/timeregistration_collectionput_response_schema_data_item_type.py b/rentman_api_client/models/timeregistration_collectionput_response_schema_data_item_type.py new file mode 100644 index 0000000..d4413a2 --- /dev/null +++ b/rentman_api_client/models/timeregistration_collectionput_response_schema_data_item_type.py @@ -0,0 +1,12 @@ +from enum import Enum + + +class TimeregistrationCollectionputResponseSchemaDataItemType(str, Enum): + WORKED = "worked" + HOLIDAY = "holiday" + CORRECTION = "correction" + SICK_LEAVE = "sick_leave" + COMPENSATION = "compensation" + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/uren_itemget_request_schema.py b/rentman_api_client/models/timeregistration_itemget_request_schema.py similarity index 83% rename from rentman_api_client/models/uren_itemget_request_schema.py rename to rentman_api_client/models/timeregistration_itemget_request_schema.py index 298f431..5a91821 100644 --- a/rentman_api_client/models/uren_itemget_request_schema.py +++ b/rentman_api_client/models/timeregistration_itemget_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.uren_itemget_request_schema_custom import UrenItemgetRequestSchemaCustom -from ..models.uren_itemget_request_schema_type import UrenItemgetRequestSchemaType +from ..models.timeregistration_itemget_request_schema_custom import TimeregistrationItemgetRequestSchemaCustom +from ..models.timeregistration_itemget_request_schema_type import TimeregistrationItemgetRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenItemgetRequestSchema") +T = TypeVar("T", bound="TimeregistrationItemgetRequestSchema") @attr.s(auto_attribs=True) -class UrenItemgetRequestSchema: +class TimeregistrationItemgetRequestSchema: """ """ crewmember: Union[Unset, None, str] = UNSET @@ -20,13 +20,13 @@ class UrenItemgetRequestSchema: end: Union[Unset, None, datetime.datetime] = UNSET distance: Union[Unset, float] = UNSET is_lunch_included: Union[Unset, bool] = UNSET - type: Union[Unset, UrenItemgetRequestSchemaType] = UNSET + type: Union[Unset, TimeregistrationItemgetRequestSchemaType] = UNSET break_duration: Union[Unset, None, float] = UNSET travel_time: Union[Unset, None, float] = UNSET correction_duration: Union[Unset, None, float] = UNSET registered_by_clocking: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - custom: Union[Unset, UrenItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, TimeregistrationItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -103,10 +103,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_lunch_included = d.pop("is_lunch_included", UNSET) - type: Union[Unset, UrenItemgetRequestSchemaType] = UNSET + type: Union[Unset, TimeregistrationItemgetRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = UrenItemgetRequestSchemaType(_type) + type = TimeregistrationItemgetRequestSchemaType(_type) break_duration = d.pop("break_duration", UNSET) @@ -118,12 +118,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - custom: Union[Unset, UrenItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, TimeregistrationItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = UrenItemgetRequestSchemaCustom.from_dict(_custom) + custom = TimeregistrationItemgetRequestSchemaCustom.from_dict(_custom) - uren_itemget_request_schema = cls( + timeregistration_itemget_request_schema = cls( crewmember=crewmember, start=start, end=end, @@ -138,8 +138,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - uren_itemget_request_schema.additional_properties = d - return uren_itemget_request_schema + timeregistration_itemget_request_schema.additional_properties = d + return timeregistration_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistration_itemget_request_schema_custom.py b/rentman_api_client/models/timeregistration_itemget_request_schema_custom.py new file mode 100644 index 0000000..506f0eb --- /dev/null +++ b/rentman_api_client/models/timeregistration_itemget_request_schema_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="TimeregistrationItemgetRequestSchemaCustom") + + +@attr.s(auto_attribs=True) +class TimeregistrationItemgetRequestSchemaCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + timeregistration_itemget_request_schema_custom = cls() + + timeregistration_itemget_request_schema_custom.additional_properties = d + return timeregistration_itemget_request_schema_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/uren_itempost_request_schema_type.py b/rentman_api_client/models/timeregistration_itemget_request_schema_type.py similarity index 79% rename from rentman_api_client/models/uren_itempost_request_schema_type.py rename to rentman_api_client/models/timeregistration_itemget_request_schema_type.py index dcede05..70889b1 100644 --- a/rentman_api_client/models/uren_itempost_request_schema_type.py +++ b/rentman_api_client/models/timeregistration_itemget_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class UrenItempostRequestSchemaType(str, Enum): +class TimeregistrationItemgetRequestSchemaType(str, Enum): WORKED = "worked" HOLIDAY = "holiday" CORRECTION = "correction" diff --git a/rentman_api_client/models/inhuurmateriaal_itempost_response_schema.py b/rentman_api_client/models/timeregistration_itemget_response_schema.py similarity index 77% rename from rentman_api_client/models/inhuurmateriaal_itempost_response_schema.py rename to rentman_api_client/models/timeregistration_itemget_response_schema.py index 184efe7..0fd41d2 100644 --- a/rentman_api_client/models/inhuurmateriaal_itempost_response_schema.py +++ b/rentman_api_client/models/timeregistration_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuurmateriaal_itempost_response_schema_data import InhuurmateriaalItempostResponseSchemaData +from ..models.timeregistration_itemget_response_schema_data import TimeregistrationItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurmateriaalItempostResponseSchema") +T = TypeVar("T", bound="TimeregistrationItemgetResponseSchema") @attr.s(auto_attribs=True) -class InhuurmateriaalItempostResponseSchema: +class TimeregistrationItemgetResponseSchema: """ """ - data: Union[Unset, InhuurmateriaalItempostResponseSchemaData] = UNSET + data: Union[Unset, TimeregistrationItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, InhuurmateriaalItempostResponseSchemaData] = UNSET + data: Union[Unset, TimeregistrationItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = InhuurmateriaalItempostResponseSchemaData.from_dict(_data) + data = TimeregistrationItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuurmateriaal_itempost_response_schema = cls( + timeregistration_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuurmateriaal_itempost_response_schema.additional_properties = d - return inhuurmateriaal_itempost_response_schema + timeregistration_itemget_response_schema.additional_properties = d + return timeregistration_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/uren_itemget_response_schema_data.py b/rentman_api_client/models/timeregistration_itemget_response_schema_data.py similarity index 86% rename from rentman_api_client/models/uren_itemget_response_schema_data.py rename to rentman_api_client/models/timeregistration_itemget_response_schema_data.py index baa518f..fe12691 100644 --- a/rentman_api_client/models/uren_itemget_response_schema_data.py +++ b/rentman_api_client/models/timeregistration_itemget_response_schema_data.py @@ -4,15 +4,17 @@ import attr from dateutil.parser import isoparse -from ..models.uren_itemget_response_schema_data_custom import UrenItemgetResponseSchemaDataCustom -from ..models.uren_itemget_response_schema_data_type import UrenItemgetResponseSchemaDataType +from ..models.timeregistration_itemget_response_schema_data_custom import ( + TimeregistrationItemgetResponseSchemaDataCustom, +) +from ..models.timeregistration_itemget_response_schema_data_type import TimeregistrationItemgetResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenItemgetResponseSchemaData") +T = TypeVar("T", bound="TimeregistrationItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class UrenItemgetResponseSchemaData: +class TimeregistrationItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -25,13 +27,13 @@ class UrenItemgetResponseSchemaData: end: Union[Unset, None, datetime.datetime] = UNSET distance: Union[Unset, float] = UNSET is_lunch_included: Union[Unset, bool] = UNSET - type: Union[Unset, UrenItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, TimeregistrationItemgetResponseSchemaDataType] = UNSET break_duration: Union[Unset, None, float] = UNSET travel_time: Union[Unset, None, float] = UNSET correction_duration: Union[Unset, None, float] = UNSET registered_by_clocking: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - custom: Union[Unset, UrenItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, TimeregistrationItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -145,10 +147,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_lunch_included = d.pop("is_lunch_included", UNSET) - type: Union[Unset, UrenItemgetResponseSchemaDataType] = UNSET + type: Union[Unset, TimeregistrationItemgetResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = UrenItemgetResponseSchemaDataType(_type) + type = TimeregistrationItemgetResponseSchemaDataType(_type) break_duration = d.pop("break_duration", UNSET) @@ -160,12 +162,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - custom: Union[Unset, UrenItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, TimeregistrationItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = UrenItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = TimeregistrationItemgetResponseSchemaDataCustom.from_dict(_custom) - uren_itemget_response_schema_data = cls( + timeregistration_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -185,8 +187,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - uren_itemget_response_schema_data.additional_properties = d - return uren_itemget_response_schema_data + timeregistration_itemget_response_schema_data.additional_properties = d + return timeregistration_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistration_itemget_response_schema_data_custom.py b/rentman_api_client/models/timeregistration_itemget_response_schema_data_custom.py new file mode 100644 index 0000000..85936f4 --- /dev/null +++ b/rentman_api_client/models/timeregistration_itemget_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="TimeregistrationItemgetResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class TimeregistrationItemgetResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + timeregistration_itemget_response_schema_data_custom = cls() + + timeregistration_itemget_response_schema_data_custom.additional_properties = d + return timeregistration_itemget_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/uren_collectionget_response_schema_data_item_type.py b/rentman_api_client/models/timeregistration_itemget_response_schema_data_type.py similarity index 77% rename from rentman_api_client/models/uren_collectionget_response_schema_data_item_type.py rename to rentman_api_client/models/timeregistration_itemget_response_schema_data_type.py index b2faeaa..00bf380 100644 --- a/rentman_api_client/models/uren_collectionget_response_schema_data_item_type.py +++ b/rentman_api_client/models/timeregistration_itemget_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class UrenCollectiongetResponseSchemaDataItemType(str, Enum): +class TimeregistrationItemgetResponseSchemaDataType(str, Enum): WORKED = "worked" HOLIDAY = "holiday" CORRECTION = "correction" diff --git a/rentman_api_client/models/uren_itempost_request_schema.py b/rentman_api_client/models/timeregistration_itempost_request_schema.py similarity index 83% rename from rentman_api_client/models/uren_itempost_request_schema.py rename to rentman_api_client/models/timeregistration_itempost_request_schema.py index dfc7b88..e5b8340 100644 --- a/rentman_api_client/models/uren_itempost_request_schema.py +++ b/rentman_api_client/models/timeregistration_itempost_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.uren_itempost_request_schema_custom import UrenItempostRequestSchemaCustom -from ..models.uren_itempost_request_schema_type import UrenItempostRequestSchemaType +from ..models.timeregistration_itempost_request_schema_custom import TimeregistrationItempostRequestSchemaCustom +from ..models.timeregistration_itempost_request_schema_type import TimeregistrationItempostRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenItempostRequestSchema") +T = TypeVar("T", bound="TimeregistrationItempostRequestSchema") @attr.s(auto_attribs=True) -class UrenItempostRequestSchema: +class TimeregistrationItempostRequestSchema: """ """ crewmember: Union[Unset, None, str] = UNSET @@ -20,13 +20,13 @@ class UrenItempostRequestSchema: end: Union[Unset, None, datetime.datetime] = UNSET distance: Union[Unset, float] = UNSET is_lunch_included: Union[Unset, bool] = UNSET - type: Union[Unset, UrenItempostRequestSchemaType] = UNSET + type: Union[Unset, TimeregistrationItempostRequestSchemaType] = UNSET break_duration: Union[Unset, None, float] = UNSET travel_time: Union[Unset, None, float] = UNSET correction_duration: Union[Unset, None, float] = UNSET registered_by_clocking: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - custom: Union[Unset, UrenItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, TimeregistrationItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -103,10 +103,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_lunch_included = d.pop("is_lunch_included", UNSET) - type: Union[Unset, UrenItempostRequestSchemaType] = UNSET + type: Union[Unset, TimeregistrationItempostRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = UrenItempostRequestSchemaType(_type) + type = TimeregistrationItempostRequestSchemaType(_type) break_duration = d.pop("break_duration", UNSET) @@ -118,12 +118,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - custom: Union[Unset, UrenItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, TimeregistrationItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = UrenItempostRequestSchemaCustom.from_dict(_custom) + custom = TimeregistrationItempostRequestSchemaCustom.from_dict(_custom) - uren_itempost_request_schema = cls( + timeregistration_itempost_request_schema = cls( crewmember=crewmember, start=start, end=end, @@ -138,8 +138,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - uren_itempost_request_schema.additional_properties = d - return uren_itempost_request_schema + timeregistration_itempost_request_schema.additional_properties = d + return timeregistration_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itemget_request_schema_custom.py b/rentman_api_client/models/timeregistration_itempost_request_schema_custom.py similarity index 77% rename from rentman_api_client/models/planningmateriaal_itemget_request_schema_custom.py rename to rentman_api_client/models/timeregistration_itempost_request_schema_custom.py index 011dd41..a782b21 100644 --- a/rentman_api_client/models/planningmateriaal_itemget_request_schema_custom.py +++ b/rentman_api_client/models/timeregistration_itempost_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningmateriaalItemgetRequestSchemaCustom") +T = TypeVar("T", bound="TimeregistrationItempostRequestSchemaCustom") @attr.s(auto_attribs=True) -class PlanningmateriaalItemgetRequestSchemaCustom: +class TimeregistrationItempostRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningmateriaal_itemget_request_schema_custom = cls() + timeregistration_itempost_request_schema_custom = cls() - planningmateriaal_itemget_request_schema_custom.additional_properties = d - return planningmateriaal_itemget_request_schema_custom + timeregistration_itempost_request_schema_custom.additional_properties = d + return timeregistration_itempost_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/uren_itempost_response_schema_data_type.py b/rentman_api_client/models/timeregistration_itempost_request_schema_type.py similarity index 79% rename from rentman_api_client/models/uren_itempost_response_schema_data_type.py rename to rentman_api_client/models/timeregistration_itempost_request_schema_type.py index 91281d5..0e275e4 100644 --- a/rentman_api_client/models/uren_itempost_response_schema_data_type.py +++ b/rentman_api_client/models/timeregistration_itempost_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class UrenItempostResponseSchemaDataType(str, Enum): +class TimeregistrationItempostRequestSchemaType(str, Enum): WORKED = "worked" HOLIDAY = "holiday" CORRECTION = "correction" diff --git a/rentman_api_client/models/medewerkertarief_itempost_response_schema.py b/rentman_api_client/models/timeregistration_itempost_response_schema.py similarity index 77% rename from rentman_api_client/models/medewerkertarief_itempost_response_schema.py rename to rentman_api_client/models/timeregistration_itempost_response_schema.py index 8257b8f..9ce1d6d 100644 --- a/rentman_api_client/models/medewerkertarief_itempost_response_schema.py +++ b/rentman_api_client/models/timeregistration_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.medewerkertarief_itempost_response_schema_data import MedewerkertariefItempostResponseSchemaData +from ..models.timeregistration_itempost_response_schema_data import TimeregistrationItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="MedewerkertariefItempostResponseSchema") +T = TypeVar("T", bound="TimeregistrationItempostResponseSchema") @attr.s(auto_attribs=True) -class MedewerkertariefItempostResponseSchema: +class TimeregistrationItempostResponseSchema: """ """ - data: Union[Unset, MedewerkertariefItempostResponseSchemaData] = UNSET + data: Union[Unset, TimeregistrationItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, MedewerkertariefItempostResponseSchemaData] = UNSET + data: Union[Unset, TimeregistrationItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = MedewerkertariefItempostResponseSchemaData.from_dict(_data) + data = TimeregistrationItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - medewerkertarief_itempost_response_schema = cls( + timeregistration_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - medewerkertarief_itempost_response_schema.additional_properties = d - return medewerkertarief_itempost_response_schema + timeregistration_itempost_response_schema.additional_properties = d + return timeregistration_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/uren_itemput_response_schema_data.py b/rentman_api_client/models/timeregistration_itempost_response_schema_data.py similarity index 86% rename from rentman_api_client/models/uren_itemput_response_schema_data.py rename to rentman_api_client/models/timeregistration_itempost_response_schema_data.py index bec4ef1..a312dae 100644 --- a/rentman_api_client/models/uren_itemput_response_schema_data.py +++ b/rentman_api_client/models/timeregistration_itempost_response_schema_data.py @@ -4,15 +4,17 @@ import attr from dateutil.parser import isoparse -from ..models.uren_itemput_response_schema_data_custom import UrenItemputResponseSchemaDataCustom -from ..models.uren_itemput_response_schema_data_type import UrenItemputResponseSchemaDataType +from ..models.timeregistration_itempost_response_schema_data_custom import ( + TimeregistrationItempostResponseSchemaDataCustom, +) +from ..models.timeregistration_itempost_response_schema_data_type import TimeregistrationItempostResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenItemputResponseSchemaData") +T = TypeVar("T", bound="TimeregistrationItempostResponseSchemaData") @attr.s(auto_attribs=True) -class UrenItemputResponseSchemaData: +class TimeregistrationItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -25,13 +27,13 @@ class UrenItemputResponseSchemaData: end: Union[Unset, None, datetime.datetime] = UNSET distance: Union[Unset, float] = UNSET is_lunch_included: Union[Unset, bool] = UNSET - type: Union[Unset, UrenItemputResponseSchemaDataType] = UNSET + type: Union[Unset, TimeregistrationItempostResponseSchemaDataType] = UNSET break_duration: Union[Unset, None, float] = UNSET travel_time: Union[Unset, None, float] = UNSET correction_duration: Union[Unset, None, float] = UNSET registered_by_clocking: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - custom: Union[Unset, UrenItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, TimeregistrationItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -145,10 +147,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_lunch_included = d.pop("is_lunch_included", UNSET) - type: Union[Unset, UrenItemputResponseSchemaDataType] = UNSET + type: Union[Unset, TimeregistrationItempostResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = UrenItemputResponseSchemaDataType(_type) + type = TimeregistrationItempostResponseSchemaDataType(_type) break_duration = d.pop("break_duration", UNSET) @@ -160,12 +162,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - custom: Union[Unset, UrenItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, TimeregistrationItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = UrenItemputResponseSchemaDataCustom.from_dict(_custom) + custom = TimeregistrationItempostResponseSchemaDataCustom.from_dict(_custom) - uren_itemput_response_schema_data = cls( + timeregistration_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -185,8 +187,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - uren_itemput_response_schema_data.additional_properties = d - return uren_itemput_response_schema_data + timeregistration_itempost_response_schema_data.additional_properties = d + return timeregistration_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/planningmateriaal_itemput_response_schema_data_custom.py b/rentman_api_client/models/timeregistration_itempost_response_schema_data_custom.py similarity index 77% rename from rentman_api_client/models/planningmateriaal_itemput_response_schema_data_custom.py rename to rentman_api_client/models/timeregistration_itempost_response_schema_data_custom.py index 35a4d06..1c140cb 100644 --- a/rentman_api_client/models/planningmateriaal_itemput_response_schema_data_custom.py +++ b/rentman_api_client/models/timeregistration_itempost_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningmateriaalItemputResponseSchemaDataCustom") +T = TypeVar("T", bound="TimeregistrationItempostResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class PlanningmateriaalItemputResponseSchemaDataCustom: +class TimeregistrationItempostResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningmateriaal_itemput_response_schema_data_custom = cls() + timeregistration_itempost_response_schema_data_custom = cls() - planningmateriaal_itemput_response_schema_data_custom.additional_properties = d - return planningmateriaal_itemput_response_schema_data_custom + timeregistration_itempost_response_schema_data_custom.additional_properties = d + return timeregistration_itempost_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/uren_collectionput_response_schema_data_item_type.py b/rentman_api_client/models/timeregistration_itempost_response_schema_data_type.py similarity index 77% rename from rentman_api_client/models/uren_collectionput_response_schema_data_item_type.py rename to rentman_api_client/models/timeregistration_itempost_response_schema_data_type.py index 0fd286b..a4745e3 100644 --- a/rentman_api_client/models/uren_collectionput_response_schema_data_item_type.py +++ b/rentman_api_client/models/timeregistration_itempost_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class UrenCollectionputResponseSchemaDataItemType(str, Enum): +class TimeregistrationItempostResponseSchemaDataType(str, Enum): WORKED = "worked" HOLIDAY = "holiday" CORRECTION = "correction" diff --git a/rentman_api_client/models/uren_itemput_request_schema.py b/rentman_api_client/models/timeregistration_itemput_request_schema.py similarity index 83% rename from rentman_api_client/models/uren_itemput_request_schema.py rename to rentman_api_client/models/timeregistration_itemput_request_schema.py index a2956c8..634ca1c 100644 --- a/rentman_api_client/models/uren_itemput_request_schema.py +++ b/rentman_api_client/models/timeregistration_itemput_request_schema.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.uren_itemput_request_schema_custom import UrenItemputRequestSchemaCustom -from ..models.uren_itemput_request_schema_type import UrenItemputRequestSchemaType +from ..models.timeregistration_itemput_request_schema_custom import TimeregistrationItemputRequestSchemaCustom +from ..models.timeregistration_itemput_request_schema_type import TimeregistrationItemputRequestSchemaType from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenItemputRequestSchema") +T = TypeVar("T", bound="TimeregistrationItemputRequestSchema") @attr.s(auto_attribs=True) -class UrenItemputRequestSchema: +class TimeregistrationItemputRequestSchema: """ """ crewmember: Union[Unset, None, str] = UNSET @@ -20,13 +20,13 @@ class UrenItemputRequestSchema: end: Union[Unset, None, datetime.datetime] = UNSET distance: Union[Unset, float] = UNSET is_lunch_included: Union[Unset, bool] = UNSET - type: Union[Unset, UrenItemputRequestSchemaType] = UNSET + type: Union[Unset, TimeregistrationItemputRequestSchemaType] = UNSET break_duration: Union[Unset, None, float] = UNSET travel_time: Union[Unset, None, float] = UNSET correction_duration: Union[Unset, None, float] = UNSET registered_by_clocking: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - custom: Union[Unset, UrenItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, TimeregistrationItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -103,10 +103,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_lunch_included = d.pop("is_lunch_included", UNSET) - type: Union[Unset, UrenItemputRequestSchemaType] = UNSET + type: Union[Unset, TimeregistrationItemputRequestSchemaType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = UrenItemputRequestSchemaType(_type) + type = TimeregistrationItemputRequestSchemaType(_type) break_duration = d.pop("break_duration", UNSET) @@ -118,12 +118,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - custom: Union[Unset, UrenItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, TimeregistrationItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = UrenItemputRequestSchemaCustom.from_dict(_custom) + custom = TimeregistrationItemputRequestSchemaCustom.from_dict(_custom) - uren_itemput_request_schema = cls( + timeregistration_itemput_request_schema = cls( crewmember=crewmember, start=start, end=end, @@ -138,8 +138,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - uren_itemput_request_schema.additional_properties = d - return uren_itemput_request_schema + timeregistration_itemput_request_schema.additional_properties = d + return timeregistration_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/timeregistration_itemput_request_schema_custom.py similarity index 77% rename from rentman_api_client/models/inhuur_collectionget_response_schema_data_item_custom.py rename to rentman_api_client/models/timeregistration_itemput_request_schema_custom.py index 72cbce0..4ac62bd 100644 --- a/rentman_api_client/models/inhuur_collectionget_response_schema_data_item_custom.py +++ b/rentman_api_client/models/timeregistration_itemput_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="InhuurCollectiongetResponseSchemaDataItemCustom") +T = TypeVar("T", bound="TimeregistrationItemputRequestSchemaCustom") @attr.s(auto_attribs=True) -class InhuurCollectiongetResponseSchemaDataItemCustom: +class TimeregistrationItemputRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - inhuur_collectionget_response_schema_data_item_custom = cls() + timeregistration_itemput_request_schema_custom = cls() - inhuur_collectionget_response_schema_data_item_custom.additional_properties = d - return inhuur_collectionget_response_schema_data_item_custom + timeregistration_itemput_request_schema_custom.additional_properties = d + return timeregistration_itemput_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/uren_itemget_response_schema_data_type.py b/rentman_api_client/models/timeregistration_itemput_request_schema_type.py similarity index 79% rename from rentman_api_client/models/uren_itemget_response_schema_data_type.py rename to rentman_api_client/models/timeregistration_itemput_request_schema_type.py index c137e87..626464e 100644 --- a/rentman_api_client/models/uren_itemget_response_schema_data_type.py +++ b/rentman_api_client/models/timeregistration_itemput_request_schema_type.py @@ -1,7 +1,7 @@ from enum import Enum -class UrenItemgetResponseSchemaDataType(str, Enum): +class TimeregistrationItemputRequestSchemaType(str, Enum): WORKED = "worked" HOLIDAY = "holiday" CORRECTION = "correction" diff --git a/rentman_api_client/models/timeregistration_itemput_response_schema.py b/rentman_api_client/models/timeregistration_itemput_response_schema.py new file mode 100644 index 0000000..228774b --- /dev/null +++ b/rentman_api_client/models/timeregistration_itemput_response_schema.py @@ -0,0 +1,82 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.timeregistration_itemput_response_schema_data import TimeregistrationItemputResponseSchemaData +from ..types import UNSET, Unset + +T = TypeVar("T", bound="TimeregistrationItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class TimeregistrationItemputResponseSchema: + """ """ + + data: Union[Unset, TimeregistrationItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, TimeregistrationItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = TimeregistrationItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + timeregistration_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + timeregistration_itemput_response_schema.additional_properties = d + return timeregistration_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/uren_itempost_response_schema_data.py b/rentman_api_client/models/timeregistration_itemput_response_schema_data.py similarity index 86% rename from rentman_api_client/models/uren_itempost_response_schema_data.py rename to rentman_api_client/models/timeregistration_itemput_response_schema_data.py index ac3a740..8091c15 100644 --- a/rentman_api_client/models/uren_itempost_response_schema_data.py +++ b/rentman_api_client/models/timeregistration_itemput_response_schema_data.py @@ -4,15 +4,17 @@ import attr from dateutil.parser import isoparse -from ..models.uren_itempost_response_schema_data_custom import UrenItempostResponseSchemaDataCustom -from ..models.uren_itempost_response_schema_data_type import UrenItempostResponseSchemaDataType +from ..models.timeregistration_itemput_response_schema_data_custom import ( + TimeregistrationItemputResponseSchemaDataCustom, +) +from ..models.timeregistration_itemput_response_schema_data_type import TimeregistrationItemputResponseSchemaDataType from ..types import UNSET, Unset -T = TypeVar("T", bound="UrenItempostResponseSchemaData") +T = TypeVar("T", bound="TimeregistrationItemputResponseSchemaData") @attr.s(auto_attribs=True) -class UrenItempostResponseSchemaData: +class TimeregistrationItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -25,13 +27,13 @@ class UrenItempostResponseSchemaData: end: Union[Unset, None, datetime.datetime] = UNSET distance: Union[Unset, float] = UNSET is_lunch_included: Union[Unset, bool] = UNSET - type: Union[Unset, UrenItempostResponseSchemaDataType] = UNSET + type: Union[Unset, TimeregistrationItemputResponseSchemaDataType] = UNSET break_duration: Union[Unset, None, float] = UNSET travel_time: Union[Unset, None, float] = UNSET correction_duration: Union[Unset, None, float] = UNSET registered_by_clocking: Union[Unset, bool] = UNSET remark: Union[Unset, str] = UNSET - custom: Union[Unset, UrenItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, TimeregistrationItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -145,10 +147,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_lunch_included = d.pop("is_lunch_included", UNSET) - type: Union[Unset, UrenItempostResponseSchemaDataType] = UNSET + type: Union[Unset, TimeregistrationItemputResponseSchemaDataType] = UNSET _type = d.pop("type", UNSET) if not isinstance(_type, Unset): - type = UrenItempostResponseSchemaDataType(_type) + type = TimeregistrationItemputResponseSchemaDataType(_type) break_duration = d.pop("break_duration", UNSET) @@ -160,12 +162,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: remark = d.pop("remark", UNSET) - custom: Union[Unset, UrenItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, TimeregistrationItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = UrenItempostResponseSchemaDataCustom.from_dict(_custom) + custom = TimeregistrationItemputResponseSchemaDataCustom.from_dict(_custom) - uren_itempost_response_schema_data = cls( + timeregistration_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -185,8 +187,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - uren_itempost_response_schema_data.additional_properties = d - return uren_itempost_response_schema_data + timeregistration_itemput_response_schema_data.additional_properties = d + return timeregistration_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistration_itemput_response_schema_data_custom.py b/rentman_api_client/models/timeregistration_itemput_response_schema_data_custom.py new file mode 100644 index 0000000..d6c74ea --- /dev/null +++ b/rentman_api_client/models/timeregistration_itemput_response_schema_data_custom.py @@ -0,0 +1,44 @@ +from typing import Any, Dict, List, Type, TypeVar + +import attr + +T = TypeVar("T", bound="TimeregistrationItemputResponseSchemaDataCustom") + + +@attr.s(auto_attribs=True) +class TimeregistrationItemputResponseSchemaDataCustom: + """The object containing all custom defined fields.""" + + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + timeregistration_itemput_response_schema_data_custom = cls() + + timeregistration_itemput_response_schema_data_custom.additional_properties = d + return timeregistration_itemput_response_schema_data_custom + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/uren_collectionpost_response_schema_data_item_type.py b/rentman_api_client/models/timeregistration_itemput_response_schema_data_type.py similarity index 77% rename from rentman_api_client/models/uren_collectionpost_response_schema_data_item_type.py rename to rentman_api_client/models/timeregistration_itemput_response_schema_data_type.py index 8db7a24..bc4683a 100644 --- a/rentman_api_client/models/uren_collectionpost_response_schema_data_item_type.py +++ b/rentman_api_client/models/timeregistration_itemput_response_schema_data_type.py @@ -1,7 +1,7 @@ from enum import Enum -class UrenCollectionpostResponseSchemaDataItemType(str, Enum): +class TimeregistrationItemputResponseSchemaDataType(str, Enum): WORKED = "worked" HOLIDAY = "holiday" CORRECTION = "correction" diff --git a/rentman_api_client/models/timeregistrationactivity_collectionget_response_schema.py b/rentman_api_client/models/timeregistrationactivity_collectionget_response_schema.py new file mode 100644 index 0000000..7e5ee1c --- /dev/null +++ b/rentman_api_client/models/timeregistrationactivity_collectionget_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.timeregistrationactivity_collectionget_response_schema_data_item import ( + TimeregistrationactivityCollectiongetResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="TimeregistrationactivityCollectiongetResponseSchema") + + +@attr.s(auto_attribs=True) +class TimeregistrationactivityCollectiongetResponseSchema: + """ """ + + data: Union[Unset, List[TimeregistrationactivityCollectiongetResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = TimeregistrationactivityCollectiongetResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + timeregistrationactivity_collectionget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + timeregistrationactivity_collectionget_response_schema.additional_properties = d + return timeregistrationactivity_collectionget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/functieuur_collectionpost_response_schema_data_item.py b/rentman_api_client/models/timeregistrationactivity_collectionget_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/functieuur_collectionpost_response_schema_data_item.py rename to rentman_api_client/models/timeregistrationactivity_collectionget_response_schema_data_item.py index 88e1ec8..82eb52e 100644 --- a/rentman_api_client/models/functieuur_collectionpost_response_schema_data_item.py +++ b/rentman_api_client/models/timeregistrationactivity_collectionget_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurCollectionpostResponseSchemaDataItem") +T = TypeVar("T", bound="TimeregistrationactivityCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class FunctieuurCollectionpostResponseSchemaDataItem: +class TimeregistrationactivityCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) - functieuur_collectionpost_response_schema_data_item = cls( + timeregistrationactivity_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration=duration, ) - functieuur_collectionpost_response_schema_data_item.additional_properties = d - return functieuur_collectionpost_response_schema_data_item + timeregistrationactivity_collectionget_response_schema_data_item.additional_properties = d + return timeregistrationactivity_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistrationactivity_collectionpost_response_schema.py b/rentman_api_client/models/timeregistrationactivity_collectionpost_response_schema.py new file mode 100644 index 0000000..f3f8ac9 --- /dev/null +++ b/rentman_api_client/models/timeregistrationactivity_collectionpost_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.timeregistrationactivity_collectionpost_response_schema_data_item import ( + TimeregistrationactivityCollectionpostResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="TimeregistrationactivityCollectionpostResponseSchema") + + +@attr.s(auto_attribs=True) +class TimeregistrationactivityCollectionpostResponseSchema: + """ """ + + data: Union[Unset, List[TimeregistrationactivityCollectionpostResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = TimeregistrationactivityCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + timeregistrationactivity_collectionpost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + timeregistrationactivity_collectionpost_response_schema.additional_properties = d + return timeregistrationactivity_collectionpost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/functieuur_collectionget_response_schema_data_item.py b/rentman_api_client/models/timeregistrationactivity_collectionpost_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/functieuur_collectionget_response_schema_data_item.py rename to rentman_api_client/models/timeregistrationactivity_collectionpost_response_schema_data_item.py index f697e3a..7d9e22c 100644 --- a/rentman_api_client/models/functieuur_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/timeregistrationactivity_collectionpost_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="TimeregistrationactivityCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class FunctieuurCollectiongetResponseSchemaDataItem: +class TimeregistrationactivityCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) - functieuur_collectionget_response_schema_data_item = cls( + timeregistrationactivity_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration=duration, ) - functieuur_collectionget_response_schema_data_item.additional_properties = d - return functieuur_collectionget_response_schema_data_item + timeregistrationactivity_collectionpost_response_schema_data_item.additional_properties = d + return timeregistrationactivity_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistrationactivity_collectionput_response_schema.py b/rentman_api_client/models/timeregistrationactivity_collectionput_response_schema.py new file mode 100644 index 0000000..7e2879d --- /dev/null +++ b/rentman_api_client/models/timeregistrationactivity_collectionput_response_schema.py @@ -0,0 +1,90 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.timeregistrationactivity_collectionput_response_schema_data_item import ( + TimeregistrationactivityCollectionputResponseSchemaDataItem, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="TimeregistrationactivityCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class TimeregistrationactivityCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[TimeregistrationactivityCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = TimeregistrationactivityCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + timeregistrationactivity_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + timeregistrationactivity_collectionput_response_schema.additional_properties = d + return timeregistrationactivity_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/functieuur_collectionput_response_schema_data_item.py b/rentman_api_client/models/timeregistrationactivity_collectionput_response_schema_data_item.py similarity index 90% rename from rentman_api_client/models/functieuur_collectionput_response_schema_data_item.py rename to rentman_api_client/models/timeregistrationactivity_collectionput_response_schema_data_item.py index 20c5b5b..eb7e39f 100644 --- a/rentman_api_client/models/functieuur_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/timeregistrationactivity_collectionput_response_schema_data_item.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="TimeregistrationactivityCollectionputResponseSchemaDataItem") @attr.s(auto_attribs=True) -class FunctieuurCollectionputResponseSchemaDataItem: +class TimeregistrationactivityCollectionputResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) - functieuur_collectionput_response_schema_data_item = cls( + timeregistrationactivity_collectionput_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration=duration, ) - functieuur_collectionput_response_schema_data_item.additional_properties = d - return functieuur_collectionput_response_schema_data_item + timeregistrationactivity_collectionput_response_schema_data_item.additional_properties = d + return timeregistrationactivity_collectionput_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functieuur_itempost_request_schema.py b/rentman_api_client/models/timeregistrationactivity_itemget_request_schema.py similarity index 84% rename from rentman_api_client/models/functieuur_itempost_request_schema.py rename to rentman_api_client/models/timeregistrationactivity_itemget_request_schema.py index 31cb463..1aa7ee6 100644 --- a/rentman_api_client/models/functieuur_itempost_request_schema.py +++ b/rentman_api_client/models/timeregistrationactivity_itemget_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurItempostRequestSchema") +T = TypeVar("T", bound="TimeregistrationactivityItemgetRequestSchema") @attr.s(auto_attribs=True) -class FunctieuurItempostRequestSchema: +class TimeregistrationactivityItemgetRequestSchema: """ """ project_function: Union[Unset, None, str] = UNSET @@ -42,14 +42,14 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) - functieuur_itempost_request_schema = cls( + timeregistrationactivity_itemget_request_schema = cls( project_function=project_function, description=description, duration=duration, ) - functieuur_itempost_request_schema.additional_properties = d - return functieuur_itempost_request_schema + timeregistrationactivity_itemget_request_schema.additional_properties = d + return timeregistrationactivity_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistrationactivity_itemget_response_schema.py b/rentman_api_client/models/timeregistrationactivity_itemget_response_schema.py new file mode 100644 index 0000000..af3b802 --- /dev/null +++ b/rentman_api_client/models/timeregistrationactivity_itemget_response_schema.py @@ -0,0 +1,84 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.timeregistrationactivity_itemget_response_schema_data import ( + TimeregistrationactivityItemgetResponseSchemaData, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="TimeregistrationactivityItemgetResponseSchema") + + +@attr.s(auto_attribs=True) +class TimeregistrationactivityItemgetResponseSchema: + """ """ + + data: Union[Unset, TimeregistrationactivityItemgetResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, TimeregistrationactivityItemgetResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = TimeregistrationactivityItemgetResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + timeregistrationactivity_itemget_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + timeregistrationactivity_itemget_response_schema.additional_properties = d + return timeregistrationactivity_itemget_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/functieuur_itempost_response_schema_data.py b/rentman_api_client/models/timeregistrationactivity_itemget_response_schema_data.py similarity index 91% rename from rentman_api_client/models/functieuur_itempost_response_schema_data.py rename to rentman_api_client/models/timeregistrationactivity_itemget_response_schema_data.py index 0fbb996..053c58b 100644 --- a/rentman_api_client/models/functieuur_itempost_response_schema_data.py +++ b/rentman_api_client/models/timeregistrationactivity_itemget_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurItempostResponseSchemaData") +T = TypeVar("T", bound="TimeregistrationactivityItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class FunctieuurItempostResponseSchemaData: +class TimeregistrationactivityItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) - functieuur_itempost_response_schema_data = cls( + timeregistrationactivity_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration=duration, ) - functieuur_itempost_response_schema_data.additional_properties = d - return functieuur_itempost_response_schema_data + timeregistrationactivity_itemget_response_schema_data.additional_properties = d + return timeregistrationactivity_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functieuur_itemput_request_schema.py b/rentman_api_client/models/timeregistrationactivity_itempost_request_schema.py similarity index 84% rename from rentman_api_client/models/functieuur_itemput_request_schema.py rename to rentman_api_client/models/timeregistrationactivity_itempost_request_schema.py index 95f30f1..49b1dfd 100644 --- a/rentman_api_client/models/functieuur_itemput_request_schema.py +++ b/rentman_api_client/models/timeregistrationactivity_itempost_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurItemputRequestSchema") +T = TypeVar("T", bound="TimeregistrationactivityItempostRequestSchema") @attr.s(auto_attribs=True) -class FunctieuurItemputRequestSchema: +class TimeregistrationactivityItempostRequestSchema: """ """ project_function: Union[Unset, None, str] = UNSET @@ -42,14 +42,14 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) - functieuur_itemput_request_schema = cls( + timeregistrationactivity_itempost_request_schema = cls( project_function=project_function, description=description, duration=duration, ) - functieuur_itemput_request_schema.additional_properties = d - return functieuur_itemput_request_schema + timeregistrationactivity_itempost_request_schema.additional_properties = d + return timeregistrationactivity_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistrationactivity_itempost_response_schema.py b/rentman_api_client/models/timeregistrationactivity_itempost_response_schema.py new file mode 100644 index 0000000..da0001b --- /dev/null +++ b/rentman_api_client/models/timeregistrationactivity_itempost_response_schema.py @@ -0,0 +1,84 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.timeregistrationactivity_itempost_response_schema_data import ( + TimeregistrationactivityItempostResponseSchemaData, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="TimeregistrationactivityItempostResponseSchema") + + +@attr.s(auto_attribs=True) +class TimeregistrationactivityItempostResponseSchema: + """ """ + + data: Union[Unset, TimeregistrationactivityItempostResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, TimeregistrationactivityItempostResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = TimeregistrationactivityItempostResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + timeregistrationactivity_itempost_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + timeregistrationactivity_itempost_response_schema.additional_properties = d + return timeregistrationactivity_itempost_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/functieuur_itemget_response_schema_data.py b/rentman_api_client/models/timeregistrationactivity_itempost_response_schema_data.py similarity index 91% rename from rentman_api_client/models/functieuur_itemget_response_schema_data.py rename to rentman_api_client/models/timeregistrationactivity_itempost_response_schema_data.py index 1a375d5..832b133 100644 --- a/rentman_api_client/models/functieuur_itemget_response_schema_data.py +++ b/rentman_api_client/models/timeregistrationactivity_itempost_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurItemgetResponseSchemaData") +T = TypeVar("T", bound="TimeregistrationactivityItempostResponseSchemaData") @attr.s(auto_attribs=True) -class FunctieuurItemgetResponseSchemaData: +class TimeregistrationactivityItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) - functieuur_itemget_response_schema_data = cls( + timeregistrationactivity_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration=duration, ) - functieuur_itemget_response_schema_data.additional_properties = d - return functieuur_itemget_response_schema_data + timeregistrationactivity_itempost_response_schema_data.additional_properties = d + return timeregistrationactivity_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functieuur_itemget_request_schema.py b/rentman_api_client/models/timeregistrationactivity_itemput_request_schema.py similarity index 84% rename from rentman_api_client/models/functieuur_itemget_request_schema.py rename to rentman_api_client/models/timeregistrationactivity_itemput_request_schema.py index 8588348..87277ff 100644 --- a/rentman_api_client/models/functieuur_itemget_request_schema.py +++ b/rentman_api_client/models/timeregistrationactivity_itemput_request_schema.py @@ -4,11 +4,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurItemgetRequestSchema") +T = TypeVar("T", bound="TimeregistrationactivityItemputRequestSchema") @attr.s(auto_attribs=True) -class FunctieuurItemgetRequestSchema: +class TimeregistrationactivityItemputRequestSchema: """ """ project_function: Union[Unset, None, str] = UNSET @@ -42,14 +42,14 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) - functieuur_itemget_request_schema = cls( + timeregistrationactivity_itemput_request_schema = cls( project_function=project_function, description=description, duration=duration, ) - functieuur_itemget_request_schema.additional_properties = d - return functieuur_itemget_request_schema + timeregistrationactivity_itemput_request_schema.additional_properties = d + return timeregistrationactivity_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/timeregistrationactivity_itemput_response_schema.py b/rentman_api_client/models/timeregistrationactivity_itemput_response_schema.py new file mode 100644 index 0000000..ce35ac7 --- /dev/null +++ b/rentman_api_client/models/timeregistrationactivity_itemput_response_schema.py @@ -0,0 +1,84 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.timeregistrationactivity_itemput_response_schema_data import ( + TimeregistrationactivityItemputResponseSchemaData, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="TimeregistrationactivityItemputResponseSchema") + + +@attr.s(auto_attribs=True) +class TimeregistrationactivityItemputResponseSchema: + """ """ + + data: Union[Unset, TimeregistrationactivityItemputResponseSchemaData] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.data, Unset): + data = self.data.to_dict() + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data: Union[Unset, TimeregistrationactivityItemputResponseSchemaData] = UNSET + _data = d.pop("data", UNSET) + if not isinstance(_data, Unset): + data = TimeregistrationactivityItemputResponseSchemaData.from_dict(_data) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + timeregistrationactivity_itemput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + timeregistrationactivity_itemput_response_schema.additional_properties = d + return timeregistrationactivity_itemput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/functieuur_itemput_response_schema_data.py b/rentman_api_client/models/timeregistrationactivity_itemput_response_schema_data.py similarity index 91% rename from rentman_api_client/models/functieuur_itemput_response_schema_data.py rename to rentman_api_client/models/timeregistrationactivity_itemput_response_schema_data.py index 39de5ac..07bb920 100644 --- a/rentman_api_client/models/functieuur_itemput_response_schema_data.py +++ b/rentman_api_client/models/timeregistrationactivity_itemput_response_schema_data.py @@ -6,11 +6,11 @@ from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieuurItemputResponseSchemaData") +T = TypeVar("T", bound="TimeregistrationactivityItemputResponseSchemaData") @attr.s(auto_attribs=True) -class FunctieuurItemputResponseSchemaData: +class TimeregistrationactivityItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -92,7 +92,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration = d.pop("duration", UNSET) - functieuur_itemput_response_schema_data = cls( + timeregistrationactivity_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -104,8 +104,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: duration=duration, ) - functieuur_itemput_response_schema_data.additional_properties = d - return functieuur_itemput_response_schema_data + timeregistrationactivity_itemput_response_schema_data.additional_properties = d + return timeregistrationactivity_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/type_itemput_request_schema_type.py b/rentman_api_client/models/type_itemput_request_schema_type.py deleted file mode 100644 index 0d4ff70..0000000 --- a/rentman_api_client/models/type_itemput_request_schema_type.py +++ /dev/null @@ -1,11 +0,0 @@ -from enum import Enum - - -class TypeItemputRequestSchemaType(str, Enum): - REGULAR = "regular" - SUPPLIER = "supplier" - TRANSFER = "transfer" - SHIFTS = "shifts" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/type_itemput_response_schema_data_type.py b/rentman_api_client/models/type_itemput_response_schema_data_type.py deleted file mode 100644 index b4c8fc0..0000000 --- a/rentman_api_client/models/type_itemput_response_schema_data_type.py +++ /dev/null @@ -1,11 +0,0 @@ -from enum import Enum - - -class TypeItemputResponseSchemaDataType(str, Enum): - REGULAR = "regular" - SUPPLIER = "supplier" - TRANSFER = "transfer" - SHIFTS = "shifts" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/uren_itemput_request_schema_type.py b/rentman_api_client/models/uren_itemput_request_schema_type.py deleted file mode 100644 index 58816c2..0000000 --- a/rentman_api_client/models/uren_itemput_request_schema_type.py +++ /dev/null @@ -1,12 +0,0 @@ -from enum import Enum - - -class UrenItemputRequestSchemaType(str, Enum): - WORKED = "worked" - HOLIDAY = "holiday" - CORRECTION = "correction" - SICK_LEAVE = "sick_leave" - COMPENSATION = "compensation" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/uren_itemput_response_schema_data_type.py b/rentman_api_client/models/uren_itemput_response_schema_data_type.py deleted file mode 100644 index c0e7a87..0000000 --- a/rentman_api_client/models/uren_itemput_response_schema_data_type.py +++ /dev/null @@ -1,12 +0,0 @@ -from enum import Enum - - -class UrenItemputResponseSchemaDataType(str, Enum): - WORKED = "worked" - HOLIDAY = "holiday" - CORRECTION = "correction" - SICK_LEAVE = "sick_leave" - COMPENSATION = "compensation" - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/inhuur_collectionpost_response_schema.py b/rentman_api_client/models/vehicle_collectionget_response_schema.py similarity index 81% rename from rentman_api_client/models/inhuur_collectionpost_response_schema.py rename to rentman_api_client/models/vehicle_collectionget_response_schema.py index 3473266..dfbfd32 100644 --- a/rentman_api_client/models/inhuur_collectionpost_response_schema.py +++ b/rentman_api_client/models/vehicle_collectionget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.inhuur_collectionpost_response_schema_data_item import InhuurCollectionpostResponseSchemaDataItem +from ..models.vehicle_collectionget_response_schema_data_item import VehicleCollectiongetResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="InhuurCollectionpostResponseSchema") +T = TypeVar("T", bound="VehicleCollectiongetResponseSchema") @attr.s(auto_attribs=True) -class InhuurCollectionpostResponseSchema: +class VehicleCollectiongetResponseSchema: """ """ - data: Union[Unset, List[InhuurCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[VehicleCollectiongetResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = InhuurCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = VehicleCollectiongetResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - inhuur_collectionpost_response_schema = cls( + vehicle_collectionget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - inhuur_collectionpost_response_schema.additional_properties = d - return inhuur_collectionpost_response_schema + vehicle_collectionget_response_schema.additional_properties = d + return vehicle_collectionget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_collectionget_response_schema_data_item.py b/rentman_api_client/models/vehicle_collectionget_response_schema_data_item.py similarity index 87% rename from rentman_api_client/models/voertuig_collectionget_response_schema_data_item.py rename to rentman_api_client/models/vehicle_collectionget_response_schema_data_item.py index 3519b0e..1ef12ca 100644 --- a/rentman_api_client/models/voertuig_collectionget_response_schema_data_item.py +++ b/rentman_api_client/models/vehicle_collectionget_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.voertuig_collectionget_response_schema_data_item_custom import ( - VoertuigCollectiongetResponseSchemaDataItemCustom, +from ..models.vehicle_collectionget_response_schema_data_item_custom import ( + VehicleCollectiongetResponseSchemaDataItemCustom, ) -from ..models.voertuig_collectionget_response_schema_data_item_multiple import ( - VoertuigCollectiongetResponseSchemaDataItemMultiple, +from ..models.vehicle_collectionget_response_schema_data_item_multiple import ( + VehicleCollectiongetResponseSchemaDataItemMultiple, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="VoertuigCollectiongetResponseSchemaDataItem") +T = TypeVar("T", bound="VehicleCollectiongetResponseSchemaDataItem") @attr.s(auto_attribs=True) -class VoertuigCollectiongetResponseSchemaDataItem: +class VehicleCollectiongetResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -37,12 +37,12 @@ class VoertuigCollectiongetResponseSchemaDataItem: remark: Union[Unset, str] = UNSET payload_capacity: Union[Unset, float] = UNSET surface_area: Union[Unset, str] = UNSET - multiple: Union[Unset, VoertuigCollectiongetResponseSchemaDataItemMultiple] = UNSET + multiple: Union[Unset, VehicleCollectiongetResponseSchemaDataItemMultiple] = UNSET image: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET distance_cost: Union[Unset, float] = UNSET fixed_cost: Union[Unset, float] = UNSET - custom: Union[Unset, VoertuigCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, VehicleCollectiongetResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -181,10 +181,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: surface_area = d.pop("surface_area", UNSET) - multiple: Union[Unset, VoertuigCollectiongetResponseSchemaDataItemMultiple] = UNSET + multiple: Union[Unset, VehicleCollectiongetResponseSchemaDataItemMultiple] = UNSET _multiple = d.pop("multiple", UNSET) if not isinstance(_multiple, Unset): - multiple = VoertuigCollectiongetResponseSchemaDataItemMultiple(_multiple) + multiple = VehicleCollectiongetResponseSchemaDataItemMultiple(_multiple) image = d.pop("image", UNSET) @@ -194,12 +194,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: fixed_cost = d.pop("fixed_cost", UNSET) - custom: Union[Unset, VoertuigCollectiongetResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, VehicleCollectiongetResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = VoertuigCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) + custom = VehicleCollectiongetResponseSchemaDataItemCustom.from_dict(_custom) - voertuig_collectionget_response_schema_data_item = cls( + vehicle_collectionget_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -226,8 +226,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - voertuig_collectionget_response_schema_data_item.additional_properties = d - return voertuig_collectionget_response_schema_data_item + vehicle_collectionget_response_schema_data_item.additional_properties = d + return vehicle_collectionget_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/vehicle_collectionget_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/person_collectionpost_response_schema_data_item_custom.py rename to rentman_api_client/models/vehicle_collectionget_response_schema_data_item_custom.py index 009f83a..d88d668 100644 --- a/rentman_api_client/models/person_collectionpost_response_schema_data_item_custom.py +++ b/rentman_api_client/models/vehicle_collectionget_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PersonCollectionpostResponseSchemaDataItemCustom") +T = TypeVar("T", bound="VehicleCollectiongetResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class PersonCollectionpostResponseSchemaDataItemCustom: +class VehicleCollectiongetResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - person_collectionpost_response_schema_data_item_custom = cls() + vehicle_collectionget_response_schema_data_item_custom = cls() - person_collectionpost_response_schema_data_item_custom.additional_properties = d - return person_collectionpost_response_schema_data_item_custom + vehicle_collectionget_response_schema_data_item_custom.additional_properties = d + return vehicle_collectionget_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/vehicle_collectionget_response_schema_data_item_multiple.py b/rentman_api_client/models/vehicle_collectionget_response_schema_data_item_multiple.py new file mode 100644 index 0000000..71cfe42 --- /dev/null +++ b/rentman_api_client/models/vehicle_collectionget_response_schema_data_item_multiple.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class VehicleCollectiongetResponseSchemaDataItemMultiple(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/factuur_collectionpost_response_schema.py b/rentman_api_client/models/vehicle_collectionpost_response_schema.py similarity index 81% rename from rentman_api_client/models/factuur_collectionpost_response_schema.py rename to rentman_api_client/models/vehicle_collectionpost_response_schema.py index 8b7d9dc..6cc9e9d 100644 --- a/rentman_api_client/models/factuur_collectionpost_response_schema.py +++ b/rentman_api_client/models/vehicle_collectionpost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.factuur_collectionpost_response_schema_data_item import FactuurCollectionpostResponseSchemaDataItem +from ..models.vehicle_collectionpost_response_schema_data_item import VehicleCollectionpostResponseSchemaDataItem from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurCollectionpostResponseSchema") +T = TypeVar("T", bound="VehicleCollectionpostResponseSchema") @attr.s(auto_attribs=True) -class FactuurCollectionpostResponseSchema: +class VehicleCollectionpostResponseSchema: """ """ - data: Union[Unset, List[FactuurCollectionpostResponseSchemaDataItem]] = UNSET + data: Union[Unset, List[VehicleCollectionpostResponseSchemaDataItem]] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -51,7 +51,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: data = [] _data = d.pop("data", UNSET) for data_item_data in _data or []: - data_item = FactuurCollectionpostResponseSchemaDataItem.from_dict(data_item_data) + data_item = VehicleCollectionpostResponseSchemaDataItem.from_dict(data_item_data) data.append(data_item) @@ -61,15 +61,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - factuur_collectionpost_response_schema = cls( + vehicle_collectionpost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - factuur_collectionpost_response_schema.additional_properties = d - return factuur_collectionpost_response_schema + vehicle_collectionpost_response_schema.additional_properties = d + return vehicle_collectionpost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_collectionput_response_schema_data_item.py b/rentman_api_client/models/vehicle_collectionpost_response_schema_data_item.py similarity index 89% rename from rentman_api_client/models/voertuig_collectionput_response_schema_data_item.py rename to rentman_api_client/models/vehicle_collectionpost_response_schema_data_item.py index 5ad3e3f..8ac798e 100644 --- a/rentman_api_client/models/voertuig_collectionput_response_schema_data_item.py +++ b/rentman_api_client/models/vehicle_collectionpost_response_schema_data_item.py @@ -4,19 +4,19 @@ import attr from dateutil.parser import isoparse -from ..models.voertuig_collectionput_response_schema_data_item_custom import ( - VoertuigCollectionputResponseSchemaDataItemCustom, +from ..models.vehicle_collectionpost_response_schema_data_item_custom import ( + VehicleCollectionpostResponseSchemaDataItemCustom, ) -from ..models.voertuig_collectionput_response_schema_data_item_multiple import ( - VoertuigCollectionputResponseSchemaDataItemMultiple, +from ..models.vehicle_collectionpost_response_schema_data_item_multiple import ( + VehicleCollectionpostResponseSchemaDataItemMultiple, ) from ..types import UNSET, Unset -T = TypeVar("T", bound="VoertuigCollectionputResponseSchemaDataItem") +T = TypeVar("T", bound="VehicleCollectionpostResponseSchemaDataItem") @attr.s(auto_attribs=True) -class VoertuigCollectionputResponseSchemaDataItem: +class VehicleCollectionpostResponseSchemaDataItem: """ """ id: Union[Unset, int] = UNSET @@ -37,12 +37,12 @@ class VoertuigCollectionputResponseSchemaDataItem: remark: Union[Unset, str] = UNSET payload_capacity: Union[Unset, float] = UNSET surface_area: Union[Unset, str] = UNSET - multiple: Union[Unset, VoertuigCollectionputResponseSchemaDataItemMultiple] = UNSET + multiple: Union[Unset, VehicleCollectionpostResponseSchemaDataItemMultiple] = UNSET image: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET distance_cost: Union[Unset, float] = UNSET fixed_cost: Union[Unset, float] = UNSET - custom: Union[Unset, VoertuigCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, VehicleCollectionpostResponseSchemaDataItemCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -181,10 +181,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: surface_area = d.pop("surface_area", UNSET) - multiple: Union[Unset, VoertuigCollectionputResponseSchemaDataItemMultiple] = UNSET + multiple: Union[Unset, VehicleCollectionpostResponseSchemaDataItemMultiple] = UNSET _multiple = d.pop("multiple", UNSET) if not isinstance(_multiple, Unset): - multiple = VoertuigCollectionputResponseSchemaDataItemMultiple(_multiple) + multiple = VehicleCollectionpostResponseSchemaDataItemMultiple(_multiple) image = d.pop("image", UNSET) @@ -194,12 +194,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: fixed_cost = d.pop("fixed_cost", UNSET) - custom: Union[Unset, VoertuigCollectionputResponseSchemaDataItemCustom] = UNSET + custom: Union[Unset, VehicleCollectionpostResponseSchemaDataItemCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = VoertuigCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + custom = VehicleCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - voertuig_collectionput_response_schema_data_item = cls( + vehicle_collectionpost_response_schema_data_item = cls( id=id, created=created, modified=modified, @@ -226,8 +226,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - voertuig_collectionput_response_schema_data_item.additional_properties = d - return voertuig_collectionput_response_schema_data_item + vehicle_collectionpost_response_schema_data_item.additional_properties = d + return vehicle_collectionpost_response_schema_data_item @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_collectionget_response_schema_data_item_custom.py b/rentman_api_client/models/vehicle_collectionpost_response_schema_data_item_custom.py similarity index 77% rename from rentman_api_client/models/voertuig_collectionget_response_schema_data_item_custom.py rename to rentman_api_client/models/vehicle_collectionpost_response_schema_data_item_custom.py index b848fb9..b1313c6 100644 --- a/rentman_api_client/models/voertuig_collectionget_response_schema_data_item_custom.py +++ b/rentman_api_client/models/vehicle_collectionpost_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="VoertuigCollectiongetResponseSchemaDataItemCustom") +T = TypeVar("T", bound="VehicleCollectionpostResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class VoertuigCollectiongetResponseSchemaDataItemCustom: +class VehicleCollectionpostResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - voertuig_collectionget_response_schema_data_item_custom = cls() + vehicle_collectionpost_response_schema_data_item_custom = cls() - voertuig_collectionget_response_schema_data_item_custom.additional_properties = d - return voertuig_collectionget_response_schema_data_item_custom + vehicle_collectionpost_response_schema_data_item_custom.additional_properties = d + return vehicle_collectionpost_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_collectionget_response_schema_data_item_multiple.py b/rentman_api_client/models/vehicle_collectionpost_response_schema_data_item_multiple.py similarity index 66% rename from rentman_api_client/models/voertuig_collectionget_response_schema_data_item_multiple.py rename to rentman_api_client/models/vehicle_collectionpost_response_schema_data_item_multiple.py index 91dc022..9456719 100644 --- a/rentman_api_client/models/voertuig_collectionget_response_schema_data_item_multiple.py +++ b/rentman_api_client/models/vehicle_collectionpost_response_schema_data_item_multiple.py @@ -1,7 +1,7 @@ from enum import IntEnum -class VoertuigCollectiongetResponseSchemaDataItemMultiple(IntEnum): +class VehicleCollectionpostResponseSchemaDataItemMultiple(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/vehicle_collectionput_response_schema.py b/rentman_api_client/models/vehicle_collectionput_response_schema.py new file mode 100644 index 0000000..fc0b443 --- /dev/null +++ b/rentman_api_client/models/vehicle_collectionput_response_schema.py @@ -0,0 +1,88 @@ +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr + +from ..models.vehicle_collectionput_response_schema_data_item import VehicleCollectionputResponseSchemaDataItem +from ..types import UNSET, Unset + +T = TypeVar("T", bound="VehicleCollectionputResponseSchema") + + +@attr.s(auto_attribs=True) +class VehicleCollectionputResponseSchema: + """ """ + + data: Union[Unset, List[VehicleCollectionputResponseSchemaDataItem]] = UNSET + item_count: Union[Unset, float] = UNSET + limit: Union[Unset, float] = UNSET + offset: Union[Unset, float] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + data: Union[Unset, List[Dict[str, Any]]] = UNSET + if not isinstance(self.data, Unset): + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + + data.append(data_item) + + item_count = self.item_count + limit = self.limit + offset = self.offset + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if data is not UNSET: + field_dict["data"] = data + if item_count is not UNSET: + field_dict["itemCount"] = item_count + if limit is not UNSET: + field_dict["limit"] = limit + if offset is not UNSET: + field_dict["offset"] = offset + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + data = [] + _data = d.pop("data", UNSET) + for data_item_data in _data or []: + data_item = VehicleCollectionputResponseSchemaDataItem.from_dict(data_item_data) + + data.append(data_item) + + item_count = d.pop("itemCount", UNSET) + + limit = d.pop("limit", UNSET) + + offset = d.pop("offset", UNSET) + + vehicle_collectionput_response_schema = cls( + data=data, + item_count=item_count, + limit=limit, + offset=offset, + ) + + vehicle_collectionput_response_schema.additional_properties = d + return vehicle_collectionput_response_schema + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/vehicle_collectionput_response_schema_data_item.py b/rentman_api_client/models/vehicle_collectionput_response_schema_data_item.py new file mode 100644 index 0000000..cdd51cc --- /dev/null +++ b/rentman_api_client/models/vehicle_collectionput_response_schema_data_item.py @@ -0,0 +1,246 @@ +import datetime +from typing import Any, Dict, List, Type, TypeVar, Union + +import attr +from dateutil.parser import isoparse + +from ..models.vehicle_collectionput_response_schema_data_item_custom import ( + VehicleCollectionputResponseSchemaDataItemCustom, +) +from ..models.vehicle_collectionput_response_schema_data_item_multiple import ( + VehicleCollectionputResponseSchemaDataItemMultiple, +) +from ..types import UNSET, Unset + +T = TypeVar("T", bound="VehicleCollectionputResponseSchemaDataItem") + + +@attr.s(auto_attribs=True) +class VehicleCollectionputResponseSchemaDataItem: + """ """ + + id: Union[Unset, int] = UNSET + created: Union[Unset, None, datetime.datetime] = UNSET + modified: Union[Unset, None, datetime.datetime] = UNSET + creator: Union[Unset, None, str] = UNSET + displayname: Union[Unset, str] = UNSET + folder: Union[Unset, None, str] = UNSET + name: Union[Unset, str] = UNSET + cost_rate: Union[Unset, None, str] = UNSET + in_planner: Union[Unset, bool] = UNSET + height: Union[Unset, float] = UNSET + length: Union[Unset, float] = UNSET + width: Union[Unset, float] = UNSET + seats: Union[Unset, int] = UNSET + inspection_date: Union[Unset, None, str] = UNSET + licenseplate: Union[Unset, str] = UNSET + remark: Union[Unset, str] = UNSET + payload_capacity: Union[Unset, float] = UNSET + surface_area: Union[Unset, str] = UNSET + multiple: Union[Unset, VehicleCollectionputResponseSchemaDataItemMultiple] = UNSET + image: Union[Unset, None, str] = UNSET + tags: Union[Unset, str] = UNSET + distance_cost: Union[Unset, float] = UNSET + fixed_cost: Union[Unset, float] = UNSET + custom: Union[Unset, VehicleCollectionputResponseSchemaDataItemCustom] = UNSET + additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) + + def to_dict(self) -> Dict[str, Any]: + id = self.id + created: Union[Unset, None, str] = UNSET + if not isinstance(self.created, Unset): + created = self.created.isoformat() if self.created else None + + modified: Union[Unset, None, str] = UNSET + if not isinstance(self.modified, Unset): + modified = self.modified.isoformat() if self.modified else None + + creator = self.creator + displayname = self.displayname + folder = self.folder + name = self.name + cost_rate = self.cost_rate + in_planner = self.in_planner + height = self.height + length = self.length + width = self.width + seats = self.seats + inspection_date = self.inspection_date + licenseplate = self.licenseplate + remark = self.remark + payload_capacity = self.payload_capacity + surface_area = self.surface_area + multiple: Union[Unset, int] = UNSET + if not isinstance(self.multiple, Unset): + multiple = self.multiple.value + + image = self.image + tags = self.tags + distance_cost = self.distance_cost + fixed_cost = self.fixed_cost + custom: Union[Unset, Dict[str, Any]] = UNSET + if not isinstance(self.custom, Unset): + custom = self.custom.to_dict() + + field_dict: Dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if id is not UNSET: + field_dict["id"] = id + if created is not UNSET: + field_dict["created"] = created + if modified is not UNSET: + field_dict["modified"] = modified + if creator is not UNSET: + field_dict["creator"] = creator + if displayname is not UNSET: + field_dict["displayname"] = displayname + if folder is not UNSET: + field_dict["folder"] = folder + if name is not UNSET: + field_dict["name"] = name + if cost_rate is not UNSET: + field_dict["cost_rate"] = cost_rate + if in_planner is not UNSET: + field_dict["in_planner"] = in_planner + if height is not UNSET: + field_dict["height"] = height + if length is not UNSET: + field_dict["length"] = length + if width is not UNSET: + field_dict["width"] = width + if seats is not UNSET: + field_dict["seats"] = seats + if inspection_date is not UNSET: + field_dict["inspection_date"] = inspection_date + if licenseplate is not UNSET: + field_dict["licenseplate"] = licenseplate + if remark is not UNSET: + field_dict["remark"] = remark + if payload_capacity is not UNSET: + field_dict["payload_capacity"] = payload_capacity + if surface_area is not UNSET: + field_dict["surface_area"] = surface_area + if multiple is not UNSET: + field_dict["multiple"] = multiple + if image is not UNSET: + field_dict["image"] = image + if tags is not UNSET: + field_dict["tags"] = tags + if distance_cost is not UNSET: + field_dict["distance_cost"] = distance_cost + if fixed_cost is not UNSET: + field_dict["fixed_cost"] = fixed_cost + if custom is not UNSET: + field_dict["custom"] = custom + + return field_dict + + @classmethod + def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: + d = src_dict.copy() + id = d.pop("id", UNSET) + + created = None + _created = d.pop("created", UNSET) + if _created is not None and not isinstance(_created, Unset): + created = isoparse(_created) + + modified = None + _modified = d.pop("modified", UNSET) + if _modified is not None and not isinstance(_modified, Unset): + modified = isoparse(_modified) + + creator = d.pop("creator", UNSET) + + displayname = d.pop("displayname", UNSET) + + folder = d.pop("folder", UNSET) + + name = d.pop("name", UNSET) + + cost_rate = d.pop("cost_rate", UNSET) + + in_planner = d.pop("in_planner", UNSET) + + height = d.pop("height", UNSET) + + length = d.pop("length", UNSET) + + width = d.pop("width", UNSET) + + seats = d.pop("seats", UNSET) + + inspection_date = d.pop("inspection_date", UNSET) + + licenseplate = d.pop("licenseplate", UNSET) + + remark = d.pop("remark", UNSET) + + payload_capacity = d.pop("payload_capacity", UNSET) + + surface_area = d.pop("surface_area", UNSET) + + multiple: Union[Unset, VehicleCollectionputResponseSchemaDataItemMultiple] = UNSET + _multiple = d.pop("multiple", UNSET) + if not isinstance(_multiple, Unset): + multiple = VehicleCollectionputResponseSchemaDataItemMultiple(_multiple) + + image = d.pop("image", UNSET) + + tags = d.pop("tags", UNSET) + + distance_cost = d.pop("distance_cost", UNSET) + + fixed_cost = d.pop("fixed_cost", UNSET) + + custom: Union[Unset, VehicleCollectionputResponseSchemaDataItemCustom] = UNSET + _custom = d.pop("custom", UNSET) + if not isinstance(_custom, Unset): + custom = VehicleCollectionputResponseSchemaDataItemCustom.from_dict(_custom) + + vehicle_collectionput_response_schema_data_item = cls( + id=id, + created=created, + modified=modified, + creator=creator, + displayname=displayname, + folder=folder, + name=name, + cost_rate=cost_rate, + in_planner=in_planner, + height=height, + length=length, + width=width, + seats=seats, + inspection_date=inspection_date, + licenseplate=licenseplate, + remark=remark, + payload_capacity=payload_capacity, + surface_area=surface_area, + multiple=multiple, + image=image, + tags=tags, + distance_cost=distance_cost, + fixed_cost=fixed_cost, + custom=custom, + ) + + vehicle_collectionput_response_schema_data_item.additional_properties = d + return vehicle_collectionput_response_schema_data_item + + @property + def additional_keys(self) -> List[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/rentman_api_client/models/planningmateriaal_itempost_response_schema_data_custom.py b/rentman_api_client/models/vehicle_collectionput_response_schema_data_item_custom.py similarity index 76% rename from rentman_api_client/models/planningmateriaal_itempost_response_schema_data_custom.py rename to rentman_api_client/models/vehicle_collectionput_response_schema_data_item_custom.py index 5e338b0..6ba59a4 100644 --- a/rentman_api_client/models/planningmateriaal_itempost_response_schema_data_custom.py +++ b/rentman_api_client/models/vehicle_collectionput_response_schema_data_item_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PlanningmateriaalItempostResponseSchemaDataCustom") +T = TypeVar("T", bound="VehicleCollectionputResponseSchemaDataItemCustom") @attr.s(auto_attribs=True) -class PlanningmateriaalItempostResponseSchemaDataCustom: +class VehicleCollectionputResponseSchemaDataItemCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - planningmateriaal_itempost_response_schema_data_custom = cls() + vehicle_collectionput_response_schema_data_item_custom = cls() - planningmateriaal_itempost_response_schema_data_custom.additional_properties = d - return planningmateriaal_itempost_response_schema_data_custom + vehicle_collectionput_response_schema_data_item_custom.additional_properties = d + return vehicle_collectionput_response_schema_data_item_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/vehicle_collectionput_response_schema_data_item_multiple.py b/rentman_api_client/models/vehicle_collectionput_response_schema_data_item_multiple.py new file mode 100644 index 0000000..ac4725f --- /dev/null +++ b/rentman_api_client/models/vehicle_collectionput_response_schema_data_item_multiple.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class VehicleCollectionputResponseSchemaDataItemMultiple(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/voertuig_itemput_request_schema.py b/rentman_api_client/models/vehicle_itemget_request_schema.py similarity index 84% rename from rentman_api_client/models/voertuig_itemput_request_schema.py rename to rentman_api_client/models/vehicle_itemget_request_schema.py index 0fba66d..49e383c 100644 --- a/rentman_api_client/models/voertuig_itemput_request_schema.py +++ b/rentman_api_client/models/vehicle_itemget_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.voertuig_itemput_request_schema_custom import VoertuigItemputRequestSchemaCustom -from ..models.voertuig_itemput_request_schema_multiple import VoertuigItemputRequestSchemaMultiple +from ..models.vehicle_itemget_request_schema_custom import VehicleItemgetRequestSchemaCustom +from ..models.vehicle_itemget_request_schema_multiple import VehicleItemgetRequestSchemaMultiple from ..types import UNSET, Unset -T = TypeVar("T", bound="VoertuigItemputRequestSchema") +T = TypeVar("T", bound="VehicleItemgetRequestSchema") @attr.s(auto_attribs=True) -class VoertuigItemputRequestSchema: +class VehicleItemgetRequestSchema: """ """ folder: Union[Unset, None, str] = UNSET @@ -26,9 +26,9 @@ class VoertuigItemputRequestSchema: remark: Union[Unset, str] = UNSET payload_capacity: Union[Unset, float] = UNSET surface_area: Union[Unset, str] = UNSET - multiple: Union[Unset, VoertuigItemputRequestSchemaMultiple] = UNSET + multiple: Union[Unset, VehicleItemgetRequestSchemaMultiple] = UNSET image: Union[Unset, None, str] = UNSET - custom: Union[Unset, VoertuigItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, VehicleItemgetRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -121,19 +121,19 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: surface_area = d.pop("surface_area", UNSET) - multiple: Union[Unset, VoertuigItemputRequestSchemaMultiple] = UNSET + multiple: Union[Unset, VehicleItemgetRequestSchemaMultiple] = UNSET _multiple = d.pop("multiple", UNSET) if not isinstance(_multiple, Unset): - multiple = VoertuigItemputRequestSchemaMultiple(_multiple) + multiple = VehicleItemgetRequestSchemaMultiple(_multiple) image = d.pop("image", UNSET) - custom: Union[Unset, VoertuigItemputRequestSchemaCustom] = UNSET + custom: Union[Unset, VehicleItemgetRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = VoertuigItemputRequestSchemaCustom.from_dict(_custom) + custom = VehicleItemgetRequestSchemaCustom.from_dict(_custom) - voertuig_itemput_request_schema = cls( + vehicle_itemget_request_schema = cls( folder=folder, name=name, cost_rate=cost_rate, @@ -152,8 +152,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - voertuig_itemput_request_schema.additional_properties = d - return voertuig_itemput_request_schema + vehicle_itemget_request_schema.additional_properties = d + return vehicle_itemget_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/functie_itemget_request_schema_custom.py b/rentman_api_client/models/vehicle_itemget_request_schema_custom.py similarity index 79% rename from rentman_api_client/models/functie_itemget_request_schema_custom.py rename to rentman_api_client/models/vehicle_itemget_request_schema_custom.py index 5b12fc2..dfcb34a 100644 --- a/rentman_api_client/models/functie_itemget_request_schema_custom.py +++ b/rentman_api_client/models/vehicle_itemget_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="FunctieItemgetRequestSchemaCustom") +T = TypeVar("T", bound="VehicleItemgetRequestSchemaCustom") @attr.s(auto_attribs=True) -class FunctieItemgetRequestSchemaCustom: +class VehicleItemgetRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - functie_itemget_request_schema_custom = cls() + vehicle_itemget_request_schema_custom = cls() - functie_itemget_request_schema_custom.additional_properties = d - return functie_itemget_request_schema_custom + vehicle_itemget_request_schema_custom.additional_properties = d + return vehicle_itemget_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/reparatie_itemget_request_schema_is_usable.py b/rentman_api_client/models/vehicle_itemget_request_schema_multiple.py similarity index 69% rename from rentman_api_client/models/reparatie_itemget_request_schema_is_usable.py rename to rentman_api_client/models/vehicle_itemget_request_schema_multiple.py index 9c986f1..f962d7a 100644 --- a/rentman_api_client/models/reparatie_itemget_request_schema_is_usable.py +++ b/rentman_api_client/models/vehicle_itemget_request_schema_multiple.py @@ -1,7 +1,7 @@ from enum import IntEnum -class ReparatieItemgetRequestSchemaIsUsable(IntEnum): +class VehicleItemgetRequestSchemaMultiple(IntEnum): VALUE_0 = 0 VALUE_1 = 1 diff --git a/rentman_api_client/models/functie_itemget_response_schema.py b/rentman_api_client/models/vehicle_itemget_response_schema.py similarity index 80% rename from rentman_api_client/models/functie_itemget_response_schema.py rename to rentman_api_client/models/vehicle_itemget_response_schema.py index 2b2805e..710c206 100644 --- a/rentman_api_client/models/functie_itemget_response_schema.py +++ b/rentman_api_client/models/vehicle_itemget_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.functie_itemget_response_schema_data import FunctieItemgetResponseSchemaData +from ..models.vehicle_itemget_response_schema_data import VehicleItemgetResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="FunctieItemgetResponseSchema") +T = TypeVar("T", bound="VehicleItemgetResponseSchema") @attr.s(auto_attribs=True) -class FunctieItemgetResponseSchema: +class VehicleItemgetResponseSchema: """ """ - data: Union[Unset, FunctieItemgetResponseSchemaData] = UNSET + data: Union[Unset, VehicleItemgetResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, FunctieItemgetResponseSchemaData] = UNSET + data: Union[Unset, VehicleItemgetResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = FunctieItemgetResponseSchemaData.from_dict(_data) + data = VehicleItemgetResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - functie_itemget_response_schema = cls( + vehicle_itemget_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - functie_itemget_response_schema.additional_properties = d - return functie_itemget_response_schema + vehicle_itemget_response_schema.additional_properties = d + return vehicle_itemget_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_itemget_response_schema_data.py b/rentman_api_client/models/vehicle_itemget_response_schema_data.py similarity index 88% rename from rentman_api_client/models/voertuig_itemget_response_schema_data.py rename to rentman_api_client/models/vehicle_itemget_response_schema_data.py index 0339881..76706bc 100644 --- a/rentman_api_client/models/voertuig_itemget_response_schema_data.py +++ b/rentman_api_client/models/vehicle_itemget_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.voertuig_itemget_response_schema_data_custom import VoertuigItemgetResponseSchemaDataCustom -from ..models.voertuig_itemget_response_schema_data_multiple import VoertuigItemgetResponseSchemaDataMultiple +from ..models.vehicle_itemget_response_schema_data_custom import VehicleItemgetResponseSchemaDataCustom +from ..models.vehicle_itemget_response_schema_data_multiple import VehicleItemgetResponseSchemaDataMultiple from ..types import UNSET, Unset -T = TypeVar("T", bound="VoertuigItemgetResponseSchemaData") +T = TypeVar("T", bound="VehicleItemgetResponseSchemaData") @attr.s(auto_attribs=True) -class VoertuigItemgetResponseSchemaData: +class VehicleItemgetResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -33,12 +33,12 @@ class VoertuigItemgetResponseSchemaData: remark: Union[Unset, str] = UNSET payload_capacity: Union[Unset, float] = UNSET surface_area: Union[Unset, str] = UNSET - multiple: Union[Unset, VoertuigItemgetResponseSchemaDataMultiple] = UNSET + multiple: Union[Unset, VehicleItemgetResponseSchemaDataMultiple] = UNSET image: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET distance_cost: Union[Unset, float] = UNSET fixed_cost: Union[Unset, float] = UNSET - custom: Union[Unset, VoertuigItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, VehicleItemgetResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -177,10 +177,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: surface_area = d.pop("surface_area", UNSET) - multiple: Union[Unset, VoertuigItemgetResponseSchemaDataMultiple] = UNSET + multiple: Union[Unset, VehicleItemgetResponseSchemaDataMultiple] = UNSET _multiple = d.pop("multiple", UNSET) if not isinstance(_multiple, Unset): - multiple = VoertuigItemgetResponseSchemaDataMultiple(_multiple) + multiple = VehicleItemgetResponseSchemaDataMultiple(_multiple) image = d.pop("image", UNSET) @@ -190,12 +190,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: fixed_cost = d.pop("fixed_cost", UNSET) - custom: Union[Unset, VoertuigItemgetResponseSchemaDataCustom] = UNSET + custom: Union[Unset, VehicleItemgetResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = VoertuigItemgetResponseSchemaDataCustom.from_dict(_custom) + custom = VehicleItemgetResponseSchemaDataCustom.from_dict(_custom) - voertuig_itemget_response_schema_data = cls( + vehicle_itemget_response_schema_data = cls( id=id, created=created, modified=modified, @@ -222,8 +222,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - voertuig_itemget_response_schema_data.additional_properties = d - return voertuig_itemget_response_schema_data + vehicle_itemget_response_schema_data.additional_properties = d + return vehicle_itemget_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_itempost_response_schema_data_custom.py b/rentman_api_client/models/vehicle_itemget_response_schema_data_custom.py similarity index 78% rename from rentman_api_client/models/inhuur_itempost_response_schema_data_custom.py rename to rentman_api_client/models/vehicle_itemget_response_schema_data_custom.py index 99dd529..ac46ae8 100644 --- a/rentman_api_client/models/inhuur_itempost_response_schema_data_custom.py +++ b/rentman_api_client/models/vehicle_itemget_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="InhuurItempostResponseSchemaDataCustom") +T = TypeVar("T", bound="VehicleItemgetResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class InhuurItempostResponseSchemaDataCustom: +class VehicleItemgetResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - inhuur_itempost_response_schema_data_custom = cls() + vehicle_itemget_response_schema_data_custom = cls() - inhuur_itempost_response_schema_data_custom.additional_properties = d - return inhuur_itempost_response_schema_data_custom + vehicle_itemget_response_schema_data_custom.additional_properties = d + return vehicle_itemget_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/vehicle_itemget_response_schema_data_multiple.py b/rentman_api_client/models/vehicle_itemget_response_schema_data_multiple.py new file mode 100644 index 0000000..341d0ff --- /dev/null +++ b/rentman_api_client/models/vehicle_itemget_response_schema_data_multiple.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class VehicleItemgetResponseSchemaDataMultiple(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/voertuig_itemget_request_schema.py b/rentman_api_client/models/vehicle_itempost_request_schema.py similarity index 85% rename from rentman_api_client/models/voertuig_itemget_request_schema.py rename to rentman_api_client/models/vehicle_itempost_request_schema.py index 4299e7c..5e4648e 100644 --- a/rentman_api_client/models/voertuig_itemget_request_schema.py +++ b/rentman_api_client/models/vehicle_itempost_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.voertuig_itemget_request_schema_custom import VoertuigItemgetRequestSchemaCustom -from ..models.voertuig_itemget_request_schema_multiple import VoertuigItemgetRequestSchemaMultiple +from ..models.vehicle_itempost_request_schema_custom import VehicleItempostRequestSchemaCustom +from ..models.vehicle_itempost_request_schema_multiple import VehicleItempostRequestSchemaMultiple from ..types import UNSET, Unset -T = TypeVar("T", bound="VoertuigItemgetRequestSchema") +T = TypeVar("T", bound="VehicleItempostRequestSchema") @attr.s(auto_attribs=True) -class VoertuigItemgetRequestSchema: +class VehicleItempostRequestSchema: """ """ folder: Union[Unset, None, str] = UNSET @@ -26,9 +26,9 @@ class VoertuigItemgetRequestSchema: remark: Union[Unset, str] = UNSET payload_capacity: Union[Unset, float] = UNSET surface_area: Union[Unset, str] = UNSET - multiple: Union[Unset, VoertuigItemgetRequestSchemaMultiple] = UNSET + multiple: Union[Unset, VehicleItempostRequestSchemaMultiple] = UNSET image: Union[Unset, None, str] = UNSET - custom: Union[Unset, VoertuigItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, VehicleItempostRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -121,19 +121,19 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: surface_area = d.pop("surface_area", UNSET) - multiple: Union[Unset, VoertuigItemgetRequestSchemaMultiple] = UNSET + multiple: Union[Unset, VehicleItempostRequestSchemaMultiple] = UNSET _multiple = d.pop("multiple", UNSET) if not isinstance(_multiple, Unset): - multiple = VoertuigItemgetRequestSchemaMultiple(_multiple) + multiple = VehicleItempostRequestSchemaMultiple(_multiple) image = d.pop("image", UNSET) - custom: Union[Unset, VoertuigItemgetRequestSchemaCustom] = UNSET + custom: Union[Unset, VehicleItempostRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = VoertuigItemgetRequestSchemaCustom.from_dict(_custom) + custom = VehicleItempostRequestSchemaCustom.from_dict(_custom) - voertuig_itemget_request_schema = cls( + vehicle_itempost_request_schema = cls( folder=folder, name=name, cost_rate=cost_rate, @@ -152,8 +152,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - voertuig_itemget_request_schema.additional_properties = d - return voertuig_itemget_request_schema + vehicle_itempost_request_schema.additional_properties = d + return vehicle_itempost_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_itemget_request_schema_custom.py b/rentman_api_client/models/vehicle_itempost_request_schema_custom.py similarity index 79% rename from rentman_api_client/models/voertuig_itemget_request_schema_custom.py rename to rentman_api_client/models/vehicle_itempost_request_schema_custom.py index 24d6a57..4914839 100644 --- a/rentman_api_client/models/voertuig_itemget_request_schema_custom.py +++ b/rentman_api_client/models/vehicle_itempost_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="VoertuigItemgetRequestSchemaCustom") +T = TypeVar("T", bound="VehicleItempostRequestSchemaCustom") @attr.s(auto_attribs=True) -class VoertuigItemgetRequestSchemaCustom: +class VehicleItempostRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - voertuig_itemget_request_schema_custom = cls() + vehicle_itempost_request_schema_custom = cls() - voertuig_itemget_request_schema_custom.additional_properties = d - return voertuig_itemget_request_schema_custom + vehicle_itempost_request_schema_custom.additional_properties = d + return vehicle_itempost_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/vehicle_itempost_request_schema_multiple.py b/rentman_api_client/models/vehicle_itempost_request_schema_multiple.py new file mode 100644 index 0000000..16d9703 --- /dev/null +++ b/rentman_api_client/models/vehicle_itempost_request_schema_multiple.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class VehicleItempostRequestSchemaMultiple(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/afspraak_itemget_response_schema.py b/rentman_api_client/models/vehicle_itempost_response_schema.py similarity index 78% rename from rentman_api_client/models/afspraak_itemget_response_schema.py rename to rentman_api_client/models/vehicle_itempost_response_schema.py index 900f12b..38c15c7 100644 --- a/rentman_api_client/models/afspraak_itemget_response_schema.py +++ b/rentman_api_client/models/vehicle_itempost_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.afspraak_itemget_response_schema_data import AfspraakItemgetResponseSchemaData +from ..models.vehicle_itempost_response_schema_data import VehicleItempostResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="AfspraakItemgetResponseSchema") +T = TypeVar("T", bound="VehicleItempostResponseSchema") @attr.s(auto_attribs=True) -class AfspraakItemgetResponseSchema: +class VehicleItempostResponseSchema: """ """ - data: Union[Unset, AfspraakItemgetResponseSchemaData] = UNSET + data: Union[Unset, VehicleItempostResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, AfspraakItemgetResponseSchemaData] = UNSET + data: Union[Unset, VehicleItempostResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = AfspraakItemgetResponseSchemaData.from_dict(_data) + data = VehicleItempostResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - afspraak_itemget_response_schema = cls( + vehicle_itempost_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - afspraak_itemget_response_schema.additional_properties = d - return afspraak_itemget_response_schema + vehicle_itempost_response_schema.additional_properties = d + return vehicle_itempost_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_itemput_response_schema_data.py b/rentman_api_client/models/vehicle_itempost_response_schema_data.py similarity index 89% rename from rentman_api_client/models/voertuig_itemput_response_schema_data.py rename to rentman_api_client/models/vehicle_itempost_response_schema_data.py index d353d85..7960bca 100644 --- a/rentman_api_client/models/voertuig_itemput_response_schema_data.py +++ b/rentman_api_client/models/vehicle_itempost_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.voertuig_itemput_response_schema_data_custom import VoertuigItemputResponseSchemaDataCustom -from ..models.voertuig_itemput_response_schema_data_multiple import VoertuigItemputResponseSchemaDataMultiple +from ..models.vehicle_itempost_response_schema_data_custom import VehicleItempostResponseSchemaDataCustom +from ..models.vehicle_itempost_response_schema_data_multiple import VehicleItempostResponseSchemaDataMultiple from ..types import UNSET, Unset -T = TypeVar("T", bound="VoertuigItemputResponseSchemaData") +T = TypeVar("T", bound="VehicleItempostResponseSchemaData") @attr.s(auto_attribs=True) -class VoertuigItemputResponseSchemaData: +class VehicleItempostResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -33,12 +33,12 @@ class VoertuigItemputResponseSchemaData: remark: Union[Unset, str] = UNSET payload_capacity: Union[Unset, float] = UNSET surface_area: Union[Unset, str] = UNSET - multiple: Union[Unset, VoertuigItemputResponseSchemaDataMultiple] = UNSET + multiple: Union[Unset, VehicleItempostResponseSchemaDataMultiple] = UNSET image: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET distance_cost: Union[Unset, float] = UNSET fixed_cost: Union[Unset, float] = UNSET - custom: Union[Unset, VoertuigItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, VehicleItempostResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -177,10 +177,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: surface_area = d.pop("surface_area", UNSET) - multiple: Union[Unset, VoertuigItemputResponseSchemaDataMultiple] = UNSET + multiple: Union[Unset, VehicleItempostResponseSchemaDataMultiple] = UNSET _multiple = d.pop("multiple", UNSET) if not isinstance(_multiple, Unset): - multiple = VoertuigItemputResponseSchemaDataMultiple(_multiple) + multiple = VehicleItempostResponseSchemaDataMultiple(_multiple) image = d.pop("image", UNSET) @@ -190,12 +190,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: fixed_cost = d.pop("fixed_cost", UNSET) - custom: Union[Unset, VoertuigItemputResponseSchemaDataCustom] = UNSET + custom: Union[Unset, VehicleItempostResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = VoertuigItemputResponseSchemaDataCustom.from_dict(_custom) + custom = VehicleItempostResponseSchemaDataCustom.from_dict(_custom) - voertuig_itemput_response_schema_data = cls( + vehicle_itempost_response_schema_data = cls( id=id, created=created, modified=modified, @@ -222,8 +222,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - voertuig_itemput_response_schema_data.additional_properties = d - return voertuig_itemput_response_schema_data + vehicle_itempost_response_schema_data.additional_properties = d + return vehicle_itempost_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_itemget_response_schema_data_custom.py b/rentman_api_client/models/vehicle_itempost_response_schema_data_custom.py similarity index 78% rename from rentman_api_client/models/voertuig_itemget_response_schema_data_custom.py rename to rentman_api_client/models/vehicle_itempost_response_schema_data_custom.py index 12b0d74..1069acb 100644 --- a/rentman_api_client/models/voertuig_itemget_response_schema_data_custom.py +++ b/rentman_api_client/models/vehicle_itempost_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="VoertuigItemgetResponseSchemaDataCustom") +T = TypeVar("T", bound="VehicleItempostResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class VoertuigItemgetResponseSchemaDataCustom: +class VehicleItempostResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - voertuig_itemget_response_schema_data_custom = cls() + vehicle_itempost_response_schema_data_custom = cls() - voertuig_itemget_response_schema_data_custom.additional_properties = d - return voertuig_itemget_response_schema_data_custom + vehicle_itempost_response_schema_data_custom.additional_properties = d + return vehicle_itempost_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/vehicle_itempost_response_schema_data_multiple.py b/rentman_api_client/models/vehicle_itempost_response_schema_data_multiple.py new file mode 100644 index 0000000..826f2a5 --- /dev/null +++ b/rentman_api_client/models/vehicle_itempost_response_schema_data_multiple.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class VehicleItempostResponseSchemaDataMultiple(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/voertuig_itempost_request_schema.py b/rentman_api_client/models/vehicle_itemput_request_schema.py similarity index 84% rename from rentman_api_client/models/voertuig_itempost_request_schema.py rename to rentman_api_client/models/vehicle_itemput_request_schema.py index 3fe47ad..ba9664b 100644 --- a/rentman_api_client/models/voertuig_itempost_request_schema.py +++ b/rentman_api_client/models/vehicle_itemput_request_schema.py @@ -2,15 +2,15 @@ import attr -from ..models.voertuig_itempost_request_schema_custom import VoertuigItempostRequestSchemaCustom -from ..models.voertuig_itempost_request_schema_multiple import VoertuigItempostRequestSchemaMultiple +from ..models.vehicle_itemput_request_schema_custom import VehicleItemputRequestSchemaCustom +from ..models.vehicle_itemput_request_schema_multiple import VehicleItemputRequestSchemaMultiple from ..types import UNSET, Unset -T = TypeVar("T", bound="VoertuigItempostRequestSchema") +T = TypeVar("T", bound="VehicleItemputRequestSchema") @attr.s(auto_attribs=True) -class VoertuigItempostRequestSchema: +class VehicleItemputRequestSchema: """ """ folder: Union[Unset, None, str] = UNSET @@ -26,9 +26,9 @@ class VoertuigItempostRequestSchema: remark: Union[Unset, str] = UNSET payload_capacity: Union[Unset, float] = UNSET surface_area: Union[Unset, str] = UNSET - multiple: Union[Unset, VoertuigItempostRequestSchemaMultiple] = UNSET + multiple: Union[Unset, VehicleItemputRequestSchemaMultiple] = UNSET image: Union[Unset, None, str] = UNSET - custom: Union[Unset, VoertuigItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, VehicleItemputRequestSchemaCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -121,19 +121,19 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: surface_area = d.pop("surface_area", UNSET) - multiple: Union[Unset, VoertuigItempostRequestSchemaMultiple] = UNSET + multiple: Union[Unset, VehicleItemputRequestSchemaMultiple] = UNSET _multiple = d.pop("multiple", UNSET) if not isinstance(_multiple, Unset): - multiple = VoertuigItempostRequestSchemaMultiple(_multiple) + multiple = VehicleItemputRequestSchemaMultiple(_multiple) image = d.pop("image", UNSET) - custom: Union[Unset, VoertuigItempostRequestSchemaCustom] = UNSET + custom: Union[Unset, VehicleItemputRequestSchemaCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = VoertuigItempostRequestSchemaCustom.from_dict(_custom) + custom = VehicleItemputRequestSchemaCustom.from_dict(_custom) - voertuig_itempost_request_schema = cls( + vehicle_itemput_request_schema = cls( folder=folder, name=name, cost_rate=cost_rate, @@ -152,8 +152,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - voertuig_itempost_request_schema.additional_properties = d - return voertuig_itempost_request_schema + vehicle_itemput_request_schema.additional_properties = d + return vehicle_itemput_request_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/inhuur_itempost_request_schema_custom.py b/rentman_api_client/models/vehicle_itemput_request_schema_custom.py similarity index 79% rename from rentman_api_client/models/inhuur_itempost_request_schema_custom.py rename to rentman_api_client/models/vehicle_itemput_request_schema_custom.py index b94730a..ca3a12b 100644 --- a/rentman_api_client/models/inhuur_itempost_request_schema_custom.py +++ b/rentman_api_client/models/vehicle_itemput_request_schema_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="InhuurItempostRequestSchemaCustom") +T = TypeVar("T", bound="VehicleItemputRequestSchemaCustom") @attr.s(auto_attribs=True) -class InhuurItempostRequestSchemaCustom: +class VehicleItemputRequestSchemaCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - inhuur_itempost_request_schema_custom = cls() + vehicle_itemput_request_schema_custom = cls() - inhuur_itempost_request_schema_custom.additional_properties = d - return inhuur_itempost_request_schema_custom + vehicle_itemput_request_schema_custom.additional_properties = d + return vehicle_itemput_request_schema_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/vehicle_itemput_request_schema_multiple.py b/rentman_api_client/models/vehicle_itemput_request_schema_multiple.py new file mode 100644 index 0000000..78548a2 --- /dev/null +++ b/rentman_api_client/models/vehicle_itemput_request_schema_multiple.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class VehicleItemputRequestSchemaMultiple(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/factuur_itemget_response_schema.py b/rentman_api_client/models/vehicle_itemput_response_schema.py similarity index 79% rename from rentman_api_client/models/factuur_itemget_response_schema.py rename to rentman_api_client/models/vehicle_itemput_response_schema.py index e82bb82..465cd5e 100644 --- a/rentman_api_client/models/factuur_itemget_response_schema.py +++ b/rentman_api_client/models/vehicle_itemput_response_schema.py @@ -2,17 +2,17 @@ import attr -from ..models.factuur_itemget_response_schema_data import FactuurItemgetResponseSchemaData +from ..models.vehicle_itemput_response_schema_data import VehicleItemputResponseSchemaData from ..types import UNSET, Unset -T = TypeVar("T", bound="FactuurItemgetResponseSchema") +T = TypeVar("T", bound="VehicleItemputResponseSchema") @attr.s(auto_attribs=True) -class FactuurItemgetResponseSchema: +class VehicleItemputResponseSchema: """ """ - data: Union[Unset, FactuurItemgetResponseSchemaData] = UNSET + data: Union[Unset, VehicleItemputResponseSchemaData] = UNSET item_count: Union[Unset, float] = UNSET limit: Union[Unset, float] = UNSET offset: Union[Unset, float] = UNSET @@ -44,10 +44,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - data: Union[Unset, FactuurItemgetResponseSchemaData] = UNSET + data: Union[Unset, VehicleItemputResponseSchemaData] = UNSET _data = d.pop("data", UNSET) if not isinstance(_data, Unset): - data = FactuurItemgetResponseSchemaData.from_dict(_data) + data = VehicleItemputResponseSchemaData.from_dict(_data) item_count = d.pop("itemCount", UNSET) @@ -55,15 +55,15 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: offset = d.pop("offset", UNSET) - factuur_itemget_response_schema = cls( + vehicle_itemput_response_schema = cls( data=data, item_count=item_count, limit=limit, offset=offset, ) - factuur_itemget_response_schema.additional_properties = d - return factuur_itemget_response_schema + vehicle_itemput_response_schema.additional_properties = d + return vehicle_itemput_response_schema @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/voertuig_itempost_response_schema_data.py b/rentman_api_client/models/vehicle_itemput_response_schema_data.py similarity index 88% rename from rentman_api_client/models/voertuig_itempost_response_schema_data.py rename to rentman_api_client/models/vehicle_itemput_response_schema_data.py index 7d200ff..6572648 100644 --- a/rentman_api_client/models/voertuig_itempost_response_schema_data.py +++ b/rentman_api_client/models/vehicle_itemput_response_schema_data.py @@ -4,15 +4,15 @@ import attr from dateutil.parser import isoparse -from ..models.voertuig_itempost_response_schema_data_custom import VoertuigItempostResponseSchemaDataCustom -from ..models.voertuig_itempost_response_schema_data_multiple import VoertuigItempostResponseSchemaDataMultiple +from ..models.vehicle_itemput_response_schema_data_custom import VehicleItemputResponseSchemaDataCustom +from ..models.vehicle_itemput_response_schema_data_multiple import VehicleItemputResponseSchemaDataMultiple from ..types import UNSET, Unset -T = TypeVar("T", bound="VoertuigItempostResponseSchemaData") +T = TypeVar("T", bound="VehicleItemputResponseSchemaData") @attr.s(auto_attribs=True) -class VoertuigItempostResponseSchemaData: +class VehicleItemputResponseSchemaData: """All the data about the requested items""" id: Union[Unset, int] = UNSET @@ -33,12 +33,12 @@ class VoertuigItempostResponseSchemaData: remark: Union[Unset, str] = UNSET payload_capacity: Union[Unset, float] = UNSET surface_area: Union[Unset, str] = UNSET - multiple: Union[Unset, VoertuigItempostResponseSchemaDataMultiple] = UNSET + multiple: Union[Unset, VehicleItemputResponseSchemaDataMultiple] = UNSET image: Union[Unset, None, str] = UNSET tags: Union[Unset, str] = UNSET distance_cost: Union[Unset, float] = UNSET fixed_cost: Union[Unset, float] = UNSET - custom: Union[Unset, VoertuigItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, VehicleItemputResponseSchemaDataCustom] = UNSET additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -177,10 +177,10 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: surface_area = d.pop("surface_area", UNSET) - multiple: Union[Unset, VoertuigItempostResponseSchemaDataMultiple] = UNSET + multiple: Union[Unset, VehicleItemputResponseSchemaDataMultiple] = UNSET _multiple = d.pop("multiple", UNSET) if not isinstance(_multiple, Unset): - multiple = VoertuigItempostResponseSchemaDataMultiple(_multiple) + multiple = VehicleItemputResponseSchemaDataMultiple(_multiple) image = d.pop("image", UNSET) @@ -190,12 +190,12 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: fixed_cost = d.pop("fixed_cost", UNSET) - custom: Union[Unset, VoertuigItempostResponseSchemaDataCustom] = UNSET + custom: Union[Unset, VehicleItemputResponseSchemaDataCustom] = UNSET _custom = d.pop("custom", UNSET) if not isinstance(_custom, Unset): - custom = VoertuigItempostResponseSchemaDataCustom.from_dict(_custom) + custom = VehicleItemputResponseSchemaDataCustom.from_dict(_custom) - voertuig_itempost_response_schema_data = cls( + vehicle_itemput_response_schema_data = cls( id=id, created=created, modified=modified, @@ -222,8 +222,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: custom=custom, ) - voertuig_itempost_response_schema_data.additional_properties = d - return voertuig_itempost_response_schema_data + vehicle_itemput_response_schema_data.additional_properties = d + return vehicle_itemput_response_schema_data @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/person_itempost_response_schema_data_custom.py b/rentman_api_client/models/vehicle_itemput_response_schema_data_custom.py similarity index 78% rename from rentman_api_client/models/person_itempost_response_schema_data_custom.py rename to rentman_api_client/models/vehicle_itemput_response_schema_data_custom.py index 7285518..ae8efac 100644 --- a/rentman_api_client/models/person_itempost_response_schema_data_custom.py +++ b/rentman_api_client/models/vehicle_itemput_response_schema_data_custom.py @@ -2,11 +2,11 @@ import attr -T = TypeVar("T", bound="PersonItempostResponseSchemaDataCustom") +T = TypeVar("T", bound="VehicleItemputResponseSchemaDataCustom") @attr.s(auto_attribs=True) -class PersonItempostResponseSchemaDataCustom: +class VehicleItemputResponseSchemaDataCustom: """The object containing all custom defined fields.""" additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) @@ -22,10 +22,10 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: d = src_dict.copy() - person_itempost_response_schema_data_custom = cls() + vehicle_itemput_response_schema_data_custom = cls() - person_itempost_response_schema_data_custom.additional_properties = d - return person_itempost_response_schema_data_custom + vehicle_itemput_response_schema_data_custom.additional_properties = d + return vehicle_itemput_response_schema_data_custom @property def additional_keys(self) -> List[str]: diff --git a/rentman_api_client/models/vehicle_itemput_response_schema_data_multiple.py b/rentman_api_client/models/vehicle_itemput_response_schema_data_multiple.py new file mode 100644 index 0000000..d5aeb89 --- /dev/null +++ b/rentman_api_client/models/vehicle_itemput_response_schema_data_multiple.py @@ -0,0 +1,9 @@ +from enum import IntEnum + + +class VehicleItemputResponseSchemaDataMultiple(IntEnum): + VALUE_0 = 0 + VALUE_1 = 1 + + def __str__(self) -> str: + return str(self.value) diff --git a/rentman_api_client/models/voertuig_collectionget_response_schema.py b/rentman_api_client/models/voertuig_collectionget_response_schema.py deleted file mode 100644 index d91338a..0000000 --- a/rentman_api_client/models/voertuig_collectionget_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voertuig_collectionget_response_schema_data_item import VoertuigCollectiongetResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoertuigCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class VoertuigCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[VoertuigCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = VoertuigCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voertuig_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voertuig_collectionget_response_schema.additional_properties = d - return voertuig_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_collectionpost_response_schema.py b/rentman_api_client/models/voertuig_collectionpost_response_schema.py deleted file mode 100644 index 11feb09..0000000 --- a/rentman_api_client/models/voertuig_collectionpost_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voertuig_collectionpost_response_schema_data_item import VoertuigCollectionpostResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoertuigCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class VoertuigCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[VoertuigCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = VoertuigCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voertuig_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voertuig_collectionpost_response_schema.additional_properties = d - return voertuig_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_collectionpost_response_schema_data_item.py b/rentman_api_client/models/voertuig_collectionpost_response_schema_data_item.py deleted file mode 100644 index bbef022..0000000 --- a/rentman_api_client/models/voertuig_collectionpost_response_schema_data_item.py +++ /dev/null @@ -1,246 +0,0 @@ -import datetime -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr -from dateutil.parser import isoparse - -from ..models.voertuig_collectionpost_response_schema_data_item_custom import ( - VoertuigCollectionpostResponseSchemaDataItemCustom, -) -from ..models.voertuig_collectionpost_response_schema_data_item_multiple import ( - VoertuigCollectionpostResponseSchemaDataItemMultiple, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoertuigCollectionpostResponseSchemaDataItem") - - -@attr.s(auto_attribs=True) -class VoertuigCollectionpostResponseSchemaDataItem: - """ """ - - id: Union[Unset, int] = UNSET - created: Union[Unset, None, datetime.datetime] = UNSET - modified: Union[Unset, None, datetime.datetime] = UNSET - creator: Union[Unset, None, str] = UNSET - displayname: Union[Unset, str] = UNSET - folder: Union[Unset, None, str] = UNSET - name: Union[Unset, str] = UNSET - cost_rate: Union[Unset, None, str] = UNSET - in_planner: Union[Unset, bool] = UNSET - height: Union[Unset, float] = UNSET - length: Union[Unset, float] = UNSET - width: Union[Unset, float] = UNSET - seats: Union[Unset, int] = UNSET - inspection_date: Union[Unset, None, str] = UNSET - licenseplate: Union[Unset, str] = UNSET - remark: Union[Unset, str] = UNSET - payload_capacity: Union[Unset, float] = UNSET - surface_area: Union[Unset, str] = UNSET - multiple: Union[Unset, VoertuigCollectionpostResponseSchemaDataItemMultiple] = UNSET - image: Union[Unset, None, str] = UNSET - tags: Union[Unset, str] = UNSET - distance_cost: Union[Unset, float] = UNSET - fixed_cost: Union[Unset, float] = UNSET - custom: Union[Unset, VoertuigCollectionpostResponseSchemaDataItemCustom] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - id = self.id - created: Union[Unset, None, str] = UNSET - if not isinstance(self.created, Unset): - created = self.created.isoformat() if self.created else None - - modified: Union[Unset, None, str] = UNSET - if not isinstance(self.modified, Unset): - modified = self.modified.isoformat() if self.modified else None - - creator = self.creator - displayname = self.displayname - folder = self.folder - name = self.name - cost_rate = self.cost_rate - in_planner = self.in_planner - height = self.height - length = self.length - width = self.width - seats = self.seats - inspection_date = self.inspection_date - licenseplate = self.licenseplate - remark = self.remark - payload_capacity = self.payload_capacity - surface_area = self.surface_area - multiple: Union[Unset, int] = UNSET - if not isinstance(self.multiple, Unset): - multiple = self.multiple.value - - image = self.image - tags = self.tags - distance_cost = self.distance_cost - fixed_cost = self.fixed_cost - custom: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.custom, Unset): - custom = self.custom.to_dict() - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if id is not UNSET: - field_dict["id"] = id - if created is not UNSET: - field_dict["created"] = created - if modified is not UNSET: - field_dict["modified"] = modified - if creator is not UNSET: - field_dict["creator"] = creator - if displayname is not UNSET: - field_dict["displayname"] = displayname - if folder is not UNSET: - field_dict["folder"] = folder - if name is not UNSET: - field_dict["name"] = name - if cost_rate is not UNSET: - field_dict["cost_rate"] = cost_rate - if in_planner is not UNSET: - field_dict["in_planner"] = in_planner - if height is not UNSET: - field_dict["height"] = height - if length is not UNSET: - field_dict["length"] = length - if width is not UNSET: - field_dict["width"] = width - if seats is not UNSET: - field_dict["seats"] = seats - if inspection_date is not UNSET: - field_dict["inspection_date"] = inspection_date - if licenseplate is not UNSET: - field_dict["licenseplate"] = licenseplate - if remark is not UNSET: - field_dict["remark"] = remark - if payload_capacity is not UNSET: - field_dict["payload_capacity"] = payload_capacity - if surface_area is not UNSET: - field_dict["surface_area"] = surface_area - if multiple is not UNSET: - field_dict["multiple"] = multiple - if image is not UNSET: - field_dict["image"] = image - if tags is not UNSET: - field_dict["tags"] = tags - if distance_cost is not UNSET: - field_dict["distance_cost"] = distance_cost - if fixed_cost is not UNSET: - field_dict["fixed_cost"] = fixed_cost - if custom is not UNSET: - field_dict["custom"] = custom - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - id = d.pop("id", UNSET) - - created = None - _created = d.pop("created", UNSET) - if _created is not None and not isinstance(_created, Unset): - created = isoparse(_created) - - modified = None - _modified = d.pop("modified", UNSET) - if _modified is not None and not isinstance(_modified, Unset): - modified = isoparse(_modified) - - creator = d.pop("creator", UNSET) - - displayname = d.pop("displayname", UNSET) - - folder = d.pop("folder", UNSET) - - name = d.pop("name", UNSET) - - cost_rate = d.pop("cost_rate", UNSET) - - in_planner = d.pop("in_planner", UNSET) - - height = d.pop("height", UNSET) - - length = d.pop("length", UNSET) - - width = d.pop("width", UNSET) - - seats = d.pop("seats", UNSET) - - inspection_date = d.pop("inspection_date", UNSET) - - licenseplate = d.pop("licenseplate", UNSET) - - remark = d.pop("remark", UNSET) - - payload_capacity = d.pop("payload_capacity", UNSET) - - surface_area = d.pop("surface_area", UNSET) - - multiple: Union[Unset, VoertuigCollectionpostResponseSchemaDataItemMultiple] = UNSET - _multiple = d.pop("multiple", UNSET) - if not isinstance(_multiple, Unset): - multiple = VoertuigCollectionpostResponseSchemaDataItemMultiple(_multiple) - - image = d.pop("image", UNSET) - - tags = d.pop("tags", UNSET) - - distance_cost = d.pop("distance_cost", UNSET) - - fixed_cost = d.pop("fixed_cost", UNSET) - - custom: Union[Unset, VoertuigCollectionpostResponseSchemaDataItemCustom] = UNSET - _custom = d.pop("custom", UNSET) - if not isinstance(_custom, Unset): - custom = VoertuigCollectionpostResponseSchemaDataItemCustom.from_dict(_custom) - - voertuig_collectionpost_response_schema_data_item = cls( - id=id, - created=created, - modified=modified, - creator=creator, - displayname=displayname, - folder=folder, - name=name, - cost_rate=cost_rate, - in_planner=in_planner, - height=height, - length=length, - width=width, - seats=seats, - inspection_date=inspection_date, - licenseplate=licenseplate, - remark=remark, - payload_capacity=payload_capacity, - surface_area=surface_area, - multiple=multiple, - image=image, - tags=tags, - distance_cost=distance_cost, - fixed_cost=fixed_cost, - custom=custom, - ) - - voertuig_collectionpost_response_schema_data_item.additional_properties = d - return voertuig_collectionpost_response_schema_data_item - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_collectionpost_response_schema_data_item_custom.py b/rentman_api_client/models/voertuig_collectionpost_response_schema_data_item_custom.py deleted file mode 100644 index 9177eb9..0000000 --- a/rentman_api_client/models/voertuig_collectionpost_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="VoertuigCollectionpostResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class VoertuigCollectionpostResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - voertuig_collectionpost_response_schema_data_item_custom = cls() - - voertuig_collectionpost_response_schema_data_item_custom.additional_properties = d - return voertuig_collectionpost_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_collectionpost_response_schema_data_item_multiple.py b/rentman_api_client/models/voertuig_collectionpost_response_schema_data_item_multiple.py deleted file mode 100644 index cd6840c..0000000 --- a/rentman_api_client/models/voertuig_collectionpost_response_schema_data_item_multiple.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class VoertuigCollectionpostResponseSchemaDataItemMultiple(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/voertuig_collectionput_response_schema.py b/rentman_api_client/models/voertuig_collectionput_response_schema.py deleted file mode 100644 index 52ed57b..0000000 --- a/rentman_api_client/models/voertuig_collectionput_response_schema.py +++ /dev/null @@ -1,88 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voertuig_collectionput_response_schema_data_item import VoertuigCollectionputResponseSchemaDataItem -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoertuigCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class VoertuigCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[VoertuigCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = VoertuigCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voertuig_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voertuig_collectionput_response_schema.additional_properties = d - return voertuig_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_collectionput_response_schema_data_item_custom.py b/rentman_api_client/models/voertuig_collectionput_response_schema_data_item_custom.py deleted file mode 100644 index d223ad8..0000000 --- a/rentman_api_client/models/voertuig_collectionput_response_schema_data_item_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="VoertuigCollectionputResponseSchemaDataItemCustom") - - -@attr.s(auto_attribs=True) -class VoertuigCollectionputResponseSchemaDataItemCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - voertuig_collectionput_response_schema_data_item_custom = cls() - - voertuig_collectionput_response_schema_data_item_custom.additional_properties = d - return voertuig_collectionput_response_schema_data_item_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_collectionput_response_schema_data_item_multiple.py b/rentman_api_client/models/voertuig_collectionput_response_schema_data_item_multiple.py deleted file mode 100644 index aa40255..0000000 --- a/rentman_api_client/models/voertuig_collectionput_response_schema_data_item_multiple.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class VoertuigCollectionputResponseSchemaDataItemMultiple(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/voertuig_itemget_response_schema.py b/rentman_api_client/models/voertuig_itemget_response_schema.py deleted file mode 100644 index d2cc843..0000000 --- a/rentman_api_client/models/voertuig_itemget_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voertuig_itemget_response_schema_data import VoertuigItemgetResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoertuigItemgetResponseSchema") - - -@attr.s(auto_attribs=True) -class VoertuigItemgetResponseSchema: - """ """ - - data: Union[Unset, VoertuigItemgetResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, VoertuigItemgetResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = VoertuigItemgetResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voertuig_itemget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voertuig_itemget_response_schema.additional_properties = d - return voertuig_itemget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_itemget_response_schema_data_multiple.py b/rentman_api_client/models/voertuig_itemget_response_schema_data_multiple.py deleted file mode 100644 index 741f451..0000000 --- a/rentman_api_client/models/voertuig_itemget_response_schema_data_multiple.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class VoertuigItemgetResponseSchemaDataMultiple(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/voertuig_itempost_request_schema_custom.py b/rentman_api_client/models/voertuig_itempost_request_schema_custom.py deleted file mode 100644 index 536c347..0000000 --- a/rentman_api_client/models/voertuig_itempost_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="VoertuigItempostRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class VoertuigItempostRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - voertuig_itempost_request_schema_custom = cls() - - voertuig_itempost_request_schema_custom.additional_properties = d - return voertuig_itempost_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_itempost_request_schema_multiple.py b/rentman_api_client/models/voertuig_itempost_request_schema_multiple.py deleted file mode 100644 index 38c8062..0000000 --- a/rentman_api_client/models/voertuig_itempost_request_schema_multiple.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class VoertuigItempostRequestSchemaMultiple(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/voertuig_itempost_response_schema.py b/rentman_api_client/models/voertuig_itempost_response_schema.py deleted file mode 100644 index 79526ba..0000000 --- a/rentman_api_client/models/voertuig_itempost_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voertuig_itempost_response_schema_data import VoertuigItempostResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoertuigItempostResponseSchema") - - -@attr.s(auto_attribs=True) -class VoertuigItempostResponseSchema: - """ """ - - data: Union[Unset, VoertuigItempostResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, VoertuigItempostResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = VoertuigItempostResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voertuig_itempost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voertuig_itempost_response_schema.additional_properties = d - return voertuig_itempost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_itempost_response_schema_data_custom.py b/rentman_api_client/models/voertuig_itempost_response_schema_data_custom.py deleted file mode 100644 index 3c2c579..0000000 --- a/rentman_api_client/models/voertuig_itempost_response_schema_data_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="VoertuigItempostResponseSchemaDataCustom") - - -@attr.s(auto_attribs=True) -class VoertuigItempostResponseSchemaDataCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - voertuig_itempost_response_schema_data_custom = cls() - - voertuig_itempost_response_schema_data_custom.additional_properties = d - return voertuig_itempost_response_schema_data_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_itempost_response_schema_data_multiple.py b/rentman_api_client/models/voertuig_itempost_response_schema_data_multiple.py deleted file mode 100644 index cead8dc..0000000 --- a/rentman_api_client/models/voertuig_itempost_response_schema_data_multiple.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class VoertuigItempostResponseSchemaDataMultiple(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/voertuig_itemput_request_schema_custom.py b/rentman_api_client/models/voertuig_itemput_request_schema_custom.py deleted file mode 100644 index a9a8382..0000000 --- a/rentman_api_client/models/voertuig_itemput_request_schema_custom.py +++ /dev/null @@ -1,44 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -import attr - -T = TypeVar("T", bound="VoertuigItemputRequestSchemaCustom") - - -@attr.s(auto_attribs=True) -class VoertuigItemputRequestSchemaCustom: - """The object containing all custom defined fields.""" - - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - voertuig_itemput_request_schema_custom = cls() - - voertuig_itemput_request_schema_custom.additional_properties = d - return voertuig_itemput_request_schema_custom - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_itemput_response_schema.py b/rentman_api_client/models/voertuig_itemput_response_schema.py deleted file mode 100644 index c61c143..0000000 --- a/rentman_api_client/models/voertuig_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voertuig_itemput_response_schema_data import VoertuigItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoertuigItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class VoertuigItemputResponseSchema: - """ """ - - data: Union[Unset, VoertuigItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, VoertuigItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = VoertuigItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voertuig_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voertuig_itemput_response_schema.additional_properties = d - return voertuig_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voertuig_itemput_response_schema_data_multiple.py b/rentman_api_client/models/voertuig_itemput_response_schema_data_multiple.py deleted file mode 100644 index 46e3dc5..0000000 --- a/rentman_api_client/models/voertuig_itemput_response_schema_data_multiple.py +++ /dev/null @@ -1,9 +0,0 @@ -from enum import IntEnum - - -class VoertuigItemputResponseSchemaDataMultiple(IntEnum): - VALUE_0 = 0 - VALUE_1 = 1 - - def __str__(self) -> str: - return str(self.value) diff --git a/rentman_api_client/models/voorraadmutatie_collectionget_response_schema.py b/rentman_api_client/models/voorraadmutatie_collectionget_response_schema.py deleted file mode 100644 index 9ede6ae..0000000 --- a/rentman_api_client/models/voorraadmutatie_collectionget_response_schema.py +++ /dev/null @@ -1,90 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voorraadmutatie_collectionget_response_schema_data_item import ( - VoorraadmutatieCollectiongetResponseSchemaDataItem, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoorraadmutatieCollectiongetResponseSchema") - - -@attr.s(auto_attribs=True) -class VoorraadmutatieCollectiongetResponseSchema: - """ """ - - data: Union[Unset, List[VoorraadmutatieCollectiongetResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = VoorraadmutatieCollectiongetResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voorraadmutatie_collectionget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voorraadmutatie_collectionget_response_schema.additional_properties = d - return voorraadmutatie_collectionget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_collectionpost_response_schema.py b/rentman_api_client/models/voorraadmutatie_collectionpost_response_schema.py deleted file mode 100644 index ad28041..0000000 --- a/rentman_api_client/models/voorraadmutatie_collectionpost_response_schema.py +++ /dev/null @@ -1,90 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voorraadmutatie_collectionpost_response_schema_data_item import ( - VoorraadmutatieCollectionpostResponseSchemaDataItem, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoorraadmutatieCollectionpostResponseSchema") - - -@attr.s(auto_attribs=True) -class VoorraadmutatieCollectionpostResponseSchema: - """ """ - - data: Union[Unset, List[VoorraadmutatieCollectionpostResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = VoorraadmutatieCollectionpostResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voorraadmutatie_collectionpost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voorraadmutatie_collectionpost_response_schema.additional_properties = d - return voorraadmutatie_collectionpost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_collectionput_response_schema.py b/rentman_api_client/models/voorraadmutatie_collectionput_response_schema.py deleted file mode 100644 index 6a315a6..0000000 --- a/rentman_api_client/models/voorraadmutatie_collectionput_response_schema.py +++ /dev/null @@ -1,90 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voorraadmutatie_collectionput_response_schema_data_item import ( - VoorraadmutatieCollectionputResponseSchemaDataItem, -) -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoorraadmutatieCollectionputResponseSchema") - - -@attr.s(auto_attribs=True) -class VoorraadmutatieCollectionputResponseSchema: - """ """ - - data: Union[Unset, List[VoorraadmutatieCollectionputResponseSchemaDataItem]] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, List[Dict[str, Any]]] = UNSET - if not isinstance(self.data, Unset): - data = [] - for data_item_data in self.data: - data_item = data_item_data.to_dict() - - data.append(data_item) - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data = [] - _data = d.pop("data", UNSET) - for data_item_data in _data or []: - data_item = VoorraadmutatieCollectionputResponseSchemaDataItem.from_dict(data_item_data) - - data.append(data_item) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voorraadmutatie_collectionput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voorraadmutatie_collectionput_response_schema.additional_properties = d - return voorraadmutatie_collectionput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_itemget_response_schema.py b/rentman_api_client/models/voorraadmutatie_itemget_response_schema.py deleted file mode 100644 index 31e9278..0000000 --- a/rentman_api_client/models/voorraadmutatie_itemget_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voorraadmutatie_itemget_response_schema_data import VoorraadmutatieItemgetResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoorraadmutatieItemgetResponseSchema") - - -@attr.s(auto_attribs=True) -class VoorraadmutatieItemgetResponseSchema: - """ """ - - data: Union[Unset, VoorraadmutatieItemgetResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, VoorraadmutatieItemgetResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = VoorraadmutatieItemgetResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voorraadmutatie_itemget_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voorraadmutatie_itemget_response_schema.additional_properties = d - return voorraadmutatie_itemget_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_itempost_response_schema.py b/rentman_api_client/models/voorraadmutatie_itempost_response_schema.py deleted file mode 100644 index 4057613..0000000 --- a/rentman_api_client/models/voorraadmutatie_itempost_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voorraadmutatie_itempost_response_schema_data import VoorraadmutatieItempostResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoorraadmutatieItempostResponseSchema") - - -@attr.s(auto_attribs=True) -class VoorraadmutatieItempostResponseSchema: - """ """ - - data: Union[Unset, VoorraadmutatieItempostResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, VoorraadmutatieItempostResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = VoorraadmutatieItempostResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voorraadmutatie_itempost_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voorraadmutatie_itempost_response_schema.additional_properties = d - return voorraadmutatie_itempost_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/rentman_api_client/models/voorraadmutatie_itemput_response_schema.py b/rentman_api_client/models/voorraadmutatie_itemput_response_schema.py deleted file mode 100644 index 113f494..0000000 --- a/rentman_api_client/models/voorraadmutatie_itemput_response_schema.py +++ /dev/null @@ -1,82 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar, Union - -import attr - -from ..models.voorraadmutatie_itemput_response_schema_data import VoorraadmutatieItemputResponseSchemaData -from ..types import UNSET, Unset - -T = TypeVar("T", bound="VoorraadmutatieItemputResponseSchema") - - -@attr.s(auto_attribs=True) -class VoorraadmutatieItemputResponseSchema: - """ """ - - data: Union[Unset, VoorraadmutatieItemputResponseSchemaData] = UNSET - item_count: Union[Unset, float] = UNSET - limit: Union[Unset, float] = UNSET - offset: Union[Unset, float] = UNSET - additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - data: Union[Unset, Dict[str, Any]] = UNSET - if not isinstance(self.data, Unset): - data = self.data.to_dict() - - item_count = self.item_count - limit = self.limit - offset = self.offset - - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update({}) - if data is not UNSET: - field_dict["data"] = data - if item_count is not UNSET: - field_dict["itemCount"] = item_count - if limit is not UNSET: - field_dict["limit"] = limit - if offset is not UNSET: - field_dict["offset"] = offset - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - data: Union[Unset, VoorraadmutatieItemputResponseSchemaData] = UNSET - _data = d.pop("data", UNSET) - if not isinstance(_data, Unset): - data = VoorraadmutatieItemputResponseSchemaData.from_dict(_data) - - item_count = d.pop("itemCount", UNSET) - - limit = d.pop("limit", UNSET) - - offset = d.pop("offset", UNSET) - - voorraadmutatie_itemput_response_schema = cls( - data=data, - item_count=item_count, - limit=limit, - offset=offset, - ) - - voorraadmutatie_itemput_response_schema.additional_properties = d - return voorraadmutatie_itemput_response_schema - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties