Class CheckDomainMonitorResults
One-shot public domain monitor check results
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CheckDomainMonitorResults")]
public class CheckDomainMonitorResults : IValidatableObject
Constructors
View SourceCheckDomainMonitorResults()
Initializes a new instance of the CheckDomainMonitorResults class.
Declaration
[JsonConstructor]
protected CheckDomainMonitorResults()
CheckDomainMonitorResults(string, StatusEnum, int, int, int, int, bool, bool, bool, bool, List<string>, string)
Initializes a new instance of the CheckDomainMonitorResults class.
Declaration
public CheckDomainMonitorResults(string domain = null, CheckDomainMonitorResults.StatusEnum status = (CheckDomainMonitorResults.StatusEnum)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)
Parameters
| Type | Name | Description |
|---|---|---|
| string | domain | domain (required). |
| CheckDomainMonitorResults.StatusEnum | status | status (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. |
Properties
View SourceDmarcEnforced
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 = true)]
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 |
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> |
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 CheckDomainMonitorResults.StatusEnum Status { get; set; }
Property Value
| Type | Description |
|---|---|
| CheckDomainMonitorResults.StatusEnum |
TotalChecks
Gets or Sets TotalChecks
Declaration
[DataMember(Name = "totalChecks", IsRequired = true, EmitDefaultValue = true)]
public int TotalChecks { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
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 |