Record Class MailProvider.AllowedEmailSender
java.lang.Object
java.lang.Record
ch.tocco.nice2.messaging.mail.api.MailProvider.AllowedEmailSender
- Enclosing interface:
MailProvider
-
Constructor Summary
ConstructorsConstructorDescriptionAllowedEmailSender(String id, String label, boolean selected) Creates an instance of aAllowedEmailSenderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.label()Returns the value of thelabelrecord component.booleanselected()Returns the value of theselectedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AllowedEmailSender
-
-
Method Details
-
asSelected
-
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. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
selected
public boolean selected()Returns the value of theselectedrecord component.- Returns:
- the value of the
selectedrecord component
-