![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.DvsVmVnicNetworkResourcePoolRuntimeInfo 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 DvsVmVnicNetworkResourcePoolRuntimeInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DvsVmVnicNetworkResourcePoolRuntimeInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="capacity" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="usage" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="available" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="allocatedResource" type="{urn:vim25}DvsVnicAllocatedResource" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DvsVmVnicNetworkResourcePoolRuntimeInfo", propOrder = {
"key",
"name",
"capacity",
"usage",
"available",
"status",
"allocatedResource"
})
public class DvsVmVnicNetworkResourcePoolRuntimeInfo
extends DynamicData
{
@XmlElement(required = true)
protected String key;
protected String name;
protected Integer capacity;
protected Integer usage;
protected Integer available;
@XmlElement(required = true)
protected String status;
protected List allocatedResource;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the capacity property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getCapacity() {
return capacity;
}
/**
* Sets the value of the capacity property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setCapacity(Integer value) {
this.capacity = value;
}
/**
* Gets the value of the usage property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getUsage() {
return usage;
}
/**
* Sets the value of the usage property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setUsage(Integer value) {
this.usage = value;
}
/**
* Gets the value of the available property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getAvailable() {
return available;
}
/**
* Sets the value of the available property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setAvailable(Integer value) {
this.available = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the allocatedResource 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 allocatedResource property.
*
*
* For example, to add a new item, do as follows:
*
* getAllocatedResource().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DvsVnicAllocatedResource }
*
*
*/
public List getAllocatedResource() {
if (allocatedResource == null) {
allocatedResource = new ArrayList();
}
return this.allocatedResource;
}
}