VoiceHealth
AgentPrism.Abstractions.dllThe voice provider’s reachability status.
public sealed record VoiceHealth : IEquatable<VoiceHealth>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”ModelProviderHealth is deliberately not reused: a voice provider is
not an IModelProvider and must not appear in the
/api/models/health output. If the two sources were combined into
one list, the circuit breaker and model catalog would behave incorrectly.
Constructors
Section titled “Constructors”VoiceHealth()
Section titled “ VoiceHealth()”public VoiceHealth()Properties
Section titled “Properties”CheckedAt
Section titled “ CheckedAt”The moment the check was performed (UTC).
public required DateTimeOffset CheckedAt { get; init; }Property Value
Section titled “Property Value”Detail
Section titled “ Detail”The reason, if failed. The text carries neither an API key nor an address.
public string? Detail { get; init; }Property Value
Section titled “Property Value”IsHealthy
Section titled “ IsHealthy”Whether the provider is reachable.
public required bool IsHealthy { get; init; }Property Value
Section titled “Property Value”Latency
Section titled “ Latency”The check’s duration.
public required TimeSpan Latency { get; init; }Property Value
Section titled “Property Value”ProviderName
Section titled “ ProviderName”The provider name.
public required string ProviderName { get; init; }Property Value
Section titled “Property Value”VoiceCount
Section titled “ VoiceCount”The number of voices seen during the check.
public int? VoiceCount { get; init; }Property Value
Section titled “Property Value”int?
Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(VoiceHealth?)
Section titled “ Equals(VoiceHealth?)”public bool Equals(VoiceHealth? other)Parameters
Section titled “Parameters”other VoiceHealth?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(VoiceHealth?, VoiceHealth?)
Section titled “ operator ==(VoiceHealth?, VoiceHealth?)”public static bool operator ==(VoiceHealth? left, VoiceHealth? right)Parameters
Section titled “Parameters”left VoiceHealth?
right VoiceHealth?
Returns
Section titled “Returns”operator !=(VoiceHealth?, VoiceHealth?)
Section titled “ operator !=(VoiceHealth?, VoiceHealth?)”public static bool operator !=(VoiceHealth? left, VoiceHealth? right)Parameters
Section titled “Parameters”left VoiceHealth?
right VoiceHealth?