Table of Contents

Class SpamReportItem

Namespace
Mailtrap.TestingMessages.Models
Assembly
Mailtrap.Abstractions.dll

Represents spam report details for the particular rule.

public sealed record SpamReportItem : IEquatable<SpamReportItem>
Inheritance
SpamReportItem
Implements

Properties

Description

Gets the description of the rule.

[JsonPropertyName("Description")]
[JsonPropertyOrder(3)]
public string? Description { get; set; }

Property Value

string

Description of the rule.

RuleName

Gets the name of the rule.

[JsonPropertyName("RuleName")]
[JsonPropertyOrder(2)]
public string? RuleName { get; set; }

Property Value

string

Name of the rule.

Score

Gets the score for the particular spam rule.

[JsonPropertyName("Pts")]
[JsonPropertyOrder(1)]
public decimal? Score { get; set; }

Property Value

decimal?

Score for the particular spam rule.