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/rackspace/models/compute_v2/flavor.rb
2013-01-30 09:05:10 -06:00

35 lines
794 B
Ruby

require 'fog/core/model'
module Fog
module Compute
class RackspaceV2
class Flavor < Fog::Model
# @!attribute [r] id
# @return [String] The flavor id
identity :id
# @!attribute [r] name
# @return [String] flavor name
attribute :name
# @!attribute [r] rame
# @return [Fixnum] ram in MB
attribute :ram
# @!attribute [r] disk
# @return [String] disk space in GB
attribute :disk
# @!attribute [r] vcpus
# @return [Fixnum] number of virtual CPUs
attribute :vcpus
# @!attribute [r] links
# @return [Array] flavor links.
attribute :links
end
end
end
end