You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoTSiteWise::Types::Variant

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Variant as input to an Aws::Client method, you can use a vanilla Hash:

{
  string_value: "PropertyValueStringValue",
  integer_value: 1,
  double_value: 1.0,
  boolean_value: false,
}

Contains an asset property value (of a single type only).

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_valueBoolean

Asset property data of type Boolean (true or false).

Returns:

  • (Boolean)

    Asset property data of type Boolean (true or false).

#double_valueFloat

Asset property data of type double (floating point number).

Returns:

  • (Float)

    Asset property data of type double (floating point number).

#integer_valueInteger

Asset property data of type integer (whole number).

Returns:

  • (Integer)

    Asset property data of type integer (whole number).

#string_valueString

Asset property data of type string (sequence of characters).

Returns:

  • (String)

    Asset property data of type string (sequence of characters).