|  |  | 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 |  |     /// An object containing the model feature information either the model | 
|  |  | 18 |  |     /// name or feature name. | 
|  |  | 19 |  |     /// </summary> | 
|  |  | 20 |  |     public partial class ModelFeatureInformation | 
|  |  | 21 |  |     { | 
|  |  | 22 |  |         /// <summary> | 
|  |  | 23 |  |         /// Initializes a new instance of the ModelFeatureInformation class. | 
|  |  | 24 |  |         /// </summary> | 
|  | 14 | 25 |  |         public ModelFeatureInformation() | 
|  |  | 26 |  |         { | 
|  |  | 27 |  |             CustomInit(); | 
|  | 14 | 28 |  |         } | 
|  |  | 29 |  |  | 
|  |  | 30 |  |         /// <summary> | 
|  |  | 31 |  |         /// Initializes a new instance of the ModelFeatureInformation class. | 
|  |  | 32 |  |         /// </summary> | 
|  |  | 33 |  |         /// <param name="modelName">The name of the model used.</param> | 
|  |  | 34 |  |         /// <param name="featureName">The name of the feature used.</param> | 
|  | 0 | 35 |  |         public ModelFeatureInformation(string modelName = default(string), string featureName = default(string), bool? i | 
|  |  | 36 |  |         { | 
|  | 0 | 37 |  |             ModelName = modelName; | 
|  | 0 | 38 |  |             FeatureName = featureName; | 
|  | 0 | 39 |  |             IsRequired = isRequired; | 
|  |  | 40 |  |             CustomInit(); | 
|  | 0 | 41 |  |         } | 
|  |  | 42 |  |  | 
|  |  | 43 |  |         /// <summary> | 
|  |  | 44 |  |         /// An initialization method that performs custom operations like setting defaults | 
|  |  | 45 |  |         /// </summary> | 
|  |  | 46 |  |         partial void CustomInit(); | 
|  |  | 47 |  |  | 
|  |  | 48 |  |         /// <summary> | 
|  |  | 49 |  |         /// Gets or sets the name of the model used. | 
|  |  | 50 |  |         /// </summary> | 
|  |  | 51 |  |         [JsonProperty(PropertyName = "modelName")] | 
|  | 20 | 52 |  |         public string ModelName { get; set; } | 
|  |  | 53 |  |  | 
|  |  | 54 |  |         /// <summary> | 
|  |  | 55 |  |         /// Gets or sets the name of the feature used. | 
|  |  | 56 |  |         /// </summary> | 
|  |  | 57 |  |         [JsonProperty(PropertyName = "featureName")] | 
|  | 25 | 58 |  |         public string FeatureName { get; set; } | 
|  |  | 59 |  |  | 
|  |  | 60 |  |         /// <summary> | 
|  |  | 61 |  |         /// </summary> | 
|  |  | 62 |  |         [JsonProperty(PropertyName = "isRequired")] | 
|  | 15 | 63 |  |         public bool? IsRequired { get; set; } | 
|  |  | 64 |  |  | 
|  |  | 65 |  |     } | 
|  |  | 66 |  | } |