Source code for azure.cognitiveservices.language.luis.authoring.models.publish_setting_update_object_py3

# coding=utf-8
# --------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class PublishSettingUpdateObject(Model): """Object model for updating an application's publish settings. :param sentiment_analysis: Setting sentiment analysis as true returns the Sentiment of the input utterance along with the resopnse :type sentiment_analysis: bool :param speech: Setting speech as public enables speech priming in your app :type speech: bool :param spell_checker: Setting spell checker as public enables spell checking the input utterance. :type spell_checker: bool """ _attribute_map = { 'sentiment_analysis': {'key': 'sentimentAnalysis', 'type': 'bool'}, 'speech': {'key': 'speech', 'type': 'bool'}, 'spell_checker': {'key': 'spellChecker', 'type': 'bool'}, } def __init__(self, *, sentiment_analysis: bool=None, speech: bool=None, spell_checker: bool=None, **kwargs) -> None: super(PublishSettingUpdateObject, self).__init__(**kwargs) self.sentiment_analysis = sentiment_analysis self.speech = speech self.spell_checker = spell_checker