Record Class MailActionPreviewResource.MailPreviewResponseBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.mail.MailActionPreviewResource.MailPreviewResponseBean
- Enclosing class:
MailActionPreviewResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbcc()Returns the value of thebccrecord component.cc()Returns the value of theccrecord component.final booleanIndicates whether some other object is "equal to" this one.from()Returns the value of thefromrecord component.final inthashCode()Returns a hash code value for this object.html()Returns the value of thehtmlrecord component.raw()Returns the value of therawrecord component.Returns the value of therelatedEntityDisplayrecord component.Returns the value of therelatedEntityModelrecord component.intReturns the value of thesourceCountrecord component.subject()Returns the value of thesubjectrecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MailPreviewResponseBean
public MailPreviewResponseBean(String relatedEntityDisplay, String relatedEntityModel, String from, String to, String cc, String bcc, String subject, String html, String raw, int sourceCount) Creates an instance of aMailPreviewResponseBeanrecord class.- Parameters:
relatedEntityDisplay- the value for therelatedEntityDisplayrecord componentrelatedEntityModel- the value for therelatedEntityModelrecord componentfrom- the value for thefromrecord componentto- the value for thetorecord componentcc- the value for theccrecord componentbcc- the value for thebccrecord componentsubject- the value for thesubjectrecord componenthtml- the value for thehtmlrecord componentraw- the value for therawrecord componentsourceCount- the value for thesourceCountrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
from
Returns the value of thefromrecord component.- Returns:
- the value of the
fromrecord component
-
to
Returns the value of thetorecord component.- Returns:
- the value of the
torecord component
-
cc
Returns the value of theccrecord component.- Returns:
- the value of the
ccrecord component
-
bcc
Returns the value of thebccrecord component.- Returns:
- the value of the
bccrecord component
-
subject
Returns the value of thesubjectrecord component.- Returns:
- the value of the
subjectrecord component
-
html
Returns the value of thehtmlrecord component.- Returns:
- the value of the
htmlrecord component
-
raw
Returns the value of therawrecord component.- Returns:
- the value of the
rawrecord component
-
sourceCount
public int sourceCount()Returns the value of thesourceCountrecord component.- Returns:
- the value of the
sourceCountrecord component
-