Class AnalyzeEmailHeadersResults
AnalyzeEmailHeadersResults
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "AnalyzeEmailHeadersResults")]
public class AnalyzeEmailHeadersResults : IValidatableObject
Constructors
View SourceAnalyzeEmailHeadersResults()
Initializes a new instance of the AnalyzeEmailHeadersResults class.
Declaration
[JsonConstructor]
protected AnalyzeEmailHeadersResults()
AnalyzeEmailHeadersResults(EmailHeaderAnalysisSummary, List<EmailHeaderReceivedHop>, Dictionary<string, List<string>>, List<string>, List<string>)
Initializes a new instance of the AnalyzeEmailHeadersResults class.
Declaration
public AnalyzeEmailHeadersResults(EmailHeaderAnalysisSummary summary = null, List<EmailHeaderReceivedHop> receivedPath = null, Dictionary<string, List<string>> parsedHeaders = null, List<string> warnings = null, List<string> errors = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EmailHeaderAnalysisSummary | summary | summary (required). |
| List<EmailHeaderReceivedHop> | receivedPath | receivedPath (required). |
| Dictionary<string, List<string>> | parsedHeaders | parsedHeaders (required). |
| List<string> | warnings | warnings (required). |
| List<string> | errors | errors (required). |
Properties
View SourceErrors
Gets or Sets Errors
Declaration
[DataMember(Name = "errors", IsRequired = true, EmitDefaultValue = true)]
public List<string> Errors { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
ParsedHeaders
Gets or Sets ParsedHeaders
Declaration
[DataMember(Name = "parsedHeaders", IsRequired = true, EmitDefaultValue = true)]
public Dictionary<string, List<string>> ParsedHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, List<string>> |
ReceivedPath
Gets or Sets ReceivedPath
Declaration
[DataMember(Name = "receivedPath", IsRequired = true, EmitDefaultValue = true)]
public List<EmailHeaderReceivedHop> ReceivedPath { get; set; }
Property Value
| Type | Description |
|---|---|
| List<EmailHeaderReceivedHop> |
Summary
Gets or Sets Summary
Declaration
[DataMember(Name = "summary", IsRequired = true, EmitDefaultValue = true)]
public EmailHeaderAnalysisSummary Summary { get; set; }
Property Value
| Type | Description |
|---|---|
| EmailHeaderAnalysisSummary |
Warnings
Gets or Sets Warnings
Declaration
[DataMember(Name = "warnings", IsRequired = true, EmitDefaultValue = true)]
public List<string> Warnings { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Methods
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 |