Record Class ConversationSummary
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.aiassistant.impl.conversation.ConversationSummary
- Record Components:
key- the conversation keylabel- the conversation label (always generated at creation)function- the assistant function the conversation belongs tocreatedAt- when the conversation was startedupdatedAt- the last change to the conversation
-
Constructor Summary
ConstructorsConstructorDescriptionConversationSummary(String key, String label, String function, org.joda.time.DateTime createdAt, org.joda.time.DateTime updatedAt) Creates an instance of aConversationSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTimeReturns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.function()Returns the value of thefunctionrecord component.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.label()Returns the value of thelabelrecord component.final StringtoString()Returns a string representation of this record class.org.joda.time.DateTimeReturns the value of theupdatedAtrecord component.
-
Constructor Details
-
ConversationSummary
-
-
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). -
key
-
label
-
function
-
createdAt
-
updatedAt
-