Calendar API v3 (revision 30)



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

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.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:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.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

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

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
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>
 
Constructor Summary
FreeBusyResponse()
           
 
Method Summary
 java.util.Map<java.lang.String,FreeBusyCalendar> getCalendars()
          List of free/busy information for calendars.
 java.util.Map<java.lang.String,FreeBusyGroup> getGroups()
          Expansion of groups.
 java.lang.String getKind()
          Type of the resource ("calendar#freeBusy").
 DateTime getTimeMax()
          The end of the interval.
 DateTime getTimeMin()
          The start of the interval.
 FreeBusyResponse setCalendars(java.util.Map<java.lang.String,FreeBusyCalendar> calendars)
          List of free/busy information for calendars.
 FreeBusyResponse setGroups(java.util.Map<java.lang.String,FreeBusyGroup> groups)
          Expansion of groups.
 FreeBusyResponse setKind(java.lang.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
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, 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 java.util.Map<java.lang.String,FreeBusyCalendar> getCalendars()
List of free/busy information for calendars. The value returned may be null.


setCalendars

public FreeBusyResponse setCalendars(java.util.Map<java.lang.String,FreeBusyCalendar> calendars)
List of free/busy information for calendars. The value set may be null.


getGroups

public java.util.Map<java.lang.String,FreeBusyGroup> getGroups()
Expansion of groups. The value returned may be null.


setGroups

public FreeBusyResponse setGroups(java.util.Map<java.lang.String,FreeBusyGroup> groups)
Expansion of groups. The value set may be null.


getKind

public java.lang.String getKind()
Type of the resource ("calendar#freeBusy"). The value returned may be null.


setKind

public FreeBusyResponse setKind(java.lang.String kind)
Type of the resource ("calendar#freeBusy"). The value set may be null.


getTimeMax

public DateTime getTimeMax()
The end of the interval. The value returned may be null.


setTimeMax

public FreeBusyResponse setTimeMax(DateTime timeMax)
The end of the interval. The value set may be null.


getTimeMin

public DateTime getTimeMin()
The start of the interval. The value returned may be null.


setTimeMin

public FreeBusyResponse setTimeMin(DateTime timeMin)
The start of the interval. The value set may be null.