1 | <?php |
||
12 | class Channel implements ChannelInterface |
||
13 | { |
||
14 | /** |
||
15 | * @Type("integer") |
||
16 | * |
||
17 | * @var int |
||
18 | */ |
||
19 | private $id; |
||
20 | |||
21 | /** |
||
22 | * @Type("string") |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | private $name; |
||
27 | |||
28 | /** |
||
29 | * @Type("string") |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | private $description; |
||
34 | |||
35 | /** |
||
36 | * @Type("array") |
||
37 | * @SerializedName("customMetadata") |
||
38 | * |
||
39 | * @var array |
||
40 | */ |
||
41 | private $customMetadata = []; |
||
42 | |||
43 | /** |
||
44 | * @Type("ArrayCollection<MovingImage\Client\VMPro\Entity\Channel>") |
||
45 | * |
||
46 | * @var ArrayCollection<ChannelInterface> |
||
47 | */ |
||
48 | private $children; |
||
49 | |||
50 | /** |
||
51 | * @Type("MovingImage\Client\VMPro\Entity\Channel") |
||
52 | * |
||
53 | * @var ChannelInterface |
||
54 | */ |
||
55 | private $parent = null; |
||
56 | |||
57 | /** |
||
58 | * @Type("integer") |
||
59 | * @SerializedName("parentId") |
||
60 | */ |
||
61 | private $parentId = null; |
||
62 | |||
63 | /** |
||
64 | * @Type("MovingImage\Client\VMPro\Entity\Ownership") |
||
65 | * |
||
66 | * @var Ownership |
||
67 | */ |
||
68 | private $ownership = null; |
||
69 | |||
70 | public function getName(): string |
||
74 | |||
75 | public function setName(string $name): self |
||
81 | |||
82 | public function getDescription(): string |
||
86 | |||
87 | public function setDescription(string $description): self |
||
93 | |||
94 | public function getCustomMetadata(): array |
||
98 | |||
99 | public function setCustomMetadata($customMetadata): self |
||
105 | |||
106 | public function getId(): int |
||
110 | |||
111 | public function setId($id): self |
||
117 | |||
118 | public function getParent(): ?ChannelInterface |
||
122 | |||
123 | public function setParent(ChannelInterface $parent): self |
||
130 | |||
131 | public function setParentOnChildren(): self |
||
143 | |||
144 | public function getParentId(): ?int |
||
148 | |||
149 | public function setParentId(?int $parentId): self |
||
155 | |||
156 | /** |
||
157 | * {@inheritdoc} |
||
158 | */ |
||
159 | public function getChildren(): ArrayCollection |
||
167 | |||
168 | public function setChildren(ArrayCollection $children): self |
||
174 | |||
175 | public function addChild(ChannelInterface $child): self |
||
181 | |||
182 | public function removeChild(ChannelInterface $channel): self |
||
188 | |||
189 | public function getOwnership(): Ownership |
||
193 | |||
194 | public function setOwnership(Ownership $ownership): self |
||
200 | } |
||
201 |