mux_ruby 1.7.0 → 1.8.1

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 (91) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/docs/DimensionValue.md +9 -0
  4. data/docs/DimensionsApi.md +118 -0
  5. data/docs/FiltersApi.md +2 -2
  6. data/docs/GetRealTimeBreakdownResponse.md +10 -0
  7. data/docs/GetRealTimeHistogramTimeseriesResponse.md +11 -0
  8. data/docs/GetRealTimeHistogramTimeseriesResponseMeta.md +8 -0
  9. data/docs/GetRealTimeTimeseriesResponse.md +10 -0
  10. data/docs/Incident.md +28 -0
  11. data/docs/IncidentBreakdown.md +10 -0
  12. data/docs/IncidentNotification.md +10 -0
  13. data/docs/IncidentNotificationRule.md +12 -0
  14. data/docs/IncidentResponse.md +9 -0
  15. data/docs/IncidentsApi.md +186 -0
  16. data/docs/ListDimensionValuesResponse.md +10 -0
  17. data/docs/ListDimensionsResponse.md +10 -0
  18. data/docs/ListIncidentsResponse.md +10 -0
  19. data/docs/ListRealTimeDimensionsResponse.md +10 -0
  20. data/docs/ListRealTimeDimensionsResponseData.md +9 -0
  21. data/docs/ListRealTimeMetricsResponse.md +10 -0
  22. data/docs/ListRelatedIncidentsResponse.md +10 -0
  23. data/docs/NotificationRule.md +10 -0
  24. data/docs/RealTimeApi.md +280 -0
  25. data/docs/RealTimeBreakdownValue.md +12 -0
  26. data/docs/RealTimeHistogramTimeseriesBucket.md +9 -0
  27. data/docs/RealTimeHistogramTimeseriesBucketValues.md +9 -0
  28. data/docs/RealTimeHistogramTimeseriesDatapoint.md +14 -0
  29. data/docs/RealTimeTimeseriesDatapoint.md +10 -0
  30. data/examples/data/exercise-dimensions.rb +29 -0
  31. data/examples/data/exercise-incidents.rb +29 -0
  32. data/examples/data/exercise-realtime.rb +60 -0
  33. data/lib/mux_ruby.rb +26 -0
  34. data/lib/mux_ruby/api/dimensions_api.rb +128 -0
  35. data/lib/mux_ruby/api/filters_api.rb +4 -4
  36. data/lib/mux_ruby/api/incidents_api.rb +217 -0
  37. data/lib/mux_ruby/api/real_time_api.rb +311 -0
  38. data/lib/mux_ruby/models/asset.rb +12 -0
  39. data/lib/mux_ruby/models/dimension_value.rb +193 -0
  40. data/lib/mux_ruby/models/get_real_time_breakdown_response.rb +206 -0
  41. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response.rb +215 -0
  42. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response_meta.rb +186 -0
  43. data/lib/mux_ruby/models/get_real_time_timeseries_response.rb +206 -0
  44. data/lib/mux_ruby/models/incident.rb +370 -0
  45. data/lib/mux_ruby/models/incident_breakdown.rb +202 -0
  46. data/lib/mux_ruby/models/incident_notification.rb +202 -0
  47. data/lib/mux_ruby/models/incident_notification_rule.rb +222 -0
  48. data/lib/mux_ruby/models/incident_response.rb +195 -0
  49. data/lib/mux_ruby/models/list_dimension_values_response.rb +206 -0
  50. data/lib/mux_ruby/models/list_dimensions_response.rb +204 -0
  51. data/lib/mux_ruby/models/list_incidents_response.rb +206 -0
  52. data/lib/mux_ruby/models/list_real_time_dimensions_response.rb +206 -0
  53. data/lib/mux_ruby/models/list_real_time_dimensions_response_data.rb +193 -0
  54. data/lib/mux_ruby/models/list_real_time_metrics_response.rb +206 -0
  55. data/lib/mux_ruby/models/list_related_incidents_response.rb +206 -0
  56. data/lib/mux_ruby/models/notification_rule.rb +202 -0
  57. data/lib/mux_ruby/models/real_time_breakdown_value.rb +220 -0
  58. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket.rb +193 -0
  59. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket_values.rb +193 -0
  60. data/lib/mux_ruby/models/real_time_histogram_timeseries_datapoint.rb +240 -0
  61. data/lib/mux_ruby/models/real_time_timeseries_datapoint.rb +202 -0
  62. data/lib/mux_ruby/version.rb +1 -1
  63. data/spec/api/dimensions_api_spec.rb +55 -0
  64. data/spec/api/filters_api_spec.rb +2 -2
  65. data/spec/api/incidents_api_spec.rb +73 -0
  66. data/spec/api/real_time_api_spec.rb +93 -0
  67. data/spec/models/asset_spec.rb +4 -0
  68. data/spec/models/dimension_value_spec.rb +40 -0
  69. data/spec/models/get_real_time_breakdown_response_spec.rb +46 -0
  70. data/spec/models/get_real_time_histogram_timeseries_response_meta_spec.rb +34 -0
  71. data/spec/models/get_real_time_histogram_timeseries_response_spec.rb +52 -0
  72. data/spec/models/get_real_time_timeseries_response_spec.rb +46 -0
  73. data/spec/models/incident_breakdown_spec.rb +46 -0
  74. data/spec/models/incident_notification_rule_spec.rb +58 -0
  75. data/spec/models/incident_notification_spec.rb +46 -0
  76. data/spec/models/incident_response_spec.rb +40 -0
  77. data/spec/models/incident_spec.rb +154 -0
  78. data/spec/models/list_dimension_values_response_spec.rb +46 -0
  79. data/spec/models/list_dimensions_response_spec.rb +46 -0
  80. data/spec/models/list_incidents_response_spec.rb +46 -0
  81. data/spec/models/list_real_time_dimensions_response_data_spec.rb +40 -0
  82. data/spec/models/list_real_time_dimensions_response_spec.rb +46 -0
  83. data/spec/models/list_real_time_metrics_response_spec.rb +46 -0
  84. data/spec/models/list_related_incidents_response_spec.rb +46 -0
  85. data/spec/models/notification_rule_spec.rb +46 -0
  86. data/spec/models/real_time_breakdown_value_spec.rb +58 -0
  87. data/spec/models/real_time_histogram_timeseries_bucket_spec.rb +40 -0
  88. data/spec/models/real_time_histogram_timeseries_bucket_values_spec.rb +40 -0
  89. data/spec/models/real_time_histogram_timeseries_datapoint_spec.rb +70 -0
  90. data/spec/models/real_time_timeseries_datapoint_spec.rb +46 -0
  91. metadata +171 -64
