Class TestSmtpServerResults
TestSmtpServerResults
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "TestSmtpServerResults")]
public class TestSmtpServerResults : IValidatableObject
Constructors
View SourceTestSmtpServerResults()
Initializes a new instance of the TestSmtpServerResults class.
Declaration
[JsonConstructor]
protected TestSmtpServerResults()
TestSmtpServerResults(bool, string, SmtpTlsDiagnosticResult, SmtpAuthDiagnosticResult, List<SmtpDiagnosticStep>, List<string>, List<string>)
Initializes a new instance of the TestSmtpServerResults class.
Declaration
public TestSmtpServerResults(bool connected = false, string banner = null, SmtpTlsDiagnosticResult tls = null, SmtpAuthDiagnosticResult auth = null, List<SmtpDiagnosticStep> transcript = null, List<string> warnings = null, List<string> errors = null)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | connected | connected (required). |
| string | banner | banner. |
| SmtpTlsDiagnosticResult | tls | tls (required). |
| SmtpAuthDiagnosticResult | auth | auth (required). |
| List<SmtpDiagnosticStep> | transcript | transcript (required). |
| List<string> | warnings | warnings (required). |
| List<string> | errors | errors (required). |
Properties
View SourceAuth
Gets or Sets Auth
Declaration
[DataMember(Name = "auth", IsRequired = true, EmitDefaultValue = true)]
public SmtpAuthDiagnosticResult Auth { get; set; }
Property Value
| Type | Description |
|---|---|
| SmtpAuthDiagnosticResult |
Banner
Gets or Sets Banner
Declaration
[DataMember(Name = "banner", EmitDefaultValue = true)]
public string Banner { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Connected
Gets or Sets Connected
Declaration
[DataMember(Name = "connected", IsRequired = true, EmitDefaultValue = true)]
public bool Connected { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Errors
Gets or Sets Errors
Declaration
[DataMember(Name = "errors", IsRequired = true, EmitDefaultValue = true)]
public List<string> Errors { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Tls
Gets or Sets Tls
Declaration
[DataMember(Name = "tls", IsRequired = true, EmitDefaultValue = true)]
public SmtpTlsDiagnosticResult Tls { get; set; }
Property Value
| Type | Description |
|---|---|
| SmtpTlsDiagnosticResult |
Transcript
Gets or Sets Transcript
Declaration
[DataMember(Name = "transcript", IsRequired = true, EmitDefaultValue = true)]
public List<SmtpDiagnosticStep> Transcript { get; set; }
Property Value
| Type | Description |
|---|---|
| List<SmtpDiagnosticStep> |
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 |