-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
LuisAppV2.cs
188 lines (166 loc) · 7.78 KB
/
LuisAppV2.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Exported Model - An exported LUIS Application.
/// </summary>
public partial class LuisAppV2
{
/// <summary>
/// Initializes a new instance of the LuisAppV2 class.
/// </summary>
public LuisAppV2()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the LuisAppV2 class.
/// </summary>
/// <param name="additionalProperties">Unmatched properties from the
/// message are deserialized this collection</param>
/// <param name="luisSchemaVersion">Luis schema deserialization
/// version.</param>
/// <param name="name">The name of the application.</param>
/// <param name="versionId">The version ID of the application that was
/// exported.</param>
/// <param name="desc">The description of the application.</param>
/// <param name="culture">The culture of the application. E.g.:
/// en-us.</param>
/// <param name="intents">List of intents.</param>
/// <param name="entities">List of entities.</param>
/// <param name="closedLists">List of list entities.</param>
/// <param name="composites">List of composite entities.</param>
/// <param name="patternAnyEntities">List of Pattern.Any
/// entities.</param>
/// <param name="regexEntities">List of regular expression
/// entities.</param>
/// <param name="prebuiltEntities">List of prebuilt entities.</param>
/// <param name="regexFeatures">List of pattern features.</param>
/// <param name="modelFeatures">List of model features.</param>
/// <param name="patterns">List of patterns.</param>
/// <param name="utterances">List of example utterances.</param>
public LuisAppV2(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string luisSchemaVersion = default(string), string name = default(string), string versionId = default(string), string desc = default(string), string culture = default(string), IList<HierarchicalModelV2> intents = default(IList<HierarchicalModelV2>), IList<HierarchicalModelV2> entities = default(IList<HierarchicalModelV2>), IList<ClosedList> closedLists = default(IList<ClosedList>), IList<HierarchicalModelV2> composites = default(IList<HierarchicalModelV2>), IList<PatternAny> patternAnyEntities = default(IList<PatternAny>), IList<RegexEntity> regexEntities = default(IList<RegexEntity>), IList<PrebuiltEntity> prebuiltEntities = default(IList<PrebuiltEntity>), IList<JSONRegexFeature> regexFeatures = default(IList<JSONRegexFeature>), IList<JSONModelFeature> modelFeatures = default(IList<JSONModelFeature>), IList<PatternRule> patterns = default(IList<PatternRule>), IList<JSONUtterance> utterances = default(IList<JSONUtterance>))
{
AdditionalProperties = additionalProperties;
LuisSchemaVersion = luisSchemaVersion;
Name = name;
VersionId = versionId;
Desc = desc;
Culture = culture;
Intents = intents;
Entities = entities;
ClosedLists = closedLists;
Composites = composites;
PatternAnyEntities = patternAnyEntities;
RegexEntities = regexEntities;
PrebuiltEntities = prebuiltEntities;
RegexFeatures = regexFeatures;
ModelFeatures = modelFeatures;
Patterns = patterns;
Utterances = utterances;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets unmatched properties from the message are deserialized
/// this collection
/// </summary>
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
/// <summary>
/// Gets or sets luis schema deserialization version.
/// </summary>
[JsonProperty(PropertyName = "luis_schema_version")]
public string LuisSchemaVersion { get; set; }
/// <summary>
/// Gets or sets the name of the application.
/// </summary>
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
/// <summary>
/// Gets or sets the version ID of the application that was exported.
/// </summary>
[JsonProperty(PropertyName = "versionId")]
public string VersionId { get; set; }
/// <summary>
/// Gets or sets the description of the application.
/// </summary>
[JsonProperty(PropertyName = "desc")]
public string Desc { get; set; }
/// <summary>
/// Gets or sets the culture of the application. E.g.: en-us.
/// </summary>
[JsonProperty(PropertyName = "culture")]
public string Culture { get; set; }
/// <summary>
/// Gets or sets list of intents.
/// </summary>
[JsonProperty(PropertyName = "intents")]
public IList<HierarchicalModelV2> Intents { get; set; }
/// <summary>
/// Gets or sets list of entities.
/// </summary>
[JsonProperty(PropertyName = "entities")]
public IList<HierarchicalModelV2> Entities { get; set; }
/// <summary>
/// Gets or sets list of list entities.
/// </summary>
[JsonProperty(PropertyName = "closedLists")]
public IList<ClosedList> ClosedLists { get; set; }
/// <summary>
/// Gets or sets list of composite entities.
/// </summary>
[JsonProperty(PropertyName = "composites")]
public IList<HierarchicalModelV2> Composites { get; set; }
/// <summary>
/// Gets or sets list of Pattern.Any entities.
/// </summary>
[JsonProperty(PropertyName = "patternAnyEntities")]
public IList<PatternAny> PatternAnyEntities { get; set; }
/// <summary>
/// Gets or sets list of regular expression entities.
/// </summary>
[JsonProperty(PropertyName = "regex_entities")]
public IList<RegexEntity> RegexEntities { get; set; }
/// <summary>
/// Gets or sets list of prebuilt entities.
/// </summary>
[JsonProperty(PropertyName = "prebuiltEntities")]
public IList<PrebuiltEntity> PrebuiltEntities { get; set; }
/// <summary>
/// Gets or sets list of pattern features.
/// </summary>
[JsonProperty(PropertyName = "regex_features")]
public IList<JSONRegexFeature> RegexFeatures { get; set; }
/// <summary>
/// Gets or sets list of model features.
/// </summary>
[JsonProperty(PropertyName = "model_features")]
public IList<JSONModelFeature> ModelFeatures { get; set; }
/// <summary>
/// Gets or sets list of patterns.
/// </summary>
[JsonProperty(PropertyName = "patterns")]
public IList<PatternRule> Patterns { get; set; }
/// <summary>
/// Gets or sets list of example utterances.
/// </summary>
[JsonProperty(PropertyName = "utterances")]
public IList<JSONUtterance> Utterances { get; set; }
}
}