Record Class RepeatMailActionResource.RepeatMailRequestBean.Recipients

java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.mail.RepeatMailActionResource.RepeatMailRequestBean.Recipients
Enclosing class:
RepeatMailActionResource.RepeatMailRequestBean

public static record RepeatMailActionResource.RepeatMailRequestBean.Recipients(List<String> additionalUser, List<String> additionalAddress, List<String> ccUser, List<String> ccAddress, List<String> bccUser, List<String> bccAddress) extends Record
  • Constructor Details

    • Recipients

      public Recipients(List<String> additionalUser, List<String> additionalAddress, List<String> ccUser, List<String> ccAddress, List<String> bccUser, List<String> bccAddress)
      Creates an instance of a Recipients record class.
      Parameters:
      additionalUser - the value for the additionalUser record component
      additionalAddress - the value for the additionalAddress 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

    • anyRecipientSet

      public boolean anyRecipientSet()
    • 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.
    • additionalUser

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

      public List<String> additionalAddress()
      Returns the value of the additionalAddress record component.
      Returns:
      the value of the additionalAddress 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