Class: Google::Apis::ChatV1::CalendarEventLinkData
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::CalendarEventLinkData
- 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
-
#calendar_id ⇒ String
The Calendar identifier of the linked Calendar.
-
#event_id ⇒ String
The Event identifier of the linked Calendar event.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CalendarEventLinkData
constructor
A new instance of CalendarEventLinkData.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
The Calendar identifier of the linked Calendar.
Corresponds to the JSON property calendarId
425 426 427 |
# File 'lib/google/apis/chat_v1/classes.rb', line 425 def calendar_id @calendar_id end |
#event_id ⇒ String
The Event identifier of the linked Calendar event.
Corresponds to the JSON property eventId
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 |