<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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