public class Snapshots extends BaseResources
Java class for Snapshots complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Snapshots">
<complexContent>
<extension base="{}BaseResources">
<sequence>
<element ref="{}snapshot" maxOccurs="unbounded" minOccurs="0"/>
<element name="collapse_snapshots" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Snapshots() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getCollapseSnapshots()
Gets the value of the collapseSnapshots property.
|
List<Snapshot> |
getSnapshots()
Gets the value of the snapshots property.
|
boolean |
isSetCollapseSnapshots() |
boolean |
isSetSnapshots() |
void |
setCollapseSnapshots(Boolean value)
Sets the value of the collapseSnapshots property.
|
void |
unsetSnapshots() |
getActive, getTotal, isSetActive, isSetTotal, setActive, setTotalgetActions, isSetActions, setActionspublic List<Snapshot> getSnapshots()
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 snapshots property.
For example, to add a new item, do as follows:
getSnapshots().add(newItem);
Objects of the following type(s) are allowed in the list
Snapshot
public boolean isSetSnapshots()
public void unsetSnapshots()
public Boolean getCollapseSnapshots()
Booleanpublic void setCollapseSnapshots(Boolean value)
value - allowed object is
Booleanpublic boolean isSetCollapseSnapshots()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0