public class RetrieveResult extends DynamicData
Java class for RetrieveResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RetrieveResult">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="token" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="objects" type="{urn:vim25}ObjectContent" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ObjectContent> |
objects |
protected String |
token |
| Constructor and Description |
|---|
RetrieveResult() |
| Modifier and Type | Method and Description |
|---|---|
List<ObjectContent> |
getObjects()
Gets the value of the objects property.
|
String |
getToken()
Gets the value of the token property.
|
void |
setToken(String value)
Sets the value of the token property.
|
protected String token
protected List<ObjectContent> objects
public String getToken()
Stringpublic void setToken(String value)
value - allowed object is
Stringpublic List<ObjectContent> getObjects()
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 objects property.
For example, to add a new item, do as follows:
getObjects().add(newItem);
Objects of the following type(s) are allowed in the list
ObjectContent
Copyright © 2018. All rights reserved.