Class TranscriptionRetrieveResponse
-
- All Implemented Interfaces:
public final class TranscriptionRetrieveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTranscriptionRetrieveResponse.BuilderA builder for TranscriptionRetrieveResponse.
public final classTranscriptionRetrieveResponse.StatusCurrent status of the transcription job
-
Method Summary
Modifier and Type Method Description final Stringid()Unique transcription job ID final TranscriptionRetrieveResponse.Statusstatus()Current status of the transcription job final Optional<Double>audioDuration()Duration of the audio file in seconds final Optional<Double>confidence()Overall confidence score (0-100) final Optional<String>error()Error message (only present when status is failed) final Optional<String>resultObjectId()Result transcript object ID (vault-based jobs, when completed) final Optional<String>sourceObjectId()Source audio object ID (vault-based jobs only) final Optional<String>text()Full transcription text (only included when include_text=true for vault-based jobs, or for legacy direct URL jobs) final Optional<String>vaultId()Vault ID (vault-based jobs only) final Optional<Long>wordCount()Number of words in the transcript final Optional<List<JsonValue>>words()Word-level timestamps (legacy direct URL jobs only) final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<TranscriptionRetrieveResponse.Status>_status()Returns the raw JSON value of status. final JsonField<Double>_audioDuration()Returns the raw JSON value of audioDuration. final JsonField<Double>_confidence()Returns the raw JSON value of confidence. final JsonField<String>_error()Returns the raw JSON value of error. final JsonField<String>_resultObjectId()Returns the raw JSON value of resultObjectId. final JsonField<String>_sourceObjectId()Returns the raw JSON value of sourceObjectId. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<String>_vaultId()Returns the raw JSON value of vaultId. final JsonField<Long>_wordCount()Returns the raw JSON value of wordCount. final JsonField<List<JsonValue>>_words()Returns the raw JSON value of words. final Map<String, JsonValue>_additionalProperties()final TranscriptionRetrieveResponse.BuildertoBuilder()final TranscriptionRetrieveResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TranscriptionRetrieveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of TranscriptionRetrieveResponse. -
-
Method Detail
-
status
final TranscriptionRetrieveResponse.Status status()
Current status of the transcription job
-
audioDuration
final Optional<Double> audioDuration()
Duration of the audio file in seconds
-
confidence
final Optional<Double> confidence()
Overall confidence score (0-100)
-
resultObjectId
final Optional<String> resultObjectId()
Result transcript object ID (vault-based jobs, when completed)
-
sourceObjectId
final Optional<String> sourceObjectId()
Source audio object ID (vault-based jobs only)
-
text
final Optional<String> text()
Full transcription text (only included when include_text=true for vault-based jobs, or for legacy direct URL jobs)
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<TranscriptionRetrieveResponse.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_audioDuration
final JsonField<Double> _audioDuration()
Returns the raw JSON value of audioDuration.
Unlike audioDuration, this method doesn't throw if the JSON field has an unexpected type.
-
_confidence
final JsonField<Double> _confidence()
Returns the raw JSON value of confidence.
Unlike confidence, this method doesn't throw if the JSON field has an unexpected type.
-
_error
final JsonField<String> _error()
Returns the raw JSON value of error.
Unlike error, this method doesn't throw if the JSON field has an unexpected type.
-
_resultObjectId
final JsonField<String> _resultObjectId()
Returns the raw JSON value of resultObjectId.
Unlike resultObjectId, this method doesn't throw if the JSON field has an unexpected type.
-
_sourceObjectId
final JsonField<String> _sourceObjectId()
Returns the raw JSON value of sourceObjectId.
Unlike sourceObjectId, this method doesn't throw if the JSON field has an unexpected type.
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_vaultId
final JsonField<String> _vaultId()
Returns the raw JSON value of vaultId.
Unlike vaultId, this method doesn't throw if the JSON field has an unexpected type.
-
_wordCount
final JsonField<Long> _wordCount()
Returns the raw JSON value of wordCount.
Unlike wordCount, this method doesn't throw if the JSON field has an unexpected type.
-
_words
final JsonField<List<JsonValue>> _words()
Returns the raw JSON value of words.
Unlike words, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TranscriptionRetrieveResponse.Builder toBuilder()
-
validate
final TranscriptionRetrieveResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static TranscriptionRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of TranscriptionRetrieveResponse.
The following fields are required:
.id() .status()
-
-
-
-