public class Payload extends Object
Java class for Payload complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Payload">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="file" type="{}PayloadFile" maxOccurs="unbounded" minOccurs="0"/>
<element name="volume_id" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Payload() |
| Modifier and Type | Method and Description |
|---|---|
List<PayloadFile> |
getFile()
Gets the value of the file property.
|
String |
getType()
Gets the value of the type property.
|
String |
getVolumeId()
Gets the value of the volumeId property.
|
boolean |
isSetFile() |
boolean |
isSetVolumeId() |
void |
setType(String value)
Sets the value of the type property.
|
void |
setVolumeId(String value)
Sets the value of the volumeId property.
|
void |
unsetFile() |
public List<PayloadFile> getFile()
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 file property.
For example, to add a new item, do as follows:
getFile().add(newItem);
Objects of the following type(s) are allowed in the list
PayloadFile
public boolean isSetFile()
public void unsetFile()
public String getVolumeId()
Stringpublic void setVolumeId(String value)
value - allowed object is
Stringpublic boolean isSetVolumeId()
public String getType()
StringCopyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0