| | | 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.AI.FormRecognizer.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> Summary of all trained custom models. </summary> |
| | | 13 | | internal partial class ModelsSummary |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of ModelsSummary. </summary> |
| | | 16 | | /// <param name="count"> Current count of trained custom models. </param> |
| | | 17 | | /// <param name="limit"> Max number of models that can be trained for this account. </param> |
| | | 18 | | /// <param name="lastUpdatedDateTime"> Date and time (UTC) when the summary was last updated. </param> |
| | 8 | 19 | | internal ModelsSummary(int count, int limit, DateTimeOffset lastUpdatedDateTime) |
| | | 20 | | { |
| | 8 | 21 | | Count = count; |
| | 8 | 22 | | Limit = limit; |
| | 8 | 23 | | LastUpdatedDateTime = lastUpdatedDateTime; |
| | 8 | 24 | | } |
| | | 25 | | |
| | | 26 | | /// <summary> Current count of trained custom models. </summary> |
| | 8 | 27 | | public int Count { get; } |
| | | 28 | | /// <summary> Max number of models that can be trained for this account. </summary> |
| | 8 | 29 | | public int Limit { get; } |
| | | 30 | | /// <summary> Date and time (UTC) when the summary was last updated. </summary> |
| | 0 | 31 | | public DateTimeOffset LastUpdatedDateTime { get; } |
| | | 32 | | } |
| | | 33 | | } |