| | 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 | | /// <summary> |
| | 19 | | /// Extraction information of a single page in a |
| | 20 | | /// with a document. |
| | 21 | | /// </summary> |
| | 22 | | public partial class ExtractedPage |
| | 23 | | { |
| | 24 | | /// <summary> |
| | 25 | | /// Initializes a new instance of the ExtractedPage class. |
| | 26 | | /// </summary> |
| 0 | 27 | | public ExtractedPage() |
| | 28 | | { |
| | 29 | | CustomInit(); |
| 0 | 30 | | } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// Initializes a new instance of the ExtractedPage class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="number">Page number.</param> |
| | 36 | | /// <param name="height">Height of the page (in pixels).</param> |
| | 37 | | /// <param name="width">Width of the page (in pixels).</param> |
| | 38 | | /// <param name="clusterId">Cluster identifier.</param> |
| | 39 | | /// <param name="keyValuePairs">List of Key-Value pairs extracted from |
| | 40 | | /// the page.</param> |
| | 41 | | /// <param name="tables">List of Tables and their information extracted |
| | 42 | | /// from the page.</param> |
| 0 | 43 | | public ExtractedPage(int? number = default(int?), int? height = default(int?), int? width = default(int?), int? |
| | 44 | | { |
| 0 | 45 | | Number = number; |
| 0 | 46 | | Height = height; |
| 0 | 47 | | Width = width; |
| 0 | 48 | | ClusterId = clusterId; |
| 0 | 49 | | KeyValuePairs = keyValuePairs; |
| 0 | 50 | | Tables = tables; |
| | 51 | | CustomInit(); |
| 0 | 52 | | } |
| | 53 | |
|
| | 54 | | /// <summary> |
| | 55 | | /// An initialization method that performs custom operations like setting defaults |
| | 56 | | /// </summary> |
| | 57 | | partial void CustomInit(); |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// Gets or sets page number. |
| | 61 | | /// </summary> |
| | 62 | | [JsonProperty(PropertyName = "number")] |
| 0 | 63 | | public int? Number { get; set; } |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// Gets or sets height of the page (in pixels). |
| | 67 | | /// </summary> |
| | 68 | | [JsonProperty(PropertyName = "height")] |
| 0 | 69 | | public int? Height { get; set; } |
| | 70 | |
|
| | 71 | | /// <summary> |
| | 72 | | /// Gets or sets width of the page (in pixels). |
| | 73 | | /// </summary> |
| | 74 | | [JsonProperty(PropertyName = "width")] |
| 0 | 75 | | public int? Width { get; set; } |
| | 76 | |
|
| | 77 | | /// <summary> |
| | 78 | | /// Gets or sets cluster identifier. |
| | 79 | | /// </summary> |
| | 80 | | [JsonProperty(PropertyName = "clusterId")] |
| 0 | 81 | | public int? ClusterId { get; set; } |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// Gets or sets list of Key-Value pairs extracted from the page. |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "keyValuePairs")] |
| 0 | 87 | | public IList<ExtractedKeyValuePair> KeyValuePairs { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets list of Tables and their information extracted from |
| | 91 | | /// the page. |
| | 92 | | /// </summary> |
| | 93 | | [JsonProperty(PropertyName = "tables")] |
| 0 | 94 | | public IList<ExtractedTable> Tables { get; set; } |
| | 95 | |
|
| | 96 | | } |
| | 97 | | } |