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.



478
479
480
# File 'lib/google/apis/chat_v1/classes.rb', line 478

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)


470
471
472
# File 'lib/google/apis/chat_v1/classes.rb', line 470

def calendar_id
  @calendar_id
end

#event_idString

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

Returns:

  • (String)


476
477
478
# File 'lib/google/apis/chat_v1/classes.rb', line 476

def event_id
  @event_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



483
484
485
486
# File 'lib/google/apis/chat_v1/classes.rb', line 483

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