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 thebcc
record component.cc()
Returns the value of thecc
record component.final boolean
Indicates whether some other object is "equal to" this one.from()
Returns the value of thefrom
record component.final int
hashCode()
Returns a hash code value for this object.html()
Returns the value of thehtml
record component.raw()
Returns the value of theraw
record component.Returns the value of therelatedEntityDisplay
record component.subject()
Returns the value of thesubject
record component.to()
Returns the value of theto
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
MailPreviewResponseBean
public MailPreviewResponseBean(String relatedEntityDisplay, String from, String to, String cc, String bcc, String subject, String html, String raw) Creates an instance of aMailPreviewResponseBean
record class.- Parameters:
relatedEntityDisplay
- the value for therelatedEntityDisplay
record componentfrom
- the value for thefrom
record componentto
- the value for theto
record componentcc
- the value for thecc
record componentbcc
- the value for thebcc
record componentsubject
- the value for thesubject
record componenthtml
- the value for thehtml
record componentraw
- the value for theraw
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
from
Returns the value of thefrom
record component.- Returns:
- the value of the
from
record component
-
to
Returns the value of theto
record component.- Returns:
- the value of the
to
record component
-
cc
Returns the value of thecc
record component.- Returns:
- the value of the
cc
record component
-
bcc
Returns the value of thebcc
record component.- Returns:
- the value of the
bcc
record component
-
subject
Returns the value of thesubject
record component.- Returns:
- the value of the
subject
record component
-
html
Returns the value of thehtml
record component.- Returns:
- the value of the
html
record component
-
raw
Returns the value of theraw
record component.- Returns:
- the value of the
raw
record component
-