| | | 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.Collections.Generic; |
| | | 9 | | using Azure.AI.FormRecognizer.Training; |
| | | 10 | | using Azure.Core; |
| | | 11 | | |
| | | 12 | | namespace Azure.AI.FormRecognizer.Models |
| | | 13 | | { |
| | | 14 | | /// <summary> Response to the list custom models operation. </summary> |
| | | 15 | | internal partial class Models |
| | | 16 | | { |
| | | 17 | | /// <summary> Initializes a new instance of Models. </summary> |
| | 0 | 18 | | internal Models() |
| | | 19 | | { |
| | 0 | 20 | | ModelList = new ChangeTrackingList<CustomFormModelInfo>(); |
| | 0 | 21 | | } |
| | | 22 | | |
| | | 23 | | /// <summary> Initializes a new instance of Models. </summary> |
| | | 24 | | /// <param name="summary"> Summary of all trained custom models. </param> |
| | | 25 | | /// <param name="modelList"> Collection of trained custom models. </param> |
| | | 26 | | /// <param name="nextLink"> Link to the next page of custom models. </param> |
| | 20 | 27 | | internal Models(ModelsSummary summary, IReadOnlyList<CustomFormModelInfo> modelList, string nextLink) |
| | | 28 | | { |
| | 20 | 29 | | Summary = summary; |
| | 20 | 30 | | ModelList = modelList; |
| | 20 | 31 | | NextLink = nextLink; |
| | 20 | 32 | | } |
| | | 33 | | |
| | | 34 | | /// <summary> Summary of all trained custom models. </summary> |
| | 8 | 35 | | public ModelsSummary Summary { get; } |
| | | 36 | | /// <summary> Collection of trained custom models. </summary> |
| | 12 | 37 | | public IReadOnlyList<CustomFormModelInfo> ModelList { get; } |
| | | 38 | | /// <summary> Link to the next page of custom models. </summary> |
| | 12 | 39 | | public string NextLink { get; } |
| | | 40 | | } |
| | | 41 | | } |