<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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