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.



1264
1265
1266
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1264

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



1247
1248
1249
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1247

def end_time
  @end_time
end

#event_idString

ID of the event. Corresponds to the JSON property eventId

Returns:

  • (String)


1252
1253
1254
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1252

def event_id
  @event_id
end

#start_timeGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime

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



1257
1258
1259
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1257

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)


1262
1263
1264
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1262

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1269
1270
1271
1272
1273
1274
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1269

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