org.ovirt.engine.sdk.entities.StorageDomain Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ovirt-engine-sdk-java Show documentation
Show all versions of ovirt-engine-sdk-java Show documentation
This is Java SDK for the oVirt virtualization
//
// 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.XmlType;
/**
* Java class for StorageDomain complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StorageDomain">
* <complexContent>
* <extension base="{}BaseResource">
* <sequence>
* <element ref="{}data_center" minOccurs="0"/>
* <element ref="{}data_centers" minOccurs="0"/>
* <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element ref="{}status" minOccurs="0"/>
* <element name="external_status" type="{}Status" minOccurs="0"/>
* <element name="master" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element ref="{}storage" minOccurs="0"/>
* <element ref="{}host" minOccurs="0"/>
* <element name="format" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="destroy" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="available" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="used" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="committed" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="storage_format" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="wipe_after_delete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="import" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="warning_low_space_indicator" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="critical_space_action_blocker" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StorageDomain", propOrder = {
"dataCenter",
"dataCenters",
"type",
"status",
"externalStatus",
"master",
"storage",
"host",
"format",
"destroy",
"available",
"used",
"committed",
"storageFormat",
"wipeAfterDelete",
"_import",
"warningLowSpaceIndicator",
"criticalSpaceActionBlocker"
})
public class StorageDomain
extends BaseResource
{
@XmlElement(name = "data_center")
protected DataCenter dataCenter;
@XmlElement(name = "data_centers")
protected DataCenters dataCenters;
protected String type;
protected Status status;
@XmlElement(name = "external_status")
protected Status externalStatus;
protected Boolean master;
protected Storage storage;
protected Host host;
protected Boolean format;
protected Boolean destroy;
protected Long available;
protected Long used;
protected Long committed;
@XmlElement(name = "storage_format")
protected String storageFormat;
@XmlElement(name = "wipe_after_delete")
protected Boolean wipeAfterDelete;
@XmlElement(name = "import")
protected Boolean _import;
@XmlElement(name = "warning_low_space_indicator")
protected Integer warningLowSpaceIndicator;
@XmlElement(name = "critical_space_action_blocker")
protected Integer criticalSpaceActionBlocker;
/**
* 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 dataCenters property.
*
* @return
* possible object is
* {@link DataCenters }
*
*/
public DataCenters getDataCenters() {
return dataCenters;
}
/**
* Sets the value of the dataCenters property.
*
* @param value
* allowed object is
* {@link DataCenters }
*
*/
public void setDataCenters(DataCenters value) {
this.dataCenters = value;
}
public boolean isSetDataCenters() {
return (this.dataCenters!= 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 externalStatus property.
*
* @return
* possible object is
* {@link Status }
*
*/
public Status getExternalStatus() {
return externalStatus;
}
/**
* Sets the value of the externalStatus property.
*
* @param value
* allowed object is
* {@link Status }
*
*/
public void setExternalStatus(Status value) {
this.externalStatus = value;
}
public boolean isSetExternalStatus() {
return (this.externalStatus!= null);
}
/**
* Gets the value of the master property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getMaster() {
return master;
}
/**
* Sets the value of the master property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMaster(Boolean value) {
this.master = value;
}
public boolean isSetMaster() {
return (this.master!= null);
}
/**
* Gets the value of the storage property.
*
* @return
* possible object is
* {@link Storage }
*
*/
public Storage getStorage() {
return storage;
}
/**
* Sets the value of the storage property.
*
* @param value
* allowed object is
* {@link Storage }
*
*/
public void setStorage(Storage value) {
this.storage = value;
}
public boolean isSetStorage() {
return (this.storage!= 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 format property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getFormat() {
return format;
}
/**
* Sets the value of the format property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFormat(Boolean value) {
this.format = value;
}
public boolean isSetFormat() {
return (this.format!= null);
}
/**
* Gets the value of the destroy property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getDestroy() {
return destroy;
}
/**
* Sets the value of the destroy property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDestroy(Boolean value) {
this.destroy = value;
}
public boolean isSetDestroy() {
return (this.destroy!= null);
}
/**
* Gets the value of the available property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getAvailable() {
return available;
}
/**
* Sets the value of the available property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setAvailable(Long value) {
this.available = value;
}
public boolean isSetAvailable() {
return (this.available!= null);
}
/**
* Gets the value of the used property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getUsed() {
return used;
}
/**
* Sets the value of the used property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setUsed(Long value) {
this.used = value;
}
public boolean isSetUsed() {
return (this.used!= null);
}
/**
* Gets the value of the committed property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getCommitted() {
return committed;
}
/**
* Sets the value of the committed property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setCommitted(Long value) {
this.committed = value;
}
public boolean isSetCommitted() {
return (this.committed!= null);
}
/**
* Gets the value of the storageFormat property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStorageFormat() {
return storageFormat;
}
/**
* Sets the value of the storageFormat property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStorageFormat(String value) {
this.storageFormat = value;
}
public boolean isSetStorageFormat() {
return (this.storageFormat!= null);
}
/**
* Gets the value of the wipeAfterDelete property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getWipeAfterDelete() {
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 import property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getImport() {
return _import;
}
/**
* Sets the value of the import property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setImport(Boolean value) {
this._import = value;
}
public boolean isSetImport() {
return (this._import!= null);
}
/**
* Gets the value of the warningLowSpaceIndicator property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getWarningLowSpaceIndicator() {
return warningLowSpaceIndicator;
}
/**
* Sets the value of the warningLowSpaceIndicator property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setWarningLowSpaceIndicator(Integer value) {
this.warningLowSpaceIndicator = value;
}
public boolean isSetWarningLowSpaceIndicator() {
return (this.warningLowSpaceIndicator!= null);
}
/**
* Gets the value of the criticalSpaceActionBlocker property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getCriticalSpaceActionBlocker() {
return criticalSpaceActionBlocker;
}
/**
* Sets the value of the criticalSpaceActionBlocker property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setCriticalSpaceActionBlocker(Integer value) {
this.criticalSpaceActionBlocker = value;
}
public boolean isSetCriticalSpaceActionBlocker() {
return (this.criticalSpaceActionBlocker!= null);
}
}