| Name | Type | Description | Notes |
|---|---|---|---|
| Rating | Pointer to float32 | Aggregate guest rating, typically on a 0-5 scale. | [optional] |
| VotesCount | Pointer to int32 | Number of guest votes behind the rating. | [optional] |
| RatingDistribution | Pointer to map[string]float32 | Vote counts keyed by star rating ("1"-"5") when present. | [optional] |
| Extras | Pointer to ModelMap | [optional] |
func NewHotelReviews() *HotelReviews
NewHotelReviews instantiates a new HotelReviews object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHotelReviewsWithDefaults() *HotelReviews
NewHotelReviewsWithDefaults instantiates a new HotelReviews object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *HotelReviews) GetRating() float32
GetRating returns the Rating field if non-nil, zero value otherwise.
func (o *HotelReviews) GetRatingOk() (*float32, bool)
GetRatingOk returns a tuple with the Rating field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HotelReviews) SetRating(v float32)
SetRating sets Rating field to given value.
func (o *HotelReviews) HasRating() bool
HasRating returns a boolean if a field has been set.
func (o *HotelReviews) GetVotesCount() int32
GetVotesCount returns the VotesCount field if non-nil, zero value otherwise.
func (o *HotelReviews) GetVotesCountOk() (*int32, bool)
GetVotesCountOk returns a tuple with the VotesCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HotelReviews) SetVotesCount(v int32)
SetVotesCount sets VotesCount field to given value.
func (o *HotelReviews) HasVotesCount() bool
HasVotesCount returns a boolean if a field has been set.
func (o *HotelReviews) GetRatingDistribution() map[string]float32
GetRatingDistribution returns the RatingDistribution field if non-nil, zero value otherwise.
func (o *HotelReviews) GetRatingDistributionOk() (*map[string]float32, bool)
GetRatingDistributionOk returns a tuple with the RatingDistribution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HotelReviews) SetRatingDistribution(v map[string]float32)
SetRatingDistribution sets RatingDistribution field to given value.
func (o *HotelReviews) HasRatingDistribution() bool
HasRatingDistribution returns a boolean if a field has been set.
func (o *HotelReviews) GetExtras() ModelMap
GetExtras returns the Extras field if non-nil, zero value otherwise.
func (o *HotelReviews) GetExtrasOk() (*ModelMap, bool)
GetExtrasOk returns a tuple with the Extras field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HotelReviews) SetExtras(v ModelMap)
SetExtras sets Extras field to given value.
func (o *HotelReviews) HasExtras() bool
HasExtras returns a boolean if a field has been set.