FreebusyQuery

Inheritance: java.lang.Object

public class FreebusyQuery

Request free/busy information for a set of calendars.

Constructors

Constructor Description
FreebusyQuery() Initializes a new instance of the FreebusyQuery class.
FreebusyQuery(Date timeMin, Date timeMax, Iterable items) Initializes a new instance of the FreebusyQuery class.
FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Iterable items) Initializes a new instance of the FreebusyQuery class.
FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Integer groupExpansionMax, Integer calendarExpansionMax, Iterable items) Initializes a new instance of the FreebusyQuery class.
FreebusyQuery(Date timeMin, Date timeMax, String[] items) Initializes a new instance of the FreebusyQuery class.
FreebusyQuery(Date timeMin, Date timeMax, String timeZone, String[] items) Initializes a new instance of the FreebusyQuery class.
FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Integer groupExpansionMax, Integer calendarExpansionMax, String[] items) Initializes a new instance of the FreebusyQuery class.

Methods

Method Description
getTimeMin() The start of the interval for the query.
setTimeMin(Date value) The start of the interval for the query.
getTimeMax() The end of the interval for the query.
setTimeMax(Date value) The end of the interval for the query.
getTimeZone() Time zone used in the response.
setTimeZone(String value) Time zone used in the response.
getGroupExpansionMax() Maximal number of calendar identifiers to be provided for a single group.
setGroupExpansionMax(Integer value) Maximal number of calendar identifiers to be provided for a single group.
getCalendarExpansionMax() Maximal number of calendars for which FreeBusy information is to be provided.
setCalendarExpansionMax(Integer value) Maximal number of calendars for which FreeBusy information is to be provided.
getItems() List of calendars and/or groups to query.

FreebusyQuery()

public FreebusyQuery()

Initializes a new instance of the FreebusyQuery class.

FreebusyQuery(Date timeMin, Date timeMax, Iterable items)

public FreebusyQuery(Date timeMin, Date timeMax, Iterable<String> items)

Initializes a new instance of the FreebusyQuery class.

Parameters:

Parameter Type Description
timeMin java.util.Date The end of the interval for the query.
timeMax java.util.Date The end of the interval for the query.
items java.lang.Iterable<java.lang.String> List of calendars and/or groups to query. Contains identifiers of a calendar or a group.

FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Iterable items)

public FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Iterable<String> items)

Initializes a new instance of the FreebusyQuery class.

Parameters:

Parameter Type Description
timeMin java.util.Date The end of the interval for the query.
timeMax java.util.Date The end of the interval for the query.
timeZone java.lang.String Time zone used in the response. Optional. The default is UTC.
items java.lang.Iterable<java.lang.String> List of calendars and/or groups to query. Contains identifiers of a calendar or a group.

FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Integer groupExpansionMax, Integer calendarExpansionMax, Iterable items)

public FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Integer groupExpansionMax, Integer calendarExpansionMax, Iterable<String> items)

Initializes a new instance of the FreebusyQuery class.

Parameters:

Parameter Type Description
timeMin java.util.Date The end of the interval for the query.
timeMax java.util.Date The end of the interval for the query.
timeZone java.lang.String Time zone used in the response. Optional. The default is UTC.
groupExpansionMax java.lang.Integer 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.
calendarExpansionMax java.lang.Integer Maximal number of calendars for which FreeBusy information is to be provided. Optional.
items java.lang.Iterable<java.lang.String> List of calendars and/or groups to query. Contains identifiers of a calendar or a group.

FreebusyQuery(Date timeMin, Date timeMax, String[] items)

public FreebusyQuery(Date timeMin, Date timeMax, String[] items)

Initializes a new instance of the FreebusyQuery class.

Parameters:

Parameter Type Description
timeMin java.util.Date The end of the interval for the query.
timeMax java.util.Date The end of the interval for the query.
items java.lang.String[] List of calendars and/or groups to query. Contains identifiers of a calendar or a group.

FreebusyQuery(Date timeMin, Date timeMax, String timeZone, String[] items)

public FreebusyQuery(Date timeMin, Date timeMax, String timeZone, String[] items)

Initializes a new instance of the FreebusyQuery class.

Parameters:

Parameter Type Description
timeMin java.util.Date The end of the interval for the query.
timeMax java.util.Date The end of the interval for the query.
timeZone java.lang.String Time zone used in the response. Optional. The default is UTC.
items java.lang.String[] List of calendars and/or groups to query. Contains identifiers of a calendar or a group.

FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Integer groupExpansionMax, Integer calendarExpansionMax, String[] items)

public FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Integer groupExpansionMax, Integer calendarExpansionMax, String[] items)

Initializes a new instance of the FreebusyQuery class.

Parameters:

Parameter Type Description
timeMin java.util.Date The end of the interval for the query.
timeMax java.util.Date The end of the interval for the query.
timeZone java.lang.String Time zone used in the response. Optional. The default is UTC.
groupExpansionMax java.lang.Integer 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.
calendarExpansionMax java.lang.Integer Maximal number of calendars for which FreeBusy information is to be provided. Optional.
items java.lang.String[] List of calendars and/or groups to query. Contains identifiers of a calendar or a group.

getTimeMin()

public final Date getTimeMin()

The start of the interval for the query.

Returns: java.util.Date

setTimeMin(Date value)

public final void setTimeMin(Date value)

The start of the interval for the query.

Parameters:

Parameter Type Description
value java.util.Date

getTimeMax()

public final Date getTimeMax()

The end of the interval for the query.

Returns: java.util.Date

setTimeMax(Date value)

public final void setTimeMax(Date value)

The end of the interval for the query.

Parameters:

Parameter Type Description
value java.util.Date

getTimeZone()

public final String getTimeZone()

Time zone used in the response. Optional. The default is UTC.

Returns: java.lang.String

setTimeZone(String value)

public final void setTimeZone(String value)

Time zone used in the response. Optional. The default is UTC.

Parameters:

Parameter Type Description
value java.lang.String

getGroupExpansionMax()

public final 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: java.lang.Integer

setGroupExpansionMax(Integer value)

public final void setGroupExpansionMax(Integer value)

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:

Parameter Type Description
value java.lang.Integer

getCalendarExpansionMax()

public final Integer getCalendarExpansionMax()

Maximal number of calendars for which FreeBusy information is to be provided. Optional.

Returns: java.lang.Integer

setCalendarExpansionMax(Integer value)

public final void setCalendarExpansionMax(Integer value)

Maximal number of calendars for which FreeBusy information is to be provided. Optional.

Parameters:

Parameter Type Description
value java.lang.Integer

getItems()

public final List<String> getItems()

List of calendars and/or groups to query. Contains identifiers of a calendar or a group.

Returns: java.util.List<java.lang.String>