
com.vmware.vim.TaskDescription 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.XmlType;
/**
* Java class for TaskDescription complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TaskDescription">
* <complexContent>
* <extension base="{urn:vim2}DynamicData">
* <sequence>
* <element name="methodInfo" type="{urn:vim2}ElementDescription" maxOccurs="unbounded"/>
* <element name="state" type="{urn:vim2}ElementDescription" maxOccurs="unbounded"/>
* <element name="reason" type="{urn:vim2}TypeDescription" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TaskDescription", propOrder = {
"methodInfo",
"state",
"reason"
})
public class TaskDescription
extends DynamicData
{
@XmlElement(required = true)
protected List methodInfo;
@XmlElement(required = true)
protected List state;
@XmlElement(required = true)
protected List reason;
/**
* Gets the value of the methodInfo 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 methodInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getMethodInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getMethodInfo() {
if (methodInfo == null) {
methodInfo = new ArrayList();
}
return this.methodInfo;
}
/**
* Gets the value of the state 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 state property.
*
*
* For example, to add a new item, do as follows:
*
* getState().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getState() {
if (state == null) {
state = new ArrayList();
}
return this.state;
}
/**
* Gets the value of the reason 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 reason property.
*
*
* For example, to add a new item, do as follows:
*
* getReason().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TypeDescription }
*
*
*/
public List getReason() {
if (reason == null) {
reason = new ArrayList();
}
return this.reason;
}
/**
* Sets the value of the methodInfo property.
*
* @param methodInfo
* allowed object is
* {@link ElementDescription }
*
*/
public void setMethodInfo(List methodInfo) {
this.methodInfo = methodInfo;
}
/**
* Sets the value of the state property.
*
* @param state
* allowed object is
* {@link ElementDescription }
*
*/
public void setState(List state) {
this.state = state;
}
/**
* Sets the value of the reason property.
*
* @param reason
* allowed object is
* {@link TypeDescription }
*
*/
public void setReason(List reason) {
this.reason = reason;
}
}