Record Class MailpitChaosTriggers
java.lang.Object
java.lang.Record
io.micronaut.email.mailpit.client.model.MailpitChaosTriggers
- Record Components:
sender- Sender trigger.recipient- Recipient trigger.authentication- Authentication trigger.
public record MailpitChaosTriggers(@Nullable MailpitChaosTrigger sender, @Nullable MailpitChaosTrigger recipient, @Nullable MailpitChaosTrigger authentication)
extends Record
Mailpit chaos trigger settings.
- Since:
- 3.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionMailpitChaosTriggers(@Nullable MailpitChaosTrigger sender, @Nullable MailpitChaosTrigger recipient, @Nullable MailpitChaosTrigger authentication) Creates an instance of aMailpitChaosTriggersrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable MailpitChaosTriggerReturns the value of theauthenticationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable MailpitChaosTriggerReturns the value of therecipientrecord component.@Nullable MailpitChaosTriggersender()Returns the value of thesenderrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MailpitChaosTriggers
public MailpitChaosTriggers(@Nullable MailpitChaosTrigger sender, @Nullable MailpitChaosTrigger recipient, @Nullable MailpitChaosTrigger authentication) Creates an instance of aMailpitChaosTriggersrecord class.- Parameters:
sender- the value for thesenderrecord componentrecipient- the value for therecipientrecord componentauthentication- the value for theauthenticationrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
sender
-
recipient
-
authentication
Returns the value of theauthenticationrecord component.- Returns:
- the value of the
authenticationrecord component
-