Class: GetStream::Generated::Models::CallTypeRuleParameters
- Defined in:
- lib/getstream_ruby/generated/models/call_type_rule_parameters.rb
Instance Attribute Summary collapse
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ CallTypeRuleParameters
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ CallTypeRuleParameters
Initialize with attributes
17 18 19 20 |
# File 'lib/getstream_ruby/generated/models/call_type_rule_parameters.rb', line 17 def initialize(attributes = {}) super(attributes) @call_type = attributes[:call_type] || attributes['call_type'] || nil end |
Instance Attribute Details
#call_type ⇒ String
14 15 16 |
# File 'lib/getstream_ruby/generated/models/call_type_rule_parameters.rb', line 14 def call_type @call_type 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/call_type_rule_parameters.rb', line 23 def self.json_field_mappings { call_type: 'call_type' } end |