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

com.vmware.vim.Event Maven / Gradle / Ivy

The newest version!

package com.vmware.vim;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

Java class for Event complex type. * *

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

 * <complexType name="Event">
 *   <complexContent>
 *     <extension base="{urn:vim2}DynamicData">
 *       <sequence>
 *         <element name="key" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="chainId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="createdTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="userName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="datacenter" type="{urn:vim2}DatacenterEventArgument" minOccurs="0"/>
 *         <element name="computeResource" type="{urn:vim2}ComputeResourceEventArgument" minOccurs="0"/>
 *         <element name="host" type="{urn:vim2}HostEventArgument" minOccurs="0"/>
 *         <element name="vm" type="{urn:vim2}VmEventArgument" minOccurs="0"/>
 *         <element name="fullFormattedMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Event", propOrder = { "key", "chainId", "createdTime", "userName", "datacenter", "computeResource", "host", "vm", "fullFormattedMessage" }) @XmlSeeAlso({ TaskEvent.class, CustomFieldEvent.class, LicenseEvent.class, ScheduledTaskEvent.class, DatastoreEvent.class, AuthorizationEvent.class, ClusterEvent.class, TemplateUpgradeEvent.class, AlarmEvent.class, UpgradeEvent.class, ResourcePoolEvent.class, VmEvent.class, SessionEvent.class, HostEvent.class, GeneralEvent.class, LicenseExpiredEvent.class }) public class Event extends DynamicData { protected int key; protected int chainId; @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar createdTime; @XmlElement(required = true) protected String userName; protected DatacenterEventArgument datacenter; protected ComputeResourceEventArgument computeResource; protected HostEventArgument host; protected VmEventArgument vm; protected String fullFormattedMessage; /** * Gets the value of the key property. * */ public int getKey() { return key; } /** * Sets the value of the key property. * */ public void setKey(int value) { this.key = value; } /** * Gets the value of the chainId property. * */ public int getChainId() { return chainId; } /** * Sets the value of the chainId property. * */ public void setChainId(int value) { this.chainId = value; } /** * Gets the value of the createdTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCreatedTime() { return createdTime; } /** * Sets the value of the createdTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCreatedTime(XMLGregorianCalendar value) { this.createdTime = value; } /** * Gets the value of the userName property. * * @return * possible object is * {@link String } * */ public String getUserName() { return userName; } /** * Sets the value of the userName property. * * @param value * allowed object is * {@link String } * */ public void setUserName(String value) { this.userName = value; } /** * Gets the value of the datacenter property. * * @return * possible object is * {@link DatacenterEventArgument } * */ public DatacenterEventArgument getDatacenter() { return datacenter; } /** * Sets the value of the datacenter property. * * @param value * allowed object is * {@link DatacenterEventArgument } * */ public void setDatacenter(DatacenterEventArgument value) { this.datacenter = value; } /** * Gets the value of the computeResource property. * * @return * possible object is * {@link ComputeResourceEventArgument } * */ public ComputeResourceEventArgument getComputeResource() { return computeResource; } /** * Sets the value of the computeResource property. * * @param value * allowed object is * {@link ComputeResourceEventArgument } * */ public void setComputeResource(ComputeResourceEventArgument value) { this.computeResource = value; } /** * Gets the value of the host property. * * @return * possible object is * {@link HostEventArgument } * */ public HostEventArgument getHost() { return host; } /** * Sets the value of the host property. * * @param value * allowed object is * {@link HostEventArgument } * */ public void setHost(HostEventArgument value) { this.host = value; } /** * Gets the value of the vm property. * * @return * possible object is * {@link VmEventArgument } * */ public VmEventArgument getVm() { return vm; } /** * Sets the value of the vm property. * * @param value * allowed object is * {@link VmEventArgument } * */ public void setVm(VmEventArgument value) { this.vm = value; } /** * Gets the value of the fullFormattedMessage property. * * @return * possible object is * {@link String } * */ public String getFullFormattedMessage() { return fullFormattedMessage; } /** * Sets the value of the fullFormattedMessage property. * * @param value * allowed object is * {@link String } * */ public void setFullFormattedMessage(String value) { this.fullFormattedMessage = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy