Source code for azure.cognitiveservices.knowledge.qnamaker.models.update_questions_dto_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 UpdateQuestionsDTO(Model): """PATCH Body schema for Update Kb which contains list of questions to be added and deleted. :param add: List of questions to be added :type add: list[str] :param delete: List of questions to be deleted. :type delete: list[str] """ _attribute_map = { 'add': {'key': 'add', 'type': '[str]'}, 'delete': {'key': 'delete', 'type': '[str]'}, } def __init__(self, *, add=None, delete=None, **kwargs) -> None: super(UpdateQuestionsDTO, self).__init__(**kwargs) self.add = add self.delete = delete