File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -37,5 +37,8 @@ public class CatHealthRecord : ICatRecord
3737
3838 [ JsonProperty ( "unassign" ) ]
3939 public string Unassigned { get ; set ; }
40+
41+ [ JsonProperty ( "pending_tasks" ) ]
42+ public string PendingTasks { get ; set ; }
4043 }
4144}
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public interface IHealthResponse : IResponse
1717 int RelocatingShards { get ; }
1818 int InitializingShards { get ; }
1919 int UnassignedShards { get ; }
20+ int NumberOfPendingTasks { get ; }
2021 Dictionary < string , IndexHealthStats > Indices { get ; }
2122 }
2223
@@ -50,7 +51,8 @@ public HealthResponse()
5051 public int InitializingShards { get ; internal set ; }
5152 [ JsonProperty ( PropertyName = "unassigned_shards" ) ]
5253 public int UnassignedShards { get ; internal set ; }
53-
54+ [ JsonProperty ( PropertyName = "number_of_pending_tasks" ) ]
55+ public int NumberOfPendingTasks { get ; internal set ; }
5456 [ JsonProperty ( PropertyName = "indices" ) ]
5557 [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
5658 public Dictionary < string , IndexHealthStats > Indices { get ; set ; }
You can’t perform that action at this time.
0 commit comments