
package cz.moneta.test.dsl.cebia.schemas.iva.service;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
import cz.moneta.test.dsl.cebia.iva.WSVehicleType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="header" type="{http://schemas.cebia.com/iva/service/}WSHeaderType" minOccurs="0"/&gt;
 *         &lt;element name="vehicle" type="{http://samo.cz/iva/}WSVehicleType" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "header",
    "vehicle"
})
@XmlRootElement(name = "VehicleIdentification1")
public class VehicleIdentification1 {

    @XmlElement(nillable = true)
    protected WSHeaderType header;
    @XmlElement(nillable = true)
    protected WSVehicleType vehicle;

    /**
     * Gets the value of the header property.
     * 
     * @return
     *     possible object is
     *     {@link WSHeaderType }
     *     
     */
    public WSHeaderType getHeader() {
        return header;
    }

    /**
     * Sets the value of the header property.
     * 
     * @param value
     *     allowed object is
     *     {@link WSHeaderType }
     *     
     */
    public void setHeader(WSHeaderType value) {
        this.header = value;
    }

    /**
     * Gets the value of the vehicle property.
     * 
     * @return
     *     possible object is
     *     {@link WSVehicleType }
     *     
     */
    public WSVehicleType getVehicle() {
        return vehicle;
    }

    /**
     * Sets the value of the vehicle property.
     * 
     * @param value
     *     allowed object is
     *     {@link WSVehicleType }
     *     
     */
    public void setVehicle(WSVehicleType value) {
        this.vehicle = value;
    }

    public VehicleIdentification1 withHeader(WSHeaderType value) {
        setHeader(value);
        return this;
    }

    public VehicleIdentification1 withVehicle(WSVehicleType value) {
        setVehicle(value);
        return this;
    }

}
