public final class CalendarList
extends com.google.api.client.json.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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
CalendarList() |
Modifier and Type | Method and Description |
---|---|
CalendarList |
clone() |
java.lang.String |
getEtag()
ETag of the collection.
|
java.util.List<CalendarListEntry> |
getItems()
Calendars that are present on the user's calendar list.
|
java.lang.String |
getKind()
Type of the collection ("calendar#calendarList").
|
java.lang.String |
getNextPageToken()
Token used to access the next page of this result.
|
java.lang.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(java.lang.String fieldName,
java.lang.Object value) |
CalendarList |
setEtag(java.lang.String etag)
ETag of the collection.
|
CalendarList |
setItems(java.util.List<CalendarListEntry> items)
Calendars that are present on the user's calendar list.
|
CalendarList |
setKind(java.lang.String kind)
Type of the collection ("calendar#calendarList").
|
CalendarList |
setNextPageToken(java.lang.String nextPageToken)
Token used to access the next page of this result.
|
CalendarList |
setNextSyncToken(java.lang.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 java.lang.String getEtag()
null
for nonepublic CalendarList setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.util.List<CalendarListEntry> getItems()
null
for nonepublic CalendarList setItems(java.util.List<CalendarListEntry> items)
items
- items or null
for nonepublic java.lang.String getKind()
null
for nonepublic CalendarList setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getNextPageToken()
null
for nonepublic CalendarList setNextPageToken(java.lang.String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic java.lang.String getNextSyncToken()
null
for nonepublic CalendarList setNextSyncToken(java.lang.String nextSyncToken)
nextSyncToken
- nextSyncToken or null
for nonepublic CalendarList set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CalendarList clone()
clone
in class com.google.api.client.json.GenericJson