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

2.0 KiB

VideoChannel

Properties

Name Type Description Notes
id int [optional]
url str [optional]
name str immutable name of the actor, used to find or mention it [optional]
host str server on which the actor is resident [optional]
host_redundancy_allowed bool whether this actor's host allows redundancy of its videos [optional]
following_count int number of actors subscribed to by this actor, as seen by this instance [optional]
followers_count int number of followers of this actor, as seen by this instance [optional]
created_at datetime [optional]
updated_at datetime [optional] [readonly]
display_name str editable name of the channel, displayed in its representations [optional]
description str [optional]
support str text shown by default on all videos of this channel, to tell the audience how to support it [optional]
is_local bool [optional] [readonly]
banners List[ActorImage] [optional]
owner_account VideoChannelAllOfOwnerAccount [optional]

Example

from peertube.models.video_channel import VideoChannel

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

# convert the object into a dict
video_channel_dict = video_channel_instance.to_dict()
# create an instance of VideoChannel from a dict
video_channel_form_dict = video_channel.from_dict(video_channel_dict)

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