public final class Calendar 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 |
---|
Calendar() |
Modifier and Type | Method and Description |
---|---|
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getDescription()
null
for nonepublic Calendar setDescription(String description)
description
- description or null
for nonepublic String getEtag()
null
for nonepublic Calendar setEtag(String etag)
etag
- etag or null
for nonepublic String getId()
null
for nonepublic Calendar setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Calendar setKind(String kind)
kind
- kind or null
for nonepublic String getLocation()
null
for nonepublic Calendar setLocation(String location)
location
- location or null
for nonepublic String getSummary()
null
for nonepublic Calendar setSummary(String summary)
summary
- summary or null
for nonepublic String getTimeZone()
null
for nonepublic Calendar setTimeZone(String timeZone)
timeZone
- timeZone or null
for nonepublic Calendar set(String fieldName, Object value)
set
in class GenericJson
public Calendar clone()
clone
in class GenericJson