2.4 KiB
2.4 KiB
VideosForXMLInner
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| link | str | video watch page URL | [optional] |
| guid | str | video canonical URL | [optional] |
| pub_date | datetime | video publication date | [optional] |
| description | str | video description | [optional] |
| contentencoded | str | video description | [optional] |
| dccreator | str | publisher user name | [optional] |
| mediacategory | int | video category (MRSS) | [optional] |
| mediacommunity | VideosForXMLInnerMediaCommunity | [optional] | |
| mediaembed | VideosForXMLInnerMediaEmbed | [optional] | |
| mediaplayer | VideosForXMLInnerMediaPlayer | [optional] | |
| mediathumbnail | VideosForXMLInnerMediaThumbnail | [optional] | |
| mediatitle | str | see media:title (MRSS). We only use `plain` titles. | [optional] |
| mediadescription | str | [optional] | |
| mediarating | str | see media:rating (MRSS) | [optional] |
| enclosure | VideosForXMLInnerEnclosure | [optional] | |
| mediagroup | List[VideosForXMLInnerMediaGroupInner] | list of streamable files for the video. see media:peerLink and media:content or (MRSS) | [optional] |
Example
from peertube.models.videos_for_xml_inner import VideosForXMLInner
# TODO update the JSON string below
json = "{}"
# create an instance of VideosForXMLInner from a JSON string
videos_for_xml_inner_instance = VideosForXMLInner.from_json(json)
# print the JSON string representation of the object
print VideosForXMLInner.to_json()
# convert the object into a dict
videos_for_xml_inner_dict = videos_for_xml_inner_instance.to_dict()
# create an instance of VideosForXMLInner from a dict
videos_for_xml_inner_form_dict = videos_for_xml_inner.from_dict(videos_for_xml_inner_dict)