//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2010.05.11 at 10:12:06 AM CEST 
//


package es.bsc.nuba.fco.tcloud;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * Description of a real network in the VDC context 
 * 
 * <p>Java class for Network_Type complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Network_Type">
 *   &lt;complexContent>
 *     &lt;extension base="{http://schemas.tcloud.telefonica.com/tcloud/0.1}Entity_Type">
 *       &lt;sequence>
 *         &lt;element name="Configuration">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="Bandwidth" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}Bandwidth_Type" minOccurs="0"/>
 *                   &lt;element name="Netmask" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}IPAddress_Type"/>
 *                   &lt;element name="Gateway" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}IPAddress_Type"/>
 *                   &lt;element name="Dns" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}IPAddress_Type" maxOccurs="unbounded"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Network_Type", namespace = "http://schemas.tcloud.telefonica.com/tcloud/0.1", propOrder = {
    "configuration"
})
public class NetworkType
    extends EntityType
{

    @XmlElement(name = "Configuration", namespace = "http://schemas.tcloud.telefonica.com/tcloud/0.1", required = true)
    protected NetworkType.Configuration configuration;

    /**
     * Gets the value of the configuration property.
     * 
     * @return
     *     possible object is
     *     {@link NetworkType.Configuration }
     *     
     */
    public NetworkType.Configuration getConfiguration() {
        return configuration;
    }

    /**
     * Sets the value of the configuration property.
     * 
     * @param value
     *     allowed object is
     *     {@link NetworkType.Configuration }
     *     
     */
    public void setConfiguration(NetworkType.Configuration value) {
        this.configuration = value;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="Bandwidth" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}Bandwidth_Type" minOccurs="0"/>
     *         &lt;element name="Netmask" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}IPAddress_Type"/>
     *         &lt;element name="Gateway" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}IPAddress_Type"/>
     *         &lt;element name="Dns" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}IPAddress_Type" maxOccurs="unbounded"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "bandwidth",
        "netmask",
        "gateway",
        "dns"
    })
    public static class Configuration {

        @XmlElement(name = "Bandwidth", namespace = "http://schemas.tcloud.telefonica.com/tcloud/0.1")
        protected BandwidthType bandwidth;
        @XmlElement(name = "Netmask", namespace = "http://schemas.tcloud.telefonica.com/tcloud/0.1", required = true)
        protected String netmask;
        @XmlElement(name = "Gateway", namespace = "http://schemas.tcloud.telefonica.com/tcloud/0.1", required = true)
        protected String gateway;
        @XmlElement(name = "Dns", namespace = "http://schemas.tcloud.telefonica.com/tcloud/0.1", required = true)
        protected List<String> dns;

        /**
         * Gets the value of the bandwidth property.
         * 
         * @return
         *     possible object is
         *     {@link BandwidthType }
         *     
         */
        public BandwidthType getBandwidth() {
            return bandwidth;
        }

        /**
         * Sets the value of the bandwidth property.
         * 
         * @param value
         *     allowed object is
         *     {@link BandwidthType }
         *     
         */
        public void setBandwidth(BandwidthType value) {
            this.bandwidth = value;
        }

        /**
         * Gets the value of the netmask property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getNetmask() {
            return netmask;
        }

        /**
         * Sets the value of the netmask property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setNetmask(String value) {
            this.netmask = value;
        }

        /**
         * Gets the value of the gateway property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getGateway() {
            return gateway;
        }

        /**
         * Sets the value of the gateway property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setGateway(String value) {
            this.gateway = value;
        }

        /**
         * Gets the value of the dns property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the dns property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getDns().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link String }
         * 
         * 
         */
        public List<String> getDns() {
            if (dns == null) {
                dns = new ArrayList<String>();
            }
            return this.dns;
        }

    }

}
