mirror of https://github.com/apache/jclouds.git
Add XmlRootElement annotation to Vm
This commit is contained in:
parent
b09f35fa9d
commit
4840fdaf3f
|
@ -22,6 +22,7 @@ import static com.google.common.base.Objects.equal;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
import javax.xml.bind.annotation.XmlAttribute;
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
|
import javax.xml.bind.annotation.XmlRootElement;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
import org.jclouds.dmtf.ovf.environment.EnvironmentType;
|
import org.jclouds.dmtf.ovf.environment.EnvironmentType;
|
||||||
|
@ -30,15 +31,16 @@ import com.google.common.base.Objects;
|
||||||
import com.google.common.base.Objects.ToStringHelper;
|
import com.google.common.base.Objects.ToStringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a VM.
|
* Represents a virtual machine.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="Vm" />
|
* <complexType name="VmType" />
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author grkvlt@apache.org
|
* @author grkvlt@apache.org
|
||||||
*/
|
*/
|
||||||
@XmlType(name = "Vm")
|
@XmlRootElement(name = "Vm")
|
||||||
|
@XmlType(name = "VmType")
|
||||||
public class Vm extends AbstractVAppType {
|
public class Vm extends AbstractVAppType {
|
||||||
|
|
||||||
public static Builder<?> builder() {
|
public static Builder<?> builder() {
|
||||||
|
|
Loading…
Reference in New Issue