![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.DvsVnicAllocatedResource Maven / Gradle / Ivy
package com.vmware.vim25;
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 DvsVnicAllocatedResource complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DvsVnicAllocatedResource">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="vm" type="{urn:vim25}ManagedObjectReference"/>
* <element name="vnicKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="reservation" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DvsVnicAllocatedResource", propOrder = {
"vm",
"vnicKey",
"reservation"
})
public class DvsVnicAllocatedResource
extends DynamicData
{
@XmlElement(required = true)
protected ManagedObjectReference vm;
@XmlElement(required = true)
protected String vnicKey;
protected Long reservation;
/**
* Gets the value of the vm property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getVm() {
return vm;
}
/**
* Sets the value of the vm property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setVm(ManagedObjectReference value) {
this.vm = value;
}
/**
* Gets the value of the vnicKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVnicKey() {
return vnicKey;
}
/**
* Sets the value of the vnicKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVnicKey(String value) {
this.vnicKey = value;
}
/**
* Gets the value of the reservation property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getReservation() {
return reservation;
}
/**
* Sets the value of the reservation property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setReservation(Long value) {
this.reservation = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy