Table of Contents

Class HealthReportResult

Namespace
PommaLabs.Thumbnailer.Client.Core
Assembly
PommaLabs.Thumbnailer.Client.dll

Represents a result in a PommaLabs.Salatino.Models.DataTransferObjects.HealthReport.
Corresponds to the result of a single health check.

public class HealthReportResult
Inheritance
HealthReportResult
Inherited Members

Properties

Data

Additional key-value pairs describing the health of the component.

[JsonProperty("data", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public IDictionary<string, object> Data { get; set; }

Property Value

IDictionary<string, object>

Description

Human-readable description of the status of the component that was checked.

[JsonProperty("description", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string Description { get; set; }

Property Value

string

Duration

Health check execution duration, expressed in seconds.

[JsonProperty("duration", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public double Duration { get; set; }

Property Value

double

Status

[JsonProperty("status", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public HealthStatus Status { get; set; }

Property Value

HealthStatus