class Google::Apis::CalendarV3::FreeBusyResponse

Attributes

calendars[RW]

List of free/busy information for calendars. Corresponds to the JSON property `calendars` @return [Hash<String,Google::Apis::CalendarV3::FreeBusyCalendar>]

groups[RW]

Expansion of groups. Corresponds to the JSON property `groups` @return [Hash<String,Google::Apis::CalendarV3::FreeBusyGroup>]

kind[RW]

Type of the resource (“calendar#freeBusy”). Corresponds to the JSON property `kind` @return [String]

time_max[RW]

The end of the interval. Corresponds to the JSON property `timeMax` @return [DateTime]

time_min[RW]

The start of the interval. Corresponds to the JSON property `timeMin` @return [DateTime]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/calendar_v3/classes.rb, line 1618
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/calendar_v3/classes.rb, line 1623
def update!(**args)
  @calendars = args[:calendars] if args.key?(:calendars)
  @groups = args[:groups] if args.key?(:groups)
  @kind = args[:kind] if args.key?(:kind)
  @time_max = args[:time_max] if args.key?(:time_max)
  @time_min = args[:time_min] if args.key?(:time_min)
end