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.



847
848
849
# File 'lib/google/apis/chat_v1/classes.rb', line 847

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)


845
846
847
# File 'lib/google/apis/chat_v1/classes.rb', line 845

def ms_since_epoch
  @ms_since_epoch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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