| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.CognitiveServices.FormRecognizer.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | public partial class FormDocumentReport |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// Initializes a new instance of the FormDocumentReport class. |
| | 22 | | /// </summary> |
| 0 | 23 | | public FormDocumentReport() |
| | 24 | | { |
| | 25 | | CustomInit(); |
| 0 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Initializes a new instance of the FormDocumentReport class. |
| | 30 | | /// </summary> |
| | 31 | | /// <param name="documentName">Reference to the data that the report is |
| | 32 | | /// for.</param> |
| | 33 | | /// <param name="pages">Total number of pages trained on.</param> |
| | 34 | | /// <param name="errors">List of errors per page.</param> |
| | 35 | | /// <param name="status">Status of the training operation. Possible |
| | 36 | | /// values include: 'success', 'partialSuccess', 'failure'</param> |
| 0 | 37 | | public FormDocumentReport(string documentName = default(string), int? pages = default(int?), IList<string> error |
| | 38 | | { |
| 0 | 39 | | DocumentName = documentName; |
| 0 | 40 | | Pages = pages; |
| 0 | 41 | | Errors = errors; |
| 0 | 42 | | Status = status; |
| | 43 | | CustomInit(); |
| 0 | 44 | | } |
| | 45 | |
|
| | 46 | | /// <summary> |
| | 47 | | /// An initialization method that performs custom operations like setting defaults |
| | 48 | | /// </summary> |
| | 49 | | partial void CustomInit(); |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// Gets or sets reference to the data that the report is for. |
| | 53 | | /// </summary> |
| | 54 | | [JsonProperty(PropertyName = "documentName")] |
| 0 | 55 | | public string DocumentName { get; set; } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// Gets or sets total number of pages trained on. |
| | 59 | | /// </summary> |
| | 60 | | [JsonProperty(PropertyName = "pages")] |
| 0 | 61 | | public int? Pages { get; set; } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// Gets or sets list of errors per page. |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "errors")] |
| 0 | 67 | | public IList<string> Errors { get; set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets status of the training operation. Possible values |
| | 71 | | /// include: 'success', 'partialSuccess', 'failure' |
| | 72 | | /// </summary> |
| | 73 | | [JsonProperty(PropertyName = "status")] |
| 0 | 74 | | public string Status { get; set; } |
| | 75 | |
|
| | 76 | | } |
| | 77 | | } |