37 lines
1.0 KiB
Markdown
37 lines
1.0 KiB
Markdown
# 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
|
|
|
|
```python
|
|
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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|