Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.58 KB

File metadata and controls

37 lines (28 loc) · 1.58 KB

HotelSearchResult

Properties

Name Type Description Notes
hotel_identifier str Unique hotel id. Pass it to /hotels/info for full details. [optional]
title str Hotel or vacation rental name. [optional]
stars int Hotel class rating, 1-5. [optional]
is_paid bool True for paid hotel listings. [optional]
location HotelSearchGeo [optional]
reviews HotelSearchResultReviews [optional]
prices HotelSearchResultPrices [optional]
overview_images List[str] Preview image URLs for the hotel when present. [optional]
is_billable bool Each hotel listing is one billable record.

Example

from unifapi.models.hotel_search_result import HotelSearchResult

# TODO update the JSON string below
json = "{}"
# create an instance of HotelSearchResult from a JSON string
hotel_search_result_instance = HotelSearchResult.from_json(json)
# print the JSON string representation of the object
print(HotelSearchResult.to_json())

# convert the object into a dict
hotel_search_result_dict = hotel_search_result_instance.to_dict()
# create an instance of HotelSearchResult from a dict
hotel_search_result_from_dict = HotelSearchResult.from_dict(hotel_search_result_dict)

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