public final class FreeBusyResponse 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 |
---|
FreeBusyResponse() |
Modifier and Type | Method and Description |
---|---|
FreeBusyResponse |
clone() |
Map<String,FreeBusyCalendar> |
getCalendars()
List of free/busy information for calendars.
|
Map<String,FreeBusyGroup> |
getGroups()
Expansion of groups.
|
String |
getKind()
Type of the resource ("calendar#freeBusy").
|
DateTime |
getTimeMax()
The end of the interval.
|
DateTime |
getTimeMin()
The start of the interval.
|
FreeBusyResponse |
set(String fieldName,
Object value) |
FreeBusyResponse |
setCalendars(Map<String,FreeBusyCalendar> calendars)
List of free/busy information for calendars.
|
FreeBusyResponse |
setGroups(Map<String,FreeBusyGroup> groups)
Expansion of groups.
|
FreeBusyResponse |
setKind(String kind)
Type of the resource ("calendar#freeBusy").
|
FreeBusyResponse |
setTimeMax(DateTime timeMax)
The end of the interval.
|
FreeBusyResponse |
setTimeMin(DateTime timeMin)
The start of the interval.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Map<String,FreeBusyCalendar> getCalendars()
null
for nonepublic FreeBusyResponse setCalendars(Map<String,FreeBusyCalendar> calendars)
calendars
- calendars or null
for nonepublic Map<String,FreeBusyGroup> getGroups()
null
for nonepublic FreeBusyResponse setGroups(Map<String,FreeBusyGroup> groups)
groups
- groups or null
for nonepublic String getKind()
null
for nonepublic FreeBusyResponse setKind(String kind)
kind
- kind or null
for nonepublic DateTime getTimeMax()
null
for nonepublic FreeBusyResponse setTimeMax(DateTime timeMax)
timeMax
- timeMax or null
for nonepublic DateTime getTimeMin()
null
for nonepublic FreeBusyResponse setTimeMin(DateTime timeMin)
timeMin
- timeMin or null
for nonepublic FreeBusyResponse set(String fieldName, Object value)
set
in class GenericJson
public FreeBusyResponse clone()
clone
in class GenericJson