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

com.redhat.rhevm.api.model.Disk 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.XmlType;


/**
 * 

Java class for Disk complex type. * *

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

 * <complexType name="Disk">
 *   <complexContent>
 *     <extension base="{}BaseDevice">
 *       <sequence>
 *         <element ref="{}storage_domains" minOccurs="0"/>
 *         <element name="size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element ref="{}status" minOccurs="0"/>
 *         <element name="interface" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="format" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="sparse" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="bootable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="wipe_after_delete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="propagate_errors" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="statistics" type="{}Statistics" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Disk", propOrder = { "storageDomains", "size", "type", "status", "_interface", "format", "sparse", "bootable", "wipeAfterDelete", "propagateErrors", "statistics" }) public class Disk extends BaseDevice { @XmlElement(name = "storage_domains") protected StorageDomains storageDomains; protected Long size; protected String type; protected Status status; @XmlElement(name = "interface") protected String _interface; protected String format; protected Boolean sparse; protected Boolean bootable; @XmlElement(name = "wipe_after_delete") protected Boolean wipeAfterDelete; @XmlElement(name = "propagate_errors") protected Boolean propagateErrors; protected Statistics statistics; /** * Gets the value of the storageDomains property. * * @return * possible object is * {@link StorageDomains } * */ public StorageDomains getStorageDomains() { return storageDomains; } /** * Sets the value of the storageDomains property. * * @param value * allowed object is * {@link StorageDomains } * */ public void setStorageDomains(StorageDomains value) { this.storageDomains = value; } public boolean isSetStorageDomains() { return (this.storageDomains!= null); } /** * Gets the value of the size property. * * @return * possible object is * {@link Long } * */ public Long getSize() { return size; } /** * Sets the value of the size property. * * @param value * allowed object is * {@link Long } * */ public void setSize(Long value) { this.size = value; } public boolean isSetSize() { return (this.size!= null); } /** * 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 interface property. * * @return * possible object is * {@link String } * */ public String getInterface() { return _interface; } /** * Sets the value of the interface property. * * @param value * allowed object is * {@link String } * */ public void setInterface(String value) { this._interface = value; } public boolean isSetInterface() { return (this._interface!= null); } /** * Gets the value of the format property. * * @return * possible object is * {@link String } * */ public String getFormat() { return format; } /** * Sets the value of the format property. * * @param value * allowed object is * {@link String } * */ public void setFormat(String value) { this.format = value; } public boolean isSetFormat() { return (this.format!= null); } /** * Gets the value of the sparse property. * * @return * possible object is * {@link Boolean } * */ public Boolean isSparse() { return sparse; } /** * Sets the value of the sparse property. * * @param value * allowed object is * {@link Boolean } * */ public void setSparse(Boolean value) { this.sparse = value; } public boolean isSetSparse() { return (this.sparse!= null); } /** * Gets the value of the bootable property. * * @return * possible object is * {@link Boolean } * */ public Boolean isBootable() { return bootable; } /** * Sets the value of the bootable property. * * @param value * allowed object is * {@link Boolean } * */ public void setBootable(Boolean value) { this.bootable = value; } public boolean isSetBootable() { return (this.bootable!= null); } /** * Gets the value of the wipeAfterDelete property. * * @return * possible object is * {@link Boolean } * */ public Boolean isWipeAfterDelete() { return wipeAfterDelete; } /** * Sets the value of the wipeAfterDelete property. * * @param value * allowed object is * {@link Boolean } * */ public void setWipeAfterDelete(Boolean value) { this.wipeAfterDelete = value; } public boolean isSetWipeAfterDelete() { return (this.wipeAfterDelete!= null); } /** * Gets the value of the propagateErrors property. * * @return * possible object is * {@link Boolean } * */ public Boolean isPropagateErrors() { return propagateErrors; } /** * Sets the value of the propagateErrors property. * * @param value * allowed object is * {@link Boolean } * */ public void setPropagateErrors(Boolean value) { this.propagateErrors = value; } public boolean isSetPropagateErrors() { return (this.propagateErrors!= 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); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy