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
- Struct
- Aws::IoTSiteWise::Types::Variant
- 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
-
#boolean_value ⇒ Boolean
Asset property data of type Boolean (true or false).
-
#double_value ⇒ Float
Asset property data of type double (floating point number).
-
#integer_value ⇒ Integer
Asset property data of type integer (whole number).
-
#string_value ⇒ String
Asset property data of type string (sequence of characters).
Instance Attribute Details
#boolean_value ⇒ Boolean
Asset property data of type Boolean (true or false).
#double_value ⇒ Float
Asset property data of type double (floating point number).
#integer_value ⇒ Integer
Asset property data of type integer (whole number).
#string_value ⇒ String
Asset property data of type string (sequence of characters).