Class: Google::Apis::CalendarV3::FreeBusyResponse
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::FreeBusyResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/calendar_v3/classes.rb,
lib/google/apis/calendar_v3/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ FreeBusyResponse
Returns a new instance of FreeBusyResponse.
2272 2273 2274 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2272 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
2250 2251 2252 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2250 def calendars @calendars end |
#groups ⇒ Hash<String,Google::Apis::CalendarV3::FreeBusyGroup>
Expansion of groups.
Corresponds to the JSON property groups
2255 2256 2257 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2255 def groups @groups end |
#kind ⇒ String
Type of the resource ("calendar#freeBusy").
Corresponds to the JSON property kind
2260 2261 2262 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2260 def kind @kind end |
#time_max ⇒ DateTime
The end of the interval.
Corresponds to the JSON property timeMax
2265 2266 2267 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2265 def time_max @time_max end |
#time_min ⇒ DateTime
The start of the interval.
Corresponds to the JSON property timeMin
2270 2271 2272 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2270 def time_min @time_min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2277 2278 2279 2280 2281 2282 2283 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2277 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 |