RoomContent

public final class RoomContent

An individual room.

Parameters

id

Unique identifier for a room type.

name

Room type name.

descriptions
amenities

Lists all of the amenities available in the room. See our amenities reference for current known amenity ID and name values.

images

The room's images. Contains all room images available.

bedGroups

A map of the room's bed groups.

area
views

A map of the room views. See our view reference for current known room view ID and name values.

occupancy

Constructors

Link copied to clipboard
public RoomContent RoomContent(String id, String name, DescriptionsRoom descriptions, Map<String, Amenity> amenities, List<Image> images, Map<String, BedGroup> bedGroups, Area area, Map<String, View> views, Occupancy occupancy)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final Map<String, Amenity> amenities
Link copied to clipboard
@Valid()
private final Area area
Link copied to clipboard
@Valid()
private final Map<String, BedGroup> bedGroups
Link copied to clipboard
@Valid()
private final DescriptionsRoom descriptions
Link copied to clipboard
@Valid()
private final String id
Link copied to clipboard
@Valid()
private final List<Image> images
Link copied to clipboard
@Valid()
private final String name
Link copied to clipboard
@Valid()
private final Occupancy occupancy
Link copied to clipboard
@Valid()
private final Map<String, View> views

Functions

Link copied to clipboard
public final static RoomContent.Builder builder()
Link copied to clipboard
public final Map<String, Amenity> getAmenities()
Link copied to clipboard
public final Area getArea()
Link copied to clipboard
public final Map<String, BedGroup> getBedGroups()
Link copied to clipboard
Link copied to clipboard
public final String getId()
Link copied to clipboard
public final List<Image> getImages()
Link copied to clipboard
public final String getName()
Link copied to clipboard
public final Occupancy getOccupancy()
Link copied to clipboard
public final Map<String, View> getViews()
Link copied to clipboard