|
3 | 3 | import com.google.common.base.Objects; |
4 | 4 | import org.joda.time.DateTime; |
5 | 5 |
|
| 6 | +import java.util.List; |
| 7 | + |
6 | 8 | /** |
7 | 9 | * A room or area in a location. |
8 | 10 | * |
@@ -45,6 +47,7 @@ public class Space implements IdentifiableApiResponseModel { |
45 | 47 | private Calendar calendar; |
46 | 48 | private Event currentEvent; |
47 | 49 | private Event nextEvent; |
| 50 | + private List<Amenity> amenities; |
48 | 51 |
|
49 | 52 |
|
50 | 53 | /** |
@@ -116,6 +119,14 @@ public void setIsDisabled(Boolean isDisabled) { |
116 | 119 | this.isDisabled = isDisabled; |
117 | 120 | } |
118 | 121 |
|
| 122 | + public String getType() { |
| 123 | + return type; |
| 124 | + } |
| 125 | + |
| 126 | + public void setType(String type) { |
| 127 | + this.type = type; |
| 128 | + } |
| 129 | + |
119 | 130 | public Boolean isDibsed() { |
120 | 131 | return isDibsed; |
121 | 132 | } |
@@ -160,12 +171,12 @@ public void setNextEvent(Event nextEvent) { |
160 | 171 | this.nextEvent = nextEvent; |
161 | 172 | } |
162 | 173 |
|
163 | | - public String getType() { |
164 | | - return type; |
| 174 | + public List<Amenity> getAmenities() { |
| 175 | + return amenities; |
165 | 176 | } |
166 | 177 |
|
167 | | - public void setType(String type) { |
168 | | - this.type = type; |
| 178 | + public void setAmenities(List<Amenity> amenities) { |
| 179 | + this.amenities = amenities; |
169 | 180 | } |
170 | 181 |
|
171 | 182 | @Override |
@@ -204,6 +215,7 @@ public String toString() { |
204 | 215 | ", calendar=" + calendar + |
205 | 216 | ", currentEvent=" + currentEvent + |
206 | 217 | ", nextEvent=" + nextEvent + |
| 218 | + ", amenities=" + amenities + |
207 | 219 | '}'; |
208 | 220 | } |
209 | 221 |
|
|
0 commit comments