<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UpdateCcdFeatureConfigReq StructType
 * @subpackage Structs
 */
class UpdateCcdFeatureConfigReq extends APIRequest
{
    /**
     * The ccdParam
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\RCcdParam[]
     */
    public $ccdParam;
    /**
     * Constructor method for UpdateCcdFeatureConfigReq
     * @uses UpdateCcdFeatureConfigReq::setCcdParam()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\RCcdParam[] $ccdParam
     */
    public function __construct(array $ccdParam = array())
    {
        $this
            ->setCcdParam($ccdParam);
    }
    /**
     * Get ccdParam value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\RCcdParam[]
     */
    public function getCcdParam()
    {
        return $this->ccdParam;
    }
    /**
     * Set ccdParam value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\RCcdParam[] $ccdParam
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateCcdFeatureConfigReq
     */
    public function setCcdParam(array $ccdParam = array())
    {
        $this->ccdParam = $ccdParam;
        return $this;
    }
    /**
     * Add item to ccdParam value
     * @throws \InvalidArgumentException
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\RCcdParam $item
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdateCcdFeatureConfigReq
     */
    public function addToCcdParam(\\Losc\CucmBundle\Model\Webservice\StructType\RCcdParam $item)
    {
        $this->ccdParam[] = $item;
        return $this;
    }
}
