Calendar API v3 (revision 41)
com.google.api.services.calendar.model
Class FreeBusyCalendar
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.calendar.model.FreeBusyCalendar
- All Implemented Interfaces:
- Cloneable, Map<String,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
- Author:
- Google, Inc.
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
FreeBusyCalendar
public FreeBusyCalendar()
getBusy
public List<TimePeriod> getBusy()
- List of time ranges during which this calendar should be regarded as busy.
- Returns:
- value or
null for none
setBusy
public FreeBusyCalendar setBusy(List<TimePeriod> busy)
- List of time ranges during which this calendar should be regarded as busy.
- Parameters:
busy - busy or null for none
getErrors
public List<Error> getErrors()
- Optional error(s) (if computation for the calendar failed).
- Returns:
- value or
null for none
setErrors
public FreeBusyCalendar setErrors(List<Error> errors)
- Optional error(s) (if computation for the calendar failed).
- Parameters:
errors - errors or null for none
set
public FreeBusyCalendar set(String fieldName,
Object value)
- Overrides:
set in class GenericJson
clone
public FreeBusyCalendar clone()
- Overrides:
clone in class GenericJson