2011-05-23 21:17:16 -04:00
|
|
|
module Fog
|
|
|
|
module Vcloud
|
|
|
|
class Compute
|
2011-05-24 02:25:28 -04:00
|
|
|
class Catalog < Fog::Vcloud::Model
|
2011-05-23 21:17:16 -04:00
|
|
|
|
2011-05-24 02:25:28 -04:00
|
|
|
identity :href, :aliases => :Href
|
2012-01-30 09:24:14 -05:00
|
|
|
attribute :links, :aliases => :Link, :type => :array
|
2011-05-24 02:25:28 -04:00
|
|
|
ignore_attributes :xmlns, :xmlns_i, :xmlns_xsi, :xmlns_xsd
|
2011-05-23 21:17:16 -04:00
|
|
|
|
2011-05-24 02:25:28 -04:00
|
|
|
attribute :type
|
|
|
|
attribute :name
|
2011-05-23 21:17:16 -04:00
|
|
|
|
2011-05-24 02:25:28 -04:00
|
|
|
def catalog_items
|
|
|
|
@catalog_items ||= Fog::Vcloud::Compute::CatalogItems.
|
|
|
|
new( :connection => connection,
|
|
|
|
:href => href )
|
2011-05-23 21:17:16 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|