Class: GetStream::Generated::Models::CallStatsParticipantCounts
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::CallStatsParticipantCounts
show all
- Defined in:
- lib/getstream_ruby/generated/models/call_stats_participant_counts.rb
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 53
def initialize(attributes = {})
super(attributes)
@live_sessions = attributes[:live_sessions] || attributes['live_sessions']
@participants = attributes[:participants] || attributes['participants']
@peak_concurrent_sessions = attributes[:peak_concurrent_sessions] || attributes['peak_concurrent_sessions']
@peak_concurrent_users = attributes[:peak_concurrent_users] || attributes['peak_concurrent_users']
@publishers = attributes[:publishers] || attributes['publishers']
@sessions = attributes[:sessions] || attributes['sessions']
@sfus_used = attributes[:sfus_used] || attributes['sfus_used']
@average_jitter_ms = attributes[:average_jitter_ms] || attributes['average_jitter_ms'] || nil
@average_latency_ms = attributes[:average_latency_ms] || attributes['average_latency_ms'] || nil
@call_event_count = attributes[:call_event_count] || attributes['call_event_count'] || nil
@cq_score = attributes[:cq_score] || attributes['cq_score'] || nil
@max_freezes_duration_ms = attributes[:max_freezes_duration_ms] || attributes['max_freezes_duration_ms'] || nil
@total_participant_duration = attributes[:total_participant_duration] || attributes['total_participant_duration'] || nil
end
|
Instance Attribute Details
#average_jitter_ms ⇒ Integer
35
36
37
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 35
def average_jitter_ms
@average_jitter_ms
end
|
#average_latency_ms ⇒ Integer
38
39
40
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 38
def average_latency_ms
@average_latency_ms
end
|
#call_event_count ⇒ Integer
41
42
43
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 41
def call_event_count
@call_event_count
end
|
#cq_score ⇒ Integer
44
45
46
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 44
def cq_score
@cq_score
end
|
#live_sessions ⇒ Integer
14
15
16
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 14
def live_sessions
@live_sessions
end
|
#max_freezes_duration_ms ⇒ Integer
47
48
49
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 47
def max_freezes_duration_ms
@max_freezes_duration_ms
end
|
#participants ⇒ Integer
17
18
19
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 17
def participants
@participants
end
|
#peak_concurrent_sessions ⇒ Integer
20
21
22
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 20
def peak_concurrent_sessions
@peak_concurrent_sessions
end
|
#peak_concurrent_users ⇒ Integer
23
24
25
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 23
def peak_concurrent_users
@peak_concurrent_users
end
|
#publishers ⇒ Integer
26
27
28
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 26
def publishers
@publishers
end
|
#sessions ⇒ Integer
29
30
31
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 29
def sessions
@sessions
end
|
#sfus_used ⇒ Integer
32
33
34
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 32
def sfus_used
@sfus_used
end
|
#total_participant_duration ⇒ Integer
50
51
52
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 50
def total_participant_duration
@total_participant_duration
end
|
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
# File 'lib/getstream_ruby/generated/models/call_stats_participant_counts.rb', line 71
def self.json_field_mappings
{
live_sessions: 'live_sessions',
participants: 'participants',
peak_concurrent_sessions: 'peak_concurrent_sessions',
peak_concurrent_users: 'peak_concurrent_users',
publishers: 'publishers',
sessions: 'sessions',
sfus_used: 'sfus_used',
average_jitter_ms: 'average_jitter_ms',
average_latency_ms: 'average_latency_ms',
call_event_count: 'call_event_count',
cq_score: 'cq_score',
max_freezes_duration_ms: 'max_freezes_duration_ms',
total_participant_duration: 'total_participant_duration'
}
end
|