Package pyvb :: Module hdd :: Class vbHdd
[hide private]
[frames] | no frames]

Class vbHdd

source code

An abstraction representing an HDD in VirtualBox.

Instance Methods [hide private]
pyvb.hdd.vbHdd
__init__(self, **kw)
Constructor.
source code
None
setUUID(self, uuid)
Set the uuid attribute of this pyvb.hdd.vbHdd instance.
source code
None
setStoragetype(self, storagetype)
Set the storagetype attribute of this pyvb.hdd.vbHdd instance.
source code
None
setPath(self, path)
Set the path attribute of this pyvb.hdd.vbHdd instance.
source code
None
setAccessible(self, accessible)
Set the accessible attribute of this pyvb.hdd.vbHdd instance.
source code
None
setUsage(self, usage)
Set the usage attribute of this pyvb.hdd.vbHdd instance.
source code
 
setRegistered(self, registered) source code
 
setSize(self, size) source code
 
setDiskSize(self, disksize) source code
String
getUUID(self)
Return the uuid attribute of this pyvb.hdd.vbHdd instance.
source code
String
getStoragetype(self)
Return the storagetype attribute of this pyvb.hdd.vbHdd instance.
source code
String
getPath(self)
Return the path attribute of this pyvb.hdd.vbHdd instance.
source code
String
getAccessible(self)
Return the accessible attribute of this pyvb.hdd.vbHdd instance.
source code
String
getUsage(self)
Return the usage attribute of this pyvb.hdd.vbHdd instance.
source code
 
getRegistered(self) source code
 
getSize(self) source code
 
getDiskSize(self) source code
Method Details [hide private]

__init__(self, **kw)
(Constructor)

source code 

Constructor. Initialize the attributes.

Returns: pyvb.hdd.vbHdd
A new pyvb.hdd.vbHdd instance.

setUUID(self, uuid)

source code 

Set the uuid attribute of this pyvb.hdd.vbHdd instance.

Parameters:
  • uuid (String) - The uuid attribute.
Returns: None
None

setStoragetype(self, storagetype)

source code 

Set the storagetype attribute of this pyvb.hdd.vbHdd instance.

Parameters:
  • storagetype (String) - The storagetype attribute.
Returns: None
None

setPath(self, path)

source code 

Set the path attribute of this pyvb.hdd.vbHdd instance.

Parameters:
  • path (String) - The path attribute.
Returns: None
None

setAccessible(self, accessible)

source code 

Set the accessible attribute of this pyvb.hdd.vbHdd instance.

Parameters:
  • accessible (String) - The accessible attribute.
Returns: None
None

setUsage(self, usage)

source code 

Set the usage attribute of this pyvb.hdd.vbHdd instance.

Parameters:
  • usage (String) - The usage attribute.
Returns: None
None

getUUID(self)

source code 

Return the uuid attribute of this pyvb.hdd.vbHdd instance.

Returns: String
The uuid attribute.

getStoragetype(self)

source code 

Return the storagetype attribute of this pyvb.hdd.vbHdd instance.

Returns: String
The storagetype attribute.

getPath(self)

source code 

Return the path attribute of this pyvb.hdd.vbHdd instance.

Returns: String
The path attribute.

getAccessible(self)

source code 

Return the accessible attribute of this pyvb.hdd.vbHdd instance.

Returns: String
The accessible attribute.

getUsage(self)

source code 

Return the usage attribute of this pyvb.hdd.vbHdd instance.

Returns: String
The usage attribute.