Aggregate guest rating and review breakdown when present.
| Name | Type | Description | Notes |
|---|---|---|---|
| rating | float | Aggregate guest rating, typically on a 0-5 scale. | [optional] |
| votes_count | int | Number of guest votes behind the rating. | [optional] |
| rating_distribution | Dict[str, float] | Vote counts keyed by star rating ("1"-"5") when present. | [optional] |
| extras | Dict | [optional] |
from unifapi.models.hotel_reviews import HotelReviews # TODO update the JSON string below json = "{}" # create an instance of HotelReviews from a JSON string hotel_reviews_instance = HotelReviews.from_json(json) # print the JSON string representation of the object print(HotelReviews.to_json()) # convert the object into a dict hotel_reviews_dict = hotel_reviews_instance.to_dict() # create an instance of HotelReviews from a dict hotel_reviews_from_dict = HotelReviews.from_dict(hotel_reviews_dict)