Record Class TextExtractionResponse.TextExtractionMetadata
java.lang.Object
java.lang.Record
io.quarkiverse.langchain4j.watsonx.bean.TextExtractionResponse.TextExtractionMetadata
- Enclosing class:
TextExtractionResponse
-
Constructor Summary
ConstructorsConstructorDescriptionTextExtractionMetadata
(String id, Instant createdAt, String projectId) Creates an instance of aTextExtractionMetadata
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedAt
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.Returns the value of theprojectId
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
TextExtractionMetadata
Creates an instance of aTextExtractionMetadata
record class.- Parameters:
id
- the value for theid
record componentcreatedAt
- the value for thecreatedAt
record componentprojectId
- the value for theprojectId
record component
-
-
Method Details
-
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)
. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
createdAt
Returns the value of thecreatedAt
record component.- Returns:
- the value of the
createdAt
record component
-
projectId
Returns the value of theprojectId
record component.- Returns:
- the value of the
projectId
record component
-