<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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