Calendar API v3 (revision 30)
com.google.api.services.calendar.model
Class FreeBusyCalendar
java.lang.Object
java.util.AbstractMap<java.lang.String,java.lang.Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.calendar.model.FreeBusyCalendar
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
public final class FreeBusyCalendar
- extends GenericJson
Model definition for FreeBusyCalendar.
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-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
- Author:
- Google, Inc.
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Method Summary |
java.util.List<TimePeriod> |
getBusy()
List of time ranges during which this calendar should be regarded as busy. |
java.util.List<Error> |
getErrors()
Optional error(s) (if computation for the calendar failed). |
FreeBusyCalendar |
setBusy(java.util.List<TimePeriod> busy)
List of time ranges during which this calendar should be regarded as busy. |
FreeBusyCalendar |
setErrors(java.util.List<Error> errors)
Optional error(s) (if computation for the calendar failed). |
Methods inherited from class java.util.AbstractMap |
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
FreeBusyCalendar
public FreeBusyCalendar()
getBusy
public java.util.List<TimePeriod> getBusy()
- List of time ranges during which this calendar should be regarded as busy.
The value returned may be
null
.
setBusy
public FreeBusyCalendar setBusy(java.util.List<TimePeriod> busy)
- List of time ranges during which this calendar should be regarded as busy.
The value set may be
null
.
getErrors
public java.util.List<Error> getErrors()
- Optional error(s) (if computation for the calendar failed).
The value returned may be
null
.
setErrors
public FreeBusyCalendar setErrors(java.util.List<Error> errors)
- Optional error(s) (if computation for the calendar failed).
The value set may be
null
.