com.vmware.vim25.VirtualDiskId 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 VirtualDiskId complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualDiskId">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="vm" type="{urn:vim25}ManagedObjectReference"/>
* <element name="diskId" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualDiskId", propOrder = {
"vm",
"diskId"
})
public class VirtualDiskId
extends DynamicData
{
@XmlElement(required = true)
protected ManagedObjectReference vm;
protected int diskId;
/**
* 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 diskId property.
*
*/
public int getDiskId() {
return diskId;
}
/**
* Sets the value of the diskId property.
*
*/
public void setDiskId(int value) {
this.diskId = value;
}
}