Class: VBox::BandwidthGroup
- Defined in:
- lib/virtualbox/classes/bandwidth_group.rb
Instance Attribute Summary collapse
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
Instance Method Summary collapse
- #max_bytes_per_sec ⇒ Object
- #max_bytes_per_sec=(max_bytes_per_sec) ⇒ Object
-
#name ⇒ Object
Attributes.
- #reference ⇒ Object
- #type ⇒ Object
Methods inherited from Base
#_this, #delete!, #ensure_hash, #initialize, #vbox_class
Constructor Details
This class inherits a constructor from VBox::Base
Instance Attribute Details
#ref ⇒ Object (readonly)
Returns the value of attribute ref.
4 5 6 |
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 4 def ref @ref end |
Instance Method Details
#max_bytes_per_sec ⇒ Object
20 21 22 |
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 20 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
24 25 26 27 |
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 24 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
Attributes
8 9 10 |
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 8 def name VBox::WebService.send_request(:i_bandwidth_group_get_name, _this) end |
#reference ⇒ Object
16 17 18 |
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 16 def reference VBox::WebService.send_request(:i_bandwidth_group_get_reference, _this) end |
#type ⇒ Object
12 13 14 |
# File 'lib/virtualbox/classes/bandwidth_group.rb', line 12 def type VBox::WebService.send_request(:i_bandwidth_group_get_type, _this) end |