mux-python 3.8.0__py3.11.egg → 3.10.0__py3.11.egg

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.
Files changed (190) hide show
  1. EGG-INFO/PKG-INFO +1 -1
  2. EGG-INFO/SOURCES.txt +4 -0
  3. mux_python/__init__.py +3 -1
  4. mux_python/__pycache__/__init__.cpython-311.pyc +0 -0
  5. mux_python/__pycache__/api_client.cpython-311.pyc +0 -0
  6. mux_python/__pycache__/configuration.cpython-311.pyc +0 -0
  7. mux_python/__pycache__/exceptions.cpython-311.pyc +0 -0
  8. mux_python/__pycache__/rest.cpython-311.pyc +0 -0
  9. mux_python/api/__init__.py +1 -0
  10. mux_python/api/__pycache__/__init__.cpython-311.pyc +0 -0
  11. mux_python/api/__pycache__/assets_api.cpython-311.pyc +0 -0
  12. mux_python/api/__pycache__/delivery_usage_api.cpython-311.pyc +0 -0
  13. mux_python/api/__pycache__/dimensions_api.cpython-311.pyc +0 -0
  14. mux_python/api/__pycache__/direct_uploads_api.cpython-311.pyc +0 -0
  15. mux_python/api/__pycache__/errors_api.cpython-311.pyc +0 -0
  16. mux_python/api/__pycache__/exports_api.cpython-311.pyc +0 -0
  17. mux_python/api/__pycache__/filters_api.cpython-311.pyc +0 -0
  18. mux_python/api/__pycache__/incidents_api.cpython-311.pyc +0 -0
  19. mux_python/api/__pycache__/live_streams_api.cpython-311.pyc +0 -0
  20. mux_python/api/__pycache__/metrics_api.cpython-311.pyc +0 -0
  21. mux_python/api/__pycache__/monitoring_api.cpython-311.pyc +0 -0
  22. mux_python/api/__pycache__/playback_id_api.cpython-311.pyc +0 -0
  23. mux_python/api/__pycache__/playback_restrictions_api.cpython-311.pyc +0 -0
  24. mux_python/api/__pycache__/real_time_api.cpython-311.pyc +0 -0
  25. mux_python/api/__pycache__/signing_keys_api.cpython-311.pyc +0 -0
  26. mux_python/api/__pycache__/spaces_api.cpython-311.pyc +0 -0
  27. mux_python/api/__pycache__/transcription_vocabularies_api.cpython-311.pyc +0 -0
  28. mux_python/api/__pycache__/url_signing_keys_api.cpython-311.pyc +0 -0
  29. mux_python/api/__pycache__/video_views_api.cpython-311.pyc +0 -0
  30. mux_python/api/direct_uploads_api.py +2 -2
  31. mux_python/api/monitoring_api.py +8 -1
  32. mux_python/api/real_time_api.py +8 -1
  33. mux_python/api/signing_keys_api.py +564 -0
  34. mux_python/api/url_signing_keys_api.py +8 -8
  35. mux_python/api_client.py +1 -1
  36. mux_python/configuration.py +1 -1
  37. mux_python/models/__init__.py +1 -0
  38. mux_python/models/__pycache__/__init__.cpython-311.pyc +0 -0
  39. mux_python/models/__pycache__/abridged_video_view.cpython-311.pyc +0 -0
  40. mux_python/models/__pycache__/asset.cpython-311.pyc +0 -0
  41. mux_python/models/__pycache__/asset_errors.cpython-311.pyc +0 -0
  42. mux_python/models/__pycache__/asset_master.cpython-311.pyc +0 -0
  43. mux_python/models/__pycache__/asset_non_standard_input_reasons.cpython-311.pyc +0 -0
  44. mux_python/models/__pycache__/asset_recording_times.cpython-311.pyc +0 -0
  45. mux_python/models/__pycache__/asset_response.cpython-311.pyc +0 -0
  46. mux_python/models/__pycache__/asset_static_renditions.cpython-311.pyc +0 -0
  47. mux_python/models/__pycache__/asset_static_renditions_files.cpython-311.pyc +0 -0
  48. mux_python/models/__pycache__/breakdown_value.cpython-311.pyc +0 -0
  49. mux_python/models/__pycache__/broadcast.cpython-311.pyc +0 -0
  50. mux_python/models/__pycache__/broadcast_layout.cpython-311.pyc +0 -0
  51. mux_python/models/__pycache__/broadcast_resolution.cpython-311.pyc +0 -0
  52. mux_python/models/__pycache__/broadcast_response.cpython-311.pyc +0 -0
  53. mux_python/models/__pycache__/broadcast_status.cpython-311.pyc +0 -0
  54. mux_python/models/__pycache__/create_asset_request.cpython-311.pyc +0 -0
  55. mux_python/models/__pycache__/create_broadcast_request.cpython-311.pyc +0 -0
  56. mux_python/models/__pycache__/create_live_stream_request.cpython-311.pyc +0 -0
  57. mux_python/models/__pycache__/create_playback_id_request.cpython-311.pyc +0 -0
  58. mux_python/models/__pycache__/create_playback_id_response.cpython-311.pyc +0 -0
  59. mux_python/models/__pycache__/create_playback_restriction_request.cpython-311.pyc +0 -0
  60. mux_python/models/__pycache__/create_simulcast_target_request.cpython-311.pyc +0 -0
  61. mux_python/models/__pycache__/create_space_request.cpython-311.pyc +0 -0
  62. mux_python/models/__pycache__/create_track_request.cpython-311.pyc +0 -0
  63. mux_python/models/__pycache__/create_track_response.cpython-311.pyc +0 -0
  64. mux_python/models/__pycache__/create_transcription_vocabulary_request.cpython-311.pyc +0 -0
  65. mux_python/models/__pycache__/create_upload_request.cpython-311.pyc +0 -0
  66. mux_python/models/__pycache__/delivery_report.cpython-311.pyc +0 -0
  67. mux_python/models/__pycache__/delivery_report_delivered_seconds_by_resolution.cpython-311.pyc +0 -0
  68. mux_python/models/__pycache__/dimension_value.cpython-311.pyc +0 -0
  69. mux_python/models/__pycache__/disable_live_stream_response.cpython-311.pyc +0 -0
  70. mux_python/models/__pycache__/enable_live_stream_response.cpython-311.pyc +0 -0
  71. mux_python/models/__pycache__/error.cpython-311.pyc +0 -0
  72. mux_python/models/__pycache__/export_date.cpython-311.pyc +0 -0
  73. mux_python/models/__pycache__/export_file.cpython-311.pyc +0 -0
  74. mux_python/models/__pycache__/filter_value.cpython-311.pyc +0 -0
  75. mux_python/models/__pycache__/get_asset_input_info_response.cpython-311.pyc +0 -0
  76. mux_python/models/__pycache__/get_asset_or_live_stream_id_response.cpython-311.pyc +0 -0
  77. mux_python/models/__pycache__/get_asset_or_live_stream_id_response_data.cpython-311.pyc +0 -0
  78. mux_python/models/__pycache__/get_asset_or_live_stream_id_response_data_object.cpython-311.pyc +0 -0
  79. mux_python/models/__pycache__/get_asset_playback_id_response.cpython-311.pyc +0 -0
  80. mux_python/models/__pycache__/get_live_stream_playback_id_response.cpython-311.pyc +0 -0
  81. mux_python/models/__pycache__/get_metric_timeseries_data_response.cpython-311.pyc +0 -0
  82. mux_python/models/__pycache__/get_monitoring_breakdown_response.cpython-311.pyc +0 -0
  83. mux_python/models/__pycache__/get_monitoring_histogram_timeseries_response.cpython-311.pyc +0 -0
  84. mux_python/models/__pycache__/get_monitoring_histogram_timeseries_response_meta.cpython-311.pyc +0 -0
  85. mux_python/models/__pycache__/get_monitoring_timeseries_response.cpython-311.pyc +0 -0
  86. mux_python/models/__pycache__/get_overall_values_response.cpython-311.pyc +0 -0
  87. mux_python/models/__pycache__/get_real_time_breakdown_response.cpython-311.pyc +0 -0
  88. mux_python/models/__pycache__/get_real_time_histogram_timeseries_response.cpython-311.pyc +0 -0
  89. mux_python/models/__pycache__/get_real_time_histogram_timeseries_response_meta.cpython-311.pyc +0 -0
  90. mux_python/models/__pycache__/get_real_time_timeseries_response.cpython-311.pyc +0 -0
  91. mux_python/models/__pycache__/incident.cpython-311.pyc +0 -0
  92. mux_python/models/__pycache__/incident_breakdown.cpython-311.pyc +0 -0
  93. mux_python/models/__pycache__/incident_notification.cpython-311.pyc +0 -0
  94. mux_python/models/__pycache__/incident_notification_rule.cpython-311.pyc +0 -0
  95. mux_python/models/__pycache__/incident_response.cpython-311.pyc +0 -0
  96. mux_python/models/__pycache__/input_file.cpython-311.pyc +0 -0
  97. mux_python/models/__pycache__/input_info.cpython-311.pyc +0 -0
  98. mux_python/models/__pycache__/input_settings.cpython-311.pyc +0 -0
  99. mux_python/models/__pycache__/input_settings_overlay_settings.cpython-311.pyc +0 -0
  100. mux_python/models/__pycache__/input_track.cpython-311.pyc +0 -0
  101. mux_python/models/__pycache__/insight.cpython-311.pyc +0 -0
  102. mux_python/models/__pycache__/list_all_metric_values_response.cpython-311.pyc +0 -0
  103. mux_python/models/__pycache__/list_assets_response.cpython-311.pyc +0 -0
  104. mux_python/models/__pycache__/list_breakdown_values_response.cpython-311.pyc +0 -0
  105. mux_python/models/__pycache__/list_delivery_usage_response.cpython-311.pyc +0 -0
  106. mux_python/models/__pycache__/list_dimension_values_response.cpython-311.pyc +0 -0
  107. mux_python/models/__pycache__/list_dimensions_response.cpython-311.pyc +0 -0
  108. mux_python/models/__pycache__/list_errors_response.cpython-311.pyc +0 -0
  109. mux_python/models/__pycache__/list_exports_response.cpython-311.pyc +0 -0
  110. mux_python/models/__pycache__/list_filter_values_response.cpython-311.pyc +0 -0
  111. mux_python/models/__pycache__/list_filters_response.cpython-311.pyc +0 -0
  112. mux_python/models/__pycache__/list_filters_response_data.cpython-311.pyc +0 -0
  113. mux_python/models/__pycache__/list_incidents_response.cpython-311.pyc +0 -0
  114. mux_python/models/__pycache__/list_insights_response.cpython-311.pyc +0 -0
  115. mux_python/models/__pycache__/list_live_streams_response.cpython-311.pyc +0 -0
  116. mux_python/models/__pycache__/list_monitoring_dimensions_response.cpython-311.pyc +0 -0
  117. mux_python/models/__pycache__/list_monitoring_dimensions_response_data.cpython-311.pyc +0 -0
  118. mux_python/models/__pycache__/list_monitoring_metrics_response.cpython-311.pyc +0 -0
  119. mux_python/models/__pycache__/list_playback_restrictions_response.cpython-311.pyc +0 -0
  120. mux_python/models/__pycache__/list_real_time_dimensions_response.cpython-311.pyc +0 -0
  121. mux_python/models/__pycache__/list_real_time_metrics_response.cpython-311.pyc +0 -0
  122. mux_python/models/__pycache__/list_related_incidents_response.cpython-311.pyc +0 -0
  123. mux_python/models/__pycache__/list_signing_keys_response.cpython-311.pyc +0 -0
  124. mux_python/models/__pycache__/list_spaces_response.cpython-311.pyc +0 -0
  125. mux_python/models/__pycache__/list_transcription_vocabularies_response.cpython-311.pyc +0 -0
  126. mux_python/models/__pycache__/list_uploads_response.cpython-311.pyc +0 -0
  127. mux_python/models/__pycache__/list_video_view_exports_response.cpython-311.pyc +0 -0
  128. mux_python/models/__pycache__/list_video_views_response.cpython-311.pyc +0 -0
  129. mux_python/models/__pycache__/live_stream.cpython-311.pyc +0 -0
  130. mux_python/models/__pycache__/live_stream_embedded_subtitle_settings.cpython-311.pyc +0 -0
  131. mux_python/models/__pycache__/live_stream_generated_subtitle_settings.cpython-311.pyc +0 -0
  132. mux_python/models/__pycache__/live_stream_response.cpython-311.pyc +0 -0
  133. mux_python/models/__pycache__/live_stream_status.cpython-311.pyc +0 -0
  134. mux_python/models/__pycache__/metric.cpython-311.pyc +0 -0
  135. mux_python/models/__pycache__/monitoring_breakdown_value.cpython-311.pyc +0 -0
  136. mux_python/models/__pycache__/monitoring_histogram_timeseries_bucket.cpython-311.pyc +0 -0
  137. mux_python/models/__pycache__/monitoring_histogram_timeseries_bucket_values.cpython-311.pyc +0 -0
  138. mux_python/models/__pycache__/monitoring_histogram_timeseries_datapoint.cpython-311.pyc +0 -0
  139. mux_python/models/__pycache__/monitoring_timeseries_datapoint.cpython-311.pyc +0 -0
  140. mux_python/models/__pycache__/notification_rule.cpython-311.pyc +0 -0
  141. mux_python/models/__pycache__/overall_values.cpython-311.pyc +0 -0
  142. mux_python/models/__pycache__/playback_id.cpython-311.pyc +0 -0
  143. mux_python/models/__pycache__/playback_policy.cpython-311.pyc +0 -0
  144. mux_python/models/__pycache__/playback_restriction.cpython-311.pyc +0 -0
  145. mux_python/models/__pycache__/playback_restriction_response.cpython-311.pyc +0 -0
  146. mux_python/models/__pycache__/real_time_breakdown_value.cpython-311.pyc +0 -0
  147. mux_python/models/__pycache__/real_time_histogram_timeseries_bucket.cpython-311.pyc +0 -0
  148. mux_python/models/__pycache__/real_time_histogram_timeseries_bucket_values.cpython-311.pyc +0 -0
  149. mux_python/models/__pycache__/real_time_histogram_timeseries_datapoint.cpython-311.pyc +0 -0
  150. mux_python/models/__pycache__/real_time_timeseries_datapoint.cpython-311.pyc +0 -0
  151. mux_python/models/__pycache__/referrer_domain_restriction.cpython-311.pyc +0 -0
  152. mux_python/models/__pycache__/score.cpython-311.pyc +0 -0
  153. mux_python/models/__pycache__/signal_live_stream_complete_response.cpython-311.pyc +0 -0
  154. mux_python/models/__pycache__/signing_key.cpython-311.pyc +0 -0
  155. mux_python/models/__pycache__/signing_key_response.cpython-311.pyc +0 -0
  156. mux_python/models/__pycache__/simulcast_target.cpython-311.pyc +0 -0
  157. mux_python/models/__pycache__/simulcast_target_response.cpython-311.pyc +0 -0
  158. mux_python/models/__pycache__/space.cpython-311.pyc +0 -0
  159. mux_python/models/__pycache__/space_response.cpython-311.pyc +0 -0
  160. mux_python/models/__pycache__/space_status.cpython-311.pyc +0 -0
  161. mux_python/models/__pycache__/space_type.cpython-311.pyc +0 -0
  162. mux_python/models/__pycache__/start_space_broadcast_response.cpython-311.pyc +0 -0
  163. mux_python/models/__pycache__/stop_space_broadcast_response.cpython-311.pyc +0 -0
  164. mux_python/models/__pycache__/track.cpython-311.pyc +0 -0
  165. mux_python/models/__pycache__/transcription_vocabulary.cpython-311.pyc +0 -0
  166. mux_python/models/__pycache__/transcription_vocabulary_response.cpython-311.pyc +0 -0
  167. mux_python/models/__pycache__/update_asset_master_access_request.cpython-311.pyc +0 -0
  168. mux_python/models/__pycache__/update_asset_mp4_support_request.cpython-311.pyc +0 -0
  169. mux_python/models/__pycache__/update_asset_request.cpython-311.pyc +0 -0
  170. mux_python/models/__pycache__/update_live_stream_embedded_subtitles_request.cpython-311.pyc +0 -0
  171. mux_python/models/__pycache__/update_live_stream_generated_subtitles_request.cpython-311.pyc +0 -0
  172. mux_python/models/__pycache__/update_live_stream_request.cpython-311.pyc +0 -0
  173. mux_python/models/__pycache__/update_referrer_domain_restriction_request.cpython-311.pyc +0 -0
  174. mux_python/models/__pycache__/update_transcription_vocabulary_request.cpython-311.pyc +0 -0
  175. mux_python/models/__pycache__/upload.cpython-311.pyc +0 -0
  176. mux_python/models/__pycache__/upload_error.cpython-311.pyc +0 -0
  177. mux_python/models/__pycache__/upload_response.cpython-311.pyc +0 -0
  178. mux_python/models/__pycache__/video_view.cpython-311.pyc +0 -0
  179. mux_python/models/__pycache__/video_view_event.cpython-311.pyc +0 -0
  180. mux_python/models/__pycache__/video_view_response.cpython-311.pyc +0 -0
  181. mux_python/models/asset_non_standard_input_reasons.py +31 -3
  182. mux_python/models/broadcast_layout.py +2 -1
  183. mux_python/models/create_live_stream_request.py +2 -2
  184. mux_python/models/delivery_report.py +29 -3
  185. mux_python/models/delivery_report_delivered_seconds_by_resolution.py +246 -0
  186. mux_python/models/live_stream.py +4 -4
  187. mux_python/models/live_stream_embedded_subtitle_settings.py +1 -1
  188. mux_python/models/track.py +1 -1
  189. mux_python/models/update_live_stream_request.py +2 -2
  190. mux_python/models/video_view.py +380 -3
