Class PointOfInterest

java.lang.Object
com.azure.maps.search.models.PointOfInterest

public final class PointOfInterest extends Object
Details of the returned POI including information such as the name, phone, url address, and classifications.
  • Constructor Details

    • PointOfInterest

      public PointOfInterest()
  • Method Details

    • getName

      public String getName()
      Get the name property: Name of the POI property.
      Returns:
      the name value.
    • getPhone

      public String getPhone()
      Get the phone property: Telephone number property.
      Returns:
      the phone value.
    • getUrl

      public String getUrl()
      Get the url property: Website URL property.
      Returns:
      the url value.
    • getCategorySet

      public List<PointOfInterestCategorySet> getCategorySet()
      Get the categorySet property: The list of the most specific POI categories.
      Returns:
      the categorySet value.
    • getCategories

      public List<String> getCategories()
      Get the categories property: Categories array.
      Returns:
      the categories value.
    • getClassifications

      public List<Classification> getClassifications()
      Get the classifications property: Classification array.
      Returns:
      the classifications value.
    • getBrands

      public List<Brand> getBrands()
      Get the brands property: Brands array. The name of the brand for the POI being returned.
      Returns:
      the brands value.
    • getOperatingHours

      public OperatingHours getOperatingHours()
      Get the operatingHours property: Opening hours for a POI (Points of Interest).
      Returns:
      the operatingHours value.
    • setOperatingHours

      public PointOfInterest setOperatingHours(OperatingHours operatingHours)
      Set the operatingHours property: Opening hours for a POI (Points of Interest).
      Parameters:
      operatingHours - the operatingHours value to set.
      Returns:
      the PointOfInterest object itself.