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, vmactions, 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, setVmgetActions, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetActions, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setActions, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksprotected 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()
StorageDomainspublic void setStorageDomains(StorageDomains value)
value - allowed object is
StorageDomainspublic boolean isSetStorageDomains()
public void setSize(Long value)
value - allowed object is
Longpublic boolean isSetSize()
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isSetType()
public Status getStatus()
Statuspublic void setStatus(Status value)
value - allowed object is
Statuspublic boolean isSetStatus()
public String getInterface()
Stringpublic void setInterface(String value)
value - allowed object is
Stringpublic boolean isSetInterface()
public String getFormat()
Stringpublic void setFormat(String value)
value - allowed object is
Stringpublic boolean isSetFormat()
public Boolean isSparse()
Booleanpublic void setSparse(Boolean value)
value - allowed object is
Booleanpublic boolean isSetSparse()
public Boolean isBootable()
Booleanpublic void setBootable(Boolean value)
value - allowed object is
Booleanpublic boolean isSetBootable()
public Boolean isWipeAfterDelete()
Booleanpublic void setWipeAfterDelete(Boolean value)
value - allowed object is
Booleanpublic boolean isSetWipeAfterDelete()
public Boolean isPropagateErrors()
Booleanpublic void setPropagateErrors(Boolean value)
value - allowed object is
Booleanpublic boolean isSetPropagateErrors()
public Statistics getStatistics()
Statisticspublic void setStatistics(Statistics value)
value - allowed object is
Statisticspublic boolean isSetStatistics()
Copyright © 2012. All Rights Reserved.