Class: SurgeAPI::Models::RecordingCompletedWebhookEvent::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SurgeAPI::Models::RecordingCompletedWebhookEvent::Data
- Defined in:
- lib/surge_api/models/recording_completed_webhook_event.rb
Overview
Defined Under Namespace
Classes: Call
Instance Attribute Summary collapse
-
#call ⇒ SurgeAPI::Models::RecordingCompletedWebhookEvent::Data::Call
The call that produced this recording.
-
#duration ⇒ Integer
The duration of the recording in seconds.
-
#id ⇒ String
The unique identifier for the recording.
Instance Method Summary collapse
-
#initialize(id:, call:, duration:) ⇒ Object
constructor
The data associated with the event.
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:, call:, duration:) ⇒ Object
The data associated with the event
|
|
# File 'lib/surge_api/models/recording_completed_webhook_event.rb', line 59
|
Instance Attribute Details
#call ⇒ SurgeAPI::Models::RecordingCompletedWebhookEvent::Data::Call
The call that produced this recording
51 |
# File 'lib/surge_api/models/recording_completed_webhook_event.rb', line 51 required :call, -> { SurgeAPI::RecordingCompletedWebhookEvent::Data::Call } |
#duration ⇒ Integer
The duration of the recording in seconds
57 |
# File 'lib/surge_api/models/recording_completed_webhook_event.rb', line 57 required :duration, Integer |
#id ⇒ String
The unique identifier for the recording
45 |
# File 'lib/surge_api/models/recording_completed_webhook_event.rb', line 45 required :id, String |