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/aws/models/ec2/image.rb

26 lines
604 B
Ruby
Raw Normal View History

2010-03-16 18:46:21 -04:00
require 'fog/model'
2010-01-10 16:35:20 -05:00
module Fog
module AWS
2010-03-16 18:46:21 -04:00
module EC2
2010-01-10 16:35:20 -05:00
class Image < Fog::Model
identity :id, 'imageId'
attribute :architecture
attribute :location, 'imageLocation'
attribute :owner_id, 'imageOwnerId'
attribute :state, 'imageState'
attribute :type, 'imageType'
attribute :is_public, 'isPublic'
attribute :kernel_id, 'kernelId'
attribute :platform
attribute :product_codes, 'productCodes'
attribute :ramdisk_id, 'ramdiskId'
end
end
end
end