Class PointOfInterestCategory

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

public final class PointOfInterestCategory extends Object
POI category result.
  • Constructor Details

    • PointOfInterestCategory

      public PointOfInterestCategory()
  • Method Details

    • getId

      public Integer getId()
      Get the id property: Unique ID for the category. ID can be used to restrict search results to specific categories through other Search Service APIs, like [Get Search POI](https://docs.microsoft.com/rest/api/maps/search/getsearchpoi).
      Returns:
      the id value.
    • getName

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

      public List<Integer> getChildIds()
      Get the childIds property: Array of child category ids.
      Returns:
      the childIds value.
    • getSynonyms

      public List<String> getSynonyms()
      Get the synonyms property: Array of alternative names of the category.
      Returns:
      the synonyms value.