Class: Aws::IoT::Types::AssetPropertyValue

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 AssetPropertyValue data as a hash:

{
  value: { # required
    string_value: "AssetPropertyStringValue",
    integer_value: "AssetPropertyIntegerValue",
    double_value: "AssetPropertyDoubleValue",
    boolean_value: "AssetPropertyBooleanValue",
  },
  timestamp: { # required
    time_in_seconds: "AssetPropertyTimeInSeconds", # required
    offset_in_nanos: "AssetPropertyOffsetInNanos",
  },
  quality: "AssetPropertyQuality",
}

An asset property value entry containing the following information.

Instance Attribute Summary collapse

Instance Attribute Details

#qualityString

Optional. A string that describes the quality of the value. Accepts substitution templates. Must be GOOD, BAD, or UNCERTAIN.

Returns:

  • (String)


600
601
602
603
604
605
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 600

class AssetPropertyValue < Struct.new(
  :value,
  :timestamp,
  :quality)
  include Aws::Structure
end

#timestampTypes::AssetPropertyTimestamp

The asset property value timestamp.



600
601
602
603
604
605
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 600

class AssetPropertyValue < Struct.new(
  :value,
  :timestamp,
  :quality)
  include Aws::Structure
end

#valueTypes::AssetPropertyVariant

The value of the asset property.



600
601
602
603
604
605
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 600

class AssetPropertyValue < Struct.new(
  :value,
  :timestamp,
  :quality)
  include Aws::Structure
end