Class: VagrantPlugins::Openstack::Domain::Image

Inherits:
Item
  • Object
show all
Defined in:
lib/vagrant-openstack-illuin-provider/client/domain.rb

Instance Attribute Summary collapse

Attributes inherited from Item

#id, #name

Instance Method Summary collapse

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

#metadataObject

Returns the value of attribute metadata.



28
29
30
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 28

def 
  @metadata
end

#min_diskObject

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_ramObject

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

#sizeObject

Returns the value of attribute size.



25
26
27
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 25

def size
  @size
end

#visibilityObject

Returns the value of attribute visibility.



24
25
26
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 24

def visibility
  @visibility
end