@@ -0,0 +1,246 @@
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 DeliveryReportDeliveredSecondsByResolution(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
+ 'tier_2160p': 'float',
41
+ 'tier_1440p': 'float',
42
+ 'tier_1080p': 'float',
43
+ 'tier_720p': 'float',
44
+ 'tier_audio_only': 'float'
45
+ }
46
+
47
+ attribute_map = {
48
+ 'tier_2160p': 'tier_2160p',
49
+ 'tier_1440p': 'tier_1440p',
50
+ 'tier_1080p': 'tier_1080p',
51
+ 'tier_720p': 'tier_720p',
52
+ 'tier_audio_only': 'tier_audio_only'
53
+ }
54
+
55
+ def __init__(self, tier_2160p=None, tier_1440p=None, tier_1080p=None, tier_720p=None, tier_audio_only=None, local_vars_configuration=None): # noqa: E501
56
+ """DeliveryReportDeliveredSecondsByResolution - a model defined in OpenAPI""" # noqa: E501
57
+ if local_vars_configuration is None:
58
+ local_vars_configuration = Configuration.get_default_copy()
59
+ self.local_vars_configuration = local_vars_configuration
60
+
61
+ self._tier_2160p = None
62
+ self._tier_1440p = None
63
+ self._tier_1080p = None
64
+ self._tier_720p = None
65
+ self._tier_audio_only = None
66
+ self.discriminator = None
67
+
68
+ if tier_2160p is not None:
69
+ self.tier_2160p = tier_2160p
70
+ if tier_1440p is not None:
71
+ self.tier_1440p = tier_1440p
72
+ if tier_1080p is not None:
73
+ self.tier_1080p = tier_1080p
74
+ if tier_720p is not None:
75
+ self.tier_720p = tier_720p
76
+ if tier_audio_only is not None:
77
+ self.tier_audio_only = tier_audio_only
78
+
79
+ @property
80
+ def tier_2160p(self):
81
+ """Gets the tier_2160p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
82
+
83
+ Total number of delivered seconds during this time window that had a resolution larger than the 1440p tier (over 4,194,304 pixels total). # noqa: E501
84
+
85
+ :return: The tier_2160p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
86
+ :rtype: float
87
+ """
88
+ return self._tier_2160p
89
+
90
+ @tier_2160p.setter
91
+ def tier_2160p(self, tier_2160p):
92
+ """Sets the tier_2160p of this DeliveryReportDeliveredSecondsByResolution.
93
+
94
+ Total number of delivered seconds during this time window that had a resolution larger than the 1440p tier (over 4,194,304 pixels total). # noqa: E501
95
+
96
+ :param tier_2160p: The tier_2160p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
97
+ :type tier_2160p: float
98
+ """
99
+
100
+ self._tier_2160p = tier_2160p
101
+
102
+ @property
103
+ def tier_1440p(self):
104
+ """Gets the tier_1440p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
105
+
106
+ Total number of delivered seconds during this time window that had a resolution larger than the 1080p tier but less than or equal to the 2160p tier (over 2,073,600 and <= 4,194,304 pixels total). # noqa: E501
107
+
108
+ :return: The tier_1440p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
109
+ :rtype: float
110
+ """
111
+ return self._tier_1440p
112
+
113
+ @tier_1440p.setter
114
+ def tier_1440p(self, tier_1440p):
115
+ """Sets the tier_1440p of this DeliveryReportDeliveredSecondsByResolution.
116
+
117
+ Total number of delivered seconds during this time window that had a resolution larger than the 1080p tier but less than or equal to the 2160p tier (over 2,073,600 and <= 4,194,304 pixels total). # noqa: E501
118
+
119
+ :param tier_1440p: The tier_1440p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
120
+ :type tier_1440p: float
121
+ """
122
+
123
+ self._tier_1440p = tier_1440p
124
+
125
+ @property
126
+ def tier_1080p(self):
127
+ """Gets the tier_1080p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
128
+
129
+ Total number of delivered seconds during this time window that had a resolution larger than the 720p tier but less than or equal to the 1440p tier (over 921,600 and <= 2,073,600 pixels total). # noqa: E501
130
+
131
+ :return: The tier_1080p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
132
+ :rtype: float
133
+ """
134
+ return self._tier_1080p
135
+
136
+ @tier_1080p.setter
137
+ def tier_1080p(self, tier_1080p):
138
+ """Sets the tier_1080p of this DeliveryReportDeliveredSecondsByResolution.
139
+
140
+ Total number of delivered seconds during this time window that had a resolution larger than the 720p tier but less than or equal to the 1440p tier (over 921,600 and <= 2,073,600 pixels total). # noqa: E501
141
+
142
+ :param tier_1080p: The tier_1080p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
143
+ :type tier_1080p: float
144
+ """
145
+
146
+ self._tier_1080p = tier_1080p
147
+
148
+ @property
149
+ def tier_720p(self):
150
+ """Gets the tier_720p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
151
+
152
+ Total number of delivered seconds during this time window that had a resolution within the 720p tier (up to 921,600 pixels total, based on typical 1280x720). # noqa: E501
153
+
154
+ :return: The tier_720p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
155
+ :rtype: float
156
+ """
157
+ return self._tier_720p
158
+
159
+ @tier_720p.setter
160
+ def tier_720p(self, tier_720p):
161
+ """Sets the tier_720p of this DeliveryReportDeliveredSecondsByResolution.
162
+
163
+ Total number of delivered seconds during this time window that had a resolution within the 720p tier (up to 921,600 pixels total, based on typical 1280x720). # noqa: E501
164
+
165
+ :param tier_720p: The tier_720p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
166
+ :type tier_720p: float
167
+ """
168
+
169
+ self._tier_720p = tier_720p
170
+
171
+ @property
172
+ def tier_audio_only(self):
173
+ """Gets the tier_audio_only of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
174
+
175
+ Total number of delivered seconds during this time window that had a resolution of audio only. # noqa: E501
176
+
177
+ :return: The tier_audio_only of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
178
+ :rtype: float
179
+ """
180
+ return self._tier_audio_only
181
+
182
+ @tier_audio_only.setter
183
+ def tier_audio_only(self, tier_audio_only):
184
+ """Sets the tier_audio_only of this DeliveryReportDeliveredSecondsByResolution.
185
+
186
+ Total number of delivered seconds during this time window that had a resolution of audio only. # noqa: E501
187
+
188
+ :param tier_audio_only: The tier_audio_only of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
189
+ :type tier_audio_only: float
190
+ """
191
+
192
+ self._tier_audio_only = tier_audio_only
193
+
194
+ def to_dict(self, serialize=False):
195
+ """Returns the model properties as a dict"""
196
+ result = {}
197
+
198
+ def convert(x):
199
+ if hasattr(x, "to_dict"):
200
+ args = getfullargspec(x.to_dict).args
201
+ if len(args) == 1:
202
+ return x.to_dict()
203
+ else:
204
+ return x.to_dict(serialize)
205
+ else:
206
+ return x
207
+
208
+ for attr, _ in six.iteritems(self.openapi_types):
209
+ value = getattr(self, attr)
210
+ attr = self.attribute_map.get(attr, attr) if serialize else attr
211
+ if isinstance(value, list):
212
+ result[attr] = list(map(
213
+ lambda x: convert(x),
214
+ value
215
+ ))
216
+ elif isinstance(value, dict):
217
+ result[attr] = dict(map(
218
+ lambda item: (item[0], convert(item[1])),
219
+ value.items()
220
+ ))
221
+ else:
222
+ result[attr] = convert(value)
223
+
224
+ return result
225
+
226
+ def to_str(self):
227
+ """Returns the string representation of the model"""
228
+ return pprint.pformat(self.to_dict())
229
+
230
+ def __repr__(self):
231
+ """For `print` and `pprint`"""
232
+ return self.to_str()
233
+
234
+ def __eq__(self, other):
235
+ """Returns true if both objects are equal"""
236
+ if not isinstance(other, DeliveryReportDeliveredSecondsByResolution):
237
+ return False
238
+
239
+ return self.to_dict() == other.to_dict()
240
+
241
+ def __ne__(self, other):
242
+ """Returns true if both objects are not equal"""
243
+ if not isinstance(other, DeliveryReportDeliveredSecondsByResolution):
244
+ return True
245
+
246
+ return self.to_dict() != other.to_dict()
@@ -252,7 +252,7 @@ class LiveStream(object):
252
252
  def recent_asset_ids(self):
