All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amadeus.resources.HotelSentiment Maven / Gradle / Ivy

package com.amadeus.resources;

import lombok.Getter;
import lombok.ToString;

/**
 * An HotelSentiment object as returned by the Hotel Ratings API.
 * @see HotelSentiments#get()
 */

@ToString
public class HotelSentiment extends Resource {
  protected HotelSentiment() {}

  private @Getter String hotelId;
  private @Getter String type;
  private @Getter int overallRating;
  private @Getter int numberOfReviews;
  private @Getter Sentiment sentiments;

  @ToString
  public class Sentiment {
    protected Sentiment() {}

    private @Getter int staff;
    private @Getter int location;
    private @Getter int service;
    private @Getter int roomComforts;
    private @Getter int sleepQuality;
    private @Getter int swimmingPool;
    private @Getter int valueForMoney;
    private @Getter int facilities;
    private @Getter int catering;
    private @Getter int pointsOfInterest;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy