Class: GetStream::Generated::Models::ModerationCallResponse
- Defined in:
- lib/getstream_ruby/generated/models/moderation_call_response.rb
Instance Attribute Summary collapse
- #backstage ⇒ Boolean
- #blocked_user_ids ⇒ Array<String>
- #captioning ⇒ Boolean
- #channel_cid ⇒ String
- #cid ⇒ String
- #created_at ⇒ DateTime
- #created_by ⇒ UserResponse
- #current_session_id ⇒ String
- #custom ⇒ Object
- #ended_at ⇒ DateTime
- #id ⇒ String
- #join_ahead_time_seconds ⇒ Integer
- #recording ⇒ Boolean
- #routing_number ⇒ String
- #starts_at ⇒ DateTime
- #team ⇒ String
- #transcribing ⇒ Boolean
- #translating ⇒ Boolean
- #type ⇒ String
- #updated_at ⇒ DateTime
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ModerationCallResponse
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ ModerationCallResponse
Initialize with attributes
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 74 def initialize(attributes = {}) super(attributes) @backstage = attributes[:backstage] || attributes['backstage'] @captioning = attributes[:captioning] || attributes['captioning'] @cid = attributes[:cid] || attributes['cid'] @created_at = attributes[:created_at] || attributes['created_at'] @current_session_id = attributes[:current_session_id] || attributes['current_session_id'] @id = attributes[:id] || attributes['id'] @recording = attributes[:recording] || attributes['recording'] @transcribing = attributes[:transcribing] || attributes['transcribing'] @translating = attributes[:translating] || attributes['translating'] @type = attributes[:type] || attributes['type'] @updated_at = attributes[:updated_at] || attributes['updated_at'] @blocked_user_ids = attributes[:blocked_user_ids] || attributes['blocked_user_ids'] @custom = attributes[:custom] || attributes['custom'] @channel_cid = attributes[:channel_cid] || attributes['channel_cid'] || nil @ended_at = attributes[:ended_at] || attributes['ended_at'] || nil @join_ahead_time_seconds = attributes[:join_ahead_time_seconds] || attributes['join_ahead_time_seconds'] || nil @routing_number = attributes[:routing_number] || attributes['routing_number'] || nil @starts_at = attributes[:starts_at] || attributes['starts_at'] || nil @team = attributes[:team] || attributes['team'] || nil @created_by = attributes[:created_by] || attributes['created_by'] || nil end |
Instance Attribute Details
#backstage ⇒ Boolean
14 15 16 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 14 def backstage @backstage end |
#blocked_user_ids ⇒ Array<String>
47 48 49 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 47 def blocked_user_ids @blocked_user_ids end |
#captioning ⇒ Boolean
17 18 19 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 17 def captioning @captioning end |
#channel_cid ⇒ String
53 54 55 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 53 def channel_cid @channel_cid end |
#cid ⇒ String
20 21 22 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 20 def cid @cid end |
#created_at ⇒ DateTime
23 24 25 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 23 def created_at @created_at end |
#created_by ⇒ UserResponse
71 72 73 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 71 def created_by @created_by end |
#current_session_id ⇒ String
26 27 28 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 26 def current_session_id @current_session_id end |
#custom ⇒ Object
50 51 52 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 50 def custom @custom end |
#ended_at ⇒ DateTime
56 57 58 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 56 def ended_at @ended_at end |
#id ⇒ String
29 30 31 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 29 def id @id end |
#join_ahead_time_seconds ⇒ Integer
59 60 61 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 59 def join_ahead_time_seconds @join_ahead_time_seconds end |
#recording ⇒ Boolean
32 33 34 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 32 def recording @recording end |
#routing_number ⇒ String
62 63 64 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 62 def routing_number @routing_number end |
#starts_at ⇒ DateTime
65 66 67 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 65 def starts_at @starts_at end |
#team ⇒ String
68 69 70 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 68 def team @team end |
#transcribing ⇒ Boolean
35 36 37 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 35 def transcribing @transcribing end |
#translating ⇒ Boolean
38 39 40 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 38 def translating @translating end |
#type ⇒ String
41 42 43 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 41 def type @type end |
#updated_at ⇒ DateTime
44 45 46 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 44 def updated_at @updated_at end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/getstream_ruby/generated/models/moderation_call_response.rb', line 99 def self.json_field_mappings { backstage: 'backstage', captioning: 'captioning', cid: 'cid', created_at: 'created_at', current_session_id: 'current_session_id', id: 'id', recording: 'recording', transcribing: 'transcribing', translating: 'translating', type: 'type', updated_at: 'updated_at', blocked_user_ids: 'blocked_user_ids', custom: 'custom', channel_cid: 'channel_cid', ended_at: 'ended_at', join_ahead_time_seconds: 'join_ahead_time_seconds', routing_number: 'routing_number', starts_at: 'starts_at', team: 'team', created_by: 'created_by' } end |