com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class FreebusyQuery



  • public class FreebusyQuery
    extends Object

    Request free/busy information for a set of calendars.

    • Constructor Detail

      • FreebusyQuery

        public FreebusyQuery()

        Initializes a new instance of the FreebusyQuery class.

      • FreebusyQuery

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

        Initializes a new instance of the FreebusyQuery class.

        Parameters:
        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.
      • FreebusyQuery

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

        Initializes a new instance of the FreebusyQuery class.

        Parameters:
        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.
      • FreebusyQuery

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

        Initializes a new instance of the FreebusyQuery class.

        Parameters:
        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.
      • FreebusyQuery

        public FreebusyQuery(Date timeMin,
                     Date timeMax,
                     String... items)

        Initializes a new instance of the FreebusyQuery class.

        Parameters:
        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.
      • FreebusyQuery

        public FreebusyQuery(Date timeMin,
                     Date timeMax,
                     String timeZone,
                     String... items)

        Initializes a new instance of the FreebusyQuery class.

        Parameters:
        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.
      • FreebusyQuery

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

        Initializes a new instance of the FreebusyQuery class.

        Parameters:
        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.
    • Method Detail

      • getTimeMin

        public final Date getTimeMin()

        The start of the interval for the query.

      • setTimeMin

        public final void setTimeMin(Date value)

        The start of the interval for the query.

      • getTimeMax

        public final Date getTimeMax()

        The end of the interval for the query.

      • setTimeMax

        public final void setTimeMax(Date value)

        The end of the interval for the query.

      • getTimeZone

        public final String getTimeZone()

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

      • setTimeZone

        public final void setTimeZone(String value)

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

      • 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.

      • setGroupExpansionMax

        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.

      • getCalendarExpansionMax

        public final Integer getCalendarExpansionMax()

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

      • setCalendarExpansionMax

        public final void setCalendarExpansionMax(Integer value)

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

      • getItems

        public final List<String> getItems()

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