Search Results for

    Show / Hide Table of Contents

    Class CreateDomainMonitorOptions

    Create options for a domain monitor

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

    Constructors

    View Source

    CreateDomainMonitorOptions()

    Initializes a new instance of the CreateDomainMonitorOptions class.

    Declaration
    [JsonConstructor]
    protected CreateDomainMonitorOptions()
    View Source

    CreateDomainMonitorOptions(string, string, long?, bool?, bool?)

    Initializes a new instance of the CreateDomainMonitorOptions class.

    Declaration
    public CreateDomainMonitorOptions(string domain = null, string name = null, long? intervalSeconds = null, bool? enabled = null, bool? schedulingEnabled = null)
    Parameters
    Type Name Description
    string domain

    domain (required).

    string name

    Optional display name.

    long? intervalSeconds

    Check interval in seconds.

    bool? enabled

    Whether scheduled monitor runs are enabled (legacy alias for schedulingEnabled).

    bool? schedulingEnabled

    Whether scheduled monitor runs are enabled. Direct run-now is always permitted..

    Properties

    View Source

    Domain

    Gets or Sets Domain

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

    Enabled

    Whether scheduled monitor runs are enabled (legacy alias for schedulingEnabled)

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

    Whether scheduled monitor runs are enabled (legacy alias for schedulingEnabled)

    View Source

    IntervalSeconds

    Check interval in seconds

    Declaration
    [DataMember(Name = "intervalSeconds", EmitDefaultValue = true)]
    public long? IntervalSeconds { get; set; }
    Property Value
    Type Description
    long?

    Check interval in seconds

    View Source

    Name

    Optional display name

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

    Optional display name

    View Source

    SchedulingEnabled

    Whether scheduled monitor runs are enabled. Direct run-now is always permitted.

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

    Whether scheduled monitor runs are enabled. Direct run-now is always permitted.

    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.