org.ovirt.engine.sdk.entities.Network 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 Network complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Network">
* <complexContent>
* <extension base="{}BaseResource">
* <sequence>
* <element ref="{}data_center" minOccurs="0"/>
* <element ref="{}cluster" minOccurs="0"/>
* <element ref="{}ip" minOccurs="0"/>
* <element ref="{}vlan" minOccurs="0"/>
* <element name="stp" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element ref="{}status" minOccurs="0"/>
* <element name="display" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="mtu" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element ref="{}usages" minOccurs="0"/>
* <element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="profile_required" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element ref="{}labels" minOccurs="0"/>
* <element ref="{}qos" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Network", propOrder = {
"dataCenter",
"cluster",
"ip",
"vlan",
"stp",
"status",
"display",
"mtu",
"usages",
"required",
"profileRequired",
"labels",
"qos"
})
public class Network
extends BaseResource
{
@XmlElement(name = "data_center")
protected DataCenter dataCenter;
protected Cluster cluster;
protected IP ip;
protected VLAN vlan;
protected Boolean stp;
protected Status status;
protected Boolean display;
protected Integer mtu;
protected Usages usages;
protected Boolean required;
@XmlElement(name = "profile_required")
protected Boolean profileRequired;
protected Labels labels;
protected QoS qos;
/**
* 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 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 ip property.
*
* @return
* possible object is
* {@link IP }
*
*/
public IP getIp() {
return ip;
}
/**
* Sets the value of the ip property.
*
* @param value
* allowed object is
* {@link IP }
*
*/
public void setIp(IP value) {
this.ip = value;
}
public boolean isSetIp() {
return (this.ip!= null);
}
/**
* Gets the value of the vlan property.
*
* @return
* possible object is
* {@link VLAN }
*
*/
public VLAN getVlan() {
return vlan;
}
/**
* Sets the value of the vlan property.
*
* @param value
* allowed object is
* {@link VLAN }
*
*/
public void setVlan(VLAN value) {
this.vlan = value;
}
public boolean isSetVlan() {
return (this.vlan!= null);
}
/**
* Gets the value of the stp property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getStp() {
return stp;
}
/**
* Sets the value of the stp property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setStp(Boolean value) {
this.stp = value;
}
public boolean isSetStp() {
return (this.stp!= 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 display property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getDisplay() {
return display;
}
/**
* Sets the value of the display property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDisplay(Boolean value) {
this.display = value;
}
public boolean isSetDisplay() {
return (this.display!= null);
}
/**
* Gets the value of the mtu property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMtu() {
return mtu;
}
/**
* Sets the value of the mtu property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMtu(Integer value) {
this.mtu = value;
}
public boolean isSetMtu() {
return (this.mtu!= null);
}
/**
* Gets the value of the usages property.
*
* @return
* possible object is
* {@link Usages }
*
*/
public Usages getUsages() {
return usages;
}
/**
* Sets the value of the usages property.
*
* @param value
* allowed object is
* {@link Usages }
*
*/
public void setUsages(Usages value) {
this.usages = value;
}
public boolean isSetUsages() {
return (this.usages!= null);
}
/**
* Gets the value of the required property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getRequired() {
return required;
}
/**
* Sets the value of the required property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRequired(Boolean value) {
this.required = value;
}
public boolean isSetRequired() {
return (this.required!= null);
}
/**
* Gets the value of the profileRequired property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getProfileRequired() {
return profileRequired;
}
/**
* Sets the value of the profileRequired property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setProfileRequired(Boolean value) {
this.profileRequired = value;
}
public boolean isSetProfileRequired() {
return (this.profileRequired!= null);
}
/**
* Gets the value of the labels property.
*
* @return
* possible object is
* {@link Labels }
*
*/
public Object getLabels() {
return labels;
}
/**
* Sets the value of the labels property.
*
* @param value
* allowed object is
* {@link Labels }
*
*/
public void setLabels(Labels value) {
this.labels = value;
}
public boolean isSetLabels() {
return (this.labels!= null);
}
/**
* Gets the value of the qos property.
*
* @return
* possible object is
* {@link QoS }
*
*/
public QoS getQos() {
return qos;
}
/**
* Sets the value of the qos property.
*
* @param value
* allowed object is
* {@link QoS }
*
*/
public void setQos(QoS value) {
this.qos = value;
}
public boolean isSetQos() {
return (this.qos!= null);
}
}