/
FacetResult.cs
33 lines (27 loc) · 1.31 KB
/
FacetResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.Search.Documents.Models
{
/// <summary> A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval. </summary>
public partial class FacetResult
{
/// <summary> Initializes a new instance of <see cref="FacetResult"/>. </summary>
internal FacetResult()
{
AdditionalProperties = new ChangeTrackingDictionary<string, object>();
}
/// <summary> Initializes a new instance of <see cref="FacetResult"/>. </summary>
/// <param name="count"> The approximate count of documents falling within the bucket described by this facet. </param>
/// <param name="additionalProperties"> Additional Properties. </param>
internal FacetResult(long? count, IReadOnlyDictionary<string, object> additionalProperties)
{
Count = count;
AdditionalProperties = additionalProperties;
}
/// <summary> The approximate count of documents falling within the bucket described by this facet. </summary>
public long? Count { get; }
}
}