mux_ruby 2.0.0.pre.rc.1 → 2.0.0.pre.rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/README.md +5 -4
  4. data/docs/Asset.md +4 -2
  5. data/docs/AssetsApi.md +8 -4
  6. data/docs/CreateLiveStreamRequest.md +2 -0
  7. data/docs/CreateTrackRequest.md +1 -1
  8. data/docs/DeliveryUsageApi.md +3 -3
  9. data/docs/ErrorsApi.md +1 -1
  10. data/docs/ExportsApi.md +1 -1
  11. data/docs/IncidentsApi.md +3 -3
  12. data/docs/LiveStream.md +2 -0
  13. data/docs/MetricsApi.md +5 -5
  14. data/docs/PlaybackIDApi.md +1 -1
  15. data/docs/RealTimeApi.md +5 -5
  16. data/docs/URLSigningKeysApi.md +3 -3
  17. data/docs/VideoView.md +17 -1
  18. data/docs/VideoViewsApi.md +2 -2
  19. data/gen/generator-config.json +1 -1
  20. data/lib/mux_ruby.rb +2 -2
  21. data/lib/mux_ruby/api/assets_api.rb +14 -8
  22. data/lib/mux_ruby/api/delivery_usage_api.rb +6 -6
  23. data/lib/mux_ruby/api/dimensions_api.rb +2 -2
  24. data/lib/mux_ruby/api/direct_uploads_api.rb +2 -2
  25. data/lib/mux_ruby/api/errors_api.rb +4 -4
  26. data/lib/mux_ruby/api/exports_api.rb +4 -4
  27. data/lib/mux_ruby/api/filters_api.rb +2 -2
  28. data/lib/mux_ruby/api/incidents_api.rb +8 -8
  29. data/lib/mux_ruby/api/live_streams_api.rb +2 -2
  30. data/lib/mux_ruby/api/metrics_api.rb +12 -12
  31. data/lib/mux_ruby/api/playback_id_api.rb +4 -4
  32. data/lib/mux_ruby/api/real_time_api.rb +12 -12
  33. data/lib/mux_ruby/api/url_signing_keys_api.rb +8 -8
  34. data/lib/mux_ruby/api/video_views_api.rb +6 -6
  35. data/lib/mux_ruby/api_client.rb +2 -2
  36. data/lib/mux_ruby/api_error.rb +2 -2
  37. data/lib/mux_ruby/configuration.rb +2 -2
  38. data/lib/mux_ruby/models/abridged_video_view.rb +2 -2
  39. data/lib/mux_ruby/models/asset.rb +15 -5
  40. data/lib/mux_ruby/models/asset_errors.rb +2 -2
  41. data/lib/mux_ruby/models/asset_master.rb +2 -2
  42. data/lib/mux_ruby/models/asset_non_standard_input_reasons.rb +2 -2
  43. data/lib/mux_ruby/models/asset_recording_times.rb +2 -2
  44. data/lib/mux_ruby/models/asset_response.rb +2 -2
  45. data/lib/mux_ruby/models/asset_static_renditions.rb +2 -2
  46. data/lib/mux_ruby/models/asset_static_renditions_files.rb +2 -2
  47. data/lib/mux_ruby/models/breakdown_value.rb +2 -2
  48. data/lib/mux_ruby/models/create_asset_request.rb +2 -2
  49. data/lib/mux_ruby/models/create_live_stream_request.rb +13 -3
  50. data/lib/mux_ruby/models/create_playback_id_request.rb +2 -2
  51. data/lib/mux_ruby/models/create_playback_id_response.rb +2 -2
  52. data/lib/mux_ruby/models/create_simulcast_target_request.rb +2 -2
  53. data/lib/mux_ruby/models/create_track_request.rb +3 -3
  54. data/lib/mux_ruby/models/create_track_response.rb +2 -2
  55. data/lib/mux_ruby/models/create_upload_request.rb +2 -2
  56. data/lib/mux_ruby/models/delivery_report.rb +2 -2
  57. data/lib/mux_ruby/models/dimension_value.rb +2 -2
  58. data/lib/mux_ruby/models/disable_live_stream_response.rb +2 -2
  59. data/lib/mux_ruby/models/enable_live_stream_response.rb +2 -2
  60. data/lib/mux_ruby/models/error.rb +2 -2
  61. data/lib/mux_ruby/models/filter_value.rb +2 -2
  62. data/lib/mux_ruby/models/get_asset_input_info_response.rb +2 -2
  63. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response.rb +2 -2
  64. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response_data.rb +2 -2
  65. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response_data_object.rb +2 -2
  66. data/lib/mux_ruby/models/get_asset_playback_id_response.rb +2 -2
  67. data/lib/mux_ruby/models/get_metric_timeseries_data_response.rb +2 -2
  68. data/lib/mux_ruby/models/get_overall_values_response.rb +2 -2
  69. data/lib/mux_ruby/models/get_real_time_breakdown_response.rb +2 -2
  70. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response.rb +2 -2
  71. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response_meta.rb +2 -2
  72. data/lib/mux_ruby/models/get_real_time_timeseries_response.rb +2 -2
  73. data/lib/mux_ruby/models/incident.rb +2 -2
  74. data/lib/mux_ruby/models/incident_breakdown.rb +2 -2
  75. data/lib/mux_ruby/models/incident_notification.rb +2 -2
  76. data/lib/mux_ruby/models/incident_notification_rule.rb +2 -2
  77. data/lib/mux_ruby/models/incident_response.rb +2 -2
  78. data/lib/mux_ruby/models/input_file.rb +2 -2
  79. data/lib/mux_ruby/models/input_info.rb +2 -2
  80. data/lib/mux_ruby/models/input_settings.rb +2 -2
  81. data/lib/mux_ruby/models/input_settings_overlay_settings.rb +2 -2
  82. data/lib/mux_ruby/models/input_track.rb +2 -2
  83. data/lib/mux_ruby/models/insight.rb +2 -2
  84. data/lib/mux_ruby/models/list_all_metric_values_response.rb +2 -2
  85. data/lib/mux_ruby/models/list_assets_response.rb +2 -2
  86. data/lib/mux_ruby/models/list_breakdown_values_response.rb +2 -2
  87. data/lib/mux_ruby/models/list_delivery_usage_response.rb +2 -2
  88. data/lib/mux_ruby/models/list_dimension_values_response.rb +2 -2
  89. data/lib/mux_ruby/models/list_dimensions_response.rb +2 -2
  90. data/lib/mux_ruby/models/list_errors_response.rb +2 -2
  91. data/lib/mux_ruby/models/list_exports_response.rb +2 -2
  92. data/lib/mux_ruby/models/list_filter_values_response.rb +2 -2
  93. data/lib/mux_ruby/models/list_filters_response.rb +2 -2
  94. data/lib/mux_ruby/models/list_filters_response_data.rb +2 -2
  95. data/lib/mux_ruby/models/list_incidents_response.rb +2 -2
  96. data/lib/mux_ruby/models/list_insights_response.rb +2 -2
  97. data/lib/mux_ruby/models/list_live_streams_response.rb +2 -2
  98. data/lib/mux_ruby/models/list_real_time_dimensions_response.rb +2 -2
  99. data/lib/mux_ruby/models/list_real_time_dimensions_response_data.rb +2 -2
  100. data/lib/mux_ruby/models/list_real_time_metrics_response.rb +2 -2
  101. data/lib/mux_ruby/models/list_related_incidents_response.rb +2 -2
  102. data/lib/mux_ruby/models/list_signing_keys_response.rb +2 -2
  103. data/lib/mux_ruby/models/list_uploads_response.rb +2 -2
  104. data/lib/mux_ruby/models/list_video_views_response.rb +2 -2
  105. data/lib/mux_ruby/models/live_stream.rb +13 -3
  106. data/lib/mux_ruby/models/live_stream_response.rb +2 -2
  107. data/lib/mux_ruby/models/metric.rb +2 -2
  108. data/lib/mux_ruby/models/notification_rule.rb +2 -2
  109. data/lib/mux_ruby/models/overall_values.rb +2 -2
  110. data/lib/mux_ruby/models/playback_id.rb +2 -2
  111. data/lib/mux_ruby/models/playback_policy.rb +2 -2
  112. data/lib/mux_ruby/models/real_time_breakdown_value.rb +2 -2
  113. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket.rb +2 -2
  114. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket_values.rb +2 -2
  115. data/lib/mux_ruby/models/real_time_histogram_timeseries_datapoint.rb +2 -2
  116. data/lib/mux_ruby/models/real_time_timeseries_datapoint.rb +2 -2
  117. data/lib/mux_ruby/models/score.rb +2 -2
  118. data/lib/mux_ruby/models/signal_live_stream_complete_response.rb +2 -2
  119. data/lib/mux_ruby/models/signing_key.rb +2 -2
  120. data/lib/mux_ruby/models/signing_key_response.rb +2 -2
  121. data/lib/mux_ruby/models/simulcast_target.rb +2 -2
  122. data/lib/mux_ruby/models/simulcast_target_response.rb +2 -2
  123. data/lib/mux_ruby/models/track.rb +2 -2
  124. data/lib/mux_ruby/models/update_asset_master_access_request.rb +2 -2
  125. data/lib/mux_ruby/models/update_asset_mp4_support_request.rb +2 -2
  126. data/lib/mux_ruby/models/upload.rb +2 -2
  127. data/lib/mux_ruby/models/upload_error.rb +2 -2
  128. data/lib/mux_ruby/models/upload_response.rb +2 -2
  129. data/lib/mux_ruby/models/video_view.rb +78 -6
  130. data/lib/mux_ruby/models/video_view_event.rb +2 -2
  131. data/lib/mux_ruby/models/video_view_response.rb +2 -2
  132. data/lib/mux_ruby/version.rb +3 -3
  133. data/mux_ruby.gemspec +2 -2
  134. data/spec/api_client_spec.rb +2 -2
  135. data/spec/configuration_spec.rb +2 -2
  136. data/spec/spec_helper.rb +2 -2
  137. metadata +92 -92
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -20,7 +20,7 @@ module MuxRuby
20
20
  @api_client = api_client
