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

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

Overview

Note:

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

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_valueBoolean

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

Returns:

  • (Boolean)


5458
5459
5460
5461
5462
5463
5464
5465
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5458

class Variant < Struct.new(
  :string_value,
  :integer_value,
  :double_value,
  :boolean_value)
  SENSITIVE = []
  include Aws::Structure
end

#double_valueFloat

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

Returns:

  • (Float)


5458
5459
5460
5461
5462
5463
5464
5465
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5458

class Variant < Struct.new(
  :string_value,
  :integer_value,
  :double_value,
  :boolean_value)
  SENSITIVE = []
  include Aws::Structure
end

#integer_valueInteger

Asset property data of type integer (whole number).

Returns:

  • (Integer)


5458
5459
5460
5461
5462
5463
5464
5465
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5458

class Variant < Struct.new(
  :string_value,
  :integer_value,
  :double_value,
  :boolean_value)
  SENSITIVE = []
  include Aws::Structure
end

#string_valueString

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

Returns:

  • (String)


5458
5459
5460
5461
5462
5463
5464
5465
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5458

class Variant < Struct.new(
  :string_value,
  :integer_value,
  :double_value,
  :boolean_value)
  SENSITIVE = []
  include Aws::Structure
end