Calendar API v3 (revision 41)



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

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

public final class Calendar
extends GenericJson

Model definition for Calendar.

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
Calendar()
           
 
Method Summary
 Calendar clone()
           
 String getDescription()
          Description of the calendar.
 String getEtag()
          ETag of the resource.
 String getId()
          Identifier of the calendar.
 String getKind()
          Type of the resource ("calendar#calendar").
 String getLocation()
          Geographic location of the calendar as free-form text.
 String getSummary()
          Title of the calendar.
 String getTimeZone()
          The time zone of the calendar.
 Calendar set(String fieldName, Object value)
           
 Calendar setDescription(String description)
          Description of the calendar.
 Calendar setEtag(String etag)
          ETag of the resource.
 Calendar setId(String id)
          Identifier of the calendar.
 Calendar setKind(String kind)
          Type of the resource ("calendar#calendar").
 Calendar setLocation(String location)
          Geographic location of the calendar as free-form text.
 Calendar setSummary(String summary)
          Title of the calendar.
 Calendar setTimeZone(String timeZone)
          The time zone of the calendar.
 
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

Calendar

public Calendar()
Method Detail

getDescription

public String getDescription()
Description of the calendar. Optional.

Returns:
value or null for none

setDescription

public Calendar setDescription(String description)
Description of the calendar. Optional.

Parameters:
description - description or null for none

getEtag

public String getEtag()
ETag of the resource.

Returns:
value or null for none

setEtag

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

Parameters:
etag - etag or null for none

getId

public String getId()
Identifier of the calendar.

Returns:
value or null for none

setId

public Calendar setId(String id)
Identifier of the calendar.

Parameters:
id - id or null for none

getKind

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

Returns:
value or null for none

setKind

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

Parameters:
kind - kind or null for none

getLocation

public String getLocation()
Geographic location of the calendar as free-form text. Optional.

Returns:
value or null for none

setLocation

public Calendar setLocation(String location)
Geographic location of the calendar as free-form text. Optional.

Parameters:
location - location or null for none

getSummary

public String getSummary()
Title of the calendar.

Returns:
value or null for none

setSummary

public Calendar setSummary(String summary)
Title of the calendar.

Parameters:
summary - summary or null for none

getTimeZone

public String getTimeZone()
The time zone of the calendar. Optional.

Returns:
value or null for none

setTimeZone

public Calendar setTimeZone(String timeZone)
The time zone of the calendar. Optional.

Parameters:
timeZone - timeZone or null for none

set

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

clone

public Calendar clone()
Overrides:
clone in class GenericJson