Files
term_extractor/swagger_server/models/oznaci_besedilo_body.py
T
Kristjan Žagar c8e4f7da17 - Popravljena swagger definicija in json (/oznaciBesedilo ni delal)
- Dodani resourci za classlo
- Priprava util-ov za podatkovno bazo (se v zelo surovem stanju)
- Dodan docker-compose, ki bo potreben za nadaljni development
- Popravilejni controllerji
2022-07-08 15:54:52 +02:00

63 lines
1.6 KiB
Python

# 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