Class SessionEntry
Namespace: Consul
Assembly: Consul.dll
public class SessionEntry
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
SessionEntry()
public SessionEntry()
Properties
Behavior
[JsonConverter(typeof(SessionBehaviorConverter))]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public SessionBehavior Behavior { get; set; }
Property Value
Checks
public List<string> Checks { get; set; }
Property Value
CreateIndex
public ulong CreateIndex { get; set; }
Property Value
ID
public string ID { get; set; }
Property Value
LockDelay
[JsonConverter(typeof(NanoSecTimespanConverter))]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public TimeSpan? LockDelay { get; set; }
Property Value
TimeSpan ?
Name
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Name { get; set; }
Property Value
Node
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Node { get; set; }
Property Value
TTL
[JsonConverter(typeof(DurationTimespanConverter))]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public TimeSpan? TTL { get; set; }
Property Value
TimeSpan ?
Methods
ShouldSerializeChecks()
public bool ShouldSerializeChecks()
Returns
ShouldSerializeCreateIndex()
public static bool ShouldSerializeCreateIndex()
Returns
ShouldSerializeID()
public static bool ShouldSerializeID()