Skip to main content

Class TTLStatus

Namespace: Consul
Assembly: Consul.dll

The status of a TTL check

public class TTLStatus : IEquatable<TTLStatus>

Inheritance

objectTTLStatus

Implements

IEquatable<TTLStatus>

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

TTLStatus

Fail

[Obsolete("Use TTLStatus.Critical instead. This status will be an error in 0.7.0+", true)]
public static TTLStatus Fail { get; }

Property Value

TTLStatus

Pass

public static TTLStatus Pass { get; }

Property Value

TTLStatus

Status

public string Status { get; }

Property Value

string

Warn

public static TTLStatus Warn { get; }

Property Value

TTLStatus

Methods

Equals(TTLStatus)

public bool Equals(TTLStatus other)

Parameters

other TTLStatus

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

  • Properties
    • Critical
    • Fail
    • Pass
    • Status
    • Warn
  • Methods
    • Equals(TTLStatus)
    • Equals(object)
    • GetHashCode()