com.vmware.vim25.SnapshotRevertIssue 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 SnapshotRevertIssue complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SnapshotRevertIssue">
* <complexContent>
* <extension base="{urn:vim25}MigrationFault">
* <sequence>
* <element name="snapshotName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="event" type="{urn:vim25}Event" maxOccurs="unbounded" minOccurs="0"/>
* <element name="errors" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SnapshotRevertIssue", propOrder = {
"snapshotName",
"event",
"errors"
})
public class SnapshotRevertIssue
extends MigrationFault
{
protected String snapshotName;
protected List event;
protected boolean errors;
/**
* Gets the value of the snapshotName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSnapshotName() {
return snapshotName;
}
/**
* Sets the value of the snapshotName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSnapshotName(String value) {
this.snapshotName = value;
}
/**
* Gets the value of the event 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 event property.
*
*
* For example, to add a new item, do as follows:
*
* getEvent().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Event }
*
*
*/
public List getEvent() {
if (event == null) {
event = new ArrayList();
}
return this.event;
}
/**
* Gets the value of the errors property.
*
*/
public boolean isErrors() {
return errors;
}
/**
* Sets the value of the errors property.
*
*/
public void setErrors(boolean value) {
this.errors = value;
}
}