flywheel-sdk 21.2.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 +784 -0
- flywheel/api/__init__.py +46 -0
- flywheel/api/acquisitions_api.py +5014 -0
- flywheel/api/analyses_api.py +3848 -0
- flywheel/api/audit_trail_api.py +568 -0
- flywheel/api/auth_api.py +121 -0
- flywheel/api/batch_api.py +630 -0
- flywheel/api/bulk_api.py +140 -0
- flywheel/api/change_log_api.py +254 -0
- flywheel/api/collections_api.py +3913 -0
- flywheel/api/config_api.py +299 -0
- flywheel/api/container_tasks_api.py +137 -0
- flywheel/api/container_type_api.py +137 -0
- flywheel/api/containers_api.py +4784 -0
- flywheel/api/custom_filters_api.py +466 -0
- flywheel/api/data_view_executions_api.py +549 -0
- flywheel/api/dataexplorer_api.py +1192 -0
- flywheel/api/devices_api.py +1071 -0
- flywheel/api/dimse_api.py +814 -0
- flywheel/api/download_api.py +261 -0
- flywheel/api/files_api.py +1868 -0
- flywheel/api/form_responses_api.py +703 -0
- flywheel/api/gears_api.py +1875 -0
- flywheel/api/groups_api.py +2829 -0
- flywheel/api/jobs_api.py +2320 -0
- flywheel/api/jupyterlab_servers_api.py +245 -0
- flywheel/api/modalities_api.py +562 -0
- flywheel/api/packfiles_api.py +121 -0
- flywheel/api/projects_api.py +7820 -0
- flywheel/api/protocols_api.py +757 -0
- flywheel/api/reports_api.py +1057 -0
- flywheel/api/resolve_api.py +276 -0
- flywheel/api/roles_api.py +563 -0
- flywheel/api/sessions_api.py +5296 -0
- flywheel/api/site_api.py +1552 -0
- flywheel/api/staffing_pools_api.py +677 -0
- flywheel/api/subjects_api.py +5349 -0
- flywheel/api/tasks_api.py +897 -0
- flywheel/api/tree_api.py +266 -0
- flywheel/api/uids_api.py +140 -0
- flywheel/api/upload_api.py +842 -0
- flywheel/api/users_api.py +2142 -0
- flywheel/api/views_api.py +1089 -0
- flywheel/api_client.py +748 -0
- flywheel/client.py +291 -0
- flywheel/configuration.py +308 -0
- flywheel/drone_login.py +65 -0
- flywheel/file_spec.py +67 -0
- flywheel/finder.py +168 -0
- flywheel/flywheel.py +9867 -0
- flywheel/gear_context.py +374 -0
- flywheel/models/__init__.py +726 -0
- flywheel/models/access_level.py +30 -0
- flywheel/models/access_permission.py +197 -0
- flywheel/models/access_permission_output.py +192 -0
- flywheel/models/access_permission_update.py +166 -0
- flywheel/models/access_type.py +54 -0
- flywheel/models/accumulator.py +33 -0
- flywheel/models/acquisition.py +25 -0
- flywheel/models/acquisition_container_output.py +34 -0
- flywheel/models/acquisition_copy_input.py +223 -0
- flywheel/models/acquisition_input.py +297 -0
- flywheel/models/acquisition_list_output.py +767 -0
- flywheel/models/acquisition_modify_input.py +299 -0
- flywheel/models/acquisition_node.py +35 -0
- flywheel/models/acquisition_output.py +767 -0
- flywheel/models/acquisition_parents.py +241 -0
- flywheel/models/acquisition_template_options.py +275 -0
- flywheel/models/acquisition_upsert_input.py +383 -0
- flywheel/models/acquisition_upsert_output.py +243 -0
- flywheel/models/action.py +91 -0
- flywheel/models/adhoc_analysis_input.py +247 -0
- flywheel/models/analysis.py +25 -0
- flywheel/models/analysis_container_output.py +34 -0
- flywheel/models/analysis_files_create_ticket_output.py +241 -0
- flywheel/models/analysis_input.py +310 -0
- flywheel/models/analysis_input_legacy.py +25 -0
- flywheel/models/analysis_list_output.py +680 -0
- flywheel/models/analysis_list_output_inflated_job.py +650 -0
- flywheel/models/analysis_modify_input.py +191 -0
- flywheel/models/analysis_node.py +35 -0
- flywheel/models/analysis_output.py +683 -0
- flywheel/models/analysis_output_inflated_job.py +674 -0
- flywheel/models/analysis_parents.py +270 -0
- flywheel/models/analysis_update.py +25 -0
- flywheel/models/api_key_input_with_optional_label.py +191 -0
- flywheel/models/api_key_output.py +297 -0
- flywheel/models/as_storage.py +298 -0
- flywheel/models/assignee.py +192 -0
- flywheel/models/assignee_type.py +29 -0
- flywheel/models/audit_trail_report.py +486 -0
- flywheel/models/audit_trail_report_status.py +32 -0
- flywheel/models/auth0_auth_out.py +323 -0
- flywheel/models/auth0_options_out.py +319 -0
- flywheel/models/auth_out.py +357 -0
- flywheel/models/auth_session_output.py +272 -0
- flywheel/models/avatars.py +218 -0
- flywheel/models/aws_creds.py +191 -0
- flywheel/models/aws_storage.py +354 -0
- flywheel/models/azure_creds.py +190 -0
- flywheel/models/base_aet.py +245 -0
- flywheel/models/base_compute.py +426 -0
- flywheel/models/batch.py +360 -0
- flywheel/models/batch_cancel_output.py +36 -0
- flywheel/models/batch_create_filters.py +220 -0
- flywheel/models/batch_job_analysis_input.py +281 -0
- flywheel/models/batch_jobs_proposal_input.py +36 -0
- flywheel/models/batch_proposal.py +25 -0
- flywheel/models/batch_proposal_detail.py +36 -0
- flywheel/models/batch_proposal_input.py +25 -0
- flywheel/models/body.py +36 -0
- flywheel/models/body_regenerate_key_api_devices_device_id_key_post.py +25 -0
- flywheel/models/body_region.py +46 -0
- flywheel/models/bookmark.py +189 -0
- flywheel/models/bulk_move_input.py +272 -0
- flywheel/models/bulk_move_sessions.py +25 -0
- flywheel/models/callbacks_virus_scan_input.py +36 -0
- flywheel/models/cancelled_batch_output.py +163 -0
- flywheel/models/catalog_list_output.py +407 -0
- flywheel/models/central_out.py +299 -0
- flywheel/models/change.py +379 -0
- flywheel/models/change_log_container_type.py +38 -0
- flywheel/models/change_log_document.py +245 -0
- flywheel/models/change_method.py +33 -0
- flywheel/models/classic_batch_job_output.py +352 -0
- flywheel/models/classic_batch_job_output_inflated_jobs.py +379 -0
- flywheel/models/classic_batch_proposal_input.py +388 -0
- flywheel/models/classic_batch_proposal_output.py +471 -0
- flywheel/models/classification_add_delete.py +36 -0
- flywheel/models/classification_replace.py +36 -0
- flywheel/models/classification_update_input.py +36 -0
- flywheel/models/cohort.py +29 -0
- flywheel/models/collection.py +25 -0
- flywheel/models/collection_container_output.py +32 -0
- flywheel/models/collection_input.py +217 -0
- flywheel/models/collection_input_with_contents.py +248 -0
- flywheel/models/collection_node.py +192 -0
- flywheel/models/collection_node_level.py +31 -0
- flywheel/models/collection_operation.py +193 -0
- flywheel/models/collection_operation_type.py +29 -0
- flywheel/models/collection_output.py +639 -0
- flywheel/models/collection_with_stats.py +637 -0
- flywheel/models/column.py +286 -0
- flywheel/models/column_type.py +32 -0
- flywheel/models/common_classification.py +135 -0
- flywheel/models/common_deleted_count.py +25 -0
- flywheel/models/common_editions.py +25 -0
- flywheel/models/common_info.py +135 -0
- flywheel/models/common_join_origins.py +25 -0
- flywheel/models/common_key.py +36 -0
- flywheel/models/common_modified_count.py +25 -0
- flywheel/models/common_object_created.py +36 -0
- flywheel/models/common_project_settings.py +25 -0
- flywheel/models/common_settings.py +36 -0
- flywheel/models/complete_multipart_upload_output.py +189 -0
- flywheel/models/complete_s3_multipart_upload_input.py +241 -0
- flywheel/models/config_feature_map.py +36 -0
- flywheel/models/config_out.py +381 -0
- flywheel/models/config_output.py +36 -0
- flywheel/models/config_site_config_output.py +36 -0
- flywheel/models/config_site_settings.py +36 -0
- flywheel/models/config_site_settings_input.py +36 -0
- flywheel/models/conflict_types.py +30 -0
- flywheel/models/container_delete_reason.py +39 -0
- flywheel/models/container_filter.py +193 -0
- flywheel/models/container_id_view_input.py +521 -0
- flywheel/models/container_id_view_input_execute_and_save.py +308 -0
- flywheel/models/container_modify.py +536 -0
- flywheel/models/container_new_output.py +25 -0
- flywheel/models/container_node_min.py +350 -0
- flywheel/models/container_output.py +36 -0
- flywheel/models/container_output_with_files.py +283 -0
- flywheel/models/container_parents.py +311 -0
- flywheel/models/container_pipeline_input.py +536 -0
- flywheel/models/container_project_parents.py +25 -0
- flywheel/models/container_reference.py +193 -0
- flywheel/models/container_reference_with_label.py +219 -0
- flywheel/models/container_session_parents.py +25 -0
- flywheel/models/container_subject_parents.py +25 -0
- flywheel/models/container_type.py +39 -0
- flywheel/models/container_uidcheck.py +253 -0
- flywheel/models/container_update.py +135 -0
- flywheel/models/context_input.py +217 -0
- flywheel/models/copy_filter.py +299 -0
- flywheel/models/copy_status.py +32 -0
- flywheel/models/core_models_api_key_api_key_input.py +190 -0
- flywheel/models/core_models_audit_trail_create_report_input.py +273 -0
- flywheel/models/core_models_audit_trail_modify_report_input.py +167 -0
- flywheel/models/core_models_common_source.py +189 -0
- flywheel/models/core_models_jobs_api_key_input.py +191 -0
- flywheel/models/core_models_search_parent_type.py +33 -0
- flywheel/models/core_workflows_form_responses_models_form_parents.py +163 -0
- flywheel/models/core_workflows_form_responses_models_form_response_output.py +440 -0
- flywheel/models/core_workflows_reader_models_reader_task_parents.py +295 -0
- flywheel/models/creds.py +135 -0
- flywheel/models/curator.py +221 -0
- flywheel/models/current_user_output.py +707 -0
- flywheel/models/custom_field.py +437 -0
- flywheel/models/custom_form.py +244 -0
- flywheel/models/cvat_info.py +275 -0
- flywheel/models/cvat_settings.py +272 -0
- flywheel/models/cvat_settings_input.py +272 -0
- flywheel/models/cvat_sync_state.py +30 -0
- flywheel/models/daily_report_usage.py +565 -0
- flywheel/models/data_strategy.py +29 -0
- flywheel/models/data_view.py +25 -0
- flywheel/models/data_view_analysis_file_spec.py +221 -0
- flywheel/models/data_view_analysis_filter_spec.py +221 -0
- flywheel/models/data_view_column_alias.py +337 -0
- flywheel/models/data_view_column_spec.py +286 -0
- flywheel/models/data_view_execution.py +505 -0
- flywheel/models/data_view_execution_state.py +31 -0
- flywheel/models/data_view_file_spec.py +392 -0
- flywheel/models/data_view_group_by.py +166 -0
- flywheel/models/data_view_group_by_column.py +194 -0
- flywheel/models/data_view_name_filter_spec.py +194 -0
- flywheel/models/data_view_output.py +25 -0
- flywheel/models/data_view_save_data_view_input.py +25 -0
- flywheel/models/data_view_zip_filter_spec.py +223 -0
- flywheel/models/default_flywheel_role.py +30 -0
- flywheel/models/deid_log_skip_reason.py +29 -0
- flywheel/models/delete_by_search_query.py +253 -0
- flywheel/models/deleted_file.py +514 -0
- flywheel/models/deleted_result.py +194 -0
- flywheel/models/deprecated_action.py +29 -0
- flywheel/models/destination_container_type.py +30 -0
- flywheel/models/device.py +437 -0
- flywheel/models/device_admin_update.py +194 -0
- flywheel/models/device_create.py +219 -0
- flywheel/models/device_self_update.py +272 -0
- flywheel/models/device_status.py +36 -0
- flywheel/models/device_status_entry.py +221 -0
- flywheel/models/device_storage_strategy_update.py +193 -0
- flywheel/models/dimse_project_input.py +36 -0
- flywheel/models/dimse_project_output.py +36 -0
- flywheel/models/dimse_service_input.py +36 -0
- flywheel/models/dimse_service_output.py +36 -0
- flywheel/models/download.py +249 -0
- flywheel/models/download_container_filter.py +167 -0
- flywheel/models/download_container_filter_definition.py +222 -0
- flywheel/models/download_filter.py +221 -0
- flywheel/models/download_filter_definition.py +195 -0
- flywheel/models/download_format.py +29 -0
- flywheel/models/download_input.py +25 -0
- flywheel/models/download_node.py +189 -0
- flywheel/models/download_strategy.py +31 -0
- flywheel/models/download_ticket.py +36 -0
- flywheel/models/download_ticket_stub.py +249 -0
- flywheel/models/download_ticket_with_summary.py +36 -0
- flywheel/models/e_signature.py +242 -0
- flywheel/models/edition.py +169 -0
- flywheel/models/egress_device.py +597 -0
- flywheel/models/egress_device_page.py +219 -0
- flywheel/models/egress_provider.py +408 -0
- flywheel/models/egress_provider_id.py +164 -0
- flywheel/models/exchange_storage.py +243 -0
- flywheel/models/executor_info.py +353 -0
- flywheel/models/export_templates.py +195 -0
- flywheel/models/features.py +1838 -0
- flywheel/models/field_change.py +271 -0
- flywheel/models/field_change_log_document.py +245 -0
- flywheel/models/field_type.py +37 -0
- flywheel/models/file.py +1139 -0
- flywheel/models/file_classification_delta.py +245 -0
- flywheel/models/file_container_type.py +34 -0
- flywheel/models/file_entry.py +740 -0
- flywheel/models/file_export_templates.py +272 -0
- flywheel/models/file_format.py +33 -0
- flywheel/models/file_gear_info.py +215 -0
- flywheel/models/file_group.py +29 -0
- flywheel/models/file_list_output.py +1115 -0
- flywheel/models/file_modify_input.py +191 -0
- flywheel/models/file_move_input.py +221 -0
- flywheel/models/file_node.py +1138 -0
- flywheel/models/file_node_min.py +321 -0
- flywheel/models/file_origin.py +283 -0
- flywheel/models/file_output.py +1135 -0
- flywheel/models/file_parents.py +297 -0
- flywheel/models/file_reference.py +221 -0
- flywheel/models/file_suggestion.py +241 -0
- flywheel/models/file_template_options.py +299 -0
- flywheel/models/file_upsert_input.py +612 -0
- flywheel/models/file_upsert_origin.py +36 -0
- flywheel/models/file_upsert_output.py +1154 -0
- flywheel/models/file_version.py +190 -0
- flywheel/models/file_version_copy_of.py +273 -0
- flywheel/models/file_version_output.py +325 -0
- flywheel/models/file_via.py +245 -0
- flywheel/models/file_zip_entry.py +25 -0
- flywheel/models/file_zip_info.py +25 -0
- flywheel/models/filter.py +350 -0
- flywheel/models/filter_input.py +218 -0
- flywheel/models/filter_values.py +195 -0
- flywheel/models/filter_view.py +28 -0
- flywheel/models/fixed_file_version_input.py +216 -0
- flywheel/models/fixed_input.py +299 -0
- flywheel/models/form_definition.py +163 -0
- flywheel/models/form_response_base.py +311 -0
- flywheel/models/form_response_create.py +193 -0
- flywheel/models/gcp_creds.py +397 -0
- flywheel/models/gcp_storage.py +298 -0
- flywheel/models/gear.py +619 -0
- flywheel/models/gear_category.py +32 -0
- flywheel/models/gear_config.py +138 -0
- flywheel/models/gear_context_input.py +164 -0
- flywheel/models/gear_context_lookup.py +25 -0
- flywheel/models/gear_context_lookup_item.py +36 -0
- flywheel/models/gear_context_value_output.py +272 -0
- flywheel/models/gear_context_value_output_unfound.py +164 -0
- flywheel/models/gear_custom.py +135 -0
- flywheel/models/gear_directive.py +135 -0
- flywheel/models/gear_doc.py +25 -0
- flywheel/models/gear_document.py +332 -0
- flywheel/models/gear_document_input.py +303 -0
- flywheel/models/gear_document_legacy_input.py +302 -0
- flywheel/models/gear_environment.py +135 -0
- flywheel/models/gear_exchange.py +221 -0
- flywheel/models/gear_file_input.py +192 -0
- flywheel/models/gear_id_output.py +170 -0
- flywheel/models/gear_info.py +251 -0
- flywheel/models/gear_input_item.py +231 -0
- flywheel/models/gear_inputs.py +140 -0
- flywheel/models/gear_invocation.py +138 -0
- flywheel/models/gear_key_input.py +191 -0
- flywheel/models/gear_manifest.py +624 -0
- flywheel/models/gear_mixin.py +218 -0
- flywheel/models/gear_node.py +355 -0
- flywheel/models/gear_output_configuration.py +164 -0
- flywheel/models/gear_permissions.py +191 -0
- flywheel/models/gear_permissions_input.py +163 -0
- flywheel/models/gear_permissions_type.py +29 -0
- flywheel/models/gear_return_ticket.py +25 -0
- flywheel/models/gear_rule.py +653 -0
- flywheel/models/gear_rule_condition.py +219 -0
- flywheel/models/gear_rule_condition_type.py +37 -0
- flywheel/models/gear_rule_input.py +517 -0
- flywheel/models/gear_rule_modify_input.py +492 -0
- flywheel/models/gear_rule_output.py +652 -0
- flywheel/models/gear_save_submission.py +221 -0
- flywheel/models/gear_series.py +298 -0
- flywheel/models/gear_series_update.py +163 -0
- flywheel/models/gear_suggestion_output.py +301 -0
- flywheel/models/gear_ticket.py +245 -0
- flywheel/models/gear_ticket_output.py +163 -0
- flywheel/models/google_auth_out.py +299 -0
- flywheel/models/graph_filter.py +329 -0
- flywheel/models/group.py +25 -0
- flywheel/models/group_by.py +163 -0
- flywheel/models/group_by_column.py +36 -0
- flywheel/models/group_container_output.py +33 -0
- flywheel/models/group_input.py +248 -0
- flywheel/models/group_metadata_input.py +36 -0
- flywheel/models/group_node.py +34 -0
- flywheel/models/group_output.py +471 -0
- flywheel/models/group_report.py +218 -0
- flywheel/models/group_role.py +163 -0
- flywheel/models/group_settings_output.py +249 -0
- flywheel/models/group_update.py +249 -0
- flywheel/models/header_feature.py +37 -0
- flywheel/models/hierarchy_export_templates.py +272 -0
- flywheel/models/http_validation_error.py +167 -0
- flywheel/models/info.py +218 -0
- flywheel/models/info_add_remove.py +36 -0
- flywheel/models/info_container_type.py +35 -0
- flywheel/models/info_replace.py +36 -0
- flywheel/models/info_update_input.py +36 -0
- flywheel/models/ingress_provider.py +299 -0
- flywheel/models/ingress_providers.py +272 -0
- flywheel/models/ingress_site_settings.py +305 -0
- flywheel/models/ingress_update_provider.py +218 -0
- flywheel/models/inline_response200.py +163 -0
- flywheel/models/inline_response2001.py +171 -0
- flywheel/models/inline_response2002.py +163 -0
- flywheel/models/inline_response2003.py +36 -0
- flywheel/models/inline_response2005.py +25 -0
- flywheel/models/input_filter.py +221 -0
- flywheel/models/input_job.py +521 -0
- flywheel/models/input_job_profile.py +275 -0
- flywheel/models/inserted_id.py +163 -0
- flywheel/models/job.py +841 -0
- flywheel/models/job_analysis_input.py +273 -0
- flywheel/models/job_ask.py +301 -0
- flywheel/models/job_ask_response.py +195 -0
- flywheel/models/job_ask_response_job.py +978 -0
- flywheel/models/job_ask_return.py +25 -0
- flywheel/models/job_ask_return_criteria.py +245 -0
- flywheel/models/job_ask_state.py +25 -0
- flywheel/models/job_ask_state_response.py +163 -0
- flywheel/models/job_complete.py +220 -0
- flywheel/models/job_completion_input.py +25 -0
- flywheel/models/job_completion_ticket.py +25 -0
- flywheel/models/job_config.py +135 -0
- flywheel/models/job_config_input.py +272 -0
- flywheel/models/job_config_inputs.py +25 -0
- flywheel/models/job_config_output.py +25 -0
- flywheel/models/job_container_detail.py +25 -0
- flywheel/models/job_destination.py +189 -0
- flywheel/models/job_detail.py +925 -0
- flywheel/models/job_detail_container.py +190 -0
- flywheel/models/job_detail_file_entry.py +194 -0
- flywheel/models/job_detail_group.py +190 -0
- flywheel/models/job_detail_parent_info.py +303 -0
- flywheel/models/job_executor_info.py +369 -0
- flywheel/models/job_file_input.py +247 -0
- flywheel/models/job_file_input_list_output.py +247 -0
- flywheel/models/job_file_object.py +435 -0
- flywheel/models/job_file_object_list_output.py +407 -0
- flywheel/models/job_gear_match.py +25 -0
- flywheel/models/job_inputs_array_item.py +305 -0
- flywheel/models/job_inputs_item.py +242 -0
- flywheel/models/job_inputs_object.py +138 -0
- flywheel/models/job_list_entry.py +25 -0
- flywheel/models/job_list_output.py +979 -0
- flywheel/models/job_list_output_config.py +220 -0
- flywheel/models/job_log.py +189 -0
- flywheel/models/job_log_column.py +40 -0
- flywheel/models/job_log_record.py +192 -0
- flywheel/models/job_modify.py +193 -0
- flywheel/models/job_origin.py +190 -0
- flywheel/models/job_output.py +1005 -0
- flywheel/models/job_output_config.py +247 -0
- flywheel/models/job_parents.py +297 -0
- flywheel/models/job_priority.py +31 -0
- flywheel/models/job_priority_update.py +192 -0
- flywheel/models/job_profile.py +427 -0
- flywheel/models/job_profile_input.py +25 -0
- flywheel/models/job_request.py +221 -0
- flywheel/models/job_request_item.py +246 -0
- flywheel/models/job_request_item_type.py +31 -0
- flywheel/models/job_request_target.py +270 -0
- flywheel/models/job_state.py +32 -0
- flywheel/models/job_state_counts.py +25 -0
- flywheel/models/job_stats_by_state.py +25 -0
- flywheel/models/job_ticket_output.py +165 -0
- flywheel/models/job_transition_times.py +253 -0
- flywheel/models/job_version_info.py +135 -0
- flywheel/models/jobs_by_state.py +272 -0
- flywheel/models/jobs_list.py +166 -0
- flywheel/models/join_origin_device.py +164 -0
- flywheel/models/join_origin_job.py +219 -0
- flywheel/models/join_origin_user.py +189 -0
- flywheel/models/join_origins.py +223 -0
- flywheel/models/join_type.py +28 -0
- flywheel/models/jupyterhub_workspace.py +163 -0
- flywheel/models/jupyterlab_server_modify.py +275 -0
- flywheel/models/jupyterlab_server_origin.py +25 -0
- flywheel/models/jupyterlab_server_output.py +25 -0
- flywheel/models/jupyterlab_server_response.py +415 -0
- flywheel/models/jupyterlab_server_update.py +25 -0
- flywheel/models/ldap_sync.py +36 -0
- flywheel/models/ldap_sync_config.py +163 -0
- flywheel/models/ldap_sync_input.py +36 -0
- flywheel/models/ldap_sync_status.py +250 -0
- flywheel/models/legacy_api_key_output.py +271 -0
- flywheel/models/legacy_input.py +244 -0
- flywheel/models/legacy_usage_report.py +309 -0
- flywheel/models/legacys_usage_project_entry.py +194 -0
- flywheel/models/libs_workflows_models_parent_type.py +33 -0
- flywheel/models/libs_workflows_models_task_status.py +32 -0
- flywheel/models/local_storage.py +217 -0
- flywheel/models/location.py +189 -0
- flywheel/models/locked.py +219 -0
- flywheel/models/master_subject_code_dob_input.py +279 -0
- flywheel/models/master_subject_code_input.py +281 -0
- flywheel/models/master_subject_code_output.py +166 -0
- flywheel/models/matched_acquisition_output.py +518 -0
- flywheel/models/mfa_channel.py +30 -0
- flywheel/models/mfa_settings.py +167 -0
- flywheel/models/mixins.py +794 -0
- flywheel/models/ml_set_filter.py +194 -0
- flywheel/models/ml_type.py +30 -0
- flywheel/models/modality.py +250 -0
- flywheel/models/modality_input.py +244 -0
- flywheel/models/modality_modify.py +218 -0
- flywheel/models/modality_output.py +271 -0
- flywheel/models/modified_result.py +190 -0
- flywheel/models/modify_user_input.py +466 -0
- flywheel/models/move_conflict.py +300 -0
- flywheel/models/note.py +391 -0
- flywheel/models/note_input.py +165 -0
- flywheel/models/optional_input_policy.py +30 -0
- flywheel/models/order.py +29 -0
- flywheel/models/organ_system.py +64 -0
- flywheel/models/origin.py +193 -0
- flywheel/models/origin_type.py +35 -0
- flywheel/models/orphaned_count.py +163 -0
- flywheel/models/output_user_page.py +219 -0
- flywheel/models/packfile_cleanup_output.py +166 -0
- flywheel/models/packfile_removed_output.py +189 -0
- flywheel/models/page.py +216 -0
- flywheel/models/page_generic_file_output.py +219 -0
- flywheel/models/page_generic_filter.py +219 -0
- flywheel/models/page_generic_form_response_output.py +219 -0
- flywheel/models/page_generic_protocol.py +244 -0
- flywheel/models/page_generic_reader_task_output.py +244 -0
- flywheel/models/page_generic_staffing_pool.py +244 -0
- flywheel/models/parsed_query_response.py +194 -0
- flywheel/models/permission_access_permission.py +25 -0
- flywheel/models/premade_jobs_batch_job_output.py +298 -0
- flywheel/models/premade_jobs_batch_job_output_inflated_jobs.py +299 -0
- flywheel/models/premade_jobs_batch_proposal.py +334 -0
- flywheel/models/premade_jobs_batch_proposal_detail.py +166 -0
- flywheel/models/premade_jobs_batch_proposal_input.py +166 -0
- flywheel/models/project.py +25 -0
- flywheel/models/project_acquisition_upsert_input.py +25 -0
- flywheel/models/project_acquisition_upsert_output.py +25 -0
- flywheel/models/project_aet.py +331 -0
- flywheel/models/project_aet_input.py +248 -0
- flywheel/models/project_catalog_list_output.py +25 -0
- flywheel/models/project_contact.py +194 -0
- flywheel/models/project_container_output.py +41 -0
- flywheel/models/project_copy_input.py +245 -0
- flywheel/models/project_copy_output.py +215 -0
- flywheel/models/project_counters.py +346 -0
- flywheel/models/project_hierarchy_input.py +278 -0
- flywheel/models/project_hierarchy_output.py +222 -0
- flywheel/models/project_hierarchy_upsert_input.py +25 -0
- flywheel/models/project_hierarchy_upsert_output.py +25 -0
- flywheel/models/project_input.py +384 -0
- flywheel/models/project_institution.py +194 -0
- flywheel/models/project_list_output.py +897 -0
- flywheel/models/project_locking_reason.py +32 -0
- flywheel/models/project_modify.py +413 -0
- flywheel/models/project_node.py +42 -0
- flywheel/models/project_output.py +899 -0
- flywheel/models/project_parents.py +168 -0
- flywheel/models/project_report.py +463 -0
- flywheel/models/project_report_list.py +167 -0
- flywheel/models/project_session_upsert_input.py +25 -0
- flywheel/models/project_session_upsert_output.py +25 -0
- flywheel/models/project_settings_input.py +333 -0
- flywheel/models/project_settings_output.py +333 -0
- flywheel/models/project_settings_sharing.py +327 -0
- flywheel/models/project_settings_sharing_input.py +334 -0
- flywheel/models/project_settings_workspaces.py +167 -0
- flywheel/models/project_settings_workspaces_input.py +167 -0
- flywheel/models/project_share_level.py +29 -0
- flywheel/models/project_sharing_settings_project_contact.py +25 -0
- flywheel/models/project_sharing_settings_project_counters.py +36 -0
- flywheel/models/project_sharing_settings_project_institution.py +25 -0
- flywheel/models/project_sharing_settings_project_settings_input.py +25 -0
- flywheel/models/project_sharing_settings_project_settings_output.py +25 -0
- flywheel/models/project_sharing_settings_project_settings_sharing.py +25 -0
- flywheel/models/project_sharing_settings_project_settings_sharing_input.py +25 -0
- flywheel/models/project_sharing_settings_project_stats.py +36 -0
- flywheel/models/project_stats.py +270 -0
- flywheel/models/project_subject_upsert_input.py +25 -0
- flywheel/models/project_subject_upsert_output.py +25 -0
- flywheel/models/project_template.py +195 -0
- flywheel/models/project_template_input.py +195 -0
- flywheel/models/project_template_list_input.py +166 -0
- flywheel/models/project_template_requirement.py +36 -0
- flywheel/models/project_template_session_template.py +36 -0
- flywheel/models/project_upsert_origin.py +36 -0
- flywheel/models/protocol.py +515 -0
- flywheel/models/protocol_e_signature_config.py +191 -0
- flywheel/models/protocol_input.py +354 -0
- flywheel/models/protocol_modify.py +277 -0
- flywheel/models/protocol_status.py +30 -0
- flywheel/models/provider.py +461 -0
- flywheel/models/provider_access_type.py +29 -0
- flywheel/models/provider_class.py +29 -0
- flywheel/models/provider_deletion_status.py +189 -0
- flywheel/models/provider_input.py +25 -0
- flywheel/models/provider_links.py +282 -0
- flywheel/models/provider_type.py +34 -0
- flywheel/models/providers.py +277 -0
- flywheel/models/reader_batch_create.py +463 -0
- flywheel/models/reader_task.py +725 -0
- flywheel/models/reader_task_config.py +189 -0
- flywheel/models/reader_task_create.py +543 -0
- flywheel/models/reader_task_modify.py +303 -0
- flywheel/models/reader_task_output.py +752 -0
- flywheel/models/reader_task_parent_details.py +322 -0
- flywheel/models/report_access_log_context.py +301 -0
- flywheel/models/report_access_log_context_entry.py +194 -0
- flywheel/models/report_access_log_context_file_entry.py +165 -0
- flywheel/models/report_access_log_entry.py +624 -0
- flywheel/models/report_access_log_origin.py +194 -0
- flywheel/models/report_availability_list.py +167 -0
- flywheel/models/report_daily_usage_entry.py +501 -0
- flywheel/models/report_demographics_grid.py +36 -0
- flywheel/models/report_ethnicity_grid.py +252 -0
- flywheel/models/report_gender_count.py +222 -0
- flywheel/models/report_group_report.py +217 -0
- flywheel/models/report_legacy_usage_entry.py +36 -0
- flywheel/models/report_legacy_usage_project_entry.py +36 -0
- flywheel/models/report_project.py +25 -0
- flywheel/models/report_site.py +192 -0
- flywheel/models/report_time_period.py +193 -0
- flywheel/models/report_usage.py +630 -0
- flywheel/models/report_usage_entry.py +25 -0
- flywheel/models/resolve_input.py +163 -0
- flywheel/models/resolve_output.py +194 -0
- flywheel/models/resolver_acquisition_node.py +36 -0
- flywheel/models/resolver_analysis_node.py +36 -0
- flywheel/models/resolver_file_node.py +36 -0
- flywheel/models/resolver_gear_node.py +36 -0
- flywheel/models/resolver_group_node.py +36 -0
- flywheel/models/resolver_input.py +25 -0
- flywheel/models/resolver_node.py +182 -0
- flywheel/models/resolver_output.py +25 -0
- flywheel/models/resolver_project_node.py +36 -0
- flywheel/models/resolver_session_node.py +36 -0
- flywheel/models/resolver_subject_node.py +36 -0
- flywheel/models/role_input.py +192 -0
- flywheel/models/role_output.py +273 -0
- flywheel/models/role_permission.py +194 -0
- flywheel/models/role_permission_output.py +189 -0
- flywheel/models/role_permission_update.py +163 -0
- flywheel/models/role_type.py +32 -0
- flywheel/models/role_update.py +194 -0
- flywheel/models/roles_backwards_compatible_role_assignment.py +36 -0
- flywheel/models/roles_group_role_pool_input.py +36 -0
- flywheel/models/roles_role.py +36 -0
- flywheel/models/roles_role_assignment.py +195 -0
- flywheel/models/roles_role_input.py +36 -0
- flywheel/models/rule.py +467 -0
- flywheel/models/rule_any.py +216 -0
- flywheel/models/s3_addressing_style.py +29 -0
- flywheel/models/s3_compat_storage.py +381 -0
- flywheel/models/save_search.py +298 -0
- flywheel/models/save_search_input.py +219 -0
- flywheel/models/save_search_output.py +301 -0
- flywheel/models/save_search_page.py +219 -0
- flywheel/models/save_search_parent.py +192 -0
- flywheel/models/save_search_update.py +194 -0
- flywheel/models/search_acquisition_response.py +252 -0
- flywheel/models/search_analysis_response.py +254 -0
- flywheel/models/search_collection_response.py +254 -0
- flywheel/models/search_file_response.py +312 -0
- flywheel/models/search_group_response.py +196 -0
- flywheel/models/search_parent_acquisition.py +47 -0
- flywheel/models/search_parent_analysis.py +47 -0
- flywheel/models/search_parent_collection.py +46 -0
- flywheel/models/search_parent_project.py +54 -0
- flywheel/models/search_parent_response.py +213 -0
- flywheel/models/search_parent_session.py +48 -0
- flywheel/models/search_parent_subject.py +48 -0
- flywheel/models/search_parse_error.py +252 -0
- flywheel/models/search_parse_search_query_result.py +36 -0
- flywheel/models/search_project_response.py +196 -0
- flywheel/models/search_query.py +337 -0
- flywheel/models/search_query_suggestions.py +36 -0
- flywheel/models/search_response.py +448 -0
- flywheel/models/search_return_type.py +33 -0
- flywheel/models/search_save_search.py +36 -0
- flywheel/models/search_save_search_input.py +36 -0
- flywheel/models/search_save_search_parent.py +36 -0
- flywheel/models/search_save_search_update.py +36 -0
- flywheel/models/search_session_response.py +252 -0
- flywheel/models/search_status.py +166 -0
- flywheel/models/search_structured_search_query.py +25 -0
- flywheel/models/search_subject_response.py +225 -0
- flywheel/models/search_suggestion.py +36 -0
- flywheel/models/select_item.py +190 -0
- flywheel/models/server_state.py +303 -0
- flywheel/models/service_aet.py +301 -0
- flywheel/models/service_aet_input.py +276 -0
- flywheel/models/session.py +25 -0
- flywheel/models/session_container_output.py +35 -0
- flywheel/models/session_copy_input.py +253 -0
- flywheel/models/session_embedded_subject.py +299 -0
- flywheel/models/session_input.py +431 -0
- flywheel/models/session_list_output.py +897 -0
- flywheel/models/session_metadata_input.py +36 -0
- flywheel/models/session_modify.py +464 -0
- flywheel/models/session_node.py +36 -0
- flywheel/models/session_output.py +897 -0
- flywheel/models/session_parents.py +220 -0
- flywheel/models/session_template_options.py +221 -0
- flywheel/models/session_template_recalc_output.py +165 -0
- flywheel/models/session_upsert_input.py +464 -0
- flywheel/models/session_upsert_output.py +243 -0
- flywheel/models/sharing_filter_options.py +345 -0
- flywheel/models/signed_fs_upload_output.py +189 -0
- flywheel/models/signed_url_cleanup_input.py +189 -0
- flywheel/models/signed_url_upload_input.py +190 -0
- flywheel/models/signed_url_upload_output.py +349 -0
- flywheel/models/site.py +623 -0
- flywheel/models/site_report.py +194 -0
- flywheel/models/site_settings.py +385 -0
- flywheel/models/sort.py +192 -0
- flywheel/models/stable_api_key_input.py +25 -0
- flywheel/models/staffing_pool.py +324 -0
- flywheel/models/staffing_pool_create.py +216 -0
- flywheel/models/staffing_pool_list.py +164 -0
- flywheel/models/staffing_pool_modify.py +218 -0
- flywheel/models/state.py +32 -0
- flywheel/models/static_compute.py +218 -0
- flywheel/models/status_transitions.py +245 -0
- flywheel/models/status_type.py +31 -0
- flywheel/models/status_value.py +31 -0
- flywheel/models/storage_strategy.py +30 -0
- flywheel/models/storage_strategy_config.py +194 -0
- flywheel/models/structured_query.py +165 -0
- flywheel/models/structured_query_suggestions.py +196 -0
- flywheel/models/structured_query_value_suggestion.py +247 -0
- flywheel/models/subject.py +34 -0
- flywheel/models/subject_container_output.py +36 -0
- flywheel/models/subject_copy_input.py +223 -0
- flywheel/models/subject_input.py +627 -0
- flywheel/models/subject_modify.py +684 -0
- flywheel/models/subject_node.py +37 -0
- flywheel/models/subject_output.py +1008 -0
- flywheel/models/subject_output_for_list.py +1005 -0
- flywheel/models/subject_parents.py +194 -0
- flywheel/models/subject_role_permission.py +194 -0
- flywheel/models/subject_state.py +30 -0
- flywheel/models/subject_template_options.py +191 -0
- flywheel/models/subject_upsert_input.py +573 -0
- flywheel/models/subject_upsert_output.py +216 -0
- flywheel/models/sync_user_input.py +322 -0
- flywheel/models/tag.py +165 -0
- flywheel/models/task_assign.py +194 -0
- flywheel/models/task_facet.py +29 -0
- flywheel/models/task_parent_ref.py +245 -0
- flywheel/models/task_parent_ref_input.py +219 -0
- flywheel/models/task_priority.py +31 -0
- flywheel/models/task_submission.py +189 -0
- flywheel/models/therapeutic_area.py +60 -0
- flywheel/models/transitions.py +272 -0
- flywheel/models/tree_container_request_spec.py +281 -0
- flywheel/models/tree_graph.py +142 -0
- flywheel/models/tree_graph_connection.py +244 -0
- flywheel/models/tree_graph_connections.py +142 -0
- flywheel/models/tree_graph_node.py +166 -0
- flywheel/models/tree_request.py +25 -0
- flywheel/models/tree_response_item.py +142 -0
- flywheel/models/type_str.py +31 -0
- flywheel/models/uid_check_input_acquisitions.py +244 -0
- flywheel/models/uid_check_input_sessions.py +244 -0
- flywheel/models/uid_check_output.py +191 -0
- flywheel/models/upload_complete_s3_multipart_input.py +25 -0
- flywheel/models/upload_complete_s3_multipart_output.py +25 -0
- flywheel/models/upload_signed_fs_file_upload_output.py +36 -0
- flywheel/models/upload_signed_upload_url_input.py +36 -0
- flywheel/models/upload_signed_upload_url_output.py +36 -0
- flywheel/models/upload_ticket_output.py +215 -0
- flywheel/models/upload_token_output.py +163 -0
- flywheel/models/upsert_result.py +31 -0
- flywheel/models/user.py +760 -0
- flywheel/models/user_api_key.py +220 -0
- flywheel/models/user_input.py +461 -0
- flywheel/models/user_jobs.py +219 -0
- flywheel/models/user_jobs_output.py +25 -0
- flywheel/models/user_output.py +36 -0
- flywheel/models/user_output_id.py +163 -0
- flywheel/models/user_preferences.py +135 -0
- flywheel/models/user_wechat.py +135 -0
- flywheel/models/validation_error.py +215 -0
- flywheel/models/validation_rule.py +190 -0
- flywheel/models/version.py +363 -0
- flywheel/models/version_output.py +25 -0
- flywheel/models/view_id_output.py +164 -0
- flywheel/models/view_output.py +440 -0
- flywheel/models/viewer_app.py +381 -0
- flywheel/models/viewer_app_input.py +382 -0
- flywheel/models/viewer_app_type.py +29 -0
- flywheel/models/virus_scan.py +166 -0
- flywheel/models/virus_scan_state.py +30 -0
- flywheel/models/work_in_progress_features.py +135 -0
- flywheel/models/zipfile_info.py +192 -0
- flywheel/models/zipfile_member_info.py +241 -0
- flywheel/partial_reader.py +50 -0
- flywheel/rest.py +352 -0
- flywheel/util.py +95 -0
- flywheel/view_builder.py +449 -0
- flywheel_sdk-21.2.0.dist-info/METADATA +42 -0
- flywheel_sdk-21.2.0.dist-info/RECORD +772 -0
- flywheel_sdk-21.2.0.dist-info/WHEEL +4 -0
- flywheel_sdk-21.2.0.dist-info/licenses/LICENSE.txt +18 -0
|
@@ -0,0 +1,1005 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
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
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## NOTE: This file is auto generated by the swagger code generator program.
|
|
15
|
+
## Do not edit the file manually.
|
|
16
|
+
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import six
|
|
20
|
+
from typing import TYPE_CHECKING
|
|
21
|
+
|
|
22
|
+
if TYPE_CHECKING:
|
|
23
|
+
from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
|
|
24
|
+
from flywheel.models.deleted_file import DeletedFile # noqa: F401,E501
|
|
25
|
+
from flywheel.models.file_output import FileOutput # noqa: F401,E501
|
|
26
|
+
from flywheel.models.file_reference import FileReference # noqa: F401,E501
|
|
27
|
+
from flywheel.models.gear_info import GearInfo # noqa: F401,E501
|
|
28
|
+
from flywheel.models.job_detail_parent_info import JobDetailParentInfo # noqa: F401,E501
|
|
29
|
+
from flywheel.models.job_output_config import JobOutputConfig # noqa: F401,E501
|
|
30
|
+
from flywheel.models.job_parents import JobParents # noqa: F401,E501
|
|
31
|
+
from flywheel.models.job_priority import JobPriority # noqa: F401,E501
|
|
32
|
+
from flywheel.models.job_profile import JobProfile # noqa: F401,E501
|
|
33
|
+
from flywheel.models.job_request import JobRequest # noqa: F401,E501
|
|
34
|
+
from flywheel.models.job_state import JobState # noqa: F401,E501
|
|
35
|
+
from flywheel.models.origin import Origin # noqa: F401,E501
|
|
36
|
+
from flywheel.models.transitions import Transitions # noqa: F401,E501
|
|
37
|
+
|
|
38
|
+
from .mixins import JobMixin
|
|
39
|
+
class JobOutput(JobMixin):
|
|
40
|
+
|
|
41
|
+
swagger_types = {
|
|
42
|
+
'gear_id': 'str',
|
|
43
|
+
'gear_info': 'GearInfo',
|
|
44
|
+
'rule_id': 'str',
|
|
45
|
+
'role_id': 'str',
|
|
46
|
+
'inputs': 'dict(str, FileReference)',
|
|
47
|
+
'destination': 'ContainerReference',
|
|
48
|
+
'tags': 'list[str]',
|
|
49
|
+
'priority': 'JobPriority',
|
|
50
|
+
'attempt': 'int',
|
|
51
|
+
'previous_job_id': 'str',
|
|
52
|
+
'created': 'datetime',
|
|
53
|
+
'modified': 'datetime',
|
|
54
|
+
'retried': 'datetime',
|
|
55
|
+
'state': 'JobState',
|
|
56
|
+
'request': 'JobRequest',
|
|
57
|
+
'id': 'str',
|
|
58
|
+
'config': 'JobOutputConfig',
|
|
59
|
+
'origin': 'Origin',
|
|
60
|
+
'saved_files': 'list[str]',
|
|
61
|
+
'outputs': 'list[FileOutput]',
|
|
62
|
+
'deleted_outputs': 'list[DeletedFile]',
|
|
63
|
+
'produced_metadata': 'dict(str, object)',
|
|
64
|
+
'batch': 'str',
|
|
65
|
+
'failed_output_accepted': 'bool',
|
|
66
|
+
'profile': 'JobProfile',
|
|
67
|
+
'failure_reason': 'str',
|
|
68
|
+
'related_container_ids': 'list[str]',
|
|
69
|
+
'label': 'str',
|
|
70
|
+
'compute_provider_id': 'str',
|
|
71
|
+
'parents': 'JobParents',
|
|
72
|
+
'transitions': 'Transitions',
|
|
73
|
+
'parent_info': 'JobDetailParentInfo'
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
attribute_map = {
|
|
77
|
+
'gear_id': 'gear_id',
|
|
78
|
+
'gear_info': 'gear_info',
|
|
79
|
+
'rule_id': 'rule_id',
|
|
80
|
+
'role_id': 'role_id',
|
|
81
|
+
'inputs': 'inputs',
|
|
82
|
+
'destination': 'destination',
|
|
83
|
+
'tags': 'tags',
|
|
84
|
+
'priority': 'priority',
|
|
85
|
+
'attempt': 'attempt',
|
|
86
|
+
'previous_job_id': 'previous_job_id',
|
|
87
|
+
'created': 'created',
|
|
88
|
+
'modified': 'modified',
|
|
89
|
+
'retried': 'retried',
|
|
90
|
+
'state': 'state',
|
|
91
|
+
'request': 'request',
|
|
92
|
+
'id': 'id',
|
|
93
|
+
'config': 'config',
|
|
94
|
+
'origin': 'origin',
|
|
95
|
+
'saved_files': 'saved_files',
|
|
96
|
+
'outputs': 'outputs',
|
|
97
|
+
'deleted_outputs': 'deleted_outputs',
|
|
98
|
+
'produced_metadata': 'produced_metadata',
|
|
99
|
+
'batch': 'batch',
|
|
100
|
+
'failed_output_accepted': 'failed_output_accepted',
|
|
101
|
+
'profile': 'profile',
|
|
102
|
+
'failure_reason': 'failure_reason',
|
|
103
|
+
'related_container_ids': 'related_container_ids',
|
|
104
|
+
'label': 'label',
|
|
105
|
+
'compute_provider_id': 'compute_provider_id',
|
|
106
|
+
'parents': 'parents',
|
|
107
|
+
'transitions': 'transitions',
|
|
108
|
+
'parent_info': 'parent_info'
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
rattribute_map = {
|
|
112
|
+
'gear_id': 'gear_id',
|
|
113
|
+
'gear_info': 'gear_info',
|
|
114
|
+
'rule_id': 'rule_id',
|
|
115
|
+
'role_id': 'role_id',
|
|
116
|
+
'inputs': 'inputs',
|
|
117
|
+
'destination': 'destination',
|
|
118
|
+
'tags': 'tags',
|
|
119
|
+
'priority': 'priority',
|
|
120
|
+
'attempt': 'attempt',
|
|
121
|
+
'previous_job_id': 'previous_job_id',
|
|
122
|
+
'created': 'created',
|
|
123
|
+
'modified': 'modified',
|
|
124
|
+
'retried': 'retried',
|
|
125
|
+
'state': 'state',
|
|
126
|
+
'request': 'request',
|
|
127
|
+
'id': 'id',
|
|
128
|
+
'config': 'config',
|
|
129
|
+
'origin': 'origin',
|
|
130
|
+
'saved_files': 'saved_files',
|
|
131
|
+
'outputs': 'outputs',
|
|
132
|
+
'deleted_outputs': 'deleted_outputs',
|
|
133
|
+
'produced_metadata': 'produced_metadata',
|
|
134
|
+
'batch': 'batch',
|
|
135
|
+
'failed_output_accepted': 'failed_output_accepted',
|
|
136
|
+
'profile': 'profile',
|
|
137
|
+
'failure_reason': 'failure_reason',
|
|
138
|
+
'related_container_ids': 'related_container_ids',
|
|
139
|
+
'label': 'label',
|
|
140
|
+
'compute_provider_id': 'compute_provider_id',
|
|
141
|
+
'parents': 'parents',
|
|
142
|
+
'transitions': 'transitions',
|
|
143
|
+
'parent_info': 'parent_info'
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
def __init__(self, gear_id=None, gear_info=None, rule_id=None, role_id=None, inputs=None, destination=None, tags=None, priority=None, attempt=None, previous_job_id=None, created=None, modified=None, retried=None, state=None, request=None, id=None, config=None, origin=None, saved_files=None, outputs=None, deleted_outputs=None, produced_metadata=None, batch=None, failed_output_accepted=None, profile=None, failure_reason=None, related_container_ids=None, label=None, compute_provider_id=None, parents=None, transitions=None, parent_info=None): # noqa: E501
|
|
147
|
+
"""JobOutput - a model defined in Swagger"""
|
|
148
|
+
super(JobOutput, self).__init__()
|
|
149
|
+
|
|
150
|
+
self._gear_id = None
|
|
151
|
+
self._gear_info = None
|
|
152
|
+
self._rule_id = None
|
|
153
|
+
self._role_id = None
|
|
154
|
+
self._inputs = None
|
|
155
|
+
self._destination = None
|
|
156
|
+
self._tags = None
|
|
157
|
+
self._priority = None
|
|
158
|
+
self._attempt = None
|
|
159
|
+
self._previous_job_id = None
|
|
160
|
+
self._created = None
|
|
161
|
+
self._modified = None
|
|
162
|
+
self._retried = None
|
|
163
|
+
self._state = None
|
|
164
|
+
self._request = None
|
|
165
|
+
self._id = None
|
|
166
|
+
self._config = None
|
|
167
|
+
self._origin = None
|
|
168
|
+
self._saved_files = None
|
|
169
|
+
self._outputs = None
|
|
170
|
+
self._deleted_outputs = None
|
|
171
|
+
self._produced_metadata = None
|
|
172
|
+
self._batch = None
|
|
173
|
+
self._failed_output_accepted = None
|
|
174
|
+
self._profile = None
|
|
175
|
+
self._failure_reason = None
|
|
176
|
+
self._related_container_ids = None
|
|
177
|
+
self._label = None
|
|
178
|
+
self._compute_provider_id = None
|
|
179
|
+
self._parents = None
|
|
180
|
+
self._transitions = None
|
|
181
|
+
self._parent_info = None
|
|
182
|
+
self.discriminator = None
|
|
183
|
+
self.alt_discriminator = None
|
|
184
|
+
|
|
185
|
+
self.gear_id = gear_id
|
|
186
|
+
if gear_info is not None:
|
|
187
|
+
self.gear_info = gear_info
|
|
188
|
+
if rule_id is not None:
|
|
189
|
+
self.rule_id = rule_id
|
|
190
|
+
if role_id is not None:
|
|
191
|
+
self.role_id = role_id
|
|
192
|
+
self.inputs = inputs
|
|
193
|
+
self.destination = destination
|
|
194
|
+
self.tags = tags
|
|
195
|
+
if priority is not None:
|
|
196
|
+
self.priority = priority
|
|
197
|
+
self.attempt = attempt
|
|
198
|
+
if previous_job_id is not None:
|
|
199
|
+
self.previous_job_id = previous_job_id
|
|
200
|
+
if created is not None:
|
|
201
|
+
self.created = created
|
|
202
|
+
if modified is not None:
|
|
203
|
+
self.modified = modified
|
|
204
|
+
if retried is not None:
|
|
205
|
+
self.retried = retried
|
|
206
|
+
self.state = state
|
|
207
|
+
if request is not None:
|
|
208
|
+
self.request = request
|
|
209
|
+
self.id = id
|
|
210
|
+
self.config = config
|
|
211
|
+
self.origin = origin
|
|
212
|
+
if saved_files is not None:
|
|
213
|
+
self.saved_files = saved_files
|
|
214
|
+
self.outputs = outputs
|
|
215
|
+
self.deleted_outputs = deleted_outputs
|
|
216
|
+
if produced_metadata is not None:
|
|
217
|
+
self.produced_metadata = produced_metadata
|
|
218
|
+
if batch is not None:
|
|
219
|
+
self.batch = batch
|
|
220
|
+
if failed_output_accepted is not None:
|
|
221
|
+
self.failed_output_accepted = failed_output_accepted
|
|
222
|
+
if profile is not None:
|
|
223
|
+
self.profile = profile
|
|
224
|
+
if failure_reason is not None:
|
|
225
|
+
self.failure_reason = failure_reason
|
|
226
|
+
self.related_container_ids = related_container_ids
|
|
227
|
+
if label is not None:
|
|
228
|
+
self.label = label
|
|
229
|
+
if compute_provider_id is not None:
|
|
230
|
+
self.compute_provider_id = compute_provider_id
|
|
231
|
+
self.parents = parents
|
|
232
|
+
if transitions is not None:
|
|
233
|
+
self.transitions = transitions
|
|
234
|
+
if parent_info is not None:
|
|
235
|
+
self.parent_info = parent_info
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def gear_id(self):
|
|
239
|
+
"""Gets the gear_id of this JobOutput.
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
:return: The gear_id of this JobOutput.
|
|
243
|
+
:rtype: str
|
|
244
|
+
"""
|
|
245
|
+
return self._gear_id
|
|
246
|
+
|
|
247
|
+
@gear_id.setter
|
|
248
|
+
def gear_id(self, gear_id):
|
|
249
|
+
"""Sets the gear_id of this JobOutput.
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:param gear_id: The gear_id of this JobOutput. # noqa: E501
|
|
253
|
+
:type: str
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
self._gear_id = gear_id
|
|
257
|
+
|
|
258
|
+
@property
|
|
259
|
+
def gear_info(self):
|
|
260
|
+
"""Gets the gear_info of this JobOutput.
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
:return: The gear_info of this JobOutput.
|
|
264
|
+
:rtype: GearInfo
|
|
265
|
+
"""
|
|
266
|
+
return self._gear_info
|
|
267
|
+
|
|
268
|
+
@gear_info.setter
|
|
269
|
+
def gear_info(self, gear_info):
|
|
270
|
+
"""Sets the gear_info of this JobOutput.
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
:param gear_info: The gear_info of this JobOutput. # noqa: E501
|
|
274
|
+
:type: GearInfo
|
|
275
|
+
"""
|
|
276
|
+
|
|
277
|
+
self._gear_info = gear_info
|
|
278
|
+
|
|
279
|
+
@property
|
|
280
|
+
def rule_id(self):
|
|
281
|
+
"""Gets the rule_id of this JobOutput.
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
:return: The rule_id of this JobOutput.
|
|
285
|
+
:rtype: str
|
|
286
|
+
"""
|
|
287
|
+
return self._rule_id
|
|
288
|
+
|
|
289
|
+
@rule_id.setter
|
|
290
|
+
def rule_id(self, rule_id):
|
|
291
|
+
"""Sets the rule_id of this JobOutput.
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
:param rule_id: The rule_id of this JobOutput. # noqa: E501
|
|
295
|
+
:type: str
|
|
296
|
+
"""
|
|
297
|
+
|
|
298
|
+
self._rule_id = rule_id
|
|
299
|
+
|
|
300
|
+
@property
|
|
301
|
+
def role_id(self):
|
|
302
|
+
"""Gets the role_id of this JobOutput.
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
:return: The role_id of this JobOutput.
|
|
306
|
+
:rtype: str
|
|
307
|
+
"""
|
|
308
|
+
return self._role_id
|
|
309
|
+
|
|
310
|
+
@role_id.setter
|
|
311
|
+
def role_id(self, role_id):
|
|
312
|
+
"""Sets the role_id of this JobOutput.
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
:param role_id: The role_id of this JobOutput. # noqa: E501
|
|
316
|
+
:type: str
|
|
317
|
+
"""
|
|
318
|
+
|
|
319
|
+
self._role_id = role_id
|
|
320
|
+
|
|
321
|
+
@property
|
|
322
|
+
def inputs(self):
|
|
323
|
+
"""Gets the inputs of this JobOutput.
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
:return: The inputs of this JobOutput.
|
|
327
|
+
:rtype: dict(str, FileReference)
|
|
328
|
+
"""
|
|
329
|
+
return self._inputs
|
|
330
|
+
|
|
331
|
+
@inputs.setter
|
|
332
|
+
def inputs(self, inputs):
|
|
333
|
+
"""Sets the inputs of this JobOutput.
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
:param inputs: The inputs of this JobOutput. # noqa: E501
|
|
337
|
+
:type: dict(str, FileReference)
|
|
338
|
+
"""
|
|
339
|
+
|
|
340
|
+
self._inputs = inputs
|
|
341
|
+
|
|
342
|
+
@property
|
|
343
|
+
def destination(self):
|
|
344
|
+
"""Gets the destination of this JobOutput.
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
:return: The destination of this JobOutput.
|
|
348
|
+
:rtype: ContainerReference
|
|
349
|
+
"""
|
|
350
|
+
return self._destination
|
|
351
|
+
|
|
352
|
+
@destination.setter
|
|
353
|
+
def destination(self, destination):
|
|
354
|
+
"""Sets the destination of this JobOutput.
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
:param destination: The destination of this JobOutput. # noqa: E501
|
|
358
|
+
:type: ContainerReference
|
|
359
|
+
"""
|
|
360
|
+
|
|
361
|
+
self._destination = destination
|
|
362
|
+
|
|
363
|
+
@property
|
|
364
|
+
def tags(self):
|
|
365
|
+
"""Gets the tags of this JobOutput.
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
:return: The tags of this JobOutput.
|
|
369
|
+
:rtype: list[str]
|
|
370
|
+
"""
|
|
371
|
+
return self._tags
|
|
372
|
+
|
|
373
|
+
@tags.setter
|
|
374
|
+
def tags(self, tags):
|
|
375
|
+
"""Sets the tags of this JobOutput.
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
:param tags: The tags of this JobOutput. # noqa: E501
|
|
379
|
+
:type: list[str]
|
|
380
|
+
"""
|
|
381
|
+
|
|
382
|
+
self._tags = tags
|
|
383
|
+
|
|
384
|
+
@property
|
|
385
|
+
def priority(self):
|
|
386
|
+
"""Gets the priority of this JobOutput.
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
:return: The priority of this JobOutput.
|
|
390
|
+
:rtype: JobPriority
|
|
391
|
+
"""
|
|
392
|
+
return self._priority
|
|
393
|
+
|
|
394
|
+
@priority.setter
|
|
395
|
+
def priority(self, priority):
|
|
396
|
+
"""Sets the priority of this JobOutput.
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
:param priority: The priority of this JobOutput. # noqa: E501
|
|
400
|
+
:type: JobPriority
|
|
401
|
+
"""
|
|
402
|
+
|
|
403
|
+
self._priority = priority
|
|
404
|
+
|
|
405
|
+
@property
|
|
406
|
+
def attempt(self):
|
|
407
|
+
"""Gets the attempt of this JobOutput.
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
:return: The attempt of this JobOutput.
|
|
411
|
+
:rtype: int
|
|
412
|
+
"""
|
|
413
|
+
return self._attempt
|
|
414
|
+
|
|
415
|
+
@attempt.setter
|
|
416
|
+
def attempt(self, attempt):
|
|
417
|
+
"""Sets the attempt of this JobOutput.
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
:param attempt: The attempt of this JobOutput. # noqa: E501
|
|
421
|
+
:type: int
|
|
422
|
+
"""
|
|
423
|
+
|
|
424
|
+
self._attempt = attempt
|
|
425
|
+
|
|
426
|
+
@property
|
|
427
|
+
def previous_job_id(self):
|
|
428
|
+
"""Gets the previous_job_id of this JobOutput.
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
:return: The previous_job_id of this JobOutput.
|
|
432
|
+
:rtype: str
|
|
433
|
+
"""
|
|
434
|
+
return self._previous_job_id
|
|
435
|
+
|
|
436
|
+
@previous_job_id.setter
|
|
437
|
+
def previous_job_id(self, previous_job_id):
|
|
438
|
+
"""Sets the previous_job_id of this JobOutput.
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
:param previous_job_id: The previous_job_id of this JobOutput. # noqa: E501
|
|
442
|
+
:type: str
|
|
443
|
+
"""
|
|
444
|
+
|
|
445
|
+
self._previous_job_id = previous_job_id
|
|
446
|
+
|
|
447
|
+
@property
|
|
448
|
+
def created(self):
|
|
449
|
+
"""Gets the created of this JobOutput.
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
:return: The created of this JobOutput.
|
|
453
|
+
:rtype: datetime
|
|
454
|
+
"""
|
|
455
|
+
return self._created
|
|
456
|
+
|
|
457
|
+
@created.setter
|
|
458
|
+
def created(self, created):
|
|
459
|
+
"""Sets the created of this JobOutput.
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
:param created: The created of this JobOutput. # noqa: E501
|
|
463
|
+
:type: datetime
|
|
464
|
+
"""
|
|
465
|
+
|
|
466
|
+
self._created = created
|
|
467
|
+
|
|
468
|
+
@property
|
|
469
|
+
def modified(self):
|
|
470
|
+
"""Gets the modified of this JobOutput.
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
:return: The modified of this JobOutput.
|
|
474
|
+
:rtype: datetime
|
|
475
|
+
"""
|
|
476
|
+
return self._modified
|
|
477
|
+
|
|
478
|
+
@modified.setter
|
|
479
|
+
def modified(self, modified):
|
|
480
|
+
"""Sets the modified of this JobOutput.
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
:param modified: The modified of this JobOutput. # noqa: E501
|
|
484
|
+
:type: datetime
|
|
485
|
+
"""
|
|
486
|
+
|
|
487
|
+
self._modified = modified
|
|
488
|
+
|
|
489
|
+
@property
|
|
490
|
+
def retried(self):
|
|
491
|
+
"""Gets the retried of this JobOutput.
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
:return: The retried of this JobOutput.
|
|
495
|
+
:rtype: datetime
|
|
496
|
+
"""
|
|
497
|
+
return self._retried
|
|
498
|
+
|
|
499
|
+
@retried.setter
|
|
500
|
+
def retried(self, retried):
|
|
501
|
+
"""Sets the retried of this JobOutput.
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
:param retried: The retried of this JobOutput. # noqa: E501
|
|
505
|
+
:type: datetime
|
|
506
|
+
"""
|
|
507
|
+
|
|
508
|
+
self._retried = retried
|
|
509
|
+
|
|
510
|
+
@property
|
|
511
|
+
def state(self):
|
|
512
|
+
"""Gets the state of this JobOutput.
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
:return: The state of this JobOutput.
|
|
516
|
+
:rtype: JobState
|
|
517
|
+
"""
|
|
518
|
+
return self._state
|
|
519
|
+
|
|
520
|
+
@state.setter
|
|
521
|
+
def state(self, state):
|
|
522
|
+
"""Sets the state of this JobOutput.
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
:param state: The state of this JobOutput. # noqa: E501
|
|
526
|
+
:type: JobState
|
|
527
|
+
"""
|
|
528
|
+
|
|
529
|
+
self._state = state
|
|
530
|
+
|
|
531
|
+
@property
|
|
532
|
+
def request(self):
|
|
533
|
+
"""Gets the request of this JobOutput.
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
:return: The request of this JobOutput.
|
|
537
|
+
:rtype: JobRequest
|
|
538
|
+
"""
|
|
539
|
+
return self._request
|
|
540
|
+
|
|
541
|
+
@request.setter
|
|
542
|
+
def request(self, request):
|
|
543
|
+
"""Sets the request of this JobOutput.
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
:param request: The request of this JobOutput. # noqa: E501
|
|
547
|
+
:type: JobRequest
|
|
548
|
+
"""
|
|
549
|
+
|
|
550
|
+
self._request = request
|
|
551
|
+
|
|
552
|
+
@property
|
|
553
|
+
def id(self):
|
|
554
|
+
"""Gets the id of this JobOutput.
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
:return: The id of this JobOutput.
|
|
558
|
+
:rtype: str
|
|
559
|
+
"""
|
|
560
|
+
return self._id
|
|
561
|
+
|
|
562
|
+
@id.setter
|
|
563
|
+
def id(self, id):
|
|
564
|
+
"""Sets the id of this JobOutput.
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
:param id: The id of this JobOutput. # noqa: E501
|
|
568
|
+
:type: str
|
|
569
|
+
"""
|
|
570
|
+
|
|
571
|
+
self._id = id
|
|
572
|
+
|
|
573
|
+
@property
|
|
574
|
+
def config(self):
|
|
575
|
+
"""Gets the config of this JobOutput.
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
:return: The config of this JobOutput.
|
|
579
|
+
:rtype: JobOutputConfig
|
|
580
|
+
"""
|
|
581
|
+
return self._config
|
|
582
|
+
|
|
583
|
+
@config.setter
|
|
584
|
+
def config(self, config):
|
|
585
|
+
"""Sets the config of this JobOutput.
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
:param config: The config of this JobOutput. # noqa: E501
|
|
589
|
+
:type: JobOutputConfig
|
|
590
|
+
"""
|
|
591
|
+
|
|
592
|
+
self._config = config
|
|
593
|
+
|
|
594
|
+
@property
|
|
595
|
+
def origin(self):
|
|
596
|
+
"""Gets the origin of this JobOutput.
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
:return: The origin of this JobOutput.
|
|
600
|
+
:rtype: Origin
|
|
601
|
+
"""
|
|
602
|
+
return self._origin
|
|
603
|
+
|
|
604
|
+
@origin.setter
|
|
605
|
+
def origin(self, origin):
|
|
606
|
+
"""Sets the origin of this JobOutput.
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
:param origin: The origin of this JobOutput. # noqa: E501
|
|
610
|
+
:type: Origin
|
|
611
|
+
"""
|
|
612
|
+
|
|
613
|
+
self._origin = origin
|
|
614
|
+
|
|
615
|
+
@property
|
|
616
|
+
def saved_files(self):
|
|
617
|
+
"""Gets the saved_files of this JobOutput.
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
:return: The saved_files of this JobOutput.
|
|
621
|
+
:rtype: list[str]
|
|
622
|
+
"""
|
|
623
|
+
return self._saved_files
|
|
624
|
+
|
|
625
|
+
@saved_files.setter
|
|
626
|
+
def saved_files(self, saved_files):
|
|
627
|
+
"""Sets the saved_files of this JobOutput.
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
:param saved_files: The saved_files of this JobOutput. # noqa: E501
|
|
631
|
+
:type: list[str]
|
|
632
|
+
"""
|
|
633
|
+
|
|
634
|
+
self._saved_files = saved_files
|
|
635
|
+
|
|
636
|
+
@property
|
|
637
|
+
def outputs(self):
|
|
638
|
+
"""Gets the outputs of this JobOutput.
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
:return: The outputs of this JobOutput.
|
|
642
|
+
:rtype: list[FileOutput]
|
|
643
|
+
"""
|
|
644
|
+
return self._outputs
|
|
645
|
+
|
|
646
|
+
@outputs.setter
|
|
647
|
+
def outputs(self, outputs):
|
|
648
|
+
"""Sets the outputs of this JobOutput.
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
:param outputs: The outputs of this JobOutput. # noqa: E501
|
|
652
|
+
:type: list[FileOutput]
|
|
653
|
+
"""
|
|
654
|
+
|
|
655
|
+
self._outputs = outputs
|
|
656
|
+
|
|
657
|
+
@property
|
|
658
|
+
def deleted_outputs(self):
|
|
659
|
+
"""Gets the deleted_outputs of this JobOutput.
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
:return: The deleted_outputs of this JobOutput.
|
|
663
|
+
:rtype: list[DeletedFile]
|
|
664
|
+
"""
|
|
665
|
+
return self._deleted_outputs
|
|
666
|
+
|
|
667
|
+
@deleted_outputs.setter
|
|
668
|
+
def deleted_outputs(self, deleted_outputs):
|
|
669
|
+
"""Sets the deleted_outputs of this JobOutput.
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
:param deleted_outputs: The deleted_outputs of this JobOutput. # noqa: E501
|
|
673
|
+
:type: list[DeletedFile]
|
|
674
|
+
"""
|
|
675
|
+
|
|
676
|
+
self._deleted_outputs = deleted_outputs
|
|
677
|
+
|
|
678
|
+
@property
|
|
679
|
+
def produced_metadata(self):
|
|
680
|
+
"""Gets the produced_metadata of this JobOutput.
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
:return: The produced_metadata of this JobOutput.
|
|
684
|
+
:rtype: dict(str, object)
|
|
685
|
+
"""
|
|
686
|
+
return self._produced_metadata
|
|
687
|
+
|
|
688
|
+
@produced_metadata.setter
|
|
689
|
+
def produced_metadata(self, produced_metadata):
|
|
690
|
+
"""Sets the produced_metadata of this JobOutput.
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
:param produced_metadata: The produced_metadata of this JobOutput. # noqa: E501
|
|
694
|
+
:type: dict(str, object)
|
|
695
|
+
"""
|
|
696
|
+
|
|
697
|
+
self._produced_metadata = produced_metadata
|
|
698
|
+
|
|
699
|
+
@property
|
|
700
|
+
def batch(self):
|
|
701
|
+
"""Gets the batch of this JobOutput.
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
:return: The batch of this JobOutput.
|
|
705
|
+
:rtype: str
|
|
706
|
+
"""
|
|
707
|
+
return self._batch
|
|
708
|
+
|
|
709
|
+
@batch.setter
|
|
710
|
+
def batch(self, batch):
|
|
711
|
+
"""Sets the batch of this JobOutput.
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
:param batch: The batch of this JobOutput. # noqa: E501
|
|
715
|
+
:type: str
|
|
716
|
+
"""
|
|
717
|
+
|
|
718
|
+
self._batch = batch
|
|
719
|
+
|
|
720
|
+
@property
|
|
721
|
+
def failed_output_accepted(self):
|
|
722
|
+
"""Gets the failed_output_accepted of this JobOutput.
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
:return: The failed_output_accepted of this JobOutput.
|
|
726
|
+
:rtype: bool
|
|
727
|
+
"""
|
|
728
|
+
return self._failed_output_accepted
|
|
729
|
+
|
|
730
|
+
@failed_output_accepted.setter
|
|
731
|
+
def failed_output_accepted(self, failed_output_accepted):
|
|
732
|
+
"""Sets the failed_output_accepted of this JobOutput.
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
:param failed_output_accepted: The failed_output_accepted of this JobOutput. # noqa: E501
|
|
736
|
+
:type: bool
|
|
737
|
+
"""
|
|
738
|
+
|
|
739
|
+
self._failed_output_accepted = failed_output_accepted
|
|
740
|
+
|
|
741
|
+
@property
|
|
742
|
+
def profile(self):
|
|
743
|
+
"""Gets the profile of this JobOutput.
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
:return: The profile of this JobOutput.
|
|
747
|
+
:rtype: JobProfile
|
|
748
|
+
"""
|
|
749
|
+
return self._profile
|
|
750
|
+
|
|
751
|
+
@profile.setter
|
|
752
|
+
def profile(self, profile):
|
|
753
|
+
"""Sets the profile of this JobOutput.
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
:param profile: The profile of this JobOutput. # noqa: E501
|
|
757
|
+
:type: JobProfile
|
|
758
|
+
"""
|
|
759
|
+
|
|
760
|
+
self._profile = profile
|
|
761
|
+
|
|
762
|
+
@property
|
|
763
|
+
def failure_reason(self):
|
|
764
|
+
"""Gets the failure_reason of this JobOutput.
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
:return: The failure_reason of this JobOutput.
|
|
768
|
+
:rtype: str
|
|
769
|
+
"""
|
|
770
|
+
return self._failure_reason
|
|
771
|
+
|
|
772
|
+
@failure_reason.setter
|
|
773
|
+
def failure_reason(self, failure_reason):
|
|
774
|
+
"""Sets the failure_reason of this JobOutput.
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
:param failure_reason: The failure_reason of this JobOutput. # noqa: E501
|
|
778
|
+
:type: str
|
|
779
|
+
"""
|
|
780
|
+
|
|
781
|
+
self._failure_reason = failure_reason
|
|
782
|
+
|
|
783
|
+
@property
|
|
784
|
+
def related_container_ids(self):
|
|
785
|
+
"""Gets the related_container_ids of this JobOutput.
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
:return: The related_container_ids of this JobOutput.
|
|
789
|
+
:rtype: list[str]
|
|
790
|
+
"""
|
|
791
|
+
return self._related_container_ids
|
|
792
|
+
|
|
793
|
+
@related_container_ids.setter
|
|
794
|
+
def related_container_ids(self, related_container_ids):
|
|
795
|
+
"""Sets the related_container_ids of this JobOutput.
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
:param related_container_ids: The related_container_ids of this JobOutput. # noqa: E501
|
|
799
|
+
:type: list[str]
|
|
800
|
+
"""
|
|
801
|
+
|
|
802
|
+
self._related_container_ids = related_container_ids
|
|
803
|
+
|
|
804
|
+
@property
|
|
805
|
+
def label(self):
|
|
806
|
+
"""Gets the label of this JobOutput.
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
:return: The label of this JobOutput.
|
|
810
|
+
:rtype: str
|
|
811
|
+
"""
|
|
812
|
+
return self._label
|
|
813
|
+
|
|
814
|
+
@label.setter
|
|
815
|
+
def label(self, label):
|
|
816
|
+
"""Sets the label of this JobOutput.
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
:param label: The label of this JobOutput. # noqa: E501
|
|
820
|
+
:type: str
|
|
821
|
+
"""
|
|
822
|
+
|
|
823
|
+
self._label = label
|
|
824
|
+
|
|
825
|
+
@property
|
|
826
|
+
def compute_provider_id(self):
|
|
827
|
+
"""Gets the compute_provider_id of this JobOutput.
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
:return: The compute_provider_id of this JobOutput.
|
|
831
|
+
:rtype: str
|
|
832
|
+
"""
|
|
833
|
+
return self._compute_provider_id
|
|
834
|
+
|
|
835
|
+
@compute_provider_id.setter
|
|
836
|
+
def compute_provider_id(self, compute_provider_id):
|
|
837
|
+
"""Sets the compute_provider_id of this JobOutput.
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
:param compute_provider_id: The compute_provider_id of this JobOutput. # noqa: E501
|
|
841
|
+
:type: str
|
|
842
|
+
"""
|
|
843
|
+
|
|
844
|
+
self._compute_provider_id = compute_provider_id
|
|
845
|
+
|
|
846
|
+
@property
|
|
847
|
+
def parents(self):
|
|
848
|
+
"""Gets the parents of this JobOutput.
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
:return: The parents of this JobOutput.
|
|
852
|
+
:rtype: JobParents
|
|
853
|
+
"""
|
|
854
|
+
return self._parents
|
|
855
|
+
|
|
856
|
+
@parents.setter
|
|
857
|
+
def parents(self, parents):
|
|
858
|
+
"""Sets the parents of this JobOutput.
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
:param parents: The parents of this JobOutput. # noqa: E501
|
|
862
|
+
:type: JobParents
|
|
863
|
+
"""
|
|
864
|
+
|
|
865
|
+
self._parents = parents
|
|
866
|
+
|
|
867
|
+
@property
|
|
868
|
+
def transitions(self):
|
|
869
|
+
"""Gets the transitions of this JobOutput.
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
:return: The transitions of this JobOutput.
|
|
873
|
+
:rtype: Transitions
|
|
874
|
+
"""
|
|
875
|
+
return self._transitions
|
|
876
|
+
|
|
877
|
+
@transitions.setter
|
|
878
|
+
def transitions(self, transitions):
|
|
879
|
+
"""Sets the transitions of this JobOutput.
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
:param transitions: The transitions of this JobOutput. # noqa: E501
|
|
883
|
+
:type: Transitions
|
|
884
|
+
"""
|
|
885
|
+
|
|
886
|
+
self._transitions = transitions
|
|
887
|
+
|
|
888
|
+
@property
|
|
889
|
+
def parent_info(self):
|
|
890
|
+
"""Gets the parent_info of this JobOutput.
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
:return: The parent_info of this JobOutput.
|
|
894
|
+
:rtype: JobDetailParentInfo
|
|
895
|
+
"""
|
|
896
|
+
return self._parent_info
|
|
897
|
+
|
|
898
|
+
@parent_info.setter
|
|
899
|
+
def parent_info(self, parent_info):
|
|
900
|
+
"""Sets the parent_info of this JobOutput.
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
:param parent_info: The parent_info of this JobOutput. # noqa: E501
|
|
904
|
+
:type: JobDetailParentInfo
|
|
905
|
+
"""
|
|
906
|
+
|
|
907
|
+
self._parent_info = parent_info
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
@staticmethod
|
|
911
|
+
def positional_to_model(value):
|
|
912
|
+
"""Converts a positional argument to a model value"""
|
|
913
|
+
return value
|
|
914
|
+
|
|
915
|
+
def return_value(self):
|
|
916
|
+
"""Unwraps return value from model"""
|
|
917
|
+
return self
|
|
918
|
+
|
|
919
|
+
def to_dict(self):
|
|
920
|
+
"""Returns the model properties as a dict"""
|
|
921
|
+
result = {}
|
|
922
|
+
|
|
923
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
924
|
+
value = getattr(self, attr)
|
|
925
|
+
if isinstance(value, list):
|
|
926
|
+
result[attr] = list(map(
|
|
927
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
928
|
+
value
|
|
929
|
+
))
|
|
930
|
+
elif hasattr(value, "to_dict"):
|
|
931
|
+
result[attr] = value.to_dict()
|
|
932
|
+
elif isinstance(value, dict):
|
|
933
|
+
result[attr] = dict(map(
|
|
934
|
+
lambda item: (item[0], item[1].to_dict())
|
|
935
|
+
if hasattr(item[1], "to_dict") else item,
|
|
936
|
+
value.items()
|
|
937
|
+
))
|
|
938
|
+
else:
|
|
939
|
+
result[attr] = value
|
|
940
|
+
|
|
941
|
+
return result
|
|
942
|
+
|
|
943
|
+
def to_str(self):
|
|
944
|
+
"""Returns the string representation of the model"""
|
|
945
|
+
return pprint.pformat(self.to_dict())
|
|
946
|
+
|
|
947
|
+
def __repr__(self):
|
|
948
|
+
"""For `print` and `pprint`"""
|
|
949
|
+
return self.to_str()
|
|
950
|
+
|
|
951
|
+
def __eq__(self, other):
|
|
952
|
+
"""Returns true if both objects are equal"""
|
|
953
|
+
if not isinstance(other, JobOutput):
|
|
954
|
+
return False
|
|
955
|
+
|
|
956
|
+
return self.__dict__ == other.__dict__
|
|
957
|
+
|
|
958
|
+
def __ne__(self, other):
|
|
959
|
+
"""Returns true if both objects are not equal"""
|
|
960
|
+
return not self == other
|
|
961
|
+
|
|
962
|
+
# Container emulation
|
|
963
|
+
def __getitem__(self, key):
|
|
964
|
+
"""Returns the value of key"""
|
|
965
|
+
key = self._map_key(key)
|
|
966
|
+
return getattr(self, key)
|
|
967
|
+
|
|
968
|
+
def __setitem__(self, key, value):
|
|
969
|
+
"""Sets the value of key"""
|
|
970
|
+
key = self._map_key(key)
|
|
971
|
+
setattr(self, key, value)
|
|
972
|
+
|
|
973
|
+
def __contains__(self, key):
|
|
974
|
+
"""Checks if the given value is a key in this object"""
|
|
975
|
+
key = self._map_key(key, raise_on_error=False)
|
|
976
|
+
return key is not None
|
|
977
|
+
|
|
978
|
+
def keys(self):
|
|
979
|
+
"""Returns the list of json properties in the object"""
|
|
980
|
+
return self.__class__.rattribute_map.keys()
|
|
981
|
+
|
|
982
|
+
def values(self):
|
|
983
|
+
"""Returns the list of values in the object"""
|
|
984
|
+
for key in self.__class__.attribute_map.keys():
|
|
985
|
+
yield getattr(self, key)
|
|
986
|
+
|
|
987
|
+
def items(self):
|
|
988
|
+
"""Returns the list of json property to value mapping"""
|
|
989
|
+
for key, prop in self.__class__.rattribute_map.items():
|
|
990
|
+
yield key, getattr(self, prop)
|
|
991
|
+
|
|
992
|
+
def get(self, key, default=None):
|
|
993
|
+
"""Get the value of the provided json property, or default"""
|
|
994
|
+
key = self._map_key(key, raise_on_error=False)
|
|
995
|
+
if key:
|
|
996
|
+
return getattr(self, key, default)
|
|
997
|
+
return default
|
|
998
|
+
|
|
999
|
+
def _map_key(self, key, raise_on_error=True):
|
|
1000
|
+
result = self.__class__.rattribute_map.get(key)
|
|
1001
|
+
if result is None:
|
|
1002
|
+
if raise_on_error:
|
|
1003
|
+
raise AttributeError('Invalid attribute name: {}'.format(key))
|
|
1004
|
+
return None
|
|
1005
|
+
return '_' + result
|