Calendar API v3 (revision 41)



com.google.api.services.calendar.model
Class Settings

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.calendar.model.Settings
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class Settings
extends GenericJson

Model definition for Settings.

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-api-java-client/wiki/Json

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Settings()
           
 
Method Summary
 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").
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Settings

public Settings()
Method Detail

getEtag

public String getEtag()
Etag of the collection.

Returns:
value or null for none

setEtag

public Settings setEtag(String etag)
Etag of the collection.

Parameters:
etag - etag or null for none

getItems

public List<Setting> getItems()
List of user settings.

Returns:
value or null for none

setItems

public Settings setItems(List<Setting> items)
List of user settings.

Parameters:
items - items or null for none

getKind

public String getKind()
Type of the collection ("calendar#settings").

Returns:
value or null for none

setKind

public Settings setKind(String kind)
Type of the collection ("calendar#settings").

Parameters:
kind - kind or null for none

set

public Settings set(String fieldName,
                    Object value)
Overrides:
set in class GenericJson

clone

public Settings clone()
Overrides:
clone in class GenericJson