Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.02 KB

File metadata and controls

40 lines (31 loc) · 2.02 KB

HotelInfoRequest

Properties

Name Type Description Notes
hotel_identifier str Unique hotel id returned by /hotels/search.
location HotelInfoLocation [optional]
language str Search language as an ISO code or full language name. Defaults to en. [optional]
check_in str Check-in date. Date in YYYY-MM-DD format. [optional]
check_out str Check-out date. Date in YYYY-MM-DD format. [optional]
currency str ISO 4217 currency code for prices, such as USD. [optional]
adults int Number of adult guests. [optional]
children List[int] Ages of children staying, used to refine availability and pricing. [optional]
load_prices_by_dates bool When true, return a daily price calendar across the requested date range instead of a single stay price. [optional]
prices_start_date str Start date for the daily price calendar. Date in YYYY-MM-DD format. [optional]
prices_end_date str End date for the daily price calendar. Date in YYYY-MM-DD format. [optional]
prices_date_range str Predefined period for the daily price calendar, such as next_30_days. [optional]

Example

from unifapi.models.hotel_info_request import HotelInfoRequest

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

# convert the object into a dict
hotel_info_request_dict = hotel_info_request_instance.to_dict()
# create an instance of HotelInfoRequest from a dict
hotel_info_request_from_dict = HotelInfoRequest.from_dict(hotel_info_request_dict)

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