Search Results for

    Show / Hide Table of Contents

    Class TestSmtpServerResults

    TestSmtpServerResults

    Inheritance
    object
    TestSmtpServerResults
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "TestSmtpServerResults")]
    public class TestSmtpServerResults : IValidatableObject

    Constructors

    View Source

    TestSmtpServerResults()

    Initializes a new instance of the TestSmtpServerResults class.

    Declaration
    [JsonConstructor]
    protected TestSmtpServerResults()
    View Source

    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 Source

    Auth

    Gets or Sets Auth

    Declaration
    [DataMember(Name = "auth", IsRequired = true, EmitDefaultValue = true)]
    public SmtpAuthDiagnosticResult Auth { get; set; }
    Property Value
    Type Description
    SmtpAuthDiagnosticResult
    View Source

    Banner

    Gets or Sets Banner

    Declaration
    [DataMember(Name = "banner", EmitDefaultValue = true)]
    public string Banner { get; set; }
    Property Value
    Type Description
    string
    View Source

    Connected

    Gets or Sets Connected

    Declaration
    [DataMember(Name = "connected", IsRequired = true, EmitDefaultValue = true)]
    public bool Connected { get; set; }
    Property Value
    Type Description
    bool
    View Source

    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>
    View Source

    Tls

    Gets or Sets Tls

    Declaration
    [DataMember(Name = "tls", IsRequired = true, EmitDefaultValue = true)]
    public SmtpTlsDiagnosticResult Tls { get; set; }
    Property Value
    Type Description
    SmtpTlsDiagnosticResult
    View Source

    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>
    View Source

    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 Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.