mux_ruby 1.7.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docs/DimensionValue.md +9 -0
- data/docs/DimensionsApi.md +118 -0
- data/docs/FiltersApi.md +2 -2
- data/docs/GetRealTimeBreakdownResponse.md +10 -0
- data/docs/GetRealTimeHistogramTimeseriesResponse.md +11 -0
- data/docs/GetRealTimeHistogramTimeseriesResponseMeta.md +8 -0
- data/docs/GetRealTimeTimeseriesResponse.md +10 -0
- data/docs/Incident.md +28 -0
- data/docs/IncidentBreakdown.md +10 -0
- data/docs/IncidentNotification.md +10 -0
- data/docs/IncidentNotificationRule.md +12 -0
- data/docs/IncidentResponse.md +9 -0
- data/docs/IncidentsApi.md +186 -0
- data/docs/ListDimensionValuesResponse.md +10 -0
- data/docs/ListDimensionsResponse.md +10 -0
- data/docs/ListIncidentsResponse.md +10 -0
- data/docs/ListRealTimeDimensionsResponse.md +10 -0
- data/docs/ListRealTimeDimensionsResponseData.md +9 -0
- data/docs/ListRealTimeMetricsResponse.md +10 -0
- data/docs/ListRelatedIncidentsResponse.md +10 -0
- data/docs/NotificationRule.md +10 -0
- data/docs/RealTimeApi.md +280 -0
- data/docs/RealTimeBreakdownValue.md +12 -0
- data/docs/RealTimeHistogramTimeseriesBucket.md +9 -0
- data/docs/RealTimeHistogramTimeseriesBucketValues.md +9 -0
- data/docs/RealTimeHistogramTimeseriesDatapoint.md +14 -0
- data/docs/RealTimeTimeseriesDatapoint.md +10 -0
- data/examples/data/exercise-dimensions.rb +29 -0
- data/examples/data/exercise-incidents.rb +29 -0
- data/examples/data/exercise-realtime.rb +60 -0
- data/lib/mux_ruby.rb +26 -0
- data/lib/mux_ruby/api/dimensions_api.rb +128 -0
- data/lib/mux_ruby/api/filters_api.rb +4 -4
- data/lib/mux_ruby/api/incidents_api.rb +217 -0
- data/lib/mux_ruby/api/real_time_api.rb +311 -0
- data/lib/mux_ruby/models/asset.rb +12 -0
- data/lib/mux_ruby/models/dimension_value.rb +193 -0
- data/lib/mux_ruby/models/get_real_time_breakdown_response.rb +206 -0
- data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response.rb +215 -0
- data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response_meta.rb +186 -0
- data/lib/mux_ruby/models/get_real_time_timeseries_response.rb +206 -0
- data/lib/mux_ruby/models/incident.rb +370 -0
- data/lib/mux_ruby/models/incident_breakdown.rb +202 -0
- data/lib/mux_ruby/models/incident_notification.rb +202 -0
- data/lib/mux_ruby/models/incident_notification_rule.rb +222 -0
- data/lib/mux_ruby/models/incident_response.rb +195 -0
- data/lib/mux_ruby/models/list_dimension_values_response.rb +206 -0
- data/lib/mux_ruby/models/list_dimensions_response.rb +204 -0
- data/lib/mux_ruby/models/list_incidents_response.rb +206 -0
- data/lib/mux_ruby/models/list_real_time_dimensions_response.rb +206 -0
- data/lib/mux_ruby/models/list_real_time_dimensions_response_data.rb +193 -0
- data/lib/mux_ruby/models/list_real_time_metrics_response.rb +206 -0
- data/lib/mux_ruby/models/list_related_incidents_response.rb +206 -0
- data/lib/mux_ruby/models/notification_rule.rb +202 -0
- data/lib/mux_ruby/models/real_time_breakdown_value.rb +220 -0
- data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket.rb +193 -0
- data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket_values.rb +193 -0
- data/lib/mux_ruby/models/real_time_histogram_timeseries_datapoint.rb +240 -0
- data/lib/mux_ruby/models/real_time_timeseries_datapoint.rb +202 -0
- data/lib/mux_ruby/version.rb +1 -1
- data/spec/api/dimensions_api_spec.rb +55 -0
- data/spec/api/filters_api_spec.rb +2 -2
- data/spec/api/incidents_api_spec.rb +73 -0
- data/spec/api/real_time_api_spec.rb +93 -0
- data/spec/models/asset_spec.rb +4 -0
- data/spec/models/dimension_value_spec.rb +40 -0
- data/spec/models/get_real_time_breakdown_response_spec.rb +46 -0
- data/spec/models/get_real_time_histogram_timeseries_response_meta_spec.rb +34 -0
- data/spec/models/get_real_time_histogram_timeseries_response_spec.rb +52 -0
- data/spec/models/get_real_time_timeseries_response_spec.rb +46 -0
- data/spec/models/incident_breakdown_spec.rb +46 -0
- data/spec/models/incident_notification_rule_spec.rb +58 -0
- data/spec/models/incident_notification_spec.rb +46 -0
- data/spec/models/incident_response_spec.rb +40 -0
- data/spec/models/incident_spec.rb +154 -0
- data/spec/models/list_dimension_values_response_spec.rb +46 -0
- data/spec/models/list_dimensions_response_spec.rb +46 -0
- data/spec/models/list_incidents_response_spec.rb +46 -0
- data/spec/models/list_real_time_dimensions_response_data_spec.rb +40 -0
- data/spec/models/list_real_time_dimensions_response_spec.rb +46 -0
- data/spec/models/list_real_time_metrics_response_spec.rb +46 -0
- data/spec/models/list_related_incidents_response_spec.rb +46 -0
- data/spec/models/notification_rule_spec.rb +46 -0
- data/spec/models/real_time_breakdown_value_spec.rb +58 -0
- data/spec/models/real_time_histogram_timeseries_bucket_spec.rb +40 -0
- data/spec/models/real_time_histogram_timeseries_bucket_values_spec.rb +40 -0
- data/spec/models/real_time_histogram_timeseries_datapoint_spec.rb +70 -0
- data/spec/models/real_time_timeseries_datapoint_spec.rb +46 -0
- 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[]=operating_system:windows&filters[]=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[]=operating_system:windows&filters[]=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[]=operating_system:windows&filters[]=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
|
data/spec/models/asset_spec.rb
CHANGED
@@ -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
|