Package io.jmix.dynmodelai.model
Record Class ConversationSummary
java.lang.Object
java.lang.Record
io.jmix.dynmodelai.model.ConversationSummary
public record ConversationSummary(UUID id, String title, OffsetDateTime lastModifiedDate, List<String> modelNames)
extends Record
Recorded model names may be incomplete for conversations created before model selection was logged.
-
Constructor Summary
ConstructorsConstructorDescriptionConversationSummary(UUID id, String title, OffsetDateTime lastModifiedDate, List<String> modelNames) Creates an instance of aConversationSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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 thelastModifiedDaterecord component.Returns the value of themodelNamesrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConversationSummary
public ConversationSummary(UUID id, String title, OffsetDateTime lastModifiedDate, List<String> modelNames) Creates an instance of aConversationSummaryrecord class.- Parameters:
id- the value for theidrecord componenttitle- the value for thetitlerecord componentlastModifiedDate- the value for thelastModifiedDaterecord componentmodelNames- the value for themodelNamesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
lastModifiedDate
Returns the value of thelastModifiedDaterecord component.- Returns:
- the value of the
lastModifiedDaterecord component
-
modelNames
Returns the value of themodelNamesrecord component.- Returns:
- the value of the
modelNamesrecord component
-