com.vmware.vim25.PerfEntityMetric 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 PerfEntityMetric complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PerfEntityMetric">
* <complexContent>
* <extension base="{urn:vim25}PerfEntityMetricBase">
* <sequence>
* <element name="sampleInfo" type="{urn:vim25}PerfSampleInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="value" type="{urn:vim25}PerfMetricSeries" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PerfEntityMetric", propOrder = {
"sampleInfo",
"value"
})
public class PerfEntityMetric
extends PerfEntityMetricBase
{
protected List sampleInfo;
protected List value;
/**
* Gets the value of the sampleInfo 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 sampleInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getSampleInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PerfSampleInfo }
*
*
*/
public List getSampleInfo() {
if (sampleInfo == null) {
sampleInfo = new ArrayList();
}
return this.sampleInfo;
}
/**
* Gets the value of the value 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 value property.
*
*
* For example, to add a new item, do as follows:
*
* getValue().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PerfMetricSeries }
*
*
*/
public List getValue() {
if (value == null) {
value = new ArrayList();
}
return this.value;
}
}