public class DiskSnapshots extends BaseDevices
Java class for DiskSnapshots complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DiskSnapshots"> <complexContent> <extension base="{}BaseDevices"> <sequence> <element ref="{}disk_snapshot" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Constructor and Description |
---|
DiskSnapshots() |
Modifier and Type | Method and Description |
---|---|
List<DiskSnapshot> |
getDiskSnapshots()
Gets the value of the diskSnapshots property.
|
boolean |
isSetDiskSnapshots() |
void |
unsetDiskSnapshots() |
getActive, getSize, getTotal, isSetActive, isSetSize, isSetTotal, setActive, setSize, setTotal
getActions, isSetActions, setActions
public List<DiskSnapshot> getDiskSnapshots()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the diskSnapshots property.
For example, to add a new item, do as follows:
getDiskSnapshots().add(newItem);
Objects of the following type(s) are allowed in the list
DiskSnapshot
public boolean isSetDiskSnapshots()
public void unsetDiskSnapshots()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0