public final class CalendarList extends GenericJson
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-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CalendarList() |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getNextSyncToken()
Token used at a later point in time to retrieve only the entries that have changed since this
result was returned.
|
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.
|
CalendarList |
setNextSyncToken(String nextSyncToken)
Token used at a later point in time to retrieve only the entries that have changed since this
result was returned.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getEtag()
null
for nonepublic CalendarList setEtag(String etag)
etag
- etag or null
for nonepublic List<CalendarListEntry> getItems()
null
for nonepublic CalendarList setItems(List<CalendarListEntry> items)
items
- items or null
for nonepublic String getKind()
null
for nonepublic CalendarList setKind(String kind)
kind
- kind or null
for nonepublic String getNextPageToken()
null
for nonepublic CalendarList setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic String getNextSyncToken()
null
for nonepublic CalendarList setNextSyncToken(String nextSyncToken)
nextSyncToken
- nextSyncToken or null
for nonepublic CalendarList set(String fieldName, Object value)
set
in class GenericJson
public CalendarList clone()
clone
in class GenericJson