1 | <?php |
||
10 | class Slot extends \ArrayObject |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @param array $array |
||
15 | */ |
||
16 | public function __construct(array $array = []) |
||
20 | |||
21 | /** |
||
22 | * Sets the 'id' parameter. |
||
23 | * |
||
24 | * @param string $id |
||
25 | * |
||
26 | * @return \Acquia\LiftClient\Entity\Slot |
||
27 | */ |
||
28 | public function setId($id) |
||
34 | |||
35 | /** |
||
36 | * Gets the 'id' parameter. |
||
37 | * |
||
38 | * @return string |
||
39 | */ |
||
40 | public function getId() |
||
44 | |||
45 | /** |
||
46 | * Sets the 'label' parameter. |
||
47 | * |
||
48 | * @param string $label |
||
49 | * |
||
50 | * @return \Acquia\LiftClient\Entity\Slot |
||
51 | */ |
||
52 | public function setLabel($label) |
||
58 | |||
59 | /** |
||
60 | * Gets the 'id' parameter. |
||
61 | * |
||
62 | * @return string |
||
63 | */ |
||
64 | public function getLabel() |
||
68 | |||
69 | /** |
||
70 | * Sets the 'description' parameter. |
||
71 | * |
||
72 | * @param string $description |
||
73 | * |
||
74 | * @return \Acquia\LiftClient\Entity\Slot |
||
75 | */ |
||
76 | public function setDescription($description) |
||
82 | |||
83 | /** |
||
84 | * Gets the 'description' parameter. |
||
85 | * |
||
86 | * @return string |
||
87 | */ |
||
88 | public function getDescription() |
||
92 | |||
93 | /** |
||
94 | * Sets the 'html' parameter. |
||
95 | * |
||
96 | * @param string $html |
||
97 | * |
||
98 | * @return \Acquia\LiftClient\Entity\Slot |
||
99 | */ |
||
100 | public function setHtml($html) |
||
106 | |||
107 | /** |
||
108 | * Gets the 'html' parameter. |
||
109 | * |
||
110 | * @return string |
||
111 | */ |
||
112 | public function getHtml() |
||
116 | |||
117 | /** |
||
118 | * Sets the 'status' parameter. |
||
119 | * |
||
120 | * @param bool $status |
||
121 | * |
||
122 | * @return \Acquia\LiftClient\Entity\Slot |
||
123 | */ |
||
124 | public function setStatus($status) |
||
134 | |||
135 | /** |
||
136 | * Gets the 'status' parameter. |
||
137 | * |
||
138 | * @return bool |
||
139 | */ |
||
140 | public function getStatus() |
||
149 | |||
150 | /** |
||
151 | * Sets the 'visibility' parameter. |
||
152 | * |
||
153 | * @param \Acquia\LiftClient\Entity\Visibility $visibility |
||
154 | * |
||
155 | * @return \Acquia\LiftClient\Entity\Slot |
||
156 | */ |
||
157 | public function setVisibility(Visibility $visibility) |
||
164 | |||
165 | /** |
||
166 | * Gets the 'visibility' parameter. |
||
167 | * |
||
168 | * @return string |
||
169 | */ |
||
170 | public function getVisibility() |
||
176 | |||
177 | /** |
||
178 | * Gets the 'created' parameter. |
||
179 | * |
||
180 | * @return DateTime |
||
181 | */ |
||
182 | public function getCreated() |
||
189 | |||
190 | /** |
||
191 | * Gets the 'updated' parameter. |
||
192 | * |
||
193 | * @return DateTime |
||
194 | */ |
||
195 | public function getUpdated() |
||
202 | |||
203 | /** |
||
204 | * Returns the json representation of the current object. |
||
205 | * |
||
206 | * @return string |
||
207 | */ |
||
208 | public function json() |
||
216 | |||
217 | /** |
||
218 | * |
||
219 | * @param string $key |
||
220 | * @param string $default |
||
221 | * |
||
222 | * @return mixed |
||
223 | */ |
||
224 | protected function getValue($key, $default) |
||
228 | } |
||
229 |