elabapi-python 5.4.0__tar.gz → 5.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/PKG-INFO +1 -1
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/README.md +2 -2
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/storage_units_api.py +12 -8
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api_client.py +1 -1
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/configuration.py +1 -1
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity.py +85 -1
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_and_item_editable.py +31 -3
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_editable.py +1 -1
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_template.py +85 -1
- elabapi_python-5.4.1/elabapi_python/models/inline_response200.py +84 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/item.py +31 -3
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/item_editable.py +31 -3
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python.egg-info/PKG-INFO +1 -1
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/setup.py +1 -1
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_storage_units_api.py +1 -1
- elabapi_python-5.4.0/elabapi_python/models/inline_response200.py +0 -1356
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/__init__.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/__init__.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/api_keys_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/comments_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/compounds_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/config_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/containers_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/d_space_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/events_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/experiments_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/experiments_categories_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/experiments_status_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/experiments_templates_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/exports_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/extra_fields_keys_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/favorite_tags_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/idps_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/import_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/info_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/items_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/items_types__resources_templates_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/links_to_compounds_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/links_to_experiments_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/links_to_items_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/notifications_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/reports_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/resources_categories_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/resources_status_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/revisions_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/steps_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/tags_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/team_tags_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/teamgroups_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/teams_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/todolist_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/unfinished_steps_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/uploads_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/user_uploads_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/api/users_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/__init__.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/any_ofuploads_subid_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/apikey.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/apikeys_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/changelog.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/comment.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/compound.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/compound_create_request.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/compound_duplicate_request.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/compounds_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/compounds_links_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/config.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/container.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/containers_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/containers_subid_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/dspace_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/dspace_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/dspace_entity.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/dspace_metadata.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/dspace_metadata1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_duplicate.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_template_editable.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/error.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/event.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/event_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/eventid_delta.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/events_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/exclusive_edit_mode.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/experiment.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/experiments_links_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/experiments_templates_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/export.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/exports_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/extra_fields_keys.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/favtags_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id2.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id3.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id4.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_comments_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_experiments_categories_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_experiments_status_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_items_status_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_resources_categories_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_steps_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_tags_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_tags_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_teamgroups_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/id_uploads_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/idp.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/idp_cert.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/idp_endpoint.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/idps_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/idps_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/import_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2001.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response20010.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2001_experiments.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2001_items.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2001_users.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2002.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2003.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2004.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2004_query_parameters.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2005.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2006.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2007.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2008.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2009.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2009_embedded.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/inline_response2009_embedded_entries.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/items_links_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/items_types_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/link.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/metadata.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/metadata_elabftw.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/metadata_elabftw_extra_fields_groups.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/metadata_extra_fields.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/notification.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/patch_action.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/revision.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/revisions_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/statuslike.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/step.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/steps_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/storage_unit.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/storage_units_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/storage_units_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/tag.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/tags_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/tags_subid_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/team.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/teamgroup.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/teamgroup_users.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/teamgroups_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/teams_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/teams_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/todoitem.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/todolist_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/todolist_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/unfinished_step.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/unfinished_steps.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/upload.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/uploads_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/uploads_subid_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/users.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/users_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/users_full.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/users_full_teams.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/users_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/rest.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python.egg-info/SOURCES.txt +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python.egg-info/dependency_links.txt +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python.egg-info/requires.txt +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python.egg-info/top_level.txt +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/setup.cfg +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/__init__.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_any_ofuploads_subid_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_api_keys_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_apikey.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_apikeys_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_changelog.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_comment.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_comments_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compound.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compound_create_request.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compound_duplicate_request.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compounds_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compounds_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_compounds_links_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_config.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_config_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_container.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_containers_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_containers_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_containers_subid_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_d_space_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_dspace_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_dspace_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_dspace_entity.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_dspace_metadata.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_dspace_metadata1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity_and_item_editable.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity_duplicate.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity_editable.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity_template.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_entity_template_editable.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_error.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_event.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_event_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_eventid_delta.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_events_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_events_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_exclusive_edit_mode.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiment.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_categories_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_links_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_status_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_templates_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_experiments_templates_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_export.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_exports_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_exports_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_extra_fields_keys.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_extra_fields_keys_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_favorite_tags_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_favtags_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id2.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id3.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id4.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_comments_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_experiments_categories_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_experiments_status_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_items_status_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_resources_categories_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_steps_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_tags_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_tags_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_teamgroups_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_id_uploads_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idp.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idp_cert.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idp_endpoint.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idps_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idps_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_idps_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_import_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_import_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_info_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response200.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2001.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response20010.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2001_experiments.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2001_items.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2001_users.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2002.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2003.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2004.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2004_query_parameters.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2005.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2006.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2007.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2008.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2009.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2009_embedded.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_inline_response2009_embedded_entries.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_item.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_item_editable.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_items_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_items_links_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_items_types__resources_templates_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_items_types_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_link.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_links_to_compounds_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_links_to_experiments_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_links_to_items_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_metadata.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_metadata_elabftw.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_metadata_elabftw_extra_fields_groups.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_metadata_extra_fields.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_notification.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_notifications_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_patch_action.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_reports_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_resources_categories_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_resources_status_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_revision.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_revisions_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_revisions_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_statuslike.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_step.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_steps_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_steps_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_storage_unit.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_storage_units_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_storage_units_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_tag.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_tags_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_tags_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_tags_subid_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_team.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_team_tags_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teamgroup.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teamgroup_users.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teamgroups_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teamgroups_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teams_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teams_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_teams_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_todoitem.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_todolist_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_todolist_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_todolist_id_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_unfinished_step.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_unfinished_steps.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_unfinished_steps_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_upload.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_uploads_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_uploads_subid_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_uploads_subid_body1.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_user_uploads_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users_api.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users_body.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users_full.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users_full_teams.py +0 -0
- {elabapi_python-5.4.0 → elabapi_python-5.4.1}/test/test_users_id_body.py +0 -0
|
@@ -4,7 +4,7 @@ This document describes all available endpoints and methods for eLabFTW's API ve
|
|
|
4
4
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
5
5
|
|
|
6
6
|
- API version: 2.0.0
|
|
7
|
-
- Package version: 5.4.
|
|
7
|
+
- Package version: 5.4.1
|
|
8
8
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
9
9
|
|
|
10
10
|
## Requirements.
|
|
@@ -219,7 +219,7 @@ Class | Method | HTTP request | Description
|
|
|
219
219
|
*StorageUnitsApi* | [**patch_storage_unit**](docs/StorageUnitsApi.md#patch_storage_unit) | **PATCH** /storage_units/{id} | Modify a storage unit.
|
|
220
220
|
*StorageUnitsApi* | [**post_storage_unit**](docs/StorageUnitsApi.md#post_storage_unit) | **POST** /storage_units | Create a new storage unit.
|
|
221
221
|
*StorageUnitsApi* | [**read_storage_unit**](docs/StorageUnitsApi.md#read_storage_unit) | **GET** /storage_units/{id} | Read a storage unit.
|
|
222
|
-
*StorageUnitsApi* | [**read_storage_units**](docs/StorageUnitsApi.md#read_storage_units) | **GET** /storage_units | Read all containers
|
|
222
|
+
*StorageUnitsApi* | [**read_storage_units**](docs/StorageUnitsApi.md#read_storage_units) | **GET** /storage_units | Read all containers, or the storage unit hierarchy when `?hierarchy=true`.
|
|
223
223
|
*TagsApi* | [**delete_tag**](docs/TagsApi.md#delete_tag) | **DELETE** /{entity_type}/{id}/tags | Delete all tags.
|
|
224
224
|
*TagsApi* | [**patch_tag**](docs/TagsApi.md#patch_tag) | **PATCH** /{entity_type}/{id}/tags/{subid} | Actions on a tag (like removing it from the entity).
|
|
225
225
|
*TagsApi* | [**post_tag**](docs/TagsApi.md#post_tag) | **POST** /{entity_type}/{id}/tags | Create a tag.
|
|
@@ -425,16 +425,17 @@ class StorageUnitsApi(object):
|
|
|
425
425
|
collection_formats=collection_formats)
|
|
426
426
|
|
|
427
427
|
def read_storage_units(self, **kwargs): # noqa: E501
|
|
428
|
-
"""Read all containers
|
|
428
|
+
"""Read all containers, or the storage unit hierarchy when `?hierarchy=true`. # noqa: E501
|
|
429
429
|
|
|
430
|
-
|
|
430
|
+
Without parameters, returns the full list of containers (assignments of experiments or resources to storage locations) that you have access to. With `?hierarchy=true`, returns a flat list of all storage units (freezers, boxes, positions, etc.) with their hierarchy metadata (`id`, `name`, `parent_id`, `full_path`, `level_depth`, `children_count`). This allows clients to discover, traverse, or display the storage unit tree. # noqa: E501
|
|
431
431
|
This method makes a synchronous HTTP request by default. To make an
|
|
432
432
|
asynchronous HTTP request, please pass async_req=True
|
|
433
433
|
>>> thread = api.read_storage_units(async_req=True)
|
|
434
434
|
>>> result = thread.get()
|
|
435
435
|
|
|
436
436
|
:param async_req bool
|
|
437
|
-
:
|
|
437
|
+
:param bool hierarchy: When true, returns a flat list of all storage units in the hierarchy (id, name, parent_id, full_path, level_depth, children_count) instead of the default container assignment list.
|
|
438
|
+
:return: InlineResponse200
|
|
438
439
|
If the method is called asynchronously,
|
|
439
440
|
returns the request thread.
|
|
440
441
|
"""
|
|
@@ -446,21 +447,22 @@ class StorageUnitsApi(object):
|
|
|
446
447
|
return data
|
|
447
448
|
|
|
448
449
|
def read_storage_units_with_http_info(self, **kwargs): # noqa: E501
|
|
449
|
-
"""Read all containers
|
|
450
|
+
"""Read all containers, or the storage unit hierarchy when `?hierarchy=true`. # noqa: E501
|
|
450
451
|
|
|
451
|
-
|
|
452
|
+
Without parameters, returns the full list of containers (assignments of experiments or resources to storage locations) that you have access to. With `?hierarchy=true`, returns a flat list of all storage units (freezers, boxes, positions, etc.) with their hierarchy metadata (`id`, `name`, `parent_id`, `full_path`, `level_depth`, `children_count`). This allows clients to discover, traverse, or display the storage unit tree. # noqa: E501
|
|
452
453
|
This method makes a synchronous HTTP request by default. To make an
|
|
453
454
|
asynchronous HTTP request, please pass async_req=True
|
|
454
455
|
>>> thread = api.read_storage_units_with_http_info(async_req=True)
|
|
455
456
|
>>> result = thread.get()
|
|
456
457
|
|
|
457
458
|
:param async_req bool
|
|
458
|
-
:
|
|
459
|
+
:param bool hierarchy: When true, returns a flat list of all storage units in the hierarchy (id, name, parent_id, full_path, level_depth, children_count) instead of the default container assignment list.
|
|
460
|
+
:return: InlineResponse200
|
|
459
461
|
If the method is called asynchronously,
|
|
460
462
|
returns the request thread.
|
|
461
463
|
"""
|
|
462
464
|
|
|
463
|
-
all_params = [] # noqa: E501
|
|
465
|
+
all_params = ['hierarchy'] # noqa: E501
|
|
464
466
|
all_params.append('async_req')
|
|
465
467
|
all_params.append('_return_http_data_only')
|
|
466
468
|
all_params.append('_preload_content')
|
|
@@ -481,6 +483,8 @@ class StorageUnitsApi(object):
|
|
|
481
483
|
path_params = {}
|
|
482
484
|
|
|
483
485
|
query_params = []
|
|
486
|
+
if 'hierarchy' in params:
|
|
487
|
+
query_params.append(('hierarchy', params['hierarchy'])) # noqa: E501
|
|
484
488
|
|
|
485
489
|
header_params = {}
|
|
486
490
|
|
|
@@ -503,7 +507,7 @@ class StorageUnitsApi(object):
|
|
|
503
507
|
body=body_params,
|
|
504
508
|
post_params=form_params,
|
|
505
509
|
files=local_var_files,
|
|
506
|
-
response_type='
|
|
510
|
+
response_type='InlineResponse200', # noqa: E501
|
|
507
511
|
auth_settings=auth_settings,
|
|
508
512
|
async_req=params.get('async_req'),
|
|
509
513
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -72,7 +72,7 @@ class ApiClient(object):
|
|
|
72
72
|
self.default_headers[header_name] = header_value
|
|
73
73
|
self.cookie = cookie
|
|
74
74
|
# Set default User-Agent.
|
|
75
|
-
self.user_agent = 'Swagger-Codegen/5.4.
|
|
75
|
+
self.user_agent = 'Swagger-Codegen/5.4.1/python'
|
|
76
76
|
|
|
77
77
|
def __del__(self):
|
|
78
78
|
self.pool.close()
|
|
@@ -250,5 +250,5 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
250
250
|
"OS: {env}\n"\
|
|
251
251
|
"Python Version: {pyversion}\n"\
|
|
252
252
|
"Version of the API: 2.0.0\n"\
|
|
253
|
-
"SDK Package Version: 5.4.
|
|
253
|
+
"SDK Package Version: 5.4.1".\
|
|
254
254
|
format(env=sys.platform, pyversion=sys.version)
|
|
@@ -37,6 +37,9 @@ class Entity(EntityEditable):
|
|
|
37
37
|
'comments': 'list[Comment]',
|
|
38
38
|
'compounds_links': 'list[Compound]',
|
|
39
39
|
'created_at': 'str',
|
|
40
|
+
'created_from_id': 'int',
|
|
41
|
+
'created_from_type': 'int',
|
|
42
|
+
'created_from_type_human': 'str',
|
|
40
43
|
'elabid': 'str',
|
|
41
44
|
'exclusive_edit_mode': 'ExclusiveEditMode',
|
|
42
45
|
'experiments_links': 'list[Link]',
|
|
@@ -82,6 +85,9 @@ class Entity(EntityEditable):
|
|
|
82
85
|
'comments': 'comments',
|
|
83
86
|
'compounds_links': 'compounds_links',
|
|
84
87
|
'created_at': 'created_at',
|
|
88
|
+
'created_from_id': 'created_from_id',
|
|
89
|
+
'created_from_type': 'created_from_type',
|
|
90
|
+
'created_from_type_human': 'created_from_type_human',
|
|
85
91
|
'elabid': 'elabid',
|
|
86
92
|
'exclusive_edit_mode': 'exclusive_edit_mode',
|
|
87
93
|
'experiments_links': 'experiments_links',
|
|
@@ -118,7 +124,7 @@ class Entity(EntityEditable):
|
|
|
118
124
|
if hasattr(EntityEditable, "attribute_map"):
|
|
119
125
|
attribute_map.update(EntityEditable.attribute_map)
|
|
120
126
|
|
|
121
|
-
def __init__(self, access_key=None, body_html=None, category_color=None, category_title=None, changelog=None, comments=None, compounds_links=None, created_at=None, elabid=None, exclusive_edit_mode=None, experiments_links=None, firstname=None, fullname=None, hide_main_text=
|
|
127
|
+
def __init__(self, access_key=None, body_html=None, category_color=None, category_title=None, changelog=None, comments=None, compounds_links=None, created_at=None, created_from_id=None, created_from_type=None, created_from_type_human=None, elabid=None, exclusive_edit_mode=None, experiments_links=None, firstname=None, fullname=None, hide_main_text=None, id=None, items_links=None, lastchangeby=None, lastname=None, locked=None, lockedby=None, locked_at=None, modified_at=None, next_step=None, orcid=None, page=None, recent_comment=None, related_experiments_links=None, related_items_links=None, sharelink=None, status_color=None, status_title=None, steps=None, tags=None, tags_id=None, team=None, timestamped=None, timestampedby=None, timestamped_at=None, type=None, uploads=None, *args, **kwargs): # noqa: E501
|
|
122
128
|
"""Entity - a model defined in Swagger""" # noqa: E501
|
|
123
129
|
self._access_key = None
|
|
124
130
|
self._body_html = None
|
|
@@ -128,6 +134,9 @@ class Entity(EntityEditable):
|
|
|
128
134
|
self._comments = None
|
|
129
135
|
self._compounds_links = None
|
|
130
136
|
self._created_at = None
|
|
137
|
+
self._created_from_id = None
|
|
138
|
+
self._created_from_type = None
|
|
139
|
+
self._created_from_type_human = None
|
|
131
140
|
self._elabid = None
|
|
132
141
|
self._exclusive_edit_mode = None
|
|
133
142
|
self._experiments_links = None
|
|
@@ -177,6 +186,12 @@ class Entity(EntityEditable):
|
|
|
177
186
|
self.compounds_links = compounds_links
|
|
178
187
|
if created_at is not None:
|
|
179
188
|
self.created_at = created_at
|
|
189
|
+
if created_from_id is not None:
|
|
190
|
+
self.created_from_id = created_from_id
|
|
191
|
+
if created_from_type is not None:
|
|
192
|
+
self.created_from_type = created_from_type
|
|
193
|
+
if created_from_type_human is not None:
|
|
194
|
+
self.created_from_type_human = created_from_type_human
|
|
180
195
|
if elabid is not None:
|
|
181
196
|
self.elabid = elabid
|
|
182
197
|
if exclusive_edit_mode is not None:
|
|
@@ -411,6 +426,75 @@ class Entity(EntityEditable):
|
|
|
411
426
|
|
|
412
427
|
self._created_at = created_at
|
|
413
428
|
|
|
429
|
+
@property
|
|
430
|
+
def created_from_id(self):
|
|
431
|
+
"""Gets the created_from_id of this Entity. # noqa: E501
|
|
432
|
+
|
|
433
|
+
Id of the template used to create this entry. # noqa: E501
|
|
434
|
+
|
|
435
|
+
:return: The created_from_id of this Entity. # noqa: E501
|
|
436
|
+
:rtype: int
|
|
437
|
+
"""
|
|
438
|
+
return self._created_from_id
|
|
439
|
+
|
|
440
|
+
@created_from_id.setter
|
|
441
|
+
def created_from_id(self, created_from_id):
|
|
442
|
+
"""Sets the created_from_id of this Entity.
|
|
443
|
+
|
|
444
|
+
Id of the template used to create this entry. # noqa: E501
|
|
445
|
+
|
|
446
|
+
:param created_from_id: The created_from_id of this Entity. # noqa: E501
|
|
447
|
+
:type: int
|
|
448
|
+
"""
|
|
449
|
+
|
|
450
|
+
self._created_from_id = created_from_id
|
|
451
|
+
|
|
452
|
+
@property
|
|
453
|
+
def created_from_type(self):
|
|
454
|
+
"""Gets the created_from_type of this Entity. # noqa: E501
|
|
455
|
+
|
|
456
|
+
Type of the entity used to create this entry: template or concrete type if duplicate # noqa: E501
|
|
457
|
+
|
|
458
|
+
:return: The created_from_type of this Entity. # noqa: E501
|
|
459
|
+
:rtype: int
|
|
460
|
+
"""
|
|
461
|
+
return self._created_from_type
|
|
462
|
+
|
|
463
|
+
@created_from_type.setter
|
|
464
|
+
def created_from_type(self, created_from_type):
|
|
465
|
+
"""Sets the created_from_type of this Entity.
|
|
466
|
+
|
|
467
|
+
Type of the entity used to create this entry: template or concrete type if duplicate # noqa: E501
|
|
468
|
+
|
|
469
|
+
:param created_from_type: The created_from_type of this Entity. # noqa: E501
|
|
470
|
+
:type: int
|
|
471
|
+
"""
|
|
472
|
+
|
|
473
|
+
self._created_from_type = created_from_type
|
|
474
|
+
|
|
475
|
+
@property
|
|
476
|
+
def created_from_type_human(self):
|
|
477
|
+
"""Gets the created_from_type_human of this Entity. # noqa: E501
|
|
478
|
+
|
|
479
|
+
Human readable version of created_from_type integer. # noqa: E501
|
|
480
|
+
|
|
481
|
+
:return: The created_from_type_human of this Entity. # noqa: E501
|
|
482
|
+
:rtype: str
|
|
483
|
+
"""
|
|
484
|
+
return self._created_from_type_human
|
|
485
|
+
|
|
486
|
+
@created_from_type_human.setter
|
|
487
|
+
def created_from_type_human(self, created_from_type_human):
|
|
488
|
+
"""Sets the created_from_type_human of this Entity.
|
|
489
|
+
|
|
490
|
+
Human readable version of created_from_type integer. # noqa: E501
|
|
491
|
+
|
|
492
|
+
:param created_from_type_human: The created_from_type_human of this Entity. # noqa: E501
|
|
493
|
+
:type: str
|
|
494
|
+
"""
|
|
495
|
+
|
|
496
|
+
self._created_from_type_human = created_from_type_human
|
|
497
|
+
|
|
414
498
|
@property
|
|
415
499
|
def elabid(self):
|
|
416
500
|
"""Gets the elabid of this Entity. # noqa: E501
|
{elabapi_python-5.4.0 → elabapi_python-5.4.1}/elabapi_python/models/entity_and_item_editable.py
RENAMED
|
@@ -37,7 +37,8 @@ class EntityAndItemEditable(EntityEditable):
|
|
|
37
37
|
'book_can_overlap': 'int',
|
|
38
38
|
'book_users_can_in_past': 'int',
|
|
39
39
|
'book_is_cancellable': 'int',
|
|
40
|
-
'book_cancel_minutes': 'int'
|
|
40
|
+
'book_cancel_minutes': 'int',
|
|
41
|
+
'booking_window_days': 'int'
|
|
41
42
|
}
|
|
42
43
|
if hasattr(EntityEditable, "swagger_types"):
|
|
43
44
|
swagger_types.update(EntityEditable.swagger_types)
|
|
@@ -51,12 +52,13 @@ class EntityAndItemEditable(EntityEditable):
|
|
|
51
52
|
'book_can_overlap': 'book_can_overlap',
|
|
52
53
|
'book_users_can_in_past': 'book_users_can_in_past',
|
|
53
54
|
'book_is_cancellable': 'book_is_cancellable',
|
|
54
|
-
'book_cancel_minutes': 'book_cancel_minutes'
|
|
55
|
+
'book_cancel_minutes': 'book_cancel_minutes',
|
|
56
|
+
'booking_window_days': 'booking_window_days'
|
|
55
57
|
}
|
|
56
58
|
if hasattr(EntityEditable, "attribute_map"):
|
|
57
59
|
attribute_map.update(EntityEditable.attribute_map)
|
|
58
60
|
|
|
59
|
-
def __init__(self, is_bookable=None, canbook_base=
|
|
61
|
+
def __init__(self, is_bookable=None, canbook_base=None, canbook=None, book_max_minutes=None, book_max_slots=None, book_can_overlap=None, book_users_can_in_past=None, book_is_cancellable=None, book_cancel_minutes=None, booking_window_days=None, *args, **kwargs): # noqa: E501
|
|
60
62
|
"""EntityAndItemEditable - a model defined in Swagger""" # noqa: E501
|
|
61
63
|
self._is_bookable = None
|
|
62
64
|
self._canbook_base = None
|
|
@@ -67,6 +69,7 @@ class EntityAndItemEditable(EntityEditable):
|
|
|
67
69
|
self._book_users_can_in_past = None
|
|
68
70
|
self._book_is_cancellable = None
|
|
69
71
|
self._book_cancel_minutes = None
|
|
72
|
+
self._booking_window_days = None
|
|
70
73
|
self.discriminator = None
|
|
71
74
|
if is_bookable is not None:
|
|
72
75
|
self.is_bookable = is_bookable
|
|
@@ -86,6 +89,8 @@ class EntityAndItemEditable(EntityEditable):
|
|
|
86
89
|
self.book_is_cancellable = book_is_cancellable
|
|
87
90
|
if book_cancel_minutes is not None:
|
|
88
91
|
self.book_cancel_minutes = book_cancel_minutes
|
|
92
|
+
if booking_window_days is not None:
|
|
93
|
+
self.booking_window_days = booking_window_days
|
|
89
94
|
EntityEditable.__init__(self, *args, **kwargs)
|
|
90
95
|
|
|
91
96
|
@property
|
|
@@ -285,6 +290,29 @@ class EntityAndItemEditable(EntityEditable):
|
|
|
285
290
|
|
|
286
291
|
self._book_cancel_minutes = book_cancel_minutes
|
|
287
292
|
|
|
293
|
+
@property
|
|
294
|
+
def booking_window_days(self):
|
|
295
|
+
"""Gets the booking_window_days of this EntityAndItemEditable. # noqa: E501
|
|
296
|
+
|
|
297
|
+
How many days in advance users can book an item. 0 means no limit. # noqa: E501
|
|
298
|
+
|
|
299
|
+
:return: The booking_window_days of this EntityAndItemEditable. # noqa: E501
|
|
300
|
+
:rtype: int
|
|
301
|
+
"""
|
|
302
|
+
return self._booking_window_days
|
|
303
|
+
|
|
304
|
+
@booking_window_days.setter
|
|
305
|
+
def booking_window_days(self, booking_window_days):
|
|
306
|
+
"""Sets the booking_window_days of this EntityAndItemEditable.
|
|
307
|
+
|
|
308
|
+
How many days in advance users can book an item. 0 means no limit. # noqa: E501
|
|
309
|
+
|
|
310
|
+
:param booking_window_days: The booking_window_days of this EntityAndItemEditable. # noqa: E501
|
|
311
|
+
:type: int
|
|
312
|
+
"""
|
|
313
|
+
|
|
314
|
+
self._booking_window_days = booking_window_days
|
|
315
|
+
|
|
288
316
|
def to_dict(self):
|
|
289
317
|
"""Returns the model properties as a dict"""
|
|
290
318
|
result = {}
|
|
@@ -67,7 +67,7 @@ class EntityEditable(object):
|
|
|
67
67
|
'team': 'team'
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
def __init__(self, body=None, canread_base=None, canread='{"teams": [], "users": [], "teamgroups": []}', canwrite_base=None, canwrite='{"teams": [], "users": [], "teamgroups": []}', category=None, _date=None, content_type=
|
|
70
|
+
def __init__(self, body=None, canread_base=None, canread='{"teams": [], "users": [], "teamgroups": []}', canwrite_base=None, canwrite='{"teams": [], "users": [], "teamgroups": []}', category=None, _date=None, content_type=None, custom_id=None, metadata=None, rating=0, state=None, status=None, title='Untitled', template=-1, userid=None, team=None): # noqa: E501
|
|
71
71
|
"""EntityEditable - a model defined in Swagger""" # noqa: E501
|
|
72
72
|
self._body = None
|
|
73
73
|
self._canread_base = None
|
|
@@ -37,6 +37,9 @@ class EntityTemplate(EntityTemplateEditable):
|
|
|
37
37
|
'comments': 'list[Comment]',
|
|
38
38
|
'compounds_links': 'list[Compound]',
|
|
39
39
|
'created_at': 'str',
|
|
40
|
+
'created_from_id': 'int',
|
|
41
|
+
'created_from_type': 'int',
|
|
42
|
+
'created_from_type_human': 'str',
|
|
40
43
|
'elabid': 'str',
|
|
41
44
|
'exclusive_edit_mode': 'ExclusiveEditMode',
|
|
42
45
|
'experiments_links': 'list[Link]',
|
|
@@ -82,6 +85,9 @@ class EntityTemplate(EntityTemplateEditable):
|
|
|
82
85
|
'comments': 'comments',
|
|
83
86
|
'compounds_links': 'compounds_links',
|
|
84
87
|
'created_at': 'created_at',
|
|
88
|
+
'created_from_id': 'created_from_id',
|
|
89
|
+
'created_from_type': 'created_from_type',
|
|
90
|
+
'created_from_type_human': 'created_from_type_human',
|
|
85
91
|
'elabid': 'elabid',
|
|
86
92
|
'exclusive_edit_mode': 'exclusive_edit_mode',
|
|
87
93
|
'experiments_links': 'experiments_links',
|
|
@@ -118,7 +124,7 @@ class EntityTemplate(EntityTemplateEditable):
|
|
|
118
124
|
if hasattr(EntityTemplateEditable, "attribute_map"):
|
|
119
125
|
attribute_map.update(EntityTemplateEditable.attribute_map)
|
|
120
126
|
|
|
121
|
-
def __init__(self, access_key=None, body_html=None, category_color=None, category_title=None, changelog=None, comments=None, compounds_links=None, created_at=None, elabid=None, exclusive_edit_mode=None, experiments_links=None, firstname=None, fullname=None, hide_main_text=
|
|
127
|
+
def __init__(self, access_key=None, body_html=None, category_color=None, category_title=None, changelog=None, comments=None, compounds_links=None, created_at=None, created_from_id=None, created_from_type=None, created_from_type_human=None, elabid=None, exclusive_edit_mode=None, experiments_links=None, firstname=None, fullname=None, hide_main_text=None, id=None, items_links=None, lastchangeby=None, lastname=None, locked=None, lockedby=None, locked_at=None, modified_at=None, next_step=None, orcid=None, page=None, recent_comment=None, related_experiments_links=None, related_items_links=None, sharelink=None, status_color=None, status_title=None, steps=None, tags=None, tags_id=None, team=None, timestamped=None, timestampedby=None, timestamped_at=None, type=None, uploads=None, *args, **kwargs): # noqa: E501
|
|
122
128
|
"""EntityTemplate - a model defined in Swagger""" # noqa: E501
|
|
123
129
|
self._access_key = None
|
|
124
130
|
self._body_html = None
|
|
@@ -128,6 +134,9 @@ class EntityTemplate(EntityTemplateEditable):
|
|
|
128
134
|
self._comments = None
|
|
129
135
|
self._compounds_links = None
|
|
130
136
|
self._created_at = None
|
|
137
|
+
self._created_from_id = None
|
|
138
|
+
self._created_from_type = None
|
|
139
|
+
self._created_from_type_human = None
|
|
131
140
|
self._elabid = None
|
|
132
141
|
self._exclusive_edit_mode = None
|
|
133
142
|
self._experiments_links = None
|
|
@@ -177,6 +186,12 @@ class EntityTemplate(EntityTemplateEditable):
|
|
|
177
186
|
self.compounds_links = compounds_links
|
|
178
187
|
if created_at is not None:
|
|
179
188
|
self.created_at = created_at
|
|
189
|
+
if created_from_id is not None:
|
|
190
|
+
self.created_from_id = created_from_id
|
|
191
|
+
if created_from_type is not None:
|
|
192
|
+
self.created_from_type = created_from_type
|
|
193
|
+
if created_from_type_human is not None:
|
|
194
|
+
self.created_from_type_human = created_from_type_human
|
|
180
195
|
if elabid is not None:
|
|
181
196
|
self.elabid = elabid
|
|
182
197
|
if exclusive_edit_mode is not None:
|
|
@@ -411,6 +426,75 @@ class EntityTemplate(EntityTemplateEditable):
|
|
|
411
426
|
|
|
412
427
|
self._created_at = created_at
|
|
413
428
|
|
|
429
|
+
@property
|
|
430
|
+
def created_from_id(self):
|
|
431
|
+
"""Gets the created_from_id of this EntityTemplate. # noqa: E501
|
|
432
|
+
|
|
433
|
+
Id of the template used to create this entry. # noqa: E501
|
|
434
|
+
|
|
435
|
+
:return: The created_from_id of this EntityTemplate. # noqa: E501
|
|
436
|
+
:rtype: int
|
|
437
|
+
"""
|
|
438
|
+
return self._created_from_id
|
|
439
|
+
|
|
440
|
+
@created_from_id.setter
|
|
441
|
+
def created_from_id(self, created_from_id):
|
|
442
|
+
"""Sets the created_from_id of this EntityTemplate.
|
|
443
|
+
|
|
444
|
+
Id of the template used to create this entry. # noqa: E501
|
|
445
|
+
|
|
446
|
+
:param created_from_id: The created_from_id of this EntityTemplate. # noqa: E501
|
|
447
|
+
:type: int
|
|
448
|
+
"""
|
|
449
|
+
|
|
450
|
+
self._created_from_id = created_from_id
|
|
451
|
+
|
|
452
|
+
@property
|
|
453
|
+
def created_from_type(self):
|
|
454
|
+
"""Gets the created_from_type of this EntityTemplate. # noqa: E501
|
|
455
|
+
|
|
456
|
+
Type of the entity used to create this entry: template or concrete type if duplicate # noqa: E501
|
|
457
|
+
|
|
458
|
+
:return: The created_from_type of this EntityTemplate. # noqa: E501
|
|
459
|
+
:rtype: int
|
|
460
|
+
"""
|
|
461
|
+
return self._created_from_type
|
|
462
|
+
|
|
463
|
+
@created_from_type.setter
|
|
464
|
+
def created_from_type(self, created_from_type):
|
|
465
|
+
"""Sets the created_from_type of this EntityTemplate.
|
|
466
|
+
|
|
467
|
+
Type of the entity used to create this entry: template or concrete type if duplicate # noqa: E501
|
|
468
|
+
|
|
469
|
+
:param created_from_type: The created_from_type of this EntityTemplate. # noqa: E501
|
|
470
|
+
:type: int
|
|
471
|
+
"""
|
|
472
|
+
|
|
473
|
+
self._created_from_type = created_from_type
|
|
474
|
+
|
|
475
|
+
@property
|
|
476
|
+
def created_from_type_human(self):
|
|
477
|
+
"""Gets the created_from_type_human of this EntityTemplate. # noqa: E501
|
|
478
|
+
|
|
479
|
+
Human readable version of created_from_type integer. # noqa: E501
|
|
480
|
+
|
|
481
|
+
:return: The created_from_type_human of this EntityTemplate. # noqa: E501
|
|
482
|
+
:rtype: str
|
|
483
|
+
"""
|
|
484
|
+
return self._created_from_type_human
|
|
485
|
+
|
|
486
|
+
@created_from_type_human.setter
|
|
487
|
+
def created_from_type_human(self, created_from_type_human):
|
|
488
|
+
"""Sets the created_from_type_human of this EntityTemplate.
|
|
489
|
+
|
|
490
|
+
Human readable version of created_from_type integer. # noqa: E501
|
|
491
|
+
|
|
492
|
+
:param created_from_type_human: The created_from_type_human of this EntityTemplate. # noqa: E501
|
|
493
|
+
:type: str
|
|
494
|
+
"""
|
|
495
|
+
|
|
496
|
+
self._created_from_type_human = created_from_type_human
|
|
497
|
+
|
|
414
498
|
@property
|
|
415
499
|
def elabid(self):
|
|
416
500
|
"""Gets the elabid of this EntityTemplate. # noqa: E501
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
eLabFTW REST API v2 Documentation
|
|
5
|
+
|
|
6
|
+
This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 2.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
class InlineResponse200(object):
|
|
19
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
|
|
21
|
+
Do not edit the class manually.
|
|
22
|
+
"""
|
|
23
|
+
"""
|
|
24
|
+
Attributes:
|
|
25
|
+
swagger_types (dict): The key is attribute name
|
|
26
|
+
and the value is attribute type.
|
|
27
|
+
attribute_map (dict): The key is attribute name
|
|
28
|
+
and the value is json key in definition.
|
|
29
|
+
"""
|
|
30
|
+
swagger_types = {
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
attribute_map = {
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
def __init__(self): # noqa: E501
|
|
37
|
+
"""InlineResponse200 - a model defined in Swagger""" # noqa: E501
|
|
38
|
+
self.discriminator = None
|
|
39
|
+
|
|
40
|
+
def to_dict(self):
|
|
41
|
+
"""Returns the model properties as a dict"""
|
|
42
|
+
result = {}
|
|
43
|
+
|
|
44
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
45
|
+
value = getattr(self, attr)
|
|
46
|
+
if isinstance(value, list):
|
|
47
|
+
result[attr] = list(map(
|
|
48
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
49
|
+
value
|
|
50
|
+
))
|
|
51
|
+
elif hasattr(value, "to_dict"):
|
|
52
|
+
result[attr] = value.to_dict()
|
|
53
|
+
elif isinstance(value, dict):
|
|
54
|
+
result[attr] = dict(map(
|
|
55
|
+
lambda item: (item[0], item[1].to_dict())
|
|
56
|
+
if hasattr(item[1], "to_dict") else item,
|
|
57
|
+
value.items()
|
|
58
|
+
))
|
|
59
|
+
else:
|
|
60
|
+
result[attr] = value
|
|
61
|
+
if issubclass(InlineResponse200, dict):
|
|
62
|
+
for key, value in self.items():
|
|
63
|
+
result[key] = value
|
|
64
|
+
|
|
65
|
+
return result
|
|
66
|
+
|
|
67
|
+
def to_str(self):
|
|
68
|
+
"""Returns the string representation of the model"""
|
|
69
|
+
return pprint.pformat(self.to_dict())
|
|
70
|
+
|
|
71
|
+
def __repr__(self):
|
|
72
|
+
"""For `print` and `pprint`"""
|
|
73
|
+
return self.to_str()
|
|
74
|
+
|
|
75
|
+
def __eq__(self, other):
|
|
76
|
+
"""Returns true if both objects are equal"""
|
|
77
|
+
if not isinstance(other, InlineResponse200):
|
|
78
|
+
return False
|
|
79
|
+
|
|
80
|
+
return self.__dict__ == other.__dict__
|
|
81
|
+
|
|
82
|
+
def __ne__(self, other):
|
|
83
|
+
"""Returns true if both objects are not equal"""
|
|
84
|
+
return not self == other
|
|
@@ -37,7 +37,8 @@ class Item(Entity):
|
|
|
37
37
|
'book_can_overlap': 'int',
|
|
38
38
|
'book_users_can_in_past': 'int',
|
|
39
39
|
'book_is_cancellable': 'int',
|
|
40
|
-
'book_cancel_minutes': 'int'
|
|
40
|
+
'book_cancel_minutes': 'int',
|
|
41
|
+
'booking_window_days': 'int'
|
|
41
42
|
}
|
|
42
43
|
if hasattr(Entity, "swagger_types"):
|
|
43
44
|
swagger_types.update(Entity.swagger_types)
|
|
@@ -51,12 +52,13 @@ class Item(Entity):
|
|
|
51
52
|
'book_can_overlap': 'book_can_overlap',
|
|
52
53
|
'book_users_can_in_past': 'book_users_can_in_past',
|
|
53
54
|
'book_is_cancellable': 'book_is_cancellable',
|
|
54
|
-
'book_cancel_minutes': 'book_cancel_minutes'
|
|
55
|
+
'book_cancel_minutes': 'book_cancel_minutes',
|
|
56
|
+
'booking_window_days': 'booking_window_days'
|
|
55
57
|
}
|
|
56
58
|
if hasattr(Entity, "attribute_map"):
|
|
57
59
|
attribute_map.update(Entity.attribute_map)
|
|
58
60
|
|
|
59
|
-
def __init__(self, is_bookable=None, canbook_base=
|
|
61
|
+
def __init__(self, is_bookable=None, canbook_base=None, canbook=None, book_max_minutes=None, book_max_slots=None, book_can_overlap=None, book_users_can_in_past=None, book_is_cancellable=None, book_cancel_minutes=None, booking_window_days=None, *args, **kwargs): # noqa: E501
|
|
60
62
|
"""Item - a model defined in Swagger""" # noqa: E501
|
|
61
63
|
self._is_bookable = None
|
|
62
64
|
self._canbook_base = None
|
|
@@ -67,6 +69,7 @@ class Item(Entity):
|
|
|
67
69
|
self._book_users_can_in_past = None
|
|
68
70
|
self._book_is_cancellable = None
|
|
69
71
|
self._book_cancel_minutes = None
|
|
72
|
+
self._booking_window_days = None
|
|
70
73
|
self.discriminator = None
|
|
71
74
|
if is_bookable is not None:
|
|
72
75
|
self.is_bookable = is_bookable
|
|
@@ -86,6 +89,8 @@ class Item(Entity):
|
|
|
86
89
|
self.book_is_cancellable = book_is_cancellable
|
|
87
90
|
if book_cancel_minutes is not None:
|
|
88
91
|
self.book_cancel_minutes = book_cancel_minutes
|
|
92
|
+
if booking_window_days is not None:
|
|
93
|
+
self.booking_window_days = booking_window_days
|
|
89
94
|
Entity.__init__(self, *args, **kwargs)
|
|
90
95
|
|
|
91
96
|
@property
|
|
@@ -285,6 +290,29 @@ class Item(Entity):
|
|
|
285
290
|
|
|
286
291
|
self._book_cancel_minutes = book_cancel_minutes
|
|
287
292
|
|
|
293
|
+
@property
|
|
294
|
+
def booking_window_days(self):
|
|
295
|
+
"""Gets the booking_window_days of this Item. # noqa: E501
|
|
296
|
+
|
|
297
|
+
How many days in advance users can book an item. 0 means no limit. # noqa: E501
|
|
298
|
+
|
|
299
|
+
:return: The booking_window_days of this Item. # noqa: E501
|
|
300
|
+
:rtype: int
|
|
301
|
+
"""
|
|
302
|
+
return self._booking_window_days
|
|
303
|
+
|
|
304
|
+
@booking_window_days.setter
|
|
305
|
+
def booking_window_days(self, booking_window_days):
|
|
306
|
+
"""Sets the booking_window_days of this Item.
|
|
307
|
+
|
|
308
|
+
How many days in advance users can book an item. 0 means no limit. # noqa: E501
|
|
309
|
+
|
|
310
|
+
:param booking_window_days: The booking_window_days of this Item. # noqa: E501
|
|
311
|
+
:type: int
|
|
312
|
+
"""
|
|
313
|
+
|
|
314
|
+
self._booking_window_days = booking_window_days
|
|
315
|
+
|
|
288
316
|
def to_dict(self):
|
|
289
317
|
"""Returns the model properties as a dict"""
|
|
290
318
|
result = {}
|