public class Disk extends BaseDevice
Java class for Disk complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Disk"> <complexContent> <extension base="{}BaseDevice"> <sequence> <element ref="{}storage_domains" minOccurs="0"/> <element name="size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{}status" minOccurs="0"/> <element name="interface" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="format" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="sparse" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="bootable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="wipe_after_delete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="propagate_errors" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="statistics" type="{}Statistics" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
_interface |
protected Boolean |
bootable |
protected String |
format |
protected Boolean |
propagateErrors |
protected Long |
size |
protected Boolean |
sparse |
protected Statistics |
statistics |
protected Status |
status |
protected StorageDomains |
storageDomains |
protected String |
type |
protected Boolean |
wipeAfterDelete |
template, vm
actions, creationStatus, description, href, id, links, name
Constructor and Description |
---|
Disk() |
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
Gets the value of the format property.
|
String |
getInterface()
Gets the value of the interface property.
|
Long |
getSize()
Gets the value of the size property.
|
Statistics |
getStatistics()
Gets the value of the statistics property.
|
Status |
getStatus()
Gets the value of the status property.
|
StorageDomains |
getStorageDomains()
Gets the value of the storageDomains property.
|
String |
getType()
Gets the value of the type property.
|
Boolean |
isBootable()
Gets the value of the bootable property.
|
Boolean |
isPropagateErrors()
Gets the value of the propagateErrors property.
|
boolean |
isSetBootable() |
boolean |
isSetFormat() |
boolean |
isSetInterface() |
boolean |
isSetPropagateErrors() |
boolean |
isSetSize() |
boolean |
isSetSparse() |
boolean |
isSetStatistics() |
boolean |
isSetStatus() |
boolean |
isSetStorageDomains() |
boolean |
isSetType() |
boolean |
isSetWipeAfterDelete() |
Boolean |
isSparse()
Gets the value of the sparse property.
|
Boolean |
isWipeAfterDelete()
Gets the value of the wipeAfterDelete property.
|
void |
setBootable(Boolean value)
Sets the value of the bootable property.
|
void |
setFormat(String value)
Sets the value of the format property.
|
void |
setInterface(String value)
Sets the value of the interface property.
|
void |
setPropagateErrors(Boolean value)
Sets the value of the propagateErrors property.
|
void |
setSize(Long value)
Sets the value of the size property.
|
void |
setSparse(Boolean value)
Sets the value of the sparse property.
|
void |
setStatistics(Statistics value)
Sets the value of the statistics property.
|
void |
setStatus(Status value)
Sets the value of the status property.
|
void |
setStorageDomains(StorageDomains value)
Sets the value of the storageDomains property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setWipeAfterDelete(Boolean value)
Sets the value of the wipeAfterDelete property.
|
getTemplate, getVm, isSetTemplate, isSetVm, setTemplate, setVm
getActions, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetActions, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setActions, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
protected StorageDomains storageDomains
protected Long size
protected String type
protected Status status
protected String _interface
protected String format
protected Boolean sparse
protected Boolean bootable
protected Boolean wipeAfterDelete
protected Boolean propagateErrors
protected Statistics statistics
public StorageDomains getStorageDomains()
StorageDomains
public void setStorageDomains(StorageDomains value)
value
- allowed object is
StorageDomains
public boolean isSetStorageDomains()
public void setSize(Long value)
value
- allowed object is
Long
public boolean isSetSize()
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public boolean isSetType()
public Status getStatus()
Status
public void setStatus(Status value)
value
- allowed object is
Status
public boolean isSetStatus()
public String getInterface()
String
public void setInterface(String value)
value
- allowed object is
String
public boolean isSetInterface()
public String getFormat()
String
public void setFormat(String value)
value
- allowed object is
String
public boolean isSetFormat()
public Boolean isSparse()
Boolean
public void setSparse(Boolean value)
value
- allowed object is
Boolean
public boolean isSetSparse()
public Boolean isBootable()
Boolean
public void setBootable(Boolean value)
value
- allowed object is
Boolean
public boolean isSetBootable()
public Boolean isWipeAfterDelete()
Boolean
public void setWipeAfterDelete(Boolean value)
value
- allowed object is
Boolean
public boolean isSetWipeAfterDelete()
public Boolean isPropagateErrors()
Boolean
public void setPropagateErrors(Boolean value)
value
- allowed object is
Boolean
public boolean isSetPropagateErrors()
public Statistics getStatistics()
Statistics
public void setStatistics(Statistics value)
value
- allowed object is
Statistics
public boolean isSetStatistics()
Copyright © 2012. All Rights Reserved.