| | | 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 | | /// Intent Classifier. |
| | | 18 | | /// </summary> |
| | | 19 | | public partial class IntentClassifier : ModelInfo |
| | | 20 | | { |
| | | 21 | | /// <summary> |
| | | 22 | | /// Initializes a new instance of the IntentClassifier class. |
| | | 23 | | /// </summary> |
| | 48 | 24 | | public IntentClassifier() |
| | | 25 | | { |
| | | 26 | | CustomInit(); |
| | 48 | 27 | | } |
| | | 28 | | |
| | | 29 | | /// <summary> |
| | | 30 | | /// Initializes a new instance of the IntentClassifier class. |
| | | 31 | | /// </summary> |
| | | 32 | | /// <param name="id">The ID of the Entity Model.</param> |
| | | 33 | | /// <param name="readableType">Possible values include: 'Entity |
| | | 34 | | /// Extractor', 'Child Entity Extractor', 'Hierarchical Entity |
| | | 35 | | /// Extractor', 'Hierarchical Child Entity Extractor', 'Composite |
| | | 36 | | /// Entity Extractor', 'List Entity Extractor', 'Prebuilt Entity |
| | | 37 | | /// Extractor', 'Intent Classifier', 'Pattern.Any Entity Extractor', |
| | | 38 | | /// 'Closed List Entity Extractor', 'Regex Entity Extractor'</param> |
| | | 39 | | /// <param name="name">Name of the Entity Model.</param> |
| | | 40 | | /// <param name="typeId">The type ID of the Entity Model.</param> |
| | | 41 | | /// <param name="customPrebuiltDomainName">The domain name.</param> |
| | | 42 | | /// <param name="customPrebuiltModelName">The intent name or entity |
| | | 43 | | /// name.</param> |
| | | 44 | | public IntentClassifier(System.Guid id, string readableType, string name = default(string), int? typeId = defaul |
| | 0 | 45 | | : base(id, readableType, name, typeId) |
| | | 46 | | { |
| | 0 | 47 | | CustomPrebuiltDomainName = customPrebuiltDomainName; |
| | 0 | 48 | | CustomPrebuiltModelName = customPrebuiltModelName; |
| | | 49 | | CustomInit(); |
| | 0 | 50 | | } |
| | | 51 | | |
| | | 52 | | /// <summary> |
| | | 53 | | /// An initialization method that performs custom operations like setting defaults |
| | | 54 | | /// </summary> |
| | | 55 | | partial void CustomInit(); |
| | | 56 | | |
| | | 57 | | /// <summary> |
| | | 58 | | /// Gets or sets the domain name. |
| | | 59 | | /// </summary> |
| | | 60 | | [JsonProperty(PropertyName = "customPrebuiltDomainName")] |
| | 40 | 61 | | public string CustomPrebuiltDomainName { get; set; } |
| | | 62 | | |
| | | 63 | | /// <summary> |
| | | 64 | | /// Gets or sets the intent name or entity name. |
| | | 65 | | /// </summary> |
| | | 66 | | [JsonProperty(PropertyName = "customPrebuiltModelName")] |
| | 0 | 67 | | public string CustomPrebuiltModelName { get; set; } |
| | | 68 | | |
| | | 69 | | /// <summary> |
| | | 70 | | /// Validate the object. |
| | | 71 | | /// </summary> |
| | | 72 | | /// <exception cref="Rest.ValidationException"> |
| | | 73 | | /// Thrown if validation fails |
| | | 74 | | /// </exception> |
| | | 75 | | public override void Validate() |
| | | 76 | | { |
| | 0 | 77 | | base.Validate(); |
| | 0 | 78 | | } |
| | | 79 | | } |
| | | 80 | | } |