public abstract class DirectionsJsonObject
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DirectionsJsonObject() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,com.google.gson.JsonElement> |
getUnrecognizedJsonProperties()
Use this method to get JSON properties that weren't recognized during JSON
serialization by the model.
|
java.util.Set<java.lang.String> |
getUnrecognizedPropertiesNames()
Use this method to get names of JSON properties that weren't recognized during JSON
serialization by the model.
|
com.google.gson.JsonElement |
getUnrecognizedProperty(java.lang.String propertyName)
Use this method to access a JSON property that wasn't recognized during JSON serialization
by the model.
|
java.lang.String |
toJson()
This takes the currently defined values found inside this instance and converts it to a json
string.
|
public java.lang.String toJson()
@Nullable public final com.google.gson.JsonElement getUnrecognizedProperty(java.lang.String propertyName)
propertyName
- name of a json property@NonNull public final java.util.Set<java.lang.String> getUnrecognizedPropertiesNames()
getUnrecognizedProperty(String)
.
When an experimental API property becomes stable,
it will eventually have static field in a model introduced
and it won't be available via this dynamic method anymore.
See
Directions API documentation
for available experimental fields.@Nullable public final java.util.Map<java.lang.String,com.google.gson.JsonElement> getUnrecognizedJsonProperties()