Skip to main content

Class SessionEntry

Namespace: Consul
Assembly: Consul.dll

public class SessionEntry

Inheritance

objectSessionEntry

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

SessionBehavior

Checks

public List<string> Checks { get; set; }

Property Value

List <string >

CreateIndex

public ulong CreateIndex { get; set; }

Property Value

ulong

ID

public string ID { get; set; }

Property Value

string

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

string

Node

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Node { get; set; }

Property Value

string

TTL

[JsonConverter(typeof(DurationTimespanConverter))]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public TimeSpan? TTL { get; set; }

Property Value

TimeSpan ?

Methods

ShouldSerializeChecks()

public bool ShouldSerializeChecks()

Returns

bool

ShouldSerializeCreateIndex()

public static bool ShouldSerializeCreateIndex()

Returns

bool

ShouldSerializeID()

public static bool ShouldSerializeID()

Returns

bool

  • Constructors
    • SessionEntry()
  • Properties
    • Behavior
    • Checks
    • CreateIndex
    • ID
    • LockDelay
    • Name
    • Node
    • TTL
  • Methods
    • ShouldSerializeChecks()
    • ShouldSerializeCreateIndex()
    • ShouldSerializeID()