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

org.ovirt.engine.sdk.entities.Event Maven / Gradle / Ivy

There is a newer version: 3.6.10.0
Show newest version
//
// Copyright (c) 2012 Red Hat, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//           http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

// *********************************************************************
// ********************* GENERATED CODE - DO NOT MODIFY ****************
// *********************************************************************

package org.ovirt.engine.sdk.entities;

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 name="correlation_id" type="{http://www.w3.org/2001/XMLSchema}string" 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"/>
 *         <element name="origin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="custom_id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="flood_rate" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="custom_data" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Event", propOrder = { "code", "severity", "time", "correlationId", "user", "vm", "storageDomain", "host", "template", "cluster", "dataCenter", "origin", "customId", "floodRate", "customData" }) public class Event extends BaseResource { protected Integer code; protected String severity; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar time; @XmlElement(name = "correlation_id") protected String correlationId; 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; protected String origin; @XmlElement(name = "custom_id") protected Integer customId; @XmlElement(name = "flood_rate") protected Integer floodRate; @XmlElement(name = "custom_data") protected String customData; /** * 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 correlationId property. * * @return * possible object is * {@link String } * */ public String getCorrelationId() { return correlationId; } /** * Sets the value of the correlationId property. * * @param value * allowed object is * {@link String } * */ public void setCorrelationId(String value) { this.correlationId = value; } public boolean isSetCorrelationId() { return (this.correlationId!= 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); } /** * Gets the value of the origin property. * * @return * possible object is * {@link String } * */ public String getOrigin() { return origin; } /** * Sets the value of the origin property. * * @param value * allowed object is * {@link String } * */ public void setOrigin(String value) { this.origin = value; } public boolean isSetOrigin() { return (this.origin!= null); } /** * Gets the value of the customId property. * * @return * possible object is * {@link Integer } * */ public Integer getCustomId() { return customId; } /** * Sets the value of the customId property. * * @param value * allowed object is * {@link Integer } * */ public void setCustomId(Integer value) { this.customId = value; } public boolean isSetCustomId() { return (this.customId!= null); } /** * Gets the value of the floodRate property. * * @return * possible object is * {@link Integer } * */ public Integer getFloodRate() { return floodRate; } /** * Sets the value of the floodRate property. * * @param value * allowed object is * {@link Integer } * */ public void setFloodRate(Integer value) { this.floodRate = value; } public boolean isSetFloodRate() { return (this.floodRate!= null); } /** * Gets the value of the customData property. * * @return * possible object is * {@link String } * */ public String getCustomData() { return customData; } /** * Sets the value of the customData property. * * @param value * allowed object is * {@link String } * */ public void setCustomData(String value) { this.customData = value; } public boolean isSetCustomData() { return (this.customData!= null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy