Record Class MailActionRecipientResource.LoadRecipientsRequestBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.mail.MailActionRecipientResource.LoadRecipientsRequestBean
- Enclosing class:
MailActionRecipientResource
public static record MailActionRecipientResource.LoadRecipientsRequestBean(FormProperties formProperties, EntitySelectionBean selection, MailSettings.RecipientOptions recipientOptions, int page, int recordsPerPage, String search)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLoadRecipientsRequestBean
(FormProperties formProperties, EntitySelectionBean selection, MailSettings.RecipientOptions recipientOptions, int page, int recordsPerPage, String search) Creates an instance of aLoadRecipientsRequestBean
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of theformProperties
record component.final int
hashCode()
Returns a hash code value for this object.int
offset()
int
page()
Returns the value of thepage
record component.Returns the value of therecipientOptions
record component.int
Returns the value of therecordsPerPage
record component.search()
Returns the value of thesearch
record component.Returns the value of theselection
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
LoadRecipientsRequestBean
public LoadRecipientsRequestBean(FormProperties formProperties, EntitySelectionBean selection, MailSettings.RecipientOptions recipientOptions, int page, int recordsPerPage, String search) Creates an instance of aLoadRecipientsRequestBean
record class.- Parameters:
formProperties
- the value for theformProperties
record componentselection
- the value for theselection
record componentrecipientOptions
- the value for therecipientOptions
record componentpage
- the value for thepage
record componentrecordsPerPage
- the value for therecordsPerPage
record componentsearch
- the value for thesearch
record component
-
-
Method Details
-
offset
public int offset() -
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 '=='. -
formProperties
Returns the value of theformProperties
record component.- Returns:
- the value of the
formProperties
record component
-
selection
Returns the value of theselection
record component.- Returns:
- the value of the
selection
record component
-
recipientOptions
Returns the value of therecipientOptions
record component.- Returns:
- the value of the
recipientOptions
record component
-
page
public int page()Returns the value of thepage
record component.- Returns:
- the value of the
page
record component
-
recordsPerPage
public int recordsPerPage()Returns the value of therecordsPerPage
record component.- Returns:
- the value of the
recordsPerPage
record component
-
search
Returns the value of thesearch
record component.- Returns:
- the value of the
search
record component
-