Class: Vcloud::Walker::Resource::CatalogItem
- Defined in:
- lib/vcloud/walker/resource/catalog_item.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#vapp_template_id ⇒ Object
readonly
Returns the value of attribute vapp_template_id.
Instance Method Summary collapse
-
#initialize(fog_catalog_item) ⇒ CatalogItem
constructor
A new instance of CatalogItem.
Methods inherited from Entity
Constructor Details
#initialize(fog_catalog_item) ⇒ CatalogItem
Returns a new instance of CatalogItem.
7 8 9 10 11 12 |
# File 'lib/vcloud/walker/resource/catalog_item.rb', line 7 def initialize fog_catalog_item @id = fog_catalog_item.id @name = fog_catalog_item.name @description = fog_catalog_item.description @vapp_template_id = fog_catalog_item.vapp_template_id end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
5 6 7 |
# File 'lib/vcloud/walker/resource/catalog_item.rb', line 5 def description @description end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/vcloud/walker/resource/catalog_item.rb', line 5 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/vcloud/walker/resource/catalog_item.rb', line 5 def name @name end |
#vapp_template_id ⇒ Object (readonly)
Returns the value of attribute vapp_template_id.
5 6 7 |
# File 'lib/vcloud/walker/resource/catalog_item.rb', line 5 def vapp_template_id @vapp_template_id end |