Class: GetStream::Generated::Models::GetCallSessionParticipantStatsDetailsResponse
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::GetCallSessionParticipantStatsDetailsResponse
show all
- Defined in:
- lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_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
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 44
def initialize(attributes = {})
super(attributes)
@call_id = attributes.fetch(:call_id) { attributes.fetch('call_id', nil) }
@call_session_id = attributes.fetch(:call_session_id) { attributes.fetch('call_session_id', nil) }
@call_type = attributes.fetch(:call_type) { attributes.fetch('call_type', nil) }
@duration = attributes.fetch(:duration) { attributes.fetch('duration', nil) }
@user_id = attributes.fetch(:user_id) { attributes.fetch('user_id', nil) }
@user_session_id = attributes.fetch(:user_session_id) { attributes.fetch('user_session_id', nil) }
@publisher = attributes.fetch(:publisher) { attributes.fetch('publisher', nil) }
@subscriber = attributes.fetch(:subscriber) { attributes.fetch('subscriber', nil) }
@timeframe = attributes.fetch(:timeframe) { attributes.fetch('timeframe', nil) }
@user = attributes.fetch(:user) { attributes.fetch('user', nil) }
end
|
Instance Attribute Details
#call_id ⇒ String
14
15
16
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 14
def call_id
@call_id
end
|
#call_session_id ⇒ String
17
18
19
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 17
def call_session_id
@call_session_id
end
|
#call_type ⇒ String
20
21
22
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 20
def call_type
@call_type
end
|
#duration ⇒ String
Returns Duration of the request in milliseconds.
23
24
25
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 23
def duration
@duration
end
|
32
33
34
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 32
def publisher
@publisher
end
|
35
36
37
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 35
def subscriber
@subscriber
end
|
38
39
40
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 38
def timeframe
@timeframe
end
|
41
42
43
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 41
def user
@user
end
|
#user_id ⇒ String
26
27
28
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 26
def user_id
@user_id
end
|
#user_session_id ⇒ String
29
30
31
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 29
def user_session_id
@user_session_id
end
|
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# File 'lib/getstream_ruby/generated/models/get_call_session_participant_stats_details_response.rb', line 59
def self.json_field_mappings
{
call_id: 'call_id',
call_session_id: 'call_session_id',
call_type: 'call_type',
duration: 'duration',
user_id: 'user_id',
user_session_id: 'user_session_id',
publisher: 'publisher',
subscriber: 'subscriber',
timeframe: 'timeframe',
user: 'user'
}
end
|