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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotsitewise/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)


8768
8769
8770
8771
8772
8773
8774
8775
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8768

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)


8768
8769
8770
8771
8772
8773
8774
8775
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8768

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 (number that's greater than or equal to zero).

Returns:

  • (Integer)


8768
8769
8770
8771
8772
8773
8774
8775
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8768

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)


8768
8769
8770
8771
8772
8773
8774
8775
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8768

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