com.vmware.vim25.HostDatastoreBrowserSearchResults Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostDatastoreBrowserSearchResults", propOrder = {
"datastore",
"folderPath",
"file"
})
public class HostDatastoreBrowserSearchResults
extends DynamicData
{
protected ManagedObjectReference datastore;
protected String folderPath;
protected List file;
/**
* Gets the value of the datastore property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getDatastore() {
return datastore;
}
/**
* Sets the value of the datastore property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setDatastore(ManagedObjectReference value) {
this.datastore = value;
}
/**
* Gets the value of the folderPath property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolderPath() {
return folderPath;
}
/**
* Sets the value of the folderPath property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolderPath(String value) {
this.folderPath = value;
}
/**
* Gets the value of the file property.
*
*
* 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
* {@link FileInfo }
*
*
*/
public List getFile() {
if (file == null) {
file = new ArrayList();
}
return this.file;
}
}