Record Class MailpitHtmlCheckTotal
java.lang.Object
java.lang.Record
io.micronaut.email.mailpit.client.model.MailpitHtmlCheckTotal
- Record Components:
tests- Total tests.nodes- Total HTML nodes.supported- Supported percentage.partial- Partially supported percentage.unsupported- Unsupported percentage.
public record MailpitHtmlCheckTotal(int tests, int nodes, double supported, double partial, double unsupported)
extends Record
Mailpit HTML compatibility total.
- Since:
- 3.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionMailpitHtmlCheckTotal(int tests, int nodes, double supported, double partial, double unsupported) Creates an instance of aMailpitHtmlCheckTotalrecord 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.intnodes()Returns the value of thenodesrecord component.doublepartial()Returns the value of thepartialrecord component.doubleReturns the value of thesupportedrecord component.inttests()Returns the value of thetestsrecord component.final StringtoString()Returns a string representation of this record class.doubleReturns the value of theunsupportedrecord component.
-
Constructor Details
-
MailpitHtmlCheckTotal
public MailpitHtmlCheckTotal(int tests, int nodes, double supported, double partial, double unsupported) Creates an instance of aMailpitHtmlCheckTotalrecord class.- Parameters:
tests- the value for thetestsrecord componentnodes- the value for thenodesrecord componentsupported- the value for thesupportedrecord componentpartial- the value for thepartialrecord componentunsupported- the value for theunsupportedrecord 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 with thecomparemethod from their corresponding wrapper classes. -
tests
-
nodes
-
supported
-
partial
-
unsupported
public double unsupported()Returns the value of theunsupportedrecord component.- Returns:
- the value of the
unsupportedrecord component
-