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



426
427
428
# File 'generated/google/apis/calendar_v3/classes.rb', line 426

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



424
425
426
# File 'generated/google/apis/calendar_v3/classes.rb', line 424

def notifications
  @notifications
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



431
432
433
# File 'generated/google/apis/calendar_v3/classes.rb', line 431

def update!(**args)
  @notifications = args[:notifications] if args.key?(:notifications)
end