com.vmware.vim25.VsanHostDiskMapResult 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 VsanHostDiskMapResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VsanHostDiskMapResult">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="mapping" type="{urn:vim25}VsanHostDiskMapping"/>
* <element name="diskResult" type="{urn:vim25}VsanHostDiskResult" maxOccurs="unbounded" minOccurs="0"/>
* <element name="error" type="{urn:vim25}LocalizedMethodFault" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VsanHostDiskMapResult", propOrder = {
"mapping",
"diskResult",
"error"
})
public class VsanHostDiskMapResult
extends DynamicData
{
@XmlElement(required = true)
protected VsanHostDiskMapping mapping;
protected List diskResult;
protected LocalizedMethodFault error;
/**
* Gets the value of the mapping property.
*
* @return
* possible object is
* {@link VsanHostDiskMapping }
*
*/
public VsanHostDiskMapping getMapping() {
return mapping;
}
/**
* Sets the value of the mapping property.
*
* @param value
* allowed object is
* {@link VsanHostDiskMapping }
*
*/
public void setMapping(VsanHostDiskMapping value) {
this.mapping = value;
}
/**
* Gets the value of the diskResult 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 diskResult property.
*
*
* For example, to add a new item, do as follows:
*
* getDiskResult().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VsanHostDiskResult }
*
*
*/
public List getDiskResult() {
if (diskResult == null) {
diskResult = new ArrayList();
}
return this.diskResult;
}
/**
* Gets the value of the error property.
*
* @return
* possible object is
* {@link LocalizedMethodFault }
*
*/
public LocalizedMethodFault getError() {
return error;
}
/**
* Sets the value of the error property.
*
* @param value
* allowed object is
* {@link LocalizedMethodFault }
*
*/
public void setError(LocalizedMethodFault value) {
this.error = value;
}
}