Record Class RepeatMailActionResource.RepeatMailRequestBean.RepeatMailSettings
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.mail.RepeatMailActionResource.RepeatMailRequestBean.RepeatMailSettings
- Enclosing class:
RepeatMailActionResource.RepeatMailRequestBean
public static record RepeatMailActionResource.RepeatMailRequestBean.RepeatMailSettings(String provider, String senderId, @Nullable org.joda.time.LocalDate expiryDate, boolean keepRecipients, RepeatMailActionResource.RepeatMailRequestBean.Recipients recipients)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRepeatMailSettings(String provider, String senderId, @Nullable org.joda.time.LocalDate expiryDate, boolean keepRecipients, RepeatMailActionResource.RepeatMailRequestBean.Recipients recipients) Creates an instance of aRepeatMailSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable org.joda.time.LocalDateReturns the value of theexpiryDaterecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thekeepRecipientsrecord component.provider()Returns the value of theproviderrecord component.Returns the value of therecipientsrecord component.senderId()Returns the value of thesenderIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RepeatMailSettings
public RepeatMailSettings(String provider, String senderId, @Nullable org.joda.time.LocalDate expiryDate, boolean keepRecipients, RepeatMailActionResource.RepeatMailRequestBean.Recipients recipients) Creates an instance of aRepeatMailSettingsrecord class.- Parameters:
provider- the value for theproviderrecord componentsenderId- the value for thesenderIdrecord componentexpiryDate- the value for theexpiryDaterecord componentkeepRecipients- the value for thekeepRecipientsrecord componentrecipients- the value for therecipientsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
senderId
Returns the value of thesenderIdrecord component.- Returns:
- the value of the
senderIdrecord component
-
expiryDate
public @Nullable org.joda.time.LocalDate expiryDate()Returns the value of theexpiryDaterecord component.- Returns:
- the value of the
expiryDaterecord component
-
keepRecipients
public boolean keepRecipients()Returns the value of thekeepRecipientsrecord component.- Returns:
- the value of the
keepRecipientsrecord component
-
recipients
Returns the value of therecipientsrecord component.- Returns:
- the value of the
recipientsrecord component
-