21
21
  end
22
22
  # Get Real-Time Breakdown
23
- # Gets breakdown information for a specific dimension and metric along with the number of concurrent viewers and negative impact score.
23
+ # Gets breakdown information for a specific dimension and metric along with the number of concurrent viewers and negative impact score.
24
24
  # @param realtime_metric_id [String] ID of the Realtime Metric
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [String] :dimension Dimension the specified value belongs to
@@ -35,7 +35,7 @@ module MuxRuby
35
35
  end
36
36
 
37
37
  # Get Real-Time Breakdown
38
- # Gets breakdown information for a specific dimension and metric along with the number of concurrent viewers and negative impact score.
38
+ # Gets breakdown information for a specific dimension and metric along with the number of concurrent viewers and negative impact score.
39
39
  # @param realtime_metric_id [String] ID of the Realtime Metric
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @option opts [String] :dimension Dimension the specified value belongs to
@@ -115,7 +115,7 @@ module MuxRuby
115
115
  end
116
116
 
117
117
  # Get Real-Time Histogram Timeseries
118
- # Gets histogram timeseries information for a specific metric.
118
+ # Gets histogram timeseries information for a specific metric.
119
119
  # @param realtime_histogram_metric_id [String] ID of the Realtime Histogram Metric
120
120
  # @param [Hash] opts the optional parameters
