Working fix pre merge

This commit is contained in:
marko.ferme
2023-01-10 11:20:14 +01:00
parent 1cd7663d49
commit 69a92a3420
32 changed files with 1457 additions and 316 deletions
+30 -3
View File
@@ -14,7 +14,7 @@ class IzlusciAsyncBody(Model):
Do not edit the class manually.
"""
def __init__(self, conllus: List[str]=None, prepovedane_besede: List[str]=None): # noqa: E501
def __init__(self, conllus: List[str]=None, prepovedane_besede: List[str]=None, definicje: bool=False): # noqa: E501
"""IzlusciAsyncBody - a model defined in Swagger
:param conllus: The conllus of this IzlusciAsyncBody. # noqa: E501
@@ -24,15 +24,18 @@ class IzlusciAsyncBody(Model):
"""
self.swagger_types = {
'conllus': List[str],
'prepovedane_besede': List[str]
'prepovedane_besede': List[str],
'definicije':bool
}
self.attribute_map = {
'conllus': 'conllus',
'prepovedane_besede': 'prepovedaneBesede'
'prepovedane_besede': 'prepovedaneBesede',
'definicije':'definicije'
}
self._conllus = conllus
self._prepovedane_besede = prepovedane_besede
self._definicije=definicje
@classmethod
def from_dict(cls, dikt) -> 'IzlusciAsyncBody':
@@ -45,6 +48,30 @@ class IzlusciAsyncBody(Model):
"""
return util.deserialize_model(dikt, cls)
@property
def definicije(self) -> bool:
"""Gets the conllus of this IzlusciSyncBody.
:return: The conllus of this IzlusciSyncBody.
:rtype: List[str]
"""
return self._definicije
@definicije.setter
def definicije(self, definicije: bool):
"""Sets the conllus of this IzlusciSyncBody.
:param conllus: The conllus of this IzlusciSyncBody.
:type conllus: List[str]
"""
self._definicije = definicije
@property
def conllus(self) -> List[str]:
"""Gets the conllus of this IzlusciAsyncBody.
+27 -3
View File
@@ -14,7 +14,7 @@ class IzlusciSyncBody(Model):
Do not edit the class manually.
"""
def __init__(self, conllus: List[str]=None, prepovedane_besede: List[str]=None): # noqa: E501
def __init__(self, conllus: List[str]=None, prepovedane_besede: List[str]=None, definicje: bool=False): # noqa: E501
"""IzlusciSyncBody - a model defined in Swagger
:param conllus: The conllus of this IzlusciSyncBody. # noqa: E501
@@ -24,15 +24,18 @@ class IzlusciSyncBody(Model):
"""
self.swagger_types = {
'conllus': List[str],
'prepovedane_besede': List[str]
'prepovedane_besede': List[str],
'definicije':bool
}
self.attribute_map = {
'conllus': 'conllus',
'prepovedane_besede': 'prepovedaneBesede'
'prepovedane_besede': 'prepovedaneBesede',
'definicije':'definicije'
}
self._conllus = conllus
self._prepovedane_besede = prepovedane_besede
self._definicije = definicje
@classmethod
def from_dict(cls, dikt) -> 'IzlusciSyncBody':
@@ -66,6 +69,27 @@ class IzlusciSyncBody(Model):
self._conllus = conllus
@property
def definicije(self) -> bool:
"""Gets the conllus of this IzlusciSyncBody.
:return: The conllus of this IzlusciSyncBody.
:rtype: List[str]
"""
return self._definicije
@definicije.setter
def definicije(self, definicije: bool):
"""Sets the conllus of this IzlusciSyncBody.
:param conllus: The conllus of this IzlusciSyncBody.
:type conllus: List[str]
"""
self._definicije = definicije
@property
def prepovedane_besede(self) -> List[str]:
"""Gets the prepovedane_besede of this IzlusciSyncBody.
+25 -1
View File
@@ -14,7 +14,7 @@ class TerminoloskiKandidat(Model):
Do not edit the class manually.
"""
def __init__(self, kandidat: str=None, kanonicnaoblika: str=None, po_soznake: str=None, nosilnautez: float=None, podporneutezi: List[float]=None, pogostostpojavljanja: List[int]=None): # noqa: E501
def __init__(self, kandidat: str=None, definicija: str=None, kanonicnaoblika: str=None, po_soznake: str=None, nosilnautez: float=None, podporneutezi: List[float]=None, pogostostpojavljanja: List[int]=None): # noqa: E501
"""TerminoloskiKandidat - a model defined in Swagger
:param kandidat: The kandidat of this TerminoloskiKandidat. # noqa: E501
@@ -32,6 +32,7 @@ class TerminoloskiKandidat(Model):
"""
self.swagger_types = {
'kandidat': str,
'definicja': str,
'kanonicnaoblika': str,
'po_soznake': str,
'nosilnautez': float,
@@ -41,6 +42,7 @@ class TerminoloskiKandidat(Model):
self.attribute_map = {
'kandidat': 'kandidat',
'definicija': 'definicija',
'kanonicnaoblika': 'kanonicnaoblika',
'po_soznake': 'POSoznake',
'nosilnautez': 'nosilnautez',
@@ -48,6 +50,7 @@ class TerminoloskiKandidat(Model):
'pogostostpojavljanja': 'pogostostpojavljanja'
}
self._kandidat = kandidat
self._definicija = definicija
self._kanonicnaoblika = kanonicnaoblika
self._po_soznake = po_soznake
self._nosilnautez = nosilnautez
@@ -86,6 +89,27 @@ class TerminoloskiKandidat(Model):
self._kandidat = kandidat
@property
def definicija(self) -> str:
"""Gets the definicija of this TerminoloskiKandidat.
:return: The definicija of this TerminoloskiKandidat.
:rtype: str
"""
return self._definicija
@definicija.setter
def definicija(self, definicija: str):
"""Sets the kandidat of this TerminoloskiKandidat.
:param kandidat: The kandidat of this TerminoloskiKandidat.
:type kandidat: str
"""
self._definicija = definicija
@property
def kanonicnaoblika(self) -> str:
"""Gets the kanonicnaoblika of this TerminoloskiKandidat.