Class: Google::Apis::CalendarV3::CalendarListEntry::NotificationSettings

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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

#notificationsArray<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