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 newOCRUsageInfoinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanDocument size in bytes.Number of pages processed.inthashCode()voidsetDocSizeBytes(Integer docSizeBytes) Document size in bytes.voidsetPagesProcessed(Integer pagesProcessed) Number of pages processed.toString()
-
Constructor Details
-
OCRUsageInfo
public OCRUsageInfo() -
OCRUsageInfo
Creates a newOCRUsageInfoinstance.- 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
-