1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/vcloud/models/vdc.rb

27 lines
887 B
Ruby
Raw Normal View History

2010-05-16 12:09:25 -04:00
module Fog
class Vcloud
2010-05-16 12:09:25 -04:00
class Vdc < Fog::Vcloud::Model
identity :href
ignore_attributes :xmlns, :xmlns_xsi, :xmlns_xsd
2010-05-16 12:09:25 -04:00
attribute :name
attribute :type
attribute :description, :aliases => :Description
attribute :other_links, :aliases => :Link
attribute :compute_capacity, :aliases => :ComputeCapacity
attribute :storage_capacity, :aliases => :StorageCapacity
attribute :available_networks, :aliases => :AvailableNetworks, :squash => :Network
attribute :resource_entities, :aliases => :ResourceEntities, :squash => :ResourceEntity
attribute :enabled, :aliases => :IsEnabled
attribute :vm_quota, :aliases => :VmQuota
attribute :nic_quota, :aliases => :NicQuota
attribute :network_quota, :aliases => :NetworkQuota
attribute :allocation_model, :aliases => :AllocationModel
2010-05-16 12:09:25 -04:00
end
end
end