com.redhat.rhevm.api.model.Event Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.09.04 at 05:40:00 PM IDT
//
package com.redhat.rhevm.api.model;
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.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="{}BaseResource">
* <sequence>
* <element name="code" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="severity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element ref="{}user" minOccurs="0"/>
* <element ref="{}vm" minOccurs="0"/>
* <element ref="{}storage_domain" minOccurs="0"/>
* <element ref="{}host" minOccurs="0"/>
* <element ref="{}template" minOccurs="0"/>
* <element ref="{}cluster" minOccurs="0"/>
* <element ref="{}data_center" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Event", propOrder = {
"code",
"severity",
"time",
"user",
"vm",
"storageDomain",
"host",
"template",
"cluster",
"dataCenter"
})
public class Event
extends BaseResource
{
protected Integer code;
protected String severity;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar time;
protected User user;
protected VM vm;
@XmlElement(name = "storage_domain")
protected StorageDomain storageDomain;
protected Host host;
protected Template template;
protected Cluster cluster;
@XmlElement(name = "data_center")
protected DataCenter dataCenter;
/**
* Gets the value of the code property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setCode(Integer value) {
this.code = value;
}
public boolean isSetCode() {
return (this.code!= null);
}
/**
* Gets the value of the severity property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSeverity() {
return severity;
}
/**
* Sets the value of the severity property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSeverity(String value) {
this.severity = value;
}
public boolean isSetSeverity() {
return (this.severity!= null);
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTime(XMLGregorianCalendar value) {
this.time = value;
}
public boolean isSetTime() {
return (this.time!= null);
}
/**
* Gets the value of the user property.
*
* @return
* possible object is
* {@link User }
*
*/
public User getUser() {
return user;
}
/**
* Sets the value of the user property.
*
* @param value
* allowed object is
* {@link User }
*
*/
public void setUser(User value) {
this.user = value;
}
public boolean isSetUser() {
return (this.user!= null);
}
/**
* Gets the value of the vm property.
*
* @return
* possible object is
* {@link VM }
*
*/
public VM getVm() {
return vm;
}
/**
* Sets the value of the vm property.
*
* @param value
* allowed object is
* {@link VM }
*
*/
public void setVm(VM value) {
this.vm = value;
}
public boolean isSetVm() {
return (this.vm!= null);
}
/**
* Gets the value of the storageDomain property.
*
* @return
* possible object is
* {@link StorageDomain }
*
*/
public StorageDomain getStorageDomain() {
return storageDomain;
}
/**
* Sets the value of the storageDomain property.
*
* @param value
* allowed object is
* {@link StorageDomain }
*
*/
public void setStorageDomain(StorageDomain value) {
this.storageDomain = value;
}
public boolean isSetStorageDomain() {
return (this.storageDomain!= null);
}
/**
* Gets the value of the host property.
*
* @return
* possible object is
* {@link Host }
*
*/
public Host getHost() {
return host;
}
/**
* Sets the value of the host property.
*
* @param value
* allowed object is
* {@link Host }
*
*/
public void setHost(Host value) {
this.host = value;
}
public boolean isSetHost() {
return (this.host!= null);
}
/**
* Gets the value of the template property.
*
* @return
* possible object is
* {@link Template }
*
*/
public Template getTemplate() {
return template;
}
/**
* Sets the value of the template property.
*
* @param value
* allowed object is
* {@link Template }
*
*/
public void setTemplate(Template value) {
this.template = value;
}
public boolean isSetTemplate() {
return (this.template!= null);
}
/**
* Gets the value of the cluster property.
*
* @return
* possible object is
* {@link Cluster }
*
*/
public Cluster getCluster() {
return cluster;
}
/**
* Sets the value of the cluster property.
*
* @param value
* allowed object is
* {@link Cluster }
*
*/
public void setCluster(Cluster value) {
this.cluster = value;
}
public boolean isSetCluster() {
return (this.cluster!= null);
}
/**
* Gets the value of the dataCenter property.
*
* @return
* possible object is
* {@link DataCenter }
*
*/
public DataCenter getDataCenter() {
return dataCenter;
}
/**
* Sets the value of the dataCenter property.
*
* @param value
* allowed object is
* {@link DataCenter }
*
*/
public void setDataCenter(DataCenter value) {
this.dataCenter = value;
}
public boolean isSetDataCenter() {
return (this.dataCenter!= null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy