Record Class CreateMailArchiveEntryTask.Result
java.lang.Object
java.lang.Record
ch.tocco.nice2.messaging.mail.impl.CreateMailArchiveEntryTask.Result
- Enclosing class:
CreateMailArchiveEntryTask
public static record CreateMailArchiveEntryTask.Result(Entity mailEntity, List<MailArchive.AttachmentValue> attachments)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResult(Entity mailEntity, List<MailArchive.AttachmentValue> attachments) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattachmentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themailEntityrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
Creates an instance of aResultrecord class.- Parameters:
mailEntity- the value for themailEntityrecord componentattachments- the value for theattachmentsrecord 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). -
mailEntity
Returns the value of themailEntityrecord component.- Returns:
- the value of the
mailEntityrecord component
-
attachments
Returns the value of theattachmentsrecord component.- Returns:
- the value of the
attachmentsrecord component
-