Class: Google::Apis::CalendarV3::CalendarListEntry::NotificationSettings
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::CalendarListEntry::NotificationSettings
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb
Overview
The notifications that the authenticated user is receiving for this calendar.
Instance Attribute Summary collapse
-
#notifications ⇒ Array<Google::Apis::CalendarV3::CalendarNotification>
The list of notifications set for this calendar.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NotificationSettings
constructor
A new instance of NotificationSettings.
-
#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) ⇒ NotificationSettings
Returns a new instance of NotificationSettings
412 413 414 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 412 def initialize(**args) update!(**args) end |
Instance Attribute Details
#notifications ⇒ Array<Google::Apis::CalendarV3::CalendarNotification>
The list of notifications set for this calendar.
Corresponds to the JSON property notifications
410 411 412 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 410 def notifications @notifications end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
417 418 419 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 417 def update!(**args) @notifications = args[:notifications] if args.key?(:notifications) end |