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.- 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 Summary
ConstructorsConstructorDescriptionMailpitHtmlCheckWarning(@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 aMailpitHtmlCheckWarningrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringcategory()Returns the value of thecategoryrecord component.@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 Stringkeywords()Returns the value of thekeywordsrecord component.Returns the value of thenotesByNumberrecord component.@Nullable List<MailpitHtmlCheckResult> results()Returns the value of theresultsrecord component.@Nullable MailpitHtmlCheckScorescore()Returns the value of thescorerecord component.@Nullable Stringslug()Returns the value of theslugrecord component.tags()Returns the value of thetagsrecord component.@Nullable Stringtitle()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.@Nullable Stringurl()Returns the value of theurlrecord component.
-
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 aMailpitHtmlCheckWarningrecord class.- Parameters:
slug- the value for theslugrecord componenttitle- the value for thetitlerecord componentdescription- the value for thedescriptionrecord componenturl- the value for theurlrecord componentcategory- the value for thecategoryrecord componenttags- the value for thetagsrecord componentkeywords- the value for thekeywordsrecord componentresults- the value for theresultsrecord componentnotesByNumber- the value for thenotesByNumberrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
slug
-
title
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
url
-
category
-
tags
-
keywords
-
results
-
notesByNumber
Returns the value of thenotesByNumberrecord component.- Returns:
- the value of the
notesByNumberrecord component
-
score
-