Class SuggestOptions

java.lang.Object
com.cercalia.sdk.model.suggest.SuggestOptions

public final class SuggestOptions extends Object
Options for suggest searches.
  • Method Details

    • builder

      public static SuggestOptions.Builder builder()
      Returns:
      A new builder instance.
    • getText

      public String getText()
      Returns:
      The text to search for.
    • getGeoType

      @Nullable public @Nullable SuggestGeoType getGeoType()
      Returns:
      The geographic type to search for.
    • getCountryCode

      @Nullable public @Nullable String getCountryCode()
      Returns:
      The country code to filter results.
    • getRegionCode

      @Nullable public @Nullable String getRegionCode()
      Returns:
      The region code to filter results.
    • getSubregionCode

      @Nullable public @Nullable String getSubregionCode()
      Returns:
      The subregion code to filter results.
    • getMunicipalityCode

      @Nullable public @Nullable String getMunicipalityCode()
      Returns:
      The municipality code to filter results.
    • getStreetCode

      @Nullable public @Nullable String getStreetCode()
      Returns:
      The street code to filter results.
    • getPostalCodePrefix

      @Nullable public @Nullable String getPostalCodePrefix()
      Returns:
      The postal code prefix to filter results.
    • getLanguage

      @Nullable public @Nullable String getLanguage()
      Returns:
      The language for the results.
    • getCenter

      @Nullable public @Nullable Coordinate getCenter()
      Returns:
      The center coordinate for biased results.
    • getRadius

      @Nullable public @Nullable Integer getRadius()
      Returns:
      The search radius in meters around the center.
    • getPoiCategories

      @Nullable public @Nullable List<String> getPoiCategories()
      Returns:
      The list of POI category codes to filter results.