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

1.5 KiB

VideoImport

Properties

Name Type Description Notes
id int [optional] [readonly]
target_url str remote URL where to find the import's source video [optional]
magnet_uri str magnet URI allowing to resolve the import's source video [optional]
torrentfile bytearray Torrent file containing only the video file [optional]
torrent_name str [optional] [readonly]
state VideoImportStateConstant [optional] [readonly]
error str [optional] [readonly]
created_at datetime [optional] [readonly]
updated_at datetime [optional] [readonly]
video Video [optional] [readonly]

Example

from peertube.models.video_import import VideoImport

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

# convert the object into a dict
video_import_dict = video_import_instance.to_dict()
# create an instance of VideoImport from a dict
video_import_form_dict = video_import.from_dict(video_import_dict)

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