Class DomainMonitorSeriesPointDto
DomainMonitorSeriesPointDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DomainMonitorSeriesPointDto")]
public class DomainMonitorSeriesPointDto : IValidatableObject
Constructors
View SourceDomainMonitorSeriesPointDto()
Initializes a new instance of the DomainMonitorSeriesPointDto class.
Declaration
[JsonConstructor]
protected DomainMonitorSeriesPointDto()
DomainMonitorSeriesPointDto(DateTime, int, int, int, int, int, double, double)
Initializes a new instance of the DomainMonitorSeriesPointDto class.
Declaration
public DomainMonitorSeriesPointDto(DateTime bucketStart = default, int runCount = 0, int healthyCount = 0, int degradedCount = 0, int criticalCount = 0, int failedCount = 0, double healthyRate = 0, double averageHealthScore = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | bucketStart | bucketStart (required). |
| int | runCount | runCount (required). |
| int | healthyCount | healthyCount (required). |
| int | degradedCount | degradedCount (required). |
| int | criticalCount | criticalCount (required). |
| int | failedCount | failedCount (required). |
| double | healthyRate | healthyRate (required). |
| double | averageHealthScore | averageHealthScore (required). |
Properties
View SourceAverageHealthScore
Gets or Sets AverageHealthScore
Declaration
[DataMember(Name = "averageHealthScore", IsRequired = true, EmitDefaultValue = true)]
public double AverageHealthScore { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
BucketStart
Gets or Sets BucketStart
Declaration
[DataMember(Name = "bucketStart", IsRequired = true, EmitDefaultValue = true)]
public DateTime BucketStart { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
CriticalCount
Gets or Sets CriticalCount
Declaration
[DataMember(Name = "criticalCount", IsRequired = true, EmitDefaultValue = true)]
public int CriticalCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DegradedCount
Gets or Sets DegradedCount
Declaration
[DataMember(Name = "degradedCount", IsRequired = true, EmitDefaultValue = true)]
public int DegradedCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
FailedCount
Gets or Sets FailedCount
Declaration
[DataMember(Name = "failedCount", IsRequired = true, EmitDefaultValue = true)]
public int FailedCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
HealthyCount
Gets or Sets HealthyCount
Declaration
[DataMember(Name = "healthyCount", IsRequired = true, EmitDefaultValue = true)]
public int HealthyCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
HealthyRate
Gets or Sets HealthyRate
Declaration
[DataMember(Name = "healthyRate", IsRequired = true, EmitDefaultValue = true)]
public double HealthyRate { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
RunCount
Gets or Sets RunCount
Declaration
[DataMember(Name = "runCount", IsRequired = true, EmitDefaultValue = true)]
public int RunCount { 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 |