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

Date input values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DateInput

Returns a new instance of DateInput.



855
856
857
# File 'lib/google/apis/chat_v1/classes.rb', line 855

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

Instance Attribute Details

#ms_since_epochFixnum

Time since epoch time, in milliseconds. Corresponds to the JSON property msSinceEpoch

Returns:

  • (Fixnum)


853
854
855
# File 'lib/google/apis/chat_v1/classes.rb', line 853

def ms_since_epoch
  @ms_since_epoch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



860
861
862
# File 'lib/google/apis/chat_v1/classes.rb', line 860

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