Class: OpenAI::Models::Realtime::ConversationItemInputAudioTranscriptionFailedEvent::Error

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/realtime/conversation_item_input_audio_transcription_failed_event.rb

Overview

See Also:

Instance Attribute 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(code: nil, message: nil, param: nil, type: nil) ⇒ Object

Details of the transcription error.

Parameters:

  • code (String) (defaults to: nil)

    Error code, if any.

  • message (String) (defaults to: nil)

    A human-readable error message.

  • param (String) (defaults to: nil)

    Parameter related to the error, if any.

  • type (String) (defaults to: nil)

    The type of error.



# File 'lib/openai/models/realtime/conversation_item_input_audio_transcription_failed_event.rb', line 82

Instance Attribute Details

#codeString?

Error code, if any.

Returns:

  • (String, nil)


62
# File 'lib/openai/models/realtime/conversation_item_input_audio_transcription_failed_event.rb', line 62

optional :code, String

#messageString?

A human-readable error message.

Returns:

  • (String, nil)


68
# File 'lib/openai/models/realtime/conversation_item_input_audio_transcription_failed_event.rb', line 68

optional :message, String

#paramString?

Parameter related to the error, if any.

Returns:

  • (String, nil)


74
# File 'lib/openai/models/realtime/conversation_item_input_audio_transcription_failed_event.rb', line 74

optional :param, String

#typeString?

The type of error.

Returns:

  • (String, nil)


80
# File 'lib/openai/models/realtime/conversation_item_input_audio_transcription_failed_event.rb', line 80

optional :type, String