Class: Telnyx::Models::CallRecordingSaved

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/call_recording_saved.rb

Defined Under Namespace

Modules: EventType, RecordType Classes: Payload

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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(mp3: nil, wav: nil) ⇒ Object

Recording URLs in requested format. These URLs are valid for 10 minutes. After 10 minutes, you may retrieve recordings via API using Reports -> Call Recordings documentation, or via Mission Control under Reporting -> Recordings.

Parameters:

  • mp3 (String, nil) (defaults to: nil)

    Recording URL in requested ‘mp3` format.

  • wav (String, nil) (defaults to: nil)

    Recording URL in requested ‘wav` format.



# File 'lib/telnyx/models/call_recording_saved.rb', line 35

Instance Attribute Details

#event_typeSymbol, ...

The type of event being delivered.



16
# File 'lib/telnyx/models/call_recording_saved.rb', line 16

optional :event_type, enum: -> { Telnyx::CallRecordingSaved::EventType }

#idString?

Identifies the type of resource.

Returns:

  • (String, nil)


10
# File 'lib/telnyx/models/call_recording_saved.rb', line 10

optional :id, String

#occurred_atTime?

ISO 8601 datetime of when the event occurred.

Returns:

  • (Time, nil)


22
# File 'lib/telnyx/models/call_recording_saved.rb', line 22

optional :occurred_at, Time

#payloadTelnyx::Models::CallRecordingSaved::Payload?



27
# File 'lib/telnyx/models/call_recording_saved.rb', line 27

optional :payload, -> { Telnyx::CallRecordingSaved::Payload }

#record_typeSymbol, ...

Identifies the type of the resource.



33
# File 'lib/telnyx/models/call_recording_saved.rb', line 33

optional :record_type, enum: -> { Telnyx::CallRecordingSaved::RecordType }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/call_recording_saved.rb', line 54