Record Class MailpitHtmlCheckWarning

java.lang.Object
java.lang.Record
io.micronaut.email.mailpit.client.model.MailpitHtmlCheckWarning
Record Components:
slug - Warning slug.
title - Warning title.
description - Warning description.
url - Reference URL.
category - Warning category.
tags - Warning tags.
keywords - Warning keywords.
results - Check results.
notesByNumber - Notes by number.
score - Warning score.

public record MailpitHtmlCheckWarning(@Nullable String slug, @Nullable String title, @Nullable String description, @Nullable String url, @Nullable String category, @Nullable List<String> tags, @Nullable String keywords, @Nullable List<MailpitHtmlCheckResult> results, @Nullable Map<String,String> notesByNumber, @Nullable MailpitHtmlCheckScore score) extends Record
Mailpit HTML compatibility warning.
Since:
3.1.0
  • Constructor Details

    • MailpitHtmlCheckWarning

      public MailpitHtmlCheckWarning(@Nullable String slug, @Nullable String title, @Nullable String description, @Nullable String url, @Nullable String category, @Nullable List<String> tags, @Nullable String keywords, @Nullable List<MailpitHtmlCheckResult> results, @Nullable Map<String,String> notesByNumber, @Nullable MailpitHtmlCheckScore score)
      Creates an instance of a MailpitHtmlCheckWarning record class.
      Parameters:
      slug - the value for the slug record component
      title - the value for the title record component
      description - the value for the description record component
      url - the value for the url record component
      category - the value for the category record component
      tags - the value for the tags record component
      keywords - the value for the keywords record component
      results - the value for the results record component
      notesByNumber - the value for the notesByNumber record component
      score - the value for the score record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • slug

      public @Nullable String slug()
      Returns the value of the slug record component.
      Returns:
      the value of the slug record component
    • title

      public @Nullable String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • description

      public @Nullable String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • url

      public @Nullable String url()
      Returns the value of the url record component.
      Returns:
      the value of the url record component
    • category

      public @Nullable String category()
      Returns the value of the category record component.
      Returns:
      the value of the category record component
    • tags

      public @Nullable List<String> tags()
      Returns the value of the tags record component.
      Returns:
      the value of the tags record component
    • keywords

      public @Nullable String keywords()
      Returns the value of the keywords record component.
      Returns:
      the value of the keywords record component
    • results

      public @Nullable List<MailpitHtmlCheckResult> results()
      Returns the value of the results record component.
      Returns:
      the value of the results record component
    • notesByNumber

      public @Nullable Map<String,String> notesByNumber()
      Returns the value of the notesByNumber record component.
      Returns:
      the value of the notesByNumber record component
    • score

      public @Nullable MailpitHtmlCheckScore score()
      Returns the value of the score record component.
      Returns:
      the value of the score record component