Package com.openai.models
Class AudioTranscriptionCreateResponse
-
- All Implemented Interfaces:
public final class AudioTranscriptionCreateResponse
Represents a transcription response returned by model, based on the provided input.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
AudioTranscriptionCreateResponse.Visitor
An 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 Boolean
isTranscription()
final Boolean
isTranscriptionVerbose()
final Transcription
asTranscription()
Represents a transcription response returned by model, based on the provided input. final TranscriptionVerbose
asTranscriptionVerbose()
Represents a verbose json transcription response returned by model, based on the provided input. final Optional<JsonValue>
_json()
final <T extends Any> T
accept(AudioTranscriptionCreateResponse.Visitor<T> visitor)
final AudioTranscriptionCreateResponse
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static AudioTranscriptionCreateResponse
ofTranscription(Transcription transcription)
Represents a transcription response returned by model, based on the provided input. final static AudioTranscriptionCreateResponse
ofTranscriptionVerbose(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.
-
-
-
-