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 aTextExtractionMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theprojectIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TextExtractionMetadata
Creates an instance of aTextExtractionMetadatarecord class.- Parameters:
id- the value for theidrecord componentcreatedAt- the value for thecreatedAtrecord componentprojectId- the value for theprojectIdrecord 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 theidrecord component.- Returns:
- the value of the
idrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
projectId
Returns the value of theprojectIdrecord component.- Returns:
- the value of the
projectIdrecord component
-