Class: Google::Apis::ChatV1::CalendarEventLinkData

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Data for Calendar event links.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CalendarEventLinkData

Returns a new instance of CalendarEventLinkData.



433
434
435
# File 'lib/google/apis/chat_v1/classes.rb', line 433

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

Instance Attribute Details

#calendar_idString

The Calendar identifier of the linked Calendar. Corresponds to the JSON property calendarId

Returns:

  • (String)


425
426
427
# File 'lib/google/apis/chat_v1/classes.rb', line 425

def calendar_id
  @calendar_id
end

#event_idString

The Event identifier of the linked Calendar event. Corresponds to the JSON property eventId

Returns:

  • (String)


431
432
433
# File 'lib/google/apis/chat_v1/classes.rb', line 431

def event_id
  @event_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



438
439
440
441
# File 'lib/google/apis/chat_v1/classes.rb', line 438

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