| | 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.LUIS.Authoring.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Available Prebuilt entity model for using in an application. |
| | 18 | | /// </summary> |
| | 19 | | public partial class AvailablePrebuiltEntityModel |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the AvailablePrebuiltEntityModel |
| | 23 | | /// class. |
| | 24 | | /// </summary> |
| 18 | 25 | | public AvailablePrebuiltEntityModel() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 18 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the AvailablePrebuiltEntityModel |
| | 32 | | /// class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="name">The entity name.</param> |
| | 35 | | /// <param name="description">The entity description and usage |
| | 36 | | /// information.</param> |
| | 37 | | /// <param name="examples">Usage examples.</param> |
| 0 | 38 | | public AvailablePrebuiltEntityModel(string name = default(string), string description = default(string), string |
| | 39 | | { |
| 0 | 40 | | Name = name; |
| 0 | 41 | | Description = description; |
| 0 | 42 | | Examples = examples; |
| | 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 the entity name. |
| | 53 | | /// </summary> |
| | 54 | | [JsonProperty(PropertyName = "name")] |
| 0 | 55 | | public string Name { get; set; } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// Gets or sets the entity description and usage information. |
| | 59 | | /// </summary> |
| | 60 | | [JsonProperty(PropertyName = "description")] |
| 0 | 61 | | public string Description { get; set; } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// Gets or sets usage examples. |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "examples")] |
| 0 | 67 | | public string Examples { get; set; } |
| | 68 | |
|
| | 69 | | } |
| | 70 | | } |