public class FreebusyQuery extends Object
Request free/busy information for a set of calendars.
Constructor and Description |
---|
FreebusyQuery()
Initializes a new instance of the FreebusyQuery class.
|
FreebusyQuery(Date timeMin,
Date timeMax,
Iterable<String> 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,
Integer groupExpansionMax,
Integer calendarExpansionMax,
Iterable<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.
|
FreebusyQuery(Date timeMin,
Date timeMax,
String timeZone,
Iterable<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.
|
Modifier and Type | Method and Description |
---|---|
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<String> |
getItems()
List of calendars and/or groups to query.
|
Date |
getTimeMax()
The end of the interval for the query.
|
Date |
getTimeMin()
The start of the interval for the query.
|
String |
getTimeZone()
Time zone used in the response.
|
void |
setCalendarExpansionMax(Integer value)
Maximal number of calendars for which FreeBusy information is to be provided.
|
void |
setGroupExpansionMax(Integer value)
Maximal number of calendar identifiers to be provided for a single group.
|
void |
setTimeMax(Date value)
The end of the interval for the query.
|
void |
setTimeMin(Date value)
The start of the interval for the query.
|
void |
setTimeZone(String value)
Time zone used in the response.
|
public FreebusyQuery()
Initializes a new instance of the FreebusyQuery class.
public FreebusyQuery(Date timeMin, Date timeMax, Iterable<String> items)
Initializes a new instance of the FreebusyQuery class.
timeMin
- The end of the interval for the query.timeMax
- The end of the interval for the query.items
- List of calendars and/or groups to query.
Contains identifiers of a calendar or a group.public FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Iterable<String> items)
Initializes a new instance of the FreebusyQuery class.
timeMin
- The end of the interval for the query.timeMax
- The end of the interval for the query.timeZone
- Time zone used in the response. Optional. The default is UTC.items
- List of calendars and/or groups to query.
Contains identifiers of a calendar or a group.public FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Integer groupExpansionMax, Integer calendarExpansionMax, Iterable<String> items)
Initializes a new instance of the FreebusyQuery class.
timeMin
- The end of the interval for the query.timeMax
- The end of the interval for the query.timeZone
- Time zone used in the response. Optional. The default is UTC.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.calendarExpansionMax
- Maximal number of calendars for which FreeBusy information is to be provided. Optional.items
- List of calendars and/or groups to query.
Contains identifiers of a calendar or a group.public FreebusyQuery(Date timeMin, Date timeMax, String... items)
Initializes a new instance of the FreebusyQuery class.
timeMin
- The end of the interval for the query.timeMax
- The end of the interval for the query.items
- List of calendars and/or groups to query.
Contains identifiers of a calendar or a group.public FreebusyQuery(Date timeMin, Date timeMax, String timeZone, String... items)
Initializes a new instance of the FreebusyQuery class.
timeMin
- The end of the interval for the query.timeMax
- The end of the interval for the query.timeZone
- Time zone used in the response. Optional. The default is UTC.items
- List of calendars and/or groups to query.
Contains identifiers of a calendar or a group.public FreebusyQuery(Date timeMin, Date timeMax, String timeZone, Integer groupExpansionMax, Integer calendarExpansionMax, String... items)
Initializes a new instance of the FreebusyQuery class.
timeMin
- The end of the interval for the query.timeMax
- The end of the interval for the query.timeZone
- Time zone used in the response. Optional. The default is UTC.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.calendarExpansionMax
- Maximal number of calendars for which FreeBusy information is to be provided. Optional.items
- List of calendars and/or groups to query.
Contains identifiers of a calendar or a group.public final Date getTimeMin()
The start of the interval for the query.
public final void setTimeMin(Date value)
The start of the interval for the query.
public final Date getTimeMax()
The end of the interval for the query.
public final void setTimeMax(Date value)
The end of the interval for the query.
public final String getTimeZone()
Time zone used in the response. Optional. The default is UTC.
public final void setTimeZone(String value)
Time zone used in the response. Optional. The default is UTC.
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.
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.
public final Integer getCalendarExpansionMax()
Maximal number of calendars for which FreeBusy information is to be provided. Optional.
public final void setCalendarExpansionMax(Integer value)
Maximal number of calendars for which FreeBusy information is to be provided. Optional.