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.



1175
1176
1177
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1175

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



1158
1159
1160
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1158

def end_time
  @end_time
end

#event_idString

ID of the event. Corresponds to the JSON property eventId

Returns:

  • (String)


1163
1164
1165
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1163

def event_id
  @event_id
end

#start_timeGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime

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



1168
1169
1170
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1168

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)


1173
1174
1175
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1173

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1180
1181
1182
1183
1184
1185
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1180

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