class Google::Apis::ChatV1::DateTimeInput
Input Parameter for Date and Time Picker widget.
Attributes
has_date[RW]
Corresponds to the JSON property `hasDate` @return [Boolean]
has_date?[RW]
Corresponds to the JSON property `hasDate` @return [Boolean]
has_time[RW]
Corresponds to the JSON property `hasTime` @return [Boolean]
has_time?[RW]
Corresponds to the JSON property `hasTime` @return [Boolean]
ms_since_epoch[RW]
Corresponds to the JSON property `msSinceEpoch` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 567 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/chat_v1/classes.rb, line 572 def update!(**args) @has_date = args[:has_date] if args.key?(:has_date) @has_time = args[:has_time] if args.key?(:has_time) @ms_since_epoch = args[:ms_since_epoch] if args.key?(:ms_since_epoch) end