peertube_python_api/docs/RunnerJobAdmin.md
2024-01-14 12:30:33 +02:00

1.8 KiB

RunnerJobAdmin

Properties

Name Type Description Notes
uuid str [optional]
type RunnerJobType [optional]
state RunnerJobStateConstant [optional]
payload RunnerJobPayload [optional]
failures int Number of times a remote runner failed to process this job. After too many failures, the job in "error" state [optional]
error str Error message if the job is errored [optional]
progress int Percentage progress [optional]
priority int Job priority (less has more priority) [optional]
updated_at datetime [optional]
created_at datetime [optional]
started_at datetime [optional]
finished_at datetime [optional]
parent RunnerJobParent [optional]
runner RunnerJobRunner [optional]
private_payload object [optional]

Example

from peertube.models.runner_job_admin import RunnerJobAdmin

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

# convert the object into a dict
runner_job_admin_dict = runner_job_admin_instance.to_dict()
# create an instance of RunnerJobAdmin from a dict
runner_job_admin_form_dict = runner_job_admin.from_dict(runner_job_admin_dict)

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