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: 2010.09.27 at 07:29:49 PM IST 
//


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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for vm element declaration. * *

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

 * <element name="vm">
 *   <complexType>
 *     <complexContent>
 *       <extension base="{}BaseResource">
 *         <sequence>
 *           <element name="type" type="{}VmType" minOccurs="0"/>
 *           <element name="status" type="{}VmStatus" 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="display" type="{}Display" minOccurs="0"/>
 *           <element ref="{}host" minOccurs="0"/>
 *           <element ref="{}cluster" minOccurs="0"/>
 *           <element ref="{}template" minOccurs="0"/>
 *           <element name="memory_statistics" type="{}MemoryStatistics" minOccurs="0"/>
 *           <element name="cpu_statistics" type="{}CpuStatistics" minOccurs="0"/>
 *           <element ref="{}vmpool" minOccurs="0"/>
 *         </sequence>
 *       </extension>
 *     </complexContent>
 *   </complexType>
 * </element>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "type", "status", "memory", "cpu", "os", "display", "host", "cluster", "template", "memoryStatistics", "cpuStatistics", "vmPool" }) @XmlRootElement(name = "vm") public class VM extends BaseResource { protected VmType type; protected VmStatus status; protected Long memory; protected CPU cpu; protected OperatingSystem os; protected Display display; protected Host host; protected Cluster cluster; protected Template template; @XmlElement(name = "memory_statistics") protected MemoryStatistics memoryStatistics; @XmlElement(name = "cpu_statistics") protected CpuStatistics cpuStatistics; @XmlElement(name = "vmpool") protected VmPool vmPool; /** * Gets the value of the type property. * * @return * possible object is * {@link VmType } * */ public VmType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link VmType } * */ public void setType(VmType value) { this.type = value; } public boolean isSetType() { return (this.type!= null); } /** * Gets the value of the status property. * * @return * possible object is * {@link VmStatus } * */ public VmStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link VmStatus } * */ public void setStatus(VmStatus 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 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 memoryStatistics property. * * @return * possible object is * {@link MemoryStatistics } * */ public MemoryStatistics getMemoryStatistics() { return memoryStatistics; } /** * Sets the value of the memoryStatistics property. * * @param value * allowed object is * {@link MemoryStatistics } * */ public void setMemoryStatistics(MemoryStatistics value) { this.memoryStatistics = value; } public boolean isSetMemoryStatistics() { return (this.memoryStatistics!= null); } /** * Gets the value of the cpuStatistics property. * * @return * possible object is * {@link CpuStatistics } * */ public CpuStatistics getCpuStatistics() { return cpuStatistics; } /** * Sets the value of the cpuStatistics property. * * @param value * allowed object is * {@link CpuStatistics } * */ public void setCpuStatistics(CpuStatistics value) { this.cpuStatistics = value; } public boolean isSetCpuStatistics() { return (this.cpuStatistics!= 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); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy