com.vmware.vim25.NoCompatibleHost 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for NoCompatibleHost complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="NoCompatibleHost">
* <complexContent>
* <extension base="{urn:vim25}VimFault">
* <sequence>
* <element name="host" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="error" type="{urn:vim25}LocalizedMethodFault" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NoCompatibleHost", propOrder = {
"host",
"error"
})
@XmlSeeAlso({
NoCompatibleHostWithAccessToDevice.class
})
public class NoCompatibleHost
extends VimFault
{
protected List host;
protected List error;
/**
* Gets the value of the host 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 host property.
*
*
* For example, to add a new item, do as follows:
*
* getHost().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ManagedObjectReference }
*
*
*/
public List getHost() {
if (host == null) {
host = new ArrayList();
}
return this.host;
}
/**
* Gets the value of the error 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 error property.
*
*
* For example, to add a new item, do as follows:
*
* getError().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LocalizedMethodFault }
*
*
*/
public List getError() {
if (error == null) {
error = new ArrayList();
}
return this.error;
}
}