Class: Aws::IoT::Types::AssetPropertyVariant

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

Overview

Note:

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

{
  string_value: "AssetPropertyStringValue",
  integer_value: "AssetPropertyIntegerValue",
  double_value: "AssetPropertyDoubleValue",
  boolean_value: "AssetPropertyBooleanValue",
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_valueString

Optional. A string that contains the boolean value (true or false) of the value entry. Accepts substitution templates.

Returns:

  • (String)


748
749
750
751
752
753
754
755
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 748

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

#double_valueString

Optional. A string that contains the double value of the value entry. Accepts substitution templates.

Returns:

  • (String)


748
749
750
751
752
753
754
755
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 748

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

#integer_valueString

Optional. A string that contains the integer value of the value entry. Accepts substitution templates.

Returns:

  • (String)


748
749
750
751
752
753
754
755
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 748

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

#string_valueString

Optional. The string value of the value entry. Accepts substitution templates.

Returns:

  • (String)


748
749
750
751
752
753
754
755
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 748

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