Class CreateDomainMonitorAlertSinkOptions
CreateDomainMonitorAlertSinkOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreateDomainMonitorAlertSinkOptions")]
public class CreateDomainMonitorAlertSinkOptions : IValidatableObject
Constructors
View SourceCreateDomainMonitorAlertSinkOptions()
Initializes a new instance of the CreateDomainMonitorAlertSinkOptions class.
Declaration
[JsonConstructor]
protected CreateDomainMonitorAlertSinkOptions()
CreateDomainMonitorAlertSinkOptions(TypeEnum, string, SeverityThresholdEnum?, bool)
Initializes a new instance of the CreateDomainMonitorAlertSinkOptions class.
Declaration
public CreateDomainMonitorAlertSinkOptions(CreateDomainMonitorAlertSinkOptions.TypeEnum type = (CreateDomainMonitorAlertSinkOptions.TypeEnum)0, string target = null, CreateDomainMonitorAlertSinkOptions.SeverityThresholdEnum? severityThreshold = null, bool enabled = false)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDomainMonitorAlertSinkOptions.TypeEnum | type | type (required). |
| string | target | target (required). |
| CreateDomainMonitorAlertSinkOptions.SeverityThresholdEnum? | severityThreshold | severityThreshold. |
| bool | enabled | enabled. |
Properties
View SourceEnabled
Gets or Sets Enabled
Declaration
[DataMember(Name = "enabled", EmitDefaultValue = true)]
public bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SeverityThreshold
Gets or Sets SeverityThreshold
Declaration
[DataMember(Name = "severityThreshold", EmitDefaultValue = false)]
public CreateDomainMonitorAlertSinkOptions.SeverityThresholdEnum? SeverityThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateDomainMonitorAlertSinkOptions.SeverityThresholdEnum? |
Target
Gets or Sets Target
Declaration
[DataMember(Name = "target", IsRequired = true, EmitDefaultValue = true)]
public string Target { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Gets or Sets Type
Declaration
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public CreateDomainMonitorAlertSinkOptions.TypeEnum Type { get; set; }
Property Value
| Type | Description |
|---|---|
| CreateDomainMonitorAlertSinkOptions.TypeEnum |
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 |