public final class Settings 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 Calendar API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Settings() |
Modifier and Type | Method and Description |
---|---|
Settings |
clone() |
String |
getEtag()
Etag of the collection.
|
List<Setting> |
getItems()
List of user settings.
|
String |
getKind()
Type of the collection ("calendar#settings").
|
Settings |
set(String fieldName,
Object value) |
Settings |
setEtag(String etag)
Etag of the collection.
|
Settings |
setItems(List<Setting> items)
List of user settings.
|
Settings |
setKind(String kind)
Type of the collection ("calendar#settings").
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getEtag()
null
for nonepublic Settings setEtag(String etag)
etag
- etag or null
for nonepublic Settings setItems(List<Setting> items)
items
- items or null
for nonepublic String getKind()
null
for nonepublic Settings setKind(String kind)
kind
- kind or null
for nonepublic Settings set(String fieldName, Object value)
set
in class GenericJson
public Settings clone()
clone
in class GenericJson