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

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
 FreeBusyRequest clone()
           
 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 set(String fieldName, Object value)
           
 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
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

FreeBusyRequest

public FreeBusyRequest()
Method Detail

getCalendarExpansionMax

public Integer getCalendarExpansionMax()
Maximal number of calendars for which FreeBusy information is to be provided. Optional.

Returns:
value or null for none

setCalendarExpansionMax

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

Parameters:
calendarExpansionMax - calendarExpansionMax or null for none

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.

Returns:
value or null for none

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.

Parameters:
groupExpansionMax - groupExpansionMax or null for none

getItems

public List<FreeBusyRequestItem> getItems()
List of calendars and/or groups to query.

Returns:
value or null for none

setItems

public FreeBusyRequest setItems(List<FreeBusyRequestItem> items)
List of calendars and/or groups to query.

Parameters:
items - items or null for none

getTimeMax

public DateTime getTimeMax()
The end of the interval for the query.

Returns:
value or null for none

setTimeMax

public FreeBusyRequest setTimeMax(DateTime timeMax)
The end of the interval for the query.

Parameters:
timeMax - timeMax or null for none

getTimeMin

public DateTime getTimeMin()
The start of the interval for the query.

Returns:
value or null for none

setTimeMin

public FreeBusyRequest setTimeMin(DateTime timeMin)
The start of the interval for the query.

Parameters:
timeMin - timeMin or null for none

getTimeZone

public String getTimeZone()
Time zone used in the response. Optional. The default is UTC.

Returns:
value or null for none

setTimeZone

public FreeBusyRequest setTimeZone(String timeZone)
Time zone used in the response. Optional. The default is UTC.

Parameters:
timeZone - timeZone or null for none

set

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

clone

public FreeBusyRequest clone()
Overrides:
clone in class GenericJson