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.



558
559
560
# File 'lib/google/apis/chat_v1/classes.rb', line 558

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)


550
551
552
# File 'lib/google/apis/chat_v1/classes.rb', line 550

def calendar_id
  @calendar_id
end

#event_idString

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

Returns:

  • (String)


556
557
558
# File 'lib/google/apis/chat_v1/classes.rb', line 556

def event_id
  @event_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



563
564
565
566
# File 'lib/google/apis/chat_v1/classes.rb', line 563

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