| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.Search.Documents.Indexes.Models |
| | 9 | | { |
| | 10 | | /// <summary> Statistics for a given index. Statistics are collected periodically and are not guaranteed to always b |
| | 11 | | public partial class SearchIndexStatistics |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of SearchIndexStatistics. </summary> |
| | 14 | | /// <param name="documentCount"> The number of documents in the index. </param> |
| | 15 | | /// <param name="storageSize"> The amount of storage in bytes consumed by the index. </param> |
| 0 | 16 | | internal SearchIndexStatistics(long documentCount, long storageSize) |
| | 17 | | { |
| 0 | 18 | | DocumentCount = documentCount; |
| 0 | 19 | | StorageSize = storageSize; |
| 0 | 20 | | } |
| | 21 | |
|
| | 22 | | /// <summary> The number of documents in the index. </summary> |
| 0 | 23 | | public long DocumentCount { get; } |
| | 24 | | /// <summary> The amount of storage in bytes consumed by the index. </summary> |
| 0 | 25 | | public long StorageSize { get; } |
| | 26 | | } |
| | 27 | | } |