Skip to content

Latest commit

 

History

History
238 lines (129 loc) · 6.66 KB

File metadata and controls

238 lines (129 loc) · 6.66 KB

HotelPlace

Properties

Name Type Description Notes
Neighborhood Pointer to string Neighborhood where the hotel is located. [optional]
NeighborhoodDescription Pointer to string [optional]
MapsUrl Pointer to string Google Maps URL for the hotel location. [optional]
OverallScore Pointer to float32 Overall location score from 1 to 5. [optional]
ScoreByCategories Pointer to map[string]float32 Location sub-scores by category, such as transit or things_to_do. [optional]
Latitude Pointer to float32 Latitude of the hotel on Google Maps. [optional]
Longitude Pointer to float32 Longitude of the hotel on Google Maps. [optional]
Extras Pointer to ModelMap [optional]

Methods

NewHotelPlace

func NewHotelPlace() *HotelPlace

NewHotelPlace instantiates a new HotelPlace 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

NewHotelPlaceWithDefaults

func NewHotelPlaceWithDefaults() *HotelPlace

NewHotelPlaceWithDefaults instantiates a new HotelPlace 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

GetNeighborhood

func (o *HotelPlace) GetNeighborhood() string

GetNeighborhood returns the Neighborhood field if non-nil, zero value otherwise.

GetNeighborhoodOk

func (o *HotelPlace) GetNeighborhoodOk() (*string, bool)

GetNeighborhoodOk returns a tuple with the Neighborhood field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNeighborhood

func (o *HotelPlace) SetNeighborhood(v string)

SetNeighborhood sets Neighborhood field to given value.

HasNeighborhood

func (o *HotelPlace) HasNeighborhood() bool

HasNeighborhood returns a boolean if a field has been set.

GetNeighborhoodDescription

func (o *HotelPlace) GetNeighborhoodDescription() string

GetNeighborhoodDescription returns the NeighborhoodDescription field if non-nil, zero value otherwise.

GetNeighborhoodDescriptionOk

func (o *HotelPlace) GetNeighborhoodDescriptionOk() (*string, bool)

GetNeighborhoodDescriptionOk returns a tuple with the NeighborhoodDescription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNeighborhoodDescription

func (o *HotelPlace) SetNeighborhoodDescription(v string)

SetNeighborhoodDescription sets NeighborhoodDescription field to given value.

HasNeighborhoodDescription

func (o *HotelPlace) HasNeighborhoodDescription() bool

HasNeighborhoodDescription returns a boolean if a field has been set.

GetMapsUrl

func (o *HotelPlace) GetMapsUrl() string

GetMapsUrl returns the MapsUrl field if non-nil, zero value otherwise.

GetMapsUrlOk

func (o *HotelPlace) GetMapsUrlOk() (*string, bool)

GetMapsUrlOk returns a tuple with the MapsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMapsUrl

func (o *HotelPlace) SetMapsUrl(v string)

SetMapsUrl sets MapsUrl field to given value.

HasMapsUrl

func (o *HotelPlace) HasMapsUrl() bool

HasMapsUrl returns a boolean if a field has been set.

GetOverallScore

func (o *HotelPlace) GetOverallScore() float32

GetOverallScore returns the OverallScore field if non-nil, zero value otherwise.

GetOverallScoreOk

func (o *HotelPlace) GetOverallScoreOk() (*float32, bool)

GetOverallScoreOk returns a tuple with the OverallScore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOverallScore

func (o *HotelPlace) SetOverallScore(v float32)

SetOverallScore sets OverallScore field to given value.

HasOverallScore

func (o *HotelPlace) HasOverallScore() bool

HasOverallScore returns a boolean if a field has been set.

GetScoreByCategories

func (o *HotelPlace) GetScoreByCategories() map[string]float32

GetScoreByCategories returns the ScoreByCategories field if non-nil, zero value otherwise.

GetScoreByCategoriesOk

func (o *HotelPlace) GetScoreByCategoriesOk() (*map[string]float32, bool)

GetScoreByCategoriesOk returns a tuple with the ScoreByCategories field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetScoreByCategories

func (o *HotelPlace) SetScoreByCategories(v map[string]float32)

SetScoreByCategories sets ScoreByCategories field to given value.

HasScoreByCategories

func (o *HotelPlace) HasScoreByCategories() bool

HasScoreByCategories returns a boolean if a field has been set.

GetLatitude

func (o *HotelPlace) GetLatitude() float32

GetLatitude returns the Latitude field if non-nil, zero value otherwise.

GetLatitudeOk

func (o *HotelPlace) GetLatitudeOk() (*float32, bool)

GetLatitudeOk returns a tuple with the Latitude field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLatitude

func (o *HotelPlace) SetLatitude(v float32)

SetLatitude sets Latitude field to given value.

HasLatitude

func (o *HotelPlace) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

GetLongitude

func (o *HotelPlace) GetLongitude() float32

GetLongitude returns the Longitude field if non-nil, zero value otherwise.

GetLongitudeOk

func (o *HotelPlace) GetLongitudeOk() (*float32, bool)

GetLongitudeOk returns a tuple with the Longitude field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLongitude

func (o *HotelPlace) SetLongitude(v float32)

SetLongitude sets Longitude field to given value.

HasLongitude

func (o *HotelPlace) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

GetExtras

func (o *HotelPlace) GetExtras() ModelMap

GetExtras returns the Extras field if non-nil, zero value otherwise.

GetExtrasOk

func (o *HotelPlace) 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.

SetExtras

func (o *HotelPlace) SetExtras(v ModelMap)

SetExtras sets Extras field to given value.

HasExtras

func (o *HotelPlace) HasExtras() bool

HasExtras returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]