Class: Telnyx::Models::RecordingTranscription

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

Overview

Defined Under Namespace

Modules: RecordType, Status

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, created_at: nil, duration_millis: nil, record_type: nil, recording_id: nil, status: nil, transcription_text: nil, updated_at: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::RecordingTranscription for more details.

Parameters:

  • id (String) (defaults to: nil)

    Uniquely identifies the recording transcription.

  • created_at (String) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was created.

  • duration_millis (Integer) (defaults to: nil)

    The duration of the recording transcription in milliseconds.

  • record_type (Symbol, Telnyx::Models::RecordingTranscription::RecordType) (defaults to: nil)
  • recording_id (String) (defaults to: nil)

    Uniquely identifies the recording associated with this transcription.

  • status (Symbol, Telnyx::Models::RecordingTranscription::Status) (defaults to: nil)

    The status of the recording transcription. Only ‘completed` has transcription te

  • transcription_text (String) (defaults to: nil)

    The recording’s transcribed text.

  • updated_at (String) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was updated.



# File 'lib/telnyx/models/recording_transcription.rb', line 55

Instance Attribute Details

#created_atString?

ISO 8601 formatted date indicating when the resource was created.

Returns:

  • (String, nil)


17
# File 'lib/telnyx/models/recording_transcription.rb', line 17

optional :created_at, String

#duration_millisInteger?

The duration of the recording transcription in milliseconds.

Returns:

  • (Integer, nil)


23
# File 'lib/telnyx/models/recording_transcription.rb', line 23

optional :duration_millis, Integer

#idString?

Uniquely identifies the recording transcription.

Returns:

  • (String, nil)


11
# File 'lib/telnyx/models/recording_transcription.rb', line 11

optional :id, String

#record_typeSymbol, ...



28
# File 'lib/telnyx/models/recording_transcription.rb', line 28

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

#recording_idString?

Uniquely identifies the recording associated with this transcription.

Returns:

  • (String, nil)


34
# File 'lib/telnyx/models/recording_transcription.rb', line 34

optional :recording_id, String

#statusSymbol, ...

The status of the recording transcription. Only ‘completed` has transcription text available.



41
# File 'lib/telnyx/models/recording_transcription.rb', line 41

optional :status, enum: -> { Telnyx::RecordingTranscription::Status }

#transcription_textString?

The recording’s transcribed text.

Returns:

  • (String, nil)


47
# File 'lib/telnyx/models/recording_transcription.rb', line 47

optional :transcription_text, String

#updated_atString?

ISO 8601 formatted date indicating when the resource was updated.

Returns:

  • (String, nil)


53
# File 'lib/telnyx/models/recording_transcription.rb', line 53

optional :updated_at, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/recording_transcription.rb', line 81