Class TreeAggregator
  Aggregator for a FieldTreeView.
    Inheritance
    
    
    TreeAggregator
   
  
  Namespace: System.Dynamic.ExpandoObject
  Syntax
  
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class TreeAggregator : AggregatorBase
   
  Properties
  
     
    
  
  
    
  
  
  
  
  The fields ID to execute the aggregation on.
Declaration
  
    [JsonProperty("field", Required = Required.Always)]
[Required]
public string Field { get; set; }
   
  Property Value
  
   
  
     
    
  
  
    
  
  
  
  
  Path to get buckets for.
Remark: If this is not null, missing items will only be returned if they're a direct child of this path.
Declaration
  
    [JsonProperty("path", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string Path { get; set; }
   
  Property Value
  
   
  
     
    
  
  
    
  
  
  
  
  Search string to filter the buckets.
Declaration
  
    [JsonProperty("searchString", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string SearchString { get; set; }
   
  Property Value
  
   
  
     
    
  
  
    
  
  
  
  
  The size parameter can be set to define how many buckets should be returned out of the overall list.
Declaration
  
    [JsonProperty("size", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public int? Size { get; set; }
   
  Property Value
  
   
  
     
    
  
  
    
  
  
  
  
  Sorting for results. If null, sorts by item count.
Declaration
  
    [JsonProperty("sortDirection", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public SortDirection? SortDirection { get; set; }
   
  Property Value
  
   
  Methods
  
     
    
  
  
    
  
  
  
  
  
  
  Declaration
  
    public static TreeAggregator FromJson(string data)
   
  Parameters
  
  Returns