Class: VBox::BandwidthGroup
- Inherits:
-
Base
- Object
- Base
- VBox::BandwidthGroup
show all
- Defined in:
- lib/virtualbox/classes/bandwidth_group.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
#max_bytes_per_sec ⇒ Object
18
19
20
|
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 18
def max_bytes_per_sec
VBox::WebService.send_request(:i_bandwidth_group_get_max_bytes_per_sec, _this)
end
|
#max_bytes_per_sec=(max_bytes_per_sec) ⇒ Object
22
23
24
25
|
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 22
def max_bytes_per_sec=(max_bytes_per_sec)
VBox::WebService.send_request(:i_bandwidth_group_get_max_bytes_per_sec,
_this.merge(:max_bytes_per_sec => max_bytes_per_sec))
end
|
#name ⇒ Object
6
7
8
|
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 6
def name
VBox::WebService.send_request(:i_bandwidth_group_get_name, _this)
end
|
#reference ⇒ Object
14
15
16
|
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 14
def reference
VBox::WebService.send_request(:i_bandwidth_group_get_reference, _this)
end
|
#type ⇒ Object
10
11
12
|
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 10
def type
VBox::WebService.send_request(:i_bandwidth_group_get_type, _this)
end
|