Class: GetStream::Generated::Models::QueryCallRingAttemptsRequest
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::QueryCallRingAttemptsRequest
- Defined in:
- lib/getstream_ruby/generated/models/query_call_ring_attempts_request.rb
Instance Attribute Summary collapse
-
#call_session_id ⇒ String
Limit the attempts to one call session; omit to read every session of the call.
-
#id ⇒ String
Call ID.
-
#type ⇒ String
The type of call.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ QueryCallRingAttemptsRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ QueryCallRingAttemptsRequest
Initialize with attributes
23 24 25 26 27 28 |
# File 'lib/getstream_ruby/generated/models/query_call_ring_attempts_request.rb', line 23 def initialize(attributes = {}) super(attributes) @id = attributes.fetch(:id) { attributes.fetch('id', nil) } @type = attributes.fetch(:type) { attributes.fetch('type', nil) } @call_session_id = attributes.fetch(:call_session_id) { attributes.fetch('call_session_id', nil) } end |
Instance Attribute Details
#call_session_id ⇒ String
Returns Limit the attempts to one call session; omit to read every session of the call.
20 21 22 |
# File 'lib/getstream_ruby/generated/models/query_call_ring_attempts_request.rb', line 20 def call_session_id @call_session_id end |
#id ⇒ String
Returns Call ID.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/query_call_ring_attempts_request.rb', line 14 def id @id end |
#type ⇒ String
Returns The type of call.
17 18 19 |
# File 'lib/getstream_ruby/generated/models/query_call_ring_attempts_request.rb', line 17 def type @type 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/query_call_ring_attempts_request.rb', line 31 def self.json_field_mappings { id: 'id', type: 'type', call_session_id: 'call_session_id' } end |