Calendar API v3 (revision 41)



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

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.Setting
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class Setting
extends GenericJson

Model definition for Setting.

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
Setting()
           
 
Method Summary
 Setting clone()
           
 String getEtag()
          ETag of the resource.
 String getId()
          Name of the user setting.
 String getKind()
          Type of the resource ("calendar#setting").
 String getValue()
          Value of the user setting.
 Setting set(String fieldName, Object value)
           
 Setting setEtag(String etag)
          ETag of the resource.
 Setting setId(String id)
          Name of the user setting.
 Setting setKind(String kind)
          Type of the resource ("calendar#setting").
 Setting setValue(String value)
          Value of the user setting.
 
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

Setting

public Setting()
Method Detail

getEtag

public String getEtag()
ETag of the resource.

Returns:
value or null for none

setEtag

public Setting setEtag(String etag)
ETag of the resource.

Parameters:
etag - etag or null for none

getId

public String getId()
Name of the user setting.

Returns:
value or null for none

setId

public Setting setId(String id)
Name of the user setting.

Parameters:
id - id or null for none

getKind

public String getKind()
Type of the resource ("calendar#setting").

Returns:
value or null for none

setKind

public Setting setKind(String kind)
Type of the resource ("calendar#setting").

Parameters:
kind - kind or null for none

getValue

public String getValue()
Value of the user setting. The format of the value depends on the ID of the setting.

Returns:
value or null for none

setValue

public Setting setValue(String value)
Value of the user setting. The format of the value depends on the ID of the setting.

Parameters:
value - value or null for none

set

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

clone

public Setting clone()
Overrides:
clone in class GenericJson