Class: Aws::IoTSiteWise::Types::TimeInNanos

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotsitewise/types.rb

Overview

Contains a timestamp with optional nanosecond granularity.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#offset_in_nanosInteger

The nanosecond offset from ‘timeInSeconds`.

Returns:

  • (Integer)


8005
8006
8007
8008
8009
8010
# File 'lib/aws-sdk-iotsitewise/types.rb', line 8005

class TimeInNanos < Struct.new(
  :time_in_seconds,
  :offset_in_nanos)
  SENSITIVE = []
  include Aws::Structure
end

#time_in_secondsInteger

The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by ‘offsetInNanos`.

Returns:

  • (Integer)


8005
8006
8007
8008
8009
8010
# File 'lib/aws-sdk-iotsitewise/types.rb', line 8005

class TimeInNanos < Struct.new(
  :time_in_seconds,
  :offset_in_nanos)
  SENSITIVE = []
  include Aws::Structure
end