Class: Google::Apis::ChatV1::DateInput

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Input Parameter for Date Picker widget.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DateInput

Returns a new instance of DateInput.



536
537
538
# File 'lib/google/apis/chat_v1/classes.rb', line 536

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

Instance Attribute Details

#ms_since_epochFixnum

Corresponds to the JSON property msSinceEpoch

Returns:

  • (Fixnum)


534
535
536
# File 'lib/google/apis/chat_v1/classes.rb', line 534

def ms_since_epoch
  @ms_since_epoch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



541
542
543
# File 'lib/google/apis/chat_v1/classes.rb', line 541

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