<?php

namespace \Losc\CucmBundle\Model\Webservice\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddHuntPilotReq StructType
 * @subpackage Structs
 */
class AddHuntPilotReq extends APIRequest
{
    /**
     * The huntPilot
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XHuntPilot
     */
    public $huntPilot;
    /**
     * Constructor method for AddHuntPilotReq
     * @uses AddHuntPilotReq::setHuntPilot()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XHuntPilot $huntPilot
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XHuntPilot $huntPilot = null)
    {
        $this
            ->setHuntPilot($huntPilot);
    }
    /**
     * Get huntPilot value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XHuntPilot|null
     */
    public function getHuntPilot()
    {
        return $this->huntPilot;
    }
    /**
     * Set huntPilot value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XHuntPilot $huntPilot
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AddHuntPilotReq
     */
    public function setHuntPilot(\\Losc\CucmBundle\Model\Webservice\StructType\XHuntPilot $huntPilot = null)
    {
        $this->huntPilot = $huntPilot;
        return $this;
    }
}
