Class SmtpDiagnosticStep
Structured SMTP diagnostic transcript entry
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "SmtpDiagnosticStep")]
public class SmtpDiagnosticStep : IValidatableObject
Constructors
View SourceSmtpDiagnosticStep()
Initializes a new instance of the SmtpDiagnosticStep class.
Declaration
[JsonConstructor]
protected SmtpDiagnosticStep()
SmtpDiagnosticStep(string, string, string)
Initializes a new instance of the SmtpDiagnosticStep class.
Declaration
public SmtpDiagnosticStep(string step = null, string code = null, string message = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | step | step (required). |
| string | code | code. |
| string | message | message (required). |
Properties
View SourceCode
Gets or Sets Code
Declaration
[DataMember(Name = "code", EmitDefaultValue = true)]
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Message
Gets or Sets Message
Declaration
[DataMember(Name = "message", IsRequired = true, EmitDefaultValue = true)]
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Step
Gets or Sets Step
Declaration
[DataMember(Name = "step", IsRequired = true, EmitDefaultValue = true)]
public string Step { get; set; }
Property Value
| Type | Description |
|---|---|
| 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 |