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 .sub_closed_list import SubClosedList
class SubClosedListResponse(SubClosedList):
"""Sublist of items for a list entity.
:param canonical_form: The standard form that the list represents.
:type canonical_form: str
:param list: List of synonym words.
:type list: list[str]
:param id: The sublist ID
:type id: int
"""
_attribute_map = {
'canonical_form': {'key': 'canonicalForm', 'type': 'str'},
'list': {'key': 'list', 'type': '[str]'},
'id': {'key': 'id', 'type': 'int'},
}
def __init__(self, **kwargs):
super(SubClosedList, self).__init__(**kwargs)
self.canonical_form = kwargs.get('canonical_form', None)
self.list = kwargs.get('list', None)