<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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