public abstract class V6ContextAddress extends V6JsonObject
V6Context
which holds complete geographical hierarchy for a given address.Constructor and Description |
---|
V6ContextAddress() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
addressNumber()
Element address_number.
|
abstract java.lang.String |
mapboxId()
Element id.
|
abstract java.lang.String |
name()
Element name.
|
abstract java.lang.String |
streetName()
Element street_name.
|
static com.google.gson.TypeAdapter<V6ContextAddress> |
typeAdapter(com.google.gson.Gson gson)
Gson type adapter for parsing Gson to this class.
|
getUnrecognizedJsonProperties
@Nullable @SerializedName(value="mapbox_id") public abstract java.lang.String mapboxId()
@Nullable @SerializedName(value="name") public abstract java.lang.String name()
@Nullable @SerializedName(value="address_number") public abstract java.lang.String addressNumber()
@Nullable @SerializedName(value="street_name") public abstract java.lang.String streetName()
public static com.google.gson.TypeAdapter<V6ContextAddress> typeAdapter(com.google.gson.Gson gson)
gson
- the built Gson
object