1.6 KiB
1.6 KiB
VideoPlaylist
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | [optional] | |
| uuid | str | [optional] | |
| short_uuid | str | translation of a uuid v4 with a bigger alphabet to have a shorter uuid | [optional] |
| created_at | datetime | [optional] | |
| updated_at | datetime | [optional] | |
| description | str | [optional] | |
| display_name | str | [optional] | |
| is_local | bool | [optional] | |
| video_length | int | [optional] | |
| thumbnail_path | str | [optional] | |
| privacy | VideoPlaylistPrivacyConstant | [optional] | |
| type | VideoPlaylistTypeConstant | [optional] | |
| owner_account | AccountSummary | [optional] | |
| video_channel | VideoChannelSummary | [optional] |
Example
from peertube.models.video_playlist import VideoPlaylist
# TODO update the JSON string below
json = "{}"
# create an instance of VideoPlaylist from a JSON string
video_playlist_instance = VideoPlaylist.from_json(json)
# print the JSON string representation of the object
print VideoPlaylist.to_json()
# convert the object into a dict
video_playlist_dict = video_playlist_instance.to_dict()
# create an instance of VideoPlaylist from a dict
video_playlist_form_dict = video_playlist.from_dict(video_playlist_dict)