Class: GetStream::Generated::Models::SIPCallConfigsRequest
- Defined in:
- lib/getstream_ruby/generated/models/sip_call_configs_request.rb
Overview
Configuration for SIP call settings
Instance Attribute Summary collapse
-
#custom_data ⇒ Object
Custom data associated with the call.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SIPCallConfigsRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ SIPCallConfigsRequest
Initialize with attributes
17 18 19 20 |
# File 'lib/getstream_ruby/generated/models/sip_call_configs_request.rb', line 17 def initialize(attributes = {}) super(attributes) @custom_data = attributes[:custom_data] || attributes['custom_data'] || nil end |
Instance Attribute Details
#custom_data ⇒ Object
14 15 16 |
# File 'lib/getstream_ruby/generated/models/sip_call_configs_request.rb', line 14 def custom_data @custom_data end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
23 24 25 26 27 |
# File 'lib/getstream_ruby/generated/models/sip_call_configs_request.rb', line 23 def self.json_field_mappings { custom_data: 'custom_data' } end |