<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for removeAccessControlGroupInfo StructType
 * @subpackage Structs
 */
class RemoveAccessControlGroupInfo extends XCommonMembersExtension
{
    /**
     * The accessControlGroupName
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\AccessControlGroupName[]
     */
    public $accessControlGroupName;
    /**
     * Constructor method for removeAccessControlGroupInfo
     * @uses RemoveAccessControlGroupInfo::setAccessControlGroupName()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\AccessControlGroupName[] $accessControlGroupName
     */
    public function __construct(array $accessControlGroupName = array())
    {
        $this
            ->setAccessControlGroupName($accessControlGroupName);
    }
    /**
     * Get accessControlGroupName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AccessControlGroupName[]|null
     */
    public function getAccessControlGroupName()
    {
        return $this->accessControlGroupName;
    }
    /**
     * Set accessControlGroupName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\AccessControlGroupName[] $accessControlGroupName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\RemoveAccessControlGroupInfo
     */
    public function setAccessControlGroupName(array $accessControlGroupName = array())
    {
        $this->accessControlGroupName = $accessControlGroupName;
        return $this;
    }
    /**
     * Add item to accessControlGroupName value
     * @throws \InvalidArgumentException
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\AccessControlGroupName $item
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\RemoveAccessControlGroupInfo
     */
    public function addToAccessControlGroupName(\\Losc\CucmBundle\Model\Webservice\StructType\AccessControlGroupName $item)
    {
        $this->accessControlGroupName[] = $item;
        return $this;
    }
}
