| | 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 | | using System.Collections.Generic; |
| | 10 | | using System.Linq; |
| | 11 | |
|
| | 12 | | namespace Azure.AI.TextAnalytics.Models |
| | 13 | | { |
| | 14 | | /// <summary> Contains a set of input documents to be analyzed by the service. </summary> |
| | 15 | | internal partial class MultiLanguageBatchInput |
| | 16 | | { |
| | 17 | | /// <summary> Initializes a new instance of MultiLanguageBatchInput. </summary> |
| | 18 | | /// <param name="documents"> The set of documents to process as part of this batch. </param> |
| | 19 | | /// <exception cref="ArgumentNullException"> <paramref name="documents"/> is null. </exception> |
| 0 | 20 | | public MultiLanguageBatchInput(IEnumerable<MultiLanguageInput> documents) |
| | 21 | | { |
| 0 | 22 | | if (documents == null) |
| | 23 | | { |
| 0 | 24 | | throw new ArgumentNullException(nameof(documents)); |
| | 25 | | } |
| | 26 | |
|
| 0 | 27 | | Documents = documents.ToList(); |
| 0 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> The set of documents to process as part of this batch. </summary> |
| 0 | 31 | | public IList<MultiLanguageInput> Documents { get; } |
| | 32 | | } |
| | 33 | | } |