Class: Humidifier::IoTSiteWise::Asset
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::IoTSiteWise::Asset resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#asset_description ⇒ Object
returns the AssetDescription property.
-
#asset_description=(value) ⇒ Object
sets the AssetDescription property (String).
-
#asset_hierarchies ⇒ Object
returns the AssetHierarchies property.
-
#asset_hierarchies=(value) ⇒ Object
sets the AssetHierarchies property (List).
-
#asset_model_id ⇒ Object
returns the AssetModelId property.
-
#asset_model_id=(value) ⇒ Object
sets the AssetModelId property (String).
-
#asset_name ⇒ Object
returns the AssetName property.
-
#asset_name=(value) ⇒ Object
sets the AssetName property (String).
-
#asset_properties ⇒ Object
returns the AssetProperties property.
-
#asset_properties=(value) ⇒ Object
sets the AssetProperties property (List).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
Methods inherited from Resource
#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property
Constructor Details
This class inherits a constructor from Humidifier::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Humidifier::Resource
Instance Method Details
#asset_description ⇒ Object
returns the AssetDescription property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def asset_description properties['asset_description'] end |
#asset_description=(value) ⇒ Object
sets the AssetDescription property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def asset_description=(value) update_property('asset_description', value) end |
#asset_hierarchies ⇒ Object
returns the AssetHierarchies property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def asset_hierarchies properties['asset_hierarchies'] end |
#asset_hierarchies=(value) ⇒ Object
sets the AssetHierarchies property (List)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def asset_hierarchies=(value) update_property('asset_hierarchies', value) end |
#asset_model_id ⇒ Object
returns the AssetModelId property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def asset_model_id properties['asset_model_id'] end |
#asset_model_id=(value) ⇒ Object
sets the AssetModelId property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def asset_model_id=(value) update_property('asset_model_id', value) end |
#asset_name ⇒ Object
returns the AssetName property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def asset_name properties['asset_name'] end |
#asset_name=(value) ⇒ Object
sets the AssetName property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def asset_name=(value) update_property('asset_name', value) end |
#asset_properties ⇒ Object
returns the AssetProperties property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def asset_properties properties['asset_properties'] end |
#asset_properties=(value) ⇒ Object
sets the AssetProperties property (List)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def asset_properties=(value) update_property('asset_properties', value) end |
#tags ⇒ Object
returns the Tags property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def (value) update_property('tags', value) end |