| | | 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> The LanguageBatchInput. </summary> |
| | | 15 | | internal partial class LanguageBatchInput |
| | | 16 | | { |
| | | 17 | | /// <summary> Initializes a new instance of LanguageBatchInput. </summary> |
| | | 18 | | /// <param name="documents"> . </param> |
| | | 19 | | /// <exception cref="ArgumentNullException"> <paramref name="documents"/> is null. </exception> |
| | 52 | 20 | | public LanguageBatchInput(IEnumerable<LanguageInput> documents) |
| | | 21 | | { |
| | 52 | 22 | | if (documents == null) |
| | | 23 | | { |
| | 0 | 24 | | throw new ArgumentNullException(nameof(documents)); |
| | | 25 | | } |
| | | 26 | | |
| | 52 | 27 | | Documents = documents.ToList(); |
| | 52 | 28 | | } |
| | | 29 | | |
| | 72 | 30 | | public IList<LanguageInput> Documents { get; } |
| | | 31 | | } |
| | | 32 | | } |