Class: GetStream::Generated::Models::QueryAggregateCallStatsResponse
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::QueryAggregateCallStatsResponse
show all
- Defined in:
- lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb
Overview
Basic response information
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
Initialize with attributes
38
39
40
41
42
43
44
45
46
47
48
|
# File 'lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb', line 38
def initialize(attributes = {})
super(attributes)
@duration = attributes[:duration] || attributes['duration']
@call_duration_report = attributes[:call_duration_report] || attributes['call_duration_report'] || nil
@call_participant_count_report = attributes[:call_participant_count_report] || attributes['call_participant_count_report'] || nil
@calls_per_day_report = attributes[:calls_per_day_report] || attributes['calls_per_day_report'] || nil
@network_metrics_report = attributes[:network_metrics_report] || attributes['network_metrics_report'] || nil
@quality_score_report = attributes[:quality_score_report] || attributes['quality_score_report'] || nil
@sdk_usage_report = attributes[:sdk_usage_report] || attributes['sdk_usage_report'] || nil
@user_feedback_report = attributes[:user_feedback_report] || attributes['user_feedback_report'] || nil
end
|
Instance Attribute Details
17
18
19
|
# File 'lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb', line 17
def call_duration_report
@call_duration_report
end
|
20
21
22
|
# File 'lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb', line 20
def call_participant_count_report
@call_participant_count_report
end
|
23
24
25
|
# File 'lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb', line 23
def calls_per_day_report
@calls_per_day_report
end
|
#duration ⇒ String
Returns Duration of the request in milliseconds.
14
15
16
|
# File 'lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb', line 14
def duration
@duration
end
|
26
27
28
|
# File 'lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb', line 26
def network_metrics_report
@network_metrics_report
end
|
29
30
31
|
# File 'lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb', line 29
def quality_score_report
@quality_score_report
end
|
32
33
34
|
# File 'lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb', line 32
def sdk_usage_report
@sdk_usage_report
end
|
35
36
37
|
# File 'lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb', line 35
def user_feedback_report
@user_feedback_report
end
|
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
51
52
53
54
55
56
57
58
59
60
61
62
|
# File 'lib/getstream_ruby/generated/models/query_aggregate_call_stats_response.rb', line 51
def self.json_field_mappings
{
duration: 'duration',
call_duration_report: 'call_duration_report',
call_participant_count_report: 'call_participant_count_report',
calls_per_day_report: 'calls_per_day_report',
network_metrics_report: 'network_metrics_report',
quality_score_report: 'quality_score_report',
sdk_usage_report: 'sdk_usage_report',
user_feedback_report: 'user_feedback_report'
}
end
|