Skip to content

Latest commit

 

History

History
259 lines (140 loc) · 7.2 KB

File metadata and controls

259 lines (140 loc) · 7.2 KB

HotelSearchResult

Properties

Name Type Description Notes
HotelIdentifier Pointer to string Unique hotel id. Pass it to /hotels/info for full details. [optional]
Title Pointer to string Hotel or vacation rental name. [optional]
Stars Pointer to int32 Hotel class rating, 1-5. [optional]
IsPaid Pointer to bool True for paid hotel listings. [optional]
Location Pointer to HotelSearchGeo [optional]
Reviews Pointer to HotelSearchResultReviews [optional]
Prices Pointer to HotelSearchResultPrices [optional]
OverviewImages Pointer to []string Preview image URLs for the hotel when present. [optional]
IsBillable bool Each hotel listing is one billable record.

Methods

NewHotelSearchResult

func NewHotelSearchResult(isBillable bool, ) *HotelSearchResult

NewHotelSearchResult instantiates a new HotelSearchResult 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

NewHotelSearchResultWithDefaults

func NewHotelSearchResultWithDefaults() *HotelSearchResult

NewHotelSearchResultWithDefaults instantiates a new HotelSearchResult 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

GetHotelIdentifier

func (o *HotelSearchResult) GetHotelIdentifier() string

GetHotelIdentifier returns the HotelIdentifier field if non-nil, zero value otherwise.

GetHotelIdentifierOk

func (o *HotelSearchResult) GetHotelIdentifierOk() (*string, bool)

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

SetHotelIdentifier

func (o *HotelSearchResult) SetHotelIdentifier(v string)

SetHotelIdentifier sets HotelIdentifier field to given value.

HasHotelIdentifier

func (o *HotelSearchResult) HasHotelIdentifier() bool

HasHotelIdentifier returns a boolean if a field has been set.

GetTitle

func (o *HotelSearchResult) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *HotelSearchResult) GetTitleOk() (*string, bool)

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

SetTitle

func (o *HotelSearchResult) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *HotelSearchResult) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetStars

func (o *HotelSearchResult) GetStars() int32

GetStars returns the Stars field if non-nil, zero value otherwise.

GetStarsOk

func (o *HotelSearchResult) GetStarsOk() (*int32, bool)

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

SetStars

func (o *HotelSearchResult) SetStars(v int32)

SetStars sets Stars field to given value.

HasStars

func (o *HotelSearchResult) HasStars() bool

HasStars returns a boolean if a field has been set.

GetIsPaid

func (o *HotelSearchResult) GetIsPaid() bool

GetIsPaid returns the IsPaid field if non-nil, zero value otherwise.

GetIsPaidOk

func (o *HotelSearchResult) GetIsPaidOk() (*bool, bool)

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

SetIsPaid

func (o *HotelSearchResult) SetIsPaid(v bool)

SetIsPaid sets IsPaid field to given value.

HasIsPaid

func (o *HotelSearchResult) HasIsPaid() bool

HasIsPaid returns a boolean if a field has been set.

GetLocation

func (o *HotelSearchResult) GetLocation() HotelSearchGeo

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

func (o *HotelSearchResult) GetLocationOk() (*HotelSearchGeo, bool)

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

SetLocation

func (o *HotelSearchResult) SetLocation(v HotelSearchGeo)

SetLocation sets Location field to given value.

HasLocation

func (o *HotelSearchResult) HasLocation() bool

HasLocation returns a boolean if a field has been set.

GetReviews

func (o *HotelSearchResult) GetReviews() HotelSearchResultReviews

GetReviews returns the Reviews field if non-nil, zero value otherwise.

GetReviewsOk

func (o *HotelSearchResult) GetReviewsOk() (*HotelSearchResultReviews, bool)

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

SetReviews

func (o *HotelSearchResult) SetReviews(v HotelSearchResultReviews)

SetReviews sets Reviews field to given value.

HasReviews

func (o *HotelSearchResult) HasReviews() bool

HasReviews returns a boolean if a field has been set.

GetPrices

func (o *HotelSearchResult) GetPrices() HotelSearchResultPrices

GetPrices returns the Prices field if non-nil, zero value otherwise.

GetPricesOk

func (o *HotelSearchResult) GetPricesOk() (*HotelSearchResultPrices, bool)

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

SetPrices

func (o *HotelSearchResult) SetPrices(v HotelSearchResultPrices)

SetPrices sets Prices field to given value.

HasPrices

func (o *HotelSearchResult) HasPrices() bool

HasPrices returns a boolean if a field has been set.

GetOverviewImages

func (o *HotelSearchResult) GetOverviewImages() []string

GetOverviewImages returns the OverviewImages field if non-nil, zero value otherwise.

GetOverviewImagesOk

func (o *HotelSearchResult) GetOverviewImagesOk() (*[]string, bool)

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

SetOverviewImages

func (o *HotelSearchResult) SetOverviewImages(v []string)

SetOverviewImages sets OverviewImages field to given value.

HasOverviewImages

func (o *HotelSearchResult) HasOverviewImages() bool

HasOverviewImages returns a boolean if a field has been set.

GetIsBillable

func (o *HotelSearchResult) GetIsBillable() bool

GetIsBillable returns the IsBillable field if non-nil, zero value otherwise.

GetIsBillableOk

func (o *HotelSearchResult) GetIsBillableOk() (*bool, bool)

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

SetIsBillable

func (o *HotelSearchResult) SetIsBillable(v bool)

SetIsBillable sets IsBillable field to given value.

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