@@ -27,7 +27,7 @@ describe 'FiltersApi' do
27
27
 
28
28
  # unit tests for list_filter_values
29
29
  # Lists values for a specific filter
30
- # Lists the values for a filter along with a total count of related views
30
+ # Deprecated: The API has been replaced by the list-dimension-values API call. Lists the values for a filter along with a total count of related views.
31
31
  # @param filter_id ID of the Filter
32
32
  # @param [Hash] opts the optional parameters
33
33
  # @option opts [Integer] :limit Number of items to include in the response
@@ -43,7 +43,7 @@ describe 'FiltersApi' do
43
43
 
44
44
  # unit tests for list_filters
45
45
  # List Filters
46
- # Lists all the filters broken out into basic and advanced
46
+ # Deprecated: The API has been replaced by the list-dimensions API call. Lists all the filters broken out into basic and advanced.
47
47
  # @param [Hash] opts the optional parameters
48
48
  # @return [ListFiltersResponse]
49
49
  describe 'list_filters test' do
@@ -0,0 +1,73 @@
1
+ =begin
2
+ # Mux Ruby - Copyright 2019 Mux Inc.
3
+ # NOTE: This file is auto generated. Do not edit this file manually.
4
+ =end
5
+
6
+ require 'spec_helper'
7
+ require 'json'
8
+
9
+ # Unit tests for MuxRuby::IncidentsApi
10
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
11
+ # Please update as you see appropriate
12
+ describe 'IncidentsApi' do
13
+ before do
14
+ # run before each test
15
+ @instance = MuxRuby::IncidentsApi.new
16
+ end
17
+
18
+ after do
19
+ # run after each test
20
+ end
21
+
22
+ describe 'test an instance of IncidentsApi' do
23
+ it 'should create an instance of IncidentsApi' do
24
+ expect(@instance).to be_instance_of(MuxRuby::IncidentsApi)
25
+ end
26
+ end
27
+
28
+ # unit tests for get_incident
29
+ # Get an Incident
30
+ # Returns the details of an incident
31
+ # @param incident_id ID of the Incident
32
+ # @param [Hash] opts the optional parameters
33
+ # @return [IncidentResponse]
34
+ describe 'get_incident test' 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
+ # unit tests for list_incidents
41
+ # List Incidents
42
+ # Returns a list of incidents
43
+ # @param [Hash] opts the optional parameters
44
+ # @option opts [Integer] :limit Number of items to include in the response
45
+ # @option opts [Integer] :page Offset by this many pages, of the size of `limit`
46
+ # @option opts [String] :order_by Value to order the results by
47
+ # @option opts [String] :order_direction Sort order.
48
+ # @option opts [String] :status Status to filter incidents by
49
+ # @option opts [String] :severity Severity to filter incidents by
50
+ # @return [ListIncidentsResponse]
51
+ describe 'list_incidents test' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ end
55
+ end
56
+
57
+ # unit tests for list_related_incidents
58
+ # List Related Incidents
59
+ # Returns all the incidents that seem related to a specific incident
60
+ # @param incident_id ID of the Incident
61
+ # @param [Hash] opts the optional parameters
62
+ # @option opts [Integer] :limit Number of items to include in the response
63
+ # @option opts [Integer] :page Offset by this many pages, of the size of `limit`
64
+ # @option opts [String] :order_by Value to order the results by
65
+ # @option opts [String] :order_direction Sort order.
66
+ # @return [ListRelatedIncidentsResponse]
67
+ describe 'list_related_incidents test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
73
+ end
@@ -0,0 +1,93 @@
1
+ =begin
2
+ # Mux Ruby - Copyright 2019 Mux Inc.
3
+ # NOTE: This file is auto generated. Do not edit this file manually.
4
+ =end
5
+
6
+ require 'spec_helper'
7
+ require 'json'
8
+
9
+ # Unit tests for MuxRuby::RealTimeApi
10
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
11
+ # Please update as you see appropriate
12
+ describe 'RealTimeApi' do
13
+ before do
14
+ # run before each test
15
+ @instance = MuxRuby::RealTimeApi.new
16
+ end
17
+
18
+ after do
19
+ # run after each test
20
+ end
21
+
22
+ describe 'test an instance of RealTimeApi' do
23
+ it 'should create an instance of RealTimeApi' do
24
+ expect(@instance).to be_instance_of(MuxRuby::RealTimeApi)
25
+ end
26
+ end
27
+
28
+ # unit tests for get_realtime_breakdown
29
+ # Get Real-Time Breakdown
30
+ # Gets breakdown information for a specific dimension and metric along with the number of concurrent viewers and negative impact score.
31
+ # @param realtime_metric_id ID of the Realtime Metric
32
+ # @param [Hash] opts the optional parameters
33
+ # @option opts [String] :dimension Dimension the specified value belongs to
34
+ # @option opts [Float] :timestamp Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp.
35
+ # @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.
36
+ # @option opts [String] :order_by Value to order the results by
37
+ # @option opts [String] :order_direction Sort order.
38
+ # @return [GetRealTimeBreakdownResponse]
39
+ describe 'get_realtime_breakdown test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ # unit tests for get_realtime_histogram_timeseries
46
+ # Get Real-Time Histogram Timeseries
47
+ # Gets histogram timeseries information for a specific metric.
48
+ # @param realtime_metric_id ID of the Realtime Metric
49
+ # @param [Hash] opts the optional parameters
50
+ # @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.
51
+ # @return [GetRealTimeHistogramTimeseriesResponse]
52
+ describe 'get_realtime_histogram_timeseries test' 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
+ # unit tests for get_realtime_timeseries
59
+ # Get Real-Time Timeseries
60
+ # Gets Time series information for a specific metric along with the number of concurrent viewers.
61
+ # @param realtime_metric_id ID of the Realtime Metric
62
+ # @param [Hash] opts the optional parameters
63
+ # @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.
64
+ # @return [GetRealTimeTimeseriesResponse]
65
+ describe 'get_realtime_timeseries test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for list_realtime_dimensions
72
+ # List Real-Time Dimensions
73
+ # Lists availiable real-time dimensions
74
+ # @param [Hash] opts the optional parameters
75
+ # @return [ListRealTimeDimensionsResponse]
76
+ describe 'list_realtime_dimensions test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ # unit tests for list_realtime_metrics
83
+ # List Real-Time Metrics
84
+ # Lists availiable real-time metrics.
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [ListRealTimeMetricsResponse]
87
+ describe 'list_realtime_metrics test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ end
@@ -58,6 +58,10 @@ describe 'Asset' do
58
58
  describe 'test attribute "max_stored_resolution"' do
