Class: Google::Apis::CalendarV3::Event::ExtendedProperties

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

Extended properties of the event.

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

Returns a new instance of ExtendedProperties



1429
1430
1431
# File 'generated/google/apis/calendar_v3/classes.rb', line 1429

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

Instance Attribute Details

#privateHash<String,String>

Properties that are private to the copy of the event that appears on this calendar. Corresponds to the JSON property private

Returns:

  • (Hash<String,String>)


1421
1422
1423
# File 'generated/google/apis/calendar_v3/classes.rb', line 1421

def private
  @private
end

#sharedHash<String,String>

Properties that are shared between copies of the event on other attendees' calendars. Corresponds to the JSON property shared

Returns:

  • (Hash<String,String>)


1427
1428
1429
# File 'generated/google/apis/calendar_v3/classes.rb', line 1427

def shared
  @shared
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1434
1435
1436
1437
# File 'generated/google/apis/calendar_v3/classes.rb', line 1434

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