Calendar API v3 (revision 41)



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

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

public final class FreeBusyResponse
extends GenericJson

Model definition for FreeBusyResponse.

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
FreeBusyResponse()
           
 
Method Summary
 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.
 
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

FreeBusyResponse

public FreeBusyResponse()
Method Detail

getCalendars

public Map<String,FreeBusyCalendar> getCalendars()
List of free/busy information for calendars.

Returns:
value or null for none

setCalendars

public FreeBusyResponse setCalendars(Map<String,FreeBusyCalendar> calendars)
List of free/busy information for calendars.

Parameters:
calendars - calendars or null for none

getGroups

public Map<String,FreeBusyGroup> getGroups()
Expansion of groups.

Returns:
value or null for none

setGroups

public FreeBusyResponse setGroups(Map<String,FreeBusyGroup> groups)
Expansion of groups.

Parameters:
groups - groups or null for none

getKind

public String getKind()
Type of the resource ("calendar#freeBusy").

Returns:
value or null for none

setKind

public FreeBusyResponse setKind(String kind)
Type of the resource ("calendar#freeBusy").

Parameters:
kind - kind or null for none

getTimeMax

public DateTime getTimeMax()
The end of the interval.

Returns:
value or null for none

setTimeMax

public FreeBusyResponse setTimeMax(DateTime timeMax)
The end of the interval.

Parameters:
timeMax - timeMax or null for none

getTimeMin

public DateTime getTimeMin()
The start of the interval.

Returns:
value or null for none

setTimeMin

public FreeBusyResponse setTimeMin(DateTime timeMin)
The start of the interval.

Parameters:
timeMin - timeMin or null for none

set

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

clone

public FreeBusyResponse clone()
Overrides:
clone in class GenericJson