Class: GetStream::Generated::Models::QueryCallSessionParticipantStatsResponse
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::QueryCallSessionParticipantStatsResponse
show all
- Defined in:
- lib/getstream_ruby/generated/models/query_call_session_participant_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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 47
def initialize(attributes = {})
super(attributes)
@call_id = attributes[:call_id] || attributes['call_id']
@call_session_id = attributes[:call_session_id] || attributes['call_session_id']
@call_type = attributes[:call_type] || attributes['call_type']
@duration = attributes[:duration] || attributes['duration']
@participants = attributes[:participants] || attributes['participants']
@counts = attributes[:counts] || attributes['counts']
@call_ended_at = attributes[:call_ended_at] || attributes['call_ended_at'] || nil
@call_started_at = attributes[:call_started_at] || attributes['call_started_at'] || nil
@next = attributes[:next] || attributes['next'] || nil
@prev = attributes[:prev] || attributes['prev'] || nil
@tmp_data_source = attributes[:tmp_data_source] || attributes['tmp_data_source'] || nil
end
|
Instance Attribute Details
#call_ended_at ⇒ DateTime
32
33
34
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 32
def call_ended_at
@call_ended_at
end
|
#call_id ⇒ String
14
15
16
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 14
def call_id
@call_id
end
|
#call_session_id ⇒ String
17
18
19
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 17
def call_session_id
@call_session_id
end
|
#call_started_at ⇒ DateTime
35
36
37
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 35
def call_started_at
@call_started_at
end
|
#call_type ⇒ String
20
21
22
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 20
def call_type
@call_type
end
|
29
30
31
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 29
def counts
@counts
end
|
#duration ⇒ String
Returns Duration of the request in milliseconds.
23
24
25
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 23
def duration
@duration
end
|
#next ⇒ String
38
39
40
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 38
def next
@next
end
|
26
27
28
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 26
def participants
@participants
end
|
#prev ⇒ String
41
42
43
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 41
def prev
@prev
end
|
#tmp_data_source ⇒ String
44
45
46
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 44
def tmp_data_source
@tmp_data_source
end
|
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# File 'lib/getstream_ruby/generated/models/query_call_session_participant_stats_response.rb', line 63
def self.json_field_mappings
{
call_id: 'call_id',
call_session_id: 'call_session_id',
call_type: 'call_type',
duration: 'duration',
participants: 'participants',
counts: 'counts',
call_ended_at: 'call_ended_at',
call_started_at: 'call_started_at',
next: 'next',
prev: 'prev',
tmp_data_source: 'tmp_data_source'
}
end
|