Class TTLStatus
Namespace: Consul
Assembly: Consul.dll
The status of a TTL check
public class TTLStatus : IEquatable<TTLStatus>
Inheritance
Implements
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Properties
Critical
public static TTLStatus Critical { get; }
Property Value
Fail
[Obsolete("Use TTLStatus.Critical instead. This status will be an error in 0.7.0+", true)]
public static TTLStatus Fail { get; }
Property Value
Pass
public static TTLStatus Pass { get; }
Property Value
Status
public string Status { get; }
Property Value
Warn
public static TTLStatus Warn { get; }
Property Value
Methods
Equals(TTLStatus)
public bool Equals(TTLStatus other)
Parameters
other
TTLStatus
Returns
Equals(object)
public override bool Equals(object other)
Parameters
other
object
Returns
GetHashCode()
public override int GetHashCode()