Skip to content

Commit

Permalink
fix #1350 added new columns in the cat nodes API
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed May 7, 2015
1 parent 50b1194 commit 4f07c76
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/Nest/Domain/Cat/CatNodesRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ public class CatNodesRecord : ICatRecord
internal string _diskAvail { get; set; }
public string DiskAvailable { get { return this._diskAvail ?? this._disk ?? this._d ?? this._disk_avail; }}

[JsonProperty("heap.current")]
internal string _heap_current { get; set; }
[JsonProperty("hc")]
internal string _hc { get; set; }
[JsonProperty("heapCurrent")]
internal string _heapCurrent { get; set; }
public string HeapCurrent { get { return this._heapCurrent ?? this._hc ?? this._heap_current; }}

[JsonProperty("heap.percent")]
internal string _heap_percent { get; set; }
[JsonProperty("hp")]
Expand All @@ -78,6 +86,14 @@ public class CatNodesRecord : ICatRecord
[JsonProperty("heapMax")]
internal string _heapMax { get; set; }
public string HeapMax { get { return this._heapMax ?? this._hm ?? this._heap_max; }}
]
[JsonProperty("ram.current")]
internal string _ram_current { get; set; }
[JsonProperty("rc")]
internal string _rc { get; set; }
[JsonProperty("ramCurrent")]
internal string _ramCurrent { get; set; }
public string RamCurrent { get { return this._ramCurrent ?? this._rc ?? this._ram_current; }}

[JsonProperty("ram.percent")]
internal string _ram_percent { get; set; }
Expand Down Expand Up @@ -187,6 +203,22 @@ public class CatNodesRecord : ICatRecord
internal string _flushTotalTime { get; set; }
public string FlushTotalTime { get { return this._flushTotalTime ?? this._ftt ?? this._flush_total_time; }}

[JsonProperty("file_desc.percent")]
internal int _file_desc_percent { get; set; }
[JsonProperty("fdp")]
internal int _fdp { get; set; }
[JsonProperty("fileDescriptorPercent")]
internal int _fileDescriptorPercent { get; set; }
public int FileDescriptorPercent { get { return this._fileDescriptorPercent ?? this._fdp ?? this._file_desc_percent; }}

[JsonProperty("file_desc.max")]
internal int _file_desc_max { get; set; }
[JsonProperty("fdm")]
internal int _fdm { get; set; }
[JsonProperty("fileDescriptorMax")]
internal int _fileDescriptorMax { get; set; }
public int FileDescriptorMax { get { return this._fileDescriptorMax ?? this._fdm ?? this._file_desc_max; }}

[JsonProperty("get.current")]
internal string _get_current { get; set; }
[JsonProperty("gc")]
Expand Down

0 comments on commit 4f07c76

Please sign in to comment.