![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VsanUpgradeSystemUpgradeStatus Maven / Gradle / Ivy
package com.vmware.vim25;
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.XmlType;
/**
* Java class for VsanUpgradeSystemUpgradeStatus complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VsanUpgradeSystemUpgradeStatus">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="inProgress" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="history" type="{urn:vim25}VsanUpgradeSystemUpgradeHistoryItem" maxOccurs="unbounded" minOccurs="0"/>
* <element name="aborted" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="completed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="progress" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VsanUpgradeSystemUpgradeStatus", propOrder = {
"inProgress",
"history",
"aborted",
"completed",
"progress"
})
public class VsanUpgradeSystemUpgradeStatus
extends DynamicData
{
protected boolean inProgress;
protected List history;
protected Boolean aborted;
protected Boolean completed;
protected Integer progress;
/**
* Gets the value of the inProgress property.
*
*/
public boolean isInProgress() {
return inProgress;
}
/**
* Sets the value of the inProgress property.
*
*/
public void setInProgress(boolean value) {
this.inProgress = value;
}
/**
* Gets the value of the history 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 history property.
*
*
* For example, to add a new item, do as follows:
*
* getHistory().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VsanUpgradeSystemUpgradeHistoryItem }
*
*
*/
public List getHistory() {
if (history == null) {
history = new ArrayList();
}
return this.history;
}
/**
* Gets the value of the aborted property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAborted() {
return aborted;
}
/**
* Sets the value of the aborted property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAborted(Boolean value) {
this.aborted = value;
}
/**
* Gets the value of the completed property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCompleted() {
return completed;
}
/**
* Sets the value of the completed property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCompleted(Boolean value) {
this.completed = value;
}
/**
* Gets the value of the progress property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getProgress() {
return progress;
}
/**
* Sets the value of the progress property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setProgress(Integer value) {
this.progress = value;
}
}