Class: VBox::StorageController
- Inherits:
-
Base
- Object
- Base
- VBox::StorageController
show all
- Defined in:
- lib/virtualbox/classes/storage_controller.rb
Instance Attribute Summary
Attributes inherited from Base
#ref
Instance Method Summary
collapse
Methods inherited from Base
#_this, #delete!, #ensure_hash, #initialize, #vbox_class
Constructor Details
This class inherits a constructor from VBox::Base
Instance Method Details
#bootable ⇒ Object
54
55
56
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 54
def bootable
VBox::WebService.send_request(:i_storage_controller_get_bootable, _this)
end
|
#bus ⇒ Object
34
35
36
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 34
def bus
VBox::WebService.send_request(:i_storage_controller_get_bus, _this)
end
|
#controller_type ⇒ Object
38
39
40
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 38
def controller_type
VBox::WebService.send_request(:i_storage_controller_get_controller_type, _this)
end
|
#controller_type=(controller_type) ⇒ Object
42
43
44
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 42
def controller_type=(controller_type)
VBox::WebService.send_request(:i_storage_controller_set_controller_type, _this.merge(:controller_type => controller_type))
end
|
#instance ⇒ Object
18
19
20
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 18
def instance
VBox::WebService.send_request(:i_storage_controller_get_instance, _this)
end
|
#instance=(instance) ⇒ Object
22
23
24
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 22
def instance=(instance)
VBox::WebService.send_request(:i_storage_controller_set_instance, _this.merge(:instance => instance))
end
|
#max_devices_per_port_count ⇒ Object
10
11
12
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 10
def max_devices_per_port_count
VBox::WebService.send_request(:i_storage_controller_get_max_devices_per_port_count, _this)
end
|
#min_port_count ⇒ Object
14
15
16
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 14
def min_port_count
VBox::WebService.send_request(:i_storage_controller_get_min_port_count, _this)
end
|
#name ⇒ Object
6
7
8
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 6
def name
VBox::WebService.send_request(:i_storage_controller_get_name, _this)
end
|
#port_count ⇒ Object
26
27
28
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 26
def port_count
VBox::WebService.send_request(:i_storage_controller_get_port_count, _this)
end
|
#port_count=(port_count) ⇒ Object
30
31
32
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 30
def port_count=(port_count)
VBox::WebService.send_request(:i_storage_controller_set_port_count, _this.merge(:port_count => port_count))
end
|
#use_host_io_cache ⇒ Object
46
47
48
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 46
def use_host_io_cache
VBox::WebService.send_request(:i_storage_controller_get_use_host_io_cache, _this)
end
|
#use_host_io_cache=(use_host_io_cache) ⇒ Object
50
51
52
|
# File 'lib/virtualbox/classes/storage_controller.rb', line 50
def use_host_io_cache=(use_host_io_cache)
VBox::WebService.send_request(:i_storage_controller_set_use_host_io_cache, _this.merge(:use_host_io_cache => use_host_io_cache))
end
|