Class ConvertDocumentResponse
java.lang.Object
ai.docling.serve.api.convert.response.ConvertDocumentResponse
- Direct Known Subclasses:
InBodyConvertDocumentResponse,PreSignedUrlConvertDocumentResponse,PreSignedUrlConvertResponse,ZipArchiveConvertDocumentResponse
public abstract sealed class ConvertDocumentResponse
extends Object
permits InBodyConvertDocumentResponse, PreSignedUrlConvertDocumentResponse, PreSignedUrlConvertResponse, ZipArchiveConvertDocumentResponse
Abstract response returned by the Convert API for a single conversion request.
Deserialization uses explicit custom deserializers that dispatch to the correct concrete subtype based on distinguishing JSON fields.
Serialization uses JsonInclude.Include.NON_EMPTY, so nulls and empty
collections/strings are omitted from JSON output.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConvertDocumentResponse
public ConvertDocumentResponse()
-
-
Method Details
-
getResponseType
Type of response- Returns:
- the response type
-