com.vmware.vim25.VmMessageWarningEvent 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for VmMessageWarningEvent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VmMessageWarningEvent">
* <complexContent>
* <extension base="{urn:vim25}VmEvent">
* <sequence>
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="messageInfo" type="{urn:vim25}VirtualMachineMessage" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VmMessageWarningEvent", propOrder = {
"message",
"messageInfo"
})
public class VmMessageWarningEvent
extends VmEvent
{
@XmlElement(required = true)
protected String message;
protected List messageInfo;
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
/**
* Gets the value of the messageInfo 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 messageInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getMessageInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualMachineMessage }
*
*
*/
public List getMessageInfo() {
if (messageInfo == null) {
messageInfo = new ArrayList();
}
return this.messageInfo;
}
}