Class: GetStream::Generated::Models::GetCallReportResponse
- Defined in:
- lib/getstream_ruby/generated/models/get_call_report_response.rb
Overview
Basic response information
Instance Attribute Summary collapse
- #chat_activity ⇒ ChatActivityStatsResponse
-
#duration ⇒ String
Duration of the request in milliseconds.
- #report ⇒ ReportResponse
- #session ⇒ CallSessionResponse
- #session_id ⇒ String
- #video_reactions ⇒ Array<VideoReactionsResponse>
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ GetCallReportResponse
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ GetCallReportResponse
Initialize with attributes
32 33 34 35 36 37 38 39 40 |
# File 'lib/getstream_ruby/generated/models/get_call_report_response.rb', line 32 def initialize(attributes = {}) super(attributes) @duration = attributes[:duration] || attributes['duration'] @session_id = attributes[:session_id] || attributes['session_id'] @report = attributes[:report] || attributes['report'] @video_reactions = attributes[:video_reactions] || attributes['video_reactions'] || nil @chat_activity = attributes[:chat_activity] || attributes['chat_activity'] || nil @session = attributes[:session] || attributes['session'] || nil end |
Instance Attribute Details
#chat_activity ⇒ ChatActivityStatsResponse
26 27 28 |
# File 'lib/getstream_ruby/generated/models/get_call_report_response.rb', line 26 def chat_activity @chat_activity end |
#duration ⇒ String
Returns Duration of the request in milliseconds.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/get_call_report_response.rb', line 14 def duration @duration end |
#report ⇒ ReportResponse
20 21 22 |
# File 'lib/getstream_ruby/generated/models/get_call_report_response.rb', line 20 def report @report end |
#session ⇒ CallSessionResponse
29 30 31 |
# File 'lib/getstream_ruby/generated/models/get_call_report_response.rb', line 29 def session @session end |
#session_id ⇒ String
17 18 19 |
# File 'lib/getstream_ruby/generated/models/get_call_report_response.rb', line 17 def session_id @session_id end |
#video_reactions ⇒ Array<VideoReactionsResponse>
23 24 25 |
# File 'lib/getstream_ruby/generated/models/get_call_report_response.rb', line 23 def video_reactions @video_reactions end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
43 44 45 46 47 48 49 50 51 52 |
# File 'lib/getstream_ruby/generated/models/get_call_report_response.rb', line 43 def self.json_field_mappings { duration: 'duration', session_id: 'session_id', report: 'report', video_reactions: 'video_reactions', chat_activity: 'chat_activity', session: 'session' } end |