Calendar API v3 (revision 41)



com.google.api.services.calendar.model
Class FreeBusyCalendar

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
FreeBusyCalendar()
           
 
Method Summary
 FreeBusyCalendar clone()
           
 List<TimePeriod> getBusy()
          List of time ranges during which this calendar should be regarded as busy.
 List<Error> getErrors()
          Optional error(s) (if computation for the calendar failed).
 FreeBusyCalendar set(String fieldName, Object value)
           
 FreeBusyCalendar setBusy(List<TimePeriod> busy)
          List of time ranges during which this calendar should be regarded as busy.
 FreeBusyCalendar setErrors(List<Error> errors)
          Optional error(s) (if computation for the calendar failed).
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
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
 

Constructor Detail

FreeBusyCalendar

public FreeBusyCalendar()
Method Detail

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