flywheel-sdk 21.3.0__py3-none-any.whl → 21.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flywheel/__init__.py +6 -8
- flywheel/api/acquisitions_api.py +1033 -569
- flywheel/api/analyses_api.py +786 -432
- flywheel/api/audit_trail_api.py +78 -51
- flywheel/api/auth_api.py +6 -11
- flywheel/api/batch_api.py +60 -43
- flywheel/api/bulk_api.py +10 -13
- flywheel/api/change_log_api.py +40 -29
- flywheel/api/collections_api.py +740 -410
- flywheel/api/config_api.py +18 -19
- flywheel/api/container_tasks_api.py +14 -15
- flywheel/api/container_type_api.py +14 -15
- flywheel/api/containers_api.py +989 -545
- flywheel/api/custom_filters_api.py +64 -43
- flywheel/api/data_view_executions_api.py +94 -59
- flywheel/api/dataexplorer_api.py +158 -99
- flywheel/api/devices_api.py +132 -83
- flywheel/api/dimse_api.py +72 -51
- flywheel/api/download_api.py +46 -32
- flywheel/api/files_api.py +266 -157
- flywheel/api/form_responses_api.py +100 -63
- flywheel/api/gears_api.py +278 -163
- flywheel/api/groups_api.py +426 -245
- flywheel/api/jobs_api.py +288 -173
- flywheel/api/jupyterlab_servers_api.py +24 -21
- flywheel/api/modalities_api.py +78 -51
- flywheel/api/packfiles_api.py +6 -11
- flywheel/api/projects_api.py +1661 -856
- flywheel/api/protocols_api.py +94 -61
- flywheel/api/reports_api.py +196 -115
- flywheel/api/resolve_api.py +48 -33
- flywheel/api/roles_api.py +82 -53
- flywheel/api/sessions_api.py +1137 -623
- flywheel/api/site_api.py +182 -113
- flywheel/api/staffing_pools_api.py +88 -57
- flywheel/api/subjects_api.py +1095 -603
- flywheel/api/tasks_api.py +108 -69
- flywheel/api/tree_api.py +52 -35
- flywheel/api/uids_api.py +10 -13
- flywheel/api/upload_api.py +162 -95
- flywheel/api/users_api.py +418 -235
- flywheel/api/views_api.py +222 -127
- flywheel/api_client.py +19 -18
- flywheel/configuration.py +2 -9
- flywheel/file_spec.py +0 -7
- flywheel/flywheel.py +818 -4423
- flywheel/gear_context.py +10 -10
- flywheel/models/__init__.py +6 -8
- flywheel/models/access_level.py +0 -7
- flywheel/models/access_permission.py +13 -14
- flywheel/models/access_permission_output.py +13 -14
- flywheel/models/access_permission_update.py +8 -11
- flywheel/models/access_type.py +0 -7
- flywheel/models/accumulator.py +0 -7
- flywheel/models/acquisition.py +0 -7
- flywheel/models/acquisition_container_output.py +0 -7
- flywheel/models/acquisition_copy_input.py +18 -17
- flywheel/models/acquisition_input.py +33 -26
- flywheel/models/acquisition_list_output.py +118 -77
- flywheel/models/acquisition_modify_input.py +33 -26
- flywheel/models/acquisition_node.py +0 -7
- flywheel/models/acquisition_output.py +118 -77
- flywheel/models/acquisition_parents.py +23 -20
- flywheel/models/acquisition_template_options.py +28 -23
- flywheel/models/acquisition_upsert_input.py +48 -35
- flywheel/models/acquisition_upsert_output.py +23 -20
- flywheel/models/action.py +1 -7
- flywheel/models/adhoc_analysis_input.py +23 -20
- flywheel/models/analysis.py +0 -7
- flywheel/models/analysis_container_output.py +0 -7
- flywheel/models/analysis_files_create_ticket_output.py +23 -20
- flywheel/models/analysis_input.py +33 -26
- flywheel/models/analysis_input_legacy.py +0 -7
- flywheel/models/analysis_list_output.py +103 -68
- flywheel/models/analysis_list_output_inflated_job.py +98 -65
- flywheel/models/analysis_modify_input.py +13 -14
- flywheel/models/analysis_node.py +0 -7
- flywheel/models/analysis_output.py +103 -68
- flywheel/models/analysis_output_inflated_job.py +103 -68
- flywheel/models/analysis_parents.py +28 -23
- flywheel/models/analysis_update.py +0 -7
- flywheel/models/api_key_input_with_optional_label.py +13 -14
- flywheel/models/api_key_output.py +33 -26
- flywheel/models/as_storage.py +33 -26
- flywheel/models/assignee.py +13 -14
- flywheel/models/assignee_type.py +0 -7
- flywheel/models/audit_trail_report.py +68 -47
- flywheel/models/audit_trail_report_status.py +0 -7
- flywheel/models/auth0_auth_out.py +38 -29
- flywheel/models/auth0_options_out.py +38 -29
- flywheel/models/auth_out.py +34 -82
- flywheel/models/auth_session_output.py +28 -23
- flywheel/models/avatars.py +18 -17
- flywheel/models/aws_creds.py +13 -14
- flywheel/models/aws_storage.py +43 -32
- flywheel/models/azure_creds.py +13 -14
- flywheel/models/base_aet.py +23 -20
- flywheel/models/base_compute.py +58 -41
- flywheel/models/batch.py +43 -32
- flywheel/models/batch_cancel_output.py +0 -7
- flywheel/models/batch_create_filters.py +18 -17
- flywheel/models/batch_job_analysis_input.py +28 -23
- flywheel/models/batch_jobs_proposal_input.py +0 -7
- flywheel/models/batch_proposal.py +0 -7
- flywheel/models/batch_proposal_detail.py +0 -7
- flywheel/models/batch_proposal_input.py +0 -7
- flywheel/models/body.py +0 -7
- flywheel/models/body_regenerate_key_api_devices_device_id_key_post.py +0 -7
- flywheel/models/body_region.py +0 -7
- flywheel/models/bookmark.py +13 -14
- flywheel/models/bulk_move_input.py +28 -23
- flywheel/models/bulk_move_sessions.py +0 -7
- flywheel/models/callbacks_virus_scan_input.py +0 -7
- flywheel/models/cancelled_batch_output.py +8 -11
- flywheel/models/catalog_list_output.py +53 -38
- flywheel/models/central_out.py +33 -26
- flywheel/models/change.py +80 -39
- flywheel/models/change_log_container_type.py +0 -7
- flywheel/models/change_log_document.py +23 -20
- flywheel/models/change_method.py +1 -7
- flywheel/models/classic_batch_job_output.py +43 -32
- flywheel/models/classic_batch_job_output_inflated_jobs.py +48 -35
- flywheel/models/classic_batch_proposal_input.py +48 -35
- flywheel/models/classic_batch_proposal_output.py +63 -44
- flywheel/models/classification_add_delete.py +0 -7
- flywheel/models/classification_replace.py +0 -7
- flywheel/models/classification_update_input.py +0 -7
- flywheel/models/cohort.py +0 -7
- flywheel/models/collection.py +0 -7
- flywheel/models/collection_container_output.py +0 -7
- flywheel/models/collection_input.py +18 -17
- flywheel/models/collection_input_with_contents.py +23 -20
- flywheel/models/collection_node.py +13 -14
- flywheel/models/collection_node_level.py +0 -7
- flywheel/models/collection_operation.py +13 -14
- flywheel/models/collection_operation_type.py +0 -7
- flywheel/models/collection_output.py +93 -62
- flywheel/models/collection_with_stats.py +93 -62
- flywheel/models/column.py +28 -23
- flywheel/models/column_type.py +0 -7
- flywheel/models/common_classification.py +3 -8
- flywheel/models/common_deleted_count.py +0 -7
- flywheel/models/common_editions.py +0 -7
- flywheel/models/common_info.py +3 -8
- flywheel/models/common_join_origins.py +0 -7
- flywheel/models/common_key.py +0 -7
- flywheel/models/common_modified_count.py +0 -7
- flywheel/models/common_object_created.py +0 -7
- flywheel/models/common_project_settings.py +0 -7
- flywheel/models/common_settings.py +0 -7
- flywheel/models/complete_multipart_upload_output.py +13 -14
- flywheel/models/complete_s3_multipart_upload_input.py +23 -20
- flywheel/models/config_feature_map.py +0 -7
- flywheel/models/config_out.py +48 -35
- flywheel/models/config_output.py +0 -7
- flywheel/models/config_site_config_output.py +0 -7
- flywheel/models/config_site_settings.py +0 -7
- flywheel/models/config_site_settings_input.py +0 -7
- flywheel/models/conflict_types.py +0 -7
- flywheel/models/container_delete_reason.py +0 -7
- flywheel/models/container_filter.py +13 -14
- flywheel/models/container_id_view_input.py +73 -50
- flywheel/models/container_id_view_input_execute_and_save.py +33 -26
- flywheel/models/container_modify.py +73 -50
- flywheel/models/container_new_output.py +0 -7
- flywheel/models/container_node_min.py +43 -32
- flywheel/models/container_output.py +0 -7
- flywheel/models/container_output_with_files.py +28 -23
- flywheel/models/container_parents.py +33 -26
- flywheel/models/container_pipeline_input.py +73 -50
- flywheel/models/container_project_parents.py +0 -7
- flywheel/models/container_reference.py +13 -14
- flywheel/models/container_reference_with_label.py +18 -17
- flywheel/models/container_session_parents.py +0 -7
- flywheel/models/container_subject_parents.py +0 -7
- flywheel/models/container_type.py +0 -7
- flywheel/models/container_uidcheck.py +23 -20
- flywheel/models/container_update.py +3 -8
- flywheel/models/context_input.py +18 -17
- flywheel/models/copy_filter.py +33 -26
- flywheel/models/copy_status.py +0 -7
- flywheel/models/core_models_api_key_api_key_input.py +13 -14
- flywheel/models/core_models_audit_trail_create_report_input.py +28 -23
- flywheel/models/core_models_audit_trail_modify_report_input.py +8 -11
- flywheel/models/core_models_common_source.py +13 -14
- flywheel/models/core_models_jobs_api_key_input.py +13 -14
- flywheel/models/core_models_search_parent_type.py +0 -7
- flywheel/models/core_workflows_form_responses_models_form_parents.py +33 -26
- flywheel/models/core_workflows_form_responses_models_form_response_output.py +58 -41
- flywheel/models/core_workflows_reader_models_reader_task_parents.py +33 -26
- flywheel/models/creds.py +3 -8
- flywheel/models/curator.py +18 -17
- flywheel/models/current_user_output.py +108 -71
- flywheel/models/custom_field.py +58 -41
- flywheel/models/custom_form.py +23 -20
- flywheel/models/cvat_info.py +28 -23
- flywheel/models/cvat_settings.py +28 -23
- flywheel/models/cvat_settings_input.py +28 -23
- flywheel/models/cvat_sync_state.py +0 -7
- flywheel/models/daily_report_usage.py +78 -53
- flywheel/models/data_strategy.py +0 -7
- flywheel/models/data_view.py +0 -7
- flywheel/models/data_view_analysis_file_spec.py +18 -17
- flywheel/models/data_view_analysis_filter_spec.py +18 -17
- flywheel/models/data_view_column_alias.py +38 -29
- flywheel/models/data_view_column_spec.py +28 -23
- flywheel/models/data_view_execution.py +68 -47
- flywheel/models/data_view_execution_state.py +0 -7
- flywheel/models/data_view_file_spec.py +48 -35
- flywheel/models/data_view_group_by.py +8 -11
- flywheel/models/data_view_group_by_column.py +13 -14
- flywheel/models/data_view_name_filter_spec.py +13 -14
- flywheel/models/data_view_output.py +0 -7
- flywheel/models/data_view_save_data_view_input.py +0 -7
- flywheel/models/data_view_zip_filter_spec.py +18 -17
- flywheel/models/default_flywheel_role.py +0 -7
- flywheel/models/deid_log_skip_reason.py +0 -7
- flywheel/models/delete_by_search_query.py +23 -20
- flywheel/models/delete_status.py +25 -0
- flywheel/models/deleted_file.py +73 -50
- flywheel/models/deleted_result.py +50 -19
- flywheel/models/deprecated_action.py +0 -7
- flywheel/models/destination_container_type.py +0 -7
- flywheel/models/device.py +58 -41
- flywheel/models/device_admin_update.py +13 -14
- flywheel/models/device_create.py +18 -17
- flywheel/models/device_self_update.py +28 -23
- flywheel/models/device_status.py +0 -7
- flywheel/models/device_status_entry.py +18 -17
- flywheel/models/device_storage_strategy_update.py +13 -14
- flywheel/models/dimse_project_input.py +0 -7
- flywheel/models/dimse_project_output.py +0 -7
- flywheel/models/dimse_service_input.py +0 -7
- flywheel/models/dimse_service_output.py +0 -7
- flywheel/models/download.py +23 -20
- flywheel/models/download_container_filter.py +8 -11
- flywheel/models/download_container_filter_definition.py +18 -17
- flywheel/models/download_filter.py +18 -17
- flywheel/models/download_filter_definition.py +13 -14
- flywheel/models/download_format.py +0 -7
- flywheel/models/download_input.py +0 -7
- flywheel/models/download_node.py +13 -14
- flywheel/models/download_strategy.py +0 -7
- flywheel/models/download_ticket.py +0 -7
- flywheel/models/download_ticket_stub.py +23 -20
- flywheel/models/download_ticket_with_summary.py +0 -7
- flywheel/models/e_signature.py +23 -20
- flywheel/models/edition.py +8 -11
- flywheel/models/egress_device.py +88 -59
- flywheel/models/egress_device_page.py +18 -17
- flywheel/models/egress_provider.py +53 -38
- flywheel/models/egress_provider_id.py +8 -11
- flywheel/models/exchange_storage.py +23 -20
- flywheel/models/executor_info.py +43 -32
- flywheel/models/export_templates.py +13 -14
- flywheel/models/features.py +348 -225
- flywheel/models/field_change.py +28 -23
- flywheel/models/field_change_log_document.py +23 -20
- flywheel/models/field_type.py +0 -7
- flywheel/models/file.py +188 -119
- flywheel/models/file_classification_delta.py +23 -20
- flywheel/models/file_container_type.py +0 -7
- flywheel/models/file_entry.py +108 -71
- flywheel/models/file_export_templates.py +28 -23
- flywheel/models/file_format.py +0 -7
- flywheel/models/file_gear_info.py +18 -17
- flywheel/models/file_group.py +0 -7
- flywheel/models/file_list_output.py +183 -116
- flywheel/models/file_modify_input.py +13 -14
- flywheel/models/file_move_input.py +18 -17
- flywheel/models/file_node.py +188 -119
- flywheel/models/file_node_min.py +38 -29
- flywheel/models/file_origin.py +28 -23
- flywheel/models/file_output.py +183 -116
- flywheel/models/file_parents.py +33 -26
- flywheel/models/file_reference.py +18 -17
- flywheel/models/file_suggestion.py +23 -20
- flywheel/models/file_template_options.py +33 -26
- flywheel/models/file_upsert_input.py +88 -59
- flywheel/models/file_upsert_origin.py +0 -7
- flywheel/models/file_upsert_output.py +188 -119
- flywheel/models/file_version.py +13 -14
- flywheel/models/file_version_copy_of.py +28 -23
- flywheel/models/file_version_output.py +38 -29
- flywheel/models/file_via.py +23 -20
- flywheel/models/file_zip_entry.py +0 -7
- flywheel/models/file_zip_info.py +0 -7
- flywheel/models/filter.py +43 -32
- flywheel/models/filter_input.py +18 -17
- flywheel/models/filter_values.py +13 -14
- flywheel/models/filter_view.py +0 -7
- flywheel/models/fixed_file_version_input.py +18 -17
- flywheel/models/fixed_input.py +33 -26
- flywheel/models/form_definition.py +8 -11
- flywheel/models/form_response_base.py +33 -26
- flywheel/models/form_response_create.py +13 -14
- flywheel/models/gcp_creds.py +53 -38
- flywheel/models/gcp_storage.py +33 -26
- flywheel/models/gear.py +88 -59
- flywheel/models/gear_category.py +0 -7
- flywheel/models/gear_config.py +3 -8
- flywheel/models/gear_context_input.py +8 -11
- flywheel/models/gear_context_lookup.py +0 -7
- flywheel/models/gear_context_lookup_item.py +0 -7
- flywheel/models/gear_context_value_output.py +28 -23
- flywheel/models/gear_context_value_output_unfound.py +8 -11
- flywheel/models/gear_custom.py +3 -8
- flywheel/models/gear_directive.py +3 -8
- flywheel/models/gear_doc.py +0 -7
- flywheel/models/gear_document.py +38 -29
- flywheel/models/gear_document_input.py +33 -26
- flywheel/models/gear_document_legacy_input.py +33 -26
- flywheel/models/gear_environment.py +3 -8
- flywheel/models/gear_exchange.py +18 -17
- flywheel/models/gear_file_input.py +13 -14
- flywheel/models/gear_id_output.py +8 -11
- flywheel/models/gear_info.py +23 -20
- flywheel/models/gear_input_item.py +18 -17
- flywheel/models/gear_inputs.py +3 -8
- flywheel/models/gear_key_input.py +13 -14
- flywheel/models/gear_manifest.py +93 -62
- flywheel/models/gear_mixin.py +26 -6
- flywheel/models/gear_node.py +43 -32
- flywheel/models/gear_output_configuration.py +8 -11
- flywheel/models/gear_permissions.py +13 -14
- flywheel/models/gear_permissions_input.py +8 -11
- flywheel/models/gear_permissions_type.py +0 -7
- flywheel/models/gear_return_ticket.py +0 -7
- flywheel/models/gear_rule.py +133 -69
- flywheel/models/gear_rule_condition.py +18 -17
- flywheel/models/gear_rule_condition_type.py +0 -7
- flywheel/models/gear_rule_input.py +108 -54
- flywheel/models/gear_rule_modify_input.py +103 -51
- flywheel/models/gear_rule_output.py +133 -69
- flywheel/models/gear_save_submission.py +18 -17
- flywheel/models/gear_series.py +33 -26
- flywheel/models/gear_series_update.py +8 -11
- flywheel/models/gear_suggestion_output.py +33 -26
- flywheel/models/gear_ticket.py +23 -20
- flywheel/models/gear_ticket_output.py +8 -11
- flywheel/models/graph_filter.py +38 -29
- flywheel/models/group.py +0 -7
- flywheel/models/group_by.py +8 -11
- flywheel/models/group_by_column.py +0 -7
- flywheel/models/group_container_output.py +0 -7
- flywheel/models/group_input.py +23 -20
- flywheel/models/group_metadata_input.py +0 -7
- flywheel/models/group_node.py +0 -7
- flywheel/models/group_output.py +63 -44
- flywheel/models/group_report.py +18 -17
- flywheel/models/group_role.py +8 -11
- flywheel/models/group_settings_output.py +23 -20
- flywheel/models/group_update.py +23 -20
- flywheel/models/header_feature.py +0 -7
- flywheel/models/hierarchy_export_templates.py +28 -23
- flywheel/models/http_validation_error.py +8 -11
- flywheel/models/info.py +18 -17
- flywheel/models/info_add_remove.py +0 -7
- flywheel/models/info_container_type.py +0 -7
- flywheel/models/info_replace.py +0 -7
- flywheel/models/info_update_input.py +0 -7
- flywheel/models/ingress_provider.py +33 -26
- flywheel/models/ingress_providers.py +28 -23
- flywheel/models/ingress_site_settings.py +29 -52
- flywheel/models/ingress_update_provider.py +18 -17
- flywheel/models/inline_response200.py +8 -11
- flywheel/models/inline_response2001.py +8 -11
- flywheel/models/inline_response2002.py +8 -11
- flywheel/models/inline_response2003.py +0 -7
- flywheel/models/inline_response2005.py +0 -7
- flywheel/models/input_filter.py +18 -17
- flywheel/models/input_job.py +73 -50
- flywheel/models/input_job_profile.py +28 -23
- flywheel/models/inserted_id.py +8 -11
- flywheel/models/job.py +128 -83
- flywheel/models/job_analysis_input.py +28 -23
- flywheel/models/job_ask.py +33 -26
- flywheel/models/job_ask_response.py +13 -14
- flywheel/models/job_ask_response_job.py +158 -101
- flywheel/models/job_ask_return.py +0 -7
- flywheel/models/job_ask_return_criteria.py +23 -20
- flywheel/models/job_ask_state.py +0 -7
- flywheel/models/job_ask_state_response.py +8 -11
- flywheel/models/job_complete.py +18 -17
- flywheel/models/job_completion_input.py +0 -7
- flywheel/models/job_completion_ticket.py +0 -7
- flywheel/models/job_config.py +3 -8
- flywheel/models/job_config_input.py +28 -23
- flywheel/models/job_config_inputs.py +0 -7
- flywheel/models/job_config_output.py +0 -7
- flywheel/models/job_container_detail.py +0 -7
- flywheel/models/job_destination.py +13 -14
- flywheel/models/job_detail.py +148 -95
- flywheel/models/job_detail_container.py +13 -14
- flywheel/models/job_detail_file_entry.py +13 -14
- flywheel/models/job_detail_group.py +13 -14
- flywheel/models/job_detail_parent_info.py +33 -26
- flywheel/models/job_executor_info.py +43 -32
- flywheel/models/job_file_input.py +23 -20
- flywheel/models/job_file_input_list_output.py +23 -20
- flywheel/models/job_file_object.py +58 -41
- flywheel/models/job_file_object_list_output.py +53 -38
- flywheel/models/job_gear_match.py +0 -7
- flywheel/models/job_inputs_array_item.py +33 -26
- flywheel/models/job_inputs_item.py +23 -20
- flywheel/models/job_inputs_object.py +3 -8
- flywheel/models/job_list_entry.py +0 -7
- flywheel/models/job_list_output.py +158 -101
- flywheel/models/job_list_output_config.py +18 -17
- flywheel/models/job_log.py +13 -14
- flywheel/models/job_log_column.py +0 -7
- flywheel/models/job_log_record.py +13 -14
- flywheel/models/job_modify.py +13 -14
- flywheel/models/job_origin.py +13 -14
- flywheel/models/job_output.py +163 -104
- flywheel/models/job_output_config.py +23 -20
- flywheel/models/job_parents.py +33 -26
- flywheel/models/job_priority.py +0 -7
- flywheel/models/job_priority_update.py +13 -14
- flywheel/models/job_profile.py +53 -38
- flywheel/models/job_profile_input.py +0 -7
- flywheel/models/job_request.py +18 -17
- flywheel/models/job_request_item.py +23 -20
- flywheel/models/job_request_item_type.py +0 -7
- flywheel/models/job_request_target.py +28 -23
- flywheel/models/job_state.py +0 -7
- flywheel/models/job_state_counts.py +0 -7
- flywheel/models/job_stats_by_state.py +0 -7
- flywheel/models/job_ticket_output.py +8 -11
- flywheel/models/job_transition_times.py +23 -20
- flywheel/models/job_version_info.py +3 -8
- flywheel/models/jobs_by_state.py +28 -23
- flywheel/models/jobs_list.py +8 -11
- flywheel/models/join_origin_device.py +8 -11
- flywheel/models/join_origin_job.py +18 -17
- flywheel/models/join_origin_user.py +13 -14
- flywheel/models/join_origins.py +18 -17
- flywheel/models/join_type.py +0 -7
- flywheel/models/jupyterhub_workspace.py +8 -11
- flywheel/models/jupyterlab_server_modify.py +28 -23
- flywheel/models/jupyterlab_server_origin.py +0 -7
- flywheel/models/jupyterlab_server_output.py +0 -7
- flywheel/models/jupyterlab_server_response.py +53 -38
- flywheel/models/jupyterlab_server_update.py +0 -7
- flywheel/models/ldap_sync.py +0 -7
- flywheel/models/ldap_sync_config.py +8 -11
- flywheel/models/ldap_sync_input.py +0 -7
- flywheel/models/ldap_sync_status.py +23 -20
- flywheel/models/legacy_api_key_output.py +28 -23
- flywheel/models/legacy_input.py +23 -20
- flywheel/models/legacy_usage_report.py +33 -26
- flywheel/models/legacys_usage_project_entry.py +13 -14
- flywheel/models/libs_viewer_config_models_viewer_config.py +194 -0
- flywheel/models/libs_workflows_models_parent_type.py +0 -7
- flywheel/models/libs_workflows_models_task_status.py +0 -7
- flywheel/models/local_storage.py +18 -17
- flywheel/models/location.py +13 -14
- flywheel/models/locked.py +18 -17
- flywheel/models/master_subject_code_dob_input.py +28 -23
- flywheel/models/master_subject_code_input.py +28 -23
- flywheel/models/master_subject_code_output.py +8 -11
- flywheel/models/matched_acquisition_output.py +73 -50
- flywheel/models/measurement_config.py +222 -0
- flywheel/models/measurement_item_config.py +217 -0
- flywheel/models/mfa_channel.py +0 -7
- flywheel/models/mfa_settings.py +8 -11
- flywheel/models/ml_set_filter.py +13 -14
- flywheel/models/ml_type.py +0 -7
- flywheel/models/modality.py +23 -20
- flywheel/models/modality_input.py +23 -20
- flywheel/models/modality_modify.py +18 -17
- flywheel/models/modality_output.py +28 -23
- flywheel/models/modified_result.py +13 -14
- flywheel/models/modify_user_input.py +63 -44
- flywheel/models/move_conflict.py +33 -26
- flywheel/models/note.py +48 -35
- flywheel/models/note_input.py +8 -11
- flywheel/models/optional_input_policy.py +0 -7
- flywheel/models/order.py +0 -7
- flywheel/models/organ_system.py +0 -7
- flywheel/models/origin.py +13 -14
- flywheel/models/origin_type.py +0 -7
- flywheel/models/orphaned_count.py +8 -11
- flywheel/models/output_user_page.py +18 -17
- flywheel/models/packfile_cleanup_output.py +8 -11
- flywheel/models/packfile_removed_output.py +13 -14
- flywheel/models/page.py +18 -17
- flywheel/models/page_generic_file_output.py +18 -17
- flywheel/models/page_generic_filter.py +18 -17
- flywheel/models/page_generic_form_response_output.py +18 -17
- flywheel/models/page_generic_protocol.py +23 -20
- flywheel/models/page_generic_reader_task_output.py +23 -20
- flywheel/models/page_generic_staffing_pool.py +23 -20
- flywheel/models/parsed_query_response.py +13 -14
- flywheel/models/permission_access_permission.py +0 -7
- flywheel/models/premade_jobs_batch_job_output.py +33 -26
- flywheel/models/premade_jobs_batch_job_output_inflated_jobs.py +33 -26
- flywheel/models/premade_jobs_batch_proposal.py +38 -29
- flywheel/models/premade_jobs_batch_proposal_detail.py +8 -11
- flywheel/models/premade_jobs_batch_proposal_input.py +8 -11
- flywheel/models/project.py +0 -7
- flywheel/models/project_acquisition_upsert_input.py +0 -7
- flywheel/models/project_acquisition_upsert_output.py +0 -7
- flywheel/models/project_aet.py +38 -29
- flywheel/models/project_aet_input.py +23 -20
- flywheel/models/project_catalog_list_output.py +0 -7
- flywheel/models/project_contact.py +13 -14
- flywheel/models/project_container_output.py +1 -7
- flywheel/models/project_copy_input.py +23 -20
- flywheel/models/project_copy_output.py +18 -17
- flywheel/models/project_counters.py +76 -36
- flywheel/models/project_delete_status_output.py +192 -0
- flywheel/models/project_group_info.py +13 -14
- flywheel/models/project_hierarchy_input.py +28 -23
- flywheel/models/project_hierarchy_output.py +18 -17
- flywheel/models/project_hierarchy_upsert_input.py +0 -7
- flywheel/models/project_hierarchy_upsert_output.py +0 -7
- flywheel/models/project_input.py +48 -35
- flywheel/models/project_institution.py +13 -14
- flywheel/models/project_list_output.py +207 -96
- flywheel/models/project_locking_reason.py +0 -7
- flywheel/models/project_modify.py +116 -42
- flywheel/models/project_node.py +1 -7
- flywheel/models/project_output.py +208 -96
- flywheel/models/project_parents.py +8 -11
- flywheel/models/project_report.py +63 -44
- flywheel/models/project_report_list.py +8 -11
- flywheel/models/project_session_upsert_input.py +0 -7
- flywheel/models/project_session_upsert_output.py +0 -7
- flywheel/models/project_settings_input.py +38 -29
- flywheel/models/project_settings_output.py +38 -29
- flywheel/models/project_settings_sharing.py +38 -29
- flywheel/models/project_settings_sharing_input.py +38 -29
- flywheel/models/project_settings_workspaces.py +8 -11
- flywheel/models/project_settings_workspaces_input.py +8 -11
- flywheel/models/project_share_level.py +0 -7
- flywheel/models/project_sharing_settings_project_contact.py +0 -7
- flywheel/models/project_sharing_settings_project_counters.py +0 -7
- flywheel/models/project_sharing_settings_project_institution.py +0 -7
- flywheel/models/project_sharing_settings_project_settings_input.py +0 -7
- flywheel/models/project_sharing_settings_project_settings_output.py +0 -7
- flywheel/models/project_sharing_settings_project_settings_sharing.py +0 -7
- flywheel/models/project_sharing_settings_project_settings_sharing_input.py +0 -7
- flywheel/models/project_sharing_settings_project_stats.py +0 -7
- flywheel/models/project_stats.py +28 -23
- flywheel/models/project_subject_upsert_input.py +0 -7
- flywheel/models/project_subject_upsert_output.py +0 -7
- flywheel/models/project_template.py +13 -14
- flywheel/models/project_template_input.py +13 -14
- flywheel/models/project_template_list_input.py +8 -11
- flywheel/models/project_template_requirement.py +0 -7
- flywheel/models/project_template_session_template.py +0 -7
- flywheel/models/project_upsert_origin.py +0 -7
- flywheel/models/protocol.py +78 -53
- flywheel/models/protocol_e_signature_config.py +13 -14
- flywheel/models/protocol_input.py +43 -32
- flywheel/models/protocol_modify.py +28 -23
- flywheel/models/protocol_status.py +0 -7
- flywheel/models/provider.py +63 -44
- flywheel/models/provider_access_type.py +0 -7
- flywheel/models/provider_class.py +0 -7
- flywheel/models/provider_deletion_status.py +13 -14
- flywheel/models/provider_input.py +0 -7
- flywheel/models/provider_links.py +28 -23
- flywheel/models/provider_type.py +0 -7
- flywheel/models/providers.py +28 -23
- flywheel/models/reader_batch_create.py +63 -44
- flywheel/models/reader_task.py +113 -74
- flywheel/models/reader_task_config.py +49 -18
- flywheel/models/reader_task_create.py +78 -53
- flywheel/models/reader_task_modify.py +33 -26
- flywheel/models/reader_task_output.py +118 -77
- flywheel/models/reader_task_parent_details.py +38 -29
- flywheel/models/report_access_log_context.py +33 -26
- flywheel/models/report_access_log_context_entry.py +13 -14
- flywheel/models/report_access_log_context_file_entry.py +8 -11
- flywheel/models/report_access_log_entry.py +88 -59
- flywheel/models/report_access_log_origin.py +13 -14
- flywheel/models/report_availability_list.py +8 -11
- flywheel/models/report_daily_usage_entry.py +68 -47
- flywheel/models/report_demographics_grid.py +0 -7
- flywheel/models/report_ethnicity_grid.py +23 -20
- flywheel/models/report_gender_count.py +18 -17
- flywheel/models/report_group_report.py +18 -17
- flywheel/models/report_legacy_usage_entry.py +0 -7
- flywheel/models/report_legacy_usage_project_entry.py +0 -7
- flywheel/models/report_project.py +0 -7
- flywheel/models/report_site.py +13 -14
- flywheel/models/report_time_period.py +13 -14
- flywheel/models/report_usage.py +88 -59
- flywheel/models/report_usage_entry.py +0 -7
- flywheel/models/resolve_input.py +8 -11
- flywheel/models/resolve_output.py +13 -14
- flywheel/models/resolver_acquisition_node.py +0 -7
- flywheel/models/resolver_analysis_node.py +0 -7
- flywheel/models/resolver_file_node.py +0 -7
- flywheel/models/resolver_gear_node.py +0 -7
- flywheel/models/resolver_group_node.py +0 -7
- flywheel/models/resolver_input.py +0 -7
- flywheel/models/resolver_node.py +8 -11
- flywheel/models/resolver_output.py +0 -7
- flywheel/models/resolver_project_node.py +0 -7
- flywheel/models/resolver_session_node.py +0 -7
- flywheel/models/resolver_subject_node.py +0 -7
- flywheel/models/role_input.py +13 -14
- flywheel/models/role_output.py +28 -23
- flywheel/models/role_permission.py +13 -14
- flywheel/models/role_permission_output.py +13 -14
- flywheel/models/role_permission_update.py +8 -11
- flywheel/models/role_type.py +0 -7
- flywheel/models/role_update.py +13 -14
- flywheel/models/roles_backwards_compatible_role_assignment.py +0 -7
- flywheel/models/roles_group_role_pool_input.py +0 -7
- flywheel/models/roles_role.py +0 -7
- flywheel/models/roles_role_assignment.py +13 -14
- flywheel/models/roles_role_input.py +0 -7
- flywheel/models/rule.py +63 -44
- flywheel/models/rule_any.py +18 -17
- flywheel/models/s3_addressing_style.py +0 -7
- flywheel/models/s3_compat_storage.py +48 -35
- flywheel/models/save_search.py +33 -26
- flywheel/models/save_search_input.py +18 -17
- flywheel/models/save_search_output.py +33 -26
- flywheel/models/save_search_page.py +18 -17
- flywheel/models/save_search_parent.py +13 -14
- flywheel/models/save_search_update.py +13 -14
- flywheel/models/search_acquisition_response.py +23 -20
- flywheel/models/search_analysis_response.py +23 -20
- flywheel/models/search_collection_response.py +23 -20
- flywheel/models/search_file_response.py +33 -26
- flywheel/models/search_group_response.py +13 -14
- flywheel/models/search_parent_acquisition.py +0 -7
- flywheel/models/search_parent_analysis.py +0 -7
- flywheel/models/search_parent_collection.py +0 -7
- flywheel/models/search_parent_project.py +1 -7
- flywheel/models/search_parent_response.py +13 -14
- flywheel/models/search_parent_session.py +0 -7
- flywheel/models/search_parent_subject.py +0 -7
- flywheel/models/search_parse_error.py +23 -20
- flywheel/models/search_parse_search_query_result.py +0 -7
- flywheel/models/search_project_response.py +13 -14
- flywheel/models/search_query.py +38 -29
- flywheel/models/search_query_suggestions.py +0 -7
- flywheel/models/search_response.py +58 -41
- flywheel/models/search_return_type.py +0 -7
- flywheel/models/search_save_search.py +0 -7
- flywheel/models/search_save_search_input.py +0 -7
- flywheel/models/search_save_search_parent.py +0 -7
- flywheel/models/search_save_search_update.py +0 -7
- flywheel/models/search_session_response.py +23 -20
- flywheel/models/search_status.py +8 -11
- flywheel/models/search_structured_search_query.py +0 -7
- flywheel/models/search_subject_response.py +18 -17
- flywheel/models/search_suggestion.py +0 -7
- flywheel/models/select_item.py +13 -14
- flywheel/models/server_state.py +33 -26
- flywheel/models/service_aet.py +33 -26
- flywheel/models/service_aet_input.py +28 -23
- flywheel/models/session.py +0 -7
- flywheel/models/session_container_output.py +0 -7
- flywheel/models/session_copy_input.py +23 -20
- flywheel/models/session_embedded_subject.py +33 -26
- flywheel/models/session_input.py +58 -41
- flywheel/models/session_list_output.py +143 -92
- flywheel/models/session_metadata_input.py +0 -7
- flywheel/models/session_modify.py +63 -44
- flywheel/models/session_node.py +0 -7
- flywheel/models/session_output.py +143 -92
- flywheel/models/session_parents.py +18 -17
- flywheel/models/session_template_options.py +18 -17
- flywheel/models/session_template_recalc_output.py +8 -11
- flywheel/models/session_upsert_input.py +63 -44
- flywheel/models/session_upsert_output.py +23 -20
- flywheel/models/sharing_filter_options.py +43 -32
- flywheel/models/signed_fs_upload_output.py +13 -14
- flywheel/models/signed_url_cleanup_input.py +13 -14
- flywheel/models/signed_url_upload_input.py +13 -14
- flywheel/models/signed_url_upload_output.py +43 -32
- flywheel/models/site.py +93 -62
- flywheel/models/site_report.py +13 -14
- flywheel/models/site_settings.py +48 -35
- flywheel/models/sort.py +13 -14
- flywheel/models/stable_api_key_input.py +0 -7
- flywheel/models/staffing_pool.py +38 -29
- flywheel/models/staffing_pool_create.py +18 -17
- flywheel/models/staffing_pool_list.py +8 -11
- flywheel/models/staffing_pool_modify.py +18 -17
- flywheel/models/state.py +0 -7
- flywheel/models/static_compute.py +18 -17
- flywheel/models/status_transitions.py +23 -20
- flywheel/models/status_type.py +0 -7
- flywheel/models/status_value.py +0 -7
- flywheel/models/storage_strategy.py +0 -7
- flywheel/models/storage_strategy_config.py +13 -14
- flywheel/models/structured_query.py +8 -11
- flywheel/models/structured_query_suggestions.py +13 -14
- flywheel/models/structured_query_value_suggestion.py +23 -20
- flywheel/models/subject.py +0 -7
- flywheel/models/subject_container_output.py +0 -7
- flywheel/models/subject_copy_input.py +18 -17
- flywheel/models/subject_input.py +93 -62
- flywheel/models/subject_modify.py +103 -68
- flywheel/models/subject_node.py +0 -7
- flywheel/models/subject_output.py +163 -104
- flywheel/models/subject_output_for_list.py +163 -104
- flywheel/models/subject_parents.py +13 -14
- flywheel/models/subject_role_permission.py +13 -14
- flywheel/models/subject_state.py +0 -7
- flywheel/models/subject_template_options.py +13 -14
- flywheel/models/subject_upsert_input.py +83 -56
- flywheel/models/subject_upsert_output.py +18 -17
- flywheel/models/sync_user_input.py +38 -29
- flywheel/models/tag.py +8 -11
- flywheel/models/task_assign.py +13 -14
- flywheel/models/task_facet.py +0 -7
- flywheel/models/task_parent_ref.py +23 -20
- flywheel/models/task_parent_ref_input.py +18 -17
- flywheel/models/task_priority.py +0 -7
- flywheel/models/task_submission.py +13 -14
- flywheel/models/therapeutic_area.py +0 -7
- flywheel/models/toolbar_config.py +161 -0
- flywheel/models/transitions.py +28 -23
- flywheel/models/tree_container_request_spec.py +28 -23
- flywheel/models/tree_graph.py +3 -8
- flywheel/models/tree_graph_connection.py +23 -20
- flywheel/models/tree_graph_connections.py +3 -8
- flywheel/models/tree_graph_node.py +8 -11
- flywheel/models/tree_request.py +0 -7
- flywheel/models/tree_response_item.py +3 -8
- flywheel/models/type_str.py +0 -7
- flywheel/models/uid_check_input_acquisitions.py +23 -20
- flywheel/models/uid_check_input_sessions.py +23 -20
- flywheel/models/uid_check_output.py +13 -14
- flywheel/models/upload_complete_s3_multipart_input.py +0 -7
- flywheel/models/upload_complete_s3_multipart_output.py +0 -7
- flywheel/models/upload_signed_fs_file_upload_output.py +0 -7
- flywheel/models/upload_signed_upload_url_input.py +0 -7
- flywheel/models/upload_signed_upload_url_output.py +0 -7
- flywheel/models/upload_ticket_output.py +18 -17
- flywheel/models/upload_token_output.py +8 -11
- flywheel/models/upsert_result.py +0 -7
- flywheel/models/user.py +113 -74
- flywheel/models/user_api_key.py +18 -17
- flywheel/models/user_input.py +63 -44
- flywheel/models/user_jobs.py +18 -17
- flywheel/models/user_jobs_output.py +0 -7
- flywheel/models/user_output.py +0 -7
- flywheel/models/user_output_id.py +8 -11
- flywheel/models/user_preferences.py +3 -8
- flywheel/models/user_wechat.py +3 -8
- flywheel/models/validation_error.py +18 -17
- flywheel/models/validation_rule.py +13 -14
- flywheel/models/version.py +43 -32
- flywheel/models/version_output.py +0 -7
- flywheel/models/view_id_output.py +8 -11
- flywheel/models/view_output.py +58 -41
- flywheel/models/viewer_app.py +48 -35
- flywheel/models/viewer_app_input.py +48 -35
- flywheel/models/viewer_app_type.py +0 -7
- flywheel/models/virus_scan.py +8 -11
- flywheel/models/virus_scan_state.py +0 -7
- flywheel/models/work_in_progress_features.py +3 -8
- flywheel/models/zipfile_info.py +13 -14
- flywheel/models/zipfile_member_info.py +23 -20
- flywheel/partial_reader.py +0 -7
- flywheel/rest.py +0 -7
- flywheel/view_builder.py +2 -1
- {flywheel_sdk-21.3.0.dist-info → flywheel_sdk-21.4.0.dist-info}/METADATA +1 -1
- flywheel_sdk-21.4.0.dist-info/RECORD +778 -0
- flywheel/models/google_auth_out.py +0 -299
- flywheel_sdk-21.3.0.dist-info/RECORD +0 -773
- {flywheel_sdk-21.3.0.dist-info → flywheel_sdk-21.4.0.dist-info}/WHEEL +0 -0
- {flywheel_sdk-21.3.0.dist-info → flywheel_sdk-21.4.0.dist-info}/licenses/LICENSE.txt +0 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
## NOTE: This file is auto generated by the swagger code generator program.
|
|
8
|
+
## Do not edit the file manually.
|
|
9
|
+
|
|
10
|
+
import pprint
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import six
|
|
13
|
+
from typing import TYPE_CHECKING
|
|
14
|
+
|
|
15
|
+
if TYPE_CHECKING:
|
|
16
|
+
from flywheel.models.measurement_item_config import MeasurementItemConfig # noqa: F401,E501
|
|
17
|
+
|
|
18
|
+
class MeasurementConfig(object):
|
|
19
|
+
|
|
20
|
+
swagger_types = {
|
|
21
|
+
'label_on_measure': 'bool',
|
|
22
|
+
'exclusive': 'bool',
|
|
23
|
+
'items': 'list[MeasurementItemConfig]'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'label_on_measure': 'labelOnMeasure',
|
|
28
|
+
'exclusive': 'exclusive',
|
|
29
|
+
'items': 'items'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
rattribute_map = {
|
|
33
|
+
'labelOnMeasure': 'label_on_measure',
|
|
34
|
+
'exclusive': 'exclusive',
|
|
35
|
+
'items': 'items'
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
def __init__(self, label_on_measure=False, exclusive=False, items=None): # noqa: E501
|
|
39
|
+
"""MeasurementConfig - a model defined in Swagger
|
|
40
|
+
|
|
41
|
+
:param label_on_measure:, defaults to False
|
|
42
|
+
:type label_on_measure: bool, optional
|
|
43
|
+
:param exclusive:, defaults to False
|
|
44
|
+
:type exclusive: bool, optional
|
|
45
|
+
:param items:, defaults to None
|
|
46
|
+
:type items: list[MeasurementItemConfig], optional
|
|
47
|
+
"""
|
|
48
|
+
super(MeasurementConfig, self).__init__()
|
|
49
|
+
|
|
50
|
+
self._label_on_measure = None
|
|
51
|
+
self._exclusive = None
|
|
52
|
+
self._items = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
self.alt_discriminator = None
|
|
55
|
+
|
|
56
|
+
if label_on_measure is not None:
|
|
57
|
+
self.label_on_measure = label_on_measure
|
|
58
|
+
if exclusive is not None:
|
|
59
|
+
self.exclusive = exclusive
|
|
60
|
+
if items is not None:
|
|
61
|
+
self.items = items
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def label_on_measure(self):
|
|
65
|
+
"""Gets the label_on_measure of this MeasurementConfig.
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:return: The label_on_measure of this MeasurementConfig
|
|
69
|
+
:rtype: bool
|
|
70
|
+
"""
|
|
71
|
+
return self._label_on_measure
|
|
72
|
+
|
|
73
|
+
@label_on_measure.setter
|
|
74
|
+
def label_on_measure(self, label_on_measure):
|
|
75
|
+
"""Sets the label_on_measure of this MeasurementConfig.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param label_on_measure: The label_on_measure of this MeasurementConfig
|
|
79
|
+
:type label_on_measure: bool
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
self._label_on_measure = label_on_measure
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def exclusive(self):
|
|
86
|
+
"""Gets the exclusive of this MeasurementConfig.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The exclusive of this MeasurementConfig
|
|
90
|
+
:rtype: bool
|
|
91
|
+
"""
|
|
92
|
+
return self._exclusive
|
|
93
|
+
|
|
94
|
+
@exclusive.setter
|
|
95
|
+
def exclusive(self, exclusive):
|
|
96
|
+
"""Sets the exclusive of this MeasurementConfig.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param exclusive: The exclusive of this MeasurementConfig
|
|
100
|
+
:type exclusive: bool
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
self._exclusive = exclusive
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def items(self):
|
|
107
|
+
"""Gets the items of this MeasurementConfig.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:return: The items of this MeasurementConfig
|
|
111
|
+
:rtype: list[MeasurementItemConfig]
|
|
112
|
+
"""
|
|
113
|
+
return self._items
|
|
114
|
+
|
|
115
|
+
@items.setter
|
|
116
|
+
def items(self, items):
|
|
117
|
+
"""Sets the items of this MeasurementConfig.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
:param items: The items of this MeasurementConfig
|
|
121
|
+
:type items: list[MeasurementItemConfig]
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
self._items = items
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@staticmethod
|
|
128
|
+
def positional_to_model(value):
|
|
129
|
+
"""Converts a positional argument to a model value"""
|
|
130
|
+
return value
|
|
131
|
+
|
|
132
|
+
def return_value(self):
|
|
133
|
+
"""Unwraps return value from model"""
|
|
134
|
+
return self
|
|
135
|
+
|
|
136
|
+
def to_dict(self):
|
|
137
|
+
"""Returns the model properties as a dict"""
|
|
138
|
+
result = {}
|
|
139
|
+
|
|
140
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
141
|
+
value = getattr(self, attr)
|
|
142
|
+
if isinstance(value, list):
|
|
143
|
+
result[attr] = list(map(
|
|
144
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
145
|
+
value
|
|
146
|
+
))
|
|
147
|
+
elif hasattr(value, "to_dict"):
|
|
148
|
+
result[attr] = value.to_dict()
|
|
149
|
+
elif isinstance(value, dict):
|
|
150
|
+
result[attr] = dict(map(
|
|
151
|
+
lambda item: (item[0], item[1].to_dict())
|
|
152
|
+
if hasattr(item[1], "to_dict") else item,
|
|
153
|
+
value.items()
|
|
154
|
+
))
|
|
155
|
+
else:
|
|
156
|
+
result[attr] = value
|
|
157
|
+
|
|
158
|
+
return result
|
|
159
|
+
|
|
160
|
+
def to_str(self):
|
|
161
|
+
"""Returns the string representation of the model"""
|
|
162
|
+
return pprint.pformat(self.to_dict())
|
|
163
|
+
|
|
164
|
+
def __repr__(self):
|
|
165
|
+
"""For `print` and `pprint`"""
|
|
166
|
+
return self.to_str()
|
|
167
|
+
|
|
168
|
+
def __eq__(self, other):
|
|
169
|
+
"""Returns true if both objects are equal"""
|
|
170
|
+
if not isinstance(other, MeasurementConfig):
|
|
171
|
+
return False
|
|
172
|
+
|
|
173
|
+
return self.__dict__ == other.__dict__
|
|
174
|
+
|
|
175
|
+
def __ne__(self, other):
|
|
176
|
+
"""Returns true if both objects are not equal"""
|
|
177
|
+
return not self == other
|
|
178
|
+
|
|
179
|
+
# Container emulation
|
|
180
|
+
def __getitem__(self, key):
|
|
181
|
+
"""Returns the value of key"""
|
|
182
|
+
key = self._map_key(key)
|
|
183
|
+
return getattr(self, key)
|
|
184
|
+
|
|
185
|
+
def __setitem__(self, key, value):
|
|
186
|
+
"""Sets the value of key"""
|
|
187
|
+
key = self._map_key(key)
|
|
188
|
+
setattr(self, key, value)
|
|
189
|
+
|
|
190
|
+
def __contains__(self, key):
|
|
191
|
+
"""Checks if the given value is a key in this object"""
|
|
192
|
+
key = self._map_key(key, raise_on_error=False)
|
|
193
|
+
return key is not None
|
|
194
|
+
|
|
195
|
+
def keys(self):
|
|
196
|
+
"""Returns the list of json properties in the object"""
|
|
197
|
+
return self.__class__.rattribute_map.keys()
|
|
198
|
+
|
|
199
|
+
def values(self):
|
|
200
|
+
"""Returns the list of values in the object"""
|
|
201
|
+
for key in self.__class__.attribute_map.keys():
|
|
202
|
+
yield getattr(self, key)
|
|
203
|
+
|
|
204
|
+
def items(self):
|
|
205
|
+
"""Returns the list of json property to value mapping"""
|
|
206
|
+
for key, prop in self.__class__.rattribute_map.items():
|
|
207
|
+
yield key, getattr(self, prop)
|
|
208
|
+
|
|
209
|
+
def get(self, key, default=None):
|
|
210
|
+
"""Get the value of the provided json property, or default"""
|
|
211
|
+
key = self._map_key(key, raise_on_error=False)
|
|
212
|
+
if key:
|
|
213
|
+
return getattr(self, key, default)
|
|
214
|
+
return default
|
|
215
|
+
|
|
216
|
+
def _map_key(self, key, raise_on_error=True):
|
|
217
|
+
result = self.__class__.rattribute_map.get(key)
|
|
218
|
+
if result is None:
|
|
219
|
+
if raise_on_error:
|
|
220
|
+
raise AttributeError('Invalid attribute name: {}'.format(key))
|
|
221
|
+
return None
|
|
222
|
+
return '_' + result
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
## NOTE: This file is auto generated by the swagger code generator program.
|
|
8
|
+
## Do not edit the file manually.
|
|
9
|
+
|
|
10
|
+
import pprint
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import six
|
|
13
|
+
from typing import TYPE_CHECKING
|
|
14
|
+
|
|
15
|
+
class MeasurementItemConfig(object):
|
|
16
|
+
|
|
17
|
+
swagger_types = {
|
|
18
|
+
'label': 'str',
|
|
19
|
+
'value': 'str',
|
|
20
|
+
'color': 'str'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'label': 'label',
|
|
25
|
+
'value': 'value',
|
|
26
|
+
'color': 'color'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
rattribute_map = {
|
|
30
|
+
'label': 'label',
|
|
31
|
+
'value': 'value',
|
|
32
|
+
'color': 'color'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
def __init__(self, label=None, value=None, color=None): # noqa: E501
|
|
36
|
+
"""MeasurementItemConfig - a model defined in Swagger
|
|
37
|
+
|
|
38
|
+
:param label:, defaults to None
|
|
39
|
+
:type label: str, optional
|
|
40
|
+
:param value:, defaults to None
|
|
41
|
+
:type value: str, optional
|
|
42
|
+
:param color:, defaults to None
|
|
43
|
+
:type color: str, optional
|
|
44
|
+
"""
|
|
45
|
+
super(MeasurementItemConfig, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._label = None
|
|
48
|
+
self._value = None
|
|
49
|
+
self._color = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
self.alt_discriminator = None
|
|
52
|
+
|
|
53
|
+
self.label = label
|
|
54
|
+
self.value = value
|
|
55
|
+
if color is not None:
|
|
56
|
+
self.color = color
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def label(self):
|
|
60
|
+
"""Gets the label of this MeasurementItemConfig.
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
:return: The label of this MeasurementItemConfig
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._label
|
|
67
|
+
|
|
68
|
+
@label.setter
|
|
69
|
+
def label(self, label):
|
|
70
|
+
"""Sets the label of this MeasurementItemConfig.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:param label: The label of this MeasurementItemConfig
|
|
74
|
+
:type label: str
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
self._label = label
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def value(self):
|
|
81
|
+
"""Gets the value of this MeasurementItemConfig.
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
:return: The value of this MeasurementItemConfig
|
|
85
|
+
:rtype: str
|
|
86
|
+
"""
|
|
87
|
+
return self._value
|
|
88
|
+
|
|
89
|
+
@value.setter
|
|
90
|
+
def value(self, value):
|
|
91
|
+
"""Sets the value of this MeasurementItemConfig.
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
:param value: The value of this MeasurementItemConfig
|
|
95
|
+
:type value: str
|
|
96
|
+
"""
|
|
97
|
+
|
|
98
|
+
self._value = value
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def color(self):
|
|
102
|
+
"""Gets the color of this MeasurementItemConfig.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:return: The color of this MeasurementItemConfig
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._color
|
|
109
|
+
|
|
110
|
+
@color.setter
|
|
111
|
+
def color(self, color):
|
|
112
|
+
"""Sets the color of this MeasurementItemConfig.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
:param color: The color of this MeasurementItemConfig
|
|
116
|
+
:type color: str
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
self._color = color
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
@staticmethod
|
|
123
|
+
def positional_to_model(value):
|
|
124
|
+
"""Converts a positional argument to a model value"""
|
|
125
|
+
return value
|
|
126
|
+
|
|
127
|
+
def return_value(self):
|
|
128
|
+
"""Unwraps return value from model"""
|
|
129
|
+
return self
|
|
130
|
+
|
|
131
|
+
def to_dict(self):
|
|
132
|
+
"""Returns the model properties as a dict"""
|
|
133
|
+
result = {}
|
|
134
|
+
|
|
135
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
136
|
+
value = getattr(self, attr)
|
|
137
|
+
if isinstance(value, list):
|
|
138
|
+
result[attr] = list(map(
|
|
139
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
140
|
+
value
|
|
141
|
+
))
|
|
142
|
+
elif hasattr(value, "to_dict"):
|
|
143
|
+
result[attr] = value.to_dict()
|
|
144
|
+
elif isinstance(value, dict):
|
|
145
|
+
result[attr] = dict(map(
|
|
146
|
+
lambda item: (item[0], item[1].to_dict())
|
|
147
|
+
if hasattr(item[1], "to_dict") else item,
|
|
148
|
+
value.items()
|
|
149
|
+
))
|
|
150
|
+
else:
|
|
151
|
+
result[attr] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, MeasurementItemConfig):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.__dict__ == other.__dict__
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
return not self == other
|
|
173
|
+
|
|
174
|
+
# Container emulation
|
|
175
|
+
def __getitem__(self, key):
|
|
176
|
+
"""Returns the value of key"""
|
|
177
|
+
key = self._map_key(key)
|
|
178
|
+
return getattr(self, key)
|
|
179
|
+
|
|
180
|
+
def __setitem__(self, key, value):
|
|
181
|
+
"""Sets the value of key"""
|
|
182
|
+
key = self._map_key(key)
|
|
183
|
+
setattr(self, key, value)
|
|
184
|
+
|
|
185
|
+
def __contains__(self, key):
|
|
186
|
+
"""Checks if the given value is a key in this object"""
|
|
187
|
+
key = self._map_key(key, raise_on_error=False)
|
|
188
|
+
return key is not None
|
|
189
|
+
|
|
190
|
+
def keys(self):
|
|
191
|
+
"""Returns the list of json properties in the object"""
|
|
192
|
+
return self.__class__.rattribute_map.keys()
|
|
193
|
+
|
|
194
|
+
def values(self):
|
|
195
|
+
"""Returns the list of values in the object"""
|
|
196
|
+
for key in self.__class__.attribute_map.keys():
|
|
197
|
+
yield getattr(self, key)
|
|
198
|
+
|
|
199
|
+
def items(self):
|
|
200
|
+
"""Returns the list of json property to value mapping"""
|
|
201
|
+
for key, prop in self.__class__.rattribute_map.items():
|
|
202
|
+
yield key, getattr(self, prop)
|
|
203
|
+
|
|
204
|
+
def get(self, key, default=None):
|
|
205
|
+
"""Get the value of the provided json property, or default"""
|
|
206
|
+
key = self._map_key(key, raise_on_error=False)
|
|
207
|
+
if key:
|
|
208
|
+
return getattr(self, key, default)
|
|
209
|
+
return default
|
|
210
|
+
|
|
211
|
+
def _map_key(self, key, raise_on_error=True):
|
|
212
|
+
result = self.__class__.rattribute_map.get(key)
|
|
213
|
+
if result is None:
|
|
214
|
+
if raise_on_error:
|
|
215
|
+
raise AttributeError('Invalid attribute name: {}'.format(key))
|
|
216
|
+
return None
|
|
217
|
+
return '_' + result
|
flywheel/models/mfa_channel.py
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Flywheel
|
|
5
|
-
|
|
6
|
-
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
-
|
|
8
|
-
OpenAPI spec version: 0.0.1
|
|
9
|
-
|
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
4
|
"""
|
|
12
5
|
|
|
13
6
|
|
flywheel/models/mfa_settings.py
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Flywheel
|
|
5
|
-
|
|
6
|
-
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
-
|
|
8
|
-
OpenAPI spec version: 0.0.1
|
|
9
|
-
|
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
4
|
"""
|
|
12
5
|
|
|
13
6
|
|
|
@@ -37,7 +30,11 @@ class MFASettings(object):
|
|
|
37
30
|
}
|
|
38
31
|
|
|
39
32
|
def __init__(self, disallowed_channels=None): # noqa: E501
|
|
40
|
-
"""MFASettings - a model defined in Swagger
|
|
33
|
+
"""MFASettings - a model defined in Swagger
|
|
34
|
+
|
|
35
|
+
:param disallowed_channels:, defaults to None
|
|
36
|
+
:type disallowed_channels: list[MFAChannel], optional
|
|
37
|
+
"""
|
|
41
38
|
super(MFASettings, self).__init__()
|
|
42
39
|
|
|
43
40
|
self._disallowed_channels = None
|
|
@@ -52,7 +49,7 @@ class MFASettings(object):
|
|
|
52
49
|
"""Gets the disallowed_channels of this MFASettings.
|
|
53
50
|
|
|
54
51
|
|
|
55
|
-
:return: The disallowed_channels of this MFASettings
|
|
52
|
+
:return: The disallowed_channels of this MFASettings
|
|
56
53
|
:rtype: list[MFAChannel]
|
|
57
54
|
"""
|
|
58
55
|
return self._disallowed_channels
|
|
@@ -62,8 +59,8 @@ class MFASettings(object):
|
|
|
62
59
|
"""Sets the disallowed_channels of this MFASettings.
|
|
63
60
|
|
|
64
61
|
|
|
65
|
-
:param disallowed_channels: The disallowed_channels of this MFASettings
|
|
66
|
-
:type: list[MFAChannel]
|
|
62
|
+
:param disallowed_channels: The disallowed_channels of this MFASettings
|
|
63
|
+
:type disallowed_channels: list[MFAChannel]
|
|
67
64
|
"""
|
|
68
65
|
|
|
69
66
|
self._disallowed_channels = disallowed_channels
|
flywheel/models/ml_set_filter.py
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Flywheel
|
|
5
|
-
|
|
6
|
-
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
-
|
|
8
|
-
OpenAPI spec version: 0.0.1
|
|
9
|
-
|
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
4
|
"""
|
|
12
5
|
|
|
13
6
|
|
|
@@ -40,7 +33,13 @@ class MLSetFilter(object):
|
|
|
40
33
|
}
|
|
41
34
|
|
|
42
35
|
def __init__(self, plus=None, minus=None): # noqa: E501
|
|
43
|
-
"""MLSetFilter - a model defined in Swagger
|
|
36
|
+
"""MLSetFilter - a model defined in Swagger
|
|
37
|
+
|
|
38
|
+
:param plus:, defaults to None
|
|
39
|
+
:type plus: list[MLType], optional
|
|
40
|
+
:param minus:, defaults to None
|
|
41
|
+
:type minus: list[MLType], optional
|
|
42
|
+
"""
|
|
44
43
|
super(MLSetFilter, self).__init__()
|
|
45
44
|
|
|
46
45
|
self._plus = None
|
|
@@ -58,7 +57,7 @@ class MLSetFilter(object):
|
|
|
58
57
|
"""Gets the plus of this MLSetFilter.
|
|
59
58
|
|
|
60
59
|
|
|
61
|
-
:return: The plus of this MLSetFilter
|
|
60
|
+
:return: The plus of this MLSetFilter
|
|
62
61
|
:rtype: list[MLType]
|
|
63
62
|
"""
|
|
64
63
|
return self._plus
|
|
@@ -68,8 +67,8 @@ class MLSetFilter(object):
|
|
|
68
67
|
"""Sets the plus of this MLSetFilter.
|
|
69
68
|
|
|
70
69
|
|
|
71
|
-
:param plus: The plus of this MLSetFilter
|
|
72
|
-
:type: list[MLType]
|
|
70
|
+
:param plus: The plus of this MLSetFilter
|
|
71
|
+
:type plus: list[MLType]
|
|
73
72
|
"""
|
|
74
73
|
|
|
75
74
|
self._plus = plus
|
|
@@ -79,7 +78,7 @@ class MLSetFilter(object):
|
|
|
79
78
|
"""Gets the minus of this MLSetFilter.
|
|
80
79
|
|
|
81
80
|
|
|
82
|
-
:return: The minus of this MLSetFilter
|
|
81
|
+
:return: The minus of this MLSetFilter
|
|
83
82
|
:rtype: list[MLType]
|
|
84
83
|
"""
|
|
85
84
|
return self._minus
|
|
@@ -89,8 +88,8 @@ class MLSetFilter(object):
|
|
|
89
88
|
"""Sets the minus of this MLSetFilter.
|
|
90
89
|
|
|
91
90
|
|
|
92
|
-
:param minus: The minus of this MLSetFilter
|
|
93
|
-
:type: list[MLType]
|
|
91
|
+
:param minus: The minus of this MLSetFilter
|
|
92
|
+
:type minus: list[MLType]
|
|
94
93
|
"""
|
|
95
94
|
|
|
96
95
|
self._minus = minus
|
flywheel/models/ml_type.py
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Flywheel
|
|
5
|
-
|
|
6
|
-
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
-
|
|
8
|
-
OpenAPI spec version: 0.0.1
|
|
9
|
-
|
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
4
|
"""
|
|
12
5
|
|
|
13
6
|
|
flywheel/models/modality.py
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Flywheel
|
|
5
|
-
|
|
6
|
-
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
-
|
|
8
|
-
OpenAPI spec version: 0.0.1
|
|
9
|
-
|
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
4
|
"""
|
|
12
5
|
|
|
13
6
|
|
|
@@ -46,7 +39,17 @@ class Modality(object):
|
|
|
46
39
|
}
|
|
47
40
|
|
|
48
41
|
def __init__(self, id=None, classification=None, description=None, active=None): # noqa: E501
|
|
49
|
-
"""Modality - a model defined in Swagger
|
|
42
|
+
"""Modality - a model defined in Swagger
|
|
43
|
+
|
|
44
|
+
:param id: Unique database ID, defaults to None
|
|
45
|
+
:type id: str, optional
|
|
46
|
+
:param classification:, defaults to None
|
|
47
|
+
:type classification: CommonClassification, optional
|
|
48
|
+
:param description:, defaults to None
|
|
49
|
+
:type description: str, optional
|
|
50
|
+
:param active:, defaults to None
|
|
51
|
+
:type active: bool, optional
|
|
52
|
+
"""
|
|
50
53
|
super(Modality, self).__init__()
|
|
51
54
|
|
|
52
55
|
self._id = None
|
|
@@ -71,7 +74,7 @@ class Modality(object):
|
|
|
71
74
|
|
|
72
75
|
Unique database ID
|
|
73
76
|
|
|
74
|
-
:return: The id of this Modality
|
|
77
|
+
:return: The id of this Modality
|
|
75
78
|
:rtype: str
|
|
76
79
|
"""
|
|
77
80
|
return self._id
|
|
@@ -82,8 +85,8 @@ class Modality(object):
|
|
|
82
85
|
|
|
83
86
|
Unique database ID
|
|
84
87
|
|
|
85
|
-
:param id: The id of this Modality
|
|
86
|
-
:type: str
|
|
88
|
+
:param id: The id of this Modality
|
|
89
|
+
:type id: str
|
|
87
90
|
"""
|
|
88
91
|
|
|
89
92
|
self._id = id
|
|
@@ -93,7 +96,7 @@ class Modality(object):
|
|
|
93
96
|
"""Gets the classification of this Modality.
|
|
94
97
|
|
|
95
98
|
|
|
96
|
-
:return: The classification of this Modality
|
|
99
|
+
:return: The classification of this Modality
|
|
97
100
|
:rtype: CommonClassification
|
|
98
101
|
"""
|
|
99
102
|
return self._classification
|
|
@@ -103,8 +106,8 @@ class Modality(object):
|
|
|
103
106
|
"""Sets the classification of this Modality.
|
|
104
107
|
|
|
105
108
|
|
|
106
|
-
:param classification: The classification of this Modality
|
|
107
|
-
:type: CommonClassification
|
|
109
|
+
:param classification: The classification of this Modality
|
|
110
|
+
:type classification: CommonClassification
|
|
108
111
|
"""
|
|
109
112
|
|
|
110
113
|
self._classification = classification
|
|
@@ -114,7 +117,7 @@ class Modality(object):
|
|
|
114
117
|
"""Gets the description of this Modality.
|
|
115
118
|
|
|
116
119
|
|
|
117
|
-
:return: The description of this Modality
|
|
120
|
+
:return: The description of this Modality
|
|
118
121
|
:rtype: str
|
|
119
122
|
"""
|
|
120
123
|
return self._description
|
|
@@ -124,8 +127,8 @@ class Modality(object):
|
|
|
124
127
|
"""Sets the description of this Modality.
|
|
125
128
|
|
|
126
129
|
|
|
127
|
-
:param description: The description of this Modality
|
|
128
|
-
:type: str
|
|
130
|
+
:param description: The description of this Modality
|
|
131
|
+
:type description: str
|
|
129
132
|
"""
|
|
130
133
|
|
|
131
134
|
self._description = description
|
|
@@ -135,7 +138,7 @@ class Modality(object):
|
|
|
135
138
|
"""Gets the active of this Modality.
|
|
136
139
|
|
|
137
140
|
|
|
138
|
-
:return: The active of this Modality
|
|
141
|
+
:return: The active of this Modality
|
|
139
142
|
:rtype: bool
|
|
140
143
|
"""
|
|
141
144
|
return self._active
|
|
@@ -145,8 +148,8 @@ class Modality(object):
|
|
|
145
148
|
"""Sets the active of this Modality.
|
|
146
149
|
|
|
147
150
|
|
|
148
|
-
:param active: The active of this Modality
|
|
149
|
-
:type: bool
|
|
151
|
+
:param active: The active of this Modality
|
|
152
|
+
:type active: bool
|
|
150
153
|
"""
|
|
151
154
|
|
|
152
155
|
self._active = active
|