Skip to content

Latest commit

 

History

History
405 lines (218 loc) · 10.6 KB

File metadata and controls

405 lines (218 loc) · 10.6 KB

HotelInfoResponse

Properties

Name Type Description Notes
HotelIdentifier string
Location string Search location echoed from the request.
Language string
ObservedAt Pointer to string [optional]
SearchUrl Pointer to string [optional]
Title Pointer to string [optional]
Stars Pointer to int32 Hotel class rating, 1-5. [optional]
StarsDescription Pointer to string [optional]
Address Pointer to string [optional]
Phone Pointer to string [optional]
About Pointer to HotelAbout [optional]
Place Pointer to HotelPlace [optional]
Reviews Pointer to HotelReviews [optional]
OverviewImages Pointer to []string [optional]
Prices Pointer to HotelPrice [optional]

Methods

NewHotelInfoResponse

func NewHotelInfoResponse(hotelIdentifier string, location string, language string, ) *HotelInfoResponse

NewHotelInfoResponse instantiates a new HotelInfoResponse 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

NewHotelInfoResponseWithDefaults

func NewHotelInfoResponseWithDefaults() *HotelInfoResponse

NewHotelInfoResponseWithDefaults instantiates a new HotelInfoResponse 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 *HotelInfoResponse) GetHotelIdentifier() string

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

GetHotelIdentifierOk

func (o *HotelInfoResponse) 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 *HotelInfoResponse) SetHotelIdentifier(v string)

SetHotelIdentifier sets HotelIdentifier field to given value.

GetLocation

func (o *HotelInfoResponse) GetLocation() string

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

GetLocationOk

func (o *HotelInfoResponse) GetLocationOk() (*string, 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 *HotelInfoResponse) SetLocation(v string)

SetLocation sets Location field to given value.

GetLanguage

func (o *HotelInfoResponse) GetLanguage() string

GetLanguage returns the Language field if non-nil, zero value otherwise.

GetLanguageOk

func (o *HotelInfoResponse) GetLanguageOk() (*string, bool)

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

SetLanguage

func (o *HotelInfoResponse) SetLanguage(v string)

SetLanguage sets Language field to given value.

GetObservedAt

func (o *HotelInfoResponse) GetObservedAt() string

GetObservedAt returns the ObservedAt field if non-nil, zero value otherwise.

GetObservedAtOk

func (o *HotelInfoResponse) GetObservedAtOk() (*string, bool)

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

SetObservedAt

func (o *HotelInfoResponse) SetObservedAt(v string)

SetObservedAt sets ObservedAt field to given value.

HasObservedAt

func (o *HotelInfoResponse) HasObservedAt() bool

HasObservedAt returns a boolean if a field has been set.

GetSearchUrl

func (o *HotelInfoResponse) GetSearchUrl() string

GetSearchUrl returns the SearchUrl field if non-nil, zero value otherwise.

GetSearchUrlOk

func (o *HotelInfoResponse) GetSearchUrlOk() (*string, bool)

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

SetSearchUrl

func (o *HotelInfoResponse) SetSearchUrl(v string)

SetSearchUrl sets SearchUrl field to given value.

HasSearchUrl

func (o *HotelInfoResponse) HasSearchUrl() bool

HasSearchUrl returns a boolean if a field has been set.

GetTitle

func (o *HotelInfoResponse) GetTitle() string

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

GetTitleOk

func (o *HotelInfoResponse) 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 *HotelInfoResponse) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *HotelInfoResponse) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetStars

func (o *HotelInfoResponse) GetStars() int32

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

GetStarsOk

func (o *HotelInfoResponse) 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 *HotelInfoResponse) SetStars(v int32)

SetStars sets Stars field to given value.

HasStars

func (o *HotelInfoResponse) HasStars() bool

HasStars returns a boolean if a field has been set.

GetStarsDescription

func (o *HotelInfoResponse) GetStarsDescription() string

GetStarsDescription returns the StarsDescription field if non-nil, zero value otherwise.

GetStarsDescriptionOk

func (o *HotelInfoResponse) GetStarsDescriptionOk() (*string, bool)

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

SetStarsDescription

func (o *HotelInfoResponse) SetStarsDescription(v string)

SetStarsDescription sets StarsDescription field to given value.

HasStarsDescription

func (o *HotelInfoResponse) HasStarsDescription() bool

HasStarsDescription returns a boolean if a field has been set.

GetAddress

func (o *HotelInfoResponse) GetAddress() string

GetAddress returns the Address field if non-nil, zero value otherwise.

GetAddressOk

func (o *HotelInfoResponse) GetAddressOk() (*string, bool)

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

SetAddress

func (o *HotelInfoResponse) SetAddress(v string)

SetAddress sets Address field to given value.

HasAddress

func (o *HotelInfoResponse) HasAddress() bool

HasAddress returns a boolean if a field has been set.

GetPhone

func (o *HotelInfoResponse) GetPhone() string

GetPhone returns the Phone field if non-nil, zero value otherwise.

GetPhoneOk

func (o *HotelInfoResponse) GetPhoneOk() (*string, bool)

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

SetPhone

func (o *HotelInfoResponse) SetPhone(v string)

SetPhone sets Phone field to given value.

HasPhone

func (o *HotelInfoResponse) HasPhone() bool

HasPhone returns a boolean if a field has been set.

GetAbout

func (o *HotelInfoResponse) GetAbout() HotelAbout

GetAbout returns the About field if non-nil, zero value otherwise.

GetAboutOk

func (o *HotelInfoResponse) GetAboutOk() (*HotelAbout, bool)

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

SetAbout

func (o *HotelInfoResponse) SetAbout(v HotelAbout)

SetAbout sets About field to given value.

HasAbout

func (o *HotelInfoResponse) HasAbout() bool

HasAbout returns a boolean if a field has been set.

GetPlace

func (o *HotelInfoResponse) GetPlace() HotelPlace

GetPlace returns the Place field if non-nil, zero value otherwise.

GetPlaceOk

func (o *HotelInfoResponse) GetPlaceOk() (*HotelPlace, bool)

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

SetPlace

func (o *HotelInfoResponse) SetPlace(v HotelPlace)

SetPlace sets Place field to given value.

HasPlace

func (o *HotelInfoResponse) HasPlace() bool

HasPlace returns a boolean if a field has been set.

GetReviews

func (o *HotelInfoResponse) GetReviews() HotelReviews

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

GetReviewsOk

func (o *HotelInfoResponse) GetReviewsOk() (*HotelReviews, 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 *HotelInfoResponse) SetReviews(v HotelReviews)

SetReviews sets Reviews field to given value.

HasReviews

func (o *HotelInfoResponse) HasReviews() bool

HasReviews returns a boolean if a field has been set.

GetOverviewImages

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

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

GetOverviewImagesOk

func (o *HotelInfoResponse) 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 *HotelInfoResponse) SetOverviewImages(v []string)

SetOverviewImages sets OverviewImages field to given value.

HasOverviewImages

func (o *HotelInfoResponse) HasOverviewImages() bool

HasOverviewImages returns a boolean if a field has been set.

GetPrices

func (o *HotelInfoResponse) GetPrices() HotelPrice

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

GetPricesOk

func (o *HotelInfoResponse) GetPricesOk() (*HotelPrice, 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 *HotelInfoResponse) SetPrices(v HotelPrice)

SetPrices sets Prices field to given value.

HasPrices

func (o *HotelInfoResponse) HasPrices() bool

HasPrices returns a boolean if a field has been set.

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