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