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

com.redhat.rhevm.api.model.VM 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 VM complex type. * *

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

 * <complexType name="VM">
 *   <complexContent>
 *     <extension base="{}BaseResource">
 *       <sequence>
 *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element ref="{}status" minOccurs="0"/>
 *         <element name="memory" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="cpu" type="{}CPU" minOccurs="0"/>
 *         <element name="os" type="{}OperatingSystem" minOccurs="0"/>
 *         <element name="high_availability" type="{}HighAvailability" minOccurs="0"/>
 *         <element name="display" type="{}Display" minOccurs="0"/>
 *         <element ref="{}host" minOccurs="0"/>
 *         <element ref="{}cluster" minOccurs="0"/>
 *         <element ref="{}template" minOccurs="0"/>
 *         <element ref="{}storage_domain" minOccurs="0"/>
 *         <element name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="creation_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="origin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="stateless" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element ref="{}domain" minOccurs="0"/>
 *         <element name="custom_properties" type="{}CustomProperties" minOccurs="0"/>
 *         <element name="statistics" type="{}Statistics" minOccurs="0"/>
 *         <element name="disks" type="{}Disks" minOccurs="0"/>
 *         <element name="nics" type="{}Nics" minOccurs="0"/>
 *         <element name="tags" type="{}Tags" minOccurs="0"/>
 *         <element name="placement_policy" type="{}VmPlacementPolicy" minOccurs="0"/>
 *         <element name="memory_policy" type="{}VmMemoryPolicy" minOccurs="0"/>
 *         <element name="guest_info" type="{}GuestInfo" minOccurs="0"/>
 *         <element ref="{}usb" minOccurs="0"/>
 *         <element ref="{}vmpool" minOccurs="0"/>
 *         <element ref="{}cdroms" minOccurs="0"/>
 *         <element ref="{}floppies" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VM", propOrder = { "type", "status", "memory", "cpu", "os", "highAvailability", "display", "host", "cluster", "template", "storageDomain", "startTime", "creationTime", "origin", "stateless", "timezone", "domain", "customProperties", "statistics", "disks", "nics", "tags", "placementPolicy", "memoryPolicy", "guestInfo", "usb", "vmPool", "cdroms", "floppies" }) public class VM extends BaseResource { protected String type; protected Status status; protected Long memory; protected CPU cpu; protected OperatingSystem os; @XmlElement(name = "high_availability") protected HighAvailability highAvailability; protected Display display; protected Host host; protected Cluster cluster; protected Template template; @XmlElement(name = "storage_domain") protected StorageDomain storageDomain; @XmlElement(name = "start_time") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar startTime; @XmlElement(name = "creation_time") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar creationTime; protected String origin; protected Boolean stateless; protected String timezone; protected Domain domain; @XmlElement(name = "custom_properties") protected CustomProperties customProperties; protected Statistics statistics; protected Disks disks; protected Nics nics; protected Tags tags; @XmlElement(name = "placement_policy") protected VmPlacementPolicy placementPolicy; @XmlElement(name = "memory_policy") protected VmMemoryPolicy memoryPolicy; @XmlElement(name = "guest_info") protected GuestInfo guestInfo; protected Usb usb; @XmlElement(name = "vmpool") protected VmPool vmPool; protected CdRoms cdroms; protected Floppies floppies; /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } public boolean isSetType() { return (this.type!= null); } /** * Gets the value of the status property. * * @return * possible object is * {@link Status } * */ public Status getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link Status } * */ public void setStatus(Status value) { this.status = value; } public boolean isSetStatus() { return (this.status!= null); } /** * Gets the value of the memory property. * * @return * possible object is * {@link Long } * */ public Long getMemory() { return memory; } /** * Sets the value of the memory property. * * @param value * allowed object is * {@link Long } * */ public void setMemory(Long value) { this.memory = value; } public boolean isSetMemory() { return (this.memory!= null); } /** * Gets the value of the cpu property. * * @return * possible object is * {@link CPU } * */ public CPU getCpu() { return cpu; } /** * Sets the value of the cpu property. * * @param value * allowed object is * {@link CPU } * */ public void setCpu(CPU value) { this.cpu = value; } public boolean isSetCpu() { return (this.cpu!= null); } /** * Gets the value of the os property. * * @return * possible object is * {@link OperatingSystem } * */ public OperatingSystem getOs() { return os; } /** * Sets the value of the os property. * * @param value * allowed object is * {@link OperatingSystem } * */ public void setOs(OperatingSystem value) { this.os = value; } public boolean isSetOs() { return (this.os!= null); } /** * Gets the value of the highAvailability property. * * @return * possible object is * {@link HighAvailability } * */ public HighAvailability getHighAvailability() { return highAvailability; } /** * Sets the value of the highAvailability property. * * @param value * allowed object is * {@link HighAvailability } * */ public void setHighAvailability(HighAvailability value) { this.highAvailability = value; } public boolean isSetHighAvailability() { return (this.highAvailability!= null); } /** * Gets the value of the display property. * * @return * possible object is * {@link Display } * */ public Display getDisplay() { return display; } /** * Sets the value of the display property. * * @param value * allowed object is * {@link Display } * */ public void setDisplay(Display value) { this.display = value; } public boolean isSetDisplay() { return (this.display!= 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 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 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 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 startTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getStartTime() { return startTime; } /** * Sets the value of the startTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setStartTime(XMLGregorianCalendar value) { this.startTime = value; } public boolean isSetStartTime() { return (this.startTime!= null); } /** * Gets the value of the creationTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCreationTime() { return creationTime; } /** * Sets the value of the creationTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCreationTime(XMLGregorianCalendar value) { this.creationTime = value; } public boolean isSetCreationTime() { return (this.creationTime!= 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 stateless property. * * @return * possible object is * {@link Boolean } * */ public Boolean isStateless() { return stateless; } /** * Sets the value of the stateless property. * * @param value * allowed object is * {@link Boolean } * */ public void setStateless(Boolean value) { this.stateless = value; } public boolean isSetStateless() { return (this.stateless!= null); } /** * Gets the value of the timezone property. * * @return * possible object is * {@link String } * */ public String getTimezone() { return timezone; } /** * Sets the value of the timezone property. * * @param value * allowed object is * {@link String } * */ public void setTimezone(String value) { this.timezone = value; } public boolean isSetTimezone() { return (this.timezone!= null); } /** * Gets the value of the domain property. * * @return * possible object is * {@link Domain } * */ public Domain getDomain() { return domain; } /** * Sets the value of the domain property. * * @param value * allowed object is * {@link Domain } * */ public void setDomain(Domain value) { this.domain = value; } public boolean isSetDomain() { return (this.domain!= null); } /** * Gets the value of the customProperties property. * * @return * possible object is * {@link CustomProperties } * */ public CustomProperties getCustomProperties() { return customProperties; } /** * Sets the value of the customProperties property. * * @param value * allowed object is * {@link CustomProperties } * */ public void setCustomProperties(CustomProperties value) { this.customProperties = value; } public boolean isSetCustomProperties() { return (this.customProperties!= null); } /** * Gets the value of the statistics property. * * @return * possible object is * {@link Statistics } * */ public Statistics getStatistics() { return statistics; } /** * Sets the value of the statistics property. * * @param value * allowed object is * {@link Statistics } * */ public void setStatistics(Statistics value) { this.statistics = value; } public boolean isSetStatistics() { return (this.statistics!= null); } /** * Gets the value of the disks property. * * @return * possible object is * {@link Disks } * */ public Disks getDisks() { return disks; } /** * Sets the value of the disks property. * * @param value * allowed object is * {@link Disks } * */ public void setDisks(Disks value) { this.disks = value; } public boolean isSetDisks() { return (this.disks!= null); } /** * Gets the value of the nics property. * * @return * possible object is * {@link Nics } * */ public Nics getNics() { return nics; } /** * Sets the value of the nics property. * * @param value * allowed object is * {@link Nics } * */ public void setNics(Nics value) { this.nics = value; } public boolean isSetNics() { return (this.nics!= null); } /** * Gets the value of the tags property. * * @return * possible object is * {@link Tags } * */ public Tags getTags() { return tags; } /** * Sets the value of the tags property. * * @param value * allowed object is * {@link Tags } * */ public void setTags(Tags value) { this.tags = value; } public boolean isSetTags() { return (this.tags!= null); } /** * Gets the value of the placementPolicy property. * * @return * possible object is * {@link VmPlacementPolicy } * */ public VmPlacementPolicy getPlacementPolicy() { return placementPolicy; } /** * Sets the value of the placementPolicy property. * * @param value * allowed object is * {@link VmPlacementPolicy } * */ public void setPlacementPolicy(VmPlacementPolicy value) { this.placementPolicy = value; } public boolean isSetPlacementPolicy() { return (this.placementPolicy!= null); } /** * Gets the value of the memoryPolicy property. * * @return * possible object is * {@link VmMemoryPolicy } * */ public VmMemoryPolicy getMemoryPolicy() { return memoryPolicy; } /** * Sets the value of the memoryPolicy property. * * @param value * allowed object is * {@link VmMemoryPolicy } * */ public void setMemoryPolicy(VmMemoryPolicy value) { this.memoryPolicy = value; } public boolean isSetMemoryPolicy() { return (this.memoryPolicy!= null); } /** * Gets the value of the guestInfo property. * * @return * possible object is * {@link GuestInfo } * */ public GuestInfo getGuestInfo() { return guestInfo; } /** * Sets the value of the guestInfo property. * * @param value * allowed object is * {@link GuestInfo } * */ public void setGuestInfo(GuestInfo value) { this.guestInfo = value; } public boolean isSetGuestInfo() { return (this.guestInfo!= null); } /** * Gets the value of the usb property. * * @return * possible object is * {@link Usb } * */ public Usb getUsb() { return usb; } /** * Sets the value of the usb property. * * @param value * allowed object is * {@link Usb } * */ public void setUsb(Usb value) { this.usb = value; } public boolean isSetUsb() { return (this.usb!= null); } /** * Gets the value of the vmPool property. * * @return * possible object is * {@link VmPool } * */ public VmPool getVmPool() { return vmPool; } /** * Sets the value of the vmPool property. * * @param value * allowed object is * {@link VmPool } * */ public void setVmPool(VmPool value) { this.vmPool = value; } public boolean isSetVmPool() { return (this.vmPool!= null); } /** * Gets the value of the cdroms property. * * @return * possible object is * {@link CdRoms } * */ public CdRoms getCdroms() { return cdroms; } /** * Sets the value of the cdroms property. * * @param value * allowed object is * {@link CdRoms } * */ public void setCdroms(CdRoms value) { this.cdroms = value; } public boolean isSetCdroms() { return (this.cdroms!= null); } /** * Gets the value of the floppies property. * * @return * possible object is * {@link Floppies } * */ public Floppies getFloppies() { return floppies; } /** * Sets the value of the floppies property. * * @param value * allowed object is * {@link Floppies } * */ public void setFloppies(Floppies value) { this.floppies = value; } public boolean isSetFloppies() { return (this.floppies!= null); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy