<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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