Main brez modelov

This commit is contained in:
Marko Ferme
2022-12-07 06:22:36 +01:00
parent 89fa62796e
commit 1cd7663d49
93 changed files with 98496 additions and 508 deletions
+12 -3
View File
@@ -3,7 +3,16 @@
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from swagger_server.models.datoteka_v_besedilo_body import DatotekaVBesediloBody
from swagger_server.models.datoteka_v_besedilo_ocr_body import DatotekaVBesediloOcrBody
from swagger_server.models.izlusci_body import IzlusciBody
from swagger_server.models.datoteka_v_besedilo_async_body import DatotekaVBesediloAsyncBody
from swagger_server.models.datoteka_v_besedilo_async_ocr_body import DatotekaVBesediloAsyncOcrBody
from swagger_server.models.datoteka_v_besedilo_sync_body import DatotekaVBesediloSyncBody
from swagger_server.models.datoteka_v_besedilo_sync_ocr_body import DatotekaVBesediloSyncOcrBody
from swagger_server.models.datoteka_v_conllu_async_body import DatotekaVConlluAsyncBody
from swagger_server.models.datoteka_v_conllu_async_ocr_body import DatotekaVConlluAsyncOcrBody
from swagger_server.models.datoteka_v_conllu_sync_body import DatotekaVConlluSyncBody
from swagger_server.models.datoteka_v_conllu_sync_ocr_body import DatotekaVConlluSyncOcrBody
from swagger_server.models.job_response import JobResponse
from swagger_server.models.oznaci_besedilo_async_body import OznaciBesediloAsyncBody
from swagger_server.models.terminoloski_kandidat import TerminoloskiKandidat
from swagger_server.models.izlusci_async_body import IzlusciAsyncBody
from swagger_server.models.izlusci_sync_body import IzlusciSyncBody
@@ -0,0 +1,64 @@
# 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 DatotekaVBesediloAsyncBody(Model):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, file: str=None): # noqa: E501
"""DatotekaVBesediloAsyncBody - a model defined in Swagger
:param file: The file of this DatotekaVBesediloAsyncBody. # noqa: E501
:type file: str
"""
self.swagger_types = {
'file': str
}
self.attribute_map = {
'file': 'file'
}
self._file = file
@classmethod
def from_dict(cls, dikt) -> 'DatotekaVBesediloAsyncBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The datotekaVBesediloAsync_body of this DatotekaVBesediloAsyncBody. # noqa: E501
:rtype: DatotekaVBesediloAsyncBody
"""
return util.deserialize_model(dikt, cls)
@property
def file(self) -> str:
"""Gets the file of this DatotekaVBesediloAsyncBody.
:return: The file of this DatotekaVBesediloAsyncBody.
:rtype: str
"""
return self._file
@file.setter
def file(self, file: str):
"""Sets the file of this DatotekaVBesediloAsyncBody.
:param file: The file of this DatotekaVBesediloAsyncBody.
:type file: str
"""
if file is None:
raise ValueError("Invalid value for `file`, must not be `None`") # noqa: E501
self._file = file
@@ -0,0 +1,64 @@
# 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 DatotekaVBesediloAsyncOcrBody(Model):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, file: str=None): # noqa: E501
"""DatotekaVBesediloAsyncOcrBody - a model defined in Swagger
:param file: The file of this DatotekaVBesediloAsyncOcrBody. # noqa: E501
:type file: str
"""
self.swagger_types = {
'file': str
}
self.attribute_map = {
'file': 'file'
}
self._file = file
@classmethod
def from_dict(cls, dikt) -> 'DatotekaVBesediloAsyncOcrBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The datotekaVBesediloAsync_ocr_body of this DatotekaVBesediloAsyncOcrBody. # noqa: E501
:rtype: DatotekaVBesediloAsyncOcrBody
"""
return util.deserialize_model(dikt, cls)
@property
def file(self) -> str:
"""Gets the file of this DatotekaVBesediloAsyncOcrBody.
:return: The file of this DatotekaVBesediloAsyncOcrBody.
:rtype: str
"""
return self._file
@file.setter
def file(self, file: str):
"""Sets the file of this DatotekaVBesediloAsyncOcrBody.
:param file: The file of this DatotekaVBesediloAsyncOcrBody.
:type file: str
"""
if file is None:
raise ValueError("Invalid value for `file`, must not be `None`") # noqa: E501
self._file = file
@@ -0,0 +1,64 @@
# 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 DatotekaVBesediloSyncBody(Model):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, file: str=None): # noqa: E501
"""DatotekaVBesediloSyncBody - a model defined in Swagger
:param file: The file of this DatotekaVBesediloSyncBody. # noqa: E501
:type file: str
"""
self.swagger_types = {
'file': str
}
self.attribute_map = {
'file': 'file'
}
self._file = file
@classmethod
def from_dict(cls, dikt) -> 'DatotekaVBesediloSyncBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The datotekaVBesediloSync_body of this DatotekaVBesediloSyncBody. # noqa: E501
:rtype: DatotekaVBesediloSyncBody
"""
return util.deserialize_model(dikt, cls)
@property
def file(self) -> str:
"""Gets the file of this DatotekaVBesediloSyncBody.
:return: The file of this DatotekaVBesediloSyncBody.
:rtype: str
"""
return self._file
@file.setter
def file(self, file: str):
"""Sets the file of this DatotekaVBesediloSyncBody.
:param file: The file of this DatotekaVBesediloSyncBody.
:type file: str
"""
if file is None:
raise ValueError("Invalid value for `file`, must not be `None`") # noqa: E501
self._file = file
@@ -0,0 +1,64 @@
# 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 DatotekaVBesediloSyncOcrBody(Model):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, file: str=None): # noqa: E501
"""DatotekaVBesediloSyncOcrBody - a model defined in Swagger
:param file: The file of this DatotekaVBesediloSyncOcrBody. # noqa: E501
:type file: str
"""
self.swagger_types = {
'file': str
}
self.attribute_map = {
'file': 'file'
}
self._file = file
@classmethod
def from_dict(cls, dikt) -> 'DatotekaVBesediloSyncOcrBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The datotekaVBesediloSync_ocr_body of this DatotekaVBesediloSyncOcrBody. # noqa: E501
:rtype: DatotekaVBesediloSyncOcrBody
"""
return util.deserialize_model(dikt, cls)
@property
def file(self) -> str:
"""Gets the file of this DatotekaVBesediloSyncOcrBody.
:return: The file of this DatotekaVBesediloSyncOcrBody.
:rtype: str
"""
return self._file
@file.setter
def file(self, file: str):
"""Sets the file of this DatotekaVBesediloSyncOcrBody.
:param file: The file of this DatotekaVBesediloSyncOcrBody.
:type file: str
"""
if file is None:
raise ValueError("Invalid value for `file`, must not be `None`") # noqa: E501
self._file = file
@@ -9,15 +9,15 @@ from swagger_server.models.base_model_ import Model
from swagger_server import util
class DatotekaVBesediloOcrBody(Model):
class DatotekaVConlluAsyncBody(Model):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, file: str=None): # noqa: E501
"""DatotekaVBesediloOcrBody - a model defined in Swagger
"""DatotekaVConlluAsyncBody - a model defined in Swagger
:param file: The file of this DatotekaVBesediloOcrBody. # noqa: E501
:param file: The file of this DatotekaVConlluAsyncBody. # noqa: E501
:type file: str
"""
self.swagger_types = {
@@ -30,32 +30,32 @@ class DatotekaVBesediloOcrBody(Model):
self._file = file
@classmethod
def from_dict(cls, dikt) -> 'DatotekaVBesediloOcrBody':
def from_dict(cls, dikt) -> 'DatotekaVConlluAsyncBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The datotekaVBesedilo_ocr_body of this DatotekaVBesediloOcrBody. # noqa: E501
:rtype: DatotekaVBesediloOcrBody
:return: The datotekaVConlluAsync_body of this DatotekaVConlluAsyncBody. # noqa: E501
:rtype: DatotekaVConlluAsyncBody
"""
return util.deserialize_model(dikt, cls)
@property
def file(self) -> str:
"""Gets the file of this DatotekaVBesediloOcrBody.
"""Gets the file of this DatotekaVConlluAsyncBody.
:return: The file of this DatotekaVBesediloOcrBody.
:return: The file of this DatotekaVConlluAsyncBody.
:rtype: str
"""
return self._file
@file.setter
def file(self, file: str):
"""Sets the file of this DatotekaVBesediloOcrBody.
"""Sets the file of this DatotekaVConlluAsyncBody.
:param file: The file of this DatotekaVBesediloOcrBody.
:param file: The file of this DatotekaVConlluAsyncBody.
:type file: str
"""
if file is None:
@@ -0,0 +1,64 @@
# 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 DatotekaVConlluAsyncOcrBody(Model):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, file: str=None): # noqa: E501
"""DatotekaVConlluAsyncOcrBody - a model defined in Swagger
:param file: The file of this DatotekaVConlluAsyncOcrBody. # noqa: E501
:type file: str
"""
self.swagger_types = {
'file': str
}
self.attribute_map = {
'file': 'file'
}
self._file = file
@classmethod
def from_dict(cls, dikt) -> 'DatotekaVConlluAsyncOcrBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The datotekaVConlluAsync_ocr_body of this DatotekaVConlluAsyncOcrBody. # noqa: E501
:rtype: DatotekaVConlluAsyncOcrBody
"""
return util.deserialize_model(dikt, cls)
@property
def file(self) -> str:
"""Gets the file of this DatotekaVConlluAsyncOcrBody.
:return: The file of this DatotekaVConlluAsyncOcrBody.
:rtype: str
"""
return self._file
@file.setter
def file(self, file: str):
"""Sets the file of this DatotekaVConlluAsyncOcrBody.
:param file: The file of this DatotekaVConlluAsyncOcrBody.
:type file: str
"""
if file is None:
raise ValueError("Invalid value for `file`, must not be `None`") # noqa: E501
self._file = file
@@ -9,15 +9,15 @@ from swagger_server.models.base_model_ import Model
from swagger_server import util
class DatotekaVBesediloBody(Model):
class DatotekaVConlluSyncBody(Model):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, file: str=None): # noqa: E501
"""DatotekaVBesediloBody - a model defined in Swagger
"""DatotekaVConlluSyncBody - a model defined in Swagger
:param file: The file of this DatotekaVBesediloBody. # noqa: E501
:param file: The file of this DatotekaVConlluSyncBody. # noqa: E501
:type file: str
"""
self.swagger_types = {
@@ -30,32 +30,32 @@ class DatotekaVBesediloBody(Model):
self._file = file
@classmethod
def from_dict(cls, dikt) -> 'DatotekaVBesediloBody':
def from_dict(cls, dikt) -> 'DatotekaVConlluSyncBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The datotekaVBesedilo_body of this DatotekaVBesediloBody. # noqa: E501
:rtype: DatotekaVBesediloBody
:return: The datotekaVConlluSync_body of this DatotekaVConlluSyncBody. # noqa: E501
:rtype: DatotekaVConlluSyncBody
"""
return util.deserialize_model(dikt, cls)
@property
def file(self) -> str:
"""Gets the file of this DatotekaVBesediloBody.
"""Gets the file of this DatotekaVConlluSyncBody.
:return: The file of this DatotekaVBesediloBody.
:return: The file of this DatotekaVConlluSyncBody.
:rtype: str
"""
return self._file
@file.setter
def file(self, file: str):
"""Sets the file of this DatotekaVBesediloBody.
"""Sets the file of this DatotekaVConlluSyncBody.
:param file: The file of this DatotekaVBesediloBody.
:param file: The file of this DatotekaVConlluSyncBody.
:type file: str
"""
if file is None:
@@ -0,0 +1,64 @@
# 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 DatotekaVConlluSyncOcrBody(Model):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, file: str=None): # noqa: E501
"""DatotekaVConlluSyncOcrBody - a model defined in Swagger
:param file: The file of this DatotekaVConlluSyncOcrBody. # noqa: E501
:type file: str
"""
self.swagger_types = {
'file': str
}
self.attribute_map = {
'file': 'file'
}
self._file = file
@classmethod
def from_dict(cls, dikt) -> 'DatotekaVConlluSyncOcrBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The datotekaVConlluSync_ocr_body of this DatotekaVConlluSyncOcrBody. # noqa: E501
:rtype: DatotekaVConlluSyncOcrBody
"""
return util.deserialize_model(dikt, cls)
@property
def file(self) -> str:
"""Gets the file of this DatotekaVConlluSyncOcrBody.
:return: The file of this DatotekaVConlluSyncOcrBody.
:rtype: str
"""
return self._file
@file.setter
def file(self, file: str):
"""Sets the file of this DatotekaVConlluSyncOcrBody.
:param file: The file of this DatotekaVConlluSyncOcrBody.
:type file: str
"""
if file is None:
raise ValueError("Invalid value for `file`, must not be `None`") # noqa: E501
self._file = file
@@ -0,0 +1,88 @@
# 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 IzlusciAsyncBody(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
"""IzlusciAsyncBody - a model defined in Swagger
:param conllus: The conllus of this IzlusciAsyncBody. # noqa: E501
:type conllus: List[str]
:param prepovedane_besede: The prepovedane_besede of this IzlusciAsyncBody. # 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) -> 'IzlusciAsyncBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The izlusciAsync_body of this IzlusciAsyncBody. # noqa: E501
:rtype: IzlusciAsyncBody
"""
return util.deserialize_model(dikt, cls)
@property
def conllus(self) -> List[str]:
"""Gets the conllus of this IzlusciAsyncBody.
:return: The conllus of this IzlusciAsyncBody.
:rtype: List[str]
"""
return self._conllus
@conllus.setter
def conllus(self, conllus: List[str]):
"""Sets the conllus of this IzlusciAsyncBody.
:param conllus: The conllus of this IzlusciAsyncBody.
:type conllus: List[str]
"""
self._conllus = conllus
@property
def prepovedane_besede(self) -> List[str]:
"""Gets the prepovedane_besede of this IzlusciAsyncBody.
:return: The prepovedane_besede of this IzlusciAsyncBody.
:rtype: List[str]
"""
return self._prepovedane_besede
@prepovedane_besede.setter
def prepovedane_besede(self, prepovedane_besede: List[str]):
"""Sets the prepovedane_besede of this IzlusciAsyncBody.
:param prepovedane_besede: The prepovedane_besede of this IzlusciAsyncBody.
:type prepovedane_besede: List[str]
"""
self._prepovedane_besede = prepovedane_besede
@@ -9,17 +9,17 @@ from swagger_server.models.base_model_ import Model
from swagger_server import util
class IzlusciBody(Model):
class IzlusciSyncBody(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
"""IzlusciSyncBody - a model defined in Swagger
:param conllus: The conllus of this IzlusciBody. # noqa: E501
:param conllus: The conllus of this IzlusciSyncBody. # noqa: E501
:type conllus: List[str]
:param prepovedane_besede: The prepovedane_besede of this IzlusciBody. # noqa: E501
:param prepovedane_besede: The prepovedane_besede of this IzlusciSyncBody. # noqa: E501
:type prepovedane_besede: List[str]
"""
self.swagger_types = {
@@ -35,32 +35,32 @@ class IzlusciBody(Model):
self._prepovedane_besede = prepovedane_besede
@classmethod
def from_dict(cls, dikt) -> 'IzlusciBody':
def from_dict(cls, dikt) -> 'IzlusciSyncBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The izlusci_body of this IzlusciBody. # noqa: E501
:rtype: IzlusciBody
:return: The izlusciSync_body of this IzlusciSyncBody. # noqa: E501
:rtype: IzlusciSyncBody
"""
return util.deserialize_model(dikt, cls)
@property
def conllus(self) -> List[str]:
"""Gets the conllus of this IzlusciBody.
"""Gets the conllus of this IzlusciSyncBody.
:return: The conllus of this IzlusciBody.
:return: The conllus of this IzlusciSyncBody.
:rtype: List[str]
"""
return self._conllus
@conllus.setter
def conllus(self, conllus: List[str]):
"""Sets the conllus of this IzlusciBody.
"""Sets the conllus of this IzlusciSyncBody.
:param conllus: The conllus of this IzlusciBody.
:param conllus: The conllus of this IzlusciSyncBody.
:type conllus: List[str]
"""
@@ -68,20 +68,20 @@ class IzlusciBody(Model):
@property
def prepovedane_besede(self) -> List[str]:
"""Gets the prepovedane_besede of this IzlusciBody.
"""Gets the prepovedane_besede of this IzlusciSyncBody.
:return: The prepovedane_besede of this IzlusciBody.
:return: The prepovedane_besede of this IzlusciSyncBody.
: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.
"""Sets the prepovedane_besede of this IzlusciSyncBody.
:param prepovedane_besede: The prepovedane_besede of this IzlusciBody.
:param prepovedane_besede: The prepovedane_besede of this IzlusciSyncBody.
:type prepovedane_besede: List[str]
"""
+172
View File
@@ -0,0 +1,172 @@
# 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 JobResponse(Model):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, job_status: str=None, finished_on: datetime=None, started_on: datetime=None, created_on: datetime=None, job_result: str=None): # noqa: E501
"""JobResponse - a model defined in Swagger
:param job_status: The job_status of this JobResponse. # noqa: E501
:type job_status: str
:param finished_on: The finished_on of this JobResponse. # noqa: E501
:type finished_on: datetime
:param started_on: The started_on of this JobResponse. # noqa: E501
:type started_on: datetime
:param created_on: The created_on of this JobResponse. # noqa: E501
:type created_on: datetime
:param job_result: The job_result of this JobResponse. # noqa: E501
:type job_result: str
"""
self.swagger_types = {
'job_status': str,
'finished_on': datetime,
'started_on': datetime,
'created_on': datetime,
'job_result': str
}
self.attribute_map = {
'job_status': 'job_status',
'finished_on': 'finished_on',
'started_on': 'started_on',
'created_on': 'created_on',
'job_result': 'job_result'
}
self._job_status = job_status
self._finished_on = finished_on
self._started_on = started_on
self._created_on = created_on
self._job_result = job_result
@classmethod
def from_dict(cls, dikt) -> 'JobResponse':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The JobResponse of this JobResponse. # noqa: E501
:rtype: JobResponse
"""
return util.deserialize_model(dikt, cls)
@property
def job_status(self) -> str:
"""Gets the job_status of this JobResponse.
:return: The job_status of this JobResponse.
:rtype: str
"""
return self._job_status
@job_status.setter
def job_status(self, job_status: str):
"""Sets the job_status of this JobResponse.
:param job_status: The job_status of this JobResponse.
:type job_status: str
"""
allowed_values = ["waiting in que", "currently processing", "finished processing"] # noqa: E501
if job_status not in allowed_values:
raise ValueError(
"Invalid value for `job_status` ({0}), must be one of {1}"
.format(job_status, allowed_values)
)
self._job_status = job_status
@property
def finished_on(self) -> datetime:
"""Gets the finished_on of this JobResponse.
:return: The finished_on of this JobResponse.
:rtype: datetime
"""
return self._finished_on
@finished_on.setter
def finished_on(self, finished_on: datetime):
"""Sets the finished_on of this JobResponse.
:param finished_on: The finished_on of this JobResponse.
:type finished_on: datetime
"""
self._finished_on = finished_on
@property
def started_on(self) -> datetime:
"""Gets the started_on of this JobResponse.
:return: The started_on of this JobResponse.
:rtype: datetime
"""
return self._started_on
@started_on.setter
def started_on(self, started_on: datetime):
"""Sets the started_on of this JobResponse.
:param started_on: The started_on of this JobResponse.
:type started_on: datetime
"""
self._started_on = started_on
@property
def created_on(self) -> datetime:
"""Gets the created_on of this JobResponse.
:return: The created_on of this JobResponse.
:rtype: datetime
"""
return self._created_on
@created_on.setter
def created_on(self, created_on: datetime):
"""Sets the created_on of this JobResponse.
:param created_on: The created_on of this JobResponse.
:type created_on: datetime
"""
self._created_on = created_on
@property
def job_result(self) -> str:
"""Gets the job_result of this JobResponse.
:return: The job_result of this JobResponse.
:rtype: str
"""
return self._job_result
@job_result.setter
def job_result(self, job_result: str):
"""Sets the job_result of this JobResponse.
:param job_result: The job_result of this JobResponse.
:type job_result: str
"""
self._job_result = job_result
@@ -0,0 +1,62 @@
# 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 OznaciBesediloAsyncBody(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
"""OznaciBesediloAsyncBody - a model defined in Swagger
:param besedilo: The besedilo of this OznaciBesediloAsyncBody. # noqa: E501
:type besedilo: str
"""
self.swagger_types = {
'besedilo': str
}
self.attribute_map = {
'besedilo': 'besedilo'
}
self._besedilo = besedilo
@classmethod
def from_dict(cls, dikt) -> 'OznaciBesediloAsyncBody':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The oznaciBesediloAsync_body of this OznaciBesediloAsyncBody. # noqa: E501
:rtype: OznaciBesediloAsyncBody
"""
return util.deserialize_model(dikt, cls)
@property
def besedilo(self) -> str:
"""Gets the besedilo of this OznaciBesediloAsyncBody.
:return: The besedilo of this OznaciBesediloAsyncBody.
:rtype: str
"""
return self._besedilo
@besedilo.setter
def besedilo(self, besedilo: str):
"""Sets the besedilo of this OznaciBesediloAsyncBody.
:param besedilo: The besedilo of this OznaciBesediloAsyncBody.
:type besedilo: str
"""
self._besedilo = besedilo