Class ClearResponse

java.lang.Object
ai.docling.serve.api.clear.response.ClearResponse

public class ClearResponse extends Object
Represents the response returned when performing a "clear" operation within the Docling API. This response typically communicates the status of the clear operation, indicating success, failure, or other relevant information. The response includes a status field, which may provide additional details about the operation's outcome. The status field is optional and may be null or empty if no specific status message is provided. This class is immutable and is constructed using the ClearResponse.Builder.
  • Method Details

    • builder

      public static @NonNull ClearResponse.Builder builder()
    • toBuilder

      public @NonNull ClearResponse.Builder toBuilder()
    • getStatus

      public @Nullable String getStatus()
      Status of the clear operation.
      Returns:
      the status message, or null if not provided
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object