public final class Calendar
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Calendar() |
Modifier and Type | Method and Description |
---|---|
Calendar |
clone() |
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 |
set(java.lang.String fieldName,
java.lang.Object value) |
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getDescription()
null
for nonepublic Calendar setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getEtag()
null
for nonepublic Calendar setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getId()
null
for nonepublic Calendar setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Calendar setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getLocation()
null
for nonepublic Calendar setLocation(java.lang.String location)
location
- location or null
for nonepublic java.lang.String getSummary()
null
for nonepublic Calendar setSummary(java.lang.String summary)
summary
- summary or null
for nonepublic java.lang.String getTimeZone()
null
for nonepublic Calendar setTimeZone(java.lang.String timeZone)
timeZone
- timeZone or null
for nonepublic Calendar set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Calendar clone()
clone
in class com.google.api.client.json.GenericJson