Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent

Returns a new instance of AppsDynamiteSharedCalendarEventAnnotationDataCalendarEvent.



1022
1023
1024
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1022

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

Instance Attribute Details

#end_timeGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime

The end time of the event. Corresponds to the JSON property endTime



1005
1006
1007
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1005

def end_time
  @end_time
end

#event_idString

ID of the event. Corresponds to the JSON property eventId

Returns:

  • (String)


1010
1011
1012
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1010

def event_id
  @event_id
end

#start_timeGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime

The start time of the event. Corresponds to the JSON property startTime



1015
1016
1017
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1015

def start_time
  @start_time
end

#titleString

Title of the event (at the time the message was generated). Corresponds to the JSON property title

Returns:

  • (String)


1020
1021
1022
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1020

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1027
1028
1029
1030
1031
1032
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1027

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