<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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