Class: Humidifier::IoTSiteWise::Asset

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::IoTSiteWise::Asset resource

AWS Resource:

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

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_descriptionObject

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_hierarchiesObject

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_idObject

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_nameObject

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_propertiesObject

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

#tagsObject

returns the Tags property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def tags=(value)
  update_property('tags', value)
end