<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddHuntPilotReq StructType
 * @subpackage Structs
 */
class AddHuntPilotReq extends APIRequest
{
    /**
     * The huntPilot
     * @var XHuntPilot
     */
    public $huntPilot;
    /**
     * Constructor method for AddHuntPilotReq
     * @uses AddHuntPilotReq::setHuntPilot()
     * @param XHuntPilot $huntPilot
     */
    public function __construct(XHuntPilot $huntPilot = null)
    {
        $this
            ->setHuntPilot($huntPilot);
    }
    /**
     * Get huntPilot value
     * @return XHuntPilot|null
     */
    public function getHuntPilot()
    {
        return $this->huntPilot;
    }
    /**
     * Set huntPilot value
     * @param XHuntPilot $huntPilot
     * @return AddHuntPilotReq
     */
    public function setHuntPilot(XHuntPilot $huntPilot = null)
    {
        $this->huntPilot = $huntPilot;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return AddHuntPilotReq
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
