| | 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.Language.TextAnalytics.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | public partial class EntitiesBatchResultItem |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// Initializes a new instance of the EntitiesBatchResultItem class. |
| | 22 | | /// </summary> |
| 4 | 23 | | public EntitiesBatchResultItem() |
| | 24 | | { |
| | 25 | | CustomInit(); |
| 4 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Initializes a new instance of the EntitiesBatchResultItem class. |
| | 30 | | /// </summary> |
| | 31 | | /// <param name="id">Unique, non-empty document identifier.</param> |
| | 32 | | /// <param name="entities">Recognized entities in the document.</param> |
| | 33 | | /// <param name="statistics">(Optional) if showStats=true was specified |
| | 34 | | /// in the request this field will contain information about the |
| | 35 | | /// document payload.</param> |
| 0 | 36 | | public EntitiesBatchResultItem(string id = default(string), IList<EntityRecord> entities = default(IList<EntityR |
| | 37 | | { |
| 0 | 38 | | Id = id; |
| 0 | 39 | | Entities = entities; |
| 0 | 40 | | Statistics = statistics; |
| | 41 | | CustomInit(); |
| 0 | 42 | | } |
| | 43 | |
|
| | 44 | | /// <summary> |
| | 45 | | /// An initialization method that performs custom operations like setting defaults |
| | 46 | | /// </summary> |
| | 47 | | partial void CustomInit(); |
| | 48 | |
|
| | 49 | | /// <summary> |
| | 50 | | /// Gets or sets unique, non-empty document identifier. |
| | 51 | | /// </summary> |
| | 52 | | [JsonProperty(PropertyName = "id")] |
| 0 | 53 | | public string Id { get; set; } |
| | 54 | |
|
| | 55 | | /// <summary> |
| | 56 | | /// Gets recognized entities in the document. |
| | 57 | | /// </summary> |
| | 58 | | [JsonProperty(PropertyName = "entities")] |
| 20 | 59 | | public IList<EntityRecord> Entities { get; private set; } |
| | 60 | |
|
| | 61 | | /// <summary> |
| | 62 | | /// Gets or sets (Optional) if showStats=true was specified in the |
| | 63 | | /// request this field will contain information about the document |
| | 64 | | /// payload. |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "statistics")] |
| 0 | 67 | | public DocumentStatistics Statistics { get; set; } |
| | 68 | |
|
| | 69 | | } |
| | 70 | | } |