Class EmailAnalysis
Analysis result for email. Each verdict property is a string PASS|FAIL|GRAY or dynamic error message
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "EmailAnalysis")]
public class EmailAnalysis : IEquatable<EmailAnalysis>, IValidatableObject
Constructors
View SourceEmailAnalysis(string, string, string, string, string)
Initializes a new instance of the EmailAnalysis class.
Declaration
public EmailAnalysis(string spamVerdict = null, string virusVerdict = null, string spfVerdict = null, string dkimVerdict = null, string dmarcVerdict = null)
Parameters
Type | Name | Description |
---|---|---|
string | spamVerdict | Verdict of spam ranking analysis. |
string | virusVerdict | Verdict of virus scan analysis. |
string | spfVerdict | Verdict of Send Policy Framework record spoofing analysis. |
string | dkimVerdict | Verdict of DomainKeys Identified Mail analysis. |
string | dmarcVerdict | Verdict of Domain-based Message Authentication Reporting and Conformance analysis. |
Properties
View SourceDkimVerdict
Verdict of DomainKeys Identified Mail analysis
Declaration
[DataMember(Name = "dkimVerdict", EmitDefaultValue = true)]
public string DkimVerdict { get; set; }
Property Value
Type | Description |
---|---|
string | Verdict of DomainKeys Identified Mail analysis |
DmarcVerdict
Verdict of Domain-based Message Authentication Reporting and Conformance analysis
Declaration
[DataMember(Name = "dmarcVerdict", EmitDefaultValue = true)]
public string DmarcVerdict { get; set; }
Property Value
Type | Description |
---|---|
string | Verdict of Domain-based Message Authentication Reporting and Conformance analysis |
SpamVerdict
Verdict of spam ranking analysis
Declaration
[DataMember(Name = "spamVerdict", EmitDefaultValue = true)]
public string SpamVerdict { get; set; }
Property Value
Type | Description |
---|---|
string | Verdict of spam ranking analysis |
SpfVerdict
Verdict of Send Policy Framework record spoofing analysis
Declaration
[DataMember(Name = "spfVerdict", EmitDefaultValue = true)]
public string SpfVerdict { get; set; }
Property Value
Type | Description |
---|---|
string | Verdict of Send Policy Framework record spoofing analysis |
VirusVerdict
Verdict of virus scan analysis
Declaration
[DataMember(Name = "virusVerdict", EmitDefaultValue = true)]
public string VirusVerdict { get; set; }
Property Value
Type | Description |
---|---|
string | Verdict of virus scan analysis |
Methods
View SourceEquals(EmailAnalysis)
Returns true if EmailAnalysis instances are equal
Declaration
public bool Equals(EmailAnalysis input)
Parameters
Type | Name | Description |
---|---|---|
EmailAnalysis | input | Instance of EmailAnalysis to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
Equals(object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
object | input | Object to be compared |
Returns
Type | Description |
---|---|
bool | Boolean |
Overrides
View SourceGetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | Hash code |
Overrides
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |
Overrides
Validate(ValidationContext)
To validate all properties of the instance
Declaration
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
ValidationContext | validationContext | Validation context |
Returns
Type | Description |
---|---|
IEnumerable<ValidationResult> | Validation Result |