1 | <?php |
||
8 | class Slot extends Entity |
||
9 | { |
||
10 | /** |
||
11 | * @param array $array |
||
12 | */ |
||
13 | 45 | public function __construct(array $array = []) |
|
17 | |||
18 | /** |
||
19 | * Sets the 'id' parameter. |
||
20 | * |
||
21 | * @param string $id |
||
22 | * |
||
23 | * @throws \Acquia\LiftClient\Exception\LiftSdkException |
||
24 | * |
||
25 | * @return \Acquia\LiftClient\Entity\Slot |
||
26 | */ |
||
27 | 12 | public function setId($id) |
|
36 | |||
37 | /** |
||
38 | * Gets the 'id' parameter. |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | 12 | public function getId() |
|
46 | |||
47 | /** |
||
48 | * Sets the 'label' parameter. |
||
49 | * |
||
50 | * @param string $label |
||
51 | * |
||
52 | * @throws \Acquia\LiftClient\Exception\LiftSdkException |
||
53 | * |
||
54 | * @return \Acquia\LiftClient\Entity\Slot |
||
55 | */ |
||
56 | 12 | public function setLabel($label) |
|
65 | |||
66 | /** |
||
67 | * Gets the 'id' parameter. |
||
68 | * |
||
69 | * @return string |
||
70 | */ |
||
71 | 12 | public function getLabel() |
|
75 | |||
76 | /** |
||
77 | * Sets the 'description' parameter. |
||
78 | * |
||
79 | * @param string $description |
||
80 | * |
||
81 | * @throws \Acquia\LiftClient\Exception\LiftSdkException |
||
82 | * |
||
83 | * @return \Acquia\LiftClient\Entity\Slot |
||
84 | */ |
||
85 | 12 | public function setDescription($description) |
|
94 | |||
95 | /** |
||
96 | * Gets the 'description' parameter. |
||
97 | * |
||
98 | * @return string |
||
99 | */ |
||
100 | 12 | public function getDescription() |
|
104 | |||
105 | /** |
||
106 | * Sets the 'css_selector' parameter. |
||
107 | * |
||
108 | * @param string $css_selector |
||
109 | * |
||
110 | * @throws \Acquia\LiftClient\Exception\LiftSdkException |
||
111 | * |
||
112 | * @return \Acquia\LiftClient\Entity\Slot |
||
113 | */ |
||
114 | 12 | public function setCssSelector($css_selector) |
|
123 | |||
124 | /** |
||
125 | 9 | * Gets the 'css_selector' parameter. |
|
126 | * |
||
127 | * @return string |
||
128 | */ |
||
129 | public function getCssSelector() |
||
133 | 12 | ||
134 | |||
135 | 12 | /** |
|
136 | 12 | * Sets the 'status' parameter. |
|
137 | 12 | * |
|
138 | * @param bool $status |
||
139 | * |
||
140 | * @throws \Acquia\LiftClient\Exception\LiftSdkException |
||
141 | * |
||
142 | * @return \Acquia\LiftClient\Entity\Slot |
||
143 | */ |
||
144 | public function setStatus($status) |
||
157 | |||
158 | /** |
||
159 | * Gets the 'status' parameter. True if the slot is published. False is it is not. |
||
160 | * |
||
161 | * @return bool |
||
162 | */ |
||
163 | 12 | public function getStatus() |
|
172 | |||
173 | /** |
||
174 | * Sets the 'visibility' parameter. |
||
175 | 12 | * |
|
176 | * @param \Acquia\LiftClient\Entity\Visibility $visibility |
||
177 | 12 | * |
|
178 | * @return \Acquia\LiftClient\Entity\Slot |
||
179 | */ |
||
180 | public function setVisibility(Visibility $visibility) |
||
187 | |||
188 | /** |
||
189 | * Gets the 'visibility' parameter. |
||
190 | * |
||
191 | 12 | * @return Visibility |
|
192 | */ |
||
193 | 12 | public function getVisibility() |
|
199 | 12 | ||
200 | /** |
||
201 | * Gets the 'created' parameter. |
||
202 | * |
||
203 | * @return DateTime|false |
||
204 | */ |
||
205 | public function getCreated() |
||
215 | |||
216 | /** |
||
217 | * Gets the 'updated' parameter. |
||
218 | * |
||
219 | * @return DateTime|false |
||
220 | */ |
||
221 | public function getUpdated() |
||
231 | } |
||
232 |