<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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