| | 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.Linq; |
| | 15 | |
|
| | 16 | | public partial class DocumentStatistics |
| | 17 | | { |
| | 18 | | /// <summary> |
| | 19 | | /// Initializes a new instance of the DocumentStatistics class. |
| | 20 | | /// </summary> |
| 0 | 21 | | public DocumentStatistics() |
| | 22 | | { |
| | 23 | | CustomInit(); |
| 0 | 24 | | } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// Initializes a new instance of the DocumentStatistics class. |
| | 28 | | /// </summary> |
| | 29 | | /// <param name="charactersCount">Number of text elements recognized in |
| | 30 | | /// the document.</param> |
| | 31 | | /// <param name="transactionsCount">Number of transactions for the |
| | 32 | | /// document.</param> |
| 0 | 33 | | public DocumentStatistics(int? charactersCount = default(int?), int? transactionsCount = default(int?)) |
| | 34 | | { |
| 0 | 35 | | CharactersCount = charactersCount; |
| 0 | 36 | | TransactionsCount = transactionsCount; |
| | 37 | | CustomInit(); |
| 0 | 38 | | } |
| | 39 | |
|
| | 40 | | /// <summary> |
| | 41 | | /// An initialization method that performs custom operations like setting defaults |
| | 42 | | /// </summary> |
| | 43 | | partial void CustomInit(); |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// Gets or sets number of text elements recognized in the document. |
| | 47 | | /// </summary> |
| | 48 | | [JsonProperty(PropertyName = "charactersCount")] |
| 0 | 49 | | public int? CharactersCount { get; set; } |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// Gets or sets number of transactions for the document. |
| | 53 | | /// </summary> |
| | 54 | | [JsonProperty(PropertyName = "transactionsCount")] |
| 0 | 55 | | public int? TransactionsCount { get; set; } |
| | 56 | |
|
| | 57 | | } |
| | 58 | | } |