updated endpoint definitions/names and reformatted some files and code
This commit is contained in:
@@ -3,13 +3,15 @@
|
||||
# flake8: noqa
|
||||
from __future__ import absolute_import
|
||||
# import models into model package
|
||||
from swagger_server.models.izlusci_body import IzlusciBody
|
||||
from swagger_server.models.oznaci_besedilo_async_body import OznaciBesediloAsyncBody
|
||||
from swagger_server.models.terminoloski_kandidat import TerminoloskiKandidat
|
||||
from swagger_server.models.job_response import JobResponse
|
||||
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.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.pretvori_datoteko_in_oznaci_async_body import PretvoriDatotekoInOznaciAsyncBody
|
||||
from swagger_server.models.pretvori_datoteko_in_oznaci_async_ocr_body import PretvoriDatotekoInOznaciAsyncOcrBody
|
||||
from swagger_server.models.izlusci_body import IzlusciBody
|
||||
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
|
||||
|
||||
+10
-10
@@ -9,15 +9,15 @@ from swagger_server.models.base_model_ import Model
|
||||
from swagger_server import util
|
||||
|
||||
|
||||
class PretvoriDatotekoInOznaciAsyncOcrBody(Model):
|
||||
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
|
||||
"""PretvoriDatotekoInOznaciAsyncOcrBody - a model defined in Swagger
|
||||
"""DatotekaVBesediloAsyncBody - a model defined in Swagger
|
||||
|
||||
:param file: The file of this PretvoriDatotekoInOznaciAsyncOcrBody. # noqa: E501
|
||||
:param file: The file of this DatotekaVBesediloAsyncBody. # noqa: E501
|
||||
:type file: str
|
||||
"""
|
||||
self.swagger_types = {
|
||||
@@ -30,32 +30,32 @@ class PretvoriDatotekoInOznaciAsyncOcrBody(Model):
|
||||
self._file = file
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls, dikt) -> 'PretvoriDatotekoInOznaciAsyncOcrBody':
|
||||
def from_dict(cls, dikt) -> 'DatotekaVBesediloAsyncBody':
|
||||
"""Returns the dict as a model
|
||||
|
||||
:param dikt: A dict.
|
||||
:type: dict
|
||||
:return: The pretvoriDatotekoInOznaciAsync_ocr_body of this PretvoriDatotekoInOznaciAsyncOcrBody. # noqa: E501
|
||||
:rtype: PretvoriDatotekoInOznaciAsyncOcrBody
|
||||
: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 PretvoriDatotekoInOznaciAsyncOcrBody.
|
||||
"""Gets the file of this DatotekaVBesediloAsyncBody.
|
||||
|
||||
|
||||
:return: The file of this PretvoriDatotekoInOznaciAsyncOcrBody.
|
||||
:return: The file of this DatotekaVBesediloAsyncBody.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._file
|
||||
|
||||
@file.setter
|
||||
def file(self, file: str):
|
||||
"""Sets the file of this PretvoriDatotekoInOznaciAsyncOcrBody.
|
||||
"""Sets the file of this DatotekaVBesediloAsyncBody.
|
||||
|
||||
|
||||
:param file: The file of this PretvoriDatotekoInOznaciAsyncOcrBody.
|
||||
:param file: The file of this DatotekaVBesediloAsyncBody.
|
||||
:type file: str
|
||||
"""
|
||||
if file is None:
|
||||
+10
-10
@@ -9,15 +9,15 @@ from swagger_server.models.base_model_ import Model
|
||||
from swagger_server import util
|
||||
|
||||
|
||||
class PretvoriDatotekoInOznaciAsyncBody(Model):
|
||||
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
|
||||
"""PretvoriDatotekoInOznaciAsyncBody - a model defined in Swagger
|
||||
"""DatotekaVBesediloAsyncOcrBody - a model defined in Swagger
|
||||
|
||||
:param file: The file of this PretvoriDatotekoInOznaciAsyncBody. # noqa: E501
|
||||
:param file: The file of this DatotekaVBesediloAsyncOcrBody. # noqa: E501
|
||||
:type file: str
|
||||
"""
|
||||
self.swagger_types = {
|
||||
@@ -30,32 +30,32 @@ class PretvoriDatotekoInOznaciAsyncBody(Model):
|
||||
self._file = file
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls, dikt) -> 'PretvoriDatotekoInOznaciAsyncBody':
|
||||
def from_dict(cls, dikt) -> 'DatotekaVBesediloAsyncOcrBody':
|
||||
"""Returns the dict as a model
|
||||
|
||||
:param dikt: A dict.
|
||||
:type: dict
|
||||
:return: The pretvoriDatotekoInOznaciAsync_body of this PretvoriDatotekoInOznaciAsyncBody. # noqa: E501
|
||||
:rtype: PretvoriDatotekoInOznaciAsyncBody
|
||||
: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 PretvoriDatotekoInOznaciAsyncBody.
|
||||
"""Gets the file of this DatotekaVBesediloAsyncOcrBody.
|
||||
|
||||
|
||||
:return: The file of this PretvoriDatotekoInOznaciAsyncBody.
|
||||
:return: The file of this DatotekaVBesediloAsyncOcrBody.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._file
|
||||
|
||||
@file.setter
|
||||
def file(self, file: str):
|
||||
"""Sets the file of this PretvoriDatotekoInOznaciAsyncBody.
|
||||
"""Sets the file of this DatotekaVBesediloAsyncOcrBody.
|
||||
|
||||
|
||||
:param file: The file of this PretvoriDatotekoInOznaciAsyncBody.
|
||||
:param file: The file of this DatotekaVBesediloAsyncOcrBody.
|
||||
:type file: str
|
||||
"""
|
||||
if file is None:
|
||||
+10
-10
@@ -9,15 +9,15 @@ from swagger_server.models.base_model_ import Model
|
||||
from swagger_server import util
|
||||
|
||||
|
||||
class DatotekaVBesediloBody(Model):
|
||||
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
|
||||
"""DatotekaVBesediloBody - a model defined in Swagger
|
||||
"""DatotekaVBesediloSyncBody - a model defined in Swagger
|
||||
|
||||
:param file: The file of this DatotekaVBesediloBody. # noqa: E501
|
||||
:param file: The file of this DatotekaVBesediloSyncBody. # 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) -> 'DatotekaVBesediloSyncBody':
|
||||
"""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 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 DatotekaVBesediloBody.
|
||||
"""Gets the file of this DatotekaVBesediloSyncBody.
|
||||
|
||||
|
||||
:return: The file of this DatotekaVBesediloBody.
|
||||
:return: The file of this DatotekaVBesediloSyncBody.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._file
|
||||
|
||||
@file.setter
|
||||
def file(self, file: str):
|
||||
"""Sets the file of this DatotekaVBesediloBody.
|
||||
"""Sets the file of this DatotekaVBesediloSyncBody.
|
||||
|
||||
|
||||
:param file: The file of this DatotekaVBesediloBody.
|
||||
:param file: The file of this DatotekaVBesediloSyncBody.
|
||||
: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 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
|
||||
+10
-10
@@ -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
|
||||
@@ -14,34 +14,39 @@ class JobResponse(Model):
|
||||
|
||||
Do not edit the class manually.
|
||||
"""
|
||||
def __init__(self, finished_job: bool=None, completed_at: datetime=None, estimated_completion: datetime=None, job_result: str=None): # noqa: E501
|
||||
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 finished_job: The finished_job of this JobResponse. # noqa: E501
|
||||
:type finished_job: bool
|
||||
:param completed_at: The completed_at of this JobResponse. # noqa: E501
|
||||
:type completed_at: datetime
|
||||
:param estimated_completion: The estimated_completion of this JobResponse. # noqa: E501
|
||||
:type estimated_completion: datetime
|
||||
: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 = {
|
||||
'finished_job': bool,
|
||||
'completed_at': datetime,
|
||||
'estimated_completion': datetime,
|
||||
'job_status': str,
|
||||
'finished_on': datetime,
|
||||
'started_on': datetime,
|
||||
'created_on': datetime,
|
||||
'job_result': str
|
||||
}
|
||||
|
||||
self.attribute_map = {
|
||||
'finished_job': 'finished_job',
|
||||
'completed_at': 'completed_at',
|
||||
'estimated_completion': 'estimated_completion',
|
||||
'job_status': 'job_status',
|
||||
'finished_on': 'finished_on',
|
||||
'started_on': 'started_on',
|
||||
'created_on': 'created_on',
|
||||
'job_result': 'job_result'
|
||||
}
|
||||
self._finished_job = finished_job
|
||||
self._completed_at = completed_at
|
||||
self._estimated_completion = estimated_completion
|
||||
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
|
||||
@@ -56,69 +61,94 @@ class JobResponse(Model):
|
||||
return util.deserialize_model(dikt, cls)
|
||||
|
||||
@property
|
||||
def finished_job(self) -> bool:
|
||||
"""Gets the finished_job of this JobResponse.
|
||||
def job_status(self) -> str:
|
||||
"""Gets the job_status of this JobResponse.
|
||||
|
||||
|
||||
:return: The finished_job of this JobResponse.
|
||||
:rtype: bool
|
||||
:return: The job_status of this JobResponse.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._finished_job
|
||||
return self._job_status
|
||||
|
||||
@finished_job.setter
|
||||
def finished_job(self, finished_job: bool):
|
||||
"""Sets the finished_job of this JobResponse.
|
||||
@job_status.setter
|
||||
def job_status(self, job_status: str):
|
||||
"""Sets the job_status of this JobResponse.
|
||||
|
||||
|
||||
:param finished_job: The finished_job of this JobResponse.
|
||||
:type finished_job: bool
|
||||
:param job_status: The job_status of this JobResponse.
|
||||
:type job_status: str
|
||||
"""
|
||||
if finished_job is None:
|
||||
raise ValueError("Invalid value for `finished_job`, must not be `None`") # noqa: E501
|
||||
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._finished_job = finished_job
|
||||
self._job_status = job_status
|
||||
|
||||
@property
|
||||
def completed_at(self) -> datetime:
|
||||
"""Gets the completed_at of this JobResponse.
|
||||
def finished_on(self) -> datetime:
|
||||
"""Gets the finished_on of this JobResponse.
|
||||
|
||||
|
||||
:return: The completed_at of this JobResponse.
|
||||
:return: The finished_on of this JobResponse.
|
||||
:rtype: datetime
|
||||
"""
|
||||
return self._completed_at
|
||||
return self._finished_on
|
||||
|
||||
@completed_at.setter
|
||||
def completed_at(self, completed_at: datetime):
|
||||
"""Sets the completed_at of this JobResponse.
|
||||
@finished_on.setter
|
||||
def finished_on(self, finished_on: datetime):
|
||||
"""Sets the finished_on of this JobResponse.
|
||||
|
||||
|
||||
:param completed_at: The completed_at of this JobResponse.
|
||||
:type completed_at: datetime
|
||||
:param finished_on: The finished_on of this JobResponse.
|
||||
:type finished_on: datetime
|
||||
"""
|
||||
|
||||
self._completed_at = completed_at
|
||||
self._finished_on = finished_on
|
||||
|
||||
@property
|
||||
def estimated_completion(self) -> datetime:
|
||||
"""Gets the estimated_completion of this JobResponse.
|
||||
def started_on(self) -> datetime:
|
||||
"""Gets the started_on of this JobResponse.
|
||||
|
||||
|
||||
:return: The estimated_completion of this JobResponse.
|
||||
:return: The started_on of this JobResponse.
|
||||
:rtype: datetime
|
||||
"""
|
||||
return self._estimated_completion
|
||||
return self._started_on
|
||||
|
||||
@estimated_completion.setter
|
||||
def estimated_completion(self, estimated_completion: datetime):
|
||||
"""Sets the estimated_completion of this JobResponse.
|
||||
@started_on.setter
|
||||
def started_on(self, started_on: datetime):
|
||||
"""Sets the started_on of this JobResponse.
|
||||
|
||||
|
||||
:param estimated_completion: The estimated_completion of this JobResponse.
|
||||
:type estimated_completion: datetime
|
||||
:param started_on: The started_on of this JobResponse.
|
||||
:type started_on: datetime
|
||||
"""
|
||||
|
||||
self._estimated_completion = estimated_completion
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user