<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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