Record Class MailActionResource.InitializeMailResponseBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.mail.MailActionResource.InitializeMailResponseBean
- Enclosing class:
MailActionResource
public static record MailActionResource.InitializeMailResponseBean(List<String> recipientLocales, List<MailActionResource.InitializeMailResponseBean.LookupEntityBean> locales, List<MailActionResource.InitializeMailResponseBean.LookupEntityBean> providers, @Nullable MailActionResource.InitializeMailResponseBean.DefaultTemplateBean defaultTemplate, Map<String,List<MailProvider.AllowedEmailSender>> emailSenders, List<String> readonlyAttachments, FormProperties formProperties, boolean extendedRecipientsAvailable)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionInitializeMailResponseBean(List<String> recipientLocales, List<MailActionResource.InitializeMailResponseBean.LookupEntityBean> locales, List<MailActionResource.InitializeMailResponseBean.LookupEntityBean> providers, @Nullable MailActionResource.InitializeMailResponseBean.DefaultTemplateBean defaultTemplate, Map<String, List<MailProvider.AllowedEmailSender>> emailSenders, List<String> readonlyAttachments, FormProperties formProperties, boolean extendedRecipientsAvailable) Creates an instance of aInitializeMailResponseBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefaultTemplaterecord component.Returns the value of theemailSendersrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theextendedRecipientsAvailablerecord component.Returns the value of theformPropertiesrecord component.final inthashCode()Returns a hash code value for this object.locales()Returns the value of thelocalesrecord component.Returns the value of theprovidersrecord component.Returns the value of thereadonlyAttachmentsrecord component.Returns the value of therecipientLocalesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InitializeMailResponseBean
public InitializeMailResponseBean(List<String> recipientLocales, List<MailActionResource.InitializeMailResponseBean.LookupEntityBean> locales, List<MailActionResource.InitializeMailResponseBean.LookupEntityBean> providers, @Nullable @Nullable MailActionResource.InitializeMailResponseBean.DefaultTemplateBean defaultTemplate, Map<String, List<MailProvider.AllowedEmailSender>> emailSenders, List<String> readonlyAttachments, FormProperties formProperties, boolean extendedRecipientsAvailable) Creates an instance of aInitializeMailResponseBeanrecord class.- Parameters:
recipientLocales- the value for therecipientLocalesrecord componentlocales- the value for thelocalesrecord componentproviders- the value for theprovidersrecord componentdefaultTemplate- the value for thedefaultTemplaterecord componentemailSenders- the value for theemailSendersrecord componentreadonlyAttachments- the value for thereadonlyAttachmentsrecord componentformProperties- the value for theformPropertiesrecord componentextendedRecipientsAvailable- the value for theextendedRecipientsAvailablerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
recipientLocales
Returns the value of therecipientLocalesrecord component.- Returns:
- the value of the
recipientLocalesrecord component
-
locales
Returns the value of thelocalesrecord component.- Returns:
- the value of the
localesrecord component
-
providers
Returns the value of theprovidersrecord component.- Returns:
- the value of the
providersrecord component
-
defaultTemplate
@Nullable public @Nullable MailActionResource.InitializeMailResponseBean.DefaultTemplateBean defaultTemplate()Returns the value of thedefaultTemplaterecord component.- Returns:
- the value of the
defaultTemplaterecord component
-
emailSenders
Returns the value of theemailSendersrecord component.- Returns:
- the value of the
emailSendersrecord component
-
readonlyAttachments
Returns the value of thereadonlyAttachmentsrecord component.- Returns:
- the value of the
readonlyAttachmentsrecord component
-
formProperties
Returns the value of theformPropertiesrecord component.- Returns:
- the value of the
formPropertiesrecord component
-
extendedRecipientsAvailable
public boolean extendedRecipientsAvailable()Returns the value of theextendedRecipientsAvailablerecord component.- Returns:
- the value of the
extendedRecipientsAvailablerecord component
-