Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime

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) ⇒ AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime

Returns a new instance of AppsDynamiteSharedCalendarEventAnnotationDataCalendarEventTime.



1150
1151
1152
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1150

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

Instance Attribute Details

#all_dayGoogle::Apis::CloudsearchV1::Date

Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The date must be a valid calendar date between the year 1 and 9999. Corresponds to the JSON property allDay



1143
1144
1145
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1143

def all_day
  @all_day
end

#timedString

Non all day event. Corresponds to the JSON property timed

Returns:

  • (String)


1148
1149
1150
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1148

def timed
  @timed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1155
1156
1157
1158
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1155

def update!(**args)
  @all_day = args[:all_day] if args.key?(:all_day)
  @timed = args[:timed] if args.key?(:timed)
end