| | 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.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// Prebuilt Domain. |
| | 20 | | /// </summary> |
| | 21 | | public partial class PrebuiltDomain |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the PrebuiltDomain class. |
| | 25 | | /// </summary> |
| 143 | 26 | | public PrebuiltDomain() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 143 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the PrebuiltDomain class. |
| | 33 | | /// </summary> |
| 0 | 34 | | public PrebuiltDomain(string name = default(string), string culture = default(string), string description = defa |
| | 35 | | { |
| 0 | 36 | | Name = name; |
| 0 | 37 | | Culture = culture; |
| 0 | 38 | | Description = description; |
| 0 | 39 | | Examples = examples; |
| 0 | 40 | | Intents = intents; |
| 0 | 41 | | Entities = entities; |
| | 42 | | CustomInit(); |
| 0 | 43 | | } |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// An initialization method that performs custom operations like setting defaults |
| | 47 | | /// </summary> |
| | 48 | | partial void CustomInit(); |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// </summary> |
| | 52 | | [JsonProperty(PropertyName = "name")] |
| 0 | 53 | | public string Name { get; set; } |
| | 54 | |
|
| | 55 | | /// <summary> |
| | 56 | | /// </summary> |
| | 57 | | [JsonProperty(PropertyName = "culture")] |
| 0 | 58 | | public string Culture { get; set; } |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// </summary> |
| | 62 | | [JsonProperty(PropertyName = "description")] |
| 748 | 63 | | public string Description { get; set; } |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// </summary> |
| | 67 | | [JsonProperty(PropertyName = "examples")] |
| 0 | 68 | | public string Examples { get; set; } |
| | 69 | |
|
| | 70 | | /// <summary> |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "intents")] |
| 407 | 73 | | public IList<PrebuiltDomainItem> Intents { get; set; } |
| | 74 | |
|
| | 75 | | /// <summary> |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "entities")] |
| 407 | 78 | | public IList<PrebuiltDomainItem> Entities { get; set; } |
| | 79 | |
|
| | 80 | | } |
| | 81 | | } |