Class DomainMonitorRunDto
DomainMonitorRunDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DomainMonitorRunDto")]
public class DomainMonitorRunDto : IValidatableObject
Constructors
View SourceDomainMonitorRunDto()
Initializes a new instance of the DomainMonitorRunDto class.
Declaration
[JsonConstructor]
protected DomainMonitorRunDto()
DomainMonitorRunDto(Guid, Guid, Guid, string, StatusEnum, TriggerSourceEnum, int, int, int, int, bool, bool, bool, bool, List<string>, string, DateTime, DateTime)
Initializes a new instance of the DomainMonitorRunDto class.
Declaration
public DomainMonitorRunDto(Guid id = default, Guid monitorId = default, Guid userId = default, string domain = null, DomainMonitorRunDto.StatusEnum status = (DomainMonitorRunDto.StatusEnum)0, DomainMonitorRunDto.TriggerSourceEnum triggerSource = (DomainMonitorRunDto.TriggerSourceEnum)0, int healthScore = 0, int totalChecks = 0, int passingChecks = 0, int failingChecks = 0, bool spfOk = false, bool dmarcOk = false, bool dmarcEnforced = false, bool mxOk = false, List<string> insights = null, string errorMessage = null, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | id (required). |
| Guid | monitorId | monitorId (required). |
| Guid | userId | userId (required). |
| string | domain | domain (required). |
| DomainMonitorRunDto.StatusEnum | status | status (required). |
| DomainMonitorRunDto.TriggerSourceEnum | triggerSource | triggerSource (required). |
| int | healthScore | healthScore (required). |
| int | totalChecks | totalChecks (required). |
| int | passingChecks | passingChecks (required). |
| int | failingChecks | failingChecks (required). |
| bool | spfOk | spfOk (required). |
| bool | dmarcOk | dmarcOk (required). |
| bool | dmarcEnforced | dmarcEnforced (required). |
| bool | mxOk | mxOk (required). |
| List<string> | insights | insights (required). |
| string | errorMessage | errorMessage. |
| 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 |
DmarcEnforced
Gets or Sets DmarcEnforced
Declaration
[DataMember(Name = "dmarcEnforced", IsRequired = true, EmitDefaultValue = true)]
public bool DmarcEnforced { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DmarcOk
Gets or Sets DmarcOk
Declaration
[DataMember(Name = "dmarcOk", IsRequired = true, EmitDefaultValue = true)]
public bool DmarcOk { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Domain
Gets or Sets Domain
Declaration
[DataMember(Name = "domain", IsRequired = true, EmitDefaultValue = true)]
public string Domain { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorMessage
Gets or Sets ErrorMessage
Declaration
[DataMember(Name = "errorMessage", EmitDefaultValue = false)]
public string ErrorMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FailingChecks
Gets or Sets FailingChecks
Declaration
[DataMember(Name = "failingChecks", IsRequired = true, EmitDefaultValue = true)]
public int FailingChecks { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
HealthScore
Gets or Sets HealthScore
Declaration
[DataMember(Name = "healthScore", IsRequired = true, EmitDefaultValue = true)]
public int HealthScore { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Insights
Gets or Sets Insights
Declaration
[DataMember(Name = "insights", IsRequired = true, EmitDefaultValue = true)]
public List<string> Insights { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
MonitorId
Gets or Sets MonitorId
Declaration
[DataMember(Name = "monitorId", IsRequired = true, EmitDefaultValue = true)]
public Guid MonitorId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
MxOk
Gets or Sets MxOk
Declaration
[DataMember(Name = "mxOk", IsRequired = true, EmitDefaultValue = true)]
public bool MxOk { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PassingChecks
Gets or Sets PassingChecks
Declaration
[DataMember(Name = "passingChecks", IsRequired = true, EmitDefaultValue = true)]
public int PassingChecks { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
SpfOk
Gets or Sets SpfOk
Declaration
[DataMember(Name = "spfOk", IsRequired = true, EmitDefaultValue = true)]
public bool SpfOk { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Status
Gets or Sets Status
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
public DomainMonitorRunDto.StatusEnum Status { get; set; }
Property Value
| Type | Description |
|---|---|
| DomainMonitorRunDto.StatusEnum |
TotalChecks
Gets or Sets TotalChecks
Declaration
[DataMember(Name = "totalChecks", IsRequired = true, EmitDefaultValue = true)]
public int TotalChecks { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TriggerSource
Gets or Sets TriggerSource
Declaration
[DataMember(Name = "triggerSource", IsRequired = true, EmitDefaultValue = true)]
public DomainMonitorRunDto.TriggerSourceEnum TriggerSource { get; set; }
Property Value
| Type | Description |
|---|---|
| DomainMonitorRunDto.TriggerSourceEnum |
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 |