Class: GetStream::Generated::Models::UpdateCallRequest
- Defined in:
- lib/getstream_ruby/generated/models/update_call_request.rb
Overview
Request for updating a call
Instance Attribute Summary collapse
-
#custom ⇒ Object
Custom data for this object.
- #settings_override ⇒ CallSettingsRequest
-
#starts_at ⇒ DateTime
The time the call is scheduled to start.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ UpdateCallRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ UpdateCallRequest
Initialize with attributes
23 24 25 26 27 28 |
# File 'lib/getstream_ruby/generated/models/update_call_request.rb', line 23 def initialize(attributes = {}) super(attributes) @starts_at = attributes[:starts_at] || attributes['starts_at'] || nil @custom = attributes[:custom] || attributes['custom'] || nil @settings_override = attributes[:settings_override] || attributes['settings_override'] || nil end |
Instance Attribute Details
#custom ⇒ Object
Returns Custom data for this object.
17 18 19 |
# File 'lib/getstream_ruby/generated/models/update_call_request.rb', line 17 def custom @custom end |
#settings_override ⇒ CallSettingsRequest
20 21 22 |
# File 'lib/getstream_ruby/generated/models/update_call_request.rb', line 20 def settings_override @settings_override end |
#starts_at ⇒ DateTime
Returns the time the call is scheduled to start.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/update_call_request.rb', line 14 def starts_at @starts_at end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
31 32 33 34 35 36 37 |
# File 'lib/getstream_ruby/generated/models/update_call_request.rb', line 31 def self.json_field_mappings { starts_at: 'starts_at', custom: 'custom', settings_override: 'settings_override' } end |