# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from swagger_server.models.base_model_ import Model from swagger_server import util class IzlusciBody(Model): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ def __init__(self, conllus: List[str]=None, prepovedane_besede: List[str]=None): # noqa: E501 """IzlusciBody - a model defined in Swagger :param conllus: The conllus of this IzlusciBody. # noqa: E501 :type conllus: List[str] :param prepovedane_besede: The prepovedane_besede of this IzlusciBody. # noqa: E501 :type prepovedane_besede: List[str] """ self.swagger_types = { 'conllus': List[str], 'prepovedane_besede': List[str] } self.attribute_map = { 'conllus': 'conllus', 'prepovedane_besede': 'prepovedaneBesede' } self._conllus = conllus self._prepovedane_besede = prepovedane_besede @classmethod def from_dict(cls, dikt) -> 'IzlusciBody': """Returns the dict as a model :param dikt: A dict. :type: dict :return: The izlusci_body of this IzlusciBody. # noqa: E501 :rtype: IzlusciBody """ return util.deserialize_model(dikt, cls) @property def conllus(self) -> List[str]: """Gets the conllus of this IzlusciBody. :return: The conllus of this IzlusciBody. :rtype: List[str] """ return self._conllus @conllus.setter def conllus(self, conllus: List[str]): """Sets the conllus of this IzlusciBody. :param conllus: The conllus of this IzlusciBody. :type conllus: List[str] """ self._conllus = conllus @property def prepovedane_besede(self) -> List[str]: """Gets the prepovedane_besede of this IzlusciBody. :return: The prepovedane_besede of this IzlusciBody. :rtype: List[str] """ return self._prepovedane_besede @prepovedane_besede.setter def prepovedane_besede(self, prepovedane_besede: List[str]): """Sets the prepovedane_besede of this IzlusciBody. :param prepovedane_besede: The prepovedane_besede of this IzlusciBody. :type prepovedane_besede: List[str] """ self._prepovedane_besede = prepovedane_besede