121
121
  # @option opts [Array<String>] :filters Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]&#x3D;operating_system:windows&amp;filters[]&#x3D;country:US). Possible filter names are the same as returned by the List Filters endpoint.
@@ -126,7 +126,7 @@ module MuxRuby
126
126
  end
127
127
 
128
128
  # Get Real-Time Histogram Timeseries
129
- # Gets histogram timeseries information for a specific metric.
129
+ # Gets histogram timeseries information for a specific metric.
130
130
  # @param realtime_histogram_metric_id [String] ID of the Realtime Histogram Metric
131
131
  # @param [Hash] opts the optional parameters
132
132
  # @option opts [Array<String>] :filters Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]&#x3D;operating_system:windows&amp;filters[]&#x3D;country:US). Possible filter names are the same as returned by the List Filters endpoint.
@@ -186,7 +186,7 @@ module MuxRuby
186
186
  end
187
187
 
188
188
  # Get Real-Time Timeseries
189
- # Gets Time series information for a specific metric along with the number of concurrent viewers.
189
+ # Gets Time series information for a specific metric along with the number of concurrent viewers.
190
190
  # @param realtime_metric_id [String] ID of the Realtime Metric
191
191
  # @param [Hash] opts the optional parameters
192
192
  # @option opts [Array<String>] :filters Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]&#x3D;operating_system:windows&amp;filters[]&#x3D;country:US). Possible filter names are the same as returned by the List Filters endpoint.
