Class ArtifactRef
java.lang.Object
ai.docling.serve.api.convert.response.ArtifactRef
Represents a reference to a single output artifact returned as a presigned URL.
Serialization uses JsonInclude.Include.NON_EMPTY, so nulls and empty
fields are omitted from JSON output.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ArtifactRef.Builderbuilder()@NonNull ArtifactTypeExport format of the artifact.@NonNull StringMIME type of the artifact content.@NonNull URIgetUri()Presigned URL used to download the artifact.@Nullable InstantInstant at which the presigned URL signature stops being valid.@NonNull ArtifactRef.Builder@NonNull StringtoString()
-
Method Details
-
builder
-
toBuilder
-
getArtifactType
Export format of the artifact.- Returns:
- the artifact type
-
getMimeType
MIME type of the artifact content.- Returns:
- the MIME type
-
getUri
Presigned URL used to download the artifact.- Returns:
- the presigned URL
-
getUrlExpiresAt
Instant at which the presigned URL signature stops being valid.- Returns:
- the expiry timestamp
-
toString
-