public final class FreeBusyRequest
extends com.google.api.client.json.GenericJson
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
FreeBusyRequest() |
Modifier and Type | Method and Description |
---|---|
FreeBusyRequest |
clone() |
java.lang.Integer |
getCalendarExpansionMax()
Maximal number of calendars for which FreeBusy information is to be provided.
|
java.lang.Integer |
getGroupExpansionMax()
Maximal number of calendar identifiers to be provided for a single group.
|
java.util.List<FreeBusyRequestItem> |
getItems()
List of calendars and/or groups to query.
|
com.google.api.client.util.DateTime |
getTimeMax()
The end of the interval for the query.
|
com.google.api.client.util.DateTime |
getTimeMin()
The start of the interval for the query.
|
java.lang.String |
getTimeZone()
Time zone used in the response.
|
FreeBusyRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
FreeBusyRequest |
setCalendarExpansionMax(java.lang.Integer calendarExpansionMax)
Maximal number of calendars for which FreeBusy information is to be provided.
|
FreeBusyRequest |
setGroupExpansionMax(java.lang.Integer groupExpansionMax)
Maximal number of calendar identifiers to be provided for a single group.
|
FreeBusyRequest |
setItems(java.util.List<FreeBusyRequestItem> items)
List of calendars and/or groups to query.
|
FreeBusyRequest |
setTimeMax(com.google.api.client.util.DateTime timeMax)
The end of the interval for the query.
|
FreeBusyRequest |
setTimeMin(com.google.api.client.util.DateTime timeMin)
The start of the interval for the query.
|
FreeBusyRequest |
setTimeZone(java.lang.String timeZone)
Time zone used in the response.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Integer getCalendarExpansionMax()
null
for nonepublic FreeBusyRequest setCalendarExpansionMax(java.lang.Integer calendarExpansionMax)
calendarExpansionMax
- calendarExpansionMax or null
for nonepublic java.lang.Integer getGroupExpansionMax()
null
for nonepublic FreeBusyRequest setGroupExpansionMax(java.lang.Integer groupExpansionMax)
groupExpansionMax
- groupExpansionMax or null
for nonepublic java.util.List<FreeBusyRequestItem> getItems()
null
for nonepublic FreeBusyRequest setItems(java.util.List<FreeBusyRequestItem> items)
items
- items or null
for nonepublic com.google.api.client.util.DateTime getTimeMax()
null
for nonepublic FreeBusyRequest setTimeMax(com.google.api.client.util.DateTime timeMax)
timeMax
- timeMax or null
for nonepublic com.google.api.client.util.DateTime getTimeMin()
null
for nonepublic FreeBusyRequest setTimeMin(com.google.api.client.util.DateTime timeMin)
timeMin
- timeMin or null
for nonepublic java.lang.String getTimeZone()
null
for nonepublic FreeBusyRequest setTimeZone(java.lang.String timeZone)
timeZone
- timeZone or null
for nonepublic FreeBusyRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public FreeBusyRequest clone()
clone
in class com.google.api.client.json.GenericJson