253
253
  """Gets the recent_asset_ids of this LiveStream. # noqa: E501
254
254
 
255
- An array of strings with the most recent Assets that were created from this live stream. # noqa: E501
255
+ An array of strings with the most recent Asset IDs that were created from this Live Stream. The most recently generated Asset ID is the last entry in the list. # noqa: E501
256
256
 
257
257
  :return: The recent_asset_ids of this LiveStream. # noqa: E501
258
258
  :rtype: list[str]
@@ -263,7 +263,7 @@ class LiveStream(object):
263
263
  def recent_asset_ids(self, recent_asset_ids):
264
264
  """Sets the recent_asset_ids of this LiveStream.
265
265
 
266
- An array of strings with the most recent Assets that were created from this live stream. # noqa: E501
266
+ An array of strings with the most recent Asset IDs that were created from this Live Stream. The most recently generated Asset ID is the last entry in the list. # noqa: E501
267
267
 
268
268
  :param recent_asset_ids: The recent_asset_ids of this LiveStream. # noqa: E501
269
269
  :type recent_asset_ids: list[str]
@@ -432,7 +432,7 @@ class LiveStream(object):
432
432
  def reconnect_window(self):
433
433
  """Gets the reconnect_window of this LiveStream. # noqa: E501
434
434
 
435
- When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. **Max**: 1800s (30 minutes). Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
435
+ When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. **Max**: 1800s (30 minutes). If not specified directly, Standard Latency streams have a Reconnect Window of 60 seconds; Reduced and Low Latency streams have a default of 0 seconds, or no Reconnect Window. For that reason, we suggest specifying a value other than zero for Reduced and Low Latency streams. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
436
436
 
437
437
  :return: The reconnect_window of this LiveStream. # noqa: E501
438
438
  :rtype: float
@@ -443,7 +443,7 @@ class LiveStream(object):
443
443
  def reconnect_window(self, reconnect_window):
444
444
  """Sets the reconnect_window of this LiveStream.
