Skip to main content

Class KVPair

Namespace: Consul
Assembly: Consul.dll

KVPair is used to represent a single K/V entry

[JsonConverter(typeof(KVPairConverter))]
public class KVPair

Inheritance

objectKVPair

Inherited Members

object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Constructors

KVPair(string)

public KVPair(string key)

Parameters

key string

Properties

CreateIndex

public ulong CreateIndex { get; set; }

Property Value

ulong

Flags

public ulong Flags { get; set; }

Property Value

ulong

Key

public string Key { get; set; }

Property Value

string

LockIndex

public ulong LockIndex { get; set; }

Property Value

ulong

ModifyIndex

public ulong ModifyIndex { get; set; }

Property Value

ulong

Session

public string Session { get; set; }

Property Value

string

Value

public byte[] Value { get; set; }

Property Value

byte []