@@ -29,7 +29,6 @@ public class Space implements IdentifiableApiResponseModel {
2929 // Immutable
3030 private final int id ;
3131 private final int locationId ;
32- private final boolean isDibsed ;
3332 private final DateTime createdAt ;
3433 private final DateTime updatedAt ;
3534
@@ -45,19 +44,16 @@ public class Space implements IdentifiableApiResponseModel {
4544 // Submodels
4645 private Location location ;
4746 private Calendar calendar ;
48- private Event currentEvent ;
49- private Event nextEvent ;
5047 private List <Amenity > amenities ;
5148
5249
5350 /**
5451 * Methods
5552 */
5653
57- public Space (int id , int locationId , boolean isDibsed , DateTime createdAt , DateTime updatedAt ) {
54+ public Space (int id , int locationId , DateTime createdAt , DateTime updatedAt ) {
5855 this .id = id ;
5956 this .locationId = locationId ;
60- this .isDibsed = isDibsed ;
6157 this .createdAt = createdAt ;
6258 this .updatedAt = updatedAt ;
6359 }
@@ -127,10 +123,6 @@ public void setType(String type) {
127123 this .type = type ;
128124 }
129125
130- public Boolean isDibsed () {
131- return isDibsed ;
132- }
133-
134126 public DateTime getUpdatedAt () {
135127 return updatedAt ;
136128 }
@@ -155,22 +147,6 @@ public void setCalendar(Calendar calendar) {
155147 this .calendar = calendar ;
156148 }
157149
158- public Event getCurrentEvent () {
159- return currentEvent ;
160- }
161-
162- public void setCurrentEvent (Event currentEvent ) {
163- this .currentEvent = currentEvent ;
164- }
165-
166- public Event getNextEvent () {
167- return nextEvent ;
168- }
169-
170- public void setNextEvent (Event nextEvent ) {
171- this .nextEvent = nextEvent ;
172- }
173-
174150 public List <Amenity > getAmenities () {
175151 return amenities ;
176152 }
@@ -208,13 +184,10 @@ public String toString() {
208184 ", capacity=" + capacity +
209185 ", type=" + type +
210186 ", isDisabled=" + isDisabled +
211- ", isDibsed=" + isDibsed +
212187 ", updatedAt=" + updatedAt +
213188 ", createdAt=" + createdAt +
214189 ", location=" + location +
215190 ", calendar=" + calendar +
216- ", currentEvent=" + currentEvent +
217- ", nextEvent=" + nextEvent +
218191 ", amenities=" + amenities +
219192 '}' ;
220193 }
0 commit comments