59
59
  it 'should work' do
60
60
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Audio only", "SD", "HD", "FHD", "UHD"])
62
+ # validator.allowable_values.each do |value|
63
+ # expect { @instance.max_stored_resolution = value }.not_to raise_error
64
+ # end
61
65
  end
62
66
  end
63
67
 
@@ -0,0 +1,40 @@
1
+ =begin
2
+ # Mux Ruby - Copyright 2019 Mux Inc.
3
+ # NOTE: This file is auto generated. Do not edit this file manually.
4
+ =end
5
+
6
+ require 'spec_helper'
7
+ require 'json'
8
+ require 'date'
9
+
10
+ # Unit tests for MuxRuby::DimensionValue
11
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
12
+ # Please update as you see appropriate
13
+ describe 'DimensionValue' do
14
+ before do
15
+ # run before each test
16
+ @instance = MuxRuby::DimensionValue.new
17
+ end
18
+
19
+ after do
20
+ # run after each test
21
+ end
22
+
23
+ describe 'test an instance of DimensionValue' do
24
+ it 'should create an instance of DimensionValue' do
25
+ expect(@instance).to be_instance_of(MuxRuby::DimensionValue)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' 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 "total_count"' 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
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ # Mux Ruby - Copyright 2019 Mux Inc.
3
+ # NOTE: This file is auto generated. Do not edit this file manually.
4
+ =end
5
+
6
+ require 'spec_helper'
7
+ require 'json'
8
+ require 'date'
9
+
10
+ # Unit tests for MuxRuby::GetRealTimeBreakdownResponse
11
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
12
+ # Please update as you see appropriate
13
+ describe 'GetRealTimeBreakdownResponse' do
14
+ before do
15
+ # run before each test
16
+ @instance = MuxRuby::GetRealTimeBreakdownResponse.new
17
+ end
18
+
19
+ after do
20
+ # run after each test
21
+ end
22
+
23
+ describe 'test an instance of GetRealTimeBreakdownResponse' do
24
+ it 'should create an instance of GetRealTimeBreakdownResponse' do
25
+ expect(@instance).to be_instance_of(MuxRuby::GetRealTimeBreakdownResponse)
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
+ describe 'test attribute "total_row_count"' 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 "timeframe"' 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 Ruby - Copyright 2019 Mux Inc.
3
+ # NOTE: This file is auto generated. Do not edit this file manually.
4
+ =end
5
+
6
+ require 'spec_helper'
7
+ require 'json'
8
+ require 'date'
9
+
10
+ # Unit tests for MuxRuby::GetRealTimeHistogramTimeseriesResponseMeta
11
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
12
+ # Please update as you see appropriate
13
+ describe 'GetRealTimeHistogramTimeseriesResponseMeta' do
14
+ before do
15
+ # run before each test
16
+ @instance = MuxRuby::GetRealTimeHistogramTimeseriesResponseMeta.new
17
+ end
18
+
19
+ after do
20
+ # run after each test
21
+ end
22
+
23
+ describe 'test an instance of GetRealTimeHistogramTimeseriesResponseMeta' do
24
+ it 'should create an instance of GetRealTimeHistogramTimeseriesResponseMeta' do
25
+ expect(@instance).to be_instance_of(MuxRuby::GetRealTimeHistogramTimeseriesResponseMeta)
26
+ end
27
+ end
28
+ describe 'test attribute "buckets"' 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,52 @@
1
+ =begin
2
+ # Mux Ruby - Copyright 2019 Mux Inc.
3
+ # NOTE: This file is auto generated. Do not edit this file manually.
4
+ =end
5
+
6
+ require 'spec_helper'
7
+ require 'json'
8
+ require 'date'
9
+
10
+ # Unit tests for MuxRuby::GetRealTimeHistogramTimeseriesResponse
11
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
12
+ # Please update as you see appropriate
13
+ describe 'GetRealTimeHistogramTimeseriesResponse' do
14
+ before do
15
+ # run before each test
16
+ @instance = MuxRuby::GetRealTimeHistogramTimeseriesResponse.new
17
+ end
18
+
19
+ after do
20
+ # run after each test
21
+ end
22
+
23
+ describe 'test an instance of GetRealTimeHistogramTimeseriesResponse' do
24
+ it 'should create an instance of GetRealTimeHistogramTimeseriesResponse' do
25
+ expect(@instance).to be_instance_of(MuxRuby::GetRealTimeHistogramTimeseriesResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "meta"' 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 "data"' 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 "total_row_count"' 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 "timeframe"' 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
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ # Mux Ruby - Copyright 2019 Mux Inc.
3
+ # NOTE: This file is auto generated. Do not edit this file manually.
4
+ =end
5
+
6
+ require 'spec_helper'
7
+ require 'json'
8
+ require 'date'
9
+
10
+ # Unit tests for MuxRuby::GetRealTimeTimeseriesResponse
11
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
12
+ # Please update as you see appropriate
13
+ describe 'GetRealTimeTimeseriesResponse' do
14
+ before do
15
+ # run before each test
16
+ @instance = MuxRuby::GetRealTimeTimeseriesResponse.new
17
+ end
18
+
19
+ after do
20
+ # run after each test
21
+ end
22
+
23
+ describe 'test an instance of GetRealTimeTimeseriesResponse' do
24
+ it 'should create an instance of GetRealTimeTimeseriesResponse' do
25
+ expect(@instance).to be_instance_of(MuxRuby::GetRealTimeTimeseriesResponse)
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
+ describe 'test attribute "total_row_count"' 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 "timeframe"' 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,46 @@
1
+ =begin
2
+ # Mux Ruby - Copyright 2019 Mux Inc.
3
+ # NOTE: This file is auto generated. Do not edit this file manually.
4
+ =end
5
+
6
+ require 'spec_helper'
7
+ require 'json'
8
+ require 'date'
9
+
10
+ # Unit tests for MuxRuby::IncidentBreakdown
11
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
12
+ # Please update as you see appropriate
13
+ describe 'IncidentBreakdown' do
14
+ before do
15
+ # run before each test
16
+ @instance = MuxRuby::IncidentBreakdown.new
17
+ end
18
+
19
+ after do
20
+ # run after each test
21
+ end
22
+
23
+ describe 'test an instance of IncidentBreakdown' do
24
+ it 'should create an instance of IncidentBreakdown' do
25
+ expect(@instance).to be_instance_of(MuxRuby::IncidentBreakdown)
26
+ end
27
+ end
28
+ describe 'test attribute "value"' 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 "name"' 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 "id"' 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