Class TranscriptionCreateResponse
-
- All Implemented Interfaces:
public final class TranscriptionCreateResponseRepresents a transcription response returned by model, based on the provided input.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTranscriptionCreateResponse.VisitorAn interface that defines how to map each variant of TranscriptionCreateResponse 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>verbose()Represents a verbose json transcription response returned by model, based on the provided input. final BooleanisTranscription()final BooleanisVerbose()final TranscriptionasTranscription()Represents a transcription response returned by model, based on the provided input. final TranscriptionVerboseasVerbose()Represents a verbose json transcription response returned by model, based on the provided input. final Optional<JsonValue>_json()final <T extends Any> Taccept(TranscriptionCreateResponse.Visitor<T> visitor)final TranscriptionCreateResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TranscriptionCreateResponseofTranscription(Transcription transcription)Represents a transcription response returned by model, based on the provided input. final static TranscriptionCreateResponseofVerbose(TranscriptionVerbose verbose)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.
-
verbose
final Optional<TranscriptionVerbose> verbose()
Represents a verbose json transcription response returned by model, based on the provided input.
-
isTranscription
final Boolean isTranscription()
-
asTranscription
final Transcription asTranscription()
Represents a transcription response returned by model, based on the provided input.
-
asVerbose
final TranscriptionVerbose asVerbose()
Represents a verbose json transcription response returned by model, based on the provided input.
-
accept
final <T extends Any> T accept(TranscriptionCreateResponse.Visitor<T> visitor)
-
validate
final TranscriptionCreateResponse validate()
-
ofTranscription
final static TranscriptionCreateResponse ofTranscription(Transcription transcription)
Represents a transcription response returned by model, based on the provided input.
-
ofVerbose
final static TranscriptionCreateResponse ofVerbose(TranscriptionVerbose verbose)
Represents a verbose json transcription response returned by model, based on the provided input.
-
-
-
-