<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for changedTags StructType
 * @subpackage Structs
 */
class ChangedTags extends AbstractStructBase
{
    /**
     * The changedTag
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\ChangedTag[]
     */
    public $changedTag;
    /**
     * Constructor method for changedTags
     * @uses ChangedTags::setChangedTag()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ChangedTag[] $changedTag
     */
    public function __construct(array $changedTag = array())
    {
        $this
            ->setChangedTag($changedTag);
    }
    /**
     * Get changedTag value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ChangedTag[]|null
     */
    public function getChangedTag()
    {
        return $this->changedTag;
    }
    /**
     * Set changedTag value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ChangedTag[] $changedTag
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ChangedTags
     */
    public function setChangedTag(array $changedTag = array())
    {
        $this->changedTag = $changedTag;
        return $this;
    }
    /**
     * Add item to changedTag value
     * @throws \InvalidArgumentException
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\ChangedTag $item
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ChangedTags
     */
    public function addToChangedTag(\\Losc\CucmBundle\Model\Webservice\StructType\ChangedTag $item)
    {
        $this->changedTag[] = $item;
        return $this;
    }
}
