Class: VBox::Snapshot
- Inherits:
-
Base
- Object
- Base
- VBox::Snapshot
show all
- Defined in:
- lib/virtualbox/classes/snapshot.rb
Instance Attribute Summary collapse
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 Attribute Details
#ref ⇒ Object
Returns the value of attribute ref.
4
5
6
|
# File 'lib/virtualbox/classes/snapshot.rb', line 4
def ref
@ref
end
|
Instance Method Details
#children ⇒ Object
40
41
42
|
# File 'lib/virtualbox/classes/snapshot.rb', line 40
def children
VBox::WebService.send_request(:i_snapshot_filter_get_children, _this)
end
|
#description ⇒ Object
20
21
22
|
# File 'lib/virtualbox/classes/snapshot.rb', line 20
def description
VBox::WebService.send_request(:i_snapshot_filter_get_description, _this)
end
|
#description=(description) ⇒ Object
24
25
26
|
# File 'lib/virtualbox/classes/snapshot.rb', line 24
def description=(description)
VBox::WebService.send_request(:i_snapshot_filter_set_description, _this.merge(:description => description))
end
|
#id ⇒ Object
8
9
10
|
# File 'lib/virtualbox/classes/snapshot.rb', line 8
def id
VBox::WebService.send_request(:i_snapshot_filter_get_id, _this)
end
|
#name ⇒ Object
12
13
14
|
# File 'lib/virtualbox/classes/snapshot.rb', line 12
def name
VBox::WebService.send_request(:i_snapshot_filter_get_name, _this)
end
|
#name=(name) ⇒ Object
16
17
18
|
# File 'lib/virtualbox/classes/snapshot.rb', line 16
def name=(name)
VBox::WebService.send_request(:i_snapshot_filter_set_name, _this.merge(:name => name))
end
|
#online ⇒ Object
32
33
34
|
# File 'lib/virtualbox/classes/snapshot.rb', line 32
def online
VBox::WebService.send_request(:i_snapshot_filter_get_online, _this)
end
|
#parent ⇒ Object
36
37
38
|
# File 'lib/virtualbox/classes/snapshot.rb', line 36
def parent
VBox::WebService.send_request(:i_snapshot_filter_get_parent, _this)
end
|
#timestamp ⇒ Object
28
29
30
|
# File 'lib/virtualbox/classes/snapshot.rb', line 28
def timestamp
VBox::WebService.send_request(:i_snapshot_filter_get_timestamp, _this)
end
|