Class: Google::Apis::CalendarV3::FreeBusyResponse
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::FreeBusyResponse
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb
Instance Attribute Summary collapse
-
#calendars ⇒ Hash<String,Google::Apis::CalendarV3::FreeBusyCalendar>
List of free/busy information for calendars.
-
#groups ⇒ Hash<String,Google::Apis::CalendarV3::FreeBusyGroup>
Expansion of groups.
-
#kind ⇒ String
Type of the resource ("calendar#freeBusy").
-
#time_max ⇒ DateTime
The end of the interval.
-
#time_min ⇒ DateTime
The start of the interval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FreeBusyResponse
constructor
A new instance of FreeBusyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ FreeBusyResponse
Returns a new instance of FreeBusyResponse.
1618 1619 1620 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1618 def initialize(**args) update!(**args) end |
Instance Attribute Details
#calendars ⇒ Hash<String,Google::Apis::CalendarV3::FreeBusyCalendar>
List of free/busy information for calendars.
Corresponds to the JSON property calendars
1596 1597 1598 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1596 def calendars @calendars end |
#groups ⇒ Hash<String,Google::Apis::CalendarV3::FreeBusyGroup>
Expansion of groups.
Corresponds to the JSON property groups
1601 1602 1603 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1601 def groups @groups end |
#kind ⇒ String
Type of the resource ("calendar#freeBusy").
Corresponds to the JSON property kind
1606 1607 1608 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1606 def kind @kind end |
#time_max ⇒ DateTime
The end of the interval.
Corresponds to the JSON property timeMax
1611 1612 1613 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1611 def time_max @time_max end |
#time_min ⇒ DateTime
The start of the interval.
Corresponds to the JSON property timeMin
1616 1617 1618 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1616 def time_min @time_min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1623 1624 1625 1626 1627 1628 1629 |
# 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 |