All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.VmMessageEvent Maven / Gradle / Ivy

The newest version!

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 VmMessageEvent complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="VmMessageEvent">
 *   <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 = "VmMessageEvent", propOrder = { "message", "messageInfo" }) public class VmMessageEvent 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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy