Calendar API v3 (revision 41)



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

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

public final class FreeBusyRequest
extends GenericJson

Model definition for FreeBusyRequest.

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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
FreeBusyRequest()
           
 
Method Summary
 Integer getCalendarExpansionMax()
          Maximal number of calendars for which FreeBusy information is to be provided.
 Integer getGroupExpansionMax()
          Maximal number of calendar identifiers to be provided for a single group.
 List<FreeBusyRequestItem> getItems()
          List of calendars and/or groups to query.
 DateTime getTimeMax()
          The end of the interval for the query.
 DateTime getTimeMin()
          The start of the interval for the query.
 String getTimeZone()
          Time zone used in the response.
 FreeBusyRequest setCalendarExpansionMax(Integer calendarExpansionMax)
          Maximal number of calendars for which FreeBusy information is to be provided.
 FreeBusyRequest setGroupExpansionMax(Integer groupExpansionMax)
          Maximal number of calendar identifiers to be provided for a single group.
 FreeBusyRequest setItems(List<FreeBusyRequestItem> items)
          List of calendars and/or groups to query.
 FreeBusyRequest setTimeMax(DateTime timeMax)
          The end of the interval for the query.
 FreeBusyRequest setTimeMin(DateTime timeMin)
          The start of the interval for the query.
 FreeBusyRequest setTimeZone(String timeZone)
          Time zone used in the response.
 
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

FreeBusyRequest

public FreeBusyRequest()
Method Detail

getCalendarExpansionMax

public Integer getCalendarExpansionMax()
Maximal number of calendars for which FreeBusy information is to be provided. Optional. The value returned may be null.


setCalendarExpansionMax

public FreeBusyRequest setCalendarExpansionMax(Integer calendarExpansionMax)
Maximal number of calendars for which FreeBusy information is to be provided. Optional. The value set may be null.


getGroupExpansionMax

public Integer getGroupExpansionMax()
Maximal number of calendar identifiers to be provided for a single group. Optional. An error will be returned for a group with more members than this value. The value returned may be null.


setGroupExpansionMax

public FreeBusyRequest setGroupExpansionMax(Integer groupExpansionMax)
Maximal number of calendar identifiers to be provided for a single group. Optional. An error will be returned for a group with more members than this value. The value set may be null.


getItems

public List<FreeBusyRequestItem> getItems()
List of calendars and/or groups to query. The value returned may be null.


setItems

public FreeBusyRequest setItems(List<FreeBusyRequestItem> items)
List of calendars and/or groups to query. The value set may be null.


getTimeMax

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


setTimeMax

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


getTimeMin

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


setTimeMin

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


getTimeZone

public String getTimeZone()
Time zone used in the response. Optional. The default is UTC. The value returned may be null.


setTimeZone

public FreeBusyRequest setTimeZone(String timeZone)
Time zone used in the response. Optional. The default is UTC. The value set may be null.