Class SmtpAuthDiagnosticResult
SmtpAuthDiagnosticResult
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "SmtpAuthDiagnosticResult")]
public class SmtpAuthDiagnosticResult : IValidatableObject
Constructors
View SourceSmtpAuthDiagnosticResult()
Initializes a new instance of the SmtpAuthDiagnosticResult class.
Declaration
[JsonConstructor]
protected SmtpAuthDiagnosticResult()
SmtpAuthDiagnosticResult(bool, bool, string)
Initializes a new instance of the SmtpAuthDiagnosticResult class.
Declaration
public SmtpAuthDiagnosticResult(bool attempted = false, bool success = false, string mechanism = null)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | attempted | attempted (required). |
| bool | success | success (required). |
| string | mechanism | mechanism. |
Properties
View SourceAttempted
Gets or Sets Attempted
Declaration
[DataMember(Name = "attempted", IsRequired = true, EmitDefaultValue = true)]
public bool Attempted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Mechanism
Gets or Sets Mechanism
Declaration
[DataMember(Name = "mechanism", EmitDefaultValue = true)]
public string Mechanism { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Success
Gets or Sets Success
Declaration
[DataMember(Name = "success", IsRequired = true, EmitDefaultValue = true)]
public bool Success { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
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 |