@@ -197,7 +197,7 @@ module MuxRuby
197
197
  end
198
198
 
199
199
  # Get Real-Time Timeseries
200
- # Gets Time series information for a specific metric along with the number of concurrent viewers.
200
+ # Gets Time series information for a specific metric along with the number of concurrent viewers.
201
201
  # @param realtime_metric_id [String] ID of the Realtime Metric
202
202
  # @param [Hash] opts the optional parameters
203
203
  # @option opts [Array<String>] :filters Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]&#x3D;operating_system:windows&amp;filters[]&#x3D;country:US). Possible filter names are the same as returned by the List Filters endpoint.
@@ -257,7 +257,7 @@ module MuxRuby
257
257
  end
258
258
 
259
259
  # List Real-Time Dimensions
260
- # Lists availiable real-time dimensions
260
+ # Lists availiable real-time dimensions.
261
261
  # @param [Hash] opts the optional parameters
262
262
  # @return [ListRealTimeDimensionsResponse]
263
263
  def list_realtime_dimensions(opts = {})
@@ -266,7 +266,7 @@ module MuxRuby
266
266
  end
267
267
 
268
268
  # List Real-Time Dimensions
269
- # Lists availiable real-time dimensions
269
+ # Lists availiable real-time dimensions.
270
270
  # @param [Hash] opts the optional parameters
271
271
  # @return [Array<(ListRealTimeDimensionsResponse, Integer, Hash)>] ListRealTimeDimensionsResponse data, response status code and response headers
272
272
  def list_realtime_dimensions_with_http_info(opts = {})
@@ -314,7 +314,7 @@ module MuxRuby
314
314
  end
315
315
 
316
316
  # List Real-Time Metrics
317
- # Lists availiable real-time metrics.
317
+ # Lists availiable real-time metrics.
318
318
  # @param [Hash] opts the optional parameters
319
319
  # @return [ListRealTimeMetricsResponse]
320
320
  def list_realtime_metrics(opts = {})
@@ -323,7 +323,7 @@ module MuxRuby
323
323
  end
324
324
 
325
325
  # List Real-Time Metrics
326
- # Lists availiable real-time metrics.
326
+ # Lists availiable real-time metrics.
327
327
  # @param [Hash] opts the optional parameters
328
328
  # @return [Array<(ListRealTimeMetricsResponse, Integer, Hash)>] ListRealTimeMetricsResponse data, response status code and response headers
329
329
  def list_realtime_metrics_with_http_info(opts = {})
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -20,7 +20,7 @@ module MuxRuby
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create a URL signing key
23
- # Creates a new signing key pair. When creating a new signing key, the API will generate a 2048-bit RSA key-pair and return the private key and a generated key-id; the public key will be stored at Mux to validate signed tokens.
23
+ # Creates a new signing key pair. When creating a new signing key, the API will generate a 2048-bit RSA key-pair and return the private key and a generated key-id; the public key will be stored at Mux to validate signed tokens.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [SigningKeyResponse]
26
26
  def create_url_signing_key(opts = {})
