com.vmware.vim25.DVPortState 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 DVPortState complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DVPortState">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="runtimeInfo" type="{urn:vim25}DVPortStatus" minOccurs="0"/>
* <element name="stats" type="{urn:vim25}DistributedVirtualSwitchPortStatistics"/>
* <element name="vendorSpecificState" type="{urn:vim25}DistributedVirtualSwitchKeyedOpaqueBlob" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DVPortState", propOrder = {
"runtimeInfo",
"stats",
"vendorSpecificState"
})
public class DVPortState
extends DynamicData
{
protected DVPortStatus runtimeInfo;
@XmlElement(required = true)
protected DistributedVirtualSwitchPortStatistics stats;
protected List vendorSpecificState;
/**
* Gets the value of the runtimeInfo property.
*
* @return
* possible object is
* {@link DVPortStatus }
*
*/
public DVPortStatus getRuntimeInfo() {
return runtimeInfo;
}
/**
* Sets the value of the runtimeInfo property.
*
* @param value
* allowed object is
* {@link DVPortStatus }
*
*/
public void setRuntimeInfo(DVPortStatus value) {
this.runtimeInfo = value;
}
/**
* Gets the value of the stats property.
*
* @return
* possible object is
* {@link DistributedVirtualSwitchPortStatistics }
*
*/
public DistributedVirtualSwitchPortStatistics getStats() {
return stats;
}
/**
* Sets the value of the stats property.
*
* @param value
* allowed object is
* {@link DistributedVirtualSwitchPortStatistics }
*
*/
public void setStats(DistributedVirtualSwitchPortStatistics value) {
this.stats = value;
}
/**
* Gets the value of the vendorSpecificState 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 vendorSpecificState property.
*
*
* For example, to add a new item, do as follows:
*
* getVendorSpecificState().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DistributedVirtualSwitchKeyedOpaqueBlob }
*
*
*/
public List getVendorSpecificState() {
if (vendorSpecificState == null) {
vendorSpecificState = new ArrayList();
}
return this.vendorSpecificState;
}
}