Class: Telnyx::Models::CallRecordingError

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/call_recording_error.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(id: nil, event_type: nil, occurred_at: nil, payload: nil, record_type: nil) ⇒ Object

Parameters:



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

Instance Attribute Details

#event_typeSymbol, ...

The type of event being delivered.



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

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

#idString?

Identifies the type of resource.

Returns:

  • (String, nil)


10
# File 'lib/telnyx/models/call_recording_error.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_error.rb', line 22

optional :occurred_at, Time

#payloadTelnyx::Models::CallRecordingError::Payload?



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

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

#record_typeSymbol, ...

Identifies the type of the resource.



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

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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