445
445
 
446
- When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. **Max**: 1800s (30 minutes). Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
446
+ When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. **Max**: 1800s (30 minutes). If not specified directly, Standard Latency streams have a Reconnect Window of 60 seconds; Reduced and Low Latency streams have a default of 0 seconds, or no Reconnect Window. For that reason, we suggest specifying a value other than zero for Reduced and Low Latency streams. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
447
447
 
448
448
  :param reconnect_window: The reconnect_window of this LiveStream. # noqa: E501
449
449
  :type reconnect_window: float
@@ -160,7 +160,7 @@ class LiveStreamEmbeddedSubtitleSettings(object):
160
160
  :param language_channel: The language_channel of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
161
161
  :type language_channel: str
162
162
  """
163
- allowed_values = ["cc1"] # noqa: E501
163
+ allowed_values = ["cc1", "cc2", "cc3", "cc4"] # noqa: E501
164
164
  if self.local_vars_configuration.client_side_validation and language_channel not in allowed_values: # noqa: E501
165
165
  raise ValueError(
166
166
  "Invalid value for `language_channel` ({0}), must be one of {1}" # noqa: E501
@@ -486,7 +486,7 @@ class Track(object):
486
486
  :param status: The status of this Track. # noqa: E501
487
487
  :type status: str
488
488
  """
