mux-python 4.0.0__tar.gz → 5.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mux_python-4.0.0 → mux_python-5.0.1}/PKG-INFO +3 -2
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/__init__.py +2 -1
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/assets_api.py +2 -2
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api_client.py +1 -1
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/configuration.py +1 -1
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/__init__.py +1 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/asset.py +31 -5
- mux_python-5.0.1/mux_python/models/asset_metadata.py +199 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_asset_request.py +93 -11
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_live_stream_request.py +33 -3
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/static_rendition.py +1 -1
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_asset_request.py +31 -5
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_live_stream_new_asset_settings.py +29 -3
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/upload.py +3 -3
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/video_view.py +28 -3
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python.egg-info/PKG-INFO +3 -2
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python.egg-info/SOURCES.txt +2 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/setup.py +1 -1
- mux_python-5.0.1/test/test_asset_metadata.py +54 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/LICENSE +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/README.md +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/__init__.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/delivery_usage_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/dimensions_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/direct_uploads_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/drm_configurations_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/errors_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/exports_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/filters_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/incidents_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/live_streams_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/metrics_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/monitoring_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/playback_id_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/playback_restrictions_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/real_time_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/signing_keys_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/spaces_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/transcription_vocabularies_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/url_signing_keys_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/video_views_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/api/web_inputs_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/exceptions.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/abridged_video_view.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/asset_errors.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/asset_generated_subtitle_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/asset_master.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/asset_non_standard_input_reasons.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/asset_recording_times.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/asset_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/asset_static_renditions.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/asset_static_renditions_files.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/breakdown_value.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/broadcast.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/broadcast_layout.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/broadcast_resolution.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/broadcast_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/broadcast_status.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_broadcast_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_playback_id_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_playback_id_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_playback_restriction_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_simulcast_target_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_space_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_static_rendition_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_static_rendition_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_track_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_track_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_transcription_vocabulary_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_upload_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/create_web_input_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/delivery_report.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/delivery_report_delivered_seconds_by_resolution.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/dimension_value.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/disable_live_stream_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/drm_configuration.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/drm_configuration_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/enable_live_stream_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/error.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/export_date.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/export_file.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/filter_value.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/generate_track_subtitles_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/generate_track_subtitles_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_asset_input_info_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_asset_or_live_stream_id_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_asset_or_live_stream_id_response_data.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_asset_or_live_stream_id_response_data_object.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_asset_playback_id_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_live_stream_playback_id_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_metric_timeseries_data_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_monitoring_breakdown_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_monitoring_breakdown_timeseries_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_monitoring_histogram_timeseries_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_monitoring_histogram_timeseries_response_meta.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_monitoring_timeseries_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_overall_values_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_real_time_breakdown_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_real_time_histogram_timeseries_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_real_time_histogram_timeseries_response_meta.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/get_real_time_timeseries_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/incident.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/incident_breakdown.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/incident_notification.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/incident_notification_rule.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/incident_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/input_file.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/input_info.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/input_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/input_settings_overlay_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/input_track.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/insight.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/launch_web_input_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_all_metric_values_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_assets_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_breakdown_values_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_breakdown_values_response_meta.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_delivery_usage_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_dimension_values_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_dimensions_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_drm_configurations_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_errors_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_exports_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_filter_values_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_filters_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_filters_response_data.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_incidents_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_insights_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_live_streams_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_monitoring_dimensions_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_monitoring_dimensions_response_data.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_monitoring_metrics_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_playback_restrictions_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_real_time_dimensions_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_real_time_metrics_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_related_incidents_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_signing_keys_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_spaces_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_transcription_vocabularies_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_uploads_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_video_view_exports_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_video_views_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/list_web_inputs_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/live_stream.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/live_stream_embedded_subtitle_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/live_stream_generated_subtitle_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/live_stream_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/live_stream_status.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/metric.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/monitoring_breakdown_timeseries_datapoint.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/monitoring_breakdown_timeseries_values.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/monitoring_breakdown_value.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/monitoring_histogram_timeseries_bucket.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/monitoring_histogram_timeseries_bucket_values.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/monitoring_histogram_timeseries_datapoint.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/monitoring_timeseries_datapoint.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/notification_rule.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/overall_values.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/playback_id.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/playback_policy.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/playback_restriction.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/playback_restriction_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/real_time_breakdown_value.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/real_time_histogram_timeseries_bucket.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/real_time_histogram_timeseries_bucket_values.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/real_time_histogram_timeseries_datapoint.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/real_time_timeseries_datapoint.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/referrer_domain_restriction.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/reload_web_input_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/score.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/shutdown_web_input_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/signal_live_stream_complete_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/signing_key.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/signing_key_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/simulcast_target.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/simulcast_target_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/space.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/space_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/space_status.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/space_type.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/start_space_broadcast_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/stop_space_broadcast_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/track.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/transcription_vocabulary.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/transcription_vocabulary_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_asset_master_access_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_asset_mp4_support_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_live_stream_embedded_subtitles_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_live_stream_generated_subtitles_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_live_stream_new_asset_settings_static_renditions_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_live_stream_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_referrer_domain_restriction_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_transcription_vocabulary_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_user_agent_restriction_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/update_web_input_url_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/upload_error.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/upload_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/user_agent_restriction_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/user_agent_restriction_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/video_view_event.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/video_view_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/web_input.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/models/web_input_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python/rest.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python.egg-info/dependency_links.txt +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python.egg-info/requires.txt +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/mux_python.egg-info/top_level.txt +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/setup.cfg +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_abridged_video_view.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_asset.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_asset_errors.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_asset_generated_subtitle_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_asset_master.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_asset_non_standard_input_reasons.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_asset_recording_times.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_asset_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_asset_static_renditions.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_asset_static_renditions_files.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_assets_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_breakdown_value.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_broadcast.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_broadcast_layout.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_broadcast_resolution.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_broadcast_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_broadcast_status.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_asset_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_broadcast_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_live_stream_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_playback_id_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_playback_id_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_playback_restriction_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_simulcast_target_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_space_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_static_rendition_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_static_rendition_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_track_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_track_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_transcription_vocabulary_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_upload_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_create_web_input_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_delivery_report.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_delivery_report_delivered_seconds_by_resolution.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_delivery_usage_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_dimension_value.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_dimensions_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_direct_uploads_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_disable_live_stream_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_drm_configuration.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_drm_configuration_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_drm_configurations_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_enable_live_stream_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_error.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_errors_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_export_date.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_export_file.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_exports_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_filter_value.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_filters_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_generate_track_subtitles_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_generate_track_subtitles_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_asset_input_info_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_asset_or_live_stream_id_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_asset_or_live_stream_id_response_data.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_asset_or_live_stream_id_response_data_object.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_asset_playback_id_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_live_stream_playback_id_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_metric_timeseries_data_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_monitoring_breakdown_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_monitoring_breakdown_timeseries_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_monitoring_histogram_timeseries_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_monitoring_histogram_timeseries_response_meta.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_monitoring_timeseries_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_overall_values_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_real_time_breakdown_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_real_time_histogram_timeseries_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_real_time_histogram_timeseries_response_meta.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_get_real_time_timeseries_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_incident.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_incident_breakdown.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_incident_notification.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_incident_notification_rule.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_incident_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_incidents_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_input_file.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_input_info.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_input_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_input_settings_overlay_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_input_track.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_insight.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_launch_web_input_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_all_metric_values_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_assets_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_breakdown_values_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_breakdown_values_response_meta.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_delivery_usage_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_dimension_values_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_dimensions_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_drm_configurations_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_errors_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_exports_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_filter_values_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_filters_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_filters_response_data.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_incidents_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_insights_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_live_streams_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_monitoring_dimensions_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_monitoring_dimensions_response_data.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_monitoring_metrics_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_playback_restrictions_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_real_time_dimensions_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_real_time_dimensions_response_data.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_real_time_metrics_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_related_incidents_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_signing_keys_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_spaces_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_transcription_vocabularies_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_uploads_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_video_view_exports_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_video_views_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_list_web_inputs_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_live_stream.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_live_stream_embedded_subtitle_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_live_stream_generated_subtitle_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_live_stream_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_live_stream_status.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_live_streams_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_metric.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_metrics_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_monitoring_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_monitoring_breakdown_timeseries_datapoint.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_monitoring_breakdown_timeseries_values.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_monitoring_breakdown_value.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_monitoring_histogram_timeseries_bucket.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_monitoring_histogram_timeseries_bucket_values.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_monitoring_histogram_timeseries_datapoint.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_monitoring_timeseries_datapoint.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_notification_rule.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_overall_values.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_playback_id.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_playback_id_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_playback_policy.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_playback_restriction.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_playback_restriction_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_playback_restrictions_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_real_time_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_real_time_breakdown_value.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_real_time_histogram_timeseries_bucket.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_real_time_histogram_timeseries_bucket_values.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_real_time_histogram_timeseries_datapoint.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_real_time_timeseries_datapoint.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_referrer_domain_restriction.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_reload_web_input_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_score.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_shutdown_web_input_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_signal_live_stream_complete_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_signing_key.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_signing_key_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_signing_keys_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_simulcast_target.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_simulcast_target_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_space.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_space_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_space_status.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_space_type.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_spaces_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_start_space_broadcast_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_static_rendition.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_stop_space_broadcast_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_track.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_transcription_vocabularies_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_transcription_vocabulary.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_transcription_vocabulary_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_asset_master_access_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_asset_mp4_support_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_asset_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_live_stream_embedded_subtitles_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_live_stream_generated_subtitles_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_live_stream_new_asset_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_live_stream_new_asset_settings_static_renditions_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_live_stream_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_referrer_domain_restriction_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_transcription_vocabulary_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_user_agent_restriction_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_update_web_input_url_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_upload.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_upload_error.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_upload_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_url_signing_keys_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_user_agent_restriction_request.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_user_agent_restriction_settings.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_video_view.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_video_view_event.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_video_view_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_video_views_api.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_web_input.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_web_input_response.py +0 -0
- {mux_python-4.0.0 → mux_python-5.0.1}/test/test_web_inputs_api.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: mux_python
|
|
3
|
-
Version:
|
|
3
|
+
Version: 5.0.1
|
|
4
4
|
Summary: Mux API
|
|
5
5
|
Home-page: https://github.com/muxinc/mux-python
|
|
6
6
|
Author: Mux DevEx
|
|
@@ -19,6 +19,7 @@ Dynamic: description-content-type
|
|
|
19
19
|
Dynamic: home-page
|
|
20
20
|
Dynamic: keywords
|
|
21
21
|
Dynamic: license
|
|
22
|
+
Dynamic: license-file
|
|
22
23
|
Dynamic: requires-dist
|
|
23
24
|
Dynamic: summary
|
|
24
25
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
from __future__ import absolute_import
|
|
17
17
|
|
|
18
|
-
__version__ = "
|
|
18
|
+
__version__ = "5.0.1"
|
|
19
19
|
|
|
20
20
|
# import apis into sdk package
|
|
21
21
|
from mux_python.api.assets_api import AssetsApi
|
|
@@ -54,6 +54,7 @@ from mux_python.models.asset import Asset
|
|
|
54
54
|
from mux_python.models.asset_errors import AssetErrors
|
|
55
55
|
from mux_python.models.asset_generated_subtitle_settings import AssetGeneratedSubtitleSettings
|
|
56
56
|
from mux_python.models.asset_master import AssetMaster
|
|
57
|
+
from mux_python.models.asset_metadata import AssetMetadata
|
|
57
58
|
from mux_python.models.asset_non_standard_input_reasons import AssetNonStandardInputReasons
|
|
58
59
|
from mux_python.models.asset_recording_times import AssetRecordingTimes
|
|
59
60
|
from mux_python.models.asset_response import AssetResponse
|
|
@@ -479,7 +479,7 @@ class AssetsApi(object):
|
|
|
479
479
|
def create_asset_track(self, asset_id, create_track_request, **kwargs): # noqa: E501
|
|
480
480
|
"""Create an asset track # noqa: E501
|
|
481
481
|
|
|
482
|
-
Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. # noqa: E501
|
|
482
|
+
Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. Assets must be in the `ready` state before tracks can be added. # noqa: E501
|
|
483
483
|
This method makes a synchronous HTTP request by default. To make an
|
|
484
484
|
asynchronous HTTP request, please pass async_req=True
|
|
485
485
|
|
|
@@ -511,7 +511,7 @@ class AssetsApi(object):
|
|
|
511
511
|
def create_asset_track_with_http_info(self, asset_id, create_track_request, **kwargs): # noqa: E501
|
|
512
512
|
"""Create an asset track # noqa: E501
|
|
513
513
|
|
|
514
|
-
Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. # noqa: E501
|
|
514
|
+
Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. Assets must be in the `ready` state before tracks can be added. # noqa: E501
|
|
515
515
|
This method makes a synchronous HTTP request by default. To make an
|
|
516
516
|
asynchronous HTTP request, please pass async_req=True
|
|
517
517
|
|
|
@@ -79,7 +79,7 @@ class ApiClient(object):
|
|
|
79
79
|
self.default_headers[header_name] = header_value
|
|
80
80
|
self.cookie = cookie
|
|
81
81
|
# Set default User-Agent.
|
|
82
|
-
self.user_agent = 'Mux Python |
|
|
82
|
+
self.user_agent = 'Mux Python | 5.0.1'
|
|
83
83
|
self.client_side_validation = configuration.client_side_validation
|
|
84
84
|
|
|
85
85
|
def __enter__(self):
|
|
@@ -406,7 +406,7 @@ conf = mux_python.Configuration(
|
|
|
406
406
|
"OS: {env}\n"\
|
|
407
407
|
"Python Version: {pyversion}\n"\
|
|
408
408
|
"Version of the API: v1\n"\
|
|
409
|
-
"SDK Package Version:
|
|
409
|
+
"SDK Package Version: 5.0.1".\
|
|
410
410
|
format(env=sys.platform, pyversion=sys.version)
|
|
411
411
|
|
|
412
412
|
def get_host_settings(self):
|
|
@@ -20,6 +20,7 @@ from mux_python.models.asset import Asset
|
|
|
20
20
|
from mux_python.models.asset_errors import AssetErrors
|
|
21
21
|
from mux_python.models.asset_generated_subtitle_settings import AssetGeneratedSubtitleSettings
|
|
22
22
|
from mux_python.models.asset_master import AssetMaster
|
|
23
|
+
from mux_python.models.asset_metadata import AssetMetadata
|
|
23
24
|
from mux_python.models.asset_non_standard_input_reasons import AssetNonStandardInputReasons
|
|
24
25
|
from mux_python.models.asset_recording_times import AssetRecordingTimes
|
|
25
26
|
from mux_python.models.asset_response import AssetResponse
|
|
@@ -65,7 +65,8 @@ class Asset(object):
|
|
|
65
65
|
'recording_times': 'list[AssetRecordingTimes]',
|
|
66
66
|
'non_standard_input_reasons': 'AssetNonStandardInputReasons',
|
|
67
67
|
'test': 'bool',
|
|
68
|
-
'ingest_type': 'str'
|
|
68
|
+
'ingest_type': 'str',
|
|
69
|
+
'meta': 'AssetMetadata'
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
attribute_map = {
|
|
@@ -97,10 +98,11 @@ class Asset(object):
|
|
|
97
98
|
'recording_times': 'recording_times',
|
|
98
99
|
'non_standard_input_reasons': 'non_standard_input_reasons',
|
|
99
100
|
'test': 'test',
|
|
100
|
-
'ingest_type': 'ingest_type'
|
|
101
|
+
'ingest_type': 'ingest_type',
|
|
102
|
+
'meta': 'meta'
|
|
101
103
|
}
|
|
102
104
|
|
|
103
|
-
def __init__(self, id=None, created_at=None, status=None, duration=None, max_stored_resolution=None, resolution_tier=None, max_resolution_tier=None, encoding_tier=None, video_quality=None, max_stored_frame_rate=None, aspect_ratio=None, playback_ids=None, tracks=None, errors=None, per_title_encode=None, upload_id=None, is_live=None, passthrough=None, live_stream_id=None, master=None, master_access='none', mp4_support='none', source_asset_id=None, normalize_audio=False, static_renditions=None, recording_times=None, non_standard_input_reasons=None, test=None, ingest_type=None, local_vars_configuration=None): # noqa: E501
|
|
105
|
+
def __init__(self, id=None, created_at=None, status=None, duration=None, max_stored_resolution=None, resolution_tier=None, max_resolution_tier=None, encoding_tier=None, video_quality=None, max_stored_frame_rate=None, aspect_ratio=None, playback_ids=None, tracks=None, errors=None, per_title_encode=None, upload_id=None, is_live=None, passthrough=None, live_stream_id=None, master=None, master_access='none', mp4_support='none', source_asset_id=None, normalize_audio=False, static_renditions=None, recording_times=None, non_standard_input_reasons=None, test=None, ingest_type=None, meta=None, local_vars_configuration=None): # noqa: E501
|
|
104
106
|
"""Asset - a model defined in OpenAPI""" # noqa: E501
|
|
105
107
|
if local_vars_configuration is None:
|
|
106
108
|
local_vars_configuration = Configuration.get_default_copy()
|
|
@@ -135,6 +137,7 @@ class Asset(object):
|
|
|
135
137
|
self._non_standard_input_reasons = None
|
|
136
138
|
self._test = None
|
|
137
139
|
self._ingest_type = None
|
|
140
|
+
self._meta = None
|
|
138
141
|
self.discriminator = None
|
|
139
142
|
|
|
140
143
|
if id is not None:
|
|
@@ -195,6 +198,8 @@ class Asset(object):
|
|
|
195
198
|
self.test = test
|
|
196
199
|
if ingest_type is not None:
|
|
197
200
|
self.ingest_type = ingest_type
|
|
201
|
+
if meta is not None:
|
|
202
|
+
self.meta = meta
|
|
198
203
|
|
|
199
204
|
@property
|
|
200
205
|
def id(self):
|
|
@@ -623,7 +628,7 @@ class Asset(object):
|
|
|
623
628
|
def passthrough(self):
|
|
624
629
|
"""Gets the passthrough of this Asset. # noqa: E501
|
|
625
630
|
|
|
626
|
-
|
|
631
|
+
You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id` , you can use the `meta` object instead. **Max: 255 characters**. # noqa: E501
|
|
627
632
|
|
|
628
633
|
:return: The passthrough of this Asset. # noqa: E501
|
|
629
634
|
:rtype: str
|
|
@@ -634,7 +639,7 @@ class Asset(object):
|
|
|
634
639
|
def passthrough(self, passthrough):
|
|
635
640
|
"""Sets the passthrough of this Asset.
|
|
636
641
|
|
|
637
|
-
|
|
642
|
+
You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id` , you can use the `meta` object instead. **Max: 255 characters**. # noqa: E501
|
|
638
643
|
|
|
639
644
|
:param passthrough: The passthrough of this Asset. # noqa: E501
|
|
640
645
|
:type passthrough: str
|
|
@@ -903,6 +908,27 @@ class Asset(object):
|
|
|
903
908
|
|
|
904
909
|
self._ingest_type = ingest_type
|
|
905
910
|
|
|
911
|
+
@property
|
|
912
|
+
def meta(self):
|
|
913
|
+
"""Gets the meta of this Asset. # noqa: E501
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
:return: The meta of this Asset. # noqa: E501
|
|
917
|
+
:rtype: AssetMetadata
|
|
918
|
+
"""
|
|
919
|
+
return self._meta
|
|
920
|
+
|
|
921
|
+
@meta.setter
|
|
922
|
+
def meta(self, meta):
|
|
923
|
+
"""Sets the meta of this Asset.
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
:param meta: The meta of this Asset. # noqa: E501
|
|
927
|
+
:type meta: AssetMetadata
|
|
928
|
+
"""
|
|
929
|
+
|
|
930
|
+
self._meta = meta
|
|
931
|
+
|
|
906
932
|
def to_dict(self, serialize=False):
|
|
907
933
|
"""Returns the model properties as a dict"""
|
|
908
934
|
result = {}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Mux API
|
|
5
|
+
|
|
6
|
+
Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before. # noqa: E501
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1
|
|
9
|
+
Contact: devex@mux.com
|
|
10
|
+
Generated by: https://openapi-generator.tech
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
from inspect import getfullargspec
|
|
16
|
+
except ImportError:
|
|
17
|
+
from inspect import getargspec as getfullargspec
|
|
18
|
+
import pprint
|
|
19
|
+
import re # noqa: F401
|
|
20
|
+
import six
|
|
21
|
+
|
|
22
|
+
from mux_python.configuration import Configuration
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class AssetMetadata(object):
|
|
26
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
27
|
+
Ref: https://openapi-generator.tech
|
|
28
|
+
|
|
29
|
+
Do not edit the class manually.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
"""
|
|
33
|
+
Attributes:
|
|
34
|
+
openapi_types (dict): The key is attribute name
|
|
35
|
+
and the value is attribute type.
|
|
36
|
+
attribute_map (dict): The key is attribute name
|
|
37
|
+
and the value is json key in definition.
|
|
38
|
+
"""
|
|
39
|
+
openapi_types = {
|
|
40
|
+
'title': 'str',
|
|
41
|
+
'creator_id': 'str',
|
|
42
|
+
'external_id': 'str'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
'title': 'title',
|
|
47
|
+
'creator_id': 'creator_id',
|
|
48
|
+
'external_id': 'external_id'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, title=None, creator_id=None, external_id=None, local_vars_configuration=None): # noqa: E501
|
|
52
|
+
"""AssetMetadata - a model defined in OpenAPI""" # noqa: E501
|
|
53
|
+
if local_vars_configuration is None:
|
|
54
|
+
local_vars_configuration = Configuration.get_default_copy()
|
|
55
|
+
self.local_vars_configuration = local_vars_configuration
|
|
56
|
+
|
|
57
|
+
self._title = None
|
|
58
|
+
self._creator_id = None
|
|
59
|
+
self._external_id = None
|
|
60
|
+
self.discriminator = None
|
|
61
|
+
|
|
62
|
+
if title is not None:
|
|
63
|
+
self.title = title
|
|
64
|
+
if creator_id is not None:
|
|
65
|
+
self.creator_id = creator_id
|
|
66
|
+
if external_id is not None:
|
|
67
|
+
self.external_id = external_id
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def title(self):
|
|
71
|
+
"""Gets the title of this AssetMetadata. # noqa: E501
|
|
72
|
+
|
|
73
|
+
The asset title. Max 512 code points. # noqa: E501
|
|
74
|
+
|
|
75
|
+
:return: The title of this AssetMetadata. # noqa: E501
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._title
|
|
79
|
+
|
|
80
|
+
@title.setter
|
|
81
|
+
def title(self, title):
|
|
82
|
+
"""Sets the title of this AssetMetadata.
|
|
83
|
+
|
|
84
|
+
The asset title. Max 512 code points. # noqa: E501
|
|
85
|
+
|
|
86
|
+
:param title: The title of this AssetMetadata. # noqa: E501
|
|
87
|
+
:type title: str
|
|
88
|
+
"""
|
|
89
|
+
if (self.local_vars_configuration.client_side_validation and
|
|
90
|
+
title is not None and len(title) > 512):
|
|
91
|
+
raise ValueError("Invalid value for `title`, length must be less than or equal to `512`") # noqa: E501
|
|
92
|
+
|
|
93
|
+
self._title = title
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def creator_id(self):
|
|
97
|
+
"""Gets the creator_id of this AssetMetadata. # noqa: E501
|
|
98
|
+
|
|
99
|
+
This is an identifier you provide to keep track of the creator of the asset. Max 128 code points. # noqa: E501
|
|
100
|
+
|
|
101
|
+
:return: The creator_id of this AssetMetadata. # noqa: E501
|
|
102
|
+
:rtype: str
|
|
103
|
+
"""
|
|
104
|
+
return self._creator_id
|
|
105
|
+
|
|
106
|
+
@creator_id.setter
|
|
107
|
+
def creator_id(self, creator_id):
|
|
108
|
+
"""Sets the creator_id of this AssetMetadata.
|
|
109
|
+
|
|
110
|
+
This is an identifier you provide to keep track of the creator of the asset. Max 128 code points. # noqa: E501
|
|
111
|
+
|
|
112
|
+
:param creator_id: The creator_id of this AssetMetadata. # noqa: E501
|
|
113
|
+
:type creator_id: str
|
|
114
|
+
"""
|
|
115
|
+
if (self.local_vars_configuration.client_side_validation and
|
|
116
|
+
creator_id is not None and len(creator_id) > 128):
|
|
117
|
+
raise ValueError("Invalid value for `creator_id`, length must be less than or equal to `128`") # noqa: E501
|
|
118
|
+
|
|
119
|
+
self._creator_id = creator_id
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def external_id(self):
|
|
123
|
+
"""Gets the external_id of this AssetMetadata. # noqa: E501
|
|
124
|
+
|
|
125
|
+
This is an identifier you provide to link the asset to your own data. Max 128 code points. # noqa: E501
|
|
126
|
+
|
|
127
|
+
:return: The external_id of this AssetMetadata. # noqa: E501
|
|
128
|
+
:rtype: str
|
|
129
|
+
"""
|
|
130
|
+
return self._external_id
|
|
131
|
+
|
|
132
|
+
@external_id.setter
|
|
133
|
+
def external_id(self, external_id):
|
|
134
|
+
"""Sets the external_id of this AssetMetadata.
|
|
135
|
+
|
|
136
|
+
This is an identifier you provide to link the asset to your own data. Max 128 code points. # noqa: E501
|
|
137
|
+
|
|
138
|
+
:param external_id: The external_id of this AssetMetadata. # noqa: E501
|
|
139
|
+
:type external_id: str
|
|
140
|
+
"""
|
|
141
|
+
if (self.local_vars_configuration.client_side_validation and
|
|
142
|
+
external_id is not None and len(external_id) > 128):
|
|
143
|
+
raise ValueError("Invalid value for `external_id`, length must be less than or equal to `128`") # noqa: E501
|
|
144
|
+
|
|
145
|
+
self._external_id = external_id
|
|
146
|
+
|
|
147
|
+
def to_dict(self, serialize=False):
|
|
148
|
+
"""Returns the model properties as a dict"""
|
|
149
|
+
result = {}
|
|
150
|
+
|
|
151
|
+
def convert(x):
|
|
152
|
+
if hasattr(x, "to_dict"):
|
|
153
|
+
args = getfullargspec(x.to_dict).args
|
|
154
|
+
if len(args) == 1:
|
|
155
|
+
return x.to_dict()
|
|
156
|
+
else:
|
|
157
|
+
return x.to_dict(serialize)
|
|
158
|
+
else:
|
|
159
|
+
return x
|
|
160
|
+
|
|
161
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
162
|
+
value = getattr(self, attr)
|
|
163
|
+
attr = self.attribute_map.get(attr, attr) if serialize else attr
|
|
164
|
+
if isinstance(value, list):
|
|
165
|
+
result[attr] = list(map(
|
|
166
|
+
lambda x: convert(x),
|
|
167
|
+
value
|
|
168
|
+
))
|
|
169
|
+
elif isinstance(value, dict):
|
|
170
|
+
result[attr] = dict(map(
|
|
171
|
+
lambda item: (item[0], convert(item[1])),
|
|
172
|
+
value.items()
|
|
173
|
+
))
|
|
174
|
+
else:
|
|
175
|
+
result[attr] = convert(value)
|
|
176
|
+
|
|
177
|
+
return result
|
|
178
|
+
|
|
179
|
+
def to_str(self):
|
|
180
|
+
"""Returns the string representation of the model"""
|
|
181
|
+
return pprint.pformat(self.to_dict())
|
|
182
|
+
|
|
183
|
+
def __repr__(self):
|
|
184
|
+
"""For `print` and `pprint`"""
|
|
185
|
+
return self.to_str()
|
|
186
|
+
|
|
187
|
+
def __eq__(self, other):
|
|
188
|
+
"""Returns true if both objects are equal"""
|
|
189
|
+
if not isinstance(other, AssetMetadata):
|
|
190
|
+
return False
|
|
191
|
+
|
|
192
|
+
return self.to_dict() == other.to_dict()
|
|
193
|
+
|
|
194
|
+
def __ne__(self, other):
|
|
195
|
+
"""Returns true if both objects are not equal"""
|
|
196
|
+
if not isinstance(other, AssetMetadata):
|
|
197
|
+
return True
|
|
198
|
+
|
|
199
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -38,7 +38,9 @@ class CreateAssetRequest(object):
|
|
|
38
38
|
"""
|
|
39
39
|
openapi_types = {
|
|
40
40
|
'input': 'list[InputSettings]',
|
|
41
|
+
'inputs': 'list[InputSettings]',
|
|
41
42
|
'playback_policy': 'list[PlaybackPolicy]',
|
|
43
|
+
'playback_policies': 'list[PlaybackPolicy]',
|
|
42
44
|
'advanced_playback_policies': 'list[CreatePlaybackIDRequest]',
|
|
43
45
|
'per_title_encode': 'bool',
|
|
44
46
|
'passthrough': 'str',
|
|
@@ -49,12 +51,15 @@ class CreateAssetRequest(object):
|
|
|
49
51
|
'max_resolution_tier': 'str',
|
|
50
52
|
'encoding_tier': 'str',
|
|
51
53
|
'video_quality': 'str',
|
|
52
|
-
'static_renditions': 'list[CreateStaticRenditionRequest]'
|
|
54
|
+
'static_renditions': 'list[CreateStaticRenditionRequest]',
|
|
55
|
+
'meta': 'AssetMetadata'
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
attribute_map = {
|
|
56
59
|
'input': 'input',
|
|
60
|
+
'inputs': 'inputs',
|
|
57
61
|
'playback_policy': 'playback_policy',
|
|
62
|
+
'playback_policies': 'playback_policies',
|
|
58
63
|
'advanced_playback_policies': 'advanced_playback_policies',
|
|
59
64
|
'per_title_encode': 'per_title_encode',
|
|
60
65
|
'passthrough': 'passthrough',
|
|
@@ -65,17 +70,20 @@ class CreateAssetRequest(object):
|
|
|
65
70
|
'max_resolution_tier': 'max_resolution_tier',
|
|
66
71
|
'encoding_tier': 'encoding_tier',
|
|
67
72
|
'video_quality': 'video_quality',
|
|
68
|
-
'static_renditions': 'static_renditions'
|
|
73
|
+
'static_renditions': 'static_renditions',
|
|
74
|
+
'meta': 'meta'
|
|
69
75
|
}
|
|
70
76
|
|
|
71
|
-
def __init__(self, input=None, playback_policy=None, advanced_playback_policies=None, per_title_encode=None, passthrough=None, mp4_support=None, normalize_audio=False, master_access=None, test=None, max_resolution_tier=None, encoding_tier=None, video_quality=None, static_renditions=None, local_vars_configuration=None): # noqa: E501
|
|
77
|
+
def __init__(self, input=None, inputs=None, playback_policy=None, playback_policies=None, advanced_playback_policies=None, per_title_encode=None, passthrough=None, mp4_support=None, normalize_audio=False, master_access=None, test=None, max_resolution_tier=None, encoding_tier=None, video_quality=None, static_renditions=None, meta=None, local_vars_configuration=None): # noqa: E501
|
|
72
78
|
"""CreateAssetRequest - a model defined in OpenAPI""" # noqa: E501
|
|
73
79
|
if local_vars_configuration is None:
|
|
74
80
|
local_vars_configuration = Configuration.get_default_copy()
|
|
75
81
|
self.local_vars_configuration = local_vars_configuration
|
|
76
82
|
|
|
77
83
|
self._input = None
|
|
84
|
+
self._inputs = None
|
|
78
85
|
self._playback_policy = None
|
|
86
|
+
self._playback_policies = None
|
|
79
87
|
self._advanced_playback_policies = None
|
|
80
88
|
self._per_title_encode = None
|
|
81
89
|
self._passthrough = None
|
|
@@ -87,12 +95,17 @@ class CreateAssetRequest(object):
|
|
|
87
95
|
self._encoding_tier = None
|
|
88
96
|
self._video_quality = None
|
|
89
97
|
self._static_renditions = None
|
|
98
|
+
self._meta = None
|
|
90
99
|
self.discriminator = None
|
|
91
100
|
|
|
92
101
|
if input is not None:
|
|
93
102
|
self.input = input
|
|
103
|
+
if inputs is not None:
|
|
104
|
+
self.inputs = inputs
|
|
94
105
|
if playback_policy is not None:
|
|
95
106
|
self.playback_policy = playback_policy
|
|
107
|
+
if playback_policies is not None:
|
|
108
|
+
self.playback_policies = playback_policies
|
|
96
109
|
if advanced_playback_policies is not None:
|
|
97
110
|
self.advanced_playback_policies = advanced_playback_policies
|
|
98
111
|
if per_title_encode is not None:
|
|
@@ -115,12 +128,14 @@ class CreateAssetRequest(object):
|
|
|
115
128
|
self.video_quality = video_quality
|
|
116
129
|
if static_renditions is not None:
|
|
117
130
|
self.static_renditions = static_renditions
|
|
131
|
+
if meta is not None:
|
|
132
|
+
self.meta = meta
|
|
118
133
|
|
|
119
134
|
@property
|
|
120
135
|
def input(self):
|
|
121
136
|
"""Gets the input of this CreateAssetRequest. # noqa: E501
|
|
122
137
|
|
|
123
|
-
|
|
138
|
+
Deprecated. Use `inputs` instead, which accepts an identical type. # noqa: E501
|
|
124
139
|
|
|
125
140
|
:return: The input of this CreateAssetRequest. # noqa: E501
|
|
126
141
|
:rtype: list[InputSettings]
|
|
@@ -131,7 +146,7 @@ class CreateAssetRequest(object):
|
|
|
131
146
|
def input(self, input):
|
|
132
147
|
"""Sets the input of this CreateAssetRequest.
|
|
133
148
|
|
|
134
|
-
|
|
149
|
+
Deprecated. Use `inputs` instead, which accepts an identical type. # noqa: E501
|
|
135
150
|
|
|
136
151
|
:param input: The input of this CreateAssetRequest. # noqa: E501
|
|
137
152
|
:type input: list[InputSettings]
|
|
@@ -139,11 +154,34 @@ class CreateAssetRequest(object):
|
|
|
139
154
|
|
|
140
155
|
self._input = input
|
|
141
156
|
|
|
157
|
+
@property
|
|
158
|
+
def inputs(self):
|
|
159
|
+
"""Gets the inputs of this CreateAssetRequest. # noqa: E501
|
|
160
|
+
|
|
161
|
+
An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See `input[].url` for requirements. # noqa: E501
|
|
162
|
+
|
|
163
|
+
:return: The inputs of this CreateAssetRequest. # noqa: E501
|
|
164
|
+
:rtype: list[InputSettings]
|
|
165
|
+
"""
|
|
166
|
+
return self._inputs
|
|
167
|
+
|
|
168
|
+
@inputs.setter
|
|
169
|
+
def inputs(self, inputs):
|
|
170
|
+
"""Sets the inputs of this CreateAssetRequest.
|
|
171
|
+
|
|
172
|
+
An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See `input[].url` for requirements. # noqa: E501
|
|
173
|
+
|
|
174
|
+
:param inputs: The inputs of this CreateAssetRequest. # noqa: E501
|
|
175
|
+
:type inputs: list[InputSettings]
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
self._inputs = inputs
|
|
179
|
+
|
|
142
180
|
@property
|
|
143
181
|
def playback_policy(self):
|
|
144
182
|
"""Gets the playback_policy of this CreateAssetRequest. # noqa: E501
|
|
145
183
|
|
|
146
|
-
|
|
184
|
+
Deprecated. Use `playback_policies` instead, which accepts an identical type. # noqa: E501
|
|
147
185
|
|
|
148
186
|
:return: The playback_policy of this CreateAssetRequest. # noqa: E501
|
|
149
187
|
:rtype: list[PlaybackPolicy]
|
|
@@ -154,7 +192,7 @@ class CreateAssetRequest(object):
|
|
|
154
192
|
def playback_policy(self, playback_policy):
|
|
155
193
|
"""Sets the playback_policy of this CreateAssetRequest.
|
|
156
194
|
|
|
157
|
-
|
|
195
|
+
Deprecated. Use `playback_policies` instead, which accepts an identical type. # noqa: E501
|
|
158
196
|
|
|
159
197
|
:param playback_policy: The playback_policy of this CreateAssetRequest. # noqa: E501
|
|
160
198
|
:type playback_policy: list[PlaybackPolicy]
|
|
@@ -162,11 +200,34 @@ class CreateAssetRequest(object):
|
|
|
162
200
|
|
|
163
201
|
self._playback_policy = playback_policy
|
|
164
202
|
|
|
203
|
+
@property
|
|
204
|
+
def playback_policies(self):
|
|
205
|
+
"""Gets the playback_policies of this CreateAssetRequest. # noqa: E501
|
|
206
|
+
|
|
207
|
+
An array of playback policy names that you want applied to this asset and available through `playback_ids`. Options include: * `\"public\"` (anyone with the playback URL can stream the asset). * `\"signed\"` (an additional access token is required to play the asset). If no `playback_policies` are set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy. # noqa: E501
|
|
208
|
+
|
|
209
|
+
:return: The playback_policies of this CreateAssetRequest. # noqa: E501
|
|
210
|
+
:rtype: list[PlaybackPolicy]
|
|
211
|
+
"""
|
|
212
|
+
return self._playback_policies
|
|
213
|
+
|
|
214
|
+
@playback_policies.setter
|
|
215
|
+
def playback_policies(self, playback_policies):
|
|
216
|
+
"""Sets the playback_policies of this CreateAssetRequest.
|
|
217
|
+
|
|
218
|
+
An array of playback policy names that you want applied to this asset and available through `playback_ids`. Options include: * `\"public\"` (anyone with the playback URL can stream the asset). * `\"signed\"` (an additional access token is required to play the asset). If no `playback_policies` are set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy. # noqa: E501
|
|
219
|
+
|
|
220
|
+
:param playback_policies: The playback_policies of this CreateAssetRequest. # noqa: E501
|
|
221
|
+
:type playback_policies: list[PlaybackPolicy]
|
|
222
|
+
"""
|
|
223
|
+
|
|
224
|
+
self._playback_policies = playback_policies
|
|
225
|
+
|
|
165
226
|
@property
|
|
166
227
|
def advanced_playback_policies(self):
|
|
167
228
|
"""Gets the advanced_playback_policies of this CreateAssetRequest. # noqa: E501
|
|
168
229
|
|
|
169
|
-
An array of playback policy objects that you want applied to this asset and available through `playback_ids`. `advanced_playback_policies` must be used instead of `
|
|
230
|
+
An array of playback policy objects that you want applied to this asset and available through `playback_ids`. `advanced_playback_policies` must be used instead of `playback_policies` when creating a DRM playback ID. # noqa: E501
|
|
170
231
|
|
|
171
232
|
:return: The advanced_playback_policies of this CreateAssetRequest. # noqa: E501
|
|
172
233
|
:rtype: list[CreatePlaybackIDRequest]
|
|
@@ -177,7 +238,7 @@ class CreateAssetRequest(object):
|
|
|
177
238
|
def advanced_playback_policies(self, advanced_playback_policies):
|
|
178
239
|
"""Sets the advanced_playback_policies of this CreateAssetRequest.
|
|
179
240
|
|
|
180
|
-
An array of playback policy objects that you want applied to this asset and available through `playback_ids`. `advanced_playback_policies` must be used instead of `
|
|
241
|
+
An array of playback policy objects that you want applied to this asset and available through `playback_ids`. `advanced_playback_policies` must be used instead of `playback_policies` when creating a DRM playback ID. # noqa: E501
|
|
181
242
|
|
|
182
243
|
:param advanced_playback_policies: The advanced_playback_policies of this CreateAssetRequest. # noqa: E501
|
|
183
244
|
:type advanced_playback_policies: list[CreatePlaybackIDRequest]
|
|
@@ -210,7 +271,7 @@ class CreateAssetRequest(object):
|
|
|
210
271
|
def passthrough(self):
|
|
211
272
|
"""Gets the passthrough of this CreateAssetRequest. # noqa: E501
|
|
212
273
|
|
|
213
|
-
|
|
274
|
+
You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id`, you can use the `meta` object instead. **Max: 255 characters**. # noqa: E501
|
|
214
275
|
|
|
215
276
|
:return: The passthrough of this CreateAssetRequest. # noqa: E501
|
|
216
277
|
:rtype: str
|
|
@@ -221,7 +282,7 @@ class CreateAssetRequest(object):
|
|
|
221
282
|
def passthrough(self, passthrough):
|
|
222
283
|
"""Sets the passthrough of this CreateAssetRequest.
|
|
223
284
|
|
|
224
|
-
|
|
285
|
+
You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id`, you can use the `meta` object instead. **Max: 255 characters**. # noqa: E501
|
|
225
286
|
|
|
226
287
|
:param passthrough: The passthrough of this CreateAssetRequest. # noqa: E501
|
|
227
288
|
:type passthrough: str
|
|
@@ -443,6 +504,27 @@ class CreateAssetRequest(object):
|
|
|
443
504
|
|
|
444
505
|
self._static_renditions = static_renditions
|
|
445
506
|
|
|
507
|
+
@property
|
|
508
|
+
def meta(self):
|
|
509
|
+
"""Gets the meta of this CreateAssetRequest. # noqa: E501
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
:return: The meta of this CreateAssetRequest. # noqa: E501
|
|
513
|
+
:rtype: AssetMetadata
|
|
514
|
+
"""
|
|
515
|
+
return self._meta
|
|
516
|
+
|
|
517
|
+
@meta.setter
|
|
518
|
+
def meta(self, meta):
|
|
519
|
+
"""Sets the meta of this CreateAssetRequest.
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
:param meta: The meta of this CreateAssetRequest. # noqa: E501
|
|
523
|
+
:type meta: AssetMetadata
|
|
524
|
+
"""
|
|
525
|
+
|
|
526
|
+
self._meta = meta
|
|
527
|
+
|
|
446
528
|
def to_dict(self, serialize=False):
|
|
447
529
|
"""Returns the model properties as a dict"""
|
|
448
530
|
result = {}
|