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: https://developers.google.com/api-client-library/java/google-http-java-client/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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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
Copyright © 2011–2022 Google. All rights reserved.