Skip to content

Commit 19c1a7d

Browse files
author
Chris Mark
committed
Merge pull request #8 from brianmuse/feature/include-amenities-for-space
Feature: Amenities submodel for Space
2 parents e5f2222 + fdbc381 commit 19c1a7d

File tree

1 file changed

+16
-4
lines changed
  • src/main/java/com/robinpowered/sdk/model

1 file changed

+16
-4
lines changed

src/main/java/com/robinpowered/sdk/model/Space.java

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import com.google.common.base.Objects;
44
import org.joda.time.DateTime;
55

6+
import java.util.List;
7+
68
/**
79
* A room or area in a location.
810
*
@@ -45,6 +47,7 @@ public class Space implements IdentifiableApiResponseModel {
4547
private Calendar calendar;
4648
private Event currentEvent;
4749
private Event nextEvent;
50+
private List<Amenity> amenities;
4851

4952

5053
/**
@@ -116,6 +119,14 @@ public void setIsDisabled(Boolean isDisabled) {
116119
this.isDisabled = isDisabled;
117120
}
118121

122+
public String getType() {
123+
return type;
124+
}
125+
126+
public void setType(String type) {
127+
this.type = type;
128+
}
129+
119130
public Boolean isDibsed() {
120131
return isDibsed;
121132
}
@@ -160,12 +171,12 @@ public void setNextEvent(Event nextEvent) {
160171
this.nextEvent = nextEvent;
161172
}
162173

163-
public String getType() {
164-
return type;
174+
public List<Amenity> getAmenities() {
175+
return amenities;
165176
}
166177

167-
public void setType(String type) {
168-
this.type = type;
178+
public void setAmenities(List<Amenity> amenities) {
179+
this.amenities = amenities;
169180
}
170181

171182
@Override
@@ -204,6 +215,7 @@ public String toString() {
204215
", calendar=" + calendar +
205216
", currentEvent=" + currentEvent +
206217
", nextEvent=" + nextEvent +
218+
", amenities=" + amenities +
207219
'}';
208220
}
209221

0 commit comments

Comments
 (0)