public final class Datasource extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Maps Engine API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Datasource() |
| Modifier and Type | Method and Description |
|---|---|
Datasource |
clone() |
String |
getId()
The ID of a datasource.
|
Datasource |
set(String fieldName,
Object value) |
Datasource |
setId(String id)
The ID of a datasource.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getId()
null for nonepublic Datasource setId(String id)
id - id or null for nonepublic Datasource set(String fieldName, Object value)
set in class GenericJsonpublic Datasource clone()
clone in class GenericJson