com.vmware.vim25.DatastoreRenamedEvent Maven / Gradle / Ivy
package com.vmware.vim25;
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 DatastoreRenamedEvent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DatastoreRenamedEvent">
* <complexContent>
* <extension base="{urn:vim25}DatastoreEvent">
* <sequence>
* <element name="oldName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="newName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DatastoreRenamedEvent", propOrder = {
"oldName",
"newName"
})
public class DatastoreRenamedEvent
extends DatastoreEvent
{
@XmlElement(required = true)
protected String oldName;
@XmlElement(required = true)
protected String newName;
/**
* Gets the value of the oldName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOldName() {
return oldName;
}
/**
* Sets the value of the oldName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOldName(String value) {
this.oldName = value;
}
/**
* Gets the value of the newName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNewName() {
return newName;
}
/**
* Sets the value of the newName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNewName(String value) {
this.newName = value;
}
}