Package com.openai.models
Class AudioTranscriptionCreateResponse
-
- All Implemented Interfaces:
public final class AudioTranscriptionCreateResponseRepresents a transcription response returned by model, based on the provided input.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAudioTranscriptionCreateResponse.VisitorAn interface that defines how to map each variant of AudioTranscriptionCreateResponse to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<Transcription>transcription()Represents a transcription response returned by model, based on the provided input. final Optional<TranscriptionVerbose>transcriptionVerbose()Represents a verbose json transcription response returned by model, based on the provided input. final BooleanisTranscription()final BooleanisTranscriptionVerbose()final TranscriptionasTranscription()Represents a transcription response returned by model, based on the provided input. final TranscriptionVerboseasTranscriptionVerbose()Represents a verbose json transcription response returned by model, based on the provided input. final Optional<JsonValue>_json()final <T extends Any> Taccept(AudioTranscriptionCreateResponse.Visitor<T> visitor)final AudioTranscriptionCreateResponsevalidate()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AudioTranscriptionCreateResponseofTranscription(Transcription transcription)Represents a transcription response returned by model, based on the provided input. final static AudioTranscriptionCreateResponseofTranscriptionVerbose(TranscriptionVerbose transcriptionVerbose)Represents a verbose json transcription response returned by model, based on the provided input. -
-
Method Detail
-
transcription
final Optional<Transcription> transcription()
Represents a transcription response returned by model, based on the provided input.
-
transcriptionVerbose
final Optional<TranscriptionVerbose> transcriptionVerbose()
Represents a verbose json transcription response returned by model, based on the provided input.
-
isTranscription
final Boolean isTranscription()
-
isTranscriptionVerbose
final Boolean isTranscriptionVerbose()
-
asTranscription
final Transcription asTranscription()
Represents a transcription response returned by model, based on the provided input.
-
asTranscriptionVerbose
final TranscriptionVerbose asTranscriptionVerbose()
Represents a verbose json transcription response returned by model, based on the provided input.
-
accept
final <T extends Any> T accept(AudioTranscriptionCreateResponse.Visitor<T> visitor)
-
validate
final AudioTranscriptionCreateResponse validate()
-
ofTranscription
final static AudioTranscriptionCreateResponse ofTranscription(Transcription transcription)
Represents a transcription response returned by model, based on the provided input.
-
ofTranscriptionVerbose
final static AudioTranscriptionCreateResponse ofTranscriptionVerbose(TranscriptionVerbose transcriptionVerbose)
Represents a verbose json transcription response returned by model, based on the provided input.
-
-
-
-