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 Details

  • 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 a AdditionalRecipients record class.
      Parameters:
      singleCopyUser - the value for the singleCopyUser record component
      singleCopyAddress - the value for the singleCopyAddress record component
      ccUser - the value for the ccUser record component
      ccAddress - the value for the ccAddress record component
      bccUser - the value for the bccUser record component
      bccAddress - the value for the bccAddress record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • singleCopyUser

      public List<String> singleCopyUser()
      Returns the value of the singleCopyUser record component.
      Returns:
      the value of the singleCopyUser record component
    • singleCopyAddress

      public List<String> singleCopyAddress()
      Returns the value of the singleCopyAddress record component.
      Returns:
      the value of the singleCopyAddress record component
    • ccUser

      public List<String> ccUser()
      Returns the value of the ccUser record component.
      Returns:
      the value of the ccUser record component
    • ccAddress

      public List<String> ccAddress()
      Returns the value of the ccAddress record component.
      Returns:
      the value of the ccAddress record component
    • bccUser

      public List<String> bccUser()
      Returns the value of the bccUser record component.
      Returns:
      the value of the bccUser record component
    • bccAddress

      public List<String> bccAddress()
      Returns the value of the bccAddress record component.
      Returns:
      the value of the bccAddress record component