Class ObjectRetrieveResponse
-
- All Implemented Interfaces:
public final class ObjectRetrieveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classObjectRetrieveResponse.BuilderA builder for ObjectRetrieveResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()Object ID final StringcontentType()MIME type final OffsetDateTimecreatedAt()Upload timestamp final StringdownloadUrl()Presigned S3 download URL final LongexpiresIn()URL expiration time in seconds final Stringfilename()Original filename final StringingestionStatus()Processing status (pending, processing, completed, failed) final StringvaultId()Vault ID final Optional<Long>chunkCount()Number of text chunks created final Optional<String>ingestionError()Error details when ingestion fails final JsonValue_metadata()Additional metadataThis arbitrary value can be deserialized into a custom type using the convertmethod:MyClass myObject = objectRetrieveResponse.metadata().convert(MyClass.class);final Optional<Long>pageCount()Number of pages (for documents) final Optional<String>path()Optional folder path for hierarchy preservation final Optional<Long>sizeBytes()File size in bytes final Optional<Long>textLength()Length of extracted text final Optional<String>transcriptObjectId()Object ID of the completed transcript (if available) final Optional<Long>vectorCount()Number of embedding vectors generated final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_contentType()Returns the raw JSON value of contentType. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_downloadUrl()Returns the raw JSON value of downloadUrl. final JsonField<Long>_expiresIn()Returns the raw JSON value of expiresIn. final JsonField<String>_filename()Returns the raw JSON value of filename. final JsonField<String>_ingestionStatus()Returns the raw JSON value of ingestionStatus. final JsonField<String>_vaultId()Returns the raw JSON value of vaultId. final JsonField<Long>_chunkCount()Returns the raw JSON value of chunkCount. final JsonField<String>_ingestionError()Returns the raw JSON value of ingestionError. final JsonField<Long>_pageCount()Returns the raw JSON value of pageCount. final JsonField<String>_path()Returns the raw JSON value of path. final JsonField<Long>_sizeBytes()Returns the raw JSON value of sizeBytes. final JsonField<Long>_textLength()Returns the raw JSON value of textLength. final JsonField<String>_transcriptObjectId()Returns the raw JSON value of transcriptObjectId. final JsonField<Long>_vectorCount()Returns the raw JSON value of vectorCount. final Map<String, JsonValue>_additionalProperties()final ObjectRetrieveResponse.BuildertoBuilder()final ObjectRetrieveResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ObjectRetrieveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of ObjectRetrieveResponse. -
-
Method Detail
-
contentType
final String contentType()
MIME type
-
createdAt
final OffsetDateTime createdAt()
Upload timestamp
-
downloadUrl
final String downloadUrl()
Presigned S3 download URL
-
ingestionStatus
final String ingestionStatus()
Processing status (pending, processing, completed, failed)
-
chunkCount
final Optional<Long> chunkCount()
Number of text chunks created
-
ingestionError
final Optional<String> ingestionError()
Error details when ingestion fails
-
_metadata
final JsonValue _metadata()
Additional metadata
This arbitrary value can be deserialized into a custom type using the
convertmethod:MyClass myObject = objectRetrieveResponse.metadata().convert(MyClass.class);
-
textLength
final Optional<Long> textLength()
Length of extracted text
-
transcriptObjectId
final Optional<String> transcriptObjectId()
Object ID of the completed transcript (if available)
-
vectorCount
final Optional<Long> vectorCount()
Number of embedding vectors generated
-
_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.
-
_contentType
final JsonField<String> _contentType()
Returns the raw JSON value of contentType.
Unlike contentType, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_downloadUrl
final JsonField<String> _downloadUrl()
Returns the raw JSON value of downloadUrl.
Unlike downloadUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_expiresIn
final JsonField<Long> _expiresIn()
Returns the raw JSON value of expiresIn.
Unlike expiresIn, this method doesn't throw if the JSON field has an unexpected type.
-
_filename
final JsonField<String> _filename()
Returns the raw JSON value of filename.
Unlike filename, this method doesn't throw if the JSON field has an unexpected type.
-
_ingestionStatus
final JsonField<String> _ingestionStatus()
Returns the raw JSON value of ingestionStatus.
Unlike ingestionStatus, 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.
-
_chunkCount
final JsonField<Long> _chunkCount()
Returns the raw JSON value of chunkCount.
Unlike chunkCount, this method doesn't throw if the JSON field has an unexpected type.
-
_ingestionError
final JsonField<String> _ingestionError()
Returns the raw JSON value of ingestionError.
Unlike ingestionError, this method doesn't throw if the JSON field has an unexpected type.
-
_pageCount
final JsonField<Long> _pageCount()
Returns the raw JSON value of pageCount.
Unlike pageCount, this method doesn't throw if the JSON field has an unexpected type.
-
_path
final JsonField<String> _path()
Returns the raw JSON value of path.
Unlike path, this method doesn't throw if the JSON field has an unexpected type.
-
_sizeBytes
final JsonField<Long> _sizeBytes()
Returns the raw JSON value of sizeBytes.
Unlike sizeBytes, this method doesn't throw if the JSON field has an unexpected type.
-
_textLength
final JsonField<Long> _textLength()
Returns the raw JSON value of textLength.
Unlike textLength, this method doesn't throw if the JSON field has an unexpected type.
-
_transcriptObjectId
final JsonField<String> _transcriptObjectId()
Returns the raw JSON value of transcriptObjectId.
Unlike transcriptObjectId, this method doesn't throw if the JSON field has an unexpected type.
-
_vectorCount
final JsonField<Long> _vectorCount()
Returns the raw JSON value of vectorCount.
Unlike vectorCount, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ObjectRetrieveResponse.Builder toBuilder()
-
validate
final ObjectRetrieveResponse validate()
-
builder
final static ObjectRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of ObjectRetrieveResponse.
The following fields are required:
.id() .contentType() .createdAt() .downloadUrl() .expiresIn() .filename() .ingestionStatus() .vaultId()
-
-
-
-