Record Class MailArchive.AttachmentValue
java.lang.Object
java.lang.Record
ch.tocco.nice2.messaging.mail.api.MailArchive.AttachmentValue
- Enclosing interface:
MailArchive
-
Constructor Summary
ConstructorsConstructorDescriptionAttachmentValue(Entity entity, String attachmentId, String niceUrl) Creates an instance of aAttachmentValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattachmentIdrecord component.entity()Returns the value of theentityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.niceUrl()Returns the value of theniceUrlrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AttachmentValue
Creates an instance of aAttachmentValuerecord class.- Parameters:
entity- the value for theentityrecord componentattachmentId- the value for theattachmentIdrecord componentniceUrl- the value for theniceUrlrecord 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). -
entity
Returns the value of theentityrecord component.- Returns:
- the value of the
entityrecord component
-
attachmentId
Returns the value of theattachmentIdrecord component.- Returns:
- the value of the
attachmentIdrecord component
-
niceUrl
Returns the value of theniceUrlrecord component.- Returns:
- the value of the
niceUrlrecord component
-