lib/fog/vsphere/models/compute/datastore.rb
module Fog
module Vsphere
class Compute
class Datastore < Fog::Model
identity :id
attribute :name
attribute :datacenter
attribute :type
attribute :freespace
attribute :accessible # reachable by at least one hypervisor
attribute :capacity
attribute :uncommitted
def to_s
name
end
end
end
end
end