public class FreebusyCalendarInfo extends Object
Defines list of free/busy information for specified calendar.
Constructor and Description |
---|
FreebusyCalendarInfo()
Initializes a new instance of the FreebusyCalendarInfo class.
|
FreebusyCalendarInfo(String calendarId,
ErrorDetails[] errors)
Initializes a new instance of the FreebusyCalendarInfo class.
|
FreebusyCalendarInfo(String calendarId,
Iterable<ErrorDetails> errors,
Iterable<Range> busy)
Initializes a new instance of the FreebusyCalendarInfo class.
|
FreebusyCalendarInfo(String calendarId,
Range[] busy)
Initializes a new instance of the FreebusyCalendarInfo class.
|
Modifier and Type | Method and Description |
---|---|
List<Range> |
getBusy()
List of time ranges during which this calendar should be regarded as busy.
|
String |
getCalendarId()
Calendar Id
|
List<ErrorDetails> |
getErrors()
Optional error(s) (if computation for the calendar failed).
|
void |
setCalendarId(String value)
Calendar Id
|
public FreebusyCalendarInfo()
Initializes a new instance of the FreebusyCalendarInfo class.
public FreebusyCalendarInfo(String calendarId, ErrorDetails[] errors)
Initializes a new instance of the FreebusyCalendarInfo class.
calendarId
- Calendar Iderrors
- Optional error(s) (if computation for the calendar failed).public FreebusyCalendarInfo(String calendarId, Range[] busy)
Initializes a new instance of the FreebusyCalendarInfo class.
calendarId
- Calendar Idbusy
- List of time ranges during which this calendar should be regarded as busy.public FreebusyCalendarInfo(String calendarId, Iterable<ErrorDetails> errors, Iterable<Range> busy)
Initializes a new instance of the FreebusyCalendarInfo class.
calendarId
- Calendar Iderrors
- Optional error(s) (if computation for the calendar failed).busy
- List of time ranges during which this calendar should be regarded as busy.public final String getCalendarId()
Calendar Id
public final void setCalendarId(String value)
Calendar Id
public final List<ErrorDetails> getErrors()
Optional error(s) (if computation for the calendar failed).