Calendar API v3 (revision 41)



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

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.FreeBusyGroup
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class FreeBusyGroup
extends GenericJson

Model definition for FreeBusyGroup.

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
FreeBusyGroup()
           
 
Method Summary
 FreeBusyGroup clone()
           
 List<String> getCalendars()
          List of calendars' identifiers within a group.
 List<Error> getErrors()
          Optional error(s) (if computation for the group failed).
 FreeBusyGroup set(String fieldName, Object value)
           
 FreeBusyGroup setCalendars(List<String> calendars)
          List of calendars' identifiers within a group.
 FreeBusyGroup setErrors(List<Error> errors)
          Optional error(s) (if computation for the group 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

FreeBusyGroup

public FreeBusyGroup()
Method Detail

getCalendars

public List<String> getCalendars()
List of calendars' identifiers within a group.

Returns:
value or null for none

setCalendars

public FreeBusyGroup setCalendars(List<String> calendars)
List of calendars' identifiers within a group.

Parameters:
calendars - calendars or null for none

getErrors

public List<Error> getErrors()
Optional error(s) (if computation for the group failed).

Returns:
value or null for none

setErrors

public FreeBusyGroup setErrors(List<Error> errors)
Optional error(s) (if computation for the group failed).

Parameters:
errors - errors or null for none

set

public FreeBusyGroup set(String fieldName,
                         Object value)
Overrides:
set in class GenericJson

clone

public FreeBusyGroup clone()
Overrides:
clone in class GenericJson