public final class FreeBusyCalendar
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 |
---|
FreeBusyCalendar() |
Modifier and Type | Method and Description |
---|---|
FreeBusyCalendar |
clone() |
java.util.List<TimePeriod> |
getBusy()
List of time ranges during which this calendar should be regarded as busy.
|
java.util.List<Error> |
getErrors()
Optional error(s) (if computation for the calendar failed).
|
FreeBusyCalendar |
set(java.lang.String fieldName,
java.lang.Object value) |
FreeBusyCalendar |
setBusy(java.util.List<TimePeriod> busy)
List of time ranges during which this calendar should be regarded as busy.
|
FreeBusyCalendar |
setErrors(java.util.List<Error> errors)
Optional error(s) (if computation for the calendar failed).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<TimePeriod> getBusy()
null
for nonepublic FreeBusyCalendar setBusy(java.util.List<TimePeriod> busy)
busy
- busy or null
for nonepublic java.util.List<Error> getErrors()
null
for nonepublic FreeBusyCalendar setErrors(java.util.List<Error> errors)
errors
- errors or null
for nonepublic FreeBusyCalendar set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public FreeBusyCalendar clone()
clone
in class com.google.api.client.json.GenericJson