2011-05-11 21:35:02 -04:00
|
|
|
require 'fog/core/model'
|
|
|
|
|
|
|
|
module Fog
|
2011-06-16 19:28:54 -04:00
|
|
|
module Compute
|
|
|
|
class Ninefold
|
2011-05-11 21:35:02 -04:00
|
|
|
|
|
|
|
class Image < Fog::Model
|
|
|
|
|
|
|
|
identity :id
|
|
|
|
|
|
|
|
attribute :account
|
|
|
|
attribute :accountid
|
|
|
|
attribute :bootable
|
|
|
|
attribute :created, :type => :time
|
|
|
|
attribute :crossZones
|
|
|
|
attribute :displaytext
|
|
|
|
attribute :domain
|
|
|
|
attribute :domainid
|
|
|
|
attribute :format
|
|
|
|
attribute :hypervisor
|
|
|
|
attribute :isextractable
|
|
|
|
attribute :isfeatured
|
|
|
|
attribute :ispublic
|
|
|
|
attribute :isready
|
|
|
|
attribute :jobid
|
|
|
|
attribute :jobstatus
|
|
|
|
attribute :name
|
|
|
|
attribute :ostypeid
|
|
|
|
attribute :ostypename
|
|
|
|
attribute :passwordenabled
|
|
|
|
attribute :removed
|
|
|
|
attribute :size
|
|
|
|
attribute :status
|
|
|
|
attribute :templatetype
|
|
|
|
attribute :zoneid
|
|
|
|
attribute :zonename
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|