| | 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 | | /// Exported Model - An exported LUIS Application. |
| | 20 | | /// </summary> |
| | 21 | | public partial class LuisApp |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the LuisApp class. |
| | 25 | | /// </summary> |
| 4 | 26 | | public LuisApp() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 4 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the LuisApp class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="additionalProperties">Unmatched properties from the |
| | 35 | | /// message are deserialized this collection</param> |
| | 36 | | /// <param name="name">The name of the application.</param> |
| | 37 | | /// <param name="versionId">The version ID of the application that was |
| | 38 | | /// exported.</param> |
| | 39 | | /// <param name="desc">The description of the application.</param> |
| | 40 | | /// <param name="culture">The culture of the application. E.g.: |
| | 41 | | /// en-us.</param> |
| | 42 | | /// <param name="intents">List of intents.</param> |
| | 43 | | /// <param name="entities">List of entities.</param> |
| | 44 | | /// <param name="closedLists">List of list entities.</param> |
| | 45 | | /// <param name="composites">List of composite entities.</param> |
| | 46 | | /// <param name="hierarchicals">List of hierarchical entities.</param> |
| | 47 | | /// <param name="patternAnyEntities">List of Pattern.Any |
| | 48 | | /// entities.</param> |
| | 49 | | /// <param name="regexEntities">List of regular expression |
| | 50 | | /// entities.</param> |
| | 51 | | /// <param name="prebuiltEntities">List of prebuilt entities.</param> |
| | 52 | | /// <param name="regexFeatures">List of pattern features.</param> |
| | 53 | | /// <param name="phraselists">List of model features.</param> |
| | 54 | | /// <param name="patterns">List of patterns.</param> |
| | 55 | | /// <param name="utterances">List of example utterances.</param> |
| 0 | 56 | | public LuisApp(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string n |
| | 57 | | { |
| 0 | 58 | | AdditionalProperties = additionalProperties; |
| 0 | 59 | | Name = name; |
| 0 | 60 | | VersionId = versionId; |
| 0 | 61 | | Desc = desc; |
| 0 | 62 | | Culture = culture; |
| 0 | 63 | | Intents = intents; |
| 0 | 64 | | Entities = entities; |
| 0 | 65 | | ClosedLists = closedLists; |
| 0 | 66 | | Composites = composites; |
| 0 | 67 | | Hierarchicals = hierarchicals; |
| 0 | 68 | | PatternAnyEntities = patternAnyEntities; |
| 0 | 69 | | RegexEntities = regexEntities; |
| 0 | 70 | | PrebuiltEntities = prebuiltEntities; |
| 0 | 71 | | RegexFeatures = regexFeatures; |
| 0 | 72 | | Phraselists = phraselists; |
| 0 | 73 | | Patterns = patterns; |
| 0 | 74 | | Utterances = utterances; |
| | 75 | | CustomInit(); |
| 0 | 76 | | } |
| | 77 | |
|
| | 78 | | /// <summary> |
| | 79 | | /// An initialization method that performs custom operations like setting defaults |
| | 80 | | /// </summary> |
| | 81 | | partial void CustomInit(); |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// Gets or sets unmatched properties from the message are deserialized |
| | 85 | | /// this collection |
| | 86 | | /// </summary> |
| | 87 | | [JsonExtensionData] |
| 19 | 88 | | public IDictionary<string, object> AdditionalProperties { get; set; } |
| | 89 | |
|
| | 90 | | /// <summary> |
| | 91 | | /// Gets or sets the name of the application. |
| | 92 | | /// </summary> |
| | 93 | | [JsonProperty(PropertyName = "name")] |
| 8 | 94 | | public string Name { get; set; } |
| | 95 | |
|
| | 96 | | /// <summary> |
| | 97 | | /// Gets or sets the version ID of the application that was exported. |
| | 98 | | /// </summary> |
| | 99 | | [JsonProperty(PropertyName = "versionId")] |
| 7 | 100 | | public string VersionId { get; set; } |
| | 101 | |
|
| | 102 | | /// <summary> |
| | 103 | | /// Gets or sets the description of the application. |
| | 104 | | /// </summary> |
| | 105 | | [JsonProperty(PropertyName = "desc")] |
| 7 | 106 | | public string Desc { get; set; } |
| | 107 | |
|
| | 108 | | /// <summary> |
| | 109 | | /// Gets or sets the culture of the application. E.g.: en-us. |
| | 110 | | /// </summary> |
| | 111 | | [JsonProperty(PropertyName = "culture")] |
| 7 | 112 | | public string Culture { get; set; } |
| | 113 | |
|
| | 114 | | /// <summary> |
| | 115 | | /// Gets or sets list of intents. |
| | 116 | | /// </summary> |
| | 117 | | [JsonProperty(PropertyName = "intents")] |
| 11 | 118 | | public IList<HierarchicalModel> Intents { get; set; } |
| | 119 | |
|
| | 120 | | /// <summary> |
| | 121 | | /// Gets or sets list of entities. |
| | 122 | | /// </summary> |
| | 123 | | [JsonProperty(PropertyName = "entities")] |
| 11 | 124 | | public IList<HierarchicalModel> Entities { get; set; } |
| | 125 | |
|
| | 126 | | /// <summary> |
| | 127 | | /// Gets or sets list of list entities. |
| | 128 | | /// </summary> |
| | 129 | | [JsonProperty(PropertyName = "closedLists")] |
| 11 | 130 | | public IList<ClosedList> ClosedLists { get; set; } |
| | 131 | |
|
| | 132 | | /// <summary> |
| | 133 | | /// Gets or sets list of composite entities. |
| | 134 | | /// </summary> |
| | 135 | | [JsonProperty(PropertyName = "composites")] |
| 11 | 136 | | public IList<HierarchicalModel> Composites { get; set; } |
| | 137 | |
|
| | 138 | | /// <summary> |
| | 139 | | /// Gets or sets list of hierarchical entities. |
| | 140 | | /// </summary> |
| | 141 | | [JsonProperty(PropertyName = "hierarchicals")] |
| 7 | 142 | | public IList<HierarchicalModel> Hierarchicals { get; set; } |
| | 143 | |
|
| | 144 | | /// <summary> |
| | 145 | | /// Gets or sets list of Pattern.Any entities. |
| | 146 | | /// </summary> |
| | 147 | | [JsonProperty(PropertyName = "patternAnyEntities")] |
| 7 | 148 | | public IList<PatternAny> PatternAnyEntities { get; set; } |
| | 149 | |
|
| | 150 | | /// <summary> |
| | 151 | | /// Gets or sets list of regular expression entities. |
| | 152 | | /// </summary> |
| | 153 | | [JsonProperty(PropertyName = "regex_entities")] |
| 7 | 154 | | public IList<RegexEntity> RegexEntities { get; set; } |
| | 155 | |
|
| | 156 | | /// <summary> |
| | 157 | | /// Gets or sets list of prebuilt entities. |
| | 158 | | /// </summary> |
| | 159 | | [JsonProperty(PropertyName = "prebuiltEntities")] |
| 7 | 160 | | public IList<PrebuiltEntity> PrebuiltEntities { get; set; } |
| | 161 | |
|
| | 162 | | /// <summary> |
| | 163 | | /// Gets or sets list of pattern features. |
| | 164 | | /// </summary> |
| | 165 | | [JsonProperty(PropertyName = "regex_features")] |
| 11 | 166 | | public IList<JSONRegexFeature> RegexFeatures { get; set; } |
| | 167 | |
|
| | 168 | | /// <summary> |
| | 169 | | /// Gets or sets list of model features. |
| | 170 | | /// </summary> |
| | 171 | | [JsonProperty(PropertyName = "phraselists")] |
| 7 | 172 | | public IList<JSONModelFeature> Phraselists { get; set; } |
| | 173 | |
|
| | 174 | | /// <summary> |
| | 175 | | /// Gets or sets list of patterns. |
| | 176 | | /// </summary> |
| | 177 | | [JsonProperty(PropertyName = "patterns")] |
| 7 | 178 | | public IList<PatternRule> Patterns { get; set; } |
| | 179 | |
|
| | 180 | | /// <summary> |
| | 181 | | /// Gets or sets list of example utterances. |
| | 182 | | /// </summary> |
| | 183 | | [JsonProperty(PropertyName = "utterances")] |
| 11 | 184 | | public IList<JSONUtterance> Utterances { get; set; } |
| | 185 | |
|
| | 186 | | } |
| | 187 | | } |