1 | <?php |
||
8 | class Slot extends Entity |
||
9 | { |
||
10 | /** |
||
11 | * @param array $array |
||
12 | */ |
||
13 | 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 | public function setId($id) |
||
36 | |||
37 | /** |
||
38 | * Gets the 'id' parameter. |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | 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 | public function setLabel($label) |
||
65 | |||
66 | /** |
||
67 | * Gets the 'id' parameter. |
||
68 | * |
||
69 | * @return string |
||
70 | */ |
||
71 | 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 | public function setDescription($description) |
||
94 | |||
95 | /** |
||
96 | * Gets the 'description' parameter. |
||
97 | * |
||
98 | * @return string |
||
99 | */ |
||
100 | public function getDescription() |
||
104 | |||
105 | /** |
||
106 | * Sets the 'status' parameter. |
||
107 | * |
||
108 | * @param bool $status |
||
109 | * |
||
110 | * @throws \Acquia\LiftClient\Exception\LiftSdkException |
||
111 | * |
||
112 | * @return \Acquia\LiftClient\Entity\Slot |
||
113 | */ |
||
114 | public function setStatus($status) |
||
127 | |||
128 | /** |
||
129 | * Gets the 'status' parameter. True if the slot is published. False is it is not. |
||
130 | * |
||
131 | * @return bool |
||
132 | */ |
||
133 | public function getStatus() |
||
142 | |||
143 | /** |
||
144 | * Sets the 'visibility' parameter. |
||
145 | * |
||
146 | * @param \Acquia\LiftClient\Entity\Visibility $visibility |
||
147 | * |
||
148 | * @return \Acquia\LiftClient\Entity\Slot |
||
149 | */ |
||
150 | public function setVisibility(Visibility $visibility) |
||
157 | |||
158 | /** |
||
159 | * Gets the 'visibility' parameter. |
||
160 | * |
||
161 | * @return Visibility |
||
162 | */ |
||
163 | public function getVisibility() |
||
169 | |||
170 | /** |
||
171 | * Gets the 'created' parameter. |
||
172 | * |
||
173 | * @return DateTime|false |
||
174 | */ |
||
175 | public function getCreated() |
||
185 | |||
186 | /** |
||
187 | * Gets the 'updated' parameter. |
||
188 | * |
||
189 | * @return DateTime|false |
||
190 | */ |
||
191 | public function getUpdated() |
||
201 | } |
||
202 |