@@ -29,7 +29,7 @@ module MuxRuby
29
29
  end
30
30
 
31
31
  # Create a URL signing key
32
- # Creates a new signing key pair. When creating a new signing key, the API will generate a 2048-bit RSA key-pair and return the private key and a generated key-id; the public key will be stored at Mux to validate signed tokens.
32
+ # Creates a new signing key pair. When creating a new signing key, the API will generate a 2048-bit RSA key-pair and return the private key and a generated key-id; the public key will be stored at Mux to validate signed tokens.
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(SigningKeyResponse, Integer, Hash)>] SigningKeyResponse data, response status code and response headers
35
35
  def create_url_signing_key_with_http_info(opts = {})
@@ -77,7 +77,7 @@ module MuxRuby
77
77
  end
78
78
 
79
79
  # Delete a URL signing key
80
- # Deletes an existing signing key. Use with caution, as this will invalidate any existing signatures and no URLs can be signed using the key again.
80
+ # Deletes an existing signing key. Use with caution, as this will invalidate any existing signatures and no URLs can be signed using the key again.
81
81
  # @param signing_key_id [String] The ID of the signing key.
82
82
  # @param [Hash] opts the optional parameters
83
83
  # @return [nil]
@@ -87,7 +87,7 @@ module MuxRuby
87
87
  end
88
88
 
89
89
  # Delete a URL signing key
90
- # Deletes an existing signing key. Use with caution, as this will invalidate any existing signatures and no URLs can be signed using the key again.
90
+ # Deletes an existing signing key. Use with caution, as this will invalidate any existing signatures and no URLs can be signed using the key again.
91
91
  # @param signing_key_id [String] The ID of the signing key.
92
92
  # @param [Hash] opts the optional parameters
93
93
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -201,7 +201,7 @@ module MuxRuby
201
201
  end
202
202
 
203
203
  # List URL signing keys
204
- # Returns a list of URL signing keys.
204
+ # Returns a list of URL signing keys.
205
205
  # @param [Hash] opts the optional parameters
206
206
  # @option opts [Integer] :limit Number of items to include in the response (default to 25)
207
207
  # @option opts [Integer] :page Offset by this many pages, of the size of &#x60;limit&#x60; (default to 1)
@@ -212,7 +212,7 @@ module MuxRuby
212
212
  end
213
213
 
214
214
  # List URL signing keys
215
- # Returns a list of URL signing keys.
215
+ # Returns a list of URL signing keys.
216
216
  # @param [Hash] opts the optional parameters
217
217
  # @option opts [Integer] :limit Number of items to include in the response
218
218
  # @option opts [Integer] :page Offset by this many pages, of the size of &#x60;limit&#x60;
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -20,7 +20,7 @@ module MuxRuby
20
20
  @api_client = api_client
21
21
  end
22
22
  # Get a Video View
23
- # Returns the details of a video view
23
+ # Returns the details of a video view.
24
24
  # @param video_view_id [String] ID of the Video View
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [VideoViewResponse]
@@ -30,7 +30,7 @@ module MuxRuby
30
30
  end
31
31
 
32
32
  # Get a Video View
33
- # Returns the details of a video view
33
+ # Returns the details of a video view.
34
34
  # @param video_view_id [String] ID of the Video View
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(VideoViewResponse, Integer, Hash)>] VideoViewResponse data, response status code and response headers
@@ -83,7 +83,7 @@ module MuxRuby
83
83
  end
84
84
 
85
85
  # List Video Views
86
- # Returns a list of video views
86
+ # Returns a list of video views.
87
87
  # @param [Hash] opts the optional parameters
88
88
  # @option opts [Integer] :limit Number of items to include in the response (default to 25)
89
89
  # @option opts [Integer] :page Offset by this many pages, of the size of &#x60;limit&#x60; (default to 1)
@@ -99,7 +99,7 @@ module MuxRuby
99
99
  end
