Package com.openai.models.beta.realtime
Class ConversationItemInputAudioTranscriptionFailedEvent.Error
-
- All Implemented Interfaces:
public final class ConversationItemInputAudioTranscriptionFailedEvent.Error
Details of the transcription error.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ConversationItemInputAudioTranscriptionFailedEvent.Error.Builder
A builder for Error.
-
Method Summary
Modifier and Type Method Description final Optional<String>
code()
Error code, if any. final Optional<String>
message()
A human-readable error message. final Optional<String>
param()
Parameter related to the error, if any. final Optional<String>
type()
The type of error. final JsonField<String>
_code()
Returns the raw JSON value of code. final JsonField<String>
_message()
Returns the raw JSON value of message. final JsonField<String>
_param()
Returns the raw JSON value of param. final JsonField<String>
_type()
Returns the raw JSON value of type. final Map<String, JsonValue>
_additionalProperties()
final ConversationItemInputAudioTranscriptionFailedEvent.Error.Builder
toBuilder()
final ConversationItemInputAudioTranscriptionFailedEvent.Error
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ConversationItemInputAudioTranscriptionFailedEvent.Error.Builder
builder()
Returns a mutable builder for constructing an instance of Error. -
-
Method Detail
-
_code
final JsonField<String> _code()
Returns the raw JSON value of code.
Unlike code, this method doesn't throw if the JSON field has an unexpected type.
-
_message
final JsonField<String> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_param
final JsonField<String> _param()
Returns the raw JSON value of param.
Unlike param, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ConversationItemInputAudioTranscriptionFailedEvent.Error.Builder toBuilder()
-
validate
final ConversationItemInputAudioTranscriptionFailedEvent.Error validate()
-
builder
final static ConversationItemInputAudioTranscriptionFailedEvent.Error.Builder builder()
Returns a mutable builder for constructing an instance of Error.
-
-
-
-