# 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 OznaciBesediloBody(Model): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ def __init__(self, besedilo: str=None): # noqa: E501 """OznaciBesediloBody - a model defined in Swagger :param besedilo: The besedilo of this OznaciBesediloBody. # noqa: E501 :type besedilo: str """ self.swagger_types = { 'besedilo': str } self.attribute_map = { 'besedilo': 'besedilo' } self._besedilo = besedilo @classmethod def from_dict(cls, dikt) -> 'OznaciBesediloBody': """Returns the dict as a model :param dikt: A dict. :type: dict :return: The oznaciBesedilo_body of this OznaciBesediloBody. # noqa: E501 :rtype: OznaciBesediloBody """ return util.deserialize_model(dikt, cls) @property def besedilo(self) -> str: """Gets the besedilo of this OznaciBesediloBody. :return: The besedilo of this OznaciBesediloBody. :rtype: str """ return self._besedilo @besedilo.setter def besedilo(self, besedilo: str): """Sets the besedilo of this OznaciBesediloBody. :param besedilo: The besedilo of this OznaciBesediloBody. :type besedilo: str """ self._besedilo = besedilo