Class: SurgeAPI::Models::RecordingCompletedWebhookEvent::Data::Call
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SurgeAPI::Models::RecordingCompletedWebhookEvent::Data::Call
- Defined in:
- lib/surge_api/models/recording_completed_webhook_event.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::RecordingCompletedWebhookEvent::Data::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_completed_webhook_event.rb', line 100
|
Instance Attribute Details
#contact ⇒ SurgeAPI::Models::Contact
A contact who has consented to receive messages
80 |
# File 'lib/surge_api/models/recording_completed_webhook_event.rb', line 80 required :contact, -> { SurgeAPI::Contact } |
#duration ⇒ Integer
The duration of the call in seconds
86 |
# File 'lib/surge_api/models/recording_completed_webhook_event.rb', line 86 required :duration, Integer |
#id ⇒ String
The unique identifier for the call
74 |
# File 'lib/surge_api/models/recording_completed_webhook_event.rb', line 74 required :id, String |
#initiated_at ⇒ Time
When the call was initiated
92 |
# File 'lib/surge_api/models/recording_completed_webhook_event.rb', line 92 required :initiated_at, Time |
#status ⇒ Symbol, SurgeAPI::Models::RecordingCompletedWebhookEvent::Data::Call::Status
The status of the call
98 |
# File 'lib/surge_api/models/recording_completed_webhook_event.rb', line 98 required :status, enum: -> { SurgeAPI::RecordingCompletedWebhookEvent::Data::Call::Status } |