com.vmware.vim25.ArrayOfVirtualMachineDatastoreInfo 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ArrayOfVirtualMachineDatastoreInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ArrayOfVirtualMachineDatastoreInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="VirtualMachineDatastoreInfo" type="{urn:vim25}VirtualMachineDatastoreInfo" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ArrayOfVirtualMachineDatastoreInfo", propOrder = {
"virtualMachineDatastoreInfo"
})
public class ArrayOfVirtualMachineDatastoreInfo {
@XmlElement(name = "VirtualMachineDatastoreInfo")
protected List virtualMachineDatastoreInfo;
/**
* Gets the value of the virtualMachineDatastoreInfo 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 virtualMachineDatastoreInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getVirtualMachineDatastoreInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualMachineDatastoreInfo }
*
*
*/
public List getVirtualMachineDatastoreInfo() {
if (virtualMachineDatastoreInfo == null) {
virtualMachineDatastoreInfo = new ArrayList();
}
return this.virtualMachineDatastoreInfo;
}
}