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 classOccupancy.TypeRoom Layout
-
Field Summary
Fields Modifier and Type Field Description private DoublemaxOccupancyMaximum Occupancyprivate Occupancy.TypetypeRoom Layout
-
Constructor Summary
Constructors Constructor Description Occupancy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)DoublegetMaxOccupancy()Maximum OccupancyOccupancy.TypegetType()Room LayoutinthashCode()voidsetMaxOccupancy(Double maxOccupancy)Maximum OccupancyvoidsetType(Occupancy.Type type)Room LayoutStringtoString()OccupancywithMaxOccupancy(Double maxOccupancy)OccupancywithType(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 typeRoom 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 maxOccupancyMaximum 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)
-
-