ReliabilityCriterion

data class ReliabilityCriterion(val criterion: ReliabilityCriterionId? = null, val status: ReliabilityCriterionStatus? = null, val inGracePeriod: Boolean? = null, val gracePeriodEndsAt: IsoDateTime? = null, val onProbation: Boolean? = null, val probationEndsAt: IsoDateTime? = null, val evaluatedAt: IsoDateTime? = null, val firstFailureAt: IsoDateTime? = null, val lastFailureAt: IsoDateTime? = null)(source)

One criterion's contribution to the Seal of Reliability.

Constructors

Link copied to clipboard
constructor(criterion: ReliabilityCriterionId? = null, status: ReliabilityCriterionStatus? = null, inGracePeriod: Boolean? = null, gracePeriodEndsAt: IsoDateTime? = null, onProbation: Boolean? = null, probationEndsAt: IsoDateTime? = null, evaluatedAt: IsoDateTime? = null, firstFailureAt: IsoDateTime? = null, lastFailureAt: IsoDateTime? = null)

Properties

Link copied to clipboard

Which criterion this entry describes.

Link copied to clipboard
@SerialName(value = "evaluated_at")
val evaluatedAt: IsoDateTime?

Instant this criterion was last evaluated.

Link copied to clipboard
@SerialName(value = "first_failure_at")
val firstFailureAt: IsoDateTime?

Start of the current run of failing checks.

Link copied to clipboard
@SerialName(value = "grace_period_ends_at")
val gracePeriodEndsAt: IsoDateTime?

Instant the grace period expires.

Link copied to clipboard
@SerialName(value = "in_grace_period")
val inGracePeriod: Boolean?

Whether a failing check is still inside the grace period.

Link copied to clipboard
@SerialName(value = "last_failure_at")
val lastFailureAt: IsoDateTime?

Most recent failing check.

Link copied to clipboard
@SerialName(value = "on_probation")
val onProbation: Boolean?

Whether this criterion is serving probation.

Link copied to clipboard
@SerialName(value = "probation_ends_at")
val probationEndsAt: IsoDateTime?

Instant this criterion finishes probation.

Link copied to clipboard

Verdict at the last evaluation, with no grace period applied.