Class SuggestCity

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

public final class SuggestCity extends Object
Locality information in a suggestion result.

Following SDK conventions, this corresponds to the administrative level of a city/locality.

  • Method Details

    • builder

      public static SuggestCity.Builder builder()
      Returns:
      A new builder instance.
    • getCode

      @Nullable public @Nullable String getCode()
      Returns:
      Internal Cercalia ID for the locality.
    • getName

      @Nullable public @Nullable String getName()
      Returns:
      Name of the locality.
    • getBracketLocality

      @Nullable public @Nullable String getBracketLocality()
      Returns:
      Additional locality information.