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)


9718
9719
9720
9721
9722
9723
9724
9725
# File 'lib/aws-sdk-iotsitewise/types.rb', line 9718

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)


9718
9719
9720
9721
9722
9723
9724
9725
# File 'lib/aws-sdk-iotsitewise/types.rb', line 9718

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)


9718
9719
9720
9721
9722
9723
9724
9725
# File 'lib/aws-sdk-iotsitewise/types.rb', line 9718

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)


9718
9719
9720
9721
9722
9723
9724
9725
# File 'lib/aws-sdk-iotsitewise/types.rb', line 9718

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