Class CreateDevicePreviewOptions
CreateDevicePreviewOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreateDevicePreviewOptions")]
public class CreateDevicePreviewOptions : IValidatableObject
Constructors
View SourceCreateDevicePreviewOptions(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 SourceIncludeAllConfiguredProviders
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 |
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 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 |