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

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

Overview

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)


9033
9034
9035
9036
9037
9038
9039
9040
# File 'lib/aws-sdk-iotsitewise/types.rb', line 9033

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)


9033
9034
9035
9036
9037
9038
9039
9040
# File 'lib/aws-sdk-iotsitewise/types.rb', line 9033

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)


9033
9034
9035
9036
9037
9038
9039
9040
# File 'lib/aws-sdk-iotsitewise/types.rb', line 9033

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)


9033
9034
9035
9036
9037
9038
9039
9040
# File 'lib/aws-sdk-iotsitewise/types.rb', line 9033

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