489
- allowed_values = ["preparing", "ready", "errored"] # noqa: E501
489
+ allowed_values = ["preparing", "ready", "errored", "deleted"] # noqa: E501
490
490
  if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501
491
491
  raise ValueError(
492
492
  "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501
@@ -137,7 +137,7 @@ class UpdateLiveStreamRequest(object):
137
137
  def reconnect_window(self):
138
138
  """Gets the reconnect_window of this UpdateLiveStreamRequest. # noqa: E501
139
139
 
140
- When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
140
+ When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. If not specified directly, Standard Latency streams have a Reconnect Window of 60 seconds; Reduced and Low Latency streams have a default of 0 seconds, or no Reconnect Window. For that reason, we suggest specifying a value other than zero for Reduced and Low Latency streams. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
141
141
 
142
142
  :return: The reconnect_window of this UpdateLiveStreamRequest. # noqa: E501
143
143
  :rtype: float
@@ -148,7 +148,7 @@ class UpdateLiveStreamRequest(object):
148
148
  def reconnect_window(self, reconnect_window):
149
149
  """Sets the reconnect_window of this UpdateLiveStreamRequest.
150
150
 
151
- When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
151
+ When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. If not specified directly, Standard Latency streams have a Reconnect Window of 60 seconds; Reduced and Low Latency streams have a default of 0 seconds, or no Reconnect Window. For that reason, we suggest specifying a value other than zero for Reduced and Low Latency streams. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
152
152
 
153
153
  :param reconnect_window: The reconnect_window of this UpdateLiveStreamRequest. # noqa: E501
154
154
  :type reconnect_window: float