
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;


/**
 * <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="vin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "header",
    "vin"
})
@XmlRootElement(name = "VehicleDetailByVin")
public class VehicleDetailByVin {

    @XmlElement(nillable = true)
    protected WSHeaderType header;
    @XmlElement(nillable = true)
    protected String vin;

    /**
     * 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 vin property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getVin() {
        return vin;
    }

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

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

    public VehicleDetailByVin withVin(String value) {
        setVin(value);
        return this;
    }

}
