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

    @XmlElement(nillable = true)
    protected WSHeaderType header;
    protected Integer returnParam;

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

    /**
     * Sets the value of the returnParam property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setReturnParam(Integer value) {
        this.returnParam = value;
    }

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

    public Alive withReturnParam(Integer value) {
        setReturnParam(value);
        return this;
    }

}
