Record Class MailActionResource.SendMailRequestBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.mail.MailActionResource.SendMailRequestBean
- Enclosing class:
MailActionResource
public static record MailActionResource.SendMailRequestBean(MailSettings mailSettings, MailSettings.RecipientOptions recipientOptions, EntitySelectionBean selection)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSendMailRequestBean(MailSettings mailSettings, MailSettings.RecipientOptions recipientOptions, EntitySelectionBean selection) Creates an instance of aSendMailRequestBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themailSettingsrecord component.Returns the value of therecipientOptionsrecord component.Returns the value of theselectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SendMailRequestBean
public SendMailRequestBean(MailSettings mailSettings, MailSettings.RecipientOptions recipientOptions, EntitySelectionBean selection) Creates an instance of aSendMailRequestBeanrecord class.- Parameters:
mailSettings- the value for themailSettingsrecord componentrecipientOptions- the value for therecipientOptionsrecord componentselection- the value for theselectionrecord 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). -
mailSettings
Returns the value of themailSettingsrecord component.- Returns:
- the value of the
mailSettingsrecord component
-
recipientOptions
Returns the value of therecipientOptionsrecord component.- Returns:
- the value of the
recipientOptionsrecord component
-
selection
Returns the value of theselectionrecord component.- Returns:
- the value of the
selectionrecord component
-