Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# 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 .delete_kb_contents_dto import DeleteKbContentsDTO
class UpdateKbOperationDTODelete(DeleteKbContentsDTO):
"""An instance of DeleteKbContentsDTO for delete Operation.
:param ids: List of Qna Ids to be deleted
:type ids: list[int]
:param sources: List of sources to be deleted from knowledgebase.
:type sources: list[str]
"""
_attribute_map = {
'ids': {'key': 'ids', 'type': '[int]'},
'sources': {'key': 'sources', 'type': '[str]'},
}
def __init__(self, **kwargs):
super(UpdateKbOperationDTODelete, self).__init__(**kwargs)