2024-01-14 12:30:33 +02:00

1.0 KiB

Job

Properties

Name Type Description Notes
id int [optional]
state str [optional]
type str [optional]
data Dict[str, object] [optional]
error Dict[str, object] [optional]
created_at datetime [optional]
finished_on datetime [optional]
processed_on datetime [optional]

Example

from peertube.models.job import Job

# TODO update the JSON string below
json = "{}"
# create an instance of Job from a JSON string
job_instance = Job.from_json(json)
# print the JSON string representation of the object
print Job.to_json()

# convert the object into a dict
job_dict = job_instance.to_dict()
# create an instance of Job from a dict
job_form_dict = job.from_dict(job_dict)

[Back to Model list] [Back to API list] [Back to README]