Class: VBox::Snapshot

Inherits:
Base
  • Object
show all
Defined in:
lib/virtualbox/classes/snapshot.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

#childrenObject



38
39
40
# File 'lib/virtualbox/classes/snapshot.rb', line 38

def children
  VBox::WebService.send_request(:i_snapshot_filter_get_children, _this)
end

#descriptionObject



18
19
20
# File 'lib/virtualbox/classes/snapshot.rb', line 18

def description
  VBox::WebService.send_request(:i_snapshot_filter_get_description, _this)
end

#description=(description) ⇒ Object



22
23
24
# File 'lib/virtualbox/classes/snapshot.rb', line 22

def description=(description)
  VBox::WebService.send_request(:i_snapshot_filter_set_description, _this.merge(:description => description))
end

#idObject

Attributes



6
7
8
# File 'lib/virtualbox/classes/snapshot.rb', line 6

def id
  VBox::WebService.send_request(:i_snapshot_filter_get_id, _this)
end

#nameObject



10
11
12
# File 'lib/virtualbox/classes/snapshot.rb', line 10

def name
  VBox::WebService.send_request(:i_snapshot_filter_get_name, _this)
end

#name=(name) ⇒ Object



14
15
16
# File 'lib/virtualbox/classes/snapshot.rb', line 14

def name=(name)
  VBox::WebService.send_request(:i_snapshot_filter_set_name, _this.merge(:name => name))
end

#onlineObject



30
31
32
# File 'lib/virtualbox/classes/snapshot.rb', line 30

def online
  VBox::WebService.send_request(:i_snapshot_filter_get_online, _this)
end

#parentObject



34
35
36
# File 'lib/virtualbox/classes/snapshot.rb', line 34

def parent
  VBox::WebService.send_request(:i_snapshot_filter_get_parent, _this)
end

#timestampObject



26
27
28
# File 'lib/virtualbox/classes/snapshot.rb', line 26

def timestamp
  VBox::WebService.send_request(:i_snapshot_filter_get_timestamp, _this)
end