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