__init__(self,
id='',
parent_id='',
title='',
restricted=False,
creator='',
write_status=WRITE_STATUS_NOT_WRITABLE,
ref_id='',
genres=[],
long_description='',
producers=[],
rating='',
actors=[],
directors=[],
description='',
publishers=[],
language='',
relations=[],
artists=[],
storage_medium='',
albums=[],
scheduled_start_time='',
scheduled_end_time='',
contributors=[],
date='')
(Constructor)
| source code
|
Constructor for the VideoItem class.
- Parameters:
id (string) - unique identifier for the object
parent_id (string) - id of object's parent
title (string) - name of the object
restricted (bool) - True if only CDS can modify the object
creator (string) - content creator or owner
write_status (integer) - modifiability of the resources of this object. Integer parameter
based on WRITE_STATUS_* constants
ref_id (string) - id property of the item being referred to
genres (list) - list of genre titles that apply to this item
long_description (string) - long description
producers (list) - list of producers
rating (string) - rating of the object's resource
actors (list) - list of actors
directors (list) - list of directors
description (string) - short description
publishers (list) - list of publisher names
language (string) - main language of the video
relations (list) - list of related resource names
artists (list) - list of artists
storage_medium (string) - indicates the type of storage used for the content. Possible
values are enumerated on STORAGE_MEDIUM_* variables
albums (list) - list of albums that this resource belongs to
scheduled_start_time (string) - start time of a schedule program, ISO 8601, form
yyyy-mm-ddThh:mm:ss
scheduled_end_time (string) - end time of a schedule program, ISO 8601, form
yyyy-mm-ddThh:mm:ss
contributors (list) - entities responsible for making contributions to the resource
date (string) - ISO 8601, form YYYY-MM-DD
- Overrides:
object.__init__
|