Package com.azure.maps.search.models
Class PointOfInterest
java.lang.Object
com.azure.maps.search.models.PointOfInterest
Details of the returned POI including information such as the name, phone, url address, and classifications.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the brands property: Brands array.Get the categories property: Categories array.Get the categorySet property: The list of the most specific POI categories.Get the classifications property: Classification array.getName()
Get the name property: Name of the POI property.Get the operatingHours property: Opening hours for a POI (Points of Interest).getPhone()
Get the phone property: Telephone number property.getUrl()
Get the url property: Website URL property.setOperatingHours
(OperatingHours operatingHours) Set the operatingHours property: Opening hours for a POI (Points of Interest).
-
Constructor Details
-
PointOfInterest
public PointOfInterest()
-
-
Method Details
-
getName
Get the name property: Name of the POI property.- Returns:
- the name value.
-
getPhone
Get the phone property: Telephone number property.- Returns:
- the phone value.
-
getUrl
Get the url property: Website URL property.- Returns:
- the url value.
-
getCategorySet
Get the categorySet property: The list of the most specific POI categories.- Returns:
- the categorySet value.
-
getCategories
Get the categories property: Categories array.- Returns:
- the categories value.
-
getClassifications
Get the classifications property: Classification array.- Returns:
- the classifications value.
-
getBrands
Get the brands property: Brands array. The name of the brand for the POI being returned.- Returns:
- the brands value.
-
getOperatingHours
Get the operatingHours property: Opening hours for a POI (Points of Interest).- Returns:
- the operatingHours value.
-
setOperatingHours
Set the operatingHours property: Opening hours for a POI (Points of Interest).- Parameters:
operatingHours
- the operatingHours value to set.- Returns:
- the PointOfInterest object itself.
-