public abstract class NbmapStreetsV8 extends DirectionsJsonObject
DirectionsCriteria.PROFILE_DRIVING profile.| Modifier and Type | Class and Description |
|---|---|
static class |
NbmapStreetsV8.Builder
This builder can be used to set the values describing the
NbmapStreetsV8. |
| Constructor and Description |
|---|
NbmapStreetsV8() |
| Modifier and Type | Method and Description |
|---|---|
static NbmapStreetsV8.Builder |
builder()
Create a new instance of this class by using the
NbmapStreetsV8.Builder class. |
static NbmapStreetsV8 |
fromJson(java.lang.String json)
Create a new instance of this class by passing in a formatted valid JSON String.
|
abstract java.lang.String |
roadClass()
The road class of the road exiting the intersection as defined by the
Nbmap Streets v8 road class specification.
|
abstract NbmapStreetsV8.Builder |
toBuilder()
Convert the current
NbmapStreetsV8 to its builder holding the currently assigned
values. |
static com.google.gson.TypeAdapter<NbmapStreetsV8> |
typeAdapter(com.google.gson.Gson gson)
Gson type adapter for parsing Gson to this class.
|
toJson@Nullable @SerializedName(value="class") public abstract java.lang.String roadClass()
public static NbmapStreetsV8.Builder builder()
NbmapStreetsV8.Builder class.NbmapStreetsV8.Builder for creating a new instancepublic abstract NbmapStreetsV8.Builder toBuilder()
NbmapStreetsV8 to its builder holding the currently assigned
values. This allows you to modify a single property and then rebuild the object resulting in
an updated and modified NbmapStreetsV8.NbmapStreetsV8.Builder with the same values set to match the ones defined in this NbmapStreetsV8public static com.google.gson.TypeAdapter<NbmapStreetsV8> typeAdapter(com.google.gson.Gson gson)
gson - the built Gson objectpublic static NbmapStreetsV8 fromJson(java.lang.String json)
json - a formatted valid JSON string defining an Incident