Class: VagrantPlugins::Openstack::Domain::Image
- Defined in:
- lib/vagrant-openstack-illuin-provider/client/domain.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#min_disk ⇒ Object
Returns the value of attribute min_disk.
-
#min_ram ⇒ Object
Returns the value of attribute min_ram.
-
#size ⇒ Object
Returns the value of attribute size.
-
#visibility ⇒ Object
Returns the value of attribute visibility.
Attributes inherited from Item
Instance Method Summary collapse
-
#initialize(id, name, visibility = nil, size = nil, min_ram = nil, min_disk = nil, metadata = {}) ⇒ Image
constructor
rubocop:disable Metrics/ParameterLists.
Methods inherited from Item
Constructor Details
#initialize(id, name, visibility = nil, size = nil, min_ram = nil, min_disk = nil, metadata = {}) ⇒ Image
rubocop:disable Metrics/ParameterLists
31 32 33 34 35 36 37 38 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 31 def initialize(id, name, visibility = nil, size = nil, min_ram = nil, min_disk = nil, = {}) @visibility = visibility @size = size @min_ram = min_ram @min_disk = min_disk @metadata = super(id, name) end |
Instance Attribute Details
#metadata ⇒ Object
Returns the value of attribute metadata.
28 29 30 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 28 def @metadata end |
#min_disk ⇒ Object
Returns the value of attribute min_disk.
27 28 29 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 27 def min_disk @min_disk end |
#min_ram ⇒ Object
Returns the value of attribute min_ram.
26 27 28 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 26 def min_ram @min_ram end |
#size ⇒ Object
Returns the value of attribute size.
25 26 27 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 25 def size @size end |
#visibility ⇒ Object
Returns the value of attribute visibility.
24 25 26 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 24 def visibility @visibility end |