public class HostDatastoreBrowserSearchResults extends DynamicData
Java class for HostDatastoreBrowserSearchResults complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostDatastoreBrowserSearchResults">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="datastore" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="folderPath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="file" type="{urn:vim25}FileInfo" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
datastore |
protected List<FileInfo> |
file |
protected String |
folderPath |
| Constructor and Description |
|---|
HostDatastoreBrowserSearchResults() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getDatastore()
Gets the value of the datastore property.
|
List<FileInfo> |
getFile()
Gets the value of the file property.
|
String |
getFolderPath()
Gets the value of the folderPath property.
|
void |
setDatastore(ManagedObjectReference value)
Sets the value of the datastore property.
|
void |
setFolderPath(String value)
Sets the value of the folderPath property.
|
protected ManagedObjectReference datastore
protected String folderPath
public ManagedObjectReference getDatastore()
ManagedObjectReferencepublic void setDatastore(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getFolderPath()
Stringpublic void setFolderPath(String value)
value - allowed object is
Stringpublic List<FileInfo> 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
FileInfo
Copyright © 2018. All rights reserved.