class Google::Apis::ChatV1::TimeInput

Input Parameter for Time Picker widget.

Attributes

hours[RW]

Corresponds to the JSON property `hours` @return [Fixnum]

minutes[RW]

Corresponds to the JSON property `minutes` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 2761
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 2766
def update!(**args)
  @hours = args[:hours] if args.key?(:hours)
  @minutes = args[:minutes] if args.key?(:minutes)
end