Record Class AiAssistantResource.ConversationsBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.aiassistant.impl.rest.AiAssistantResource.ConversationsBean
- Enclosing class:
AiAssistantResource
public static record AiAssistantResource.ConversationsBean(List<ConversationSummary> conversations)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionConversationsBean(List<ConversationSummary> conversations) Creates an instance of aConversationsBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconversationsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConversationsBean
Creates an instance of aConversationsBeanrecord class.- Parameters:
conversations- the value for theconversationsrecord 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). -
conversations
Returns the value of theconversationsrecord component.- Returns:
- the value of the
conversationsrecord component
-