Record Class MailpitSpamAssassinRule
java.lang.Object
java.lang.Record
io.micronaut.email.mailpit.client.model.MailpitSpamAssassinRule
- Record Components:
description- Rule description.name- Rule name.score- Rule score.
-
Constructor Summary
ConstructorsConstructorDescriptionMailpitSpamAssassinRule(@Nullable String description, @Nullable String name, double score) Creates an instance of aMailpitSpamAssassinRulerecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable Stringname()Returns the value of thenamerecord component.doublescore()Returns the value of thescorerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MailpitSpamAssassinRule
Creates an instance of aMailpitSpamAssassinRulerecord class.- Parameters:
description- the value for thedescriptionrecord componentname- the value for thenamerecord componentscore- the value for thescorerecord 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. -
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
name
-
score
-