<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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