Calendar API v3 (revision 30)



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

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.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:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.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

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

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
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
Calendar()
           
 
Method Summary
 java.lang.String getDescription()
          Description of the calendar.
 java.lang.String getEtag()
          ETag of the resource.
 java.lang.String getId()
          Identifier of the calendar.
 java.lang.String getKind()
          Type of the resource ("calendar#calendar").
 java.lang.String getLocation()
          Geographic location of the calendar as free-form text.
 java.lang.String getSummary()
          Title of the calendar.
 java.lang.String getTimeZone()
          The time zone of the calendar.
 Calendar setDescription(java.lang.String description)
          Description of the calendar.
 Calendar setEtag(java.lang.String etag)
          ETag of the resource.
 Calendar setId(java.lang.String id)
          Identifier of the calendar.
 Calendar setKind(java.lang.String kind)
          Type of the resource ("calendar#calendar").
 Calendar setLocation(java.lang.String location)
          Geographic location of the calendar as free-form text.
 Calendar setSummary(java.lang.String summary)
          Title of the calendar.
 Calendar setTimeZone(java.lang.String timeZone)
          The time zone of the calendar.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, 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 java.lang.String getDescription()
Description of the calendar. Optional. The value returned may be null.


setDescription

public Calendar setDescription(java.lang.String description)
Description of the calendar. Optional. The value set may be null.


getEtag

public java.lang.String getEtag()
ETag of the resource. The value returned may be null.


setEtag

public Calendar setEtag(java.lang.String etag)
ETag of the resource. The value set may be null.


getId

public java.lang.String getId()
Identifier of the calendar. The value returned may be null.


setId

public Calendar setId(java.lang.String id)
Identifier of the calendar. The value set may be null.


getKind

public java.lang.String getKind()
Type of the resource ("calendar#calendar"). The value returned may be null.


setKind

public Calendar setKind(java.lang.String kind)
Type of the resource ("calendar#calendar"). The value set may be null.


getLocation

public java.lang.String getLocation()
Geographic location of the calendar as free-form text. Optional. The value returned may be null.


setLocation

public Calendar setLocation(java.lang.String location)
Geographic location of the calendar as free-form text. Optional. The value set may be null.


getSummary

public java.lang.String getSummary()
Title of the calendar. The value returned may be null.


setSummary

public Calendar setSummary(java.lang.String summary)
Title of the calendar. The value set may be null.


getTimeZone

public java.lang.String getTimeZone()
The time zone of the calendar. Optional. The value returned may be null.


setTimeZone

public Calendar setTimeZone(java.lang.String timeZone)
The time zone of the calendar. Optional. The value set may be null.