
com.vmware.vim.ValidateMigration Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
package com.vmware.vim;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="_this" type="{urn:vim2}ManagedObjectReference"/>
* <element name="vm" type="{urn:vim2}ManagedObjectReference" maxOccurs="unbounded"/>
* <element name="state" type="{urn:vim2}VirtualMachinePowerState" minOccurs="0"/>
* <element name="testType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="pool" type="{urn:vim2}ManagedObjectReference" minOccurs="0"/>
* <element name="host" type="{urn:vim2}ManagedObjectReference" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"_this",
"vm",
"state",
"testType",
"pool",
"host"
})
@XmlRootElement(name = "ValidateMigration")
public class ValidateMigration {
@XmlElement(required = true)
protected ManagedObjectReference _this;
@XmlElement(required = true)
protected List vm;
protected VirtualMachinePowerState state;
protected List testType;
protected ManagedObjectReference pool;
protected ManagedObjectReference host;
/**
* Gets the value of the this property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getThis() {
return _this;
}
/**
* Sets the value of the this property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setThis(ManagedObjectReference value) {
this._this = value;
}
/**
* Gets the value of the vm 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 vm property.
*
*
* For example, to add a new item, do as follows:
*
* getVm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ManagedObjectReference }
*
*
*/
public List getVm() {
if (vm == null) {
vm = new ArrayList();
}
return this.vm;
}
/**
* Gets the value of the state property.
*
* @return
* possible object is
* {@link VirtualMachinePowerState }
*
*/
public VirtualMachinePowerState getState() {
return state;
}
/**
* Sets the value of the state property.
*
* @param value
* allowed object is
* {@link VirtualMachinePowerState }
*
*/
public void setState(VirtualMachinePowerState value) {
this.state = value;
}
/**
* Gets the value of the testType 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 testType property.
*
*
* For example, to add a new item, do as follows:
*
* getTestType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getTestType() {
if (testType == null) {
testType = new ArrayList();
}
return this.testType;
}
/**
* Gets the value of the pool property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getPool() {
return pool;
}
/**
* Sets the value of the pool property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setPool(ManagedObjectReference value) {
this.pool = value;
}
/**
* Gets the value of the host property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getHost() {
return host;
}
/**
* Sets the value of the host property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setHost(ManagedObjectReference value) {
this.host = value;
}
/**
* Sets the value of the vm property.
*
* @param vm
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setVm(List vm) {
this.vm = vm;
}
/**
* Sets the value of the testType property.
*
* @param testType
* allowed object is
* {@link String }
*
*/
public void setTestType(List testType) {
this.testType = testType;
}
}