GuestRating

public final class GuestRating

Rating information provided by guests who stayed at this property.

Parameters

count

A count of all of the guest review ratings which currently exist for this property.

overall

The overall rating for the property, averaged from all guest reviews. Returns a value between 1.0 and 5.0.

cleanliness

The cleanliness rating for the property, averaged from all guest reviews. Returns a value between 1.0 and 5.0.

service

The rating of the staff's service for the property, averaged from all guest reviews. Returns a value between 1.0 and 5.0.

comfort

The comfort rating of the rooms, averaged from all guest reviews. Returns a value between 1.0 and 5.0.

condition

The rating for the property's condition, averaged from all guest reviews. Returns a value between 1.0 and 5.0.

location

The rating for how convinent the location of the property is, averaged from all guest reviews. Returns a value between 1.0 and 5.0.

neighborhood

The rating for how satisfying the neighborhood of the property is, averaged from all guest reviews. Returns a value between 1.0 and 5.0.

quality

The quality rating of the rooms, averaged from all guest reviews. Returns a value between 1.0 and 5.0.

value The rating for how much value the property provided for the cost of the stay, averaged from all guest reviews. Returns a value between 1.0 and 5.0.

amenities

The rating for the amenities provided by the property, averaged from all guest reviews. Returns a value between 1.0 and 5.0.

recommendationPercent

The percent of guests who recommend staying at this property.

Constructors

Link copied to clipboard
public GuestRating GuestRating(BigDecimal count, String overall, String cleanliness, String service, String comfort, String condition, String location, String neighborhood, String quality, String value, String amenities, String recommendationPercent)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String amenities
Link copied to clipboard
@Valid()
private final String cleanliness
Link copied to clipboard
@Valid()
private final String comfort
Link copied to clipboard
@Valid()
private final String condition
Link copied to clipboard
@Valid()
private final BigDecimal count
Link copied to clipboard
@Valid()
private final String location
Link copied to clipboard
@Valid()
private final String neighborhood
Link copied to clipboard
@Valid()
private final String overall
Link copied to clipboard
@Valid()
private final String quality
Link copied to clipboard
@Valid()
private final String recommendationPercent
Link copied to clipboard
@Valid()
private final String service
Link copied to clipboard
@Valid()
private final String value

Functions

Link copied to clipboard
public final static GuestRating.Builder builder()
Link copied to clipboard
public final String getAmenities()
Link copied to clipboard
public final String getCleanliness()
Link copied to clipboard
public final String getComfort()
Link copied to clipboard
public final String getCondition()
Link copied to clipboard
public final BigDecimal getCount()
Link copied to clipboard
public final String getLocation()
Link copied to clipboard
public final String getNeighborhood()
Link copied to clipboard
public final String getOverall()
Link copied to clipboard
public final String getQuality()
Link copied to clipboard
Link copied to clipboard
public final String getService()
Link copied to clipboard
public final String getValue()