Record Class TextExtractionRequest.TextExtractionSteps
java.lang.Object
java.lang.Record
io.quarkiverse.langchain4j.watsonx.bean.TextExtractionRequest.TextExtractionSteps
- Enclosing class:
TextExtractionRequest
public static record TextExtractionRequest.TextExtractionSteps(TextExtractionRequest.TextExtractionStepOcr ocr, TextExtractionRequest.TextExtractionStepTablesProcessing tablesProcessing)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTextExtractionSteps
(TextExtractionRequest.TextExtractionStepOcr ocr, TextExtractionRequest.TextExtractionStepTablesProcessing tablesProcessing) Creates an instance of aTextExtractionSteps
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.ocr()
Returns the value of theocr
record component.Returns the value of thetablesProcessing
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
TextExtractionSteps
public TextExtractionSteps(TextExtractionRequest.TextExtractionStepOcr ocr, TextExtractionRequest.TextExtractionStepTablesProcessing tablesProcessing) Creates an instance of aTextExtractionSteps
record class.- Parameters:
ocr
- the value for theocr
record componenttablesProcessing
- the value for thetablesProcessing
record component
-
-
Method Details
-
of
public static TextExtractionRequest.TextExtractionSteps of(List<String> languages, boolean tableProcessing) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
ocr
Returns the value of theocr
record component.- Returns:
- the value of the
ocr
record component
-
tablesProcessing
Returns the value of thetablesProcessing
record component.- Returns:
- the value of the
tablesProcessing
record component
-