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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotsitewise/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)


8587
8588
8589
8590
8591
8592
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8587

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)


8587
8588
8589
8590
8591
8592
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8587

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