Record Class MailSettings.AdditionalRecipients
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.mail.MailSettings.AdditionalRecipients
- All Implemented Interfaces:
Serializable
- Enclosing class:
MailSettings
public static record MailSettings.AdditionalRecipients(List<String> singleCopyUser, List<String> singleCopyAddress, List<String> ccUser, List<String> ccAddress, List<String> bccUser, List<String> bccAddress)
extends Record
implements Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebccAddress
record component.bccUser()
Returns the value of thebccUser
record component.Returns the value of theccAddress
record component.ccUser()
Returns the value of theccUser
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thesingleCopyAddress
record component.Returns the value of thesingleCopyUser
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
AdditionalRecipients
public AdditionalRecipients(List<String> singleCopyUser, List<String> singleCopyAddress, List<String> ccUser, List<String> ccAddress, List<String> bccUser, List<String> bccAddress) Creates an instance of aAdditionalRecipients
record class.- Parameters:
singleCopyUser
- the value for thesingleCopyUser
record componentsingleCopyAddress
- the value for thesingleCopyAddress
record componentccUser
- the value for theccUser
record componentccAddress
- the value for theccAddress
record componentbccUser
- the value for thebccUser
record componentbccAddress
- the value for thebccAddress
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)
. -
singleCopyUser
Returns the value of thesingleCopyUser
record component.- Returns:
- the value of the
singleCopyUser
record component
-
singleCopyAddress
Returns the value of thesingleCopyAddress
record component.- Returns:
- the value of the
singleCopyAddress
record component
-
ccUser
Returns the value of theccUser
record component.- Returns:
- the value of the
ccUser
record component
-
ccAddress
Returns the value of theccAddress
record component.- Returns:
- the value of the
ccAddress
record component
-
bccUser
Returns the value of thebccUser
record component.- Returns:
- the value of the
bccUser
record component
-
bccAddress
Returns the value of thebccAddress
record component.- Returns:
- the value of the
bccAddress
record component
-