Amenity

public final class Amenity

An individual amenity.

Parameters

id

The amenity definition ID for this amenity.

name

Amenity name.

value Amenity value.

categories

This is an optional field and will be present only if the amenity falls into one or more of these amenity categories.
See the Amenity Categories section of the Content Reference Lists for a list of values.

Constructors

Link copied to clipboard
public Amenity Amenity(String id, String name, String value, List<String> categories)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final List<String> categories
Link copied to clipboard
@Valid()
private final String id
Link copied to clipboard
@Valid()
private final String name
Link copied to clipboard
@Valid()
private final String value

Functions

Link copied to clipboard
public final static Amenity.Builder builder()
Link copied to clipboard
public final List<String> getCategories()
Link copied to clipboard
public final String getId()
Link copied to clipboard
public final String getName()
Link copied to clipboard
public final String getValue()