| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.Search.Documents.Indexes.Models |
| | 11 | | { |
| | 12 | | /// <summary> The SearchIndexerLimits. </summary> |
| | 13 | | public partial class SearchIndexerLimits |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of SearchIndexerLimits. </summary> |
| 0 | 16 | | internal SearchIndexerLimits() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of SearchIndexerLimits. </summary> |
| | 21 | | /// <param name="maxRunTime"> The maximum duration that the indexer is permitted to run for one execution. </par |
| | 22 | | /// <param name="maxDocumentExtractionSize"> The maximum size of a document, in bytes, which will be considered |
| | 23 | | /// <param name="maxDocumentContentCharactersToExtract"> The maximum number of characters that will be extracted |
| 5 | 24 | | internal SearchIndexerLimits(TimeSpan? maxRunTime, long? maxDocumentExtractionSize, long? maxDocumentContentChar |
| | 25 | | { |
| 5 | 26 | | MaxRunTime = maxRunTime; |
| 5 | 27 | | MaxDocumentExtractionSize = maxDocumentExtractionSize; |
| 5 | 28 | | MaxDocumentContentCharactersToExtract = maxDocumentContentCharactersToExtract; |
| 5 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> The maximum duration that the indexer is permitted to run for one execution. </summary> |
| 0 | 32 | | public TimeSpan? MaxRunTime { get; } |
| | 33 | | /// <summary> The maximum size of a document, in bytes, which will be considered valid for indexing. </summary> |
| 0 | 34 | | public long? MaxDocumentExtractionSize { get; } |
| | 35 | | /// <summary> The maximum number of characters that will be extracted from a document picked up for indexing. </ |
| 0 | 36 | | public long? MaxDocumentContentCharactersToExtract { get; } |
| | 37 | | } |
| | 38 | | } |