Class: Google::Apis::CalendarV3::Event::Reminders

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

Information about the event's reminders for the authenticated user.

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) ⇒ Reminders

Returns a new instance of Reminders



1566
1567
1568
# File 'generated/google/apis/calendar_v3/classes.rb', line 1566

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#overridesArray<Google::Apis::CalendarV3::EventReminder>

If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. Corresponds to the JSON property overrides



1558
1559
1560
# File 'generated/google/apis/calendar_v3/classes.rb', line 1558

def overrides
  @overrides
end

#use_defaultBoolean Also known as: use_default?

Whether the default reminders of the calendar apply to the event. Corresponds to the JSON property useDefault

Returns:

  • (Boolean)


1563
1564
1565
# File 'generated/google/apis/calendar_v3/classes.rb', line 1563

def use_default
  @use_default
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1571
1572
1573
1574
# File 'generated/google/apis/calendar_v3/classes.rb', line 1571

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