| | | 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 | | /// Object model for updating an application's publish settings. |
| | | 18 | | /// </summary> |
| | | 19 | | public partial class PublishSettingUpdateObject |
| | | 20 | | { |
| | | 21 | | /// <summary> |
| | | 22 | | /// Initializes a new instance of the PublishSettingUpdateObject class. |
| | | 23 | | /// </summary> |
| | 1 | 24 | | public PublishSettingUpdateObject() |
| | | 25 | | { |
| | | 26 | | CustomInit(); |
| | 1 | 27 | | } |
| | | 28 | | |
| | | 29 | | /// <summary> |
| | | 30 | | /// Initializes a new instance of the PublishSettingUpdateObject class. |
| | | 31 | | /// </summary> |
| | | 32 | | /// <param name="sentimentAnalysis">Setting sentiment analysis as true |
| | | 33 | | /// returns the Sentiment of the input utterance along with the |
| | | 34 | | /// response</param> |
| | | 35 | | /// <param name="speech">Setting speech as public enables speech |
| | | 36 | | /// priming in your app</param> |
| | | 37 | | /// <param name="spellChecker">Setting spell checker as public enables |
| | | 38 | | /// spell checking the input utterance.</param> |
| | 0 | 39 | | public PublishSettingUpdateObject(bool sentimentAnalysis = default(bool), bool speech = default(bool), bool spel |
| | | 40 | | { |
| | 0 | 41 | | SentimentAnalysis = sentimentAnalysis; |
| | 0 | 42 | | Speech = speech; |
| | 0 | 43 | | SpellChecker = spellChecker; |
| | | 44 | | CustomInit(); |
| | 0 | 45 | | } |
| | | 46 | | |
| | | 47 | | /// <summary> |
| | | 48 | | /// An initialization method that performs custom operations like setting defaults |
| | | 49 | | /// </summary> |
| | | 50 | | partial void CustomInit(); |
| | | 51 | | |
| | | 52 | | /// <summary> |
| | | 53 | | /// Gets or sets setting sentiment analysis as true returns the |
| | | 54 | | /// Sentiment of the input utterance along with the response |
| | | 55 | | /// </summary> |
| | | 56 | | [JsonProperty(PropertyName = "sentimentAnalysis")] |
| | 2 | 57 | | public bool SentimentAnalysis { get; set; } |
| | | 58 | | |
| | | 59 | | /// <summary> |
| | | 60 | | /// Gets or sets setting speech as public enables speech priming in |
| | | 61 | | /// your app |
| | | 62 | | /// </summary> |
| | | 63 | | [JsonProperty(PropertyName = "speech")] |
| | 2 | 64 | | public bool Speech { get; set; } |
| | | 65 | | |
| | | 66 | | /// <summary> |
| | | 67 | | /// Gets or sets setting spell checker as public enables spell checking |
| | | 68 | | /// the input utterance. |
| | | 69 | | /// </summary> |
| | | 70 | | [JsonProperty(PropertyName = "spellChecker")] |
| | 2 | 71 | | public bool SpellChecker { get; set; } |
| | | 72 | | |
| | | 73 | | } |
| | | 74 | | } |