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

org.ovirt.engine.sdk.entities.Statistic Maven / Gradle / Ivy

There is a newer version: 3.6.10.0
Show newest version
//
// 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 Statistic complex type. * *

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

 * <complexType name="Statistic">
 *   <complexContent>
 *     <extension base="{}BaseResource">
 *       <sequence>
 *         <element ref="{}values"/>
 *         <element name="type" type="{}StatisticType"/>
 *         <element name="unit" type="{}StatisticUnit"/>
 *         <element ref="{}disk" minOccurs="0"/>
 *         <element ref="{}host" minOccurs="0"/>
 *         <element ref="{}host_nic" minOccurs="0"/>
 *         <element ref="{}nic" minOccurs="0"/>
 *         <element ref="{}vm" minOccurs="0"/>
 *         <element ref="{}brick" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Statistic", propOrder = { "values", "type", "unit", "disk", "host", "hostNic", "nic", "vm", "brick" }) public class Statistic extends BaseResource { @XmlElement(required = true) protected Values values; @XmlElement(required = true) protected StatisticType type; @XmlElement(required = true) protected StatisticUnit unit; protected Disk disk; protected Host host; @XmlElement(name = "host_nic") protected HostNIC hostNic; protected NIC nic; protected VM vm; protected GlusterBrick brick; /** * Gets the value of the values property. * * @return * possible object is * {@link Values } * */ public Values getValues() { return values; } /** * Sets the value of the values property. * * @param value * allowed object is * {@link Values } * */ public void setValues(Values value) { this.values = value; } public boolean isSetValues() { return (this.values!= null); } /** * Gets the value of the type property. * * @return * possible object is * {@link StatisticType } * */ public StatisticType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link StatisticType } * */ public void setType(StatisticType value) { this.type = value; } public boolean isSetType() { return (this.type!= null); } /** * Gets the value of the unit property. * * @return * possible object is * {@link StatisticUnit } * */ public StatisticUnit getUnit() { return unit; } /** * Sets the value of the unit property. * * @param value * allowed object is * {@link StatisticUnit } * */ public void setUnit(StatisticUnit value) { this.unit = value; } public boolean isSetUnit() { return (this.unit!= null); } /** * Gets the value of the disk property. * * @return * possible object is * {@link Disk } * */ public Disk getDisk() { return disk; } /** * Sets the value of the disk property. * * @param value * allowed object is * {@link Disk } * */ public void setDisk(Disk value) { this.disk = value; } public boolean isSetDisk() { return (this.disk!= 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 hostNic property. * * @return * possible object is * {@link HostNIC } * */ public HostNIC getHostNic() { return hostNic; } /** * Sets the value of the hostNic property. * * @param value * allowed object is * {@link HostNIC } * */ public void setHostNic(HostNIC value) { this.hostNic = value; } public boolean isSetHostNic() { return (this.hostNic!= null); } /** * Gets the value of the nic property. * * @return * possible object is * {@link NIC } * */ public NIC getNic() { return nic; } /** * Sets the value of the nic property. * * @param value * allowed object is * {@link NIC } * */ public void setNic(NIC value) { this.nic = value; } public boolean isSetNic() { return (this.nic!= null); } /** * Gets the value of the vm property. * * @return * possible object is * {@link VM } * */ public VM getVm() { return vm; } /** * Sets the value of the vm property. * * @param value * allowed object is * {@link VM } * */ public void setVm(VM value) { this.vm = value; } public boolean isSetVm() { return (this.vm!= null); } /** * Gets the value of the brick property. * * @return * possible object is * {@link GlusterBrick } * */ public GlusterBrick getBrick() { return brick; } /** * Sets the value of the brick property. * * @param value * allowed object is * {@link GlusterBrick } * */ public void setBrick(GlusterBrick value) { this.brick = value; } public boolean isSetBrick() { return (this.brick!= null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy