11 lines
274 B
11 lines
274 B
6 years ago
|
from plex.objects.core.base import Descriptor, Property
|
||
|
|
||
|
|
||
|
class Director(Descriptor):
|
||
|
id = Property(type=int)
|
||
|
tag = Property
|
||
|
|
||
|
@classmethod
|
||
|
def from_node(cls, client, node):
|
||
|
return cls.construct(client, cls.helpers.find(node, 'Director'), child=True)
|