org.ovirt.engine.sdk.entities.Cluster 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 Cluster complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Cluster">
* <complexContent>
* <extension base="{}BaseResource">
* <sequence>
* <element ref="{}cpu" minOccurs="0"/>
* <element ref="{}data_center" minOccurs="0"/>
* <element name="memory_policy" type="{}MemoryPolicy" minOccurs="0"/>
* <element name="scheduling_policy" type="{}SchedulingPolicy" minOccurs="0"/>
* <element name="version" type="{}Version" minOccurs="0"/>
* <element name="supported_versions" type="{}SupportedVersions" minOccurs="0"/>
* <element name="error_handling" type="{}ErrorHandling" minOccurs="0"/>
* <element name="virt_service" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="gluster_service" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="threads_as_cores" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="tunnel_migration" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="trusted_service" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Cluster", propOrder = {
"cpu",
"dataCenter",
"memoryPolicy",
"schedulingPolicy",
"version",
"supportedVersions",
"errorHandling",
"virtService",
"glusterService",
"threadsAsCores",
"tunnelMigration",
"trustedService"
})
public class Cluster
extends BaseResource
{
protected CPU cpu;
@XmlElement(name = "data_center")
protected DataCenter dataCenter;
@XmlElement(name = "memory_policy")
protected MemoryPolicy memoryPolicy;
@XmlElement(name = "scheduling_policy")
protected SchedulingPolicy schedulingPolicy;
protected Version version;
@XmlElement(name = "supported_versions")
protected SupportedVersions supportedVersions;
@XmlElement(name = "error_handling")
protected ErrorHandling errorHandling;
@XmlElement(name = "virt_service")
protected Boolean virtService;
@XmlElement(name = "gluster_service")
protected Boolean glusterService;
@XmlElement(name = "threads_as_cores")
protected Boolean threadsAsCores;
@XmlElement(name = "tunnel_migration")
protected Boolean tunnelMigration;
@XmlElement(name = "trusted_service")
protected Boolean trustedService;
/**
* 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 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 memoryPolicy property.
*
* @return
* possible object is
* {@link MemoryPolicy }
*
*/
public MemoryPolicy getMemoryPolicy() {
return memoryPolicy;
}
/**
* Sets the value of the memoryPolicy property.
*
* @param value
* allowed object is
* {@link MemoryPolicy }
*
*/
public void setMemoryPolicy(MemoryPolicy value) {
this.memoryPolicy = value;
}
public boolean isSetMemoryPolicy() {
return (this.memoryPolicy!= null);
}
/**
* Gets the value of the schedulingPolicy property.
*
* @return
* possible object is
* {@link SchedulingPolicy }
*
*/
public SchedulingPolicy getSchedulingPolicy() {
return schedulingPolicy;
}
/**
* Sets the value of the schedulingPolicy property.
*
* @param value
* allowed object is
* {@link SchedulingPolicy }
*
*/
public void setSchedulingPolicy(SchedulingPolicy value) {
this.schedulingPolicy = value;
}
public boolean isSetSchedulingPolicy() {
return (this.schedulingPolicy!= null);
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link Version }
*
*/
public Version getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link Version }
*
*/
public void setVersion(Version value) {
this.version = value;
}
public boolean isSetVersion() {
return (this.version!= null);
}
/**
* Gets the value of the supportedVersions property.
*
* @return
* possible object is
* {@link SupportedVersions }
*
*/
public SupportedVersions getSupportedVersions() {
return supportedVersions;
}
/**
* Sets the value of the supportedVersions property.
*
* @param value
* allowed object is
* {@link SupportedVersions }
*
*/
public void setSupportedVersions(SupportedVersions value) {
this.supportedVersions = value;
}
public boolean isSetSupportedVersions() {
return (this.supportedVersions!= null);
}
/**
* Gets the value of the errorHandling property.
*
* @return
* possible object is
* {@link ErrorHandling }
*
*/
public ErrorHandling getErrorHandling() {
return errorHandling;
}
/**
* Sets the value of the errorHandling property.
*
* @param value
* allowed object is
* {@link ErrorHandling }
*
*/
public void setErrorHandling(ErrorHandling value) {
this.errorHandling = value;
}
public boolean isSetErrorHandling() {
return (this.errorHandling!= null);
}
/**
* Gets the value of the virtService property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getVirtService() {
return virtService;
}
/**
* Sets the value of the virtService property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setVirtService(Boolean value) {
this.virtService = value;
}
public boolean isSetVirtService() {
return (this.virtService!= null);
}
/**
* Gets the value of the glusterService property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getGlusterService() {
return glusterService;
}
/**
* Sets the value of the glusterService property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setGlusterService(Boolean value) {
this.glusterService = value;
}
public boolean isSetGlusterService() {
return (this.glusterService!= null);
}
/**
* Gets the value of the threadsAsCores property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getThreadsAsCores() {
return threadsAsCores;
}
/**
* Sets the value of the threadsAsCores property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setThreadsAsCores(Boolean value) {
this.threadsAsCores = value;
}
public boolean isSetThreadsAsCores() {
return (this.threadsAsCores!= null);
}
/**
* Gets the value of the tunnelMigration property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getTunnelMigration() {
return tunnelMigration;
}
/**
* Sets the value of the tunnelMigration property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTunnelMigration(Boolean value) {
this.tunnelMigration = value;
}
public boolean isSetTunnelMigration() {
return (this.tunnelMigration!= null);
}
/**
* Gets the value of the trustedService property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getTrustedService() {
return trustedService;
}
/**
* Sets the value of the trustedService property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTrustedService(Boolean value) {
this.trustedService = value;
}
public boolean isSetTrustedService() {
return (this.trustedService!= null);
}
}