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.



1119
1120
1121
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1119

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



1102
1103
1104
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1102

def end_time
  @end_time
end

#event_idString

ID of the event. Corresponds to the JSON property eventId

Returns:

  • (String)


1107
1108
1109
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1107

def event_id
  @event_id
end

#start_timeGoogle::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime

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



1112
1113
1114
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1112

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)


1117
1118
1119
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1117

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1124
1125
1126
1127
1128
1129
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1124

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