100
100
 
101
101
  # List Video Views
102
- # Returns a list of video views
102
+ # Returns a list of video views.
103
103
  # @param [Hash] opts the optional parameters
104
104
  # @option opts [Integer] :limit Number of items to include in the response
105
105
  # @option opts [Integer] :page Offset by this many pages, of the size of &#x60;limit&#x60;
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -24,13 +24,13 @@ module MuxRuby
24
24
  # The status of the asset.
25
25
  attr_accessor :status
26
26
 
27
- # The duration of the asset in seconds (max duration for a single asset is 24 hours).
27
+ # The duration of the asset in seconds (max duration for a single asset is 12 hours).
28
28
  attr_accessor :duration
29
29
 
30
30
  # The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.
31
31
  attr_accessor :max_stored_resolution
32
32
 
33
- # The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.
33
+ # The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.
34
34
  attr_accessor :max_stored_frame_rate
35
35
 
36
36
  # The aspect ratio of the asset in the form of `width:height`, for example `16:9`.
@@ -46,6 +46,9 @@ module MuxRuby
46
46
 
47
47
  attr_accessor :per_title_encode
48
48
 
49
+ # Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.
50
+ attr_accessor :upload_id
51
+
49
52
  # Whether the asset is created from a live stream and the live stream is currently `active` and not in `idle` state.
50
53
  attr_accessor :is_live
51
54
 
@@ -113,6 +116,7 @@ module MuxRuby
113
116
  :'tracks' => :'tracks',
114
117
  :'errors' => :'errors',
115
118
  :'per_title_encode' => :'per_title_encode',
119
+ :'upload_id' => :'upload_id',
116
120
  :'is_live' => :'is_live',
117
121
  :'passthrough' => :'passthrough',
118
122
  :'live_stream_id' => :'live_stream_id',
@@ -147,6 +151,7 @@ module MuxRuby
147
151
  :'tracks' => :'Array<Track>',
148
152
  :'errors' => :'AssetErrors',
149
153
  :'per_title_encode' => :'Boolean',
154
+ :'upload_id' => :'String',
150
155
  :'is_live' => :'Boolean',
151
156
  :'passthrough' => :'String',
152
157
  :'live_stream_id' => :'String',
@@ -231,6 +236,10 @@ module MuxRuby
231
236
  self.per_title_encode = attributes[:'per_title_encode']
232
237
  end
233
238
 
239
+ if attributes.key?(:'upload_id')
240
+ self.upload_id = attributes[:'upload_id']
241
+ end
242
+
234
243
  if attributes.key?(:'is_live')
235
244
  self.is_live = attributes[:'is_live']
236
245
  end
@@ -365,6 +374,7 @@ module MuxRuby
365
374
  tracks == o.tracks &&
366
375
  errors == o.errors &&
367
376
  per_title_encode == o.per_title_encode &&
377
+ upload_id == o.upload_id &&
368
378
  is_live == o.is_live &&
369
379
  passthrough == o.passthrough &&
370
380
  live_stream_id == o.live_stream_id &&
@@ -388,7 +398,7 @@ module MuxRuby
388
398
  # Calculates hash code according to all attributes.
389
399
  # @return [Integer] Hash code
390
400
  def hash
391
- [id, created_at, status, duration, max_stored_resolution, max_stored_frame_rate, aspect_ratio, playback_ids, tracks, errors, per_title_encode, is_live, passthrough, live_stream_id, master, master_access, mp4_support, source_asset_id, normalize_audio, static_renditions, recording_times, non_standard_input_reasons, test].hash
401
+ [id, created_at, status, duration, max_stored_resolution, max_stored_frame_rate, aspect_ratio, playback_ids, tracks, errors, per_title_encode, upload_id, is_live, passthrough, live_stream_id, master, master_access, mp4_support, source_asset_id, normalize_audio, static_renditions, recording_times, non_standard_input_reasons, test].hash
392
402
  end
393
403
 
394
404
  # Builds the object from hash
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10