Class: SurgeAPI::Models::RecordingRetrieveResponse::Call
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SurgeAPI::Models::RecordingRetrieveResponse::Call
- Defined in:
- lib/surge_api/models/recording_retrieve_response.rb
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#contact ⇒ SurgeAPI::Models::Contact
A contact who has consented to receive messages.
-
#duration ⇒ Integer
The duration of the call in seconds.
-
#id ⇒ String
The unique identifier for the call.
-
#initiated_at ⇒ Time
When the call was initiated.
-
#status ⇒ Symbol, SurgeAPI::Models::RecordingRetrieveResponse::Call::Status
The status of the call.
Instance Method Summary collapse
-
#initialize(id:, contact:, duration:, initiated_at:, status:) ⇒ Object
constructor
The call that produced this recording.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, contact:, duration:, initiated_at:, status:) ⇒ Object
The call that produced this recording
|
|
# File 'lib/surge_api/models/recording_retrieve_response.rb', line 66
|
Instance Attribute Details
#contact ⇒ SurgeAPI::Models::Contact
A contact who has consented to receive messages
46 |
# File 'lib/surge_api/models/recording_retrieve_response.rb', line 46 required :contact, -> { SurgeAPI::Contact } |
#duration ⇒ Integer
The duration of the call in seconds
52 |
# File 'lib/surge_api/models/recording_retrieve_response.rb', line 52 required :duration, Integer |
#id ⇒ String
The unique identifier for the call
40 |
# File 'lib/surge_api/models/recording_retrieve_response.rb', line 40 required :id, String |
#initiated_at ⇒ Time
When the call was initiated
58 |
# File 'lib/surge_api/models/recording_retrieve_response.rb', line 58 required :initiated_at, Time |
#status ⇒ Symbol, SurgeAPI::Models::RecordingRetrieveResponse::Call::Status
The status of the call
64 |
# File 'lib/surge_api/models/recording_retrieve_response.rb', line 64 required :status, enum: -> { SurgeAPI::Models::RecordingRetrieveResponse::Call::Status } |