//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10
// 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: 2012.07.11 at 03:24:15 PM PDT
//


package com.cloud.baremetal.networkservice.schema;

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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <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="vmName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="vmId" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="vmIp" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="vmMac" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="signature" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="sequenceNumber" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;sequence maxOccurs="unbounded" minOccurs="0">
 *           &lt;element name="ingressRules" type="{}SecurityGroupRule"/>
 *         &lt;/sequence>
 *         &lt;sequence maxOccurs="unbounded" minOccurs="0">
 *           &lt;element name="egressRules" type="{}SecurityGroupRule"/>
 *         &lt;/sequence>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "vmName",
    "vmId",
    "vmIp",
    "vmMac",
    "signature",
    "sequenceNumber",
    "ingressRules",
    "egressRules"
})
@XmlRootElement(name = "SecurityGroupVmRuleSet")
public class SecurityGroupVmRuleSet {

    @XmlElement(required = true)
    protected String vmName;
    protected long vmId;
    @XmlElement(required = true)
    protected String vmIp;
    @XmlElement(required = true)
    protected String vmMac;
    @XmlElement(required = true)
    protected String signature;
    protected long sequenceNumber;
    protected List<SecurityGroupRule> ingressRules;
    protected List<SecurityGroupRule> egressRules;

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

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

    /**
     * Gets the value of the vmId property.
     *
     */
    public long getVmId() {
        return vmId;
    }

    /**
     * Sets the value of the vmId property.
     *
     */
    public void setVmId(long value) {
        this.vmId = value;
    }

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

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

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

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

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

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

    /**
     * Gets the value of the sequenceNumber property.
     *
     */
    public long getSequenceNumber() {
        return sequenceNumber;
    }

    /**
     * Sets the value of the sequenceNumber property.
     *
     */
    public void setSequenceNumber(long value) {
        this.sequenceNumber = value;
    }

    /**
     * Gets the value of the ingressRules 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 ingressRules property.
     *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getIngressRules().add(newItem);
     * </pre>
     *
     *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SecurityGroupRule }
     *
     *
     */
    public List<SecurityGroupRule> getIngressRules() {
        if (ingressRules == null) {
            ingressRules = new ArrayList<SecurityGroupRule>();
        }
        return this.ingressRules;
    }

    /**
     * Gets the value of the egressRules 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 egressRules property.
     *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getEgressRules().add(newItem);
     * </pre>
     *
     *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SecurityGroupRule }
     *
     *
     */
    public List<SecurityGroupRule> getEgressRules() {
        if (egressRules == null) {
            egressRules = new ArrayList<SecurityGroupRule>();
        }
        return this.egressRules;
    }

}
