Class DomainMonitorAlertSinkDto
DomainMonitorAlertSinkDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DomainMonitorAlertSinkDto")]
public class DomainMonitorAlertSinkDto : IValidatableObject
Constructors
View SourceDomainMonitorAlertSinkDto()
Initializes a new instance of the DomainMonitorAlertSinkDto class.
Declaration
[JsonConstructor]
protected DomainMonitorAlertSinkDto()
DomainMonitorAlertSinkDto(Guid, Guid, Guid, TypeEnum, string, SeverityThresholdEnum, bool, DateTime, DateTime)
Initializes a new instance of the DomainMonitorAlertSinkDto class.
Declaration
public DomainMonitorAlertSinkDto(Guid id = default, Guid monitorId = default, Guid userId = default, DomainMonitorAlertSinkDto.TypeEnum type = (DomainMonitorAlertSinkDto.TypeEnum)0, string target = null, DomainMonitorAlertSinkDto.SeverityThresholdEnum severityThreshold = (DomainMonitorAlertSinkDto.SeverityThresholdEnum)0, bool enabled = false, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | id (required). |
| Guid | monitorId | monitorId (required). |
| Guid | userId | userId (required). |
| DomainMonitorAlertSinkDto.TypeEnum | type | type (required). |
| string | target | target (required). |
| DomainMonitorAlertSinkDto.SeverityThresholdEnum | severityThreshold | severityThreshold (required). |
| bool | enabled | enabled (required). |
| DateTime | createdAt | createdAt (required). |
| DateTime | updatedAt | updatedAt (required). |
Properties
View SourceCreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Enabled
Gets or Sets Enabled
Declaration
[DataMember(Name = "enabled", IsRequired = true, EmitDefaultValue = true)]
public bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
MonitorId
Gets or Sets MonitorId
Declaration
[DataMember(Name = "monitorId", IsRequired = true, EmitDefaultValue = true)]
public Guid MonitorId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
SeverityThreshold
Gets or Sets SeverityThreshold
Declaration
[DataMember(Name = "severityThreshold", IsRequired = true, EmitDefaultValue = true)]
public DomainMonitorAlertSinkDto.SeverityThresholdEnum SeverityThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| DomainMonitorAlertSinkDto.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 DomainMonitorAlertSinkDto.TypeEnum Type { get; set; }
Property Value
| Type | Description |
|---|---|
| DomainMonitorAlertSinkDto.TypeEnum |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
[DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime UpdatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
public Guid UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
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 |