Search Results for

    Show / Hide Table of Contents

    Class ServerEndpoints

    ServerEndpoints

    Inheritance
    object
    ServerEndpoints
    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 = "ServerEndpoints")]
    public class ServerEndpoints : IValidatableObject

    Constructors

    View Source

    ServerEndpoints()

    Initializes a new instance of the ServerEndpoints class.

    Declaration
    [JsonConstructor]
    protected ServerEndpoints()
    View Source

    ServerEndpoints(string, int, bool, List<int>)

    Initializes a new instance of the ServerEndpoints class.

    Declaration
    public ServerEndpoints(string host = null, int port = 0, bool tls = false, List<int> altPorts = null)
    Parameters
    Type Name Description
    string host

    host (required).

    int port

    port (required).

    bool tls

    tls (required).

    List<int> altPorts

    altPorts (required).

    Properties

    View Source

    AltPorts

    Gets or Sets AltPorts

    Declaration
    [DataMember(Name = "altPorts", IsRequired = true, EmitDefaultValue = true)]
    public List<int> AltPorts { get; set; }
    Property Value
    Type Description
    List<int>
    View Source

    Host

    Gets or Sets Host

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

    Port

    Gets or Sets Port

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

    Tls

    Gets or Sets Tls

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

    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.