<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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