mux_ruby 3.4.0 → 3.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +13 -7
  4. data/docs/Asset.md +1 -1
  5. data/docs/Broadcast.md +30 -0
  6. data/docs/BroadcastLayout.md +15 -0
  7. data/docs/BroadcastResolution.md +15 -0
  8. data/docs/BroadcastResponse.md +18 -0
  9. data/docs/BroadcastStatus.md +15 -0
  10. data/docs/CreateBroadcastRequest.md +26 -0
  11. data/docs/CreateSimulcastTargetRequest.md +1 -1
  12. data/docs/CreateSpaceRequest.md +22 -0
  13. data/docs/ListSpacesResponse.md +18 -0
  14. data/docs/MetricsApi.md +3 -3
  15. data/docs/RealTimeApi.md +2 -2
  16. data/docs/Space.md +30 -0
  17. data/docs/SpaceResponse.md +18 -0
  18. data/docs/SpaceStatus.md +15 -0
  19. data/docs/SpaceType.md +15 -0
  20. data/docs/SpacesApi.md +658 -0
  21. data/docs/StartSpaceBroadcastResponse.md +18 -0
  22. data/docs/StopSpaceBroadcastResponse.md +18 -0
  23. data/gen/generator-config.json +1 -1
  24. data/gen/templates/README.mustache +9 -3
  25. data/lib/mux_ruby/api/metrics_api.rb +4 -4
  26. data/lib/mux_ruby/api/real_time_api.rb +2 -2
  27. data/lib/mux_ruby/api/spaces_api.rb +619 -0
  28. data/lib/mux_ruby/models/asset.rb +1 -1
  29. data/lib/mux_ruby/models/broadcast.rb +305 -0
  30. data/lib/mux_ruby/models/broadcast_layout.rb +37 -0
  31. data/lib/mux_ruby/models/broadcast_resolution.rb +41 -0
  32. data/lib/mux_ruby/models/broadcast_response.rb +223 -0
  33. data/lib/mux_ruby/models/broadcast_status.rb +37 -0
  34. data/lib/mux_ruby/models/create_broadcast_request.rb +266 -0
  35. data/lib/mux_ruby/models/create_simulcast_target_request.rb +1 -1
  36. data/lib/mux_ruby/models/create_space_request.rb +242 -0
  37. data/lib/mux_ruby/models/list_spaces_response.rb +225 -0
  38. data/lib/mux_ruby/models/space.rb +301 -0
  39. data/lib/mux_ruby/models/space_response.rb +223 -0
  40. data/lib/mux_ruby/models/space_status.rb +37 -0
  41. data/lib/mux_ruby/models/space_type.rb +36 -0
  42. data/lib/mux_ruby/models/start_space_broadcast_response.rb +218 -0
  43. data/lib/mux_ruby/models/stop_space_broadcast_response.rb +218 -0
  44. data/lib/mux_ruby/version.rb +1 -1
  45. data/lib/mux_ruby.rb +15 -0
  46. data/spec/api/spaces_api_spec.rb +149 -0
  47. data/spec/models/broadcast_layout_spec.rb +28 -0
  48. data/spec/models/broadcast_resolution_spec.rb +28 -0
  49. data/spec/models/broadcast_response_spec.rb +34 -0
  50. data/spec/models/broadcast_spec.rb +70 -0
  51. data/spec/models/broadcast_status_spec.rb +28 -0
  52. data/spec/models/create_broadcast_request_spec.rb +58 -0
  53. data/spec/models/create_space_request_spec.rb +46 -0
  54. data/spec/models/list_spaces_response_spec.rb +34 -0
  55. data/spec/models/space_response_spec.rb +34 -0
  56. data/spec/models/space_spec.rb +70 -0
  57. data/spec/models/space_status_spec.rb +28 -0
  58. data/spec/models/space_type_spec.rb +28 -0
  59. data/spec/models/start_space_broadcast_response_spec.rb +34 -0
  60. data/spec/models/stop_space_broadcast_response_spec.rb +34 -0
  61. metadata +163 -103
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Mux API
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.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::CreateSpaceRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::CreateSpaceRequest do
21
+ let(:instance) { MuxRuby::CreateSpaceRequest.new }
22
+
23
+ describe 'test an instance of CreateSpaceRequest' do
24
+ it 'should create an instance of CreateSpaceRequest' do
25
+ expect(instance).to be_instance_of(MuxRuby::CreateSpaceRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "type"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "passthrough"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "broadcasts"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Mux API
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.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::ListSpacesResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::ListSpacesResponse do
21
+ let(:instance) { MuxRuby::ListSpacesResponse.new }
22
+
23
+ describe 'test an instance of ListSpacesResponse' do
24
+ it 'should create an instance of ListSpacesResponse' do
25
+ expect(instance).to be_instance_of(MuxRuby::ListSpacesResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Mux API
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.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::SpaceResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::SpaceResponse do
21
+ let(:instance) { MuxRuby::SpaceResponse.new }
22
+
23
+ describe 'test an instance of SpaceResponse' do
24
+ it 'should create an instance of SpaceResponse' do
25
+ expect(instance).to be_instance_of(MuxRuby::SpaceResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,70 @@
1
+ =begin
2
+ #Mux API
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.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::Space
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::Space do
21
+ let(:instance) { MuxRuby::Space.new }
22
+
23
+ describe 'test an instance of Space' do
24
+ it 'should create an instance of Space' do
25
+ expect(instance).to be_instance_of(MuxRuby::Space)
26
+ end
27
+ end
28
+ describe 'test attribute "id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "created_at"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "type"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "status"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "passthrough"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "broadcasts"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "active_session_id"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,28 @@
1
+ =begin
2
+ #Mux API
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.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::SpaceStatus
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::SpaceStatus do
21
+ let(:instance) { MuxRuby::SpaceStatus.new }
22
+
23
+ describe 'test an instance of SpaceStatus' do
24
+ it 'should create an instance of SpaceStatus' do
25
+ expect(instance).to be_instance_of(MuxRuby::SpaceStatus)
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,28 @@
1
+ =begin
2
+ #Mux API
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.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::SpaceType
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::SpaceType do
21
+ let(:instance) { MuxRuby::SpaceType.new }
22
+
23
+ describe 'test an instance of SpaceType' do
24
+ it 'should create an instance of SpaceType' do
25
+ expect(instance).to be_instance_of(MuxRuby::SpaceType)
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Mux API
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.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::StartSpaceBroadcastResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::StartSpaceBroadcastResponse do
21
+ let(:instance) { MuxRuby::StartSpaceBroadcastResponse.new }
22
+
23
+ describe 'test an instance of StartSpaceBroadcastResponse' do
24
+ it 'should create an instance of StartSpaceBroadcastResponse' do
25
+ expect(instance).to be_instance_of(MuxRuby::StartSpaceBroadcastResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Mux API
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.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::StopSpaceBroadcastResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::StopSpaceBroadcastResponse do
21
+ let(:instance) { MuxRuby::StopSpaceBroadcastResponse.new }
22
+
23
+ describe 'test an instance of StopSpaceBroadcastResponse' do
24
+ it 'should create an instance of StopSpaceBroadcastResponse' do
25
+ expect(instance).to be_instance_of(MuxRuby::StopSpaceBroadcastResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end