<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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