Class Occupancy
- java.lang.Object
-
- com.ellucian.generated.eedm.rooms.v6_0.Occupancy
-
@Generated("jsonschema2pojo") public class Occupancy extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Occupancy.Type
Room Layout
-
Field Summary
Fields Modifier and Type Field Description private Double
maxOccupancy
Maximum Occupancyprivate Occupancy.Type
type
Room Layout
-
Constructor Summary
Constructors Constructor Description Occupancy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Double
getMaxOccupancy()
Maximum OccupancyOccupancy.Type
getType()
Room Layoutint
hashCode()
void
setMaxOccupancy(Double maxOccupancy)
Maximum Occupancyvoid
setType(Occupancy.Type type)
Room LayoutString
toString()
Occupancy
withMaxOccupancy(Double maxOccupancy)
Occupancy
withType(Occupancy.Type type)
-
-
-
Field Detail
-
type
@JsonPropertyDescription("For rooms with multiple layouts, this can be used. For example, a gymnasium can be used for a seminar or a conference, with different maximum occupancies. For rooms with single occupancy type, \"Default\" can be used.") private Occupancy.Type type
Room LayoutFor rooms with multiple layouts, this can be used. For example, a gymnasium can be used for a seminar or a conference, with different maximum occupancies. For rooms with single occupancy type, "Default" can be used. (Required)
-
maxOccupancy
@JsonPropertyDescription("The maximum number of persons who may occupy a room arranged in a given layout.") private Double maxOccupancy
Maximum OccupancyThe maximum number of persons who may occupy a room arranged in a given layout. (Required)
-
-
Method Detail
-
getType
public Occupancy.Type getType()
Room LayoutFor rooms with multiple layouts, this can be used. For example, a gymnasium can be used for a seminar or a conference, with different maximum occupancies. For rooms with single occupancy type, "Default" can be used. (Required)
-
setType
public void setType(Occupancy.Type type)
Room LayoutFor rooms with multiple layouts, this can be used. For example, a gymnasium can be used for a seminar or a conference, with different maximum occupancies. For rooms with single occupancy type, "Default" can be used. (Required)
-
withType
public Occupancy withType(Occupancy.Type type)
-
getMaxOccupancy
public Double getMaxOccupancy()
Maximum OccupancyThe maximum number of persons who may occupy a room arranged in a given layout. (Required)
-
setMaxOccupancy
public void setMaxOccupancy(Double maxOccupancy)
Maximum OccupancyThe maximum number of persons who may occupy a room arranged in a given layout. (Required)
-
-