Class: Aws::IoT::Types::AssetPropertyTimestamp

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass AssetPropertyTimestamp data as a hash:

{
  time_in_seconds: "AssetPropertyTimeInSeconds", # required
  offset_in_nanos: "AssetPropertyOffsetInNanos",
}

An asset property timestamp entry containing the following information.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#offset_in_nanosString

Optional. A string that contains the nanosecond time offset. Accepts substitution templates.

Returns:

  • (String)


574
575
576
577
578
579
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 574

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

#time_in_secondsString

A string that contains the time in seconds since epoch. Accepts substitution templates.

Returns:

  • (String)


574
575
576
577
578
579
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 574

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