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.



810
811
812
# File 'lib/google/apis/chat_v1/classes.rb', line 810

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)


808
809
810
# File 'lib/google/apis/chat_v1/classes.rb', line 808

def ms_since_epoch
  @ms_since_epoch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



815
816
817
# File 'lib/google/apis/chat_v1/classes.rb', line 815

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