__init__(self,
id='',
parent_id='',
title='',
restricted=False,
creator='',
write_status=WRITE_STATUS_NOT_WRITABLE,
ref_id='',
authors=[],
protection='',
long_description='',
storage_medium='',
rating='',
description='',
publishers=[],
contributors=[],
date='',
relations=[],
languages=[],
rights=[])
(Constructor)
| source code
|
Constructor for the PlaylistItem 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
authors (list) - list of author names
protection (string) - protection
long_description (string) - long description
storage_medium (string) - indicates the type of storage used for the content. Possible
values are enumerated on STORAGE_MEDIUM_* variables
rating (string) - rating of the object's resource
description (string) - description
publishers (list) - list of publisher names
contributors (list) - entities responsible for making contributions to the resource
date (string) - ISO 8601, form YYYY-MM-DD
relations (list) - list of relation (related resources names)
languages (list) - list of languages used
rights (list) - list of rights
- Overrides:
object.__init__
|