Record Class MailActionRecipientResource.LoadRecipientsResponseBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.mail.MailActionRecipientResource.LoadRecipientsResponseBean
- Enclosing class:
MailActionRecipientResource
-
Constructor Summary
ConstructorsConstructorDescriptionLoadRecipientsResponseBean(List<MailActionRecipientResource.RecipientBean> recipients, long totalCount, String expectedEmailCount, boolean emailAlternativeAvailable, List<String> invalidRecipientKeys) Creates an instance of aLoadRecipientsResponseBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theemailAlternativeAvailablerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedEmailCountrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinvalidRecipientKeysrecord component.Returns the value of therecipientsrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalCountrecord component.
-
Constructor Details
-
LoadRecipientsResponseBean
public LoadRecipientsResponseBean(List<MailActionRecipientResource.RecipientBean> recipients, long totalCount, String expectedEmailCount, boolean emailAlternativeAvailable, List<String> invalidRecipientKeys) Creates an instance of aLoadRecipientsResponseBeanrecord class.- Parameters:
recipients- the value for therecipientsrecord componenttotalCount- the value for thetotalCountrecord componentexpectedEmailCount- the value for theexpectedEmailCountrecord componentemailAlternativeAvailable- the value for theemailAlternativeAvailablerecord componentinvalidRecipientKeys- the value for theinvalidRecipientKeysrecord 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. -
recipients
Returns the value of therecipientsrecord component.- Returns:
- the value of the
recipientsrecord component
-
totalCount
public long totalCount()Returns the value of thetotalCountrecord component.- Returns:
- the value of the
totalCountrecord component
-
expectedEmailCount
Returns the value of theexpectedEmailCountrecord component.- Returns:
- the value of the
expectedEmailCountrecord component
-
emailAlternativeAvailable
public boolean emailAlternativeAvailable()Returns the value of theemailAlternativeAvailablerecord component.- Returns:
- the value of the
emailAlternativeAvailablerecord component
-
invalidRecipientKeys
-