Class TaskResultRequest
java.lang.Object
ai.docling.serve.api.task.request.TaskResultRequest
Represents a request to retrieve the result of a task.
This class is used to encapsulate the necessary information required to
request the result corresponding to the task identified by its unique task ID.
Instances of this class are immutable and can be built using the provided
builder methods.
Attributes:
- `taskId`: The unique identifier of the task whose result is being requested.
This field is mandatory and must not be null.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classBuilder for creatingTaskResultRequestinstances. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull TaskResultRequest.Builderbuilder()@NonNull StringThe unique identifier of the task whose result is being requested.@NonNull TaskResultRequest.Builder@NonNull StringtoString()