Class UpdateDomainMonitorOptions
Update options for a domain monitor
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "UpdateDomainMonitorOptions")]
public class UpdateDomainMonitorOptions : IValidatableObject
Constructors
View SourceUpdateDomainMonitorOptions(string, long?, bool?, bool?)
Initializes a new instance of the UpdateDomainMonitorOptions class.
Declaration
public UpdateDomainMonitorOptions(string name = null, long? intervalSeconds = null, bool? enabled = null, bool? schedulingEnabled = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Optional display name. |
| long? | intervalSeconds | Interval in seconds. |
| bool? | enabled | Enable/disable scheduled monitor runs (legacy alias for schedulingEnabled). |
| bool? | schedulingEnabled | Enable/disable scheduled monitor runs. Direct run-now remains available.. |
Properties
View SourceEnabled
Enable/disable scheduled monitor runs (legacy alias for schedulingEnabled)
Declaration
[DataMember(Name = "enabled", EmitDefaultValue = true)]
public bool? Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Enable/disable scheduled monitor runs (legacy alias for schedulingEnabled) |
IntervalSeconds
Interval in seconds
Declaration
[DataMember(Name = "intervalSeconds", EmitDefaultValue = true)]
public long? IntervalSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| long? | Interval in seconds |
Name
Optional display name
Declaration
[DataMember(Name = "name", EmitDefaultValue = true)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional display name |
SchedulingEnabled
Enable/disable scheduled monitor runs. Direct run-now remains available.
Declaration
[DataMember(Name = "schedulingEnabled", EmitDefaultValue = true)]
public bool? SchedulingEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Enable/disable scheduled monitor runs. Direct run-now remains available. |
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 |