Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/Nest/Cluster/ClusterStats/ClusterNodesStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ public class ClusterNodesStats
[DataMember(Name ="discovery_types")]
public IReadOnlyDictionary<string, int> DiscoveryTypes { get; internal set; }

[DataMember(Name ="packaging_types")]
public IReadOnlyCollection<NodePackagingType> PackagingTypes { get; internal set; }

[DataMember(Name ="fs")]
public ClusterFileSystem FileSystem { get; internal set; }

Expand All @@ -34,6 +37,18 @@ public class ClusterNodesStats
public IReadOnlyCollection<string> Versions { get; internal set; }
}

public class NodePackagingType
{
[DataMember(Name ="flavor")]
public string Flavor { get; internal set; }

[DataMember(Name ="type")]
public string Type { get; internal set; }

[DataMember(Name ="count")]
public int Count { get; internal set; }
}

[DataContract]
public class ClusterNetworkTypes
{
Expand Down