Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.43 KB

File metadata and controls

37 lines (28 loc) · 1.43 KB

HotelPlace

Hotel location details when present.

Properties

Name Type Description Notes
neighborhood str Neighborhood where the hotel is located. [optional]
neighborhood_description str [optional]
maps_url str Google Maps URL for the hotel location. [optional]
overall_score float Overall location score from 1 to 5. [optional]
score_by_categories Dict[str, float] Location sub-scores by category, such as transit or things_to_do. [optional]
latitude float Latitude of the hotel on Google Maps. [optional]
longitude float Longitude of the hotel on Google Maps. [optional]
extras Dict [optional]

Example

from unifapi.models.hotel_place import HotelPlace

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

# convert the object into a dict
hotel_place_dict = hotel_place_instance.to_dict()
# create an instance of HotelPlace from a dict
hotel_place_from_dict = HotelPlace.from_dict(hotel_place_dict)

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