<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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