| | 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 KeyPhraseBatchResultItem |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// Initializes a new instance of the KeyPhraseBatchResultItem class. |
| | 22 | | /// </summary> |
| 4 | 23 | | public KeyPhraseBatchResultItem() |
| | 24 | | { |
| | 25 | | CustomInit(); |
| 4 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Initializes a new instance of the KeyPhraseBatchResultItem class. |
| | 30 | | /// </summary> |
| | 31 | | /// <param name="id">Unique, non-empty document identifier.</param> |
| | 32 | | /// <param name="keyPhrases">A list of representative words or phrases. |
| | 33 | | /// The number of key phrases returned is proportional to the number of |
| | 34 | | /// words in the input document.</param> |
| | 35 | | /// <param name="statistics">(Optional) if showStats=true was specified |
| | 36 | | /// in the request this field will contain information about the |
| | 37 | | /// document payload.</param> |
| 0 | 38 | | public KeyPhraseBatchResultItem(string id = default(string), IList<string> keyPhrases = default(IList<string>), |
| | 39 | | { |
| 0 | 40 | | Id = id; |
| 0 | 41 | | KeyPhrases = keyPhrases; |
| 0 | 42 | | Statistics = statistics; |
| | 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 unique, non-empty document identifier. |
| | 53 | | /// </summary> |
| | 54 | | [JsonProperty(PropertyName = "id")] |
| 0 | 55 | | public string Id { get; set; } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// Gets a list of representative words or phrases. The number of key |
| | 59 | | /// phrases returned is proportional to the number of words in the |
| | 60 | | /// input document. |
| | 61 | | /// </summary> |
| | 62 | | [JsonProperty(PropertyName = "keyPhrases")] |
| 12 | 63 | | public IList<string> KeyPhrases { get; private set; } |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// Gets or sets (Optional) if showStats=true was specified in the |
| | 67 | | /// request this field will contain information about the document |
| | 68 | | /// payload. |
| | 69 | | /// </summary> |
| | 70 | | [JsonProperty(PropertyName = "statistics")] |
| 0 | 71 | | public DocumentStatistics Statistics { get; set; } |
| | 72 | |
|
| | 73 | | } |
| | 74 | | } |