Search Results for

    Show / Hide Table of Contents

    Class CreateDevicePreviewOptions

    CreateDevicePreviewOptions

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

    Constructors

    View Source

    CreateDevicePreviewOptions(List<ProvidersEnum>, bool)

    Initializes a new instance of the CreateDevicePreviewOptions class.

    Declaration
    public CreateDevicePreviewOptions(List<CreateDevicePreviewOptions.ProvidersEnum> providers = null, bool includeAllConfiguredProviders = false)
    Parameters
    Type Name Description
    List<CreateDevicePreviewOptions.ProvidersEnum> providers

    Optional providers to request for rendering. Defaults to ESP_DEFAULT_PROVIDERS when set, otherwise GMAIL and OUTLOOK..

    bool includeAllConfiguredProviders

    Optional flag to request all configured providers in ESP. Defaults to false when omitted.

    Properties

    View Source

    IncludeAllConfiguredProviders

    Optional flag to request all configured providers in ESP. Defaults to false when omitted

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

    Optional flag to request all configured providers in ESP. Defaults to false when omitted

    View Source

    Providers

    Optional providers to request for rendering. Defaults to ESP_DEFAULT_PROVIDERS when set, otherwise GMAIL and OUTLOOK.

    Declaration
    [DataMember(Name = "providers", EmitDefaultValue = false)]
    public List<CreateDevicePreviewOptions.ProvidersEnum> Providers { get; set; }
    Property Value
    Type Description
    List<CreateDevicePreviewOptions.ProvidersEnum>

    Optional providers to request for rendering. Defaults to ESP_DEFAULT_PROVIDERS when set, otherwise GMAIL and OUTLOOK.

    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.