CalendarWorkingHours class

Represents the information about the user's working hours.

Only available for primary calendars of Google Workspace users. To update the working hours, the entire working hours object must be passed. If not specified (or passed as null or an empty object), the existing working hours remain unchanged. To disable working hours or clear the schedule, set workingHoursEnabled to false (and omit availableTimes or pass an empty list).

Constructors

CalendarWorkingHours({List<CalendarWorkingHoursAvailableTimes>? availableTimes, bool? workingHoursEnabled})
CalendarWorkingHours.fromJson(Map json_)

Properties

availableTimes ↔ List<CalendarWorkingHoursAvailableTimes>?
Working hours.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
workingHoursEnabled ↔ bool?
Whether the working hours are enabled for this calendar.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited