Package nl.dannyj.mistral.models.ocr
Class OCRUsageInfo
java.lang.Object
nl.dannyj.mistral.models.ocr.OCRUsageInfo
Represents the usage information for an OCR request.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionOCRUsageInfo
(Integer pagesProcessed, Integer docSizeBytes) Creates a newOCRUsageInfo
instance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Document size in bytes.Number of pages processed.int
hashCode()
void
setDocSizeBytes
(Integer docSizeBytes) Document size in bytes.void
setPagesProcessed
(Integer pagesProcessed) Number of pages processed.toString()
-
Constructor Details
-
OCRUsageInfo
public OCRUsageInfo() -
OCRUsageInfo
Creates a newOCRUsageInfo
instance.- Parameters:
pagesProcessed
- Number of pages processed.docSizeBytes
- Document size in bytes.
-
-
Method Details
-
builder
-
getPagesProcessed
Number of pages processed.- Returns:
- The number of pages processed.
-
getDocSizeBytes
Document size in bytes.- Returns:
- The document size in bytes.
-
setPagesProcessed
Number of pages processed. -
setDocSizeBytes
Document size in bytes. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-