Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.25 KB

File metadata and controls

35 lines (26 loc) · 1.25 KB

HotelSearchResponse

Properties

Name Type Description Notes
query str [optional]
location str
language str
observed_at str [optional]
search_url str [optional]
result_count int Number of hotels returned.
results List[HotelSearchResult] Hotel listings. Each hotel is one billable record.

Example

from unifapi.models.hotel_search_response import HotelSearchResponse

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

# convert the object into a dict
hotel_search_response_dict = hotel_search_response_instance.to_dict()
# create an instance of HotelSearchResponse from a dict
hotel_search_response_from_dict = HotelSearchResponse.from_dict(hotel_search_response_dict)

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