43 lines
1.7 KiB
Markdown
43 lines
1.7 KiB
Markdown
# RunnerJob
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**uuid** | **str** | | [optional]
|
|
**type** | [**RunnerJobType**](RunnerJobType.md) | | [optional]
|
|
**state** | [**RunnerJobStateConstant**](RunnerJobStateConstant.md) | | [optional]
|
|
**payload** | [**RunnerJobPayload**](RunnerJobPayload.md) | | [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**](RunnerJobParent.md) | | [optional]
|
|
**runner** | [**RunnerJobRunner**](RunnerJobRunner.md) | | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from peertube.models.runner_job import RunnerJob
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of RunnerJob from a JSON string
|
|
runner_job_instance = RunnerJob.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print RunnerJob.to_json()
|
|
|
|
# convert the object into a dict
|
|
runner_job_dict = runner_job_instance.to_dict()
|
|
# create an instance of RunnerJob from a dict
|
|
runner_job_form_dict = runner_job.from_dict(runner_job_dict)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|