
package gov.va.med.esr.voa.webservice;

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 ref="{http://DNS   /schema/esr/voa/v1}veteranIdentifier" minOccurs="0"/>
 *         &lt;element ref="{http://DNS   /schema/esr/voa/v1}authenticationLevel"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "veteranIdentifier",
    "authenticationLevel"
})
@XmlRootElement(name = "identity", namespace = "http://DNS   /schema/esr/voa/v1")
public class Identity {

    @XmlElement(namespace = "http://DNS   /schema/esr/voa/v1")
    protected VeteranIdentifier veteranIdentifier;
    @XmlElement(namespace = "http://DNS   /schema/esr/voa/v1", required = true)
    protected AuthenticationLevel authenticationLevel;

    /**
     * Gets the value of the veteranIdentifier property.
     * 
     * @return
     *     possible object is
     *     {@link VeteranIdentifier }
     *     
     */
    public VeteranIdentifier getVeteranIdentifier() {
        return veteranIdentifier;
    }

    /**
     * Sets the value of the veteranIdentifier property.
     * 
     * @param value
     *     allowed object is
     *     {@link VeteranIdentifier }
     *     
     */
    public void setVeteranIdentifier(VeteranIdentifier value) {
        this.veteranIdentifier = value;
    }

    /**
     * Gets the value of the authenticationLevel property.
     * 
     * @return
     *     possible object is
     *     {@link AuthenticationLevel }
     *     
     */
    public AuthenticationLevel getAuthenticationLevel() {
        return authenticationLevel;
    }

    /**
     * Sets the value of the authenticationLevel property.
     * 
     * @param value
     *     allowed object is
     *     {@link AuthenticationLevel }
     *     
     */
    public void setAuthenticationLevel(AuthenticationLevel value) {
        this.authenticationLevel = value;
    }

}
