1.3 KiB
1.3 KiB
VideoStateConstant
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | The video state: - `1`: Published - `2`: To transcode - `3`: To import - `4`: Waiting for live stream - `5`: Live ended - `6`: To move to an external storage (object storage...) - `7`: Transcoding failed - `8`: Moving to an external storage failed - `9`: To edit using studio edition feature | [optional] |
| label | str | [optional] |
Example
from peertube.models.video_state_constant import VideoStateConstant
# TODO update the JSON string below
json = "{}"
# create an instance of VideoStateConstant from a JSON string
video_state_constant_instance = VideoStateConstant.from_json(json)
# print the JSON string representation of the object
print VideoStateConstant.to_json()
# convert the object into a dict
video_state_constant_dict = video_state_constant_instance.to_dict()
# create an instance of VideoStateConstant from a dict
video_state_constant_form_dict = video_state_constant.from_dict(video_state_constant_dict)