Calendar API v3 (revision 41)



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

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

public final class CalendarList
extends GenericJson

Model definition for CalendarList.

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
CalendarList()
           
 
Method Summary
 CalendarList clone()
           
 String getEtag()
          ETag of the collection.
 List<CalendarListEntry> getItems()
          Calendars that are present on the user's calendar list.
 String getKind()
          Type of the collection ("calendar#calendarList").
 String getNextPageToken()
          Token used to access the next page of this result.
 CalendarList set(String fieldName, Object value)
           
 CalendarList setEtag(String etag)
          ETag of the collection.
 CalendarList setItems(List<CalendarListEntry> items)
          Calendars that are present on the user's calendar list.
 CalendarList setKind(String kind)
          Type of the collection ("calendar#calendarList").
 CalendarList setNextPageToken(String nextPageToken)
          Token used to access the next page of this result.
 
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

CalendarList

public CalendarList()
Method Detail

getEtag

public String getEtag()
ETag of the collection.

Returns:
value or null for none

setEtag

public CalendarList setEtag(String etag)
ETag of the collection.

Parameters:
etag - etag or null for none

getItems

public List<CalendarListEntry> getItems()
Calendars that are present on the user's calendar list.

Returns:
value or null for none

setItems

public CalendarList setItems(List<CalendarListEntry> items)
Calendars that are present on the user's calendar list.

Parameters:
items - items or null for none

getKind

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

Returns:
value or null for none

setKind

public CalendarList setKind(String kind)
Type of the collection ("calendar#calendarList").

Parameters:
kind - kind or null for none

getNextPageToken

public String getNextPageToken()
Token used to access the next page of this result.

Returns:
value or null for none

setNextPageToken

public CalendarList setNextPageToken(String nextPageToken)
Token used to access the next page of this result.

Parameters:
nextPageToken - nextPageToken or null for none

set

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

clone

public CalendarList clone()
Overrides